From b62410b582db8808461680db52a56de046c3e6a7 Mon Sep 17 00:00:00 2001 From: husnjak Date: Thu, 12 Jan 2023 16:08:47 +0100 Subject: [PATCH] updated protobuf template (#18) --- IGDB-SWIFT-API.podspec | 4 +- README.md | 2 +- .../APIStructs/IGDBProtoFile.pb.swift | 474 +++++++++++++++++- 3 files changed, 474 insertions(+), 6 deletions(-) diff --git a/IGDB-SWIFT-API.podspec b/IGDB-SWIFT-API.podspec index de1a81e..a128c50 100644 --- a/IGDB-SWIFT-API.podspec +++ b/IGDB-SWIFT-API.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'IGDB-SWIFT-API' - s.version = '0.4.0' + s.version = '0.4.1' s.summary = 'Wrapper for IGDBs API written in Swift.' s.description = "A Swift wrapper for the IGDB.com Free Video Game Database API." s.documentation_url = "https://api-docs.igdb.com" @@ -13,6 +13,6 @@ Pod::Spec.new do |s| s.swift_version = '5.0' s.source_files = 'Sources/IGDB-SWIFT-API/**/*.swift' - s.dependency 'SwiftProtobuf', '~> 1.20.2' + s.dependency 'SwiftProtobuf', '~> 1.20.3' s.dependency 'Just', '~> 0.8.0' end diff --git a/README.md b/README.md index f76e74d..61cec1c 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ You can either import this library using Xcode by simply pasting this repository Or if you have a `Package.swift` file you can add this: ```swift dependencies: [ -.package(url: "https://github.com/husnjak/IGDB-SWIFT-API.git", from: "0.4.0"), +.package(url: "https://github.com/husnjak/IGDB-SWIFT-API.git", from: "0.4.1"), ], targets: [ .target(name: "MyTarget", dependencies: ["IGDB-SWIFT-API"]), diff --git a/Sources/IGDB-SWIFT-API/APIStructs/IGDBProtoFile.pb.swift b/Sources/IGDB-SWIFT-API/APIStructs/IGDBProtoFile.pb.swift index 6f23492..ec1779b 100644 --- a/Sources/IGDB-SWIFT-API/APIStructs/IGDBProtoFile.pb.swift +++ b/Sources/IGDB-SWIFT-API/APIStructs/IGDBProtoFile.pb.swift @@ -2,7 +2,7 @@ // swift-format-ignore-file // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: igdbapi.proto +// Source: igdbproto.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ @@ -272,6 +272,382 @@ extension Proto_AgeRatingRatingEnum: CaseIterable { #endif // swift(>=4.2) +public enum Proto_AgeRatingContentDescriptionCategoryEnum: SwiftProtobuf.Enum { + public typealias RawValue = Int + case ageratingcontentdescriptionCategoryNull // = 0 + case esrbAlcoholReference // = 1 + case esrbAnimatedBlood // = 2 + case esrbBlood // = 3 + case esrbBloodAndGore // = 4 + case esrbCartoonViolence // = 5 + case esrbComicMischief // = 6 + case esrbCrudeHumor // = 7 + case esrbDrugReference // = 8 + case esrbFantasyViolence // = 9 + case esrbIntenseViolence // = 10 + case esrbLanguage // = 11 + case esrbLyrics // = 12 + case esrbMatureHumor // = 13 + case esrbNudity // = 14 + case esrbPartialNudity // = 15 + case esrbRealGambling // = 16 + case esrbSexualContent // = 17 + case esrbSexualThemes // = 18 + case esrbSexualViolence // = 19 + case esrbSimulatedGambling // = 20 + case esrbStrongLanguage // = 21 + case esrbStrongLyrics // = 22 + case esrbStrongSexualContent // = 23 + case esrbSuggestiveThemes // = 24 + case esrbTobaccoReference // = 25 + case esrbUseOfAlcohol // = 26 + case esrbUseOfDrugs // = 27 + case esrbUseOfTobacco // = 28 + case esrbViolence // = 29 + case esrbViolentReferences // = 30 + case esrbAnimatedViolence // = 31 + case esrbMildLanguage // = 32 + case esrbMildViolence // = 33 + case esrbUseOfDrugsAndAlcohol // = 34 + case esrbDrugAndAlcoholReference // = 35 + case esrbMildSuggestiveThemes // = 36 + case esrbMildCartoonViolence // = 37 + case esrbMildBlood // = 38 + case esrbRealisticBloodAndGore // = 39 + case esrbRealisticViolence // = 40 + case esrbAlcoholAndTobaccoReference // = 41 + case esrbMatureSexualThemes // = 42 + case esrbMildAnimatedViolence // = 43 + case esrbMildSexualThemes // = 44 + case esrbUseOfAlcoholAndTobacco // = 45 + case esrbAnimatedBloodAndGore // = 46 + case esrbMildFantasyViolence // = 47 + case esrbMildLyrics // = 48 + case esrbRealisticBlood // = 49 + case pegiViolence // = 50 + case pegiSex // = 51 + case pegiDrugs // = 52 + case pegiFear // = 53 + case pegiDiscrimination // = 54 + case pegiBadLanguage // = 55 + case pegiGambling // = 56 + case pegiOnlineGameplay // = 57 + case pegiInGamePurchases // = 58 + case ceroLove // = 59 + case ceroSexualContent // = 60 + case ceroViolence // = 61 + case ceroHorror // = 62 + case ceroDrinkingSmoking // = 63 + case ceroGambling // = 64 + case ceroCrime // = 65 + case ceroControlledSubstances // = 66 + case ceroLanguagesAndOthers // = 67 + case gracSexuality // = 68 + case gracViolence // = 69 + case gracFearHorrorThreatening // = 70 + case gracLanguage // = 71 + case gracAlcoholTobaccoDrug // = 72 + case gracCrimeAntiSocial // = 73 + case gracGambling // = 74 + case classIndViolencia // = 75 + case classIndViolenciaExtrema // = 76 + case classIndConteudoSexual // = 77 + case classIndNudez // = 78 + case classIndSexo // = 79 + case classIndSexoExplicito // = 80 + case classIndDrogas // = 81 + case classIndDrogasLicitas // = 82 + case classIndDrogasIlicitas // = 83 + case classIndLinguagemImpropria // = 84 + case classIndAtosCriminosos // = 85 + case UNRECOGNIZED(Int) + + public init() { + self = .ageratingcontentdescriptionCategoryNull + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .ageratingcontentdescriptionCategoryNull + case 1: self = .esrbAlcoholReference + case 2: self = .esrbAnimatedBlood + case 3: self = .esrbBlood + case 4: self = .esrbBloodAndGore + case 5: self = .esrbCartoonViolence + case 6: self = .esrbComicMischief + case 7: self = .esrbCrudeHumor + case 8: self = .esrbDrugReference + case 9: self = .esrbFantasyViolence + case 10: self = .esrbIntenseViolence + case 11: self = .esrbLanguage + case 12: self = .esrbLyrics + case 13: self = .esrbMatureHumor + case 14: self = .esrbNudity + case 15: self = .esrbPartialNudity + case 16: self = .esrbRealGambling + case 17: self = .esrbSexualContent + case 18: self = .esrbSexualThemes + case 19: self = .esrbSexualViolence + case 20: self = .esrbSimulatedGambling + case 21: self = .esrbStrongLanguage + case 22: self = .esrbStrongLyrics + case 23: self = .esrbStrongSexualContent + case 24: self = .esrbSuggestiveThemes + case 25: self = .esrbTobaccoReference + case 26: self = .esrbUseOfAlcohol + case 27: self = .esrbUseOfDrugs + case 28: self = .esrbUseOfTobacco + case 29: self = .esrbViolence + case 30: self = .esrbViolentReferences + case 31: self = .esrbAnimatedViolence + case 32: self = .esrbMildLanguage + case 33: self = .esrbMildViolence + case 34: self = .esrbUseOfDrugsAndAlcohol + case 35: self = .esrbDrugAndAlcoholReference + case 36: self = .esrbMildSuggestiveThemes + case 37: self = .esrbMildCartoonViolence + case 38: self = .esrbMildBlood + case 39: self = .esrbRealisticBloodAndGore + case 40: self = .esrbRealisticViolence + case 41: self = .esrbAlcoholAndTobaccoReference + case 42: self = .esrbMatureSexualThemes + case 43: self = .esrbMildAnimatedViolence + case 44: self = .esrbMildSexualThemes + case 45: self = .esrbUseOfAlcoholAndTobacco + case 46: self = .esrbAnimatedBloodAndGore + case 47: self = .esrbMildFantasyViolence + case 48: self = .esrbMildLyrics + case 49: self = .esrbRealisticBlood + case 50: self = .pegiViolence + case 51: self = .pegiSex + case 52: self = .pegiDrugs + case 53: self = .pegiFear + case 54: self = .pegiDiscrimination + case 55: self = .pegiBadLanguage + case 56: self = .pegiGambling + case 57: self = .pegiOnlineGameplay + case 58: self = .pegiInGamePurchases + case 59: self = .ceroLove + case 60: self = .ceroSexualContent + case 61: self = .ceroViolence + case 62: self = .ceroHorror + case 63: self = .ceroDrinkingSmoking + case 64: self = .ceroGambling + case 65: self = .ceroCrime + case 66: self = .ceroControlledSubstances + case 67: self = .ceroLanguagesAndOthers + case 68: self = .gracSexuality + case 69: self = .gracViolence + case 70: self = .gracFearHorrorThreatening + case 71: self = .gracLanguage + case 72: self = .gracAlcoholTobaccoDrug + case 73: self = .gracCrimeAntiSocial + case 74: self = .gracGambling + case 75: self = .classIndViolencia + case 76: self = .classIndViolenciaExtrema + case 77: self = .classIndConteudoSexual + case 78: self = .classIndNudez + case 79: self = .classIndSexo + case 80: self = .classIndSexoExplicito + case 81: self = .classIndDrogas + case 82: self = .classIndDrogasLicitas + case 83: self = .classIndDrogasIlicitas + case 84: self = .classIndLinguagemImpropria + case 85: self = .classIndAtosCriminosos + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .ageratingcontentdescriptionCategoryNull: return 0 + case .esrbAlcoholReference: return 1 + case .esrbAnimatedBlood: return 2 + case .esrbBlood: return 3 + case .esrbBloodAndGore: return 4 + case .esrbCartoonViolence: return 5 + case .esrbComicMischief: return 6 + case .esrbCrudeHumor: return 7 + case .esrbDrugReference: return 8 + case .esrbFantasyViolence: return 9 + case .esrbIntenseViolence: return 10 + case .esrbLanguage: return 11 + case .esrbLyrics: return 12 + case .esrbMatureHumor: return 13 + case .esrbNudity: return 14 + case .esrbPartialNudity: return 15 + case .esrbRealGambling: return 16 + case .esrbSexualContent: return 17 + case .esrbSexualThemes: return 18 + case .esrbSexualViolence: return 19 + case .esrbSimulatedGambling: return 20 + case .esrbStrongLanguage: return 21 + case .esrbStrongLyrics: return 22 + case .esrbStrongSexualContent: return 23 + case .esrbSuggestiveThemes: return 24 + case .esrbTobaccoReference: return 25 + case .esrbUseOfAlcohol: return 26 + case .esrbUseOfDrugs: return 27 + case .esrbUseOfTobacco: return 28 + case .esrbViolence: return 29 + case .esrbViolentReferences: return 30 + case .esrbAnimatedViolence: return 31 + case .esrbMildLanguage: return 32 + case .esrbMildViolence: return 33 + case .esrbUseOfDrugsAndAlcohol: return 34 + case .esrbDrugAndAlcoholReference: return 35 + case .esrbMildSuggestiveThemes: return 36 + case .esrbMildCartoonViolence: return 37 + case .esrbMildBlood: return 38 + case .esrbRealisticBloodAndGore: return 39 + case .esrbRealisticViolence: return 40 + case .esrbAlcoholAndTobaccoReference: return 41 + case .esrbMatureSexualThemes: return 42 + case .esrbMildAnimatedViolence: return 43 + case .esrbMildSexualThemes: return 44 + case .esrbUseOfAlcoholAndTobacco: return 45 + case .esrbAnimatedBloodAndGore: return 46 + case .esrbMildFantasyViolence: return 47 + case .esrbMildLyrics: return 48 + case .esrbRealisticBlood: return 49 + case .pegiViolence: return 50 + case .pegiSex: return 51 + case .pegiDrugs: return 52 + case .pegiFear: return 53 + case .pegiDiscrimination: return 54 + case .pegiBadLanguage: return 55 + case .pegiGambling: return 56 + case .pegiOnlineGameplay: return 57 + case .pegiInGamePurchases: return 58 + case .ceroLove: return 59 + case .ceroSexualContent: return 60 + case .ceroViolence: return 61 + case .ceroHorror: return 62 + case .ceroDrinkingSmoking: return 63 + case .ceroGambling: return 64 + case .ceroCrime: return 65 + case .ceroControlledSubstances: return 66 + case .ceroLanguagesAndOthers: return 67 + case .gracSexuality: return 68 + case .gracViolence: return 69 + case .gracFearHorrorThreatening: return 70 + case .gracLanguage: return 71 + case .gracAlcoholTobaccoDrug: return 72 + case .gracCrimeAntiSocial: return 73 + case .gracGambling: return 74 + case .classIndViolencia: return 75 + case .classIndViolenciaExtrema: return 76 + case .classIndConteudoSexual: return 77 + case .classIndNudez: return 78 + case .classIndSexo: return 79 + case .classIndSexoExplicito: return 80 + case .classIndDrogas: return 81 + case .classIndDrogasLicitas: return 82 + case .classIndDrogasIlicitas: return 83 + case .classIndLinguagemImpropria: return 84 + case .classIndAtosCriminosos: return 85 + case .UNRECOGNIZED(let i): return i + } + } + +} + +#if swift(>=4.2) + +extension Proto_AgeRatingContentDescriptionCategoryEnum: CaseIterable { + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static var allCases: [Proto_AgeRatingContentDescriptionCategoryEnum] = [ + .ageratingcontentdescriptionCategoryNull, + .esrbAlcoholReference, + .esrbAnimatedBlood, + .esrbBlood, + .esrbBloodAndGore, + .esrbCartoonViolence, + .esrbComicMischief, + .esrbCrudeHumor, + .esrbDrugReference, + .esrbFantasyViolence, + .esrbIntenseViolence, + .esrbLanguage, + .esrbLyrics, + .esrbMatureHumor, + .esrbNudity, + .esrbPartialNudity, + .esrbRealGambling, + .esrbSexualContent, + .esrbSexualThemes, + .esrbSexualViolence, + .esrbSimulatedGambling, + .esrbStrongLanguage, + .esrbStrongLyrics, + .esrbStrongSexualContent, + .esrbSuggestiveThemes, + .esrbTobaccoReference, + .esrbUseOfAlcohol, + .esrbUseOfDrugs, + .esrbUseOfTobacco, + .esrbViolence, + .esrbViolentReferences, + .esrbAnimatedViolence, + .esrbMildLanguage, + .esrbMildViolence, + .esrbUseOfDrugsAndAlcohol, + .esrbDrugAndAlcoholReference, + .esrbMildSuggestiveThemes, + .esrbMildCartoonViolence, + .esrbMildBlood, + .esrbRealisticBloodAndGore, + .esrbRealisticViolence, + .esrbAlcoholAndTobaccoReference, + .esrbMatureSexualThemes, + .esrbMildAnimatedViolence, + .esrbMildSexualThemes, + .esrbUseOfAlcoholAndTobacco, + .esrbAnimatedBloodAndGore, + .esrbMildFantasyViolence, + .esrbMildLyrics, + .esrbRealisticBlood, + .pegiViolence, + .pegiSex, + .pegiDrugs, + .pegiFear, + .pegiDiscrimination, + .pegiBadLanguage, + .pegiGambling, + .pegiOnlineGameplay, + .pegiInGamePurchases, + .ceroLove, + .ceroSexualContent, + .ceroViolence, + .ceroHorror, + .ceroDrinkingSmoking, + .ceroGambling, + .ceroCrime, + .ceroControlledSubstances, + .ceroLanguagesAndOthers, + .gracSexuality, + .gracViolence, + .gracFearHorrorThreatening, + .gracLanguage, + .gracAlcoholTobaccoDrug, + .gracCrimeAntiSocial, + .gracGambling, + .classIndViolencia, + .classIndViolenciaExtrema, + .classIndConteudoSexual, + .classIndNudez, + .classIndSexo, + .classIndSexoExplicito, + .classIndDrogas, + .classIndDrogasLicitas, + .classIndDrogasIlicitas, + .classIndLinguagemImpropria, + .classIndAtosCriminosos, + ] +} + +#endif // swift(>=4.2) + public enum Proto_GenderGenderEnum: SwiftProtobuf.Enum { public typealias RawValue = Int case male // = 0 @@ -1215,7 +1591,7 @@ public struct Proto_AgeRatingContentDescription { public var id: UInt64 = 0 - public var category: Proto_AgeRatingRatingEnum = .ageratingRatingNull + public var category: Proto_AgeRatingContentDescriptionCategoryEnum = .ageratingcontentdescriptionCategoryNull public var description_p: String = String() @@ -4248,6 +4624,7 @@ public struct Proto_Website { #if swift(>=5.5) && canImport(_Concurrency) extension Proto_AgeRatingCategoryEnum: @unchecked Sendable {} extension Proto_AgeRatingRatingEnum: @unchecked Sendable {} +extension Proto_AgeRatingContentDescriptionCategoryEnum: @unchecked Sendable {} extension Proto_GenderGenderEnum: @unchecked Sendable {} extension Proto_CharacterSpeciesEnum: @unchecked Sendable {} extension Proto_DateFormatChangeDateCategoryEnum: @unchecked Sendable {} @@ -4415,6 +4792,97 @@ extension Proto_AgeRatingRatingEnum: SwiftProtobuf._ProtoNameProviding { ] } +extension Proto_AgeRatingContentDescriptionCategoryEnum: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 0: .same(proto: "AGERATINGCONTENTDESCRIPTION_CATEGORY_NULL"), + 1: .same(proto: "ESRB_ALCOHOL_REFERENCE"), + 2: .same(proto: "ESRB_ANIMATED_BLOOD"), + 3: .same(proto: "ESRB_BLOOD"), + 4: .same(proto: "ESRB_BLOOD_AND_GORE"), + 5: .same(proto: "ESRB_CARTOON_VIOLENCE"), + 6: .same(proto: "ESRB_COMIC_MISCHIEF"), + 7: .same(proto: "ESRB_CRUDE_HUMOR"), + 8: .same(proto: "ESRB_DRUG_REFERENCE"), + 9: .same(proto: "ESRB_FANTASY_VIOLENCE"), + 10: .same(proto: "ESRB_INTENSE_VIOLENCE"), + 11: .same(proto: "ESRB_LANGUAGE"), + 12: .same(proto: "ESRB_LYRICS"), + 13: .same(proto: "ESRB_MATURE_HUMOR"), + 14: .same(proto: "ESRB_NUDITY"), + 15: .same(proto: "ESRB_PARTIAL_NUDITY"), + 16: .same(proto: "ESRB_REAL_GAMBLING"), + 17: .same(proto: "ESRB_SEXUAL_CONTENT"), + 18: .same(proto: "ESRB_SEXUAL_THEMES"), + 19: .same(proto: "ESRB_SEXUAL_VIOLENCE"), + 20: .same(proto: "ESRB_SIMULATED_GAMBLING"), + 21: .same(proto: "ESRB_STRONG_LANGUAGE"), + 22: .same(proto: "ESRB_STRONG_LYRICS"), + 23: .same(proto: "ESRB_STRONG_SEXUAL_CONTENT"), + 24: .same(proto: "ESRB_SUGGESTIVE_THEMES"), + 25: .same(proto: "ESRB_TOBACCO_REFERENCE"), + 26: .same(proto: "ESRB_USE_OF_ALCOHOL"), + 27: .same(proto: "ESRB_USE_OF_DRUGS"), + 28: .same(proto: "ESRB_USE_OF_TOBACCO"), + 29: .same(proto: "ESRB_VIOLENCE"), + 30: .same(proto: "ESRB_VIOLENT_REFERENCES"), + 31: .same(proto: "ESRB_ANIMATED_VIOLENCE"), + 32: .same(proto: "ESRB_MILD_LANGUAGE"), + 33: .same(proto: "ESRB_MILD_VIOLENCE"), + 34: .same(proto: "ESRB_USE_OF_DRUGS_AND_ALCOHOL"), + 35: .same(proto: "ESRB_DRUG_AND_ALCOHOL_REFERENCE"), + 36: .same(proto: "ESRB_MILD_SUGGESTIVE_THEMES"), + 37: .same(proto: "ESRB_MILD_CARTOON_VIOLENCE"), + 38: .same(proto: "ESRB_MILD_BLOOD"), + 39: .same(proto: "ESRB_REALISTIC_BLOOD_AND_GORE"), + 40: .same(proto: "ESRB_REALISTIC_VIOLENCE"), + 41: .same(proto: "ESRB_ALCOHOL_AND_TOBACCO_REFERENCE"), + 42: .same(proto: "ESRB_MATURE_SEXUAL_THEMES"), + 43: .same(proto: "ESRB_MILD_ANIMATED_VIOLENCE"), + 44: .same(proto: "ESRB_MILD_SEXUAL_THEMES"), + 45: .same(proto: "ESRB_USE_OF_ALCOHOL_AND_TOBACCO"), + 46: .same(proto: "ESRB_ANIMATED_BLOOD_AND_GORE"), + 47: .same(proto: "ESRB_MILD_FANTASY_VIOLENCE"), + 48: .same(proto: "ESRB_MILD_LYRICS"), + 49: .same(proto: "ESRB_REALISTIC_BLOOD"), + 50: .same(proto: "PEGI_VIOLENCE"), + 51: .same(proto: "PEGI_SEX"), + 52: .same(proto: "PEGI_DRUGS"), + 53: .same(proto: "PEGI_FEAR"), + 54: .same(proto: "PEGI_DISCRIMINATION"), + 55: .same(proto: "PEGI_BAD_LANGUAGE"), + 56: .same(proto: "PEGI_GAMBLING"), + 57: .same(proto: "PEGI_ONLINE_GAMEPLAY"), + 58: .same(proto: "PEGI_IN_GAME_PURCHASES"), + 59: .same(proto: "CERO_LOVE"), + 60: .same(proto: "CERO_SEXUAL_CONTENT"), + 61: .same(proto: "CERO_VIOLENCE"), + 62: .same(proto: "CERO_HORROR"), + 63: .same(proto: "CERO_DRINKING_SMOKING"), + 64: .same(proto: "CERO_GAMBLING"), + 65: .same(proto: "CERO_CRIME"), + 66: .same(proto: "CERO_CONTROLLED_SUBSTANCES"), + 67: .same(proto: "CERO_LANGUAGES_AND_OTHERS"), + 68: .same(proto: "GRAC_SEXUALITY"), + 69: .same(proto: "GRAC_VIOLENCE"), + 70: .same(proto: "GRAC_FEAR_HORROR_THREATENING"), + 71: .same(proto: "GRAC_LANGUAGE"), + 72: .same(proto: "GRAC_ALCOHOL_TOBACCO_DRUG"), + 73: .same(proto: "GRAC_CRIME_ANTI_SOCIAL"), + 74: .same(proto: "GRAC_GAMBLING"), + 75: .same(proto: "CLASS_IND_VIOLENCIA"), + 76: .same(proto: "CLASS_IND_VIOLENCIA_EXTREMA"), + 77: .same(proto: "CLASS_IND_CONTEUDO_SEXUAL"), + 78: .same(proto: "CLASS_IND_NUDEZ"), + 79: .same(proto: "CLASS_IND_SEXO"), + 80: .same(proto: "CLASS_IND_SEXO_EXPLICITO"), + 81: .same(proto: "CLASS_IND_DROGAS"), + 82: .same(proto: "CLASS_IND_DROGAS_LICITAS"), + 83: .same(proto: "CLASS_IND_DROGAS_ILICITAS"), + 84: .same(proto: "CLASS_IND_LINGUAGEM_IMPROPRIA"), + 85: .same(proto: "CLASS_IND_ATOS_CRIMINOSOS"), + ] +} + extension Proto_GenderGenderEnum: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ 0: .same(proto: "MALE"), @@ -4856,7 +5324,7 @@ extension Proto_AgeRatingContentDescription: SwiftProtobuf.Message, SwiftProtobu if self.id != 0 { try visitor.visitSingularUInt64Field(value: self.id, fieldNumber: 1) } - if self.category != .ageratingRatingNull { + if self.category != .ageratingcontentdescriptionCategoryNull { try visitor.visitSingularEnumField(value: self.category, fieldNumber: 2) } if !self.description_p.isEmpty {