@@ -2726,13 +2726,13 @@ extension ProtobufTestMessages_Proto2_TestAllTypesProto2: SwiftProtobuf.Message,
2726
2726
. singularBool( { $0. optionalBool } , fieldNumber: 13 , isUnset: { $0. _storage. _optionalBool == nil } ) ,
2727
2727
. singularString( { $0. optionalString } , fieldNumber: 14 , isUnset: { $0. _storage. _optionalString == nil } ) ,
2728
2728
. singularBytes( { $0. optionalBytes } , fieldNumber: 15 , isUnset: { $0. _storage. _optionalBytes == nil } ) ,
2729
- . singularMessage( { $0. optionalNestedMessage } , fieldNumber: 18 , isUnset : { $0 . _storage . _optionalNestedMessage == nil } ) ,
2730
- . singularMessage( { $0. optionalForeignMessage } , fieldNumber: 19 , isUnset : { $0 . _storage . _optionalForeignMessage == nil } ) ,
2729
+ . singularMessage( { $0. _storage . _optionalNestedMessage } , fieldNumber: 18 ) ,
2730
+ . singularMessage( { $0. _storage . _optionalForeignMessage } , fieldNumber: 19 ) ,
2731
2731
. singularEnum( { $0. optionalNestedEnum } , fieldNumber: 21 , isUnset: { $0. _storage. _optionalNestedEnum == nil } ) ,
2732
2732
. singularEnum( { $0. optionalForeignEnum } , fieldNumber: 22 , isUnset: { $0. _storage. _optionalForeignEnum == nil } ) ,
2733
2733
. singularString( { $0. optionalStringPiece } , fieldNumber: 24 , isUnset: { $0. _storage. _optionalStringPiece == nil } ) ,
2734
2734
. singularString( { $0. optionalCord } , fieldNumber: 25 , isUnset: { $0. _storage. _optionalCord == nil } ) ,
2735
- . singularMessage( { $0. recursiveMessage } , fieldNumber: 27 , isUnset : { $0 . _storage . _recursiveMessage == nil } ) ,
2735
+ . singularMessage( { $0. _storage . _recursiveMessage } , fieldNumber: 27 ) ,
2736
2736
. repeatedInt32( { $0. repeatedInt32 } , fieldNumber: 31 ) ,
2737
2737
. repeatedInt64( { $0. repeatedInt64 } , fieldNumber: 32 ) ,
2738
2738
. repeatedUInt32( { $0. repeatedUint32 } , fieldNumber: 33 ) ,
@@ -2748,31 +2748,31 @@ extension ProtobufTestMessages_Proto2_TestAllTypesProto2: SwiftProtobuf.Message,
2748
2748
. repeatedBool( { $0. repeatedBool } , fieldNumber: 43 ) ,
2749
2749
. repeatedString( { $0. repeatedString } , fieldNumber: 44 ) ,
2750
2750
. repeatedBytes( { $0. repeatedBytes } , fieldNumber: 45 ) ,
2751
- . repeatedMessage( { $0. repeatedNestedMessage } , fieldNumber: 48 ) ,
2752
- . repeatedMessage( { $0. repeatedForeignMessage } , fieldNumber: 49 ) ,
2751
+ . repeatedMessage( { $0. _storage . _repeatedNestedMessage } , fieldNumber: 48 ) ,
2752
+ . repeatedMessage( { $0. _storage . _repeatedForeignMessage } , fieldNumber: 49 ) ,
2753
2753
. repeatedEnum( { $0. repeatedNestedEnum } , fieldNumber: 51 ) ,
2754
2754
. repeatedEnum( { $0. repeatedForeignEnum } , fieldNumber: 52 ) ,
2755
2755
. repeatedString( { $0. repeatedStringPiece } , fieldNumber: 54 ) ,
2756
2756
. repeatedString( { $0. repeatedCord } , fieldNumber: 55 ) ,
2757
- . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufInt32 , SwiftProtobuf . ProtobufInt32 > . self, { $0. mapInt32Int32 } , fieldNumber: 56 ) ,
2758
- . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufInt64 , SwiftProtobuf . ProtobufInt64 > . self, { $0. mapInt64Int64 } , fieldNumber: 57 ) ,
2759
- . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufUInt32 , SwiftProtobuf . ProtobufUInt32 > . self, { $0. mapUint32Uint32 } , fieldNumber: 58 ) ,
2760
- . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufUInt64 , SwiftProtobuf . ProtobufUInt64 > . self, { $0. mapUint64Uint64 } , fieldNumber: 59 ) ,
2761
- . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufSInt32 , SwiftProtobuf . ProtobufSInt32 > . self, { $0. mapSint32Sint32 } , fieldNumber: 60 ) ,
2762
- . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufSInt64 , SwiftProtobuf . ProtobufSInt64 > . self, { $0. mapSint64Sint64 } , fieldNumber: 61 ) ,
2763
- . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufFixed32 , SwiftProtobuf . ProtobufFixed32 > . self, { $0. mapFixed32Fixed32 } , fieldNumber: 62 ) ,
2764
- . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufFixed64 , SwiftProtobuf . ProtobufFixed64 > . self, { $0. mapFixed64Fixed64 } , fieldNumber: 63 ) ,
2765
- . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufSFixed32 , SwiftProtobuf . ProtobufSFixed32 > . self, { $0. mapSfixed32Sfixed32 } , fieldNumber: 64 ) ,
2766
- . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufSFixed64 , SwiftProtobuf . ProtobufSFixed64 > . self, { $0. mapSfixed64Sfixed64 } , fieldNumber: 65 ) ,
2767
- . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufInt32 , SwiftProtobuf . ProtobufFloat > . self, { $0. mapInt32Float } , fieldNumber: 66 ) ,
2768
- . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufInt32 , SwiftProtobuf . ProtobufDouble > . self, { $0. mapInt32Double } , fieldNumber: 67 ) ,
2769
- . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufBool , SwiftProtobuf . ProtobufBool > . self, { $0. mapBoolBool } , fieldNumber: 68 ) ,
2770
- . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufString , SwiftProtobuf . ProtobufString > . self, { $0. mapStringString } , fieldNumber: 69 ) ,
2771
- . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufString , SwiftProtobuf . ProtobufBytes > . self, { $0. mapStringBytes } , fieldNumber: 70 ) ,
2772
- . map( type: SwiftProtobuf . _ProtobufMessageMap < SwiftProtobuf . ProtobufString , ProtobufTestMessages_Proto2_TestAllTypesProto2 . NestedMessage > . self, { $0. mapStringNestedMessage } , fieldNumber: 71 ) ,
2773
- . map( type: SwiftProtobuf . _ProtobufMessageMap < SwiftProtobuf . ProtobufString , ProtobufTestMessages_Proto2_ForeignMessageProto2 > . self, { $0. mapStringForeignMessage } , fieldNumber: 72 ) ,
2774
- . map( type: SwiftProtobuf . _ProtobufEnumMap < SwiftProtobuf . ProtobufString , ProtobufTestMessages_Proto2_TestAllTypesProto2 . NestedEnum > . self, { $0. mapStringNestedEnum } , fieldNumber: 73 ) ,
2775
- . map( type: SwiftProtobuf . _ProtobufEnumMap < SwiftProtobuf . ProtobufString , ProtobufTestMessages_Proto2_ForeignEnumProto2 > . self, { $0. mapStringForeignEnum } , fieldNumber: 74 ) ,
2757
+ . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufInt32 , SwiftProtobuf . ProtobufInt32 > . self, { $0. _storage . _mapInt32Int32 } , fieldNumber: 56 ) ,
2758
+ . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufInt64 , SwiftProtobuf . ProtobufInt64 > . self, { $0. _storage . _mapInt64Int64 } , fieldNumber: 57 ) ,
2759
+ . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufUInt32 , SwiftProtobuf . ProtobufUInt32 > . self, { $0. _storage . _mapUint32Uint32 } , fieldNumber: 58 ) ,
2760
+ . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufUInt64 , SwiftProtobuf . ProtobufUInt64 > . self, { $0. _storage . _mapUint64Uint64 } , fieldNumber: 59 ) ,
2761
+ . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufSInt32 , SwiftProtobuf . ProtobufSInt32 > . self, { $0. _storage . _mapSint32Sint32 } , fieldNumber: 60 ) ,
2762
+ . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufSInt64 , SwiftProtobuf . ProtobufSInt64 > . self, { $0. _storage . _mapSint64Sint64 } , fieldNumber: 61 ) ,
2763
+ . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufFixed32 , SwiftProtobuf . ProtobufFixed32 > . self, { $0. _storage . _mapFixed32Fixed32 } , fieldNumber: 62 ) ,
2764
+ . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufFixed64 , SwiftProtobuf . ProtobufFixed64 > . self, { $0. _storage . _mapFixed64Fixed64 } , fieldNumber: 63 ) ,
2765
+ . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufSFixed32 , SwiftProtobuf . ProtobufSFixed32 > . self, { $0. _storage . _mapSfixed32Sfixed32 } , fieldNumber: 64 ) ,
2766
+ . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufSFixed64 , SwiftProtobuf . ProtobufSFixed64 > . self, { $0. _storage . _mapSfixed64Sfixed64 } , fieldNumber: 65 ) ,
2767
+ . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufInt32 , SwiftProtobuf . ProtobufFloat > . self, { $0. _storage . _mapInt32Float } , fieldNumber: 66 ) ,
2768
+ . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufInt32 , SwiftProtobuf . ProtobufDouble > . self, { $0. _storage . _mapInt32Double } , fieldNumber: 67 ) ,
2769
+ . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufBool , SwiftProtobuf . ProtobufBool > . self, { $0. _storage . _mapBoolBool } , fieldNumber: 68 ) ,
2770
+ . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufString , SwiftProtobuf . ProtobufString > . self, { $0. _storage . _mapStringString } , fieldNumber: 69 ) ,
2771
+ . map( type: SwiftProtobuf . _ProtobufMap < SwiftProtobuf . ProtobufString , SwiftProtobuf . ProtobufBytes > . self, { $0. _storage . _mapStringBytes } , fieldNumber: 70 ) ,
2772
+ . map( type: SwiftProtobuf . _ProtobufMessageMap < SwiftProtobuf . ProtobufString , ProtobufTestMessages_Proto2_TestAllTypesProto2 . NestedMessage > . self, { $0. _storage . _mapStringNestedMessage } , fieldNumber: 71 ) ,
2773
+ . map( type: SwiftProtobuf . _ProtobufMessageMap < SwiftProtobuf . ProtobufString , ProtobufTestMessages_Proto2_ForeignMessageProto2 > . self, { $0. _storage . _mapStringForeignMessage } , fieldNumber: 72 ) ,
2774
+ . map( type: SwiftProtobuf . _ProtobufEnumMap < SwiftProtobuf . ProtobufString , ProtobufTestMessages_Proto2_TestAllTypesProto2 . NestedEnum > . self, { $0. _storage . _mapStringNestedEnum } , fieldNumber: 73 ) ,
2775
+ . map( type: SwiftProtobuf . _ProtobufEnumMap < SwiftProtobuf . ProtobufString , ProtobufTestMessages_Proto2_ForeignEnumProto2 > . self, { $0. _storage . _mapStringForeignEnum } , fieldNumber: 74 ) ,
2776
2776
. packedInt32( { $0. packedInt32 } , fieldNumber: 75 ) ,
2777
2777
. packedInt64( { $0. packedInt64 } , fieldNumber: 76 ) ,
2778
2778
. packedUInt32( { $0. packedUint32 } , fieldNumber: 77 ) ,
@@ -2824,7 +2824,7 @@ extension ProtobufTestMessages_Proto2_TestAllTypesProto2: SwiftProtobuf.Message,
2824
2824
}
2825
2825
} ,
2826
2826
. extensionFields( { $0. _protobuf_extensionFieldValues } , start: 120 , end: 201 ) ,
2827
- . singularGroup( { $0. data } , fieldNumber: 201 , isUnset : { $0 . _storage . _data == nil } ) ,
2827
+ . singularGroup( { $0. _storage . _data } , fieldNumber: 201 ) ,
2828
2828
. singularInt32( { $0. defaultInt32 } , fieldNumber: 241 , isUnset: { $0. _storage. _defaultInt32 == nil } ) ,
2829
2829
. singularInt64( { $0. defaultInt64 } , fieldNumber: 242 , isUnset: { $0. _storage. _defaultInt64 == nil } ) ,
2830
2830
. singularUInt32( { $0. defaultUint32 } , fieldNumber: 243 , isUnset: { $0. _storage. _defaultUint32 == nil } ) ,
@@ -2860,7 +2860,7 @@ extension ProtobufTestMessages_Proto2_TestAllTypesProto2: SwiftProtobuf.Message,
2860
2860
. singularInt32( { $0. fieldName18__ } , fieldNumber: 418 , isUnset: { $0. _storage. _fieldName18__ == nil } ) ,
2861
2861
]
2862
2862
private static let _oneOfField_oneofUint32 : Field < Self > = . singularUInt32( { $0. oneofUint32 } , fieldNumber: 111 , isUnset: { _ in false } )
2863
- private static let _oneOfField_oneofNestedMessage : Field < Self > = . singularMessage( { $0. oneofNestedMessage } , fieldNumber: 112 , isUnset : { _ in false } )
2863
+ private static let _oneOfField_oneofNestedMessage : Field < Self > = . singularMessage( { $0. oneofNestedMessage } , fieldNumber: 112 )
2864
2864
private static let _oneOfField_oneofString : Field < Self > = . singularString( { $0. oneofString } , fieldNumber: 113 , isUnset: { _ in false } )
2865
2865
private static let _oneOfField_oneofBytes : Field < Self > = . singularBytes( { $0. oneofBytes } , fieldNumber: 114 , isUnset: { _ in false } )
2866
2866
private static let _oneOfField_oneofBool : Field < Self > = . singularBool( { $0. oneofBool } , fieldNumber: 115 , isUnset: { _ in false } )
@@ -3072,7 +3072,7 @@ extension ProtobufTestMessages_Proto2_TestAllTypesProto2.NestedMessage: SwiftPro
3072
3072
3073
3073
static let _fields : [ Field < Self > ] = [
3074
3074
. singularInt32( { $0. a } , fieldNumber: 1 , isUnset: { $0. _storage. _a == nil } ) ,
3075
- . singularMessage( { $0. corecursive } , fieldNumber: 2 , isUnset : { $0 . _storage . _corecursive == nil } ) ,
3075
+ . singularMessage( { $0. _storage . _corecursive } , fieldNumber: 2 ) ,
3076
3076
]
3077
3077
3078
3078
@@ -3272,8 +3272,8 @@ extension ProtobufTestMessages_Proto2_UnknownToTestAllTypes: SwiftProtobuf.Messa
3272
3272
static let _fields : [ Field < Self > ] = [
3273
3273
. singularInt32( { $0. optionalInt32 } , fieldNumber: 1001 , isUnset: { $0. _optionalInt32 == nil } ) ,
3274
3274
. singularString( { $0. optionalString } , fieldNumber: 1002 , isUnset: { $0. _optionalString == nil } ) ,
3275
- . singularMessage( { $0. nestedMessage } , fieldNumber: 1003 , isUnset : { $0 . _nestedMessage == nil } ) ,
3276
- . singularGroup( { $0. optionalGroup } , fieldNumber: 1004 , isUnset : { $0 . _optionalGroup == nil } ) ,
3275
+ . singularMessage( { $0. _nestedMessage } , fieldNumber: 1003 ) ,
3276
+ . singularGroup( { $0. _optionalGroup } , fieldNumber: 1004 ) ,
3277
3277
. singularBool( { $0. optionalBool } , fieldNumber: 1006 , isUnset: { $0. _optionalBool == nil } ) ,
3278
3278
. repeatedInt32( { $0. repeatedInt32 } , fieldNumber: 1011 ) ,
3279
3279
]
@@ -3693,16 +3693,16 @@ extension ProtobufTestMessages_Proto2_TestAllRequiredTypesProto2: SwiftProtobuf.
3693
3693
. singularBool( { $0. requiredBool } , fieldNumber: 13 , isUnset: { $0. _storage. _requiredBool == nil } ) ,
3694
3694
. singularString( { $0. requiredString } , fieldNumber: 14 , isUnset: { $0. _storage. _requiredString == nil } ) ,
3695
3695
. singularBytes( { $0. requiredBytes } , fieldNumber: 15 , isUnset: { $0. _storage. _requiredBytes == nil } ) ,
3696
- . singularMessage( { $0. requiredNestedMessage } , fieldNumber: 18 , isUnset : { $0 . _storage . _requiredNestedMessage == nil } ) ,
3697
- . singularMessage( { $0. requiredForeignMessage } , fieldNumber: 19 , isUnset : { $0 . _storage . _requiredForeignMessage == nil } ) ,
3696
+ . singularMessage( { $0. _storage . _requiredNestedMessage } , fieldNumber: 18 ) ,
3697
+ . singularMessage( { $0. _storage . _requiredForeignMessage } , fieldNumber: 19 ) ,
3698
3698
. singularEnum( { $0. requiredNestedEnum } , fieldNumber: 21 , isUnset: { $0. _storage. _requiredNestedEnum == nil } ) ,
3699
3699
. singularEnum( { $0. requiredForeignEnum } , fieldNumber: 22 , isUnset: { $0. _storage. _requiredForeignEnum == nil } ) ,
3700
3700
. singularString( { $0. requiredStringPiece } , fieldNumber: 24 , isUnset: { $0. _storage. _requiredStringPiece == nil } ) ,
3701
3701
. singularString( { $0. requiredCord } , fieldNumber: 25 , isUnset: { $0. _storage. _requiredCord == nil } ) ,
3702
- . singularMessage( { $0. recursiveMessage } , fieldNumber: 27 , isUnset : { $0 . _storage . _recursiveMessage == nil } ) ,
3703
- . singularMessage( { $0. optionalRecursiveMessage } , fieldNumber: 28 , isUnset : { $0 . _storage . _optionalRecursiveMessage == nil } ) ,
3702
+ . singularMessage( { $0. _storage . _recursiveMessage } , fieldNumber: 27 ) ,
3703
+ . singularMessage( { $0. _storage . _optionalRecursiveMessage } , fieldNumber: 28 ) ,
3704
3704
. extensionFields( { $0. _protobuf_extensionFieldValues } , start: 120 , end: 201 ) ,
3705
- . singularGroup( { $0. data } , fieldNumber: 201 , isUnset : { $0 . _storage . _data == nil } ) ,
3705
+ . singularGroup( { $0. _storage . _data } , fieldNumber: 201 ) ,
3706
3706
. singularInt32( { $0. defaultInt32 } , fieldNumber: 241 , isUnset: { $0. _storage. _defaultInt32 == nil } ) ,
3707
3707
. singularInt64( { $0. defaultInt64 } , fieldNumber: 242 , isUnset: { $0. _storage. _defaultInt64 == nil } ) ,
3708
3708
. singularUInt32( { $0. defaultUint32 } , fieldNumber: 243 , isUnset: { $0. _storage. _defaultUint32 == nil } ) ,
@@ -3844,8 +3844,8 @@ extension ProtobufTestMessages_Proto2_TestAllRequiredTypesProto2.NestedMessage:
3844
3844
3845
3845
static let _fields : [ Field < Self > ] = [
3846
3846
. singularInt32( { $0. a } , fieldNumber: 1 , isUnset: { $0. _storage. _a == nil } ) ,
3847
- . singularMessage( { $0. corecursive } , fieldNumber: 2 , isUnset : { $0 . _storage . _corecursive == nil } ) ,
3848
- . singularMessage( { $0. optionalCorecursive } , fieldNumber: 3 , isUnset : { $0 . _storage . _optionalCorecursive == nil } ) ,
3847
+ . singularMessage( { $0. _storage . _corecursive } , fieldNumber: 2 ) ,
3848
+ . singularMessage( { $0. _storage . _optionalCorecursive } , fieldNumber: 3 ) ,
3849
3849
]
3850
3850
3851
3851
0 commit comments