@@ -191,7 +191,7 @@ struct Apple_Contact {
191191 // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
192192 // methods supported on all messages.
193193
194- var emailAddres : String = String ( )
194+ var emailAddress : String = String ( )
195195
196196 var name : Apple_PersonNameComponents {
197197 get { return _name ?? Apple_PersonNameComponents ( ) }
@@ -477,7 +477,7 @@ extension Apple_AppleParameters: SwiftProtobuf.Message, SwiftProtobuf._MessageIm
477477extension Apple_Contact : SwiftProtobuf . Message , SwiftProtobuf . _MessageImplementationBase , SwiftProtobuf . _ProtoNameProviding {
478478 static let protoMessageName : String = _protobuf_package + " .Contact "
479479 static let _protobuf_nameMap : SwiftProtobuf . _NameMap = [
480- 1 : . standard( proto: " email_addres " ) ,
480+ 1 : . standard( proto: " email_address " ) ,
481481 2 : . same( proto: " name " ) ,
482482 3 : . standard( proto: " phone_number " ) ,
483483 4 : . standard( proto: " postal_address " ) ,
@@ -489,7 +489,7 @@ extension Apple_Contact: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa
489489 // allocates stack space for every case branch when no optimizations are
490490 // enabled. https://github.com/apple/swift-protobuf/issues/1034
491491 switch fieldNumber {
492- case 1 : try { try decoder. decodeSingularStringField ( value: & self . emailAddres ) } ( )
492+ case 1 : try { try decoder. decodeSingularStringField ( value: & self . emailAddress ) } ( )
493493 case 2 : try { try decoder. decodeSingularMessageField ( value: & self . _name) } ( )
494494 case 3 : try { try decoder. decodeSingularStringField ( value: & self . phoneNumber) } ( )
495495 case 4 : try { try decoder. decodeSingularMessageField ( value: & self . _postalAddress) } ( )
@@ -499,8 +499,8 @@ extension Apple_Contact: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa
499499 }
500500
501501 func traverse< V: SwiftProtobuf . Visitor > ( visitor: inout V ) throws {
502- if !self . emailAddres . isEmpty {
503- try visitor. visitSingularStringField ( value: self . emailAddres , fieldNumber: 1 )
502+ if !self . emailAddress . isEmpty {
503+ try visitor. visitSingularStringField ( value: self . emailAddress , fieldNumber: 1 )
504504 }
505505 if let v = self . _name {
506506 try visitor. visitSingularMessageField ( value: v, fieldNumber: 2 )
@@ -515,7 +515,7 @@ extension Apple_Contact: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa
515515 }
516516
517517 static func == ( lhs: Apple_Contact , rhs: Apple_Contact ) -> Bool {
518- if lhs. emailAddres != rhs. emailAddres { return false }
518+ if lhs. emailAddress != rhs. emailAddress { return false }
519519 if lhs. _name != rhs. _name { return false }
520520 if lhs. phoneNumber != rhs. phoneNumber { return false }
521521 if lhs. _postalAddress != rhs. _postalAddress { return false }
0 commit comments