@@ -27,7 +27,7 @@ static AirportReflection() {
27
27
"Chhpby9mbGlnaHRzL2FpcnBvcnQucHJvdG8SB2ZsaWdodHMaHGlvL2NvbW1v" ,
28
28
"bi9sb2NhbGl6YXRpb24ucHJvdG8aGGlvL2ZsaWdodHMvYmFyY29kZS5wcm90" ,
29
29
"bxoucHJvdG9jLWdlbi1vcGVuYXBpdjIvb3B0aW9ucy9hbm5vdGF0aW9ucy5w" ,
30
- "cm90byLSBAoEUG9ydBIeCg9pYXRhQWlycG9ydENvZGUYASABKAlCBZJBAngD " ,
30
+ "cm90byLTBAoEUG9ydBIeCg9pYXRhQWlycG9ydENvZGUYASABKAlCBZJBAngD " ,
31
31
"Eh4KD2ljYW9BaXJwb3J0Q29kZRgCIAEoCUIFkkECeAQSEAoIY2l0eU5hbWUY" ,
32
32
"AyABKAkSLgoRbG9jYWxpemVkQ2l0eU5hbWUYBCABKAsyEy5pby5Mb2NhbGl6" ,
33
33
"ZWRTdHJpbmcSEwoLYWlycG9ydE5hbWUYBSABKAkSMQoUbG9jYWxpemVkQWly" ,
@@ -36,18 +36,18 @@ static AirportReflection() {
36
36
"cmFtcxgJIAMoDjIgLmZsaWdodHMuQWlycG9ydFNlY3VyaXR5UHJvZ3JhbXMS" ,
37
37
"HQoVZG9jdW1lbnRzVmVyaWZpZWRUZXh0GAogASgJEjsKHmxvY2FsaXplZERv" ,
38
38
"Y3VtZW50c1ZlcmlmaWVkVGV4dBgLIAEoCzITLmlvLkxvY2FsaXplZFN0cmlu" ,
39
- "ZxIQCghsb3VuZ2VJZBgNIAEoCTquAZJBqgEKpwEqDkFpcnBvcnQgUmVjb3Jk " ,
40
- "MlFBaXJwb3J0IHJlY29yZHMgYXJlIHJlcXVpcmVkIGZvciBlYWNoIHBvcnQg " ,
41
- "dGhhdCBhIGNhcnJpZXIgb3BlcmF0ZXMgaW4gYW5kIG91dCBvZi7SAQ9pYXRh " ,
42
- "QWlycG9ydENvZGXSAQhjaXR5TmFtZdIBC2FpcnBvcnROYW1l0gELY291bnRy " ,
43
- "eUNvZGXSAQh0aW1lem9uZSIiCgtBaXJwb3J0Q29kZRITCgthaXJwb3J0Q29k " ,
44
- "ZRgBIAEoCUJfChhjb20ucGFzc2tpdC5ncnBjLkZsaWdodHNaLHN0YXNoLnBh " ,
45
- "c3NraXQuY29tL2lvL21vZGVsL3Nkay9nby9pby9mbGlnaHRzqgIUUGFzc0tp " ,
46
- "dC5HcnBjLkZsaWdodHNiBnByb3RvMw= =" ) ) ;
39
+ "ZxIRCglsb3VuZ2VJZHMYDSADKAk6rgGSQaoBCqcBKg5BaXJwb3J0IFJlY29y " ,
40
+ "ZDJRQWlycG9ydCByZWNvcmRzIGFyZSByZXF1aXJlZCBmb3IgZWFjaCBwb3J0 " ,
41
+ "IHRoYXQgYSBjYXJyaWVyIG9wZXJhdGVzIGluIGFuZCBvdXQgb2Yu0gEPaWF0 " ,
42
+ "YUFpcnBvcnRDb2Rl0gEIY2l0eU5hbWXSAQthaXJwb3J0TmFtZdIBC2NvdW50 " ,
43
+ "cnlDb2Rl0gEIdGltZXpvbmUiIgoLQWlycG9ydENvZGUSEwoLYWlycG9ydENv " ,
44
+ "ZGUYASABKAlCXwoYY29tLnBhc3NraXQuZ3JwYy5GbGlnaHRzWixzdGFzaC5w " ,
45
+ "YXNza2l0LmNvbS9pby9tb2RlbC9zZGsvZ28vaW8vZmxpZ2h0c6oCFFBhc3NL " ,
46
+ "aXQuR3JwYy5GbGlnaHRzYgZwcm90bzM =" ) ) ;
47
47
descriptor = pbr ::FileDescriptor . FromGeneratedCode ( descriptorData ,
48
48
new pbr ::FileDescriptor [ ] { global ::PassKit . Grpc . LocalizationReflection . Descriptor , global ::PassKit . Grpc . Flights . BarcodeReflection . Descriptor , global ::PassKit . Grpc . Gateway . ProtocGenOpenapiv2 . Options . AnnotationsReflection . Descriptor , } ,
49
49
new pbr ::GeneratedClrTypeInfo ( null , null , new pbr ::GeneratedClrTypeInfo [ ] {
50
- new pbr ::GeneratedClrTypeInfo ( typeof ( global ::PassKit . Grpc . Flights . Port ) , global ::PassKit . Grpc . Flights . Port . Parser , new [ ] { "IataAirportCode" , "IcaoAirportCode" , "CityName" , "LocalizedCityName" , "AirportName" , "LocalizedAirportName" , "CountryCode" , "Timezone" , "SecurityPrograms" , "DocumentsVerifiedText" , "LocalizedDocumentsVerifiedText" , "LoungeId " } , null , null , null , null ) ,
50
+ new pbr ::GeneratedClrTypeInfo ( typeof ( global ::PassKit . Grpc . Flights . Port ) , global ::PassKit . Grpc . Flights . Port . Parser , new [ ] { "IataAirportCode" , "IcaoAirportCode" , "CityName" , "LocalizedCityName" , "AirportName" , "LocalizedAirportName" , "CountryCode" , "Timezone" , "SecurityPrograms" , "DocumentsVerifiedText" , "LocalizedDocumentsVerifiedText" , "LoungeIds " } , null , null , null , null ) ,
51
51
new pbr ::GeneratedClrTypeInfo ( typeof ( global ::PassKit . Grpc . Flights . AirportCode ) , global ::PassKit . Grpc . Flights . AirportCode . Parser , new [ ] { "AirportCode_" } , null , null , null , null )
52
52
} ) ) ;
53
53
}
@@ -104,7 +104,7 @@ public Port(Port other) : this() {
104
104
securityPrograms_ = other . securityPrograms_ . Clone ( ) ;
105
105
documentsVerifiedText_ = other . documentsVerifiedText_ ;
106
106
localizedDocumentsVerifiedText_ = other . localizedDocumentsVerifiedText_ != null ? other . localizedDocumentsVerifiedText_ . Clone ( ) : null ;
107
- loungeId_ = other . loungeId_ ;
107
+ loungeIds_ = other . loungeIds_ . Clone ( ) ;
108
108
_unknownFields = pb ::UnknownFieldSet . Clone ( other . _unknownFields ) ;
109
109
}
110
110
@@ -278,19 +278,18 @@ public string DocumentsVerifiedText {
278
278
}
279
279
}
280
280
281
- /// <summary>Field number for the "loungeId" field.</summary>
282
- public const int LoungeIdFieldNumber = 13 ;
283
- private string loungeId_ = "" ;
281
+ /// <summary>Field number for the "loungeIds" field.</summary>
282
+ public const int LoungeIdsFieldNumber = 13 ;
283
+ private static readonly pb ::FieldCodec < string > _repeated_loungeIds_codec
284
+ = pb ::FieldCodec . ForString ( 106 ) ;
285
+ private readonly pbc ::RepeatedField < string > loungeIds_ = new pbc ::RepeatedField < string > ( ) ;
284
286
/// <summary>
285
287
/// Apple Place ID for Airline lounge. Can be overridden at the boarding pass level by providing additional data items 'airport.loungeId'.
286
288
/// </summary>
287
289
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
288
290
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
289
- public string LoungeId {
290
- get { return loungeId_ ; }
291
- set {
292
- loungeId_ = pb ::ProtoPreconditions . CheckNotNull ( value , "value" ) ;
293
- }
291
+ public pbc ::RepeatedField < string > LoungeIds {
292
+ get { return loungeIds_ ; }
294
293
}
295
294
296
295
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
@@ -319,7 +318,7 @@ public bool Equals(Port other) {
319
318
if ( ! securityPrograms_ . Equals ( other . securityPrograms_ ) ) return false ;
320
319
if ( DocumentsVerifiedText != other . DocumentsVerifiedText ) return false ;
321
320
if ( ! object . Equals ( LocalizedDocumentsVerifiedText , other . LocalizedDocumentsVerifiedText ) ) return false ;
322
- if ( LoungeId != other . LoungeId ) return false ;
321
+ if ( ! loungeIds_ . Equals ( other . loungeIds_ ) ) return false ;
323
322
return Equals ( _unknownFields , other . _unknownFields ) ;
324
323
}
325
324
@@ -338,7 +337,7 @@ public override int GetHashCode() {
338
337
hash ^= securityPrograms_ . GetHashCode ( ) ;
339
338
if ( DocumentsVerifiedText . Length != 0 ) hash ^= DocumentsVerifiedText . GetHashCode ( ) ;
340
339
if ( localizedDocumentsVerifiedText_ != null ) hash ^= LocalizedDocumentsVerifiedText . GetHashCode ( ) ;
341
- if ( LoungeId . Length != 0 ) hash ^= LoungeId . GetHashCode ( ) ;
340
+ hash ^= loungeIds_ . GetHashCode ( ) ;
342
341
if ( _unknownFields != null ) {
343
342
hash ^= _unknownFields . GetHashCode ( ) ;
344
343
}
@@ -398,10 +397,7 @@ public void WriteTo(pb::CodedOutputStream output) {
398
397
output . WriteRawTag ( 90 ) ;
399
398
output . WriteMessage ( LocalizedDocumentsVerifiedText ) ;
400
399
}
401
- if ( LoungeId . Length != 0 ) {
402
- output . WriteRawTag ( 106 ) ;
403
- output . WriteString ( LoungeId ) ;
404
- }
400
+ loungeIds_ . WriteTo ( output , _repeated_loungeIds_codec ) ;
405
401
if ( _unknownFields != null ) {
406
402
_unknownFields . WriteTo ( output ) ;
407
403
}
@@ -453,10 +449,7 @@ public void WriteTo(pb::CodedOutputStream output) {
453
449
output . WriteRawTag ( 90 ) ;
454
450
output . WriteMessage ( LocalizedDocumentsVerifiedText ) ;
455
451
}
456
- if ( LoungeId . Length != 0 ) {
457
- output . WriteRawTag ( 106 ) ;
458
- output . WriteString ( LoungeId ) ;
459
- }
452
+ loungeIds_ . WriteTo ( ref output , _repeated_loungeIds_codec ) ;
460
453
if ( _unknownFields != null ) {
461
454
_unknownFields . WriteTo ( ref output ) ;
462
455
}
@@ -498,9 +491,7 @@ public int CalculateSize() {
498
491
if ( localizedDocumentsVerifiedText_ != null ) {
499
492
size += 1 + pb ::CodedOutputStream . ComputeMessageSize ( LocalizedDocumentsVerifiedText ) ;
500
493
}
501
- if ( LoungeId . Length != 0 ) {
502
- size += 1 + pb ::CodedOutputStream . ComputeStringSize ( LoungeId ) ;
503
- }
494
+ size += loungeIds_ . CalculateSize ( _repeated_loungeIds_codec ) ;
504
495
if ( _unknownFields != null ) {
505
496
size += _unknownFields . CalculateSize ( ) ;
506
497
}
@@ -553,9 +544,7 @@ public void MergeFrom(Port other) {
553
544
}
554
545
LocalizedDocumentsVerifiedText . MergeFrom ( other . LocalizedDocumentsVerifiedText ) ;
555
546
}
556
- if ( other . LoungeId . Length != 0 ) {
557
- LoungeId = other . LoungeId ;
558
- }
547
+ loungeIds_ . Add ( other . loungeIds_ ) ;
559
548
_unknownFields = pb ::UnknownFieldSet . MergeFrom ( _unknownFields , other . _unknownFields ) ;
560
549
}
561
550
@@ -630,7 +619,7 @@ public void MergeFrom(pb::CodedInputStream input) {
630
619
break ;
631
620
}
632
621
case 106 : {
633
- LoungeId = input . ReadString ( ) ;
622
+ loungeIds_ . AddEntriesFrom ( input , _repeated_loungeIds_codec ) ;
634
623
break ;
635
624
}
636
625
}
@@ -707,7 +696,7 @@ public void MergeFrom(pb::CodedInputStream input) {
707
696
break ;
708
697
}
709
698
case 106 : {
710
- LoungeId = input . ReadString ( ) ;
699
+ loungeIds_ . AddEntriesFrom ( ref input , _repeated_loungeIds_codec ) ;
711
700
break ;
712
701
}
713
702
}
0 commit comments