@blueid/access-proto 9.20.0 → 9.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,6 +50,7 @@ public enum BlueReturnCode: Int, SwiftProtobuf.Enum, Swift.CaseIterable {
50
50
  case pointerConversionFailed = -20
51
51
  case unavailable = -21
52
52
  case aborted = -22
53
+ case outOfMemory = -23
53
54
  case test = -29
54
55
  case encodeDataWriteFailed = -30
55
56
  case encodeDataWriteNothingWritten = -31
@@ -1163,6 +1164,198 @@ public struct BlueSPResult: @unchecked Sendable {
1163
1164
  fileprivate var _data: Data? = nil
1164
1165
  }
1165
1166
 
1167
+ public struct BlueWebSPHandshake: @unchecked Sendable {
1168
+ // SwiftProtobuf.Message conformance is added in an extension below. See the
1169
+ // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1170
+ // methods supported on all messages.
1171
+
1172
+ public var salt: Data {
1173
+ get {return _salt ?? Data()}
1174
+ set {_salt = newValue}
1175
+ }
1176
+ /// Returns true if `salt` has been explicitly set.
1177
+ public var hasSalt: Bool {return self._salt != nil}
1178
+ /// Clears the value of `salt`. Subsequent reads from it will return its default value.
1179
+ public mutating func clearSalt() {self._salt = nil}
1180
+
1181
+ public var unknownFields = SwiftProtobuf.UnknownStorage()
1182
+
1183
+ public init() {}
1184
+
1185
+ fileprivate var _salt: Data? = nil
1186
+ }
1187
+
1188
+ public struct BlueWebSPHandshakeReply: @unchecked Sendable {
1189
+ // SwiftProtobuf.Message conformance is added in an extension below. See the
1190
+ // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1191
+ // methods supported on all messages.
1192
+
1193
+ public var deviceID: String {
1194
+ get {return _deviceID ?? String()}
1195
+ set {_deviceID = newValue}
1196
+ }
1197
+ /// Returns true if `deviceID` has been explicitly set.
1198
+ public var hasDeviceID: Bool {return self._deviceID != nil}
1199
+ /// Clears the value of `deviceID`. Subsequent reads from it will return its default value.
1200
+ public mutating func clearDeviceID() {self._deviceID = nil}
1201
+
1202
+ public var signature: Data {
1203
+ get {return _signature ?? Data()}
1204
+ set {_signature = newValue}
1205
+ }
1206
+ /// Returns true if `signature` has been explicitly set.
1207
+ public var hasSignature: Bool {return self._signature != nil}
1208
+ /// Clears the value of `signature`. Subsequent reads from it will return its default value.
1209
+ public mutating func clearSignature() {self._signature = nil}
1210
+
1211
+ public var unknownFields = SwiftProtobuf.UnknownStorage()
1212
+
1213
+ public init() {}
1214
+
1215
+ fileprivate var _deviceID: String? = nil
1216
+ fileprivate var _signature: Data? = nil
1217
+ }
1218
+
1219
+ public struct BlueWebSPMessage: Sendable {
1220
+ // SwiftProtobuf.Message conformance is added in an extension below. See the
1221
+ // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1222
+ // methods supported on all messages.
1223
+
1224
+ public var transactionID: UInt32 {
1225
+ get {return _transactionID ?? 0}
1226
+ set {_transactionID = newValue}
1227
+ }
1228
+ /// Returns true if `transactionID` has been explicitly set.
1229
+ public var hasTransactionID: Bool {return self._transactionID != nil}
1230
+ /// Clears the value of `transactionID`. Subsequent reads from it will return its default value.
1231
+ public mutating func clearTransactionID() {self._transactionID = nil}
1232
+
1233
+ public var payload: BlueSPResult {
1234
+ get {return _payload ?? BlueSPResult()}
1235
+ set {_payload = newValue}
1236
+ }
1237
+ /// Returns true if `payload` has been explicitly set.
1238
+ public var hasPayload: Bool {return self._payload != nil}
1239
+ /// Clears the value of `payload`. Subsequent reads from it will return its default value.
1240
+ public mutating func clearPayload() {self._payload = nil}
1241
+
1242
+ public var unknownFields = SwiftProtobuf.UnknownStorage()
1243
+
1244
+ public init() {}
1245
+
1246
+ fileprivate var _transactionID: UInt32? = nil
1247
+ fileprivate var _payload: BlueSPResult? = nil
1248
+ }
1249
+
1250
+ /// Message sent by the server to the device
1251
+ public struct BlueWebSPServerMessage: Sendable {
1252
+ // SwiftProtobuf.Message conformance is added in an extension below. See the
1253
+ // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1254
+ // methods supported on all messages.
1255
+
1256
+ public var payload: BlueWebSPServerMessage.OneOf_Payload? = nil
1257
+
1258
+ public var handshake: BlueWebSPHandshake {
1259
+ get {
1260
+ if case .handshake(let v)? = payload {return v}
1261
+ return BlueWebSPHandshake()
1262
+ }
1263
+ set {payload = .handshake(newValue)}
1264
+ }
1265
+
1266
+ public var command: BlueSPTokenCommand {
1267
+ get {
1268
+ if case .command(let v)? = payload {return v}
1269
+ return BlueSPTokenCommand()
1270
+ }
1271
+ set {payload = .command(newValue)}
1272
+ }
1273
+
1274
+ public var ossSo: BlueOssSoMobile {
1275
+ get {
1276
+ if case .ossSo(let v)? = payload {return v}
1277
+ return BlueOssSoMobile()
1278
+ }
1279
+ set {payload = .ossSo(newValue)}
1280
+ }
1281
+
1282
+ public var ossSid: BlueOssSidMobile {
1283
+ get {
1284
+ if case .ossSid(let v)? = payload {return v}
1285
+ return BlueOssSidMobile()
1286
+ }
1287
+ set {payload = .ossSid(newValue)}
1288
+ }
1289
+
1290
+ public var unknownFields = SwiftProtobuf.UnknownStorage()
1291
+
1292
+ public enum OneOf_Payload: Equatable, Sendable {
1293
+ case handshake(BlueWebSPHandshake)
1294
+ case command(BlueSPTokenCommand)
1295
+ case ossSo(BlueOssSoMobile)
1296
+ case ossSid(BlueOssSidMobile)
1297
+
1298
+ fileprivate var isInitialized: Bool {
1299
+ // The use of inline closures is to circumvent an issue where the compiler
1300
+ // allocates stack space for every case branch when no optimizations are
1301
+ // enabled. https://github.com/apple/swift-protobuf/issues/1034
1302
+ switch self {
1303
+ case .handshake: return {
1304
+ guard case .handshake(let v) = self else { preconditionFailure() }
1305
+ return v.isInitialized
1306
+ }()
1307
+ case .command: return {
1308
+ guard case .command(let v) = self else { preconditionFailure() }
1309
+ return v.isInitialized
1310
+ }()
1311
+ case .ossSo: return {
1312
+ guard case .ossSo(let v) = self else { preconditionFailure() }
1313
+ return v.isInitialized
1314
+ }()
1315
+ case .ossSid: return {
1316
+ guard case .ossSid(let v) = self else { preconditionFailure() }
1317
+ return v.isInitialized
1318
+ }()
1319
+ }
1320
+ }
1321
+
1322
+ }
1323
+
1324
+ public init() {}
1325
+ }
1326
+
1327
+ /// TODO: payload
1328
+ public struct BlueWebSPClientMessage: Sendable {
1329
+ // SwiftProtobuf.Message conformance is added in an extension below. See the
1330
+ // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1331
+ // methods supported on all messages.
1332
+
1333
+ public var unknownFields = SwiftProtobuf.UnknownStorage()
1334
+
1335
+ public init() {}
1336
+ }
1337
+
1338
+ public struct BlueWebSPStatusMessage: Sendable {
1339
+ // SwiftProtobuf.Message conformance is added in an extension below. See the
1340
+ // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1341
+ // methods supported on all messages.
1342
+
1343
+ public var status: BlueReturnCode {
1344
+ get {return _status ?? .ok}
1345
+ set {_status = newValue}
1346
+ }
1347
+ /// Returns true if `status` has been explicitly set.
1348
+ public var hasStatus: Bool {return self._status != nil}
1349
+ /// Clears the value of `status`. Subsequent reads from it will return its default value.
1350
+ public mutating func clearStatus() {self._status = nil}
1351
+
1352
+ public var unknownFields = SwiftProtobuf.UnknownStorage()
1353
+
1354
+ public init() {}
1355
+
1356
+ fileprivate var _status: BlueReturnCode? = nil
1357
+ }
1358
+
1166
1359
  public struct BlueOssAccessResult: Sendable {
1167
1360
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1168
1361
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
@@ -3016,6 +3209,7 @@ extension BlueReturnCode: SwiftProtobuf._ProtoNameProviding {
3016
3209
  -31: .same(proto: "EncodeDataWriteNothingWritten"),
3017
3210
  -30: .same(proto: "EncodeDataWriteFailed"),
3018
3211
  -29: .same(proto: "Test"),
3212
+ -23: .same(proto: "OutOfMemory"),
3019
3213
  -22: .same(proto: "Aborted"),
3020
3214
  -21: .same(proto: "Unavailable"),
3021
3215
  -20: .same(proto: "PointerConversionFailed"),
@@ -4143,6 +4337,315 @@ extension BlueSPResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat
4143
4337
  }
4144
4338
  }
4145
4339
 
4340
+ extension BlueWebSPHandshake: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
4341
+ public static let protoMessageName: String = "BlueWebSPHandshake"
4342
+ public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
4343
+ 1: .same(proto: "salt"),
4344
+ ]
4345
+
4346
+ public var isInitialized: Bool {
4347
+ if self._salt == nil {return false}
4348
+ return true
4349
+ }
4350
+
4351
+ public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4352
+ while let fieldNumber = try decoder.nextFieldNumber() {
4353
+ // The use of inline closures is to circumvent an issue where the compiler
4354
+ // allocates stack space for every case branch when no optimizations are
4355
+ // enabled. https://github.com/apple/swift-protobuf/issues/1034
4356
+ switch fieldNumber {
4357
+ case 1: try { try decoder.decodeSingularBytesField(value: &self._salt) }()
4358
+ default: break
4359
+ }
4360
+ }
4361
+ }
4362
+
4363
+ public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4364
+ // The use of inline closures is to circumvent an issue where the compiler
4365
+ // allocates stack space for every if/case branch local when no optimizations
4366
+ // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
4367
+ // https://github.com/apple/swift-protobuf/issues/1182
4368
+ try { if let v = self._salt {
4369
+ try visitor.visitSingularBytesField(value: v, fieldNumber: 1)
4370
+ } }()
4371
+ try unknownFields.traverse(visitor: &visitor)
4372
+ }
4373
+
4374
+ public static func ==(lhs: BlueWebSPHandshake, rhs: BlueWebSPHandshake) -> Bool {
4375
+ if lhs._salt != rhs._salt {return false}
4376
+ if lhs.unknownFields != rhs.unknownFields {return false}
4377
+ return true
4378
+ }
4379
+ }
4380
+
4381
+ extension BlueWebSPHandshakeReply: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
4382
+ public static let protoMessageName: String = "BlueWebSPHandshakeReply"
4383
+ public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
4384
+ 1: .same(proto: "deviceId"),
4385
+ 2: .same(proto: "signature"),
4386
+ ]
4387
+
4388
+ public var isInitialized: Bool {
4389
+ if self._deviceID == nil {return false}
4390
+ if self._signature == nil {return false}
4391
+ return true
4392
+ }
4393
+
4394
+ public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4395
+ while let fieldNumber = try decoder.nextFieldNumber() {
4396
+ // The use of inline closures is to circumvent an issue where the compiler
4397
+ // allocates stack space for every case branch when no optimizations are
4398
+ // enabled. https://github.com/apple/swift-protobuf/issues/1034
4399
+ switch fieldNumber {
4400
+ case 1: try { try decoder.decodeSingularStringField(value: &self._deviceID) }()
4401
+ case 2: try { try decoder.decodeSingularBytesField(value: &self._signature) }()
4402
+ default: break
4403
+ }
4404
+ }
4405
+ }
4406
+
4407
+ public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4408
+ // The use of inline closures is to circumvent an issue where the compiler
4409
+ // allocates stack space for every if/case branch local when no optimizations
4410
+ // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
4411
+ // https://github.com/apple/swift-protobuf/issues/1182
4412
+ try { if let v = self._deviceID {
4413
+ try visitor.visitSingularStringField(value: v, fieldNumber: 1)
4414
+ } }()
4415
+ try { if let v = self._signature {
4416
+ try visitor.visitSingularBytesField(value: v, fieldNumber: 2)
4417
+ } }()
4418
+ try unknownFields.traverse(visitor: &visitor)
4419
+ }
4420
+
4421
+ public static func ==(lhs: BlueWebSPHandshakeReply, rhs: BlueWebSPHandshakeReply) -> Bool {
4422
+ if lhs._deviceID != rhs._deviceID {return false}
4423
+ if lhs._signature != rhs._signature {return false}
4424
+ if lhs.unknownFields != rhs.unknownFields {return false}
4425
+ return true
4426
+ }
4427
+ }
4428
+
4429
+ extension BlueWebSPMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
4430
+ public static let protoMessageName: String = "BlueWebSPMessage"
4431
+ public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
4432
+ 1: .same(proto: "transactionId"),
4433
+ 2: .same(proto: "payload"),
4434
+ ]
4435
+
4436
+ public var isInitialized: Bool {
4437
+ if self._transactionID == nil {return false}
4438
+ if self._payload == nil {return false}
4439
+ if let v = self._payload, !v.isInitialized {return false}
4440
+ return true
4441
+ }
4442
+
4443
+ public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4444
+ while let fieldNumber = try decoder.nextFieldNumber() {
4445
+ // The use of inline closures is to circumvent an issue where the compiler
4446
+ // allocates stack space for every case branch when no optimizations are
4447
+ // enabled. https://github.com/apple/swift-protobuf/issues/1034
4448
+ switch fieldNumber {
4449
+ case 1: try { try decoder.decodeSingularUInt32Field(value: &self._transactionID) }()
4450
+ case 2: try { try decoder.decodeSingularMessageField(value: &self._payload) }()
4451
+ default: break
4452
+ }
4453
+ }
4454
+ }
4455
+
4456
+ public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4457
+ // The use of inline closures is to circumvent an issue where the compiler
4458
+ // allocates stack space for every if/case branch local when no optimizations
4459
+ // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
4460
+ // https://github.com/apple/swift-protobuf/issues/1182
4461
+ try { if let v = self._transactionID {
4462
+ try visitor.visitSingularUInt32Field(value: v, fieldNumber: 1)
4463
+ } }()
4464
+ try { if let v = self._payload {
4465
+ try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
4466
+ } }()
4467
+ try unknownFields.traverse(visitor: &visitor)
4468
+ }
4469
+
4470
+ public static func ==(lhs: BlueWebSPMessage, rhs: BlueWebSPMessage) -> Bool {
4471
+ if lhs._transactionID != rhs._transactionID {return false}
4472
+ if lhs._payload != rhs._payload {return false}
4473
+ if lhs.unknownFields != rhs.unknownFields {return false}
4474
+ return true
4475
+ }
4476
+ }
4477
+
4478
+ extension BlueWebSPServerMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
4479
+ public static let protoMessageName: String = "BlueWebSPServerMessage"
4480
+ public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
4481
+ 2: .same(proto: "handshake"),
4482
+ 3: .same(proto: "command"),
4483
+ 4: .same(proto: "ossSo"),
4484
+ 5: .same(proto: "ossSid"),
4485
+ ]
4486
+
4487
+ public var isInitialized: Bool {
4488
+ if let v = self.payload, !v.isInitialized {return false}
4489
+ return true
4490
+ }
4491
+
4492
+ public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4493
+ while let fieldNumber = try decoder.nextFieldNumber() {
4494
+ // The use of inline closures is to circumvent an issue where the compiler
4495
+ // allocates stack space for every case branch when no optimizations are
4496
+ // enabled. https://github.com/apple/swift-protobuf/issues/1034
4497
+ switch fieldNumber {
4498
+ case 2: try {
4499
+ var v: BlueWebSPHandshake?
4500
+ var hadOneofValue = false
4501
+ if let current = self.payload {
4502
+ hadOneofValue = true
4503
+ if case .handshake(let m) = current {v = m}
4504
+ }
4505
+ try decoder.decodeSingularMessageField(value: &v)
4506
+ if let v = v {
4507
+ if hadOneofValue {try decoder.handleConflictingOneOf()}
4508
+ self.payload = .handshake(v)
4509
+ }
4510
+ }()
4511
+ case 3: try {
4512
+ var v: BlueSPTokenCommand?
4513
+ var hadOneofValue = false
4514
+ if let current = self.payload {
4515
+ hadOneofValue = true
4516
+ if case .command(let m) = current {v = m}
4517
+ }
4518
+ try decoder.decodeSingularMessageField(value: &v)
4519
+ if let v = v {
4520
+ if hadOneofValue {try decoder.handleConflictingOneOf()}
4521
+ self.payload = .command(v)
4522
+ }
4523
+ }()
4524
+ case 4: try {
4525
+ var v: BlueOssSoMobile?
4526
+ var hadOneofValue = false
4527
+ if let current = self.payload {
4528
+ hadOneofValue = true
4529
+ if case .ossSo(let m) = current {v = m}
4530
+ }
4531
+ try decoder.decodeSingularMessageField(value: &v)
4532
+ if let v = v {
4533
+ if hadOneofValue {try decoder.handleConflictingOneOf()}
4534
+ self.payload = .ossSo(v)
4535
+ }
4536
+ }()
4537
+ case 5: try {
4538
+ var v: BlueOssSidMobile?
4539
+ var hadOneofValue = false
4540
+ if let current = self.payload {
4541
+ hadOneofValue = true
4542
+ if case .ossSid(let m) = current {v = m}
4543
+ }
4544
+ try decoder.decodeSingularMessageField(value: &v)
4545
+ if let v = v {
4546
+ if hadOneofValue {try decoder.handleConflictingOneOf()}
4547
+ self.payload = .ossSid(v)
4548
+ }
4549
+ }()
4550
+ default: break
4551
+ }
4552
+ }
4553
+ }
4554
+
4555
+ public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4556
+ // The use of inline closures is to circumvent an issue where the compiler
4557
+ // allocates stack space for every if/case branch local when no optimizations
4558
+ // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
4559
+ // https://github.com/apple/swift-protobuf/issues/1182
4560
+ switch self.payload {
4561
+ case .handshake?: try {
4562
+ guard case .handshake(let v)? = self.payload else { preconditionFailure() }
4563
+ try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
4564
+ }()
4565
+ case .command?: try {
4566
+ guard case .command(let v)? = self.payload else { preconditionFailure() }
4567
+ try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
4568
+ }()
4569
+ case .ossSo?: try {
4570
+ guard case .ossSo(let v)? = self.payload else { preconditionFailure() }
4571
+ try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
4572
+ }()
4573
+ case .ossSid?: try {
4574
+ guard case .ossSid(let v)? = self.payload else { preconditionFailure() }
4575
+ try visitor.visitSingularMessageField(value: v, fieldNumber: 5)
4576
+ }()
4577
+ case nil: break
4578
+ }
4579
+ try unknownFields.traverse(visitor: &visitor)
4580
+ }
4581
+
4582
+ public static func ==(lhs: BlueWebSPServerMessage, rhs: BlueWebSPServerMessage) -> Bool {
4583
+ if lhs.payload != rhs.payload {return false}
4584
+ if lhs.unknownFields != rhs.unknownFields {return false}
4585
+ return true
4586
+ }
4587
+ }
4588
+
4589
+ extension BlueWebSPClientMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
4590
+ public static let protoMessageName: String = "BlueWebSPClientMessage"
4591
+ public static let _protobuf_nameMap = SwiftProtobuf._NameMap()
4592
+
4593
+ public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4594
+ // Load everything into unknown fields
4595
+ while try decoder.nextFieldNumber() != nil {}
4596
+ }
4597
+
4598
+ public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4599
+ try unknownFields.traverse(visitor: &visitor)
4600
+ }
4601
+
4602
+ public static func ==(lhs: BlueWebSPClientMessage, rhs: BlueWebSPClientMessage) -> Bool {
4603
+ if lhs.unknownFields != rhs.unknownFields {return false}
4604
+ return true
4605
+ }
4606
+ }
4607
+
4608
+ extension BlueWebSPStatusMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
4609
+ public static let protoMessageName: String = "BlueWebSPStatusMessage"
4610
+ public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
4611
+ 1: .same(proto: "status"),
4612
+ ]
4613
+
4614
+ public var isInitialized: Bool {
4615
+ if self._status == nil {return false}
4616
+ return true
4617
+ }
4618
+
4619
+ public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4620
+ while let fieldNumber = try decoder.nextFieldNumber() {
4621
+ // The use of inline closures is to circumvent an issue where the compiler
4622
+ // allocates stack space for every case branch when no optimizations are
4623
+ // enabled. https://github.com/apple/swift-protobuf/issues/1034
4624
+ switch fieldNumber {
4625
+ case 1: try { try decoder.decodeSingularEnumField(value: &self._status) }()
4626
+ default: break
4627
+ }
4628
+ }
4629
+ }
4630
+
4631
+ public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4632
+ // The use of inline closures is to circumvent an issue where the compiler
4633
+ // allocates stack space for every if/case branch local when no optimizations
4634
+ // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
4635
+ // https://github.com/apple/swift-protobuf/issues/1182
4636
+ try { if let v = self._status {
4637
+ try visitor.visitSingularEnumField(value: v, fieldNumber: 1)
4638
+ } }()
4639
+ try unknownFields.traverse(visitor: &visitor)
4640
+ }
4641
+
4642
+ public static func ==(lhs: BlueWebSPStatusMessage, rhs: BlueWebSPStatusMessage) -> Bool {
4643
+ if lhs._status != rhs._status {return false}
4644
+ if lhs.unknownFields != rhs.unknownFields {return false}
4645
+ return true
4646
+ }
4647
+ }
4648
+
4146
4649
  extension BlueOssAccessResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
4147
4650
  public static let protoMessageName: String = "BlueOssAccessResult"
4148
4651
  public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
@@ -5710,11 +6213,15 @@ extension BlueOssSoConfiguration: SwiftProtobuf.Message, SwiftProtobuf._MessageI
5710
6213
  var _blacklist: BlueOssSoFileBlacklist? = nil
5711
6214
  var _customerExtensions: BlueOssSoFileCustomerExtensions? = nil
5712
6215
 
6216
+ #if swift(>=5.10)
5713
6217
  // This property is used as the initial default value for new instances of the type.
5714
6218
  // The type itself is protecting the reference to its storage via CoW semantics.
5715
6219
  // This will force a copy to be made of this reference when the first mutation occurs;
5716
6220
  // hence, it is safe to mark this as `nonisolated(unsafe)`.
5717
6221
  static nonisolated(unsafe) let defaultInstance = _StorageClass()
6222
+ #else
6223
+ static let defaultInstance = _StorageClass()
6224
+ #endif
5718
6225
 
5719
6226
  private init() {}
5720
6227