Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.passkit.grpc.Flights.Barcode Maven / Gradle / Ivy
Go to download
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.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: io/flights/barcode.proto
package com.passkit.grpc.Flights;
public final class Barcode {
private Barcode() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
*
* Passenger Status as detailed in IATA PSC Resolution 792 Attachment 'C'. Note: all values other than 0 indicate that the passenger has checked in.
*
*
* Protobuf enum {@code flights.PassengerStatus}
*/
public enum PassengerStatus
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Ticket issuance/passenger not checked in
*
*
* ISSUED_NOT_CHECKED_IN = 0;
*/
ISSUED_NOT_CHECKED_IN(0),
/**
*
* Ticket issuance/passenger checked in
*
*
* ISSUED_CHECKED_IN = 1;
*/
ISSUED_CHECKED_IN(1),
/**
*
* Baggage checked - passenger not checked in
*
*
* BAGGAGE_CHECKED_PASSENGER_NOT_CHECKED_IN = 2;
*/
BAGGAGE_CHECKED_PASSENGER_NOT_CHECKED_IN(2),
/**
*
* Baggage checked - passenger checked in
*
*
* BAGGAGE_CHECKED_PASSENGER_CHECKED_IN = 3;
*/
BAGGAGE_CHECKED_PASSENGER_CHECKED_IN(3),
/**
*
* Passenger passed security check
*
*
* PASSENGER_PASSED_SECURITY_CHECK = 4;
*/
PASSENGER_PASSED_SECURITY_CHECK(4),
/**
*
* Passenger passed gate and exit (coupon used)
*
*
* PASSENGER_PASSED_GATE = 5;
*/
PASSENGER_PASSED_GATE(5),
/**
*
* Transit
*
*
* TRANSIT = 6;
*/
TRANSIT(6),
/**
*
* Standby. Seat number not printed on boarding pass at time of check in
*
*
* STANDBY = 7;
*/
STANDBY(7),
/**
*
* Boarding data re-validation done
*
*
* BOARDING_DATA_REVALIDATION_DONE = 8;
*/
BOARDING_DATA_REVALIDATION_DONE(8),
/**
*
* Original boarding line used at time of ticket issuance
*
*
* ORIGINAL_BOARDING_LINE_USED_AT_TICKET_ISSUANCE = 9;
*/
ORIGINAL_BOARDING_LINE_USED_AT_TICKET_ISSUANCE(9),
/**
*
* Up or down grading required
*
*
* UP_OR_DOWN_GRADING_REQUIRED = 10;
*/
UP_OR_DOWN_GRADING_REQUIRED(10),
UNRECOGNIZED(-1),
;
/**
*
* Ticket issuance/passenger not checked in
*
*
* ISSUED_NOT_CHECKED_IN = 0;
*/
public static final int ISSUED_NOT_CHECKED_IN_VALUE = 0;
/**
*
* Ticket issuance/passenger checked in
*
*
* ISSUED_CHECKED_IN = 1;
*/
public static final int ISSUED_CHECKED_IN_VALUE = 1;
/**
*
* Baggage checked - passenger not checked in
*
*
* BAGGAGE_CHECKED_PASSENGER_NOT_CHECKED_IN = 2;
*/
public static final int BAGGAGE_CHECKED_PASSENGER_NOT_CHECKED_IN_VALUE = 2;
/**
*
* Baggage checked - passenger checked in
*
*
* BAGGAGE_CHECKED_PASSENGER_CHECKED_IN = 3;
*/
public static final int BAGGAGE_CHECKED_PASSENGER_CHECKED_IN_VALUE = 3;
/**
*
* Passenger passed security check
*
*
* PASSENGER_PASSED_SECURITY_CHECK = 4;
*/
public static final int PASSENGER_PASSED_SECURITY_CHECK_VALUE = 4;
/**
*
* Passenger passed gate and exit (coupon used)
*
*
* PASSENGER_PASSED_GATE = 5;
*/
public static final int PASSENGER_PASSED_GATE_VALUE = 5;
/**
*
* Transit
*
*
* TRANSIT = 6;
*/
public static final int TRANSIT_VALUE = 6;
/**
*
* Standby. Seat number not printed on boarding pass at time of check in
*
*
* STANDBY = 7;
*/
public static final int STANDBY_VALUE = 7;
/**
*
* Boarding data re-validation done
*
*
* BOARDING_DATA_REVALIDATION_DONE = 8;
*/
public static final int BOARDING_DATA_REVALIDATION_DONE_VALUE = 8;
/**
*
* Original boarding line used at time of ticket issuance
*
*
* ORIGINAL_BOARDING_LINE_USED_AT_TICKET_ISSUANCE = 9;
*/
public static final int ORIGINAL_BOARDING_LINE_USED_AT_TICKET_ISSUANCE_VALUE = 9;
/**
*
* Up or down grading required
*
*
* UP_OR_DOWN_GRADING_REQUIRED = 10;
*/
public static final int UP_OR_DOWN_GRADING_REQUIRED_VALUE = 10;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static PassengerStatus valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static PassengerStatus forNumber(int value) {
switch (value) {
case 0: return ISSUED_NOT_CHECKED_IN;
case 1: return ISSUED_CHECKED_IN;
case 2: return BAGGAGE_CHECKED_PASSENGER_NOT_CHECKED_IN;
case 3: return BAGGAGE_CHECKED_PASSENGER_CHECKED_IN;
case 4: return PASSENGER_PASSED_SECURITY_CHECK;
case 5: return PASSENGER_PASSED_GATE;
case 6: return TRANSIT;
case 7: return STANDBY;
case 8: return BOARDING_DATA_REVALIDATION_DONE;
case 9: return ORIGINAL_BOARDING_LINE_USED_AT_TICKET_ISSUANCE;
case 10: return UP_OR_DOWN_GRADING_REQUIRED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
PassengerStatus> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public PassengerStatus findValueByNumber(int number) {
return PassengerStatus.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.passkit.grpc.Flights.Barcode.getDescriptor().getEnumTypes().get(0);
}
private static final PassengerStatus[] VALUES = values();
public static PassengerStatus valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private PassengerStatus(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:flights.PassengerStatus)
}
/**
*
* Passenger Description as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* Protobuf enum {@code flights.PassengerDescription}
*/
public enum PassengerDescription
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Adult
*
*
* ADULT = 0;
*/
ADULT(0),
/**
*
* Adult male
*
*
* MALE = 1;
*/
MALE(1),
/**
*
* Adult female
*
*
* FEMALE = 2;
*/
FEMALE(2),
/**
*
* Child
*
*
* CHILD = 3;
*/
CHILD(3),
/**
*
* Infant
*
*
* INFANT = 4;
*/
INFANT(4),
/**
*
* No passenger (cabin baggage)
*
*
* NO_PASSENGER = 5;
*/
NO_PASSENGER(5),
/**
*
* Adult travelling with infant
*
*
* ADULT_WITH_INFANT = 6;
*/
ADULT_WITH_INFANT(6),
/**
*
* Unaccompanied minor
*
*
* UNACCOMPANIED_MINOR = 7;
*/
UNACCOMPANIED_MINOR(7),
UNRECOGNIZED(-1),
;
/**
*
* Adult
*
*
* ADULT = 0;
*/
public static final int ADULT_VALUE = 0;
/**
*
* Adult male
*
*
* MALE = 1;
*/
public static final int MALE_VALUE = 1;
/**
*
* Adult female
*
*
* FEMALE = 2;
*/
public static final int FEMALE_VALUE = 2;
/**
*
* Child
*
*
* CHILD = 3;
*/
public static final int CHILD_VALUE = 3;
/**
*
* Infant
*
*
* INFANT = 4;
*/
public static final int INFANT_VALUE = 4;
/**
*
* No passenger (cabin baggage)
*
*
* NO_PASSENGER = 5;
*/
public static final int NO_PASSENGER_VALUE = 5;
/**
*
* Adult travelling with infant
*
*
* ADULT_WITH_INFANT = 6;
*/
public static final int ADULT_WITH_INFANT_VALUE = 6;
/**
*
* Unaccompanied minor
*
*
* UNACCOMPANIED_MINOR = 7;
*/
public static final int UNACCOMPANIED_MINOR_VALUE = 7;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static PassengerDescription valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static PassengerDescription forNumber(int value) {
switch (value) {
case 0: return ADULT;
case 1: return MALE;
case 2: return FEMALE;
case 3: return CHILD;
case 4: return INFANT;
case 5: return NO_PASSENGER;
case 6: return ADULT_WITH_INFANT;
case 7: return UNACCOMPANIED_MINOR;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
PassengerDescription> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public PassengerDescription findValueByNumber(int number) {
return PassengerDescription.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.passkit.grpc.Flights.Barcode.getDescriptor().getEnumTypes().get(1);
}
private static final PassengerDescription[] VALUES = values();
public static PassengerDescription valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private PassengerDescription(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:flights.PassengerDescription)
}
/**
*
* Source of transaction.
*
*
* Protobuf enum {@code flights.Source}
*/
public enum Source
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Web
*
*
* W = 0;
*/
W(0),
/**
*
* Airport Kiosk
*
*
* K = 1;
*/
K(1),
/**
*
* Transfer kiosk
*
*
* X = 2;
*/
X(2),
/**
*
* Remote / off-site kiosk
*
*
* R = 3;
*/
R(3),
/**
*
* Mobile device
*
*
* M = 4;
*/
M(4),
/**
*
* Airport agent
*
*
* O = 5;
*/
O(5),
/**
*
* Town agent
*
*
* T = 6;
*/
T(6),
/**
*
* Third party vendor
*
*
* V = 7;
*/
V(7),
UNRECOGNIZED(-1),
;
/**
*
* Web
*
*
* W = 0;
*/
public static final int W_VALUE = 0;
/**
*
* Airport Kiosk
*
*
* K = 1;
*/
public static final int K_VALUE = 1;
/**
*
* Transfer kiosk
*
*
* X = 2;
*/
public static final int X_VALUE = 2;
/**
*
* Remote / off-site kiosk
*
*
* R = 3;
*/
public static final int R_VALUE = 3;
/**
*
* Mobile device
*
*
* M = 4;
*/
public static final int M_VALUE = 4;
/**
*
* Airport agent
*
*
* O = 5;
*/
public static final int O_VALUE = 5;
/**
*
* Town agent
*
*
* T = 6;
*/
public static final int T_VALUE = 6;
/**
*
* Third party vendor
*
*
* V = 7;
*/
public static final int V_VALUE = 7;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Source valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Source forNumber(int value) {
switch (value) {
case 0: return W;
case 1: return K;
case 2: return X;
case 3: return R;
case 4: return M;
case 5: return O;
case 6: return T;
case 7: return V;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Source> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Source findValueByNumber(int number) {
return Source.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.passkit.grpc.Flights.Barcode.getDescriptor().getEnumTypes().get(2);
}
private static final Source[] VALUES = values();
public static Source valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Source(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:flights.Source)
}
/**
*
* Document type that the barcode represents.
*
*
* Protobuf enum {@code flights.DocType}
*/
public enum DocType
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Boarding pass
*
*
* B = 0;
*/
B(0),
/**
*
* Itinerary receipt
*
*
* I = 1;
*/
I(1),
UNRECOGNIZED(-1),
;
/**
*
* Boarding pass
*
*
* B = 0;
*/
public static final int B_VALUE = 0;
/**
*
* Itinerary receipt
*
*
* I = 1;
*/
public static final int I_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DocType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static DocType forNumber(int value) {
switch (value) {
case 0: return B;
case 1: return I;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
DocType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public DocType findValueByNumber(int number) {
return DocType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.passkit.grpc.Flights.Barcode.getDescriptor().getEnumTypes().get(3);
}
private static final DocType[] VALUES = values();
public static DocType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private DocType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:flights.DocType)
}
/**
*
* International Documentation Verification.
*
*
* Protobuf enum {@code flights.InternationalDocVerification}
*/
public enum InternationalDocVerification
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* No travel document verification required
*
*
* NOT_REQUIRED = 0;
*/
NOT_REQUIRED(0),
/**
*
* Travel document verification required before boarding
*
*
* REQUIRED = 1;
*/
REQUIRED(1),
/**
*
* Travel document verification successfully completed
*
*
* COMPLETED = 2;
*/
COMPLETED(2),
UNRECOGNIZED(-1),
;
/**
*
* No travel document verification required
*
*
* NOT_REQUIRED = 0;
*/
public static final int NOT_REQUIRED_VALUE = 0;
/**
*
* Travel document verification required before boarding
*
*
* REQUIRED = 1;
*/
public static final int REQUIRED_VALUE = 1;
/**
*
* Travel document verification successfully completed
*
*
* COMPLETED = 2;
*/
public static final int COMPLETED_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static InternationalDocVerification valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static InternationalDocVerification forNumber(int value) {
switch (value) {
case 0: return NOT_REQUIRED;
case 1: return REQUIRED;
case 2: return COMPLETED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
InternationalDocVerification> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public InternationalDocVerification findValueByNumber(int number) {
return InternationalDocVerification.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.passkit.grpc.Flights.Barcode.getDescriptor().getEnumTypes().get(4);
}
private static final InternationalDocVerification[] VALUES = values();
public static InternationalDocVerification valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private InternationalDocVerification(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:flights.InternationalDocVerification)
}
/**
*
* Industry Discount / Airline Discount codes. See IATA Recommended Practice 1788.
*
*
* Protobuf enum {@code flights.IDADIndicator}
*/
public enum IDADIndicator
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* No Industry discount
*
*
* NONE = 0;
*/
NONE(0),
/**
*
* Industry discount, other carrier employee/all other eligible persons, firm reservation
*
*
* IDN1 = 1;
*/
IDN1(1),
/**
*
* Industry discount, other carrier employee/all other eligible persons, space available
*
*
* IDN2 = 2;
*/
IDN2(2),
/**
*
* Industry discount, other carrier employee travelling on duty, firm reservation
*
*
* IDB1 = 3;
*/
IDB1(3),
/**
*
* Industry discount, other carrier employee travelling on duty, pace available
*
*
* IDB2 = 4;
*/
IDB2(4),
/**
*
* Ticket issued pursuant to Resolution 880
*
*
* AD = 5;
*/
AD(5),
/**
*
* Ticket issued pursuant to Resolution 200g
*
*
* DG = 6;
*/
DG(6),
/**
*
* Discount not covered by industry regulations (for online use only)
*
*
* DM = 7;
*/
DM(7),
/**
*
* Ticket issued pursuant to Resolution 886
*
*
* GE = 8;
*/
GE(8),
/**
*
* Ticket issued pursuant to Resolution 788
*
*
* IG = 9;
*/
IG(9),
/**
*
* Ticket issued pursuant to Resolution 888
*
*
* RG = 10;
*/
RG(10),
/**
*
* Ticket issued pursuant to Resolution 884
*
*
* UD = 11;
*/
UD(11),
/**
*
* Industry discount ticket - no classification designator
*
*
* ID = 12;
*/
ID(12),
/**
*
* Industry discount, member's own employee travelling on duty, firm reservation
*
*
* IDFS1 = 13;
*/
IDFS1(13),
/**
*
* Industry discount, member's own employee travelling on duty, space available
*
*
* IDFS2 = 14;
*/
IDFS2(14),
/**
*
* Industry discount, member's own employee/dependant, firm reservation
*
*
* IDR1 = 15;
*/
IDR1(15),
/**
*
* Industry discount, member's own employee/dependant, space available
*
*
* IDR2 = 16;
*/
IDR2(16),
UNRECOGNIZED(-1),
;
/**
*
* No Industry discount
*
*
* NONE = 0;
*/
public static final int NONE_VALUE = 0;
/**
*
* Industry discount, other carrier employee/all other eligible persons, firm reservation
*
*
* IDN1 = 1;
*/
public static final int IDN1_VALUE = 1;
/**
*
* Industry discount, other carrier employee/all other eligible persons, space available
*
*
* IDN2 = 2;
*/
public static final int IDN2_VALUE = 2;
/**
*
* Industry discount, other carrier employee travelling on duty, firm reservation
*
*
* IDB1 = 3;
*/
public static final int IDB1_VALUE = 3;
/**
*
* Industry discount, other carrier employee travelling on duty, pace available
*
*
* IDB2 = 4;
*/
public static final int IDB2_VALUE = 4;
/**
*
* Ticket issued pursuant to Resolution 880
*
*
* AD = 5;
*/
public static final int AD_VALUE = 5;
/**
*
* Ticket issued pursuant to Resolution 200g
*
*
* DG = 6;
*/
public static final int DG_VALUE = 6;
/**
*
* Discount not covered by industry regulations (for online use only)
*
*
* DM = 7;
*/
public static final int DM_VALUE = 7;
/**
*
* Ticket issued pursuant to Resolution 886
*
*
* GE = 8;
*/
public static final int GE_VALUE = 8;
/**
*
* Ticket issued pursuant to Resolution 788
*
*
* IG = 9;
*/
public static final int IG_VALUE = 9;
/**
*
* Ticket issued pursuant to Resolution 888
*
*
* RG = 10;
*/
public static final int RG_VALUE = 10;
/**
*
* Ticket issued pursuant to Resolution 884
*
*
* UD = 11;
*/
public static final int UD_VALUE = 11;
/**
*
* Industry discount ticket - no classification designator
*
*
* ID = 12;
*/
public static final int ID_VALUE = 12;
/**
*
* Industry discount, member's own employee travelling on duty, firm reservation
*
*
* IDFS1 = 13;
*/
public static final int IDFS1_VALUE = 13;
/**
*
* Industry discount, member's own employee travelling on duty, space available
*
*
* IDFS2 = 14;
*/
public static final int IDFS2_VALUE = 14;
/**
*
* Industry discount, member's own employee/dependant, firm reservation
*
*
* IDR1 = 15;
*/
public static final int IDR1_VALUE = 15;
/**
*
* Industry discount, member's own employee/dependant, space available
*
*
* IDR2 = 16;
*/
public static final int IDR2_VALUE = 16;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static IDADIndicator valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static IDADIndicator forNumber(int value) {
switch (value) {
case 0: return NONE;
case 1: return IDN1;
case 2: return IDN2;
case 3: return IDB1;
case 4: return IDB2;
case 5: return AD;
case 6: return DG;
case 7: return DM;
case 8: return GE;
case 9: return IG;
case 10: return RG;
case 11: return UD;
case 12: return ID;
case 13: return IDFS1;
case 14: return IDFS2;
case 15: return IDR1;
case 16: return IDR2;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
IDADIndicator> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public IDADIndicator findValueByNumber(int number) {
return IDADIndicator.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.passkit.grpc.Flights.Barcode.getDescriptor().getEnumTypes().get(5);
}
private static final IDADIndicator[] VALUES = values();
public static IDADIndicator valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private IDADIndicator(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:flights.IDADIndicator)
}
/**
*
* Passenger security status. Note: in practical terms, this is always likely to be NOT_SELECTEE or TSA_PRECHECK since current DHS Pre-Departure Regulations only allow on-site printing of boarding passes. It is mandatory when US travel is involved.
*
*
* Protobuf enum {@code flights.SelecteeIndicator}
*/
public enum SelecteeIndicator
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Not selected for special security screening
*
*
* NOT_SELECTEE = 0;
*/
NOT_SELECTEE(0),
/**
*
* Selected for special security screening
*
*
* SELECTEE = 1;
*/
SELECTEE(1),
/**
*
* Passenger eligible for TSA PreCheck®
*
*
* TSA_PRECHECK = 3;
*/
TSA_PRECHECK(3),
UNRECOGNIZED(-1),
;
/**
*
* Not selected for special security screening
*
*
* NOT_SELECTEE = 0;
*/
public static final int NOT_SELECTEE_VALUE = 0;
/**
*
* Selected for special security screening
*
*
* SELECTEE = 1;
*/
public static final int SELECTEE_VALUE = 1;
/**
*
* Passenger eligible for TSA PreCheck®
*
*
* TSA_PRECHECK = 3;
*/
public static final int TSA_PRECHECK_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SelecteeIndicator valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static SelecteeIndicator forNumber(int value) {
switch (value) {
case 0: return NOT_SELECTEE;
case 1: return SELECTEE;
case 3: return TSA_PRECHECK;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
SelecteeIndicator> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public SelecteeIndicator findValueByNumber(int number) {
return SelecteeIndicator.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.passkit.grpc.Flights.Barcode.getDescriptor().getEnumTypes().get(6);
}
private static final SelecteeIndicator[] VALUES = values();
public static SelecteeIndicator valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private SelecteeIndicator(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:flights.SelecteeIndicator)
}
/**
*
* Passenger eligibility for Fast-track privileges.
*
*
* Protobuf enum {@code flights.FastTrack}
*/
public enum FastTrack
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Not Eligible
*
*
* N = 0;
*/
N(0),
/**
*
* Eligible
*
*
* Y = 1;
*/
Y(1),
UNRECOGNIZED(-1),
;
/**
*
* Not Eligible
*
*
* N = 0;
*/
public static final int N_VALUE = 0;
/**
*
* Eligible
*
*
* Y = 1;
*/
public static final int Y_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static FastTrack valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static FastTrack forNumber(int value) {
switch (value) {
case 0: return N;
case 1: return Y;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
FastTrack> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public FastTrack findValueByNumber(int number) {
return FastTrack.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.passkit.grpc.Flights.Barcode.getDescriptor().getEnumTypes().get(7);
}
private static final FastTrack[] VALUES = values();
public static FastTrack valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private FastTrack(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:flights.FastTrack)
}
public interface ConditionalItemsOrBuilder extends
// @@protoc_insertion_point(interface_extends:flights.ConditionalItems)
com.google.protobuf.MessageOrBuilder {
/**
*
* Passenger Status as detailed in IATA PSC Resolution 792 Attachment 'C'. Note: all values other than 0 indicate that the passenger has checked in.
*
*
* .flights.PassengerDescription passengerDescription = 1;
* @return The enum numeric value on the wire for passengerDescription.
*/
int getPassengerDescriptionValue();
/**
*
* Passenger Status as detailed in IATA PSC Resolution 792 Attachment 'C'. Note: all values other than 0 indicate that the passenger has checked in.
*
*
* .flights.PassengerDescription passengerDescription = 1;
* @return The passengerDescription.
*/
com.passkit.grpc.Flights.Barcode.PassengerDescription getPassengerDescription();
/**
*
* Source of checkin as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source checkInSource = 2;
* @return The enum numeric value on the wire for checkInSource.
*/
int getCheckInSourceValue();
/**
*
* Source of checkin as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source checkInSource = 2;
* @return The checkInSource.
*/
com.passkit.grpc.Flights.Barcode.Source getCheckInSource();
/**
*
* Source of boarding pass issuance as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source boardingPassIssuanceSource = 3;
* @return The enum numeric value on the wire for boardingPassIssuanceSource.
*/
int getBoardingPassIssuanceSourceValue();
/**
*
* Source of boarding pass issuance as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source boardingPassIssuanceSource = 3;
* @return The boardingPassIssuanceSource.
*/
com.passkit.grpc.Flights.Barcode.Source getBoardingPassIssuanceSource();
/**
*
* Date of boarding pass issuance, local to the boarding point.
*
*
* .io.Date boardingPassIssueDate = 4;
* @return Whether the boardingPassIssueDate field is set.
*/
boolean hasBoardingPassIssueDate();
/**
*
* Date of boarding pass issuance, local to the boarding point.
*
*
* .io.Date boardingPassIssueDate = 4;
* @return The boardingPassIssueDate.
*/
com.passkit.grpc.CommonObjects.Date getBoardingPassIssueDate();
/**
*
* Date of boarding pass issuance, local to the boarding point.
*
*
* .io.Date boardingPassIssueDate = 4;
*/
com.passkit.grpc.CommonObjects.DateOrBuilder getBoardingPassIssueDateOrBuilder();
/**
*
* Document type that the barcode represents.
*
*
* .flights.DocType documentType = 5;
* @return The enum numeric value on the wire for documentType.
*/
int getDocumentTypeValue();
/**
*
* Document type that the barcode represents.
*
*
* .flights.DocType documentType = 5;
* @return The documentType.
*/
com.passkit.grpc.Flights.Barcode.DocType getDocumentType();
/**
*
* IATA or ICAO designator of boarding pass issuer.
*
*
* string boardingPassIssuer = 6;
* @return The boardingPassIssuer.
*/
java.lang.String getBoardingPassIssuer();
/**
*
* IATA or ICAO designator of boarding pass issuer.
*
*
* string boardingPassIssuer = 6;
* @return The bytes for boardingPassIssuer.
*/
com.google.protobuf.ByteString
getBoardingPassIssuerBytes();
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return A list containing the baggageTagNumber.
*/
java.util.List
getBaggageTagNumberList();
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return The count of baggageTagNumber.
*/
int getBaggageTagNumberCount();
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @param index The index of the element to return.
* @return The baggageTagNumber at the given index.
*/
java.lang.String getBaggageTagNumber(int index);
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @param index The index of the value to return.
* @return The bytes of the baggageTagNumber at the given index.
*/
com.google.protobuf.ByteString
getBaggageTagNumberBytes(int index);
/**
*
* Passenger security status. Note: in practical terms, this is always likely to be NOT_SELECTEE or TSA_PRECHECK since current DHS Pre-Departure Regulations only allow on-site printing of boarding passes. It is mandatory when US travel is involved.
*
*
* .flights.SelecteeIndicator selecteeIndicator = 8;
* @return The enum numeric value on the wire for selecteeIndicator.
*/
int getSelecteeIndicatorValue();
/**
*
* Passenger security status. Note: in practical terms, this is always likely to be NOT_SELECTEE or TSA_PRECHECK since current DHS Pre-Departure Regulations only allow on-site printing of boarding passes. It is mandatory when US travel is involved.
*
*
* .flights.SelecteeIndicator selecteeIndicator = 8;
* @return The selecteeIndicator.
*/
com.passkit.grpc.Flights.Barcode.SelecteeIndicator getSelecteeIndicator();
/**
*
* International Documentation Verification status as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.InternationalDocVerification internationalDocVerification = 9;
* @return The enum numeric value on the wire for internationalDocVerification.
*/
int getInternationalDocVerificationValue();
/**
*
* International Documentation Verification status as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.InternationalDocVerification internationalDocVerification = 9;
* @return The internationalDocVerification.
*/
com.passkit.grpc.Flights.Barcode.InternationalDocVerification getInternationalDocVerification();
/**
*
* Industry Discount / Airline Discount codes. See IATA Recommended Practice 1788.
*
*
* .flights.IDADIndicator idadIndicator = 10;
* @return The enum numeric value on the wire for idadIndicator.
*/
int getIdadIndicatorValue();
/**
*
* Industry Discount / Airline Discount codes. See IATA Recommended Practice 1788.
*
*
* .flights.IDADIndicator idadIndicator = 10;
* @return The idadIndicator.
*/
com.passkit.grpc.Flights.Barcode.IDADIndicator getIdadIndicator();
/**
*
* Passenger eligibility for Fast-track privileges.
*
*
* .flights.FastTrack fastTrack = 11;
* @return The enum numeric value on the wire for fastTrack.
*/
int getFastTrackValue();
/**
*
* Passenger eligibility for Fast-track privileges.
*
*
* .flights.FastTrack fastTrack = 11;
* @return The fastTrack.
*/
com.passkit.grpc.Flights.Barcode.FastTrack getFastTrack();
}
/**
*
* Conditional items for the flight segment as described in IATA PSC Resolution 792. Note: items supplied or derived through other objects (E.g. Frequent Flyer information) are not supplied here.
*
*
* Protobuf type {@code flights.ConditionalItems}
*/
public static final class ConditionalItems extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flights.ConditionalItems)
ConditionalItemsOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConditionalItems.newBuilder() to construct.
private ConditionalItems(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConditionalItems() {
passengerDescription_ = 0;
checkInSource_ = 0;
boardingPassIssuanceSource_ = 0;
documentType_ = 0;
boardingPassIssuer_ = "";
baggageTagNumber_ = com.google.protobuf.LazyStringArrayList.EMPTY;
selecteeIndicator_ = 0;
internationalDocVerification_ = 0;
idadIndicator_ = 0;
fastTrack_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConditionalItems();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConditionalItems(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int rawValue = input.readEnum();
passengerDescription_ = rawValue;
break;
}
case 16: {
int rawValue = input.readEnum();
checkInSource_ = rawValue;
break;
}
case 24: {
int rawValue = input.readEnum();
boardingPassIssuanceSource_ = rawValue;
break;
}
case 34: {
com.passkit.grpc.CommonObjects.Date.Builder subBuilder = null;
if (boardingPassIssueDate_ != null) {
subBuilder = boardingPassIssueDate_.toBuilder();
}
boardingPassIssueDate_ = input.readMessage(com.passkit.grpc.CommonObjects.Date.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(boardingPassIssueDate_);
boardingPassIssueDate_ = subBuilder.buildPartial();
}
break;
}
case 40: {
int rawValue = input.readEnum();
documentType_ = rawValue;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
boardingPassIssuer_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
baggageTagNumber_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
baggageTagNumber_.add(s);
break;
}
case 64: {
int rawValue = input.readEnum();
selecteeIndicator_ = rawValue;
break;
}
case 72: {
int rawValue = input.readEnum();
internationalDocVerification_ = rawValue;
break;
}
case 80: {
int rawValue = input.readEnum();
idadIndicator_ = rawValue;
break;
}
case 88: {
int rawValue = input.readEnum();
fastTrack_ = rawValue;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
baggageTagNumber_ = baggageTagNumber_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Flights.Barcode.internal_static_flights_ConditionalItems_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Flights.Barcode.internal_static_flights_ConditionalItems_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Flights.Barcode.ConditionalItems.class, com.passkit.grpc.Flights.Barcode.ConditionalItems.Builder.class);
}
public static final int PASSENGERDESCRIPTION_FIELD_NUMBER = 1;
private int passengerDescription_;
/**
*
* Passenger Status as detailed in IATA PSC Resolution 792 Attachment 'C'. Note: all values other than 0 indicate that the passenger has checked in.
*
*
* .flights.PassengerDescription passengerDescription = 1;
* @return The enum numeric value on the wire for passengerDescription.
*/
@java.lang.Override public int getPassengerDescriptionValue() {
return passengerDescription_;
}
/**
*
* Passenger Status as detailed in IATA PSC Resolution 792 Attachment 'C'. Note: all values other than 0 indicate that the passenger has checked in.
*
*
* .flights.PassengerDescription passengerDescription = 1;
* @return The passengerDescription.
*/
@java.lang.Override public com.passkit.grpc.Flights.Barcode.PassengerDescription getPassengerDescription() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.PassengerDescription result = com.passkit.grpc.Flights.Barcode.PassengerDescription.valueOf(passengerDescription_);
return result == null ? com.passkit.grpc.Flights.Barcode.PassengerDescription.UNRECOGNIZED : result;
}
public static final int CHECKINSOURCE_FIELD_NUMBER = 2;
private int checkInSource_;
/**
*
* Source of checkin as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source checkInSource = 2;
* @return The enum numeric value on the wire for checkInSource.
*/
@java.lang.Override public int getCheckInSourceValue() {
return checkInSource_;
}
/**
*
* Source of checkin as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source checkInSource = 2;
* @return The checkInSource.
*/
@java.lang.Override public com.passkit.grpc.Flights.Barcode.Source getCheckInSource() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.Source result = com.passkit.grpc.Flights.Barcode.Source.valueOf(checkInSource_);
return result == null ? com.passkit.grpc.Flights.Barcode.Source.UNRECOGNIZED : result;
}
public static final int BOARDINGPASSISSUANCESOURCE_FIELD_NUMBER = 3;
private int boardingPassIssuanceSource_;
/**
*
* Source of boarding pass issuance as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source boardingPassIssuanceSource = 3;
* @return The enum numeric value on the wire for boardingPassIssuanceSource.
*/
@java.lang.Override public int getBoardingPassIssuanceSourceValue() {
return boardingPassIssuanceSource_;
}
/**
*
* Source of boarding pass issuance as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source boardingPassIssuanceSource = 3;
* @return The boardingPassIssuanceSource.
*/
@java.lang.Override public com.passkit.grpc.Flights.Barcode.Source getBoardingPassIssuanceSource() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.Source result = com.passkit.grpc.Flights.Barcode.Source.valueOf(boardingPassIssuanceSource_);
return result == null ? com.passkit.grpc.Flights.Barcode.Source.UNRECOGNIZED : result;
}
public static final int BOARDINGPASSISSUEDATE_FIELD_NUMBER = 4;
private com.passkit.grpc.CommonObjects.Date boardingPassIssueDate_;
/**
*
* Date of boarding pass issuance, local to the boarding point.
*
*
* .io.Date boardingPassIssueDate = 4;
* @return Whether the boardingPassIssueDate field is set.
*/
@java.lang.Override
public boolean hasBoardingPassIssueDate() {
return boardingPassIssueDate_ != null;
}
/**
*
* Date of boarding pass issuance, local to the boarding point.
*
*
* .io.Date boardingPassIssueDate = 4;
* @return The boardingPassIssueDate.
*/
@java.lang.Override
public com.passkit.grpc.CommonObjects.Date getBoardingPassIssueDate() {
return boardingPassIssueDate_ == null ? com.passkit.grpc.CommonObjects.Date.getDefaultInstance() : boardingPassIssueDate_;
}
/**
*
* Date of boarding pass issuance, local to the boarding point.
*
*
* .io.Date boardingPassIssueDate = 4;
*/
@java.lang.Override
public com.passkit.grpc.CommonObjects.DateOrBuilder getBoardingPassIssueDateOrBuilder() {
return getBoardingPassIssueDate();
}
public static final int DOCUMENTTYPE_FIELD_NUMBER = 5;
private int documentType_;
/**
*
* Document type that the barcode represents.
*
*
* .flights.DocType documentType = 5;
* @return The enum numeric value on the wire for documentType.
*/
@java.lang.Override public int getDocumentTypeValue() {
return documentType_;
}
/**
*
* Document type that the barcode represents.
*
*
* .flights.DocType documentType = 5;
* @return The documentType.
*/
@java.lang.Override public com.passkit.grpc.Flights.Barcode.DocType getDocumentType() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.DocType result = com.passkit.grpc.Flights.Barcode.DocType.valueOf(documentType_);
return result == null ? com.passkit.grpc.Flights.Barcode.DocType.UNRECOGNIZED : result;
}
public static final int BOARDINGPASSISSUER_FIELD_NUMBER = 6;
private volatile java.lang.Object boardingPassIssuer_;
/**
*
* IATA or ICAO designator of boarding pass issuer.
*
*
* string boardingPassIssuer = 6;
* @return The boardingPassIssuer.
*/
@java.lang.Override
public java.lang.String getBoardingPassIssuer() {
java.lang.Object ref = boardingPassIssuer_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
boardingPassIssuer_ = s;
return s;
}
}
/**
*
* IATA or ICAO designator of boarding pass issuer.
*
*
* string boardingPassIssuer = 6;
* @return The bytes for boardingPassIssuer.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBoardingPassIssuerBytes() {
java.lang.Object ref = boardingPassIssuer_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
boardingPassIssuer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BAGGAGETAGNUMBER_FIELD_NUMBER = 7;
private com.google.protobuf.LazyStringList baggageTagNumber_;
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return A list containing the baggageTagNumber.
*/
public com.google.protobuf.ProtocolStringList
getBaggageTagNumberList() {
return baggageTagNumber_;
}
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return The count of baggageTagNumber.
*/
public int getBaggageTagNumberCount() {
return baggageTagNumber_.size();
}
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @param index The index of the element to return.
* @return The baggageTagNumber at the given index.
*/
public java.lang.String getBaggageTagNumber(int index) {
return baggageTagNumber_.get(index);
}
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @param index The index of the value to return.
* @return The bytes of the baggageTagNumber at the given index.
*/
public com.google.protobuf.ByteString
getBaggageTagNumberBytes(int index) {
return baggageTagNumber_.getByteString(index);
}
public static final int SELECTEEINDICATOR_FIELD_NUMBER = 8;
private int selecteeIndicator_;
/**
*
* Passenger security status. Note: in practical terms, this is always likely to be NOT_SELECTEE or TSA_PRECHECK since current DHS Pre-Departure Regulations only allow on-site printing of boarding passes. It is mandatory when US travel is involved.
*
*
* .flights.SelecteeIndicator selecteeIndicator = 8;
* @return The enum numeric value on the wire for selecteeIndicator.
*/
@java.lang.Override public int getSelecteeIndicatorValue() {
return selecteeIndicator_;
}
/**
*
* Passenger security status. Note: in practical terms, this is always likely to be NOT_SELECTEE or TSA_PRECHECK since current DHS Pre-Departure Regulations only allow on-site printing of boarding passes. It is mandatory when US travel is involved.
*
*
* .flights.SelecteeIndicator selecteeIndicator = 8;
* @return The selecteeIndicator.
*/
@java.lang.Override public com.passkit.grpc.Flights.Barcode.SelecteeIndicator getSelecteeIndicator() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.SelecteeIndicator result = com.passkit.grpc.Flights.Barcode.SelecteeIndicator.valueOf(selecteeIndicator_);
return result == null ? com.passkit.grpc.Flights.Barcode.SelecteeIndicator.UNRECOGNIZED : result;
}
public static final int INTERNATIONALDOCVERIFICATION_FIELD_NUMBER = 9;
private int internationalDocVerification_;
/**
*
* International Documentation Verification status as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.InternationalDocVerification internationalDocVerification = 9;
* @return The enum numeric value on the wire for internationalDocVerification.
*/
@java.lang.Override public int getInternationalDocVerificationValue() {
return internationalDocVerification_;
}
/**
*
* International Documentation Verification status as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.InternationalDocVerification internationalDocVerification = 9;
* @return The internationalDocVerification.
*/
@java.lang.Override public com.passkit.grpc.Flights.Barcode.InternationalDocVerification getInternationalDocVerification() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.InternationalDocVerification result = com.passkit.grpc.Flights.Barcode.InternationalDocVerification.valueOf(internationalDocVerification_);
return result == null ? com.passkit.grpc.Flights.Barcode.InternationalDocVerification.UNRECOGNIZED : result;
}
public static final int IDADINDICATOR_FIELD_NUMBER = 10;
private int idadIndicator_;
/**
*
* Industry Discount / Airline Discount codes. See IATA Recommended Practice 1788.
*
*
* .flights.IDADIndicator idadIndicator = 10;
* @return The enum numeric value on the wire for idadIndicator.
*/
@java.lang.Override public int getIdadIndicatorValue() {
return idadIndicator_;
}
/**
*
* Industry Discount / Airline Discount codes. See IATA Recommended Practice 1788.
*
*
* .flights.IDADIndicator idadIndicator = 10;
* @return The idadIndicator.
*/
@java.lang.Override public com.passkit.grpc.Flights.Barcode.IDADIndicator getIdadIndicator() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.IDADIndicator result = com.passkit.grpc.Flights.Barcode.IDADIndicator.valueOf(idadIndicator_);
return result == null ? com.passkit.grpc.Flights.Barcode.IDADIndicator.UNRECOGNIZED : result;
}
public static final int FASTTRACK_FIELD_NUMBER = 11;
private int fastTrack_;
/**
*
* Passenger eligibility for Fast-track privileges.
*
*
* .flights.FastTrack fastTrack = 11;
* @return The enum numeric value on the wire for fastTrack.
*/
@java.lang.Override public int getFastTrackValue() {
return fastTrack_;
}
/**
*
* Passenger eligibility for Fast-track privileges.
*
*
* .flights.FastTrack fastTrack = 11;
* @return The fastTrack.
*/
@java.lang.Override public com.passkit.grpc.Flights.Barcode.FastTrack getFastTrack() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.FastTrack result = com.passkit.grpc.Flights.Barcode.FastTrack.valueOf(fastTrack_);
return result == null ? com.passkit.grpc.Flights.Barcode.FastTrack.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (passengerDescription_ != com.passkit.grpc.Flights.Barcode.PassengerDescription.ADULT.getNumber()) {
output.writeEnum(1, passengerDescription_);
}
if (checkInSource_ != com.passkit.grpc.Flights.Barcode.Source.W.getNumber()) {
output.writeEnum(2, checkInSource_);
}
if (boardingPassIssuanceSource_ != com.passkit.grpc.Flights.Barcode.Source.W.getNumber()) {
output.writeEnum(3, boardingPassIssuanceSource_);
}
if (boardingPassIssueDate_ != null) {
output.writeMessage(4, getBoardingPassIssueDate());
}
if (documentType_ != com.passkit.grpc.Flights.Barcode.DocType.B.getNumber()) {
output.writeEnum(5, documentType_);
}
if (!getBoardingPassIssuerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, boardingPassIssuer_);
}
for (int i = 0; i < baggageTagNumber_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, baggageTagNumber_.getRaw(i));
}
if (selecteeIndicator_ != com.passkit.grpc.Flights.Barcode.SelecteeIndicator.NOT_SELECTEE.getNumber()) {
output.writeEnum(8, selecteeIndicator_);
}
if (internationalDocVerification_ != com.passkit.grpc.Flights.Barcode.InternationalDocVerification.NOT_REQUIRED.getNumber()) {
output.writeEnum(9, internationalDocVerification_);
}
if (idadIndicator_ != com.passkit.grpc.Flights.Barcode.IDADIndicator.NONE.getNumber()) {
output.writeEnum(10, idadIndicator_);
}
if (fastTrack_ != com.passkit.grpc.Flights.Barcode.FastTrack.N.getNumber()) {
output.writeEnum(11, fastTrack_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (passengerDescription_ != com.passkit.grpc.Flights.Barcode.PassengerDescription.ADULT.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, passengerDescription_);
}
if (checkInSource_ != com.passkit.grpc.Flights.Barcode.Source.W.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, checkInSource_);
}
if (boardingPassIssuanceSource_ != com.passkit.grpc.Flights.Barcode.Source.W.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, boardingPassIssuanceSource_);
}
if (boardingPassIssueDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getBoardingPassIssueDate());
}
if (documentType_ != com.passkit.grpc.Flights.Barcode.DocType.B.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, documentType_);
}
if (!getBoardingPassIssuerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, boardingPassIssuer_);
}
{
int dataSize = 0;
for (int i = 0; i < baggageTagNumber_.size(); i++) {
dataSize += computeStringSizeNoTag(baggageTagNumber_.getRaw(i));
}
size += dataSize;
size += 1 * getBaggageTagNumberList().size();
}
if (selecteeIndicator_ != com.passkit.grpc.Flights.Barcode.SelecteeIndicator.NOT_SELECTEE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(8, selecteeIndicator_);
}
if (internationalDocVerification_ != com.passkit.grpc.Flights.Barcode.InternationalDocVerification.NOT_REQUIRED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(9, internationalDocVerification_);
}
if (idadIndicator_ != com.passkit.grpc.Flights.Barcode.IDADIndicator.NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(10, idadIndicator_);
}
if (fastTrack_ != com.passkit.grpc.Flights.Barcode.FastTrack.N.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(11, fastTrack_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.passkit.grpc.Flights.Barcode.ConditionalItems)) {
return super.equals(obj);
}
com.passkit.grpc.Flights.Barcode.ConditionalItems other = (com.passkit.grpc.Flights.Barcode.ConditionalItems) obj;
if (passengerDescription_ != other.passengerDescription_) return false;
if (checkInSource_ != other.checkInSource_) return false;
if (boardingPassIssuanceSource_ != other.boardingPassIssuanceSource_) return false;
if (hasBoardingPassIssueDate() != other.hasBoardingPassIssueDate()) return false;
if (hasBoardingPassIssueDate()) {
if (!getBoardingPassIssueDate()
.equals(other.getBoardingPassIssueDate())) return false;
}
if (documentType_ != other.documentType_) return false;
if (!getBoardingPassIssuer()
.equals(other.getBoardingPassIssuer())) return false;
if (!getBaggageTagNumberList()
.equals(other.getBaggageTagNumberList())) return false;
if (selecteeIndicator_ != other.selecteeIndicator_) return false;
if (internationalDocVerification_ != other.internationalDocVerification_) return false;
if (idadIndicator_ != other.idadIndicator_) return false;
if (fastTrack_ != other.fastTrack_) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PASSENGERDESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + passengerDescription_;
hash = (37 * hash) + CHECKINSOURCE_FIELD_NUMBER;
hash = (53 * hash) + checkInSource_;
hash = (37 * hash) + BOARDINGPASSISSUANCESOURCE_FIELD_NUMBER;
hash = (53 * hash) + boardingPassIssuanceSource_;
if (hasBoardingPassIssueDate()) {
hash = (37 * hash) + BOARDINGPASSISSUEDATE_FIELD_NUMBER;
hash = (53 * hash) + getBoardingPassIssueDate().hashCode();
}
hash = (37 * hash) + DOCUMENTTYPE_FIELD_NUMBER;
hash = (53 * hash) + documentType_;
hash = (37 * hash) + BOARDINGPASSISSUER_FIELD_NUMBER;
hash = (53 * hash) + getBoardingPassIssuer().hashCode();
if (getBaggageTagNumberCount() > 0) {
hash = (37 * hash) + BAGGAGETAGNUMBER_FIELD_NUMBER;
hash = (53 * hash) + getBaggageTagNumberList().hashCode();
}
hash = (37 * hash) + SELECTEEINDICATOR_FIELD_NUMBER;
hash = (53 * hash) + selecteeIndicator_;
hash = (37 * hash) + INTERNATIONALDOCVERIFICATION_FIELD_NUMBER;
hash = (53 * hash) + internationalDocVerification_;
hash = (37 * hash) + IDADINDICATOR_FIELD_NUMBER;
hash = (53 * hash) + idadIndicator_;
hash = (37 * hash) + FASTTRACK_FIELD_NUMBER;
hash = (53 * hash) + fastTrack_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.Flights.Barcode.ConditionalItems parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Flights.Barcode.ConditionalItems parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Flights.Barcode.ConditionalItems parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Flights.Barcode.ConditionalItems parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Flights.Barcode.ConditionalItems parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Flights.Barcode.ConditionalItems parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Flights.Barcode.ConditionalItems parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Flights.Barcode.ConditionalItems parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.passkit.grpc.Flights.Barcode.ConditionalItems parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.Flights.Barcode.ConditionalItems parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.passkit.grpc.Flights.Barcode.ConditionalItems parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Flights.Barcode.ConditionalItems parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.passkit.grpc.Flights.Barcode.ConditionalItems prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Conditional items for the flight segment as described in IATA PSC Resolution 792. Note: items supplied or derived through other objects (E.g. Frequent Flyer information) are not supplied here.
*
*
* Protobuf type {@code flights.ConditionalItems}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flights.ConditionalItems)
com.passkit.grpc.Flights.Barcode.ConditionalItemsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Flights.Barcode.internal_static_flights_ConditionalItems_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Flights.Barcode.internal_static_flights_ConditionalItems_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Flights.Barcode.ConditionalItems.class, com.passkit.grpc.Flights.Barcode.ConditionalItems.Builder.class);
}
// Construct using com.passkit.grpc.Flights.Barcode.ConditionalItems.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
passengerDescription_ = 0;
checkInSource_ = 0;
boardingPassIssuanceSource_ = 0;
if (boardingPassIssueDateBuilder_ == null) {
boardingPassIssueDate_ = null;
} else {
boardingPassIssueDate_ = null;
boardingPassIssueDateBuilder_ = null;
}
documentType_ = 0;
boardingPassIssuer_ = "";
baggageTagNumber_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
selecteeIndicator_ = 0;
internationalDocVerification_ = 0;
idadIndicator_ = 0;
fastTrack_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.Flights.Barcode.internal_static_flights_ConditionalItems_descriptor;
}
@java.lang.Override
public com.passkit.grpc.Flights.Barcode.ConditionalItems getDefaultInstanceForType() {
return com.passkit.grpc.Flights.Barcode.ConditionalItems.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.Flights.Barcode.ConditionalItems build() {
com.passkit.grpc.Flights.Barcode.ConditionalItems result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.Flights.Barcode.ConditionalItems buildPartial() {
com.passkit.grpc.Flights.Barcode.ConditionalItems result = new com.passkit.grpc.Flights.Barcode.ConditionalItems(this);
int from_bitField0_ = bitField0_;
result.passengerDescription_ = passengerDescription_;
result.checkInSource_ = checkInSource_;
result.boardingPassIssuanceSource_ = boardingPassIssuanceSource_;
if (boardingPassIssueDateBuilder_ == null) {
result.boardingPassIssueDate_ = boardingPassIssueDate_;
} else {
result.boardingPassIssueDate_ = boardingPassIssueDateBuilder_.build();
}
result.documentType_ = documentType_;
result.boardingPassIssuer_ = boardingPassIssuer_;
if (((bitField0_ & 0x00000001) != 0)) {
baggageTagNumber_ = baggageTagNumber_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.baggageTagNumber_ = baggageTagNumber_;
result.selecteeIndicator_ = selecteeIndicator_;
result.internationalDocVerification_ = internationalDocVerification_;
result.idadIndicator_ = idadIndicator_;
result.fastTrack_ = fastTrack_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.passkit.grpc.Flights.Barcode.ConditionalItems) {
return mergeFrom((com.passkit.grpc.Flights.Barcode.ConditionalItems)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.Flights.Barcode.ConditionalItems other) {
if (other == com.passkit.grpc.Flights.Barcode.ConditionalItems.getDefaultInstance()) return this;
if (other.passengerDescription_ != 0) {
setPassengerDescriptionValue(other.getPassengerDescriptionValue());
}
if (other.checkInSource_ != 0) {
setCheckInSourceValue(other.getCheckInSourceValue());
}
if (other.boardingPassIssuanceSource_ != 0) {
setBoardingPassIssuanceSourceValue(other.getBoardingPassIssuanceSourceValue());
}
if (other.hasBoardingPassIssueDate()) {
mergeBoardingPassIssueDate(other.getBoardingPassIssueDate());
}
if (other.documentType_ != 0) {
setDocumentTypeValue(other.getDocumentTypeValue());
}
if (!other.getBoardingPassIssuer().isEmpty()) {
boardingPassIssuer_ = other.boardingPassIssuer_;
onChanged();
}
if (!other.baggageTagNumber_.isEmpty()) {
if (baggageTagNumber_.isEmpty()) {
baggageTagNumber_ = other.baggageTagNumber_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureBaggageTagNumberIsMutable();
baggageTagNumber_.addAll(other.baggageTagNumber_);
}
onChanged();
}
if (other.selecteeIndicator_ != 0) {
setSelecteeIndicatorValue(other.getSelecteeIndicatorValue());
}
if (other.internationalDocVerification_ != 0) {
setInternationalDocVerificationValue(other.getInternationalDocVerificationValue());
}
if (other.idadIndicator_ != 0) {
setIdadIndicatorValue(other.getIdadIndicatorValue());
}
if (other.fastTrack_ != 0) {
setFastTrackValue(other.getFastTrackValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.passkit.grpc.Flights.Barcode.ConditionalItems parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.Flights.Barcode.ConditionalItems) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int passengerDescription_ = 0;
/**
*
* Passenger Status as detailed in IATA PSC Resolution 792 Attachment 'C'. Note: all values other than 0 indicate that the passenger has checked in.
*
*
* .flights.PassengerDescription passengerDescription = 1;
* @return The enum numeric value on the wire for passengerDescription.
*/
@java.lang.Override public int getPassengerDescriptionValue() {
return passengerDescription_;
}
/**
*
* Passenger Status as detailed in IATA PSC Resolution 792 Attachment 'C'. Note: all values other than 0 indicate that the passenger has checked in.
*
*
* .flights.PassengerDescription passengerDescription = 1;
* @param value The enum numeric value on the wire for passengerDescription to set.
* @return This builder for chaining.
*/
public Builder setPassengerDescriptionValue(int value) {
passengerDescription_ = value;
onChanged();
return this;
}
/**
*
* Passenger Status as detailed in IATA PSC Resolution 792 Attachment 'C'. Note: all values other than 0 indicate that the passenger has checked in.
*
*
* .flights.PassengerDescription passengerDescription = 1;
* @return The passengerDescription.
*/
@java.lang.Override
public com.passkit.grpc.Flights.Barcode.PassengerDescription getPassengerDescription() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.PassengerDescription result = com.passkit.grpc.Flights.Barcode.PassengerDescription.valueOf(passengerDescription_);
return result == null ? com.passkit.grpc.Flights.Barcode.PassengerDescription.UNRECOGNIZED : result;
}
/**
*
* Passenger Status as detailed in IATA PSC Resolution 792 Attachment 'C'. Note: all values other than 0 indicate that the passenger has checked in.
*
*
* .flights.PassengerDescription passengerDescription = 1;
* @param value The passengerDescription to set.
* @return This builder for chaining.
*/
public Builder setPassengerDescription(com.passkit.grpc.Flights.Barcode.PassengerDescription value) {
if (value == null) {
throw new NullPointerException();
}
passengerDescription_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Passenger Status as detailed in IATA PSC Resolution 792 Attachment 'C'. Note: all values other than 0 indicate that the passenger has checked in.
*
*
* .flights.PassengerDescription passengerDescription = 1;
* @return This builder for chaining.
*/
public Builder clearPassengerDescription() {
passengerDescription_ = 0;
onChanged();
return this;
}
private int checkInSource_ = 0;
/**
*
* Source of checkin as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source checkInSource = 2;
* @return The enum numeric value on the wire for checkInSource.
*/
@java.lang.Override public int getCheckInSourceValue() {
return checkInSource_;
}
/**
*
* Source of checkin as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source checkInSource = 2;
* @param value The enum numeric value on the wire for checkInSource to set.
* @return This builder for chaining.
*/
public Builder setCheckInSourceValue(int value) {
checkInSource_ = value;
onChanged();
return this;
}
/**
*
* Source of checkin as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source checkInSource = 2;
* @return The checkInSource.
*/
@java.lang.Override
public com.passkit.grpc.Flights.Barcode.Source getCheckInSource() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.Source result = com.passkit.grpc.Flights.Barcode.Source.valueOf(checkInSource_);
return result == null ? com.passkit.grpc.Flights.Barcode.Source.UNRECOGNIZED : result;
}
/**
*
* Source of checkin as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source checkInSource = 2;
* @param value The checkInSource to set.
* @return This builder for chaining.
*/
public Builder setCheckInSource(com.passkit.grpc.Flights.Barcode.Source value) {
if (value == null) {
throw new NullPointerException();
}
checkInSource_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Source of checkin as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source checkInSource = 2;
* @return This builder for chaining.
*/
public Builder clearCheckInSource() {
checkInSource_ = 0;
onChanged();
return this;
}
private int boardingPassIssuanceSource_ = 0;
/**
*
* Source of boarding pass issuance as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source boardingPassIssuanceSource = 3;
* @return The enum numeric value on the wire for boardingPassIssuanceSource.
*/
@java.lang.Override public int getBoardingPassIssuanceSourceValue() {
return boardingPassIssuanceSource_;
}
/**
*
* Source of boarding pass issuance as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source boardingPassIssuanceSource = 3;
* @param value The enum numeric value on the wire for boardingPassIssuanceSource to set.
* @return This builder for chaining.
*/
public Builder setBoardingPassIssuanceSourceValue(int value) {
boardingPassIssuanceSource_ = value;
onChanged();
return this;
}
/**
*
* Source of boarding pass issuance as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source boardingPassIssuanceSource = 3;
* @return The boardingPassIssuanceSource.
*/
@java.lang.Override
public com.passkit.grpc.Flights.Barcode.Source getBoardingPassIssuanceSource() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.Source result = com.passkit.grpc.Flights.Barcode.Source.valueOf(boardingPassIssuanceSource_);
return result == null ? com.passkit.grpc.Flights.Barcode.Source.UNRECOGNIZED : result;
}
/**
*
* Source of boarding pass issuance as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source boardingPassIssuanceSource = 3;
* @param value The boardingPassIssuanceSource to set.
* @return This builder for chaining.
*/
public Builder setBoardingPassIssuanceSource(com.passkit.grpc.Flights.Barcode.Source value) {
if (value == null) {
throw new NullPointerException();
}
boardingPassIssuanceSource_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Source of boarding pass issuance as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.Source boardingPassIssuanceSource = 3;
* @return This builder for chaining.
*/
public Builder clearBoardingPassIssuanceSource() {
boardingPassIssuanceSource_ = 0;
onChanged();
return this;
}
private com.passkit.grpc.CommonObjects.Date boardingPassIssueDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.CommonObjects.Date, com.passkit.grpc.CommonObjects.Date.Builder, com.passkit.grpc.CommonObjects.DateOrBuilder> boardingPassIssueDateBuilder_;
/**
*
* Date of boarding pass issuance, local to the boarding point.
*
*
* .io.Date boardingPassIssueDate = 4;
* @return Whether the boardingPassIssueDate field is set.
*/
public boolean hasBoardingPassIssueDate() {
return boardingPassIssueDateBuilder_ != null || boardingPassIssueDate_ != null;
}
/**
*
* Date of boarding pass issuance, local to the boarding point.
*
*
* .io.Date boardingPassIssueDate = 4;
* @return The boardingPassIssueDate.
*/
public com.passkit.grpc.CommonObjects.Date getBoardingPassIssueDate() {
if (boardingPassIssueDateBuilder_ == null) {
return boardingPassIssueDate_ == null ? com.passkit.grpc.CommonObjects.Date.getDefaultInstance() : boardingPassIssueDate_;
} else {
return boardingPassIssueDateBuilder_.getMessage();
}
}
/**
*
* Date of boarding pass issuance, local to the boarding point.
*
*
* .io.Date boardingPassIssueDate = 4;
*/
public Builder setBoardingPassIssueDate(com.passkit.grpc.CommonObjects.Date value) {
if (boardingPassIssueDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
boardingPassIssueDate_ = value;
onChanged();
} else {
boardingPassIssueDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* Date of boarding pass issuance, local to the boarding point.
*
*
* .io.Date boardingPassIssueDate = 4;
*/
public Builder setBoardingPassIssueDate(
com.passkit.grpc.CommonObjects.Date.Builder builderForValue) {
if (boardingPassIssueDateBuilder_ == null) {
boardingPassIssueDate_ = builderForValue.build();
onChanged();
} else {
boardingPassIssueDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Date of boarding pass issuance, local to the boarding point.
*
*
* .io.Date boardingPassIssueDate = 4;
*/
public Builder mergeBoardingPassIssueDate(com.passkit.grpc.CommonObjects.Date value) {
if (boardingPassIssueDateBuilder_ == null) {
if (boardingPassIssueDate_ != null) {
boardingPassIssueDate_ =
com.passkit.grpc.CommonObjects.Date.newBuilder(boardingPassIssueDate_).mergeFrom(value).buildPartial();
} else {
boardingPassIssueDate_ = value;
}
onChanged();
} else {
boardingPassIssueDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Date of boarding pass issuance, local to the boarding point.
*
*
* .io.Date boardingPassIssueDate = 4;
*/
public Builder clearBoardingPassIssueDate() {
if (boardingPassIssueDateBuilder_ == null) {
boardingPassIssueDate_ = null;
onChanged();
} else {
boardingPassIssueDate_ = null;
boardingPassIssueDateBuilder_ = null;
}
return this;
}
/**
*
* Date of boarding pass issuance, local to the boarding point.
*
*
* .io.Date boardingPassIssueDate = 4;
*/
public com.passkit.grpc.CommonObjects.Date.Builder getBoardingPassIssueDateBuilder() {
onChanged();
return getBoardingPassIssueDateFieldBuilder().getBuilder();
}
/**
*
* Date of boarding pass issuance, local to the boarding point.
*
*
* .io.Date boardingPassIssueDate = 4;
*/
public com.passkit.grpc.CommonObjects.DateOrBuilder getBoardingPassIssueDateOrBuilder() {
if (boardingPassIssueDateBuilder_ != null) {
return boardingPassIssueDateBuilder_.getMessageOrBuilder();
} else {
return boardingPassIssueDate_ == null ?
com.passkit.grpc.CommonObjects.Date.getDefaultInstance() : boardingPassIssueDate_;
}
}
/**
*
* Date of boarding pass issuance, local to the boarding point.
*
*
* .io.Date boardingPassIssueDate = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.CommonObjects.Date, com.passkit.grpc.CommonObjects.Date.Builder, com.passkit.grpc.CommonObjects.DateOrBuilder>
getBoardingPassIssueDateFieldBuilder() {
if (boardingPassIssueDateBuilder_ == null) {
boardingPassIssueDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.CommonObjects.Date, com.passkit.grpc.CommonObjects.Date.Builder, com.passkit.grpc.CommonObjects.DateOrBuilder>(
getBoardingPassIssueDate(),
getParentForChildren(),
isClean());
boardingPassIssueDate_ = null;
}
return boardingPassIssueDateBuilder_;
}
private int documentType_ = 0;
/**
*
* Document type that the barcode represents.
*
*
* .flights.DocType documentType = 5;
* @return The enum numeric value on the wire for documentType.
*/
@java.lang.Override public int getDocumentTypeValue() {
return documentType_;
}
/**
*
* Document type that the barcode represents.
*
*
* .flights.DocType documentType = 5;
* @param value The enum numeric value on the wire for documentType to set.
* @return This builder for chaining.
*/
public Builder setDocumentTypeValue(int value) {
documentType_ = value;
onChanged();
return this;
}
/**
*
* Document type that the barcode represents.
*
*
* .flights.DocType documentType = 5;
* @return The documentType.
*/
@java.lang.Override
public com.passkit.grpc.Flights.Barcode.DocType getDocumentType() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.DocType result = com.passkit.grpc.Flights.Barcode.DocType.valueOf(documentType_);
return result == null ? com.passkit.grpc.Flights.Barcode.DocType.UNRECOGNIZED : result;
}
/**
*
* Document type that the barcode represents.
*
*
* .flights.DocType documentType = 5;
* @param value The documentType to set.
* @return This builder for chaining.
*/
public Builder setDocumentType(com.passkit.grpc.Flights.Barcode.DocType value) {
if (value == null) {
throw new NullPointerException();
}
documentType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Document type that the barcode represents.
*
*
* .flights.DocType documentType = 5;
* @return This builder for chaining.
*/
public Builder clearDocumentType() {
documentType_ = 0;
onChanged();
return this;
}
private java.lang.Object boardingPassIssuer_ = "";
/**
*
* IATA or ICAO designator of boarding pass issuer.
*
*
* string boardingPassIssuer = 6;
* @return The boardingPassIssuer.
*/
public java.lang.String getBoardingPassIssuer() {
java.lang.Object ref = boardingPassIssuer_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
boardingPassIssuer_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* IATA or ICAO designator of boarding pass issuer.
*
*
* string boardingPassIssuer = 6;
* @return The bytes for boardingPassIssuer.
*/
public com.google.protobuf.ByteString
getBoardingPassIssuerBytes() {
java.lang.Object ref = boardingPassIssuer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
boardingPassIssuer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* IATA or ICAO designator of boarding pass issuer.
*
*
* string boardingPassIssuer = 6;
* @param value The boardingPassIssuer to set.
* @return This builder for chaining.
*/
public Builder setBoardingPassIssuer(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
boardingPassIssuer_ = value;
onChanged();
return this;
}
/**
*
* IATA or ICAO designator of boarding pass issuer.
*
*
* string boardingPassIssuer = 6;
* @return This builder for chaining.
*/
public Builder clearBoardingPassIssuer() {
boardingPassIssuer_ = getDefaultInstance().getBoardingPassIssuer();
onChanged();
return this;
}
/**
*
* IATA or ICAO designator of boarding pass issuer.
*
*
* string boardingPassIssuer = 6;
* @param value The bytes for boardingPassIssuer to set.
* @return This builder for chaining.
*/
public Builder setBoardingPassIssuerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
boardingPassIssuer_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList baggageTagNumber_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureBaggageTagNumberIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
baggageTagNumber_ = new com.google.protobuf.LazyStringArrayList(baggageTagNumber_);
bitField0_ |= 0x00000001;
}
}
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return A list containing the baggageTagNumber.
*/
public com.google.protobuf.ProtocolStringList
getBaggageTagNumberList() {
return baggageTagNumber_.getUnmodifiableView();
}
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return The count of baggageTagNumber.
*/
public int getBaggageTagNumberCount() {
return baggageTagNumber_.size();
}
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @param index The index of the element to return.
* @return The baggageTagNumber at the given index.
*/
public java.lang.String getBaggageTagNumber(int index) {
return baggageTagNumber_.get(index);
}
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @param index The index of the value to return.
* @return The bytes of the baggageTagNumber at the given index.
*/
public com.google.protobuf.ByteString
getBaggageTagNumberBytes(int index) {
return baggageTagNumber_.getByteString(index);
}
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @param index The index to set the value at.
* @param value The baggageTagNumber to set.
* @return This builder for chaining.
*/
public Builder setBaggageTagNumber(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBaggageTagNumberIsMutable();
baggageTagNumber_.set(index, value);
onChanged();
return this;
}
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @param value The baggageTagNumber to add.
* @return This builder for chaining.
*/
public Builder addBaggageTagNumber(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBaggageTagNumberIsMutable();
baggageTagNumber_.add(value);
onChanged();
return this;
}
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @param values The baggageTagNumber to add.
* @return This builder for chaining.
*/
public Builder addAllBaggageTagNumber(
java.lang.Iterable values) {
ensureBaggageTagNumberIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, baggageTagNumber_);
onChanged();
return this;
}
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return This builder for chaining.
*/
public Builder clearBaggageTagNumber() {
baggageTagNumber_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* This field allows carriers to populate baggage tag numbers and the number of consecutive bags. It contains 13 characters corresponding to the 10 digit bag tag number, as per IATA BCM specifications, Resolution 740 and 3 digits identifying the number of consecutive tags.\n1: leading digit – 0 for interline tag, 1 for fall-back tag, 2 for interline rush tag.\n2-4: carrier numeric code.\n5-10: carrier initial tag number (leading zeros).\n11-13: number of consecutive tags (allows for up to 999 tags).\nUp to 2 additional, non-consecutive tags can be added.
*
*
* repeated string baggageTagNumber = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @param value The bytes of the baggageTagNumber to add.
* @return This builder for chaining.
*/
public Builder addBaggageTagNumberBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureBaggageTagNumberIsMutable();
baggageTagNumber_.add(value);
onChanged();
return this;
}
private int selecteeIndicator_ = 0;
/**
*
* Passenger security status. Note: in practical terms, this is always likely to be NOT_SELECTEE or TSA_PRECHECK since current DHS Pre-Departure Regulations only allow on-site printing of boarding passes. It is mandatory when US travel is involved.
*
*
* .flights.SelecteeIndicator selecteeIndicator = 8;
* @return The enum numeric value on the wire for selecteeIndicator.
*/
@java.lang.Override public int getSelecteeIndicatorValue() {
return selecteeIndicator_;
}
/**
*
* Passenger security status. Note: in practical terms, this is always likely to be NOT_SELECTEE or TSA_PRECHECK since current DHS Pre-Departure Regulations only allow on-site printing of boarding passes. It is mandatory when US travel is involved.
*
*
* .flights.SelecteeIndicator selecteeIndicator = 8;
* @param value The enum numeric value on the wire for selecteeIndicator to set.
* @return This builder for chaining.
*/
public Builder setSelecteeIndicatorValue(int value) {
selecteeIndicator_ = value;
onChanged();
return this;
}
/**
*
* Passenger security status. Note: in practical terms, this is always likely to be NOT_SELECTEE or TSA_PRECHECK since current DHS Pre-Departure Regulations only allow on-site printing of boarding passes. It is mandatory when US travel is involved.
*
*
* .flights.SelecteeIndicator selecteeIndicator = 8;
* @return The selecteeIndicator.
*/
@java.lang.Override
public com.passkit.grpc.Flights.Barcode.SelecteeIndicator getSelecteeIndicator() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.SelecteeIndicator result = com.passkit.grpc.Flights.Barcode.SelecteeIndicator.valueOf(selecteeIndicator_);
return result == null ? com.passkit.grpc.Flights.Barcode.SelecteeIndicator.UNRECOGNIZED : result;
}
/**
*
* Passenger security status. Note: in practical terms, this is always likely to be NOT_SELECTEE or TSA_PRECHECK since current DHS Pre-Departure Regulations only allow on-site printing of boarding passes. It is mandatory when US travel is involved.
*
*
* .flights.SelecteeIndicator selecteeIndicator = 8;
* @param value The selecteeIndicator to set.
* @return This builder for chaining.
*/
public Builder setSelecteeIndicator(com.passkit.grpc.Flights.Barcode.SelecteeIndicator value) {
if (value == null) {
throw new NullPointerException();
}
selecteeIndicator_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Passenger security status. Note: in practical terms, this is always likely to be NOT_SELECTEE or TSA_PRECHECK since current DHS Pre-Departure Regulations only allow on-site printing of boarding passes. It is mandatory when US travel is involved.
*
*
* .flights.SelecteeIndicator selecteeIndicator = 8;
* @return This builder for chaining.
*/
public Builder clearSelecteeIndicator() {
selecteeIndicator_ = 0;
onChanged();
return this;
}
private int internationalDocVerification_ = 0;
/**
*
* International Documentation Verification status as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.InternationalDocVerification internationalDocVerification = 9;
* @return The enum numeric value on the wire for internationalDocVerification.
*/
@java.lang.Override public int getInternationalDocVerificationValue() {
return internationalDocVerification_;
}
/**
*
* International Documentation Verification status as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.InternationalDocVerification internationalDocVerification = 9;
* @param value The enum numeric value on the wire for internationalDocVerification to set.
* @return This builder for chaining.
*/
public Builder setInternationalDocVerificationValue(int value) {
internationalDocVerification_ = value;
onChanged();
return this;
}
/**
*
* International Documentation Verification status as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.InternationalDocVerification internationalDocVerification = 9;
* @return The internationalDocVerification.
*/
@java.lang.Override
public com.passkit.grpc.Flights.Barcode.InternationalDocVerification getInternationalDocVerification() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.InternationalDocVerification result = com.passkit.grpc.Flights.Barcode.InternationalDocVerification.valueOf(internationalDocVerification_);
return result == null ? com.passkit.grpc.Flights.Barcode.InternationalDocVerification.UNRECOGNIZED : result;
}
/**
*
* International Documentation Verification status as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.InternationalDocVerification internationalDocVerification = 9;
* @param value The internationalDocVerification to set.
* @return This builder for chaining.
*/
public Builder setInternationalDocVerification(com.passkit.grpc.Flights.Barcode.InternationalDocVerification value) {
if (value == null) {
throw new NullPointerException();
}
internationalDocVerification_ = value.getNumber();
onChanged();
return this;
}
/**
*
* International Documentation Verification status as detailed in IATA PSC Resolution 792 Attachment 'C'.
*
*
* .flights.InternationalDocVerification internationalDocVerification = 9;
* @return This builder for chaining.
*/
public Builder clearInternationalDocVerification() {
internationalDocVerification_ = 0;
onChanged();
return this;
}
private int idadIndicator_ = 0;
/**
*
* Industry Discount / Airline Discount codes. See IATA Recommended Practice 1788.
*
*
* .flights.IDADIndicator idadIndicator = 10;
* @return The enum numeric value on the wire for idadIndicator.
*/
@java.lang.Override public int getIdadIndicatorValue() {
return idadIndicator_;
}
/**
*
* Industry Discount / Airline Discount codes. See IATA Recommended Practice 1788.
*
*
* .flights.IDADIndicator idadIndicator = 10;
* @param value The enum numeric value on the wire for idadIndicator to set.
* @return This builder for chaining.
*/
public Builder setIdadIndicatorValue(int value) {
idadIndicator_ = value;
onChanged();
return this;
}
/**
*
* Industry Discount / Airline Discount codes. See IATA Recommended Practice 1788.
*
*
* .flights.IDADIndicator idadIndicator = 10;
* @return The idadIndicator.
*/
@java.lang.Override
public com.passkit.grpc.Flights.Barcode.IDADIndicator getIdadIndicator() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.IDADIndicator result = com.passkit.grpc.Flights.Barcode.IDADIndicator.valueOf(idadIndicator_);
return result == null ? com.passkit.grpc.Flights.Barcode.IDADIndicator.UNRECOGNIZED : result;
}
/**
*
* Industry Discount / Airline Discount codes. See IATA Recommended Practice 1788.
*
*
* .flights.IDADIndicator idadIndicator = 10;
* @param value The idadIndicator to set.
* @return This builder for chaining.
*/
public Builder setIdadIndicator(com.passkit.grpc.Flights.Barcode.IDADIndicator value) {
if (value == null) {
throw new NullPointerException();
}
idadIndicator_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Industry Discount / Airline Discount codes. See IATA Recommended Practice 1788.
*
*
* .flights.IDADIndicator idadIndicator = 10;
* @return This builder for chaining.
*/
public Builder clearIdadIndicator() {
idadIndicator_ = 0;
onChanged();
return this;
}
private int fastTrack_ = 0;
/**
*
* Passenger eligibility for Fast-track privileges.
*
*
* .flights.FastTrack fastTrack = 11;
* @return The enum numeric value on the wire for fastTrack.
*/
@java.lang.Override public int getFastTrackValue() {
return fastTrack_;
}
/**
*
* Passenger eligibility for Fast-track privileges.
*
*
* .flights.FastTrack fastTrack = 11;
* @param value The enum numeric value on the wire for fastTrack to set.
* @return This builder for chaining.
*/
public Builder setFastTrackValue(int value) {
fastTrack_ = value;
onChanged();
return this;
}
/**
*
* Passenger eligibility for Fast-track privileges.
*
*
* .flights.FastTrack fastTrack = 11;
* @return The fastTrack.
*/
@java.lang.Override
public com.passkit.grpc.Flights.Barcode.FastTrack getFastTrack() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Flights.Barcode.FastTrack result = com.passkit.grpc.Flights.Barcode.FastTrack.valueOf(fastTrack_);
return result == null ? com.passkit.grpc.Flights.Barcode.FastTrack.UNRECOGNIZED : result;
}
/**
*
* Passenger eligibility for Fast-track privileges.
*
*
* .flights.FastTrack fastTrack = 11;
* @param value The fastTrack to set.
* @return This builder for chaining.
*/
public Builder setFastTrack(com.passkit.grpc.Flights.Barcode.FastTrack value) {
if (value == null) {
throw new NullPointerException();
}
fastTrack_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Passenger eligibility for Fast-track privileges.
*
*
* .flights.FastTrack fastTrack = 11;
* @return This builder for chaining.
*/
public Builder clearFastTrack() {
fastTrack_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:flights.ConditionalItems)
}
// @@protoc_insertion_point(class_scope:flights.ConditionalItems)
private static final com.passkit.grpc.Flights.Barcode.ConditionalItems DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.Flights.Barcode.ConditionalItems();
}
public static com.passkit.grpc.Flights.Barcode.ConditionalItems getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConditionalItems parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ConditionalItems(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.passkit.grpc.Flights.Barcode.ConditionalItems getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flights_ConditionalItems_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flights_ConditionalItems_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\030io/flights/barcode.proto\022\007flights\032\036io/" +
"common/common_objects.proto\032.protoc-gen-" +
"openapiv2/options/annotations.proto\"\302\010\n\020" +
"ConditionalItems\022;\n\024passengerDescription" +
"\030\001 \001(\0162\035.flights.PassengerDescription\022&\n" +
"\rcheckInSource\030\002 \001(\0162\017.flights.Source\0223\n" +
"\032boardingPassIssuanceSource\030\003 \001(\0162\017.flig" +
"hts.Source\022\'\n\025boardingPassIssueDate\030\004 \001(" +
"\0132\010.io.Date\022&\n\014documentType\030\005 \001(\0162\020.flig" +
"hts.DocType\022\032\n\022boardingPassIssuer\030\006 \001(\t\022" +
"\314\004\n\020baggageTagNumber\030\007 \003(\tB\261\004\222A\255\0042\252\004This" +
" field allows carriers to populate bagga" +
"ge tag numbers and the number of consecu" +
"tive bags. It contains 13 characters cor" +
"responding to the 10 digit bag tag numbe" +
"r, as per IATA BCM specifications, Resol" +
"ution 740 and 3 digits identifying the n" +
"umber of consecutive tags.\n1: leading di" +
"git \342\200\223 0 for interline tag, 1 for fall-" +
"back tag, 2 for interline rush tag.\n2-4:" +
" carrier numeric code.\n5-10: carrier ini" +
"tial tag number (leading zeros).\n11-13: " +
"number of consecutive tags (allows for u" +
"p to 999 tags).\nUp to 2 additional, non-" +
"consecutive tags can be added.\0225\n\021select" +
"eeIndicator\030\010 \001(\0162\032.flights.SelecteeIndi" +
"cator\022K\n\034internationalDocVerification\030\t " +
"\001(\0162%.flights.InternationalDocVerificati" +
"on\022-\n\ridadIndicator\030\n \001(\0162\026.flights.IDAD" +
"Indicator\022%\n\tfastTrack\030\013 \001(\0162\022.flights.F" +
"astTrack*\357\002\n\017PassengerStatus\022\031\n\025ISSUED_N" +
"OT_CHECKED_IN\020\000\022\025\n\021ISSUED_CHECKED_IN\020\001\022," +
"\n(BAGGAGE_CHECKED_PASSENGER_NOT_CHECKED_" +
"IN\020\002\022(\n$BAGGAGE_CHECKED_PASSENGER_CHECKE" +
"D_IN\020\003\022#\n\037PASSENGER_PASSED_SECURITY_CHEC" +
"K\020\004\022\031\n\025PASSENGER_PASSED_GATE\020\005\022\013\n\007TRANSI" +
"T\020\006\022\013\n\007STANDBY\020\007\022#\n\037BOARDING_DATA_REVALI" +
"DATION_DONE\020\010\0222\n.ORIGINAL_BOARDING_LINE_" +
"USED_AT_TICKET_ISSUANCE\020\t\022\037\n\033UP_OR_DOWN_" +
"GRADING_REQUIRED\020\n*\220\001\n\024PassengerDescript" +
"ion\022\t\n\005ADULT\020\000\022\010\n\004MALE\020\001\022\n\n\006FEMALE\020\002\022\t\n\005" +
"CHILD\020\003\022\n\n\006INFANT\020\004\022\020\n\014NO_PASSENGER\020\005\022\025\n" +
"\021ADULT_WITH_INFANT\020\006\022\027\n\023UNACCOMPANIED_MI" +
"NOR\020\007*@\n\006Source\022\005\n\001W\020\000\022\005\n\001K\020\001\022\005\n\001X\020\002\022\005\n\001" +
"R\020\003\022\005\n\001M\020\004\022\005\n\001O\020\005\022\005\n\001T\020\006\022\005\n\001V\020\007*\027\n\007DocTy" +
"pe\022\005\n\001B\020\000\022\005\n\001I\020\001*M\n\034InternationalDocVeri" +
"fication\022\020\n\014NOT_REQUIRED\020\000\022\014\n\010REQUIRED\020\001" +
"\022\r\n\tCOMPLETED\020\002*\253\001\n\rIDADIndicator\022\010\n\004NON" +
"E\020\000\022\010\n\004IDN1\020\001\022\010\n\004IDN2\020\002\022\010\n\004IDB1\020\003\022\010\n\004IDB" +
"2\020\004\022\006\n\002AD\020\005\022\006\n\002DG\020\006\022\006\n\002DM\020\007\022\006\n\002GE\020\010\022\006\n\002I" +
"G\020\t\022\006\n\002RG\020\n\022\006\n\002UD\020\013\022\006\n\002ID\020\014\022\t\n\005IDFS1\020\r\022\t" +
"\n\005IDFS2\020\016\022\010\n\004IDR1\020\017\022\010\n\004IDR2\020\020*E\n\021Selecte" +
"eIndicator\022\020\n\014NOT_SELECTEE\020\000\022\014\n\010SELECTEE" +
"\020\001\022\020\n\014TSA_PRECHECK\020\003*\031\n\tFastTrack\022\005\n\001N\020\000" +
"\022\005\n\001Y\020\001B_\n\030com.passkit.grpc.FlightsZ,sta" +
"sh.passkit.com/io/model/sdk/go/io/flight" +
"s\252\002\024PassKit.Grpc.Flightsb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.passkit.grpc.CommonObjects.getDescriptor(),
grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(),
});
internal_static_flights_ConditionalItems_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_flights_ConditionalItems_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flights_ConditionalItems_descriptor,
new java.lang.String[] { "PassengerDescription", "CheckInSource", "BoardingPassIssuanceSource", "BoardingPassIssueDate", "DocumentType", "BoardingPassIssuer", "BaggageTagNumber", "SelecteeIndicator", "InternationalDocVerification", "IdadIndicator", "FastTrack", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(grpc.gateway.protoc_gen_openapiv2.options.Annotations.openapiv2Field);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.passkit.grpc.CommonObjects.getDescriptor();
grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}