Skip to content

Commit 60bbbdc

Browse files
committed
Release v1.1.144
1 parent f750849 commit 60bbbdc

File tree

3 files changed

+118
-89
lines changed

3 files changed

+118
-89
lines changed

PassKit.Grpc.DotNet.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
<id>PassKit.Grpc.DotNet</id>
55
<title>PassKit gRPC .NET SDK</title>
6-
<version>1.1.142</version>
6+
<version>1.1.144</version>
77
<icon>images/icon.png</icon>
88
<description>
99
.Net SDK for the PassKit gRPC API that can be used to create, configure and manage Membership, Loyalty, Event Ticket, Coupon, Transit and Boarding Pass content for mobile wallet applications, including Apple Pay and Google Pay.

src/csharp-net/PassKit.Grpc/io/flights/Airport.cs

Lines changed: 26 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static AirportReflection() {
2727
"Chhpby9mbGlnaHRzL2FpcnBvcnQucHJvdG8SB2ZsaWdodHMaHGlvL2NvbW1v",
2828
"bi9sb2NhbGl6YXRpb24ucHJvdG8aGGlvL2ZsaWdodHMvYmFyY29kZS5wcm90",
2929
"bxoucHJvdG9jLWdlbi1vcGVuYXBpdjIvb3B0aW9ucy9hbm5vdGF0aW9ucy5w",
30-
"cm90byLSBAoEUG9ydBIeCg9pYXRhQWlycG9ydENvZGUYASABKAlCBZJBAngD",
30+
"cm90byLTBAoEUG9ydBIeCg9pYXRhQWlycG9ydENvZGUYASABKAlCBZJBAngD",
3131
"Eh4KD2ljYW9BaXJwb3J0Q29kZRgCIAEoCUIFkkECeAQSEAoIY2l0eU5hbWUY",
3232
"AyABKAkSLgoRbG9jYWxpemVkQ2l0eU5hbWUYBCABKAsyEy5pby5Mb2NhbGl6",
3333
"ZWRTdHJpbmcSEwoLYWlycG9ydE5hbWUYBSABKAkSMQoUbG9jYWxpemVkQWly",
@@ -36,18 +36,18 @@ static AirportReflection() {
3636
"cmFtcxgJIAMoDjIgLmZsaWdodHMuQWlycG9ydFNl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",
45+
"YXNza2l0LmNvbS9pby9tb2RlbC9zZGsvZ28vaW8vZmxpZ2h0c6oCG1Bhc3NL",
46+
"aXQuR3JwYy5Eb3ROZXQuRmxpZ2h0c2IGcHJvdG8z"));
4747
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
4848
new pbr::FileDescriptor[] { global::PassKit.Grpc.DotNet.LocalizationReflection.Descriptor, global::PassKit.Grpc.DotNet.Flights.BarcodeReflection.Descriptor, global::Grpc.Gateway.ProtocGenOpenapiv2.Options.AnnotationsReflection.Descriptor, },
4949
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
50-
new pbr::GeneratedClrTypeInfo(typeof(global::PassKit.Grpc.DotNet.Flights.Port), global::PassKit.Grpc.DotNet.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.DotNet.Flights.Port), global::PassKit.Grpc.DotNet.Flights.Port.Parser, new[]{ "IataAirportCode", "IcaoAirportCode", "CityName", "LocalizedCityName", "AirportName", "LocalizedAirportName", "CountryCode", "Timezone", "SecurityPrograms", "DocumentsVerifiedText", "LocalizedDocumentsVerifiedText", "LoungeIds" }, null, null, null, null),
5151
new pbr::GeneratedClrTypeInfo(typeof(global::PassKit.Grpc.DotNet.Flights.AirportCode), global::PassKit.Grpc.DotNet.Flights.AirportCode.Parser, new[]{ "AirportCode_" }, null, null, null, null)
5252
}));
5353
}
@@ -103,7 +103,7 @@ public Port(Port other) : this() {
103103
securityPrograms_ = other.securityPrograms_.Clone();
104104
documentsVerifiedText_ = other.documentsVerifiedText_;
105105
localizedDocumentsVerifiedText_ = other.localizedDocumentsVerifiedText_ != null ? other.localizedDocumentsVerifiedText_.Clone() : null;
106-
loungeId_ = other.loungeId_;
106+
loungeIds_ = other.loungeIds_.Clone();
107107
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
108108
}
109109

@@ -277,19 +277,18 @@ public string DocumentsVerifiedText {
277277
}
278278
}
279279

280-
/// <summary>Field number for the "loungeId" field.</summary>
281-
public const int LoungeIdFieldNumber = 13;
282-
private string loungeId_ = "";
280+
/// <summary>Field number for the "loungeIds" field.</summary>
281+
public const int LoungeIdsFieldNumber = 13;
282+
private static readonly pb::FieldCodec<string> _repeated_loungeIds_codec
283+
= pb::FieldCodec.ForString(106);
284+
private readonly pbc::RepeatedField<string> loungeIds_ = new pbc::RepeatedField<string>();
283285
/// <summary>
284286
/// Apple Place ID for Airline lounge. Can be overridden at the boarding pass level by providing additional data items 'airport.loungeId'.
285287
/// </summary>
286288
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
287289
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
288-
public string LoungeId {
289-
get { return loungeId_; }
290-
set {
291-
loungeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
292-
}
290+
public pbc::RepeatedField<string> LoungeIds {
291+
get { return loungeIds_; }
293292
}
294293

295294
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -318,7 +317,7 @@ public bool Equals(Port other) {
318317
if(!securityPrograms_.Equals(other.securityPrograms_)) return false;
319318
if (DocumentsVerifiedText != other.DocumentsVerifiedText) return false;
320319
if (!object.Equals(LocalizedDocumentsVerifiedText, other.LocalizedDocumentsVerifiedText)) return false;
321-
if (LoungeId != other.LoungeId) return false;
320+
if(!loungeIds_.Equals(other.loungeIds_)) return false;
322321
return Equals(_unknownFields, other._unknownFields);
323322
}
324323

@@ -337,7 +336,7 @@ public override int GetHashCode() {
337336
hash ^= securityPrograms_.GetHashCode();
338337
if (DocumentsVerifiedText.Length != 0) hash ^= DocumentsVerifiedText.GetHashCode();
339338
if (localizedDocumentsVerifiedText_ != null) hash ^= LocalizedDocumentsVerifiedText.GetHashCode();
340-
if (LoungeId.Length != 0) hash ^= LoungeId.GetHashCode();
339+
hash ^= loungeIds_.GetHashCode();
341340
if (_unknownFields != null) {
342341
hash ^= _unknownFields.GetHashCode();
343342
}
@@ -397,10 +396,7 @@ public void WriteTo(pb::CodedOutputStream output) {
397396
output.WriteRawTag(90);
398397
output.WriteMessage(LocalizedDocumentsVerifiedText);
399398
}
400-
if (LoungeId.Length != 0) {
401-
output.WriteRawTag(106);
402-
output.WriteString(LoungeId);
403-
}
399+
loungeIds_.WriteTo(output, _repeated_loungeIds_codec);
404400
if (_unknownFields != null) {
405401
_unknownFields.WriteTo(output);
406402
}
@@ -452,10 +448,7 @@ public void WriteTo(pb::CodedOutputStream output) {
452448
output.WriteRawTag(90);
453449
output.WriteMessage(LocalizedDocumentsVerifiedText);
454450
}
455-
if (LoungeId.Length != 0) {
456-
output.WriteRawTag(106);
457-
output.WriteString(LoungeId);
458-
}
451+
loungeIds_.WriteTo(ref output, _repeated_loungeIds_codec);
459452
if (_unknownFields != null) {
460453
_unknownFields.WriteTo(ref output);
461454
}
@@ -497,9 +490,7 @@ public int CalculateSize() {
497490
if (localizedDocumentsVerifiedText_ != null) {
498491
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LocalizedDocumentsVerifiedText);
499492
}
500-
if (LoungeId.Length != 0) {
501-
size += 1 + pb::CodedOutputStream.ComputeStringSize(LoungeId);
502-
}
493+
size += loungeIds_.CalculateSize(_repeated_loungeIds_codec);
503494
if (_unknownFields != null) {
504495
size += _unknownFields.CalculateSize();
505496
}
@@ -552,9 +543,7 @@ public void MergeFrom(Port other) {
552543
}
553544
LocalizedDocumentsVerifiedText.MergeFrom(other.LocalizedDocumentsVerifiedText);
554545
}
555-
if (other.LoungeId.Length != 0) {
556-
LoungeId = other.LoungeId;
557-
}
546+
loungeIds_.Add(other.loungeIds_);
558547
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
559548
}
560549

@@ -625,7 +614,7 @@ public void MergeFrom(pb::CodedInputStream input) {
625614
break;
626615
}
627616
case 106: {
628-
LoungeId = input.ReadString();
617+
loungeIds_.AddEntriesFrom(input, _repeated_loungeIds_codec);
629618
break;
630619
}
631620
}
@@ -698,7 +687,7 @@ public void MergeFrom(pb::CodedInputStream input) {
698687
break;
699688
}
700689
case 106: {
701-
LoungeId = input.ReadString();
690+
loungeIds_.AddEntriesFrom(ref input, _repeated_loungeIds_codec);
702691
break;
703692
}
704693
}

0 commit comments

Comments
 (0)