Skip to content

Commit ffe1e74

Browse files
committed
Release v1.1.144
1 parent 41ac600 commit ffe1e74

File tree

3 files changed

+118
-88
lines changed

3 files changed

+118
-88
lines changed

PassKit.Grpc.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</id>
55
<title>PassKit gRPC SDK</title>
6-
<version>1.1.142</version>
6+
<version>1.1.144</version>
77
<icon>images/icon.png</icon>
88
<description>
99
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/PassKit/Grpc/Flights/Airport.g.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
"cmFtcxgJIAMoDjIgLmZsaWdodHMuQWlycG9ydFNlY3VyaXR5UHJvZ3Jh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RlbC9zZGsvZ28vaW8vZmxpZ2h0c6oCFFBhc3NL",
46+
"aXQuR3JwYy5GbGlnaHRzYgZwcm90bzM="));
4747
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
4848
new pbr::FileDescriptor[] { global::PassKit.Grpc.LocalizationReflection.Descriptor, global::PassKit.Grpc.Flights.BarcodeReflection.Descriptor, global::PassKit.Grpc.Gateway.ProtocGenOpenapiv2.Options.AnnotationsReflection.Descriptor, },
4949
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),
5151
new pbr::GeneratedClrTypeInfo(typeof(global::PassKit.Grpc.Flights.AirportCode), global::PassKit.Grpc.Flights.AirportCode.Parser, new[]{ "AirportCode_" }, null, null, null, null)
5252
}));
5353
}
@@ -104,7 +104,7 @@ public Port(Port other) : this() {
104104
securityPrograms_ = other.securityPrograms_.Clone();
105105
documentsVerifiedText_ = other.documentsVerifiedText_;
106106
localizedDocumentsVerifiedText_ = other.localizedDocumentsVerifiedText_ != null ? other.localizedDocumentsVerifiedText_.Clone() : null;
107-
loungeId_ = other.loungeId_;
107+
loungeIds_ = other.loungeIds_.Clone();
108108
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
109109
}
110110

@@ -278,19 +278,18 @@ public string DocumentsVerifiedText {
278278
}
279279
}
280280

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>();
284286
/// <summary>
285287
/// Apple Place ID for Airline lounge. Can be overridden at the boarding pass level by providing additional data items 'airport.loungeId'.
286288
/// </summary>
287289
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
288290
[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_; }
294293
}
295294

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

@@ -338,7 +337,7 @@ public override int GetHashCode() {
338337
hash ^= securityPrograms_.GetHashCode();
339338
if (DocumentsVerifiedText.Length != 0) hash ^= DocumentsVerifiedText.GetHashCode();
340339
if (localizedDocumentsVerifiedText_ != null) hash ^= LocalizedDocumentsVerifiedText.GetHashCode();
341-
if (LoungeId.Length != 0) hash ^= LoungeId.GetHashCode();
340+
hash ^= loungeIds_.GetHashCode();
342341
if (_unknownFields != null) {
343342
hash ^= _unknownFields.GetHashCode();
344343
}
@@ -398,10 +397,7 @@ public void WriteTo(pb::CodedOutputStream output) {
398397
output.WriteRawTag(90);
399398
output.WriteMessage(LocalizedDocumentsVerifiedText);
400399
}
401-
if (LoungeId.Length != 0) {
402-
output.WriteRawTag(106);
403-
output.WriteString(LoungeId);
404-
}
400+
loungeIds_.WriteTo(output, _repeated_loungeIds_codec);
405401
if (_unknownFields != null) {
406402
_unknownFields.WriteTo(output);
407403
}
@@ -453,10 +449,7 @@ public void WriteTo(pb::CodedOutputStream output) {
453449
output.WriteRawTag(90);
454450
output.WriteMessage(LocalizedDocumentsVerifiedText);
455451
}
456-
if (LoungeId.Length != 0) {
457-
output.WriteRawTag(106);
458-
output.WriteString(LoungeId);
459-
}
452+
loungeIds_.WriteTo(ref output, _repeated_loungeIds_codec);
460453
if (_unknownFields != null) {
461454
_unknownFields.WriteTo(ref output);
462455
}
@@ -498,9 +491,7 @@ public int CalculateSize() {
498491
if (localizedDocumentsVerifiedText_ != null) {
499492
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LocalizedDocumentsVerifiedText);
500493
}
501-
if (LoungeId.Length != 0) {
502-
size += 1 + pb::CodedOutputStream.ComputeStringSize(LoungeId);
503-
}
494+
size += loungeIds_.CalculateSize(_repeated_loungeIds_codec);
504495
if (_unknownFields != null) {
505496
size += _unknownFields.CalculateSize();
506497
}
@@ -553,9 +544,7 @@ public void MergeFrom(Port other) {
553544
}
554545
LocalizedDocumentsVerifiedText.MergeFrom(other.LocalizedDocumentsVerifiedText);
555546
}
556-
if (other.LoungeId.Length != 0) {
557-
LoungeId = other.LoungeId;
558-
}
547+
loungeIds_.Add(other.loungeIds_);
559548
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
560549
}
561550

@@ -630,7 +619,7 @@ public void MergeFrom(pb::CodedInputStream input) {
630619
break;
631620
}
632621
case 106: {
633-
LoungeId = input.ReadString();
622+
loungeIds_.AddEntriesFrom(input, _repeated_loungeIds_codec);
634623
break;
635624
}
636625
}
@@ -707,7 +696,7 @@ public void MergeFrom(pb::CodedInputStream input) {
707696
break;
708697
}
709698
case 106: {
710-
LoungeId = input.ReadString();
699+
loungeIds_.AddEntriesFrom(ref input, _repeated_loungeIds_codec);
711700
break;
712701
}
713702
}

0 commit comments

Comments
 (0)