All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.passkit.grpc.EventTickets.TicketOuterClass 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.

There is a newer version: 1.1.97
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: io/event_tickets/ticket.proto

package com.passkit.grpc.EventTickets;

public final class TicketOuterClass {
  private TicketOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code event_tickets.TicketStatus}
   */
  public enum TicketStatus
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * STATUS_NONE = 0;
     */
    STATUS_NONE(0),
    /**
     * 
     * Default ticket status
     * 
* * ISSUED = 1; */ ISSUED(1), /** *
     * Set after a ticket is redeemed (the redeem endpoint is called).
     * 
* * REDEEMED = 2; */ REDEEMED(2), UNRECOGNIZED(-1), ; /** * STATUS_NONE = 0; */ public static final int STATUS_NONE_VALUE = 0; /** *
     * Default ticket status
     * 
* * ISSUED = 1; */ public static final int ISSUED_VALUE = 1; /** *
     * Set after a ticket is redeemed (the redeem endpoint is called).
     * 
* * REDEEMED = 2; */ public static final int REDEEMED_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 TicketStatus 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 TicketStatus forNumber(int value) { switch (value) { case 0: return STATUS_NONE; case 1: return ISSUED; case 2: return REDEEMED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< TicketStatus> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public TicketStatus findValueByNumber(int number) { return TicketStatus.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.EventTickets.TicketOuterClass.getDescriptor().getEnumTypes().get(0); } private static final TicketStatus[] VALUES = values(); public static TicketStatus 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 TicketStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:event_tickets.TicketStatus) } public interface TicketOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.Ticket) com.google.protobuf.MessageOrBuilder { /** *
     * PassKit generated ticket id (22 characters).
     * 
* * string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The id. */ java.lang.String getId(); /** *
     * PassKit generated ticket id (22 characters).
     * 
* * string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * Optional user generated ticket number. Unique within the Production.
     * 
* * string ticketNumber = 2; * @return The ticketNumber. */ java.lang.String getTicketNumber(); /** *
     * Optional user generated ticket number. Unique within the Production.
     * 
* * string ticketNumber = 2; * @return The bytes for ticketNumber. */ com.google.protobuf.ByteString getTicketNumberBytes(); /** *
     * The event that the ticket is for. Can provide event id, or the whole event object - if the event doesn't exist it will be created. The combination of event.production.id, event.startDate, event.venue.uid & ticket.ticketTypeUid is enforced unique in the system.
     * 
* * .event_tickets.Event event = 3; * @return Whether the event field is set. */ boolean hasEvent(); /** *
     * The event that the ticket is for. Can provide event id, or the whole event object - if the event doesn't exist it will be created. The combination of event.production.id, event.startDate, event.venue.uid & ticket.ticketTypeUid is enforced unique in the system.
     * 
* * .event_tickets.Event event = 3; * @return The event. */ com.passkit.grpc.EventTickets.EventOuterClass.Event getEvent(); /** *
     * The event that the ticket is for. Can provide event id, or the whole event object - if the event doesn't exist it will be created. The combination of event.production.id, event.startDate, event.venue.uid & ticket.ticketTypeUid is enforced unique in the system.
     * 
* * .event_tickets.Event event = 3; */ com.passkit.grpc.EventTickets.EventOuterClass.EventOrBuilder getEventOrBuilder(); /** *
     * The ticket type the ticket is for.
     * 
* * .event_tickets.TicketType ticketType = 4; * @return Whether the ticketType field is set. */ boolean hasTicketType(); /** *
     * The ticket type the ticket is for.
     * 
* * .event_tickets.TicketType ticketType = 4; * @return The ticketType. */ com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType getTicketType(); /** *
     * The ticket type the ticket is for.
     * 
* * .event_tickets.TicketType ticketType = 4; */ com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeOrBuilder getTicketTypeOrBuilder(); /** *
     * Optional order / confirmation / booking code. Unique within the Production.
     * 
* * string orderNumber = 5; * @return The orderNumber. */ java.lang.String getOrderNumber(); /** *
     * Optional order / confirmation / booking code. Unique within the Production.
     * 
* * string orderNumber = 5; * @return The bytes for orderNumber. */ com.google.protobuf.ByteString getOrderNumberBytes(); /** *
     * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
     * 
* * string groupingId = 6; * @return The groupingId. */ java.lang.String getGroupingId(); /** *
     * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
     * 
* * string groupingId = 6; * @return The bytes for groupingId. */ com.google.protobuf.ByteString getGroupingIdBytes(); /** *
     * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
     * 
* * string barcodeContents = 7; * @return The barcodeContents. */ java.lang.String getBarcodeContents(); /** *
     * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
     * 
* * string barcodeContents = 7; * @return The bytes for barcodeContents. */ com.google.protobuf.ByteString getBarcodeContentsBytes(); /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 8; * @return Whether the seatInfo field is set. */ boolean hasSeatInfo(); /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 8; * @return The seatInfo. */ com.passkit.grpc.EventTickets.TicketOuterClass.Seat getSeatInfo(); /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 8; */ com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder getSeatInfoOrBuilder(); /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 9; * @return Whether the faceValue field is set. */ boolean hasFaceValue(); /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 9; * @return The faceValue. */ com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue getFaceValue(); /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 9; */ com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder getFaceValueOrBuilder(); /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 10; * @return Whether the person field is set. */ boolean hasPerson(); /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 10; * @return The person. */ com.passkit.grpc.Personal.Person getPerson(); /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 10; */ com.passkit.grpc.Personal.PersonOrBuilder getPersonOrBuilder(); /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ int getMetaDataCount(); /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ boolean containsMetaData( java.lang.String key); /** * Use {@link #getMetaDataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetaData(); /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ java.util.Map getMetaDataMap(); /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ java.lang.String getMetaDataOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ java.lang.String getMetaDataOrThrow( java.lang.String key); /** *
     * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
     * 
* * .io.Toggle optOut = 12; * @return The enum numeric value on the wire for optOut. */ int getOptOutValue(); /** *
     * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
     * 
* * .io.Toggle optOut = 12; * @return The optOut. */ com.passkit.grpc.CommonObjects.Toggle getOptOut(); /** *
     * Holds the ticket status.
     * 
* * .event_tickets.TicketStatus status = 13 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** *
     * Holds the ticket status.
     * 
* * .event_tickets.TicketStatus status = 13 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The status. */ com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus getStatus(); /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 14; * @return Whether the expiryDate field is set. */ boolean hasExpiryDate(); /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 14; * @return The expiryDate. */ com.google.protobuf.Timestamp getExpiryDate(); /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 14; */ com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder(); /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; * @return Whether the redemptionDetails field is set. */ boolean hasRedemptionDetails(); /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; * @return The redemptionDetails. */ com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails getRedemptionDetails(); /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder getRedemptionDetailsOrBuilder(); /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ java.util.List getValidateDetailsList(); /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails getValidateDetails(int index); /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ int getValidateDetailsCount(); /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ java.util.List getValidateDetailsOrBuilderList(); /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder getValidateDetailsOrBuilder( int index); /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 17; * @return Whether the passOverrides field is set. */ boolean hasPassOverrides(); /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 17; * @return The passOverrides. */ com.passkit.grpc.PassOuterClass.PassOverrides getPassOverrides(); /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 17; */ com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder getPassOverridesOrBuilder(); /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 18; * @return Whether the passMetaData field is set. */ boolean hasPassMetaData(); /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 18; * @return The passMetaData. */ com.passkit.grpc.MetricsOuterClass.Metadata getPassMetaData(); /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 18; */ com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder getPassMetaDataOrBuilder(); /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 19 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return Whether the created field is set. */ boolean hasCreated(); /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 19 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The created. */ com.google.protobuf.Timestamp getCreated(); /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 19 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder(); /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 20 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return Whether the updated field is set. */ boolean hasUpdated(); /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 20 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The updated. */ com.google.protobuf.Timestamp getUpdated(); /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 20 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder(); } /** *
   * The Ticket Details
   * 
* * Protobuf type {@code event_tickets.Ticket} */ public static final class Ticket extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.Ticket) TicketOrBuilder { private static final long serialVersionUID = 0L; // Use Ticket.newBuilder() to construct. private Ticket(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Ticket() { id_ = ""; ticketNumber_ = ""; orderNumber_ = ""; groupingId_ = ""; barcodeContents_ = ""; optOut_ = 0; status_ = 0; validateDetails_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Ticket(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Ticket( 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 10: { java.lang.String s = input.readStringRequireUtf8(); id_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); ticketNumber_ = s; break; } case 26: { com.passkit.grpc.EventTickets.EventOuterClass.Event.Builder subBuilder = null; if (event_ != null) { subBuilder = event_.toBuilder(); } event_ = input.readMessage(com.passkit.grpc.EventTickets.EventOuterClass.Event.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(event_); event_ = subBuilder.buildPartial(); } break; } case 34: { com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType.Builder subBuilder = null; if (ticketType_ != null) { subBuilder = ticketType_.toBuilder(); } ticketType_ = input.readMessage(com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(ticketType_); ticketType_ = subBuilder.buildPartial(); } break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); orderNumber_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); groupingId_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); barcodeContents_ = s; break; } case 66: { com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder subBuilder = null; if (seatInfo_ != null) { subBuilder = seatInfo_.toBuilder(); } seatInfo_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.Seat.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(seatInfo_); seatInfo_ = subBuilder.buildPartial(); } break; } case 74: { com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder subBuilder = null; if (faceValue_ != null) { subBuilder = faceValue_.toBuilder(); } faceValue_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(faceValue_); faceValue_ = subBuilder.buildPartial(); } break; } case 82: { com.passkit.grpc.Personal.Person.Builder subBuilder = null; if (person_ != null) { subBuilder = person_.toBuilder(); } person_ = input.readMessage(com.passkit.grpc.Personal.Person.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(person_); person_ = subBuilder.buildPartial(); } break; } case 90: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metaData_ = com.google.protobuf.MapField.newMapField( MetaDataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metaData__ = input.readMessage( MetaDataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metaData_.getMutableMap().put( metaData__.getKey(), metaData__.getValue()); break; } case 96: { int rawValue = input.readEnum(); optOut_ = rawValue; break; } case 104: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 114: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (expiryDate_ != null) { subBuilder = expiryDate_.toBuilder(); } expiryDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(expiryDate_); expiryDate_ = subBuilder.buildPartial(); } break; } case 122: { com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder subBuilder = null; if (redemptionDetails_ != null) { subBuilder = redemptionDetails_.toBuilder(); } redemptionDetails_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(redemptionDetails_); redemptionDetails_ = subBuilder.buildPartial(); } break; } case 130: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { validateDetails_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } validateDetails_.add( input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.parser(), extensionRegistry)); break; } case 138: { com.passkit.grpc.PassOuterClass.PassOverrides.Builder subBuilder = null; if (passOverrides_ != null) { subBuilder = passOverrides_.toBuilder(); } passOverrides_ = input.readMessage(com.passkit.grpc.PassOuterClass.PassOverrides.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(passOverrides_); passOverrides_ = subBuilder.buildPartial(); } break; } case 146: { com.passkit.grpc.MetricsOuterClass.Metadata.Builder subBuilder = null; if (passMetaData_ != null) { subBuilder = passMetaData_.toBuilder(); } passMetaData_ = input.readMessage(com.passkit.grpc.MetricsOuterClass.Metadata.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(passMetaData_); passMetaData_ = subBuilder.buildPartial(); } break; } case 154: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (created_ != null) { subBuilder = created_.toBuilder(); } created_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(created_); created_ = subBuilder.buildPartial(); } break; } case 162: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (updated_ != null) { subBuilder = updated_.toBuilder(); } updated_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(updated_); updated_ = subBuilder.buildPartial(); } 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_ & 0x00000002) != 0)) { validateDetails_ = java.util.Collections.unmodifiableList(validateDetails_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Ticket_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 11: return internalGetMetaData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Ticket_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.class, com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * PassKit generated ticket id (22 characters).
     * 
* * string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; 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(); id_ = s; return s; } } /** *
     * PassKit generated ticket id (22 characters).
     * 
* * string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TICKETNUMBER_FIELD_NUMBER = 2; private volatile java.lang.Object ticketNumber_; /** *
     * Optional user generated ticket number. Unique within the Production.
     * 
* * string ticketNumber = 2; * @return The ticketNumber. */ @java.lang.Override public java.lang.String getTicketNumber() { java.lang.Object ref = ticketNumber_; 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(); ticketNumber_ = s; return s; } } /** *
     * Optional user generated ticket number. Unique within the Production.
     * 
* * string ticketNumber = 2; * @return The bytes for ticketNumber. */ @java.lang.Override public com.google.protobuf.ByteString getTicketNumberBytes() { java.lang.Object ref = ticketNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EVENT_FIELD_NUMBER = 3; private com.passkit.grpc.EventTickets.EventOuterClass.Event event_; /** *
     * The event that the ticket is for. Can provide event id, or the whole event object - if the event doesn't exist it will be created. The combination of event.production.id, event.startDate, event.venue.uid & ticket.ticketTypeUid is enforced unique in the system.
     * 
* * .event_tickets.Event event = 3; * @return Whether the event field is set. */ @java.lang.Override public boolean hasEvent() { return event_ != null; } /** *
     * The event that the ticket is for. Can provide event id, or the whole event object - if the event doesn't exist it will be created. The combination of event.production.id, event.startDate, event.venue.uid & ticket.ticketTypeUid is enforced unique in the system.
     * 
* * .event_tickets.Event event = 3; * @return The event. */ @java.lang.Override public com.passkit.grpc.EventTickets.EventOuterClass.Event getEvent() { return event_ == null ? com.passkit.grpc.EventTickets.EventOuterClass.Event.getDefaultInstance() : event_; } /** *
     * The event that the ticket is for. Can provide event id, or the whole event object - if the event doesn't exist it will be created. The combination of event.production.id, event.startDate, event.venue.uid & ticket.ticketTypeUid is enforced unique in the system.
     * 
* * .event_tickets.Event event = 3; */ @java.lang.Override public com.passkit.grpc.EventTickets.EventOuterClass.EventOrBuilder getEventOrBuilder() { return getEvent(); } public static final int TICKETTYPE_FIELD_NUMBER = 4; private com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType ticketType_; /** *
     * The ticket type the ticket is for.
     * 
* * .event_tickets.TicketType ticketType = 4; * @return Whether the ticketType field is set. */ @java.lang.Override public boolean hasTicketType() { return ticketType_ != null; } /** *
     * The ticket type the ticket is for.
     * 
* * .event_tickets.TicketType ticketType = 4; * @return The ticketType. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType getTicketType() { return ticketType_ == null ? com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType.getDefaultInstance() : ticketType_; } /** *
     * The ticket type the ticket is for.
     * 
* * .event_tickets.TicketType ticketType = 4; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeOrBuilder getTicketTypeOrBuilder() { return getTicketType(); } public static final int ORDERNUMBER_FIELD_NUMBER = 5; private volatile java.lang.Object orderNumber_; /** *
     * Optional order / confirmation / booking code. Unique within the Production.
     * 
* * string orderNumber = 5; * @return The orderNumber. */ @java.lang.Override public java.lang.String getOrderNumber() { java.lang.Object ref = orderNumber_; 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(); orderNumber_ = s; return s; } } /** *
     * Optional order / confirmation / booking code. Unique within the Production.
     * 
* * string orderNumber = 5; * @return The bytes for orderNumber. */ @java.lang.Override public com.google.protobuf.ByteString getOrderNumberBytes() { java.lang.Object ref = orderNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GROUPINGID_FIELD_NUMBER = 6; private volatile java.lang.Object groupingId_; /** *
     * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
     * 
* * string groupingId = 6; * @return The groupingId. */ @java.lang.Override public java.lang.String getGroupingId() { java.lang.Object ref = groupingId_; 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(); groupingId_ = s; return s; } } /** *
     * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
     * 
* * string groupingId = 6; * @return The bytes for groupingId. */ @java.lang.Override public com.google.protobuf.ByteString getGroupingIdBytes() { java.lang.Object ref = groupingId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); groupingId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BARCODECONTENTS_FIELD_NUMBER = 7; private volatile java.lang.Object barcodeContents_; /** *
     * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
     * 
* * string barcodeContents = 7; * @return The barcodeContents. */ @java.lang.Override public java.lang.String getBarcodeContents() { java.lang.Object ref = barcodeContents_; 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(); barcodeContents_ = s; return s; } } /** *
     * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
     * 
* * string barcodeContents = 7; * @return The bytes for barcodeContents. */ @java.lang.Override public com.google.protobuf.ByteString getBarcodeContentsBytes() { java.lang.Object ref = barcodeContents_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); barcodeContents_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEATINFO_FIELD_NUMBER = 8; private com.passkit.grpc.EventTickets.TicketOuterClass.Seat seatInfo_; /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 8; * @return Whether the seatInfo field is set. */ @java.lang.Override public boolean hasSeatInfo() { return seatInfo_ != null; } /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 8; * @return The seatInfo. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.Seat getSeatInfo() { return seatInfo_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.Seat.getDefaultInstance() : seatInfo_; } /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 8; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder getSeatInfoOrBuilder() { return getSeatInfo(); } public static final int FACEVALUE_FIELD_NUMBER = 9; private com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue faceValue_; /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 9; * @return Whether the faceValue field is set. */ @java.lang.Override public boolean hasFaceValue() { return faceValue_ != null; } /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 9; * @return The faceValue. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue getFaceValue() { return faceValue_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.getDefaultInstance() : faceValue_; } /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 9; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder getFaceValueOrBuilder() { return getFaceValue(); } public static final int PERSON_FIELD_NUMBER = 10; private com.passkit.grpc.Personal.Person person_; /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 10; * @return Whether the person field is set. */ @java.lang.Override public boolean hasPerson() { return person_ != null; } /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 10; * @return The person. */ @java.lang.Override public com.passkit.grpc.Personal.Person getPerson() { return person_ == null ? com.passkit.grpc.Personal.Person.getDefaultInstance() : person_; } /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 10; */ @java.lang.Override public com.passkit.grpc.Personal.PersonOrBuilder getPersonOrBuilder() { return getPerson(); } public static final int METADATA_FIELD_NUMBER = 11; private static final class MetaDataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Ticket_MetaDataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metaData_; private com.google.protobuf.MapField internalGetMetaData() { if (metaData_ == null) { return com.google.protobuf.MapField.emptyMapField( MetaDataDefaultEntryHolder.defaultEntry); } return metaData_; } public int getMetaDataCount() { return internalGetMetaData().getMap().size(); } /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ @java.lang.Override public boolean containsMetaData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMetaData().getMap().containsKey(key); } /** * Use {@link #getMetaDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetaData() { return getMetaDataMap(); } /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ @java.lang.Override public java.util.Map getMetaDataMap() { return internalGetMetaData().getMap(); } /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ @java.lang.Override public java.lang.String getMetaDataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ @java.lang.Override public java.lang.String getMetaDataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int OPTOUT_FIELD_NUMBER = 12; private int optOut_; /** *
     * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
     * 
* * .io.Toggle optOut = 12; * @return The enum numeric value on the wire for optOut. */ @java.lang.Override public int getOptOutValue() { return optOut_; } /** *
     * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
     * 
* * .io.Toggle optOut = 12; * @return The optOut. */ @java.lang.Override public com.passkit.grpc.CommonObjects.Toggle getOptOut() { @SuppressWarnings("deprecation") com.passkit.grpc.CommonObjects.Toggle result = com.passkit.grpc.CommonObjects.Toggle.valueOf(optOut_); return result == null ? com.passkit.grpc.CommonObjects.Toggle.UNRECOGNIZED : result; } public static final int STATUS_FIELD_NUMBER = 13; private int status_; /** *
     * Holds the ticket status.
     * 
* * .event_tickets.TicketStatus status = 13 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
     * Holds the ticket status.
     * 
* * .event_tickets.TicketStatus status = 13 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The status. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus getStatus() { @SuppressWarnings("deprecation") com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus result = com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.valueOf(status_); return result == null ? com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.UNRECOGNIZED : result; } public static final int EXPIRYDATE_FIELD_NUMBER = 14; private com.google.protobuf.Timestamp expiryDate_; /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 14; * @return Whether the expiryDate field is set. */ @java.lang.Override public boolean hasExpiryDate() { return expiryDate_ != null; } /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 14; * @return The expiryDate. */ @java.lang.Override public com.google.protobuf.Timestamp getExpiryDate() { return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_; } /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 14; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder() { return getExpiryDate(); } public static final int REDEMPTIONDETAILS_FIELD_NUMBER = 15; private com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails redemptionDetails_; /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; * @return Whether the redemptionDetails field is set. */ @java.lang.Override public boolean hasRedemptionDetails() { return redemptionDetails_ != null; } /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; * @return The redemptionDetails. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails getRedemptionDetails() { return redemptionDetails_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.getDefaultInstance() : redemptionDetails_; } /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder getRedemptionDetailsOrBuilder() { return getRedemptionDetails(); } public static final int VALIDATEDETAILS_FIELD_NUMBER = 16; private java.util.List validateDetails_; /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ @java.lang.Override public java.util.List getValidateDetailsList() { return validateDetails_; } /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ @java.lang.Override public java.util.List getValidateDetailsOrBuilderList() { return validateDetails_; } /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ @java.lang.Override public int getValidateDetailsCount() { return validateDetails_.size(); } /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails getValidateDetails(int index) { return validateDetails_.get(index); } /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder getValidateDetailsOrBuilder( int index) { return validateDetails_.get(index); } public static final int PASSOVERRIDES_FIELD_NUMBER = 17; private com.passkit.grpc.PassOuterClass.PassOverrides passOverrides_; /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 17; * @return Whether the passOverrides field is set. */ @java.lang.Override public boolean hasPassOverrides() { return passOverrides_ != null; } /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 17; * @return The passOverrides. */ @java.lang.Override public com.passkit.grpc.PassOuterClass.PassOverrides getPassOverrides() { return passOverrides_ == null ? com.passkit.grpc.PassOuterClass.PassOverrides.getDefaultInstance() : passOverrides_; } /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 17; */ @java.lang.Override public com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder getPassOverridesOrBuilder() { return getPassOverrides(); } public static final int PASSMETADATA_FIELD_NUMBER = 18; private com.passkit.grpc.MetricsOuterClass.Metadata passMetaData_; /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 18; * @return Whether the passMetaData field is set. */ @java.lang.Override public boolean hasPassMetaData() { return passMetaData_ != null; } /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 18; * @return The passMetaData. */ @java.lang.Override public com.passkit.grpc.MetricsOuterClass.Metadata getPassMetaData() { return passMetaData_ == null ? com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance() : passMetaData_; } /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 18; */ @java.lang.Override public com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder getPassMetaDataOrBuilder() { return getPassMetaData(); } public static final int CREATED_FIELD_NUMBER = 19; private com.google.protobuf.Timestamp created_; /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 19 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return Whether the created field is set. */ @java.lang.Override public boolean hasCreated() { return created_ != null; } /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 19 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The created. */ @java.lang.Override public com.google.protobuf.Timestamp getCreated() { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 19 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() { return getCreated(); } public static final int UPDATED_FIELD_NUMBER = 20; private com.google.protobuf.Timestamp updated_; /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 20 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return Whether the updated field is set. */ @java.lang.Override public boolean hasUpdated() { return updated_ != null; } /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 20 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The updated. */ @java.lang.Override public com.google.protobuf.Timestamp getUpdated() { return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_; } /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 20 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder() { return getUpdated(); } 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 (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!getTicketNumberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ticketNumber_); } if (event_ != null) { output.writeMessage(3, getEvent()); } if (ticketType_ != null) { output.writeMessage(4, getTicketType()); } if (!getOrderNumberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderNumber_); } if (!getGroupingIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, groupingId_); } if (!getBarcodeContentsBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, barcodeContents_); } if (seatInfo_ != null) { output.writeMessage(8, getSeatInfo()); } if (faceValue_ != null) { output.writeMessage(9, getFaceValue()); } if (person_ != null) { output.writeMessage(10, getPerson()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetaData(), MetaDataDefaultEntryHolder.defaultEntry, 11); if (optOut_ != com.passkit.grpc.CommonObjects.Toggle.DO_NOT_USE.getNumber()) { output.writeEnum(12, optOut_); } if (status_ != com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.STATUS_NONE.getNumber()) { output.writeEnum(13, status_); } if (expiryDate_ != null) { output.writeMessage(14, getExpiryDate()); } if (redemptionDetails_ != null) { output.writeMessage(15, getRedemptionDetails()); } for (int i = 0; i < validateDetails_.size(); i++) { output.writeMessage(16, validateDetails_.get(i)); } if (passOverrides_ != null) { output.writeMessage(17, getPassOverrides()); } if (passMetaData_ != null) { output.writeMessage(18, getPassMetaData()); } if (created_ != null) { output.writeMessage(19, getCreated()); } if (updated_ != null) { output.writeMessage(20, getUpdated()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (!getTicketNumberBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ticketNumber_); } if (event_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getEvent()); } if (ticketType_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getTicketType()); } if (!getOrderNumberBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderNumber_); } if (!getGroupingIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, groupingId_); } if (!getBarcodeContentsBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, barcodeContents_); } if (seatInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getSeatInfo()); } if (faceValue_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getFaceValue()); } if (person_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getPerson()); } for (java.util.Map.Entry entry : internalGetMetaData().getMap().entrySet()) { com.google.protobuf.MapEntry metaData__ = MetaDataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, metaData__); } if (optOut_ != com.passkit.grpc.CommonObjects.Toggle.DO_NOT_USE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(12, optOut_); } if (status_ != com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.STATUS_NONE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(13, status_); } if (expiryDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getExpiryDate()); } if (redemptionDetails_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getRedemptionDetails()); } for (int i = 0; i < validateDetails_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, validateDetails_.get(i)); } if (passOverrides_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getPassOverrides()); } if (passMetaData_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, getPassMetaData()); } if (created_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, getCreated()); } if (updated_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, getUpdated()); } 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.EventTickets.TicketOuterClass.Ticket)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.Ticket other = (com.passkit.grpc.EventTickets.TicketOuterClass.Ticket) obj; if (!getId() .equals(other.getId())) return false; if (!getTicketNumber() .equals(other.getTicketNumber())) return false; if (hasEvent() != other.hasEvent()) return false; if (hasEvent()) { if (!getEvent() .equals(other.getEvent())) return false; } if (hasTicketType() != other.hasTicketType()) return false; if (hasTicketType()) { if (!getTicketType() .equals(other.getTicketType())) return false; } if (!getOrderNumber() .equals(other.getOrderNumber())) return false; if (!getGroupingId() .equals(other.getGroupingId())) return false; if (!getBarcodeContents() .equals(other.getBarcodeContents())) return false; if (hasSeatInfo() != other.hasSeatInfo()) return false; if (hasSeatInfo()) { if (!getSeatInfo() .equals(other.getSeatInfo())) return false; } if (hasFaceValue() != other.hasFaceValue()) return false; if (hasFaceValue()) { if (!getFaceValue() .equals(other.getFaceValue())) return false; } if (hasPerson() != other.hasPerson()) return false; if (hasPerson()) { if (!getPerson() .equals(other.getPerson())) return false; } if (!internalGetMetaData().equals( other.internalGetMetaData())) return false; if (optOut_ != other.optOut_) return false; if (status_ != other.status_) return false; if (hasExpiryDate() != other.hasExpiryDate()) return false; if (hasExpiryDate()) { if (!getExpiryDate() .equals(other.getExpiryDate())) return false; } if (hasRedemptionDetails() != other.hasRedemptionDetails()) return false; if (hasRedemptionDetails()) { if (!getRedemptionDetails() .equals(other.getRedemptionDetails())) return false; } if (!getValidateDetailsList() .equals(other.getValidateDetailsList())) return false; if (hasPassOverrides() != other.hasPassOverrides()) return false; if (hasPassOverrides()) { if (!getPassOverrides() .equals(other.getPassOverrides())) return false; } if (hasPassMetaData() != other.hasPassMetaData()) return false; if (hasPassMetaData()) { if (!getPassMetaData() .equals(other.getPassMetaData())) return false; } if (hasCreated() != other.hasCreated()) return false; if (hasCreated()) { if (!getCreated() .equals(other.getCreated())) return false; } if (hasUpdated() != other.hasUpdated()) return false; if (hasUpdated()) { if (!getUpdated() .equals(other.getUpdated())) 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) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (37 * hash) + TICKETNUMBER_FIELD_NUMBER; hash = (53 * hash) + getTicketNumber().hashCode(); if (hasEvent()) { hash = (37 * hash) + EVENT_FIELD_NUMBER; hash = (53 * hash) + getEvent().hashCode(); } if (hasTicketType()) { hash = (37 * hash) + TICKETTYPE_FIELD_NUMBER; hash = (53 * hash) + getTicketType().hashCode(); } hash = (37 * hash) + ORDERNUMBER_FIELD_NUMBER; hash = (53 * hash) + getOrderNumber().hashCode(); hash = (37 * hash) + GROUPINGID_FIELD_NUMBER; hash = (53 * hash) + getGroupingId().hashCode(); hash = (37 * hash) + BARCODECONTENTS_FIELD_NUMBER; hash = (53 * hash) + getBarcodeContents().hashCode(); if (hasSeatInfo()) { hash = (37 * hash) + SEATINFO_FIELD_NUMBER; hash = (53 * hash) + getSeatInfo().hashCode(); } if (hasFaceValue()) { hash = (37 * hash) + FACEVALUE_FIELD_NUMBER; hash = (53 * hash) + getFaceValue().hashCode(); } if (hasPerson()) { hash = (37 * hash) + PERSON_FIELD_NUMBER; hash = (53 * hash) + getPerson().hashCode(); } if (!internalGetMetaData().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetaData().hashCode(); } hash = (37 * hash) + OPTOUT_FIELD_NUMBER; hash = (53 * hash) + optOut_; hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; if (hasExpiryDate()) { hash = (37 * hash) + EXPIRYDATE_FIELD_NUMBER; hash = (53 * hash) + getExpiryDate().hashCode(); } if (hasRedemptionDetails()) { hash = (37 * hash) + REDEMPTIONDETAILS_FIELD_NUMBER; hash = (53 * hash) + getRedemptionDetails().hashCode(); } if (getValidateDetailsCount() > 0) { hash = (37 * hash) + VALIDATEDETAILS_FIELD_NUMBER; hash = (53 * hash) + getValidateDetailsList().hashCode(); } if (hasPassOverrides()) { hash = (37 * hash) + PASSOVERRIDES_FIELD_NUMBER; hash = (53 * hash) + getPassOverrides().hashCode(); } if (hasPassMetaData()) { hash = (37 * hash) + PASSMETADATA_FIELD_NUMBER; hash = (53 * hash) + getPassMetaData().hashCode(); } if (hasCreated()) { hash = (37 * hash) + CREATED_FIELD_NUMBER; hash = (53 * hash) + getCreated().hashCode(); } if (hasUpdated()) { hash = (37 * hash) + UPDATED_FIELD_NUMBER; hash = (53 * hash) + getUpdated().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.Ticket parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Ticket 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.EventTickets.TicketOuterClass.Ticket parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Ticket 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.EventTickets.TicketOuterClass.Ticket parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Ticket parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Ticket parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Ticket 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.EventTickets.TicketOuterClass.Ticket parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Ticket 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.EventTickets.TicketOuterClass.Ticket parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Ticket 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.EventTickets.TicketOuterClass.Ticket 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; } /** *
     * The Ticket Details
     * 
* * Protobuf type {@code event_tickets.Ticket} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.Ticket) com.passkit.grpc.EventTickets.TicketOuterClass.TicketOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Ticket_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 11: return internalGetMetaData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 11: return internalGetMutableMetaData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Ticket_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.class, com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getValidateDetailsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); id_ = ""; ticketNumber_ = ""; if (eventBuilder_ == null) { event_ = null; } else { event_ = null; eventBuilder_ = null; } if (ticketTypeBuilder_ == null) { ticketType_ = null; } else { ticketType_ = null; ticketTypeBuilder_ = null; } orderNumber_ = ""; groupingId_ = ""; barcodeContents_ = ""; if (seatInfoBuilder_ == null) { seatInfo_ = null; } else { seatInfo_ = null; seatInfoBuilder_ = null; } if (faceValueBuilder_ == null) { faceValue_ = null; } else { faceValue_ = null; faceValueBuilder_ = null; } if (personBuilder_ == null) { person_ = null; } else { person_ = null; personBuilder_ = null; } internalGetMutableMetaData().clear(); optOut_ = 0; status_ = 0; if (expiryDateBuilder_ == null) { expiryDate_ = null; } else { expiryDate_ = null; expiryDateBuilder_ = null; } if (redemptionDetailsBuilder_ == null) { redemptionDetails_ = null; } else { redemptionDetails_ = null; redemptionDetailsBuilder_ = null; } if (validateDetailsBuilder_ == null) { validateDetails_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { validateDetailsBuilder_.clear(); } if (passOverridesBuilder_ == null) { passOverrides_ = null; } else { passOverrides_ = null; passOverridesBuilder_ = null; } if (passMetaDataBuilder_ == null) { passMetaData_ = null; } else { passMetaData_ = null; passMetaDataBuilder_ = null; } if (createdBuilder_ == null) { created_ = null; } else { created_ = null; createdBuilder_ = null; } if (updatedBuilder_ == null) { updated_ = null; } else { updated_ = null; updatedBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Ticket_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.Ticket getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.Ticket build() { com.passkit.grpc.EventTickets.TicketOuterClass.Ticket result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.Ticket buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.Ticket result = new com.passkit.grpc.EventTickets.TicketOuterClass.Ticket(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.ticketNumber_ = ticketNumber_; if (eventBuilder_ == null) { result.event_ = event_; } else { result.event_ = eventBuilder_.build(); } if (ticketTypeBuilder_ == null) { result.ticketType_ = ticketType_; } else { result.ticketType_ = ticketTypeBuilder_.build(); } result.orderNumber_ = orderNumber_; result.groupingId_ = groupingId_; result.barcodeContents_ = barcodeContents_; if (seatInfoBuilder_ == null) { result.seatInfo_ = seatInfo_; } else { result.seatInfo_ = seatInfoBuilder_.build(); } if (faceValueBuilder_ == null) { result.faceValue_ = faceValue_; } else { result.faceValue_ = faceValueBuilder_.build(); } if (personBuilder_ == null) { result.person_ = person_; } else { result.person_ = personBuilder_.build(); } result.metaData_ = internalGetMetaData(); result.metaData_.makeImmutable(); result.optOut_ = optOut_; result.status_ = status_; if (expiryDateBuilder_ == null) { result.expiryDate_ = expiryDate_; } else { result.expiryDate_ = expiryDateBuilder_.build(); } if (redemptionDetailsBuilder_ == null) { result.redemptionDetails_ = redemptionDetails_; } else { result.redemptionDetails_ = redemptionDetailsBuilder_.build(); } if (validateDetailsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { validateDetails_ = java.util.Collections.unmodifiableList(validateDetails_); bitField0_ = (bitField0_ & ~0x00000002); } result.validateDetails_ = validateDetails_; } else { result.validateDetails_ = validateDetailsBuilder_.build(); } if (passOverridesBuilder_ == null) { result.passOverrides_ = passOverrides_; } else { result.passOverrides_ = passOverridesBuilder_.build(); } if (passMetaDataBuilder_ == null) { result.passMetaData_ = passMetaData_; } else { result.passMetaData_ = passMetaDataBuilder_.build(); } if (createdBuilder_ == null) { result.created_ = created_; } else { result.created_ = createdBuilder_.build(); } if (updatedBuilder_ == null) { result.updated_ = updated_; } else { result.updated_ = updatedBuilder_.build(); } 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.EventTickets.TicketOuterClass.Ticket) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.Ticket)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.Ticket other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getTicketNumber().isEmpty()) { ticketNumber_ = other.ticketNumber_; onChanged(); } if (other.hasEvent()) { mergeEvent(other.getEvent()); } if (other.hasTicketType()) { mergeTicketType(other.getTicketType()); } if (!other.getOrderNumber().isEmpty()) { orderNumber_ = other.orderNumber_; onChanged(); } if (!other.getGroupingId().isEmpty()) { groupingId_ = other.groupingId_; onChanged(); } if (!other.getBarcodeContents().isEmpty()) { barcodeContents_ = other.barcodeContents_; onChanged(); } if (other.hasSeatInfo()) { mergeSeatInfo(other.getSeatInfo()); } if (other.hasFaceValue()) { mergeFaceValue(other.getFaceValue()); } if (other.hasPerson()) { mergePerson(other.getPerson()); } internalGetMutableMetaData().mergeFrom( other.internalGetMetaData()); if (other.optOut_ != 0) { setOptOutValue(other.getOptOutValue()); } if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (other.hasExpiryDate()) { mergeExpiryDate(other.getExpiryDate()); } if (other.hasRedemptionDetails()) { mergeRedemptionDetails(other.getRedemptionDetails()); } if (validateDetailsBuilder_ == null) { if (!other.validateDetails_.isEmpty()) { if (validateDetails_.isEmpty()) { validateDetails_ = other.validateDetails_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureValidateDetailsIsMutable(); validateDetails_.addAll(other.validateDetails_); } onChanged(); } } else { if (!other.validateDetails_.isEmpty()) { if (validateDetailsBuilder_.isEmpty()) { validateDetailsBuilder_.dispose(); validateDetailsBuilder_ = null; validateDetails_ = other.validateDetails_; bitField0_ = (bitField0_ & ~0x00000002); validateDetailsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getValidateDetailsFieldBuilder() : null; } else { validateDetailsBuilder_.addAllMessages(other.validateDetails_); } } } if (other.hasPassOverrides()) { mergePassOverrides(other.getPassOverrides()); } if (other.hasPassMetaData()) { mergePassMetaData(other.getPassMetaData()); } if (other.hasCreated()) { mergeCreated(other.getCreated()); } if (other.hasUpdated()) { mergeUpdated(other.getUpdated()); } 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.EventTickets.TicketOuterClass.Ticket parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.Ticket) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object id_ = ""; /** *
       * PassKit generated ticket id (22 characters).
       * 
* * string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * PassKit generated ticket id (22 characters).
       * 
* * string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * PassKit generated ticket id (22 characters).
       * 
* * string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /** *
       * PassKit generated ticket id (22 characters).
       * 
* * string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * PassKit generated ticket id (22 characters).
       * 
* * string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; onChanged(); return this; } private java.lang.Object ticketNumber_ = ""; /** *
       * Optional user generated ticket number. Unique within the Production.
       * 
* * string ticketNumber = 2; * @return The ticketNumber. */ public java.lang.String getTicketNumber() { java.lang.Object ref = ticketNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ticketNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional user generated ticket number. Unique within the Production.
       * 
* * string ticketNumber = 2; * @return The bytes for ticketNumber. */ public com.google.protobuf.ByteString getTicketNumberBytes() { java.lang.Object ref = ticketNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional user generated ticket number. Unique within the Production.
       * 
* * string ticketNumber = 2; * @param value The ticketNumber to set. * @return This builder for chaining. */ public Builder setTicketNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ticketNumber_ = value; onChanged(); return this; } /** *
       * Optional user generated ticket number. Unique within the Production.
       * 
* * string ticketNumber = 2; * @return This builder for chaining. */ public Builder clearTicketNumber() { ticketNumber_ = getDefaultInstance().getTicketNumber(); onChanged(); return this; } /** *
       * Optional user generated ticket number. Unique within the Production.
       * 
* * string ticketNumber = 2; * @param value The bytes for ticketNumber to set. * @return This builder for chaining. */ public Builder setTicketNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ticketNumber_ = value; onChanged(); return this; } private com.passkit.grpc.EventTickets.EventOuterClass.Event event_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.EventOuterClass.Event, com.passkit.grpc.EventTickets.EventOuterClass.Event.Builder, com.passkit.grpc.EventTickets.EventOuterClass.EventOrBuilder> eventBuilder_; /** *
       * The event that the ticket is for. Can provide event id, or the whole event object - if the event doesn't exist it will be created. The combination of event.production.id, event.startDate, event.venue.uid & ticket.ticketTypeUid is enforced unique in the system.
       * 
* * .event_tickets.Event event = 3; * @return Whether the event field is set. */ public boolean hasEvent() { return eventBuilder_ != null || event_ != null; } /** *
       * The event that the ticket is for. Can provide event id, or the whole event object - if the event doesn't exist it will be created. The combination of event.production.id, event.startDate, event.venue.uid & ticket.ticketTypeUid is enforced unique in the system.
       * 
* * .event_tickets.Event event = 3; * @return The event. */ public com.passkit.grpc.EventTickets.EventOuterClass.Event getEvent() { if (eventBuilder_ == null) { return event_ == null ? com.passkit.grpc.EventTickets.EventOuterClass.Event.getDefaultInstance() : event_; } else { return eventBuilder_.getMessage(); } } /** *
       * The event that the ticket is for. Can provide event id, or the whole event object - if the event doesn't exist it will be created. The combination of event.production.id, event.startDate, event.venue.uid & ticket.ticketTypeUid is enforced unique in the system.
       * 
* * .event_tickets.Event event = 3; */ public Builder setEvent(com.passkit.grpc.EventTickets.EventOuterClass.Event value) { if (eventBuilder_ == null) { if (value == null) { throw new NullPointerException(); } event_ = value; onChanged(); } else { eventBuilder_.setMessage(value); } return this; } /** *
       * The event that the ticket is for. Can provide event id, or the whole event object - if the event doesn't exist it will be created. The combination of event.production.id, event.startDate, event.venue.uid & ticket.ticketTypeUid is enforced unique in the system.
       * 
* * .event_tickets.Event event = 3; */ public Builder setEvent( com.passkit.grpc.EventTickets.EventOuterClass.Event.Builder builderForValue) { if (eventBuilder_ == null) { event_ = builderForValue.build(); onChanged(); } else { eventBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The event that the ticket is for. Can provide event id, or the whole event object - if the event doesn't exist it will be created. The combination of event.production.id, event.startDate, event.venue.uid & ticket.ticketTypeUid is enforced unique in the system.
       * 
* * .event_tickets.Event event = 3; */ public Builder mergeEvent(com.passkit.grpc.EventTickets.EventOuterClass.Event value) { if (eventBuilder_ == null) { if (event_ != null) { event_ = com.passkit.grpc.EventTickets.EventOuterClass.Event.newBuilder(event_).mergeFrom(value).buildPartial(); } else { event_ = value; } onChanged(); } else { eventBuilder_.mergeFrom(value); } return this; } /** *
       * The event that the ticket is for. Can provide event id, or the whole event object - if the event doesn't exist it will be created. The combination of event.production.id, event.startDate, event.venue.uid & ticket.ticketTypeUid is enforced unique in the system.
       * 
* * .event_tickets.Event event = 3; */ public Builder clearEvent() { if (eventBuilder_ == null) { event_ = null; onChanged(); } else { event_ = null; eventBuilder_ = null; } return this; } /** *
       * The event that the ticket is for. Can provide event id, or the whole event object - if the event doesn't exist it will be created. The combination of event.production.id, event.startDate, event.venue.uid & ticket.ticketTypeUid is enforced unique in the system.
       * 
* * .event_tickets.Event event = 3; */ public com.passkit.grpc.EventTickets.EventOuterClass.Event.Builder getEventBuilder() { onChanged(); return getEventFieldBuilder().getBuilder(); } /** *
       * The event that the ticket is for. Can provide event id, or the whole event object - if the event doesn't exist it will be created. The combination of event.production.id, event.startDate, event.venue.uid & ticket.ticketTypeUid is enforced unique in the system.
       * 
* * .event_tickets.Event event = 3; */ public com.passkit.grpc.EventTickets.EventOuterClass.EventOrBuilder getEventOrBuilder() { if (eventBuilder_ != null) { return eventBuilder_.getMessageOrBuilder(); } else { return event_ == null ? com.passkit.grpc.EventTickets.EventOuterClass.Event.getDefaultInstance() : event_; } } /** *
       * The event that the ticket is for. Can provide event id, or the whole event object - if the event doesn't exist it will be created. The combination of event.production.id, event.startDate, event.venue.uid & ticket.ticketTypeUid is enforced unique in the system.
       * 
* * .event_tickets.Event event = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.EventOuterClass.Event, com.passkit.grpc.EventTickets.EventOuterClass.Event.Builder, com.passkit.grpc.EventTickets.EventOuterClass.EventOrBuilder> getEventFieldBuilder() { if (eventBuilder_ == null) { eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.EventOuterClass.Event, com.passkit.grpc.EventTickets.EventOuterClass.Event.Builder, com.passkit.grpc.EventTickets.EventOuterClass.EventOrBuilder>( getEvent(), getParentForChildren(), isClean()); event_ = null; } return eventBuilder_; } private com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType ticketType_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType, com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType.Builder, com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeOrBuilder> ticketTypeBuilder_; /** *
       * The ticket type the ticket is for.
       * 
* * .event_tickets.TicketType ticketType = 4; * @return Whether the ticketType field is set. */ public boolean hasTicketType() { return ticketTypeBuilder_ != null || ticketType_ != null; } /** *
       * The ticket type the ticket is for.
       * 
* * .event_tickets.TicketType ticketType = 4; * @return The ticketType. */ public com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType getTicketType() { if (ticketTypeBuilder_ == null) { return ticketType_ == null ? com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType.getDefaultInstance() : ticketType_; } else { return ticketTypeBuilder_.getMessage(); } } /** *
       * The ticket type the ticket is for.
       * 
* * .event_tickets.TicketType ticketType = 4; */ public Builder setTicketType(com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType value) { if (ticketTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ticketType_ = value; onChanged(); } else { ticketTypeBuilder_.setMessage(value); } return this; } /** *
       * The ticket type the ticket is for.
       * 
* * .event_tickets.TicketType ticketType = 4; */ public Builder setTicketType( com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType.Builder builderForValue) { if (ticketTypeBuilder_ == null) { ticketType_ = builderForValue.build(); onChanged(); } else { ticketTypeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The ticket type the ticket is for.
       * 
* * .event_tickets.TicketType ticketType = 4; */ public Builder mergeTicketType(com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType value) { if (ticketTypeBuilder_ == null) { if (ticketType_ != null) { ticketType_ = com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType.newBuilder(ticketType_).mergeFrom(value).buildPartial(); } else { ticketType_ = value; } onChanged(); } else { ticketTypeBuilder_.mergeFrom(value); } return this; } /** *
       * The ticket type the ticket is for.
       * 
* * .event_tickets.TicketType ticketType = 4; */ public Builder clearTicketType() { if (ticketTypeBuilder_ == null) { ticketType_ = null; onChanged(); } else { ticketType_ = null; ticketTypeBuilder_ = null; } return this; } /** *
       * The ticket type the ticket is for.
       * 
* * .event_tickets.TicketType ticketType = 4; */ public com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType.Builder getTicketTypeBuilder() { onChanged(); return getTicketTypeFieldBuilder().getBuilder(); } /** *
       * The ticket type the ticket is for.
       * 
* * .event_tickets.TicketType ticketType = 4; */ public com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeOrBuilder getTicketTypeOrBuilder() { if (ticketTypeBuilder_ != null) { return ticketTypeBuilder_.getMessageOrBuilder(); } else { return ticketType_ == null ? com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType.getDefaultInstance() : ticketType_; } } /** *
       * The ticket type the ticket is for.
       * 
* * .event_tickets.TicketType ticketType = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType, com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType.Builder, com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeOrBuilder> getTicketTypeFieldBuilder() { if (ticketTypeBuilder_ == null) { ticketTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType, com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketType.Builder, com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeOrBuilder>( getTicketType(), getParentForChildren(), isClean()); ticketType_ = null; } return ticketTypeBuilder_; } private java.lang.Object orderNumber_ = ""; /** *
       * Optional order / confirmation / booking code. Unique within the Production.
       * 
* * string orderNumber = 5; * @return The orderNumber. */ public java.lang.String getOrderNumber() { java.lang.Object ref = orderNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional order / confirmation / booking code. Unique within the Production.
       * 
* * string orderNumber = 5; * @return The bytes for orderNumber. */ public com.google.protobuf.ByteString getOrderNumberBytes() { java.lang.Object ref = orderNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional order / confirmation / booking code. Unique within the Production.
       * 
* * string orderNumber = 5; * @param value The orderNumber to set. * @return This builder for chaining. */ public Builder setOrderNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } orderNumber_ = value; onChanged(); return this; } /** *
       * Optional order / confirmation / booking code. Unique within the Production.
       * 
* * string orderNumber = 5; * @return This builder for chaining. */ public Builder clearOrderNumber() { orderNumber_ = getDefaultInstance().getOrderNumber(); onChanged(); return this; } /** *
       * Optional order / confirmation / booking code. Unique within the Production.
       * 
* * string orderNumber = 5; * @param value The bytes for orderNumber to set. * @return This builder for chaining. */ public Builder setOrderNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderNumber_ = value; onChanged(); return this; } private java.lang.Object groupingId_ = ""; /** *
       * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
       * 
* * string groupingId = 6; * @return The groupingId. */ public java.lang.String getGroupingId() { java.lang.Object ref = groupingId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupingId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
       * 
* * string groupingId = 6; * @return The bytes for groupingId. */ public com.google.protobuf.ByteString getGroupingIdBytes() { java.lang.Object ref = groupingId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); groupingId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
       * 
* * string groupingId = 6; * @param value The groupingId to set. * @return This builder for chaining. */ public Builder setGroupingId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } groupingId_ = value; onChanged(); return this; } /** *
       * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
       * 
* * string groupingId = 6; * @return This builder for chaining. */ public Builder clearGroupingId() { groupingId_ = getDefaultInstance().getGroupingId(); onChanged(); return this; } /** *
       * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
       * 
* * string groupingId = 6; * @param value The bytes for groupingId to set. * @return This builder for chaining. */ public Builder setGroupingIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); groupingId_ = value; onChanged(); return this; } private java.lang.Object barcodeContents_ = ""; /** *
       * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
       * 
* * string barcodeContents = 7; * @return The barcodeContents. */ public java.lang.String getBarcodeContents() { java.lang.Object ref = barcodeContents_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); barcodeContents_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
       * 
* * string barcodeContents = 7; * @return The bytes for barcodeContents. */ public com.google.protobuf.ByteString getBarcodeContentsBytes() { java.lang.Object ref = barcodeContents_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); barcodeContents_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
       * 
* * string barcodeContents = 7; * @param value The barcodeContents to set. * @return This builder for chaining. */ public Builder setBarcodeContents( java.lang.String value) { if (value == null) { throw new NullPointerException(); } barcodeContents_ = value; onChanged(); return this; } /** *
       * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
       * 
* * string barcodeContents = 7; * @return This builder for chaining. */ public Builder clearBarcodeContents() { barcodeContents_ = getDefaultInstance().getBarcodeContents(); onChanged(); return this; } /** *
       * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
       * 
* * string barcodeContents = 7; * @param value The bytes for barcodeContents to set. * @return This builder for chaining. */ public Builder setBarcodeContentsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); barcodeContents_ = value; onChanged(); return this; } private com.passkit.grpc.EventTickets.TicketOuterClass.Seat seatInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.Seat, com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder> seatInfoBuilder_; /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; * @return Whether the seatInfo field is set. */ public boolean hasSeatInfo() { return seatInfoBuilder_ != null || seatInfo_ != null; } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; * @return The seatInfo. */ public com.passkit.grpc.EventTickets.TicketOuterClass.Seat getSeatInfo() { if (seatInfoBuilder_ == null) { return seatInfo_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.Seat.getDefaultInstance() : seatInfo_; } else { return seatInfoBuilder_.getMessage(); } } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; */ public Builder setSeatInfo(com.passkit.grpc.EventTickets.TicketOuterClass.Seat value) { if (seatInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } seatInfo_ = value; onChanged(); } else { seatInfoBuilder_.setMessage(value); } return this; } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; */ public Builder setSeatInfo( com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder builderForValue) { if (seatInfoBuilder_ == null) { seatInfo_ = builderForValue.build(); onChanged(); } else { seatInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; */ public Builder mergeSeatInfo(com.passkit.grpc.EventTickets.TicketOuterClass.Seat value) { if (seatInfoBuilder_ == null) { if (seatInfo_ != null) { seatInfo_ = com.passkit.grpc.EventTickets.TicketOuterClass.Seat.newBuilder(seatInfo_).mergeFrom(value).buildPartial(); } else { seatInfo_ = value; } onChanged(); } else { seatInfoBuilder_.mergeFrom(value); } return this; } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; */ public Builder clearSeatInfo() { if (seatInfoBuilder_ == null) { seatInfo_ = null; onChanged(); } else { seatInfo_ = null; seatInfoBuilder_ = null; } return this; } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; */ public com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder getSeatInfoBuilder() { onChanged(); return getSeatInfoFieldBuilder().getBuilder(); } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; */ public com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder getSeatInfoOrBuilder() { if (seatInfoBuilder_ != null) { return seatInfoBuilder_.getMessageOrBuilder(); } else { return seatInfo_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.Seat.getDefaultInstance() : seatInfo_; } } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.Seat, com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder> getSeatInfoFieldBuilder() { if (seatInfoBuilder_ == null) { seatInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.Seat, com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder>( getSeatInfo(), getParentForChildren(), isClean()); seatInfo_ = null; } return seatInfoBuilder_; } private com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue faceValue_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder> faceValueBuilder_; /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; * @return Whether the faceValue field is set. */ public boolean hasFaceValue() { return faceValueBuilder_ != null || faceValue_ != null; } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; * @return The faceValue. */ public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue getFaceValue() { if (faceValueBuilder_ == null) { return faceValue_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.getDefaultInstance() : faceValue_; } else { return faceValueBuilder_.getMessage(); } } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; */ public Builder setFaceValue(com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue value) { if (faceValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } faceValue_ = value; onChanged(); } else { faceValueBuilder_.setMessage(value); } return this; } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; */ public Builder setFaceValue( com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder builderForValue) { if (faceValueBuilder_ == null) { faceValue_ = builderForValue.build(); onChanged(); } else { faceValueBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; */ public Builder mergeFaceValue(com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue value) { if (faceValueBuilder_ == null) { if (faceValue_ != null) { faceValue_ = com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.newBuilder(faceValue_).mergeFrom(value).buildPartial(); } else { faceValue_ = value; } onChanged(); } else { faceValueBuilder_.mergeFrom(value); } return this; } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; */ public Builder clearFaceValue() { if (faceValueBuilder_ == null) { faceValue_ = null; onChanged(); } else { faceValue_ = null; faceValueBuilder_ = null; } return this; } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; */ public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder getFaceValueBuilder() { onChanged(); return getFaceValueFieldBuilder().getBuilder(); } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; */ public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder getFaceValueOrBuilder() { if (faceValueBuilder_ != null) { return faceValueBuilder_.getMessageOrBuilder(); } else { return faceValue_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.getDefaultInstance() : faceValue_; } } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder> getFaceValueFieldBuilder() { if (faceValueBuilder_ == null) { faceValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder>( getFaceValue(), getParentForChildren(), isClean()); faceValue_ = null; } return faceValueBuilder_; } private com.passkit.grpc.Personal.Person person_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Person, com.passkit.grpc.Personal.Person.Builder, com.passkit.grpc.Personal.PersonOrBuilder> personBuilder_; /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; * @return Whether the person field is set. */ public boolean hasPerson() { return personBuilder_ != null || person_ != null; } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; * @return The person. */ public com.passkit.grpc.Personal.Person getPerson() { if (personBuilder_ == null) { return person_ == null ? com.passkit.grpc.Personal.Person.getDefaultInstance() : person_; } else { return personBuilder_.getMessage(); } } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; */ public Builder setPerson(com.passkit.grpc.Personal.Person value) { if (personBuilder_ == null) { if (value == null) { throw new NullPointerException(); } person_ = value; onChanged(); } else { personBuilder_.setMessage(value); } return this; } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; */ public Builder setPerson( com.passkit.grpc.Personal.Person.Builder builderForValue) { if (personBuilder_ == null) { person_ = builderForValue.build(); onChanged(); } else { personBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; */ public Builder mergePerson(com.passkit.grpc.Personal.Person value) { if (personBuilder_ == null) { if (person_ != null) { person_ = com.passkit.grpc.Personal.Person.newBuilder(person_).mergeFrom(value).buildPartial(); } else { person_ = value; } onChanged(); } else { personBuilder_.mergeFrom(value); } return this; } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; */ public Builder clearPerson() { if (personBuilder_ == null) { person_ = null; onChanged(); } else { person_ = null; personBuilder_ = null; } return this; } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; */ public com.passkit.grpc.Personal.Person.Builder getPersonBuilder() { onChanged(); return getPersonFieldBuilder().getBuilder(); } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; */ public com.passkit.grpc.Personal.PersonOrBuilder getPersonOrBuilder() { if (personBuilder_ != null) { return personBuilder_.getMessageOrBuilder(); } else { return person_ == null ? com.passkit.grpc.Personal.Person.getDefaultInstance() : person_; } } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Person, com.passkit.grpc.Personal.Person.Builder, com.passkit.grpc.Personal.PersonOrBuilder> getPersonFieldBuilder() { if (personBuilder_ == null) { personBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Person, com.passkit.grpc.Personal.Person.Builder, com.passkit.grpc.Personal.PersonOrBuilder>( getPerson(), getParentForChildren(), isClean()); person_ = null; } return personBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metaData_; private com.google.protobuf.MapField internalGetMetaData() { if (metaData_ == null) { return com.google.protobuf.MapField.emptyMapField( MetaDataDefaultEntryHolder.defaultEntry); } return metaData_; } private com.google.protobuf.MapField internalGetMutableMetaData() { onChanged();; if (metaData_ == null) { metaData_ = com.google.protobuf.MapField.newMapField( MetaDataDefaultEntryHolder.defaultEntry); } if (!metaData_.isMutable()) { metaData_ = metaData_.copy(); } return metaData_; } public int getMetaDataCount() { return internalGetMetaData().getMap().size(); } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 11; */ @java.lang.Override public boolean containsMetaData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMetaData().getMap().containsKey(key); } /** * Use {@link #getMetaDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetaData() { return getMetaDataMap(); } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 11; */ @java.lang.Override public java.util.Map getMetaDataMap() { return internalGetMetaData().getMap(); } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 11; */ @java.lang.Override public java.lang.String getMetaDataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 11; */ @java.lang.Override public java.lang.String getMetaDataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetaData() { internalGetMutableMetaData().getMutableMap() .clear(); return this; } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 11; */ public Builder removeMetaData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableMetaData().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetaData() { return internalGetMutableMetaData().getMutableMap(); } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 11; */ public Builder putMetaData( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableMetaData().getMutableMap() .put(key, value); return this; } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 11; */ public Builder putAllMetaData( java.util.Map values) { internalGetMutableMetaData().getMutableMap() .putAll(values); return this; } private int optOut_ = 0; /** *
       * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
       * 
* * .io.Toggle optOut = 12; * @return The enum numeric value on the wire for optOut. */ @java.lang.Override public int getOptOutValue() { return optOut_; } /** *
       * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
       * 
* * .io.Toggle optOut = 12; * @param value The enum numeric value on the wire for optOut to set. * @return This builder for chaining. */ public Builder setOptOutValue(int value) { optOut_ = value; onChanged(); return this; } /** *
       * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
       * 
* * .io.Toggle optOut = 12; * @return The optOut. */ @java.lang.Override public com.passkit.grpc.CommonObjects.Toggle getOptOut() { @SuppressWarnings("deprecation") com.passkit.grpc.CommonObjects.Toggle result = com.passkit.grpc.CommonObjects.Toggle.valueOf(optOut_); return result == null ? com.passkit.grpc.CommonObjects.Toggle.UNRECOGNIZED : result; } /** *
       * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
       * 
* * .io.Toggle optOut = 12; * @param value The optOut to set. * @return This builder for chaining. */ public Builder setOptOut(com.passkit.grpc.CommonObjects.Toggle value) { if (value == null) { throw new NullPointerException(); } optOut_ = value.getNumber(); onChanged(); return this; } /** *
       * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
       * 
* * .io.Toggle optOut = 12; * @return This builder for chaining. */ public Builder clearOptOut() { optOut_ = 0; onChanged(); return this; } private int status_ = 0; /** *
       * Holds the ticket status.
       * 
* * .event_tickets.TicketStatus status = 13 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
       * Holds the ticket status.
       * 
* * .event_tickets.TicketStatus status = 13 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /** *
       * Holds the ticket status.
       * 
* * .event_tickets.TicketStatus status = 13 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The status. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus getStatus() { @SuppressWarnings("deprecation") com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus result = com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.valueOf(status_); return result == null ? com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.UNRECOGNIZED : result; } /** *
       * Holds the ticket status.
       * 
* * .event_tickets.TicketStatus status = 13 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** *
       * Holds the ticket status.
       * 
* * .event_tickets.TicketStatus status = 13 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } private com.google.protobuf.Timestamp expiryDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiryDateBuilder_; /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; * @return Whether the expiryDate field is set. */ public boolean hasExpiryDate() { return expiryDateBuilder_ != null || expiryDate_ != null; } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; * @return The expiryDate. */ public com.google.protobuf.Timestamp getExpiryDate() { if (expiryDateBuilder_ == null) { return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_; } else { return expiryDateBuilder_.getMessage(); } } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; */ public Builder setExpiryDate(com.google.protobuf.Timestamp value) { if (expiryDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expiryDate_ = value; onChanged(); } else { expiryDateBuilder_.setMessage(value); } return this; } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; */ public Builder setExpiryDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (expiryDateBuilder_ == null) { expiryDate_ = builderForValue.build(); onChanged(); } else { expiryDateBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; */ public Builder mergeExpiryDate(com.google.protobuf.Timestamp value) { if (expiryDateBuilder_ == null) { if (expiryDate_ != null) { expiryDate_ = com.google.protobuf.Timestamp.newBuilder(expiryDate_).mergeFrom(value).buildPartial(); } else { expiryDate_ = value; } onChanged(); } else { expiryDateBuilder_.mergeFrom(value); } return this; } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; */ public Builder clearExpiryDate() { if (expiryDateBuilder_ == null) { expiryDate_ = null; onChanged(); } else { expiryDate_ = null; expiryDateBuilder_ = null; } return this; } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; */ public com.google.protobuf.Timestamp.Builder getExpiryDateBuilder() { onChanged(); return getExpiryDateFieldBuilder().getBuilder(); } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; */ public com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder() { if (expiryDateBuilder_ != null) { return expiryDateBuilder_.getMessageOrBuilder(); } else { return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_; } } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpiryDateFieldBuilder() { if (expiryDateBuilder_ == null) { expiryDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getExpiryDate(), getParentForChildren(), isClean()); expiryDate_ = null; } return expiryDateBuilder_; } private com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails redemptionDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder> redemptionDetailsBuilder_; /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; * @return Whether the redemptionDetails field is set. */ public boolean hasRedemptionDetails() { return redemptionDetailsBuilder_ != null || redemptionDetails_ != null; } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; * @return The redemptionDetails. */ public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails getRedemptionDetails() { if (redemptionDetailsBuilder_ == null) { return redemptionDetails_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.getDefaultInstance() : redemptionDetails_; } else { return redemptionDetailsBuilder_.getMessage(); } } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ public Builder setRedemptionDetails(com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails value) { if (redemptionDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } redemptionDetails_ = value; onChanged(); } else { redemptionDetailsBuilder_.setMessage(value); } return this; } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ public Builder setRedemptionDetails( com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder builderForValue) { if (redemptionDetailsBuilder_ == null) { redemptionDetails_ = builderForValue.build(); onChanged(); } else { redemptionDetailsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ public Builder mergeRedemptionDetails(com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails value) { if (redemptionDetailsBuilder_ == null) { if (redemptionDetails_ != null) { redemptionDetails_ = com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.newBuilder(redemptionDetails_).mergeFrom(value).buildPartial(); } else { redemptionDetails_ = value; } onChanged(); } else { redemptionDetailsBuilder_.mergeFrom(value); } return this; } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ public Builder clearRedemptionDetails() { if (redemptionDetailsBuilder_ == null) { redemptionDetails_ = null; onChanged(); } else { redemptionDetails_ = null; redemptionDetailsBuilder_ = null; } return this; } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder getRedemptionDetailsBuilder() { onChanged(); return getRedemptionDetailsFieldBuilder().getBuilder(); } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder getRedemptionDetailsOrBuilder() { if (redemptionDetailsBuilder_ != null) { return redemptionDetailsBuilder_.getMessageOrBuilder(); } else { return redemptionDetails_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.getDefaultInstance() : redemptionDetails_; } } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder> getRedemptionDetailsFieldBuilder() { if (redemptionDetailsBuilder_ == null) { redemptionDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder>( getRedemptionDetails(), getParentForChildren(), isClean()); redemptionDetails_ = null; } return redemptionDetailsBuilder_; } private java.util.List validateDetails_ = java.util.Collections.emptyList(); private void ensureValidateDetailsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { validateDetails_ = new java.util.ArrayList(validateDetails_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder> validateDetailsBuilder_; /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public java.util.List getValidateDetailsList() { if (validateDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(validateDetails_); } else { return validateDetailsBuilder_.getMessageList(); } } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public int getValidateDetailsCount() { if (validateDetailsBuilder_ == null) { return validateDetails_.size(); } else { return validateDetailsBuilder_.getCount(); } } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails getValidateDetails(int index) { if (validateDetailsBuilder_ == null) { return validateDetails_.get(index); } else { return validateDetailsBuilder_.getMessage(index); } } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder setValidateDetails( int index, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails value) { if (validateDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidateDetailsIsMutable(); validateDetails_.set(index, value); onChanged(); } else { validateDetailsBuilder_.setMessage(index, value); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder setValidateDetails( int index, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder builderForValue) { if (validateDetailsBuilder_ == null) { ensureValidateDetailsIsMutable(); validateDetails_.set(index, builderForValue.build()); onChanged(); } else { validateDetailsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder addValidateDetails(com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails value) { if (validateDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidateDetailsIsMutable(); validateDetails_.add(value); onChanged(); } else { validateDetailsBuilder_.addMessage(value); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder addValidateDetails( int index, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails value) { if (validateDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidateDetailsIsMutable(); validateDetails_.add(index, value); onChanged(); } else { validateDetailsBuilder_.addMessage(index, value); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder addValidateDetails( com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder builderForValue) { if (validateDetailsBuilder_ == null) { ensureValidateDetailsIsMutable(); validateDetails_.add(builderForValue.build()); onChanged(); } else { validateDetailsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder addValidateDetails( int index, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder builderForValue) { if (validateDetailsBuilder_ == null) { ensureValidateDetailsIsMutable(); validateDetails_.add(index, builderForValue.build()); onChanged(); } else { validateDetailsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder addAllValidateDetails( java.lang.Iterable values) { if (validateDetailsBuilder_ == null) { ensureValidateDetailsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, validateDetails_); onChanged(); } else { validateDetailsBuilder_.addAllMessages(values); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder clearValidateDetails() { if (validateDetailsBuilder_ == null) { validateDetails_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { validateDetailsBuilder_.clear(); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder removeValidateDetails(int index) { if (validateDetailsBuilder_ == null) { ensureValidateDetailsIsMutable(); validateDetails_.remove(index); onChanged(); } else { validateDetailsBuilder_.remove(index); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder getValidateDetailsBuilder( int index) { return getValidateDetailsFieldBuilder().getBuilder(index); } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder getValidateDetailsOrBuilder( int index) { if (validateDetailsBuilder_ == null) { return validateDetails_.get(index); } else { return validateDetailsBuilder_.getMessageOrBuilder(index); } } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public java.util.List getValidateDetailsOrBuilderList() { if (validateDetailsBuilder_ != null) { return validateDetailsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(validateDetails_); } } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder addValidateDetailsBuilder() { return getValidateDetailsFieldBuilder().addBuilder( com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.getDefaultInstance()); } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder addValidateDetailsBuilder( int index) { return getValidateDetailsFieldBuilder().addBuilder( index, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.getDefaultInstance()); } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public java.util.List getValidateDetailsBuilderList() { return getValidateDetailsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder> getValidateDetailsFieldBuilder() { if (validateDetailsBuilder_ == null) { validateDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder>( validateDetails_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); validateDetails_ = null; } return validateDetailsBuilder_; } private com.passkit.grpc.PassOuterClass.PassOverrides passOverrides_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PassOuterClass.PassOverrides, com.passkit.grpc.PassOuterClass.PassOverrides.Builder, com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder> passOverridesBuilder_; /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; * @return Whether the passOverrides field is set. */ public boolean hasPassOverrides() { return passOverridesBuilder_ != null || passOverrides_ != null; } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; * @return The passOverrides. */ public com.passkit.grpc.PassOuterClass.PassOverrides getPassOverrides() { if (passOverridesBuilder_ == null) { return passOverrides_ == null ? com.passkit.grpc.PassOuterClass.PassOverrides.getDefaultInstance() : passOverrides_; } else { return passOverridesBuilder_.getMessage(); } } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; */ public Builder setPassOverrides(com.passkit.grpc.PassOuterClass.PassOverrides value) { if (passOverridesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } passOverrides_ = value; onChanged(); } else { passOverridesBuilder_.setMessage(value); } return this; } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; */ public Builder setPassOverrides( com.passkit.grpc.PassOuterClass.PassOverrides.Builder builderForValue) { if (passOverridesBuilder_ == null) { passOverrides_ = builderForValue.build(); onChanged(); } else { passOverridesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; */ public Builder mergePassOverrides(com.passkit.grpc.PassOuterClass.PassOverrides value) { if (passOverridesBuilder_ == null) { if (passOverrides_ != null) { passOverrides_ = com.passkit.grpc.PassOuterClass.PassOverrides.newBuilder(passOverrides_).mergeFrom(value).buildPartial(); } else { passOverrides_ = value; } onChanged(); } else { passOverridesBuilder_.mergeFrom(value); } return this; } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; */ public Builder clearPassOverrides() { if (passOverridesBuilder_ == null) { passOverrides_ = null; onChanged(); } else { passOverrides_ = null; passOverridesBuilder_ = null; } return this; } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; */ public com.passkit.grpc.PassOuterClass.PassOverrides.Builder getPassOverridesBuilder() { onChanged(); return getPassOverridesFieldBuilder().getBuilder(); } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; */ public com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder getPassOverridesOrBuilder() { if (passOverridesBuilder_ != null) { return passOverridesBuilder_.getMessageOrBuilder(); } else { return passOverrides_ == null ? com.passkit.grpc.PassOuterClass.PassOverrides.getDefaultInstance() : passOverrides_; } } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PassOuterClass.PassOverrides, com.passkit.grpc.PassOuterClass.PassOverrides.Builder, com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder> getPassOverridesFieldBuilder() { if (passOverridesBuilder_ == null) { passOverridesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PassOuterClass.PassOverrides, com.passkit.grpc.PassOuterClass.PassOverrides.Builder, com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder>( getPassOverrides(), getParentForChildren(), isClean()); passOverrides_ = null; } return passOverridesBuilder_; } private com.passkit.grpc.MetricsOuterClass.Metadata passMetaData_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.MetricsOuterClass.Metadata, com.passkit.grpc.MetricsOuterClass.Metadata.Builder, com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder> passMetaDataBuilder_; /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; * @return Whether the passMetaData field is set. */ public boolean hasPassMetaData() { return passMetaDataBuilder_ != null || passMetaData_ != null; } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; * @return The passMetaData. */ public com.passkit.grpc.MetricsOuterClass.Metadata getPassMetaData() { if (passMetaDataBuilder_ == null) { return passMetaData_ == null ? com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance() : passMetaData_; } else { return passMetaDataBuilder_.getMessage(); } } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; */ public Builder setPassMetaData(com.passkit.grpc.MetricsOuterClass.Metadata value) { if (passMetaDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } passMetaData_ = value; onChanged(); } else { passMetaDataBuilder_.setMessage(value); } return this; } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; */ public Builder setPassMetaData( com.passkit.grpc.MetricsOuterClass.Metadata.Builder builderForValue) { if (passMetaDataBuilder_ == null) { passMetaData_ = builderForValue.build(); onChanged(); } else { passMetaDataBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; */ public Builder mergePassMetaData(com.passkit.grpc.MetricsOuterClass.Metadata value) { if (passMetaDataBuilder_ == null) { if (passMetaData_ != null) { passMetaData_ = com.passkit.grpc.MetricsOuterClass.Metadata.newBuilder(passMetaData_).mergeFrom(value).buildPartial(); } else { passMetaData_ = value; } onChanged(); } else { passMetaDataBuilder_.mergeFrom(value); } return this; } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; */ public Builder clearPassMetaData() { if (passMetaDataBuilder_ == null) { passMetaData_ = null; onChanged(); } else { passMetaData_ = null; passMetaDataBuilder_ = null; } return this; } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; */ public com.passkit.grpc.MetricsOuterClass.Metadata.Builder getPassMetaDataBuilder() { onChanged(); return getPassMetaDataFieldBuilder().getBuilder(); } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; */ public com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder getPassMetaDataOrBuilder() { if (passMetaDataBuilder_ != null) { return passMetaDataBuilder_.getMessageOrBuilder(); } else { return passMetaData_ == null ? com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance() : passMetaData_; } } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.MetricsOuterClass.Metadata, com.passkit.grpc.MetricsOuterClass.Metadata.Builder, com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder> getPassMetaDataFieldBuilder() { if (passMetaDataBuilder_ == null) { passMetaDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.MetricsOuterClass.Metadata, com.passkit.grpc.MetricsOuterClass.Metadata.Builder, com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder>( getPassMetaData(), getParentForChildren(), isClean()); passMetaData_ = null; } return passMetaDataBuilder_; } private com.google.protobuf.Timestamp created_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdBuilder_; /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return Whether the created field is set. */ public boolean hasCreated() { return createdBuilder_ != null || created_ != null; } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The created. */ public com.google.protobuf.Timestamp getCreated() { if (createdBuilder_ == null) { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } else { return createdBuilder_.getMessage(); } } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder setCreated(com.google.protobuf.Timestamp value) { if (createdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } created_ = value; onChanged(); } else { createdBuilder_.setMessage(value); } return this; } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder setCreated( com.google.protobuf.Timestamp.Builder builderForValue) { if (createdBuilder_ == null) { created_ = builderForValue.build(); onChanged(); } else { createdBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder mergeCreated(com.google.protobuf.Timestamp value) { if (createdBuilder_ == null) { if (created_ != null) { created_ = com.google.protobuf.Timestamp.newBuilder(created_).mergeFrom(value).buildPartial(); } else { created_ = value; } onChanged(); } else { createdBuilder_.mergeFrom(value); } return this; } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder clearCreated() { if (createdBuilder_ == null) { created_ = null; onChanged(); } else { created_ = null; createdBuilder_ = null; } return this; } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.google.protobuf.Timestamp.Builder getCreatedBuilder() { onChanged(); return getCreatedFieldBuilder().getBuilder(); } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() { if (createdBuilder_ != null) { return createdBuilder_.getMessageOrBuilder(); } else { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreatedFieldBuilder() { if (createdBuilder_ == null) { createdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCreated(), getParentForChildren(), isClean()); created_ = null; } return createdBuilder_; } private com.google.protobuf.Timestamp updated_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedBuilder_; /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return Whether the updated field is set. */ public boolean hasUpdated() { return updatedBuilder_ != null || updated_ != null; } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The updated. */ public com.google.protobuf.Timestamp getUpdated() { if (updatedBuilder_ == null) { return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_; } else { return updatedBuilder_.getMessage(); } } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder setUpdated(com.google.protobuf.Timestamp value) { if (updatedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } updated_ = value; onChanged(); } else { updatedBuilder_.setMessage(value); } return this; } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder setUpdated( com.google.protobuf.Timestamp.Builder builderForValue) { if (updatedBuilder_ == null) { updated_ = builderForValue.build(); onChanged(); } else { updatedBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder mergeUpdated(com.google.protobuf.Timestamp value) { if (updatedBuilder_ == null) { if (updated_ != null) { updated_ = com.google.protobuf.Timestamp.newBuilder(updated_).mergeFrom(value).buildPartial(); } else { updated_ = value; } onChanged(); } else { updatedBuilder_.mergeFrom(value); } return this; } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder clearUpdated() { if (updatedBuilder_ == null) { updated_ = null; onChanged(); } else { updated_ = null; updatedBuilder_ = null; } return this; } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.google.protobuf.Timestamp.Builder getUpdatedBuilder() { onChanged(); return getUpdatedFieldBuilder().getBuilder(); } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder() { if (updatedBuilder_ != null) { return updatedBuilder_.getMessageOrBuilder(); } else { return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_; } } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdatedFieldBuilder() { if (updatedBuilder_ == null) { updatedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getUpdated(), getParentForChildren(), isClean()); updated_ = null; } return updatedBuilder_; } @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:event_tickets.Ticket) } // @@protoc_insertion_point(class_scope:event_tickets.Ticket) private static final com.passkit.grpc.EventTickets.TicketOuterClass.Ticket DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.Ticket(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Ticket getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Ticket parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Ticket(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.EventTickets.TicketOuterClass.Ticket getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ValidateDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.ValidateDetails) com.google.protobuf.MessageOrBuilder { /** *
     * The date the ticket was validated, auto set by the system when the validate endpoint is called. Tickets can be validated multiple times. Not writable.
     * 
* * .google.protobuf.Timestamp validateDate = 1; * @return Whether the validateDate field is set. */ boolean hasValidateDate(); /** *
     * The date the ticket was validated, auto set by the system when the validate endpoint is called. Tickets can be validated multiple times. Not writable.
     * 
* * .google.protobuf.Timestamp validateDate = 1; * @return The validateDate. */ com.google.protobuf.Timestamp getValidateDate(); /** *
     * The date the ticket was validated, auto set by the system when the validate endpoint is called. Tickets can be validated multiple times. Not writable.
     * 
* * .google.protobuf.Timestamp validateDate = 1; */ com.google.protobuf.TimestampOrBuilder getValidateDateOrBuilder(); /** *
     * Optional redemption lat.
     * 
* * double lat = 2; * @return The lat. */ double getLat(); /** *
     * Optional redemption lon.
     * 
* * double lon = 3; * @return The lon. */ double getLon(); /** *
     * Optional redemption alt.
     * 
* * int32 alt = 4; * @return The alt. */ int getAlt(); /** *
     * Optional validate user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of validation.
     * 
* * string validateSource = 6; * @return The validateSource. */ java.lang.String getValidateSource(); /** *
     * Optional validate user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of validation.
     * 
* * string validateSource = 6; * @return The bytes for validateSource. */ com.google.protobuf.ByteString getValidateSourceBytes(); /** *
     * Optional validate reference, can be used for staff name, username, scanner ID, location ID, etc.
     * 
* * string validateReference = 7; * @return The validateReference. */ java.lang.String getValidateReference(); /** *
     * Optional validate reference, can be used for staff name, username, scanner ID, location ID, etc.
     * 
* * string validateReference = 7; * @return The bytes for validateReference. */ com.google.protobuf.ByteString getValidateReferenceBytes(); } /** * Protobuf type {@code event_tickets.ValidateDetails} */ public static final class ValidateDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.ValidateDetails) ValidateDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use ValidateDetails.newBuilder() to construct. private ValidateDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ValidateDetails() { validateSource_ = ""; validateReference_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ValidateDetails(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ValidateDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 10: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (validateDate_ != null) { subBuilder = validateDate_.toBuilder(); } validateDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(validateDate_); validateDate_ = subBuilder.buildPartial(); } break; } case 17: { lat_ = input.readDouble(); break; } case 25: { lon_ = input.readDouble(); break; } case 32: { alt_ = input.readInt32(); break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); validateSource_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); validateReference_ = s; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_ValidateDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_ValidateDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.class, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder.class); } public static final int VALIDATEDATE_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp validateDate_; /** *
     * The date the ticket was validated, auto set by the system when the validate endpoint is called. Tickets can be validated multiple times. Not writable.
     * 
* * .google.protobuf.Timestamp validateDate = 1; * @return Whether the validateDate field is set. */ @java.lang.Override public boolean hasValidateDate() { return validateDate_ != null; } /** *
     * The date the ticket was validated, auto set by the system when the validate endpoint is called. Tickets can be validated multiple times. Not writable.
     * 
* * .google.protobuf.Timestamp validateDate = 1; * @return The validateDate. */ @java.lang.Override public com.google.protobuf.Timestamp getValidateDate() { return validateDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : validateDate_; } /** *
     * The date the ticket was validated, auto set by the system when the validate endpoint is called. Tickets can be validated multiple times. Not writable.
     * 
* * .google.protobuf.Timestamp validateDate = 1; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getValidateDateOrBuilder() { return getValidateDate(); } public static final int LAT_FIELD_NUMBER = 2; private double lat_; /** *
     * Optional redemption lat.
     * 
* * double lat = 2; * @return The lat. */ @java.lang.Override public double getLat() { return lat_; } public static final int LON_FIELD_NUMBER = 3; private double lon_; /** *
     * Optional redemption lon.
     * 
* * double lon = 3; * @return The lon. */ @java.lang.Override public double getLon() { return lon_; } public static final int ALT_FIELD_NUMBER = 4; private int alt_; /** *
     * Optional redemption alt.
     * 
* * int32 alt = 4; * @return The alt. */ @java.lang.Override public int getAlt() { return alt_; } public static final int VALIDATESOURCE_FIELD_NUMBER = 6; private volatile java.lang.Object validateSource_; /** *
     * Optional validate user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of validation.
     * 
* * string validateSource = 6; * @return The validateSource. */ @java.lang.Override public java.lang.String getValidateSource() { java.lang.Object ref = validateSource_; 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(); validateSource_ = s; return s; } } /** *
     * Optional validate user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of validation.
     * 
* * string validateSource = 6; * @return The bytes for validateSource. */ @java.lang.Override public com.google.protobuf.ByteString getValidateSourceBytes() { java.lang.Object ref = validateSource_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); validateSource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VALIDATEREFERENCE_FIELD_NUMBER = 7; private volatile java.lang.Object validateReference_; /** *
     * Optional validate reference, can be used for staff name, username, scanner ID, location ID, etc.
     * 
* * string validateReference = 7; * @return The validateReference. */ @java.lang.Override public java.lang.String getValidateReference() { java.lang.Object ref = validateReference_; 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(); validateReference_ = s; return s; } } /** *
     * Optional validate reference, can be used for staff name, username, scanner ID, location ID, etc.
     * 
* * string validateReference = 7; * @return The bytes for validateReference. */ @java.lang.Override public com.google.protobuf.ByteString getValidateReferenceBytes() { java.lang.Object ref = validateReference_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); validateReference_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (validateDate_ != null) { output.writeMessage(1, getValidateDate()); } if (lat_ != 0D) { output.writeDouble(2, lat_); } if (lon_ != 0D) { output.writeDouble(3, lon_); } if (alt_ != 0) { output.writeInt32(4, alt_); } if (!getValidateSourceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, validateSource_); } if (!getValidateReferenceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, validateReference_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (validateDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getValidateDate()); } if (lat_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, lat_); } if (lon_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, lon_); } if (alt_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, alt_); } if (!getValidateSourceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, validateSource_); } if (!getValidateReferenceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, validateReference_); } 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.EventTickets.TicketOuterClass.ValidateDetails)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails other = (com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails) obj; if (hasValidateDate() != other.hasValidateDate()) return false; if (hasValidateDate()) { if (!getValidateDate() .equals(other.getValidateDate())) return false; } if (java.lang.Double.doubleToLongBits(getLat()) != java.lang.Double.doubleToLongBits( other.getLat())) return false; if (java.lang.Double.doubleToLongBits(getLon()) != java.lang.Double.doubleToLongBits( other.getLon())) return false; if (getAlt() != other.getAlt()) return false; if (!getValidateSource() .equals(other.getValidateSource())) return false; if (!getValidateReference() .equals(other.getValidateReference())) 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(); if (hasValidateDate()) { hash = (37 * hash) + VALIDATEDATE_FIELD_NUMBER; hash = (53 * hash) + getValidateDate().hashCode(); } hash = (37 * hash) + LAT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLat())); hash = (37 * hash) + LON_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLon())); hash = (37 * hash) + ALT_FIELD_NUMBER; hash = (53 * hash) + getAlt(); hash = (37 * hash) + VALIDATESOURCE_FIELD_NUMBER; hash = (53 * hash) + getValidateSource().hashCode(); hash = (37 * hash) + VALIDATEREFERENCE_FIELD_NUMBER; hash = (53 * hash) + getValidateReference().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails 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.EventTickets.TicketOuterClass.ValidateDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails 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.EventTickets.TicketOuterClass.ValidateDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails 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.EventTickets.TicketOuterClass.ValidateDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails 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.EventTickets.TicketOuterClass.ValidateDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails 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.EventTickets.TicketOuterClass.ValidateDetails 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; } /** * Protobuf type {@code event_tickets.ValidateDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.ValidateDetails) com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_ValidateDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_ValidateDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.class, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.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(); if (validateDateBuilder_ == null) { validateDate_ = null; } else { validateDate_ = null; validateDateBuilder_ = null; } lat_ = 0D; lon_ = 0D; alt_ = 0; validateSource_ = ""; validateReference_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_ValidateDetails_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails build() { com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails result = new com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails(this); if (validateDateBuilder_ == null) { result.validateDate_ = validateDate_; } else { result.validateDate_ = validateDateBuilder_.build(); } result.lat_ = lat_; result.lon_ = lon_; result.alt_ = alt_; result.validateSource_ = validateSource_; result.validateReference_ = validateReference_; 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.EventTickets.TicketOuterClass.ValidateDetails) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.getDefaultInstance()) return this; if (other.hasValidateDate()) { mergeValidateDate(other.getValidateDate()); } if (other.getLat() != 0D) { setLat(other.getLat()); } if (other.getLon() != 0D) { setLon(other.getLon()); } if (other.getAlt() != 0) { setAlt(other.getAlt()); } if (!other.getValidateSource().isEmpty()) { validateSource_ = other.validateSource_; onChanged(); } if (!other.getValidateReference().isEmpty()) { validateReference_ = other.validateReference_; onChanged(); } 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.EventTickets.TicketOuterClass.ValidateDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.Timestamp validateDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> validateDateBuilder_; /** *
       * The date the ticket was validated, auto set by the system when the validate endpoint is called. Tickets can be validated multiple times. Not writable.
       * 
* * .google.protobuf.Timestamp validateDate = 1; * @return Whether the validateDate field is set. */ public boolean hasValidateDate() { return validateDateBuilder_ != null || validateDate_ != null; } /** *
       * The date the ticket was validated, auto set by the system when the validate endpoint is called. Tickets can be validated multiple times. Not writable.
       * 
* * .google.protobuf.Timestamp validateDate = 1; * @return The validateDate. */ public com.google.protobuf.Timestamp getValidateDate() { if (validateDateBuilder_ == null) { return validateDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : validateDate_; } else { return validateDateBuilder_.getMessage(); } } /** *
       * The date the ticket was validated, auto set by the system when the validate endpoint is called. Tickets can be validated multiple times. Not writable.
       * 
* * .google.protobuf.Timestamp validateDate = 1; */ public Builder setValidateDate(com.google.protobuf.Timestamp value) { if (validateDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } validateDate_ = value; onChanged(); } else { validateDateBuilder_.setMessage(value); } return this; } /** *
       * The date the ticket was validated, auto set by the system when the validate endpoint is called. Tickets can be validated multiple times. Not writable.
       * 
* * .google.protobuf.Timestamp validateDate = 1; */ public Builder setValidateDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (validateDateBuilder_ == null) { validateDate_ = builderForValue.build(); onChanged(); } else { validateDateBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the ticket was validated, auto set by the system when the validate endpoint is called. Tickets can be validated multiple times. Not writable.
       * 
* * .google.protobuf.Timestamp validateDate = 1; */ public Builder mergeValidateDate(com.google.protobuf.Timestamp value) { if (validateDateBuilder_ == null) { if (validateDate_ != null) { validateDate_ = com.google.protobuf.Timestamp.newBuilder(validateDate_).mergeFrom(value).buildPartial(); } else { validateDate_ = value; } onChanged(); } else { validateDateBuilder_.mergeFrom(value); } return this; } /** *
       * The date the ticket was validated, auto set by the system when the validate endpoint is called. Tickets can be validated multiple times. Not writable.
       * 
* * .google.protobuf.Timestamp validateDate = 1; */ public Builder clearValidateDate() { if (validateDateBuilder_ == null) { validateDate_ = null; onChanged(); } else { validateDate_ = null; validateDateBuilder_ = null; } return this; } /** *
       * The date the ticket was validated, auto set by the system when the validate endpoint is called. Tickets can be validated multiple times. Not writable.
       * 
* * .google.protobuf.Timestamp validateDate = 1; */ public com.google.protobuf.Timestamp.Builder getValidateDateBuilder() { onChanged(); return getValidateDateFieldBuilder().getBuilder(); } /** *
       * The date the ticket was validated, auto set by the system when the validate endpoint is called. Tickets can be validated multiple times. Not writable.
       * 
* * .google.protobuf.Timestamp validateDate = 1; */ public com.google.protobuf.TimestampOrBuilder getValidateDateOrBuilder() { if (validateDateBuilder_ != null) { return validateDateBuilder_.getMessageOrBuilder(); } else { return validateDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : validateDate_; } } /** *
       * The date the ticket was validated, auto set by the system when the validate endpoint is called. Tickets can be validated multiple times. Not writable.
       * 
* * .google.protobuf.Timestamp validateDate = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getValidateDateFieldBuilder() { if (validateDateBuilder_ == null) { validateDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getValidateDate(), getParentForChildren(), isClean()); validateDate_ = null; } return validateDateBuilder_; } private double lat_ ; /** *
       * Optional redemption lat.
       * 
* * double lat = 2; * @return The lat. */ @java.lang.Override public double getLat() { return lat_; } /** *
       * Optional redemption lat.
       * 
* * double lat = 2; * @param value The lat to set. * @return This builder for chaining. */ public Builder setLat(double value) { lat_ = value; onChanged(); return this; } /** *
       * Optional redemption lat.
       * 
* * double lat = 2; * @return This builder for chaining. */ public Builder clearLat() { lat_ = 0D; onChanged(); return this; } private double lon_ ; /** *
       * Optional redemption lon.
       * 
* * double lon = 3; * @return The lon. */ @java.lang.Override public double getLon() { return lon_; } /** *
       * Optional redemption lon.
       * 
* * double lon = 3; * @param value The lon to set. * @return This builder for chaining. */ public Builder setLon(double value) { lon_ = value; onChanged(); return this; } /** *
       * Optional redemption lon.
       * 
* * double lon = 3; * @return This builder for chaining. */ public Builder clearLon() { lon_ = 0D; onChanged(); return this; } private int alt_ ; /** *
       * Optional redemption alt.
       * 
* * int32 alt = 4; * @return The alt. */ @java.lang.Override public int getAlt() { return alt_; } /** *
       * Optional redemption alt.
       * 
* * int32 alt = 4; * @param value The alt to set. * @return This builder for chaining. */ public Builder setAlt(int value) { alt_ = value; onChanged(); return this; } /** *
       * Optional redemption alt.
       * 
* * int32 alt = 4; * @return This builder for chaining. */ public Builder clearAlt() { alt_ = 0; onChanged(); return this; } private java.lang.Object validateSource_ = ""; /** *
       * Optional validate user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of validation.
       * 
* * string validateSource = 6; * @return The validateSource. */ public java.lang.String getValidateSource() { java.lang.Object ref = validateSource_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validateSource_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional validate user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of validation.
       * 
* * string validateSource = 6; * @return The bytes for validateSource. */ public com.google.protobuf.ByteString getValidateSourceBytes() { java.lang.Object ref = validateSource_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); validateSource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional validate user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of validation.
       * 
* * string validateSource = 6; * @param value The validateSource to set. * @return This builder for chaining. */ public Builder setValidateSource( java.lang.String value) { if (value == null) { throw new NullPointerException(); } validateSource_ = value; onChanged(); return this; } /** *
       * Optional validate user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of validation.
       * 
* * string validateSource = 6; * @return This builder for chaining. */ public Builder clearValidateSource() { validateSource_ = getDefaultInstance().getValidateSource(); onChanged(); return this; } /** *
       * Optional validate user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of validation.
       * 
* * string validateSource = 6; * @param value The bytes for validateSource to set. * @return This builder for chaining. */ public Builder setValidateSourceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); validateSource_ = value; onChanged(); return this; } private java.lang.Object validateReference_ = ""; /** *
       * Optional validate reference, can be used for staff name, username, scanner ID, location ID, etc.
       * 
* * string validateReference = 7; * @return The validateReference. */ public java.lang.String getValidateReference() { java.lang.Object ref = validateReference_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validateReference_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional validate reference, can be used for staff name, username, scanner ID, location ID, etc.
       * 
* * string validateReference = 7; * @return The bytes for validateReference. */ public com.google.protobuf.ByteString getValidateReferenceBytes() { java.lang.Object ref = validateReference_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); validateReference_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional validate reference, can be used for staff name, username, scanner ID, location ID, etc.
       * 
* * string validateReference = 7; * @param value The validateReference to set. * @return This builder for chaining. */ public Builder setValidateReference( java.lang.String value) { if (value == null) { throw new NullPointerException(); } validateReference_ = value; onChanged(); return this; } /** *
       * Optional validate reference, can be used for staff name, username, scanner ID, location ID, etc.
       * 
* * string validateReference = 7; * @return This builder for chaining. */ public Builder clearValidateReference() { validateReference_ = getDefaultInstance().getValidateReference(); onChanged(); return this; } /** *
       * Optional validate reference, can be used for staff name, username, scanner ID, location ID, etc.
       * 
* * string validateReference = 7; * @param value The bytes for validateReference to set. * @return This builder for chaining. */ public Builder setValidateReferenceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); validateReference_ = value; 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:event_tickets.ValidateDetails) } // @@protoc_insertion_point(class_scope:event_tickets.ValidateDetails) private static final com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ValidateDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ValidateDetails(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.EventTickets.TicketOuterClass.ValidateDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RedemptionDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.RedemptionDetails) com.google.protobuf.MessageOrBuilder { /** *
     * The date the ticket was redeemed, auto set by the system when the redeem endpoint is called. Not writable.
     * 
* * .google.protobuf.Timestamp redemptionDate = 1; * @return Whether the redemptionDate field is set. */ boolean hasRedemptionDate(); /** *
     * The date the ticket was redeemed, auto set by the system when the redeem endpoint is called. Not writable.
     * 
* * .google.protobuf.Timestamp redemptionDate = 1; * @return The redemptionDate. */ com.google.protobuf.Timestamp getRedemptionDate(); /** *
     * The date the ticket was redeemed, auto set by the system when the redeem endpoint is called. Not writable.
     * 
* * .google.protobuf.Timestamp redemptionDate = 1; */ com.google.protobuf.TimestampOrBuilder getRedemptionDateOrBuilder(); /** *
     * Optional redemption lat.
     * 
* * double lat = 2; * @return The lat. */ double getLat(); /** *
     * Optional redemption lon.
     * 
* * double lon = 3; * @return The lon. */ double getLon(); /** *
     * Optional redemption alt.
     * 
* * int32 alt = 4; * @return The alt. */ int getAlt(); /** *
     * Optional redemption user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of redemption.
     * 
* * string redemptionSource = 6; * @return The redemptionSource. */ java.lang.String getRedemptionSource(); /** *
     * Optional redemption user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of redemption.
     * 
* * string redemptionSource = 6; * @return The bytes for redemptionSource. */ com.google.protobuf.ByteString getRedemptionSourceBytes(); /** *
     * Optional redemption reference, can be used for staff name, username, scanner ID, location ID, etc.
     * 
* * string redemptionReference = 7; * @return The redemptionReference. */ java.lang.String getRedemptionReference(); /** *
     * Optional redemption reference, can be used for staff name, username, scanner ID, location ID, etc.
     * 
* * string redemptionReference = 7; * @return The bytes for redemptionReference. */ com.google.protobuf.ByteString getRedemptionReferenceBytes(); } /** * Protobuf type {@code event_tickets.RedemptionDetails} */ public static final class RedemptionDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.RedemptionDetails) RedemptionDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use RedemptionDetails.newBuilder() to construct. private RedemptionDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RedemptionDetails() { redemptionSource_ = ""; redemptionReference_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RedemptionDetails(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RedemptionDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 10: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (redemptionDate_ != null) { subBuilder = redemptionDate_.toBuilder(); } redemptionDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(redemptionDate_); redemptionDate_ = subBuilder.buildPartial(); } break; } case 17: { lat_ = input.readDouble(); break; } case 25: { lon_ = input.readDouble(); break; } case 32: { alt_ = input.readInt32(); break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); redemptionSource_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); redemptionReference_ = s; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_RedemptionDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_RedemptionDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.class, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder.class); } public static final int REDEMPTIONDATE_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp redemptionDate_; /** *
     * The date the ticket was redeemed, auto set by the system when the redeem endpoint is called. Not writable.
     * 
* * .google.protobuf.Timestamp redemptionDate = 1; * @return Whether the redemptionDate field is set. */ @java.lang.Override public boolean hasRedemptionDate() { return redemptionDate_ != null; } /** *
     * The date the ticket was redeemed, auto set by the system when the redeem endpoint is called. Not writable.
     * 
* * .google.protobuf.Timestamp redemptionDate = 1; * @return The redemptionDate. */ @java.lang.Override public com.google.protobuf.Timestamp getRedemptionDate() { return redemptionDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : redemptionDate_; } /** *
     * The date the ticket was redeemed, auto set by the system when the redeem endpoint is called. Not writable.
     * 
* * .google.protobuf.Timestamp redemptionDate = 1; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRedemptionDateOrBuilder() { return getRedemptionDate(); } public static final int LAT_FIELD_NUMBER = 2; private double lat_; /** *
     * Optional redemption lat.
     * 
* * double lat = 2; * @return The lat. */ @java.lang.Override public double getLat() { return lat_; } public static final int LON_FIELD_NUMBER = 3; private double lon_; /** *
     * Optional redemption lon.
     * 
* * double lon = 3; * @return The lon. */ @java.lang.Override public double getLon() { return lon_; } public static final int ALT_FIELD_NUMBER = 4; private int alt_; /** *
     * Optional redemption alt.
     * 
* * int32 alt = 4; * @return The alt. */ @java.lang.Override public int getAlt() { return alt_; } public static final int REDEMPTIONSOURCE_FIELD_NUMBER = 6; private volatile java.lang.Object redemptionSource_; /** *
     * Optional redemption user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of redemption.
     * 
* * string redemptionSource = 6; * @return The redemptionSource. */ @java.lang.Override public java.lang.String getRedemptionSource() { java.lang.Object ref = redemptionSource_; 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(); redemptionSource_ = s; return s; } } /** *
     * Optional redemption user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of redemption.
     * 
* * string redemptionSource = 6; * @return The bytes for redemptionSource. */ @java.lang.Override public com.google.protobuf.ByteString getRedemptionSourceBytes() { java.lang.Object ref = redemptionSource_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); redemptionSource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REDEMPTIONREFERENCE_FIELD_NUMBER = 7; private volatile java.lang.Object redemptionReference_; /** *
     * Optional redemption reference, can be used for staff name, username, scanner ID, location ID, etc.
     * 
* * string redemptionReference = 7; * @return The redemptionReference. */ @java.lang.Override public java.lang.String getRedemptionReference() { java.lang.Object ref = redemptionReference_; 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(); redemptionReference_ = s; return s; } } /** *
     * Optional redemption reference, can be used for staff name, username, scanner ID, location ID, etc.
     * 
* * string redemptionReference = 7; * @return The bytes for redemptionReference. */ @java.lang.Override public com.google.protobuf.ByteString getRedemptionReferenceBytes() { java.lang.Object ref = redemptionReference_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); redemptionReference_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (redemptionDate_ != null) { output.writeMessage(1, getRedemptionDate()); } if (lat_ != 0D) { output.writeDouble(2, lat_); } if (lon_ != 0D) { output.writeDouble(3, lon_); } if (alt_ != 0) { output.writeInt32(4, alt_); } if (!getRedemptionSourceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, redemptionSource_); } if (!getRedemptionReferenceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, redemptionReference_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (redemptionDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRedemptionDate()); } if (lat_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, lat_); } if (lon_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, lon_); } if (alt_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, alt_); } if (!getRedemptionSourceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, redemptionSource_); } if (!getRedemptionReferenceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, redemptionReference_); } 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.EventTickets.TicketOuterClass.RedemptionDetails)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails other = (com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails) obj; if (hasRedemptionDate() != other.hasRedemptionDate()) return false; if (hasRedemptionDate()) { if (!getRedemptionDate() .equals(other.getRedemptionDate())) return false; } if (java.lang.Double.doubleToLongBits(getLat()) != java.lang.Double.doubleToLongBits( other.getLat())) return false; if (java.lang.Double.doubleToLongBits(getLon()) != java.lang.Double.doubleToLongBits( other.getLon())) return false; if (getAlt() != other.getAlt()) return false; if (!getRedemptionSource() .equals(other.getRedemptionSource())) return false; if (!getRedemptionReference() .equals(other.getRedemptionReference())) 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(); if (hasRedemptionDate()) { hash = (37 * hash) + REDEMPTIONDATE_FIELD_NUMBER; hash = (53 * hash) + getRedemptionDate().hashCode(); } hash = (37 * hash) + LAT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLat())); hash = (37 * hash) + LON_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLon())); hash = (37 * hash) + ALT_FIELD_NUMBER; hash = (53 * hash) + getAlt(); hash = (37 * hash) + REDEMPTIONSOURCE_FIELD_NUMBER; hash = (53 * hash) + getRedemptionSource().hashCode(); hash = (37 * hash) + REDEMPTIONREFERENCE_FIELD_NUMBER; hash = (53 * hash) + getRedemptionReference().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails 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.EventTickets.TicketOuterClass.RedemptionDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails 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.EventTickets.TicketOuterClass.RedemptionDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails 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.EventTickets.TicketOuterClass.RedemptionDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails 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.EventTickets.TicketOuterClass.RedemptionDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails 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.EventTickets.TicketOuterClass.RedemptionDetails 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; } /** * Protobuf type {@code event_tickets.RedemptionDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.RedemptionDetails) com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_RedemptionDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_RedemptionDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.class, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.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(); if (redemptionDateBuilder_ == null) { redemptionDate_ = null; } else { redemptionDate_ = null; redemptionDateBuilder_ = null; } lat_ = 0D; lon_ = 0D; alt_ = 0; redemptionSource_ = ""; redemptionReference_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_RedemptionDetails_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails build() { com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails result = new com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails(this); if (redemptionDateBuilder_ == null) { result.redemptionDate_ = redemptionDate_; } else { result.redemptionDate_ = redemptionDateBuilder_.build(); } result.lat_ = lat_; result.lon_ = lon_; result.alt_ = alt_; result.redemptionSource_ = redemptionSource_; result.redemptionReference_ = redemptionReference_; 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.EventTickets.TicketOuterClass.RedemptionDetails) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.getDefaultInstance()) return this; if (other.hasRedemptionDate()) { mergeRedemptionDate(other.getRedemptionDate()); } if (other.getLat() != 0D) { setLat(other.getLat()); } if (other.getLon() != 0D) { setLon(other.getLon()); } if (other.getAlt() != 0) { setAlt(other.getAlt()); } if (!other.getRedemptionSource().isEmpty()) { redemptionSource_ = other.redemptionSource_; onChanged(); } if (!other.getRedemptionReference().isEmpty()) { redemptionReference_ = other.redemptionReference_; onChanged(); } 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.EventTickets.TicketOuterClass.RedemptionDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.Timestamp redemptionDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> redemptionDateBuilder_; /** *
       * The date the ticket was redeemed, auto set by the system when the redeem endpoint is called. Not writable.
       * 
* * .google.protobuf.Timestamp redemptionDate = 1; * @return Whether the redemptionDate field is set. */ public boolean hasRedemptionDate() { return redemptionDateBuilder_ != null || redemptionDate_ != null; } /** *
       * The date the ticket was redeemed, auto set by the system when the redeem endpoint is called. Not writable.
       * 
* * .google.protobuf.Timestamp redemptionDate = 1; * @return The redemptionDate. */ public com.google.protobuf.Timestamp getRedemptionDate() { if (redemptionDateBuilder_ == null) { return redemptionDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : redemptionDate_; } else { return redemptionDateBuilder_.getMessage(); } } /** *
       * The date the ticket was redeemed, auto set by the system when the redeem endpoint is called. Not writable.
       * 
* * .google.protobuf.Timestamp redemptionDate = 1; */ public Builder setRedemptionDate(com.google.protobuf.Timestamp value) { if (redemptionDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } redemptionDate_ = value; onChanged(); } else { redemptionDateBuilder_.setMessage(value); } return this; } /** *
       * The date the ticket was redeemed, auto set by the system when the redeem endpoint is called. Not writable.
       * 
* * .google.protobuf.Timestamp redemptionDate = 1; */ public Builder setRedemptionDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (redemptionDateBuilder_ == null) { redemptionDate_ = builderForValue.build(); onChanged(); } else { redemptionDateBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the ticket was redeemed, auto set by the system when the redeem endpoint is called. Not writable.
       * 
* * .google.protobuf.Timestamp redemptionDate = 1; */ public Builder mergeRedemptionDate(com.google.protobuf.Timestamp value) { if (redemptionDateBuilder_ == null) { if (redemptionDate_ != null) { redemptionDate_ = com.google.protobuf.Timestamp.newBuilder(redemptionDate_).mergeFrom(value).buildPartial(); } else { redemptionDate_ = value; } onChanged(); } else { redemptionDateBuilder_.mergeFrom(value); } return this; } /** *
       * The date the ticket was redeemed, auto set by the system when the redeem endpoint is called. Not writable.
       * 
* * .google.protobuf.Timestamp redemptionDate = 1; */ public Builder clearRedemptionDate() { if (redemptionDateBuilder_ == null) { redemptionDate_ = null; onChanged(); } else { redemptionDate_ = null; redemptionDateBuilder_ = null; } return this; } /** *
       * The date the ticket was redeemed, auto set by the system when the redeem endpoint is called. Not writable.
       * 
* * .google.protobuf.Timestamp redemptionDate = 1; */ public com.google.protobuf.Timestamp.Builder getRedemptionDateBuilder() { onChanged(); return getRedemptionDateFieldBuilder().getBuilder(); } /** *
       * The date the ticket was redeemed, auto set by the system when the redeem endpoint is called. Not writable.
       * 
* * .google.protobuf.Timestamp redemptionDate = 1; */ public com.google.protobuf.TimestampOrBuilder getRedemptionDateOrBuilder() { if (redemptionDateBuilder_ != null) { return redemptionDateBuilder_.getMessageOrBuilder(); } else { return redemptionDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : redemptionDate_; } } /** *
       * The date the ticket was redeemed, auto set by the system when the redeem endpoint is called. Not writable.
       * 
* * .google.protobuf.Timestamp redemptionDate = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRedemptionDateFieldBuilder() { if (redemptionDateBuilder_ == null) { redemptionDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getRedemptionDate(), getParentForChildren(), isClean()); redemptionDate_ = null; } return redemptionDateBuilder_; } private double lat_ ; /** *
       * Optional redemption lat.
       * 
* * double lat = 2; * @return The lat. */ @java.lang.Override public double getLat() { return lat_; } /** *
       * Optional redemption lat.
       * 
* * double lat = 2; * @param value The lat to set. * @return This builder for chaining. */ public Builder setLat(double value) { lat_ = value; onChanged(); return this; } /** *
       * Optional redemption lat.
       * 
* * double lat = 2; * @return This builder for chaining. */ public Builder clearLat() { lat_ = 0D; onChanged(); return this; } private double lon_ ; /** *
       * Optional redemption lon.
       * 
* * double lon = 3; * @return The lon. */ @java.lang.Override public double getLon() { return lon_; } /** *
       * Optional redemption lon.
       * 
* * double lon = 3; * @param value The lon to set. * @return This builder for chaining. */ public Builder setLon(double value) { lon_ = value; onChanged(); return this; } /** *
       * Optional redemption lon.
       * 
* * double lon = 3; * @return This builder for chaining. */ public Builder clearLon() { lon_ = 0D; onChanged(); return this; } private int alt_ ; /** *
       * Optional redemption alt.
       * 
* * int32 alt = 4; * @return The alt. */ @java.lang.Override public int getAlt() { return alt_; } /** *
       * Optional redemption alt.
       * 
* * int32 alt = 4; * @param value The alt to set. * @return This builder for chaining. */ public Builder setAlt(int value) { alt_ = value; onChanged(); return this; } /** *
       * Optional redemption alt.
       * 
* * int32 alt = 4; * @return This builder for chaining. */ public Builder clearAlt() { alt_ = 0; onChanged(); return this; } private java.lang.Object redemptionSource_ = ""; /** *
       * Optional redemption user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of redemption.
       * 
* * string redemptionSource = 6; * @return The redemptionSource. */ public java.lang.String getRedemptionSource() { java.lang.Object ref = redemptionSource_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); redemptionSource_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional redemption user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of redemption.
       * 
* * string redemptionSource = 6; * @return The bytes for redemptionSource. */ public com.google.protobuf.ByteString getRedemptionSourceBytes() { java.lang.Object ref = redemptionSource_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); redemptionSource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional redemption user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of redemption.
       * 
* * string redemptionSource = 6; * @param value The redemptionSource to set. * @return This builder for chaining. */ public Builder setRedemptionSource( java.lang.String value) { if (value == null) { throw new NullPointerException(); } redemptionSource_ = value; onChanged(); return this; } /** *
       * Optional redemption user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of redemption.
       * 
* * string redemptionSource = 6; * @return This builder for chaining. */ public Builder clearRedemptionSource() { redemptionSource_ = getDefaultInstance().getRedemptionSource(); onChanged(); return this; } /** *
       * Optional redemption user agent, can be used in case where a Merchant uses the PassKit scanning solution combined with their own scanning software and wants to differentiate the source of redemption.
       * 
* * string redemptionSource = 6; * @param value The bytes for redemptionSource to set. * @return This builder for chaining. */ public Builder setRedemptionSourceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); redemptionSource_ = value; onChanged(); return this; } private java.lang.Object redemptionReference_ = ""; /** *
       * Optional redemption reference, can be used for staff name, username, scanner ID, location ID, etc.
       * 
* * string redemptionReference = 7; * @return The redemptionReference. */ public java.lang.String getRedemptionReference() { java.lang.Object ref = redemptionReference_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); redemptionReference_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional redemption reference, can be used for staff name, username, scanner ID, location ID, etc.
       * 
* * string redemptionReference = 7; * @return The bytes for redemptionReference. */ public com.google.protobuf.ByteString getRedemptionReferenceBytes() { java.lang.Object ref = redemptionReference_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); redemptionReference_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional redemption reference, can be used for staff name, username, scanner ID, location ID, etc.
       * 
* * string redemptionReference = 7; * @param value The redemptionReference to set. * @return This builder for chaining. */ public Builder setRedemptionReference( java.lang.String value) { if (value == null) { throw new NullPointerException(); } redemptionReference_ = value; onChanged(); return this; } /** *
       * Optional redemption reference, can be used for staff name, username, scanner ID, location ID, etc.
       * 
* * string redemptionReference = 7; * @return This builder for chaining. */ public Builder clearRedemptionReference() { redemptionReference_ = getDefaultInstance().getRedemptionReference(); onChanged(); return this; } /** *
       * Optional redemption reference, can be used for staff name, username, scanner ID, location ID, etc.
       * 
* * string redemptionReference = 7; * @param value The bytes for redemptionReference to set. * @return This builder for chaining. */ public Builder setRedemptionReferenceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); redemptionReference_ = value; 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:event_tickets.RedemptionDetails) } // @@protoc_insertion_point(class_scope:event_tickets.RedemptionDetails) private static final com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RedemptionDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RedemptionDetails(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.EventTickets.TicketOuterClass.RedemptionDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FaceValueOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.FaceValue) com.google.protobuf.MessageOrBuilder { /** *
     * The ticket amount in cents.
     * 
* * float amount = 1; * @return The amount. */ float getAmount(); /** *
     * The ticket currency.
     * 
* * string currency = 2; * @return The currency. */ java.lang.String getCurrency(); /** *
     * The ticket currency.
     * 
* * string currency = 2; * @return The bytes for currency. */ com.google.protobuf.ByteString getCurrencyBytes(); } /** * Protobuf type {@code event_tickets.FaceValue} */ public static final class FaceValue extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.FaceValue) FaceValueOrBuilder { private static final long serialVersionUID = 0L; // Use FaceValue.newBuilder() to construct. private FaceValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FaceValue() { currency_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FaceValue(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FaceValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 13: { amount_ = input.readFloat(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); currency_ = s; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_FaceValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_FaceValue_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.class, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder.class); } public static final int AMOUNT_FIELD_NUMBER = 1; private float amount_; /** *
     * The ticket amount in cents.
     * 
* * float amount = 1; * @return The amount. */ @java.lang.Override public float getAmount() { return amount_; } public static final int CURRENCY_FIELD_NUMBER = 2; private volatile java.lang.Object currency_; /** *
     * The ticket currency.
     * 
* * string currency = 2; * @return The currency. */ @java.lang.Override public java.lang.String getCurrency() { java.lang.Object ref = currency_; 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(); currency_ = s; return s; } } /** *
     * The ticket currency.
     * 
* * string currency = 2; * @return The bytes for currency. */ @java.lang.Override public com.google.protobuf.ByteString getCurrencyBytes() { java.lang.Object ref = currency_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); currency_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (amount_ != 0F) { output.writeFloat(1, amount_); } if (!getCurrencyBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, currency_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (amount_ != 0F) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(1, amount_); } if (!getCurrencyBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, currency_); } 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.EventTickets.TicketOuterClass.FaceValue)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue other = (com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue) obj; if (java.lang.Float.floatToIntBits(getAmount()) != java.lang.Float.floatToIntBits( other.getAmount())) return false; if (!getCurrency() .equals(other.getCurrency())) 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) + AMOUNT_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getAmount()); hash = (37 * hash) + CURRENCY_FIELD_NUMBER; hash = (53 * hash) + getCurrency().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue 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.EventTickets.TicketOuterClass.FaceValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue 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.EventTickets.TicketOuterClass.FaceValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue 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.EventTickets.TicketOuterClass.FaceValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue 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.EventTickets.TicketOuterClass.FaceValue parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue 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.EventTickets.TicketOuterClass.FaceValue 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; } /** * Protobuf type {@code event_tickets.FaceValue} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.FaceValue) com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_FaceValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_FaceValue_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.class, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.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(); amount_ = 0F; currency_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_FaceValue_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue build() { com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue result = new com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue(this); result.amount_ = amount_; result.currency_ = currency_; 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.EventTickets.TicketOuterClass.FaceValue) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.getDefaultInstance()) return this; if (other.getAmount() != 0F) { setAmount(other.getAmount()); } if (!other.getCurrency().isEmpty()) { currency_ = other.currency_; onChanged(); } 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.EventTickets.TicketOuterClass.FaceValue parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private float amount_ ; /** *
       * The ticket amount in cents.
       * 
* * float amount = 1; * @return The amount. */ @java.lang.Override public float getAmount() { return amount_; } /** *
       * The ticket amount in cents.
       * 
* * float amount = 1; * @param value The amount to set. * @return This builder for chaining. */ public Builder setAmount(float value) { amount_ = value; onChanged(); return this; } /** *
       * The ticket amount in cents.
       * 
* * float amount = 1; * @return This builder for chaining. */ public Builder clearAmount() { amount_ = 0F; onChanged(); return this; } private java.lang.Object currency_ = ""; /** *
       * The ticket currency.
       * 
* * string currency = 2; * @return The currency. */ public java.lang.String getCurrency() { java.lang.Object ref = currency_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currency_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The ticket currency.
       * 
* * string currency = 2; * @return The bytes for currency. */ public com.google.protobuf.ByteString getCurrencyBytes() { java.lang.Object ref = currency_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); currency_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The ticket currency.
       * 
* * string currency = 2; * @param value The currency to set. * @return This builder for chaining. */ public Builder setCurrency( java.lang.String value) { if (value == null) { throw new NullPointerException(); } currency_ = value; onChanged(); return this; } /** *
       * The ticket currency.
       * 
* * string currency = 2; * @return This builder for chaining. */ public Builder clearCurrency() { currency_ = getDefaultInstance().getCurrency(); onChanged(); return this; } /** *
       * The ticket currency.
       * 
* * string currency = 2; * @param value The bytes for currency to set. * @return This builder for chaining. */ public Builder setCurrencyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); currency_ = value; 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:event_tickets.FaceValue) } // @@protoc_insertion_point(class_scope:event_tickets.FaceValue) private static final com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FaceValue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FaceValue(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.EventTickets.TicketOuterClass.FaceValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SeatOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.Seat) com.google.protobuf.MessageOrBuilder { /** *
     * The seat number, such as "1", "2", "3", or any other seat identifier.
     * 
* * string seat = 1; * @return The seat. */ java.lang.String getSeat(); /** *
     * The seat number, such as "1", "2", "3", or any other seat identifier.
     * 
* * string seat = 1; * @return The bytes for seat. */ com.google.protobuf.ByteString getSeatBytes(); /** *
     * Localized seat number.
     * 
* * .io.LocalizedString localizedSeat = 2; * @return Whether the localizedSeat field is set. */ boolean hasLocalizedSeat(); /** *
     * Localized seat number.
     * 
* * .io.LocalizedString localizedSeat = 2; * @return The localizedSeat. */ com.passkit.grpc.Localization.LocalizedString getLocalizedSeat(); /** *
     * Localized seat number.
     * 
* * .io.LocalizedString localizedSeat = 2; */ com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedSeatOrBuilder(); /** *
     * The row of the seat, such as "1", E", "BB", or "A5".
     * 
* * string row = 3; * @return The row. */ java.lang.String getRow(); /** *
     * The row of the seat, such as "1", E", "BB", or "A5".
     * 
* * string row = 3; * @return The bytes for row. */ com.google.protobuf.ByteString getRowBytes(); /** *
     * Localized row.
     * 
* * .io.LocalizedString localizedRow = 4; * @return Whether the localizedRow field is set. */ boolean hasLocalizedRow(); /** *
     * Localized row.
     * 
* * .io.LocalizedString localizedRow = 4; * @return The localizedRow. */ com.passkit.grpc.Localization.LocalizedString getLocalizedRow(); /** *
     * Localized row.
     * 
* * .io.LocalizedString localizedRow = 4; */ com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedRowOrBuilder(); /** *
     * The section of the seat, such as "121".
     * 
* * string section = 5; * @return The section. */ java.lang.String getSection(); /** *
     * The section of the seat, such as "121".
     * 
* * string section = 5; * @return The bytes for section. */ com.google.protobuf.ByteString getSectionBytes(); /** *
     * Localized section.
     * 
* * .io.LocalizedString localizedSection = 6; * @return Whether the localizedSection field is set. */ boolean hasLocalizedSection(); /** *
     * Localized section.
     * 
* * .io.LocalizedString localizedSection = 6; * @return The localizedSection. */ com.passkit.grpc.Localization.LocalizedString getLocalizedSection(); /** *
     * Localized section.
     * 
* * .io.LocalizedString localizedSection = 6; */ com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedSectionOrBuilder(); /** *
     * The gate the ticket holder should enter to get to their seat, such as "A" or "West".
     * 
* * string gate = 7; * @return The gate. */ java.lang.String getGate(); /** *
     * The gate the ticket holder should enter to get to their seat, such as "A" or "West".
     * 
* * string gate = 7; * @return The bytes for gate. */ com.google.protobuf.ByteString getGateBytes(); /** *
     * Localized gate.
     * 
* * .io.LocalizedString localizedGate = 8; * @return Whether the localizedGate field is set. */ boolean hasLocalizedGate(); /** *
     * Localized gate.
     * 
* * .io.LocalizedString localizedGate = 8; * @return The localizedGate. */ com.passkit.grpc.Localization.LocalizedString getLocalizedGate(); /** *
     * Localized gate.
     * 
* * .io.LocalizedString localizedGate = 8; */ com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedGateOrBuilder(); } /** * Protobuf type {@code event_tickets.Seat} */ public static final class Seat extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.Seat) SeatOrBuilder { private static final long serialVersionUID = 0L; // Use Seat.newBuilder() to construct. private Seat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Seat() { seat_ = ""; row_ = ""; section_ = ""; gate_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Seat(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Seat( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 10: { java.lang.String s = input.readStringRequireUtf8(); seat_ = s; break; } case 18: { com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null; if (localizedSeat_ != null) { subBuilder = localizedSeat_.toBuilder(); } localizedSeat_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(localizedSeat_); localizedSeat_ = subBuilder.buildPartial(); } break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); row_ = s; break; } case 34: { com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null; if (localizedRow_ != null) { subBuilder = localizedRow_.toBuilder(); } localizedRow_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(localizedRow_); localizedRow_ = subBuilder.buildPartial(); } break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); section_ = s; break; } case 50: { com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null; if (localizedSection_ != null) { subBuilder = localizedSection_.toBuilder(); } localizedSection_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(localizedSection_); localizedSection_ = subBuilder.buildPartial(); } break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); gate_ = s; break; } case 66: { com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null; if (localizedGate_ != null) { subBuilder = localizedGate_.toBuilder(); } localizedGate_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(localizedGate_); localizedGate_ = subBuilder.buildPartial(); } 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Seat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Seat_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.Seat.class, com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder.class); } public static final int SEAT_FIELD_NUMBER = 1; private volatile java.lang.Object seat_; /** *
     * The seat number, such as "1", "2", "3", or any other seat identifier.
     * 
* * string seat = 1; * @return The seat. */ @java.lang.Override public java.lang.String getSeat() { java.lang.Object ref = seat_; 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(); seat_ = s; return s; } } /** *
     * The seat number, such as "1", "2", "3", or any other seat identifier.
     * 
* * string seat = 1; * @return The bytes for seat. */ @java.lang.Override public com.google.protobuf.ByteString getSeatBytes() { java.lang.Object ref = seat_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); seat_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOCALIZEDSEAT_FIELD_NUMBER = 2; private com.passkit.grpc.Localization.LocalizedString localizedSeat_; /** *
     * Localized seat number.
     * 
* * .io.LocalizedString localizedSeat = 2; * @return Whether the localizedSeat field is set. */ @java.lang.Override public boolean hasLocalizedSeat() { return localizedSeat_ != null; } /** *
     * Localized seat number.
     * 
* * .io.LocalizedString localizedSeat = 2; * @return The localizedSeat. */ @java.lang.Override public com.passkit.grpc.Localization.LocalizedString getLocalizedSeat() { return localizedSeat_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedSeat_; } /** *
     * Localized seat number.
     * 
* * .io.LocalizedString localizedSeat = 2; */ @java.lang.Override public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedSeatOrBuilder() { return getLocalizedSeat(); } public static final int ROW_FIELD_NUMBER = 3; private volatile java.lang.Object row_; /** *
     * The row of the seat, such as "1", E", "BB", or "A5".
     * 
* * string row = 3; * @return The row. */ @java.lang.Override public java.lang.String getRow() { java.lang.Object ref = row_; 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(); row_ = s; return s; } } /** *
     * The row of the seat, such as "1", E", "BB", or "A5".
     * 
* * string row = 3; * @return The bytes for row. */ @java.lang.Override public com.google.protobuf.ByteString getRowBytes() { java.lang.Object ref = row_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); row_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOCALIZEDROW_FIELD_NUMBER = 4; private com.passkit.grpc.Localization.LocalizedString localizedRow_; /** *
     * Localized row.
     * 
* * .io.LocalizedString localizedRow = 4; * @return Whether the localizedRow field is set. */ @java.lang.Override public boolean hasLocalizedRow() { return localizedRow_ != null; } /** *
     * Localized row.
     * 
* * .io.LocalizedString localizedRow = 4; * @return The localizedRow. */ @java.lang.Override public com.passkit.grpc.Localization.LocalizedString getLocalizedRow() { return localizedRow_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedRow_; } /** *
     * Localized row.
     * 
* * .io.LocalizedString localizedRow = 4; */ @java.lang.Override public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedRowOrBuilder() { return getLocalizedRow(); } public static final int SECTION_FIELD_NUMBER = 5; private volatile java.lang.Object section_; /** *
     * The section of the seat, such as "121".
     * 
* * string section = 5; * @return The section. */ @java.lang.Override public java.lang.String getSection() { java.lang.Object ref = section_; 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(); section_ = s; return s; } } /** *
     * The section of the seat, such as "121".
     * 
* * string section = 5; * @return The bytes for section. */ @java.lang.Override public com.google.protobuf.ByteString getSectionBytes() { java.lang.Object ref = section_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); section_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOCALIZEDSECTION_FIELD_NUMBER = 6; private com.passkit.grpc.Localization.LocalizedString localizedSection_; /** *
     * Localized section.
     * 
* * .io.LocalizedString localizedSection = 6; * @return Whether the localizedSection field is set. */ @java.lang.Override public boolean hasLocalizedSection() { return localizedSection_ != null; } /** *
     * Localized section.
     * 
* * .io.LocalizedString localizedSection = 6; * @return The localizedSection. */ @java.lang.Override public com.passkit.grpc.Localization.LocalizedString getLocalizedSection() { return localizedSection_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedSection_; } /** *
     * Localized section.
     * 
* * .io.LocalizedString localizedSection = 6; */ @java.lang.Override public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedSectionOrBuilder() { return getLocalizedSection(); } public static final int GATE_FIELD_NUMBER = 7; private volatile java.lang.Object gate_; /** *
     * The gate the ticket holder should enter to get to their seat, such as "A" or "West".
     * 
* * string gate = 7; * @return The gate. */ @java.lang.Override public java.lang.String getGate() { java.lang.Object ref = gate_; 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(); gate_ = s; return s; } } /** *
     * The gate the ticket holder should enter to get to their seat, such as "A" or "West".
     * 
* * string gate = 7; * @return The bytes for gate. */ @java.lang.Override public com.google.protobuf.ByteString getGateBytes() { java.lang.Object ref = gate_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOCALIZEDGATE_FIELD_NUMBER = 8; private com.passkit.grpc.Localization.LocalizedString localizedGate_; /** *
     * Localized gate.
     * 
* * .io.LocalizedString localizedGate = 8; * @return Whether the localizedGate field is set. */ @java.lang.Override public boolean hasLocalizedGate() { return localizedGate_ != null; } /** *
     * Localized gate.
     * 
* * .io.LocalizedString localizedGate = 8; * @return The localizedGate. */ @java.lang.Override public com.passkit.grpc.Localization.LocalizedString getLocalizedGate() { return localizedGate_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedGate_; } /** *
     * Localized gate.
     * 
* * .io.LocalizedString localizedGate = 8; */ @java.lang.Override public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedGateOrBuilder() { return getLocalizedGate(); } 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 (!getSeatBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, seat_); } if (localizedSeat_ != null) { output.writeMessage(2, getLocalizedSeat()); } if (!getRowBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, row_); } if (localizedRow_ != null) { output.writeMessage(4, getLocalizedRow()); } if (!getSectionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, section_); } if (localizedSection_ != null) { output.writeMessage(6, getLocalizedSection()); } if (!getGateBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, gate_); } if (localizedGate_ != null) { output.writeMessage(8, getLocalizedGate()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSeatBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, seat_); } if (localizedSeat_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getLocalizedSeat()); } if (!getRowBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, row_); } if (localizedRow_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getLocalizedRow()); } if (!getSectionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, section_); } if (localizedSection_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getLocalizedSection()); } if (!getGateBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, gate_); } if (localizedGate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getLocalizedGate()); } 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.EventTickets.TicketOuterClass.Seat)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.Seat other = (com.passkit.grpc.EventTickets.TicketOuterClass.Seat) obj; if (!getSeat() .equals(other.getSeat())) return false; if (hasLocalizedSeat() != other.hasLocalizedSeat()) return false; if (hasLocalizedSeat()) { if (!getLocalizedSeat() .equals(other.getLocalizedSeat())) return false; } if (!getRow() .equals(other.getRow())) return false; if (hasLocalizedRow() != other.hasLocalizedRow()) return false; if (hasLocalizedRow()) { if (!getLocalizedRow() .equals(other.getLocalizedRow())) return false; } if (!getSection() .equals(other.getSection())) return false; if (hasLocalizedSection() != other.hasLocalizedSection()) return false; if (hasLocalizedSection()) { if (!getLocalizedSection() .equals(other.getLocalizedSection())) return false; } if (!getGate() .equals(other.getGate())) return false; if (hasLocalizedGate() != other.hasLocalizedGate()) return false; if (hasLocalizedGate()) { if (!getLocalizedGate() .equals(other.getLocalizedGate())) 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) + SEAT_FIELD_NUMBER; hash = (53 * hash) + getSeat().hashCode(); if (hasLocalizedSeat()) { hash = (37 * hash) + LOCALIZEDSEAT_FIELD_NUMBER; hash = (53 * hash) + getLocalizedSeat().hashCode(); } hash = (37 * hash) + ROW_FIELD_NUMBER; hash = (53 * hash) + getRow().hashCode(); if (hasLocalizedRow()) { hash = (37 * hash) + LOCALIZEDROW_FIELD_NUMBER; hash = (53 * hash) + getLocalizedRow().hashCode(); } hash = (37 * hash) + SECTION_FIELD_NUMBER; hash = (53 * hash) + getSection().hashCode(); if (hasLocalizedSection()) { hash = (37 * hash) + LOCALIZEDSECTION_FIELD_NUMBER; hash = (53 * hash) + getLocalizedSection().hashCode(); } hash = (37 * hash) + GATE_FIELD_NUMBER; hash = (53 * hash) + getGate().hashCode(); if (hasLocalizedGate()) { hash = (37 * hash) + LOCALIZEDGATE_FIELD_NUMBER; hash = (53 * hash) + getLocalizedGate().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.Seat parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Seat 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.EventTickets.TicketOuterClass.Seat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Seat 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.EventTickets.TicketOuterClass.Seat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Seat parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Seat parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Seat 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.EventTickets.TicketOuterClass.Seat parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Seat 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.EventTickets.TicketOuterClass.Seat parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Seat 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.EventTickets.TicketOuterClass.Seat 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; } /** * Protobuf type {@code event_tickets.Seat} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.Seat) com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Seat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Seat_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.Seat.class, com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.Seat.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(); seat_ = ""; if (localizedSeatBuilder_ == null) { localizedSeat_ = null; } else { localizedSeat_ = null; localizedSeatBuilder_ = null; } row_ = ""; if (localizedRowBuilder_ == null) { localizedRow_ = null; } else { localizedRow_ = null; localizedRowBuilder_ = null; } section_ = ""; if (localizedSectionBuilder_ == null) { localizedSection_ = null; } else { localizedSection_ = null; localizedSectionBuilder_ = null; } gate_ = ""; if (localizedGateBuilder_ == null) { localizedGate_ = null; } else { localizedGate_ = null; localizedGateBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Seat_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.Seat getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.Seat.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.Seat build() { com.passkit.grpc.EventTickets.TicketOuterClass.Seat result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.Seat buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.Seat result = new com.passkit.grpc.EventTickets.TicketOuterClass.Seat(this); result.seat_ = seat_; if (localizedSeatBuilder_ == null) { result.localizedSeat_ = localizedSeat_; } else { result.localizedSeat_ = localizedSeatBuilder_.build(); } result.row_ = row_; if (localizedRowBuilder_ == null) { result.localizedRow_ = localizedRow_; } else { result.localizedRow_ = localizedRowBuilder_.build(); } result.section_ = section_; if (localizedSectionBuilder_ == null) { result.localizedSection_ = localizedSection_; } else { result.localizedSection_ = localizedSectionBuilder_.build(); } result.gate_ = gate_; if (localizedGateBuilder_ == null) { result.localizedGate_ = localizedGate_; } else { result.localizedGate_ = localizedGateBuilder_.build(); } 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.EventTickets.TicketOuterClass.Seat) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.Seat)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.Seat other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.Seat.getDefaultInstance()) return this; if (!other.getSeat().isEmpty()) { seat_ = other.seat_; onChanged(); } if (other.hasLocalizedSeat()) { mergeLocalizedSeat(other.getLocalizedSeat()); } if (!other.getRow().isEmpty()) { row_ = other.row_; onChanged(); } if (other.hasLocalizedRow()) { mergeLocalizedRow(other.getLocalizedRow()); } if (!other.getSection().isEmpty()) { section_ = other.section_; onChanged(); } if (other.hasLocalizedSection()) { mergeLocalizedSection(other.getLocalizedSection()); } if (!other.getGate().isEmpty()) { gate_ = other.gate_; onChanged(); } if (other.hasLocalizedGate()) { mergeLocalizedGate(other.getLocalizedGate()); } 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.EventTickets.TicketOuterClass.Seat parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.Seat) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object seat_ = ""; /** *
       * The seat number, such as "1", "2", "3", or any other seat identifier.
       * 
* * string seat = 1; * @return The seat. */ public java.lang.String getSeat() { java.lang.Object ref = seat_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); seat_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The seat number, such as "1", "2", "3", or any other seat identifier.
       * 
* * string seat = 1; * @return The bytes for seat. */ public com.google.protobuf.ByteString getSeatBytes() { java.lang.Object ref = seat_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); seat_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The seat number, such as "1", "2", "3", or any other seat identifier.
       * 
* * string seat = 1; * @param value The seat to set. * @return This builder for chaining. */ public Builder setSeat( java.lang.String value) { if (value == null) { throw new NullPointerException(); } seat_ = value; onChanged(); return this; } /** *
       * The seat number, such as "1", "2", "3", or any other seat identifier.
       * 
* * string seat = 1; * @return This builder for chaining. */ public Builder clearSeat() { seat_ = getDefaultInstance().getSeat(); onChanged(); return this; } /** *
       * The seat number, such as "1", "2", "3", or any other seat identifier.
       * 
* * string seat = 1; * @param value The bytes for seat to set. * @return This builder for chaining. */ public Builder setSeatBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); seat_ = value; onChanged(); return this; } private com.passkit.grpc.Localization.LocalizedString localizedSeat_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedSeatBuilder_; /** *
       * Localized seat number.
       * 
* * .io.LocalizedString localizedSeat = 2; * @return Whether the localizedSeat field is set. */ public boolean hasLocalizedSeat() { return localizedSeatBuilder_ != null || localizedSeat_ != null; } /** *
       * Localized seat number.
       * 
* * .io.LocalizedString localizedSeat = 2; * @return The localizedSeat. */ public com.passkit.grpc.Localization.LocalizedString getLocalizedSeat() { if (localizedSeatBuilder_ == null) { return localizedSeat_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedSeat_; } else { return localizedSeatBuilder_.getMessage(); } } /** *
       * Localized seat number.
       * 
* * .io.LocalizedString localizedSeat = 2; */ public Builder setLocalizedSeat(com.passkit.grpc.Localization.LocalizedString value) { if (localizedSeatBuilder_ == null) { if (value == null) { throw new NullPointerException(); } localizedSeat_ = value; onChanged(); } else { localizedSeatBuilder_.setMessage(value); } return this; } /** *
       * Localized seat number.
       * 
* * .io.LocalizedString localizedSeat = 2; */ public Builder setLocalizedSeat( com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) { if (localizedSeatBuilder_ == null) { localizedSeat_ = builderForValue.build(); onChanged(); } else { localizedSeatBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Localized seat number.
       * 
* * .io.LocalizedString localizedSeat = 2; */ public Builder mergeLocalizedSeat(com.passkit.grpc.Localization.LocalizedString value) { if (localizedSeatBuilder_ == null) { if (localizedSeat_ != null) { localizedSeat_ = com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedSeat_).mergeFrom(value).buildPartial(); } else { localizedSeat_ = value; } onChanged(); } else { localizedSeatBuilder_.mergeFrom(value); } return this; } /** *
       * Localized seat number.
       * 
* * .io.LocalizedString localizedSeat = 2; */ public Builder clearLocalizedSeat() { if (localizedSeatBuilder_ == null) { localizedSeat_ = null; onChanged(); } else { localizedSeat_ = null; localizedSeatBuilder_ = null; } return this; } /** *
       * Localized seat number.
       * 
* * .io.LocalizedString localizedSeat = 2; */ public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedSeatBuilder() { onChanged(); return getLocalizedSeatFieldBuilder().getBuilder(); } /** *
       * Localized seat number.
       * 
* * .io.LocalizedString localizedSeat = 2; */ public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedSeatOrBuilder() { if (localizedSeatBuilder_ != null) { return localizedSeatBuilder_.getMessageOrBuilder(); } else { return localizedSeat_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedSeat_; } } /** *
       * Localized seat number.
       * 
* * .io.LocalizedString localizedSeat = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> getLocalizedSeatFieldBuilder() { if (localizedSeatBuilder_ == null) { localizedSeatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>( getLocalizedSeat(), getParentForChildren(), isClean()); localizedSeat_ = null; } return localizedSeatBuilder_; } private java.lang.Object row_ = ""; /** *
       * The row of the seat, such as "1", E", "BB", or "A5".
       * 
* * string row = 3; * @return The row. */ public java.lang.String getRow() { java.lang.Object ref = row_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); row_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The row of the seat, such as "1", E", "BB", or "A5".
       * 
* * string row = 3; * @return The bytes for row. */ public com.google.protobuf.ByteString getRowBytes() { java.lang.Object ref = row_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); row_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The row of the seat, such as "1", E", "BB", or "A5".
       * 
* * string row = 3; * @param value The row to set. * @return This builder for chaining. */ public Builder setRow( java.lang.String value) { if (value == null) { throw new NullPointerException(); } row_ = value; onChanged(); return this; } /** *
       * The row of the seat, such as "1", E", "BB", or "A5".
       * 
* * string row = 3; * @return This builder for chaining. */ public Builder clearRow() { row_ = getDefaultInstance().getRow(); onChanged(); return this; } /** *
       * The row of the seat, such as "1", E", "BB", or "A5".
       * 
* * string row = 3; * @param value The bytes for row to set. * @return This builder for chaining. */ public Builder setRowBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); row_ = value; onChanged(); return this; } private com.passkit.grpc.Localization.LocalizedString localizedRow_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedRowBuilder_; /** *
       * Localized row.
       * 
* * .io.LocalizedString localizedRow = 4; * @return Whether the localizedRow field is set. */ public boolean hasLocalizedRow() { return localizedRowBuilder_ != null || localizedRow_ != null; } /** *
       * Localized row.
       * 
* * .io.LocalizedString localizedRow = 4; * @return The localizedRow. */ public com.passkit.grpc.Localization.LocalizedString getLocalizedRow() { if (localizedRowBuilder_ == null) { return localizedRow_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedRow_; } else { return localizedRowBuilder_.getMessage(); } } /** *
       * Localized row.
       * 
* * .io.LocalizedString localizedRow = 4; */ public Builder setLocalizedRow(com.passkit.grpc.Localization.LocalizedString value) { if (localizedRowBuilder_ == null) { if (value == null) { throw new NullPointerException(); } localizedRow_ = value; onChanged(); } else { localizedRowBuilder_.setMessage(value); } return this; } /** *
       * Localized row.
       * 
* * .io.LocalizedString localizedRow = 4; */ public Builder setLocalizedRow( com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) { if (localizedRowBuilder_ == null) { localizedRow_ = builderForValue.build(); onChanged(); } else { localizedRowBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Localized row.
       * 
* * .io.LocalizedString localizedRow = 4; */ public Builder mergeLocalizedRow(com.passkit.grpc.Localization.LocalizedString value) { if (localizedRowBuilder_ == null) { if (localizedRow_ != null) { localizedRow_ = com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedRow_).mergeFrom(value).buildPartial(); } else { localizedRow_ = value; } onChanged(); } else { localizedRowBuilder_.mergeFrom(value); } return this; } /** *
       * Localized row.
       * 
* * .io.LocalizedString localizedRow = 4; */ public Builder clearLocalizedRow() { if (localizedRowBuilder_ == null) { localizedRow_ = null; onChanged(); } else { localizedRow_ = null; localizedRowBuilder_ = null; } return this; } /** *
       * Localized row.
       * 
* * .io.LocalizedString localizedRow = 4; */ public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedRowBuilder() { onChanged(); return getLocalizedRowFieldBuilder().getBuilder(); } /** *
       * Localized row.
       * 
* * .io.LocalizedString localizedRow = 4; */ public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedRowOrBuilder() { if (localizedRowBuilder_ != null) { return localizedRowBuilder_.getMessageOrBuilder(); } else { return localizedRow_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedRow_; } } /** *
       * Localized row.
       * 
* * .io.LocalizedString localizedRow = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> getLocalizedRowFieldBuilder() { if (localizedRowBuilder_ == null) { localizedRowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>( getLocalizedRow(), getParentForChildren(), isClean()); localizedRow_ = null; } return localizedRowBuilder_; } private java.lang.Object section_ = ""; /** *
       * The section of the seat, such as "121".
       * 
* * string section = 5; * @return The section. */ public java.lang.String getSection() { java.lang.Object ref = section_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); section_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The section of the seat, such as "121".
       * 
* * string section = 5; * @return The bytes for section. */ public com.google.protobuf.ByteString getSectionBytes() { java.lang.Object ref = section_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); section_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The section of the seat, such as "121".
       * 
* * string section = 5; * @param value The section to set. * @return This builder for chaining. */ public Builder setSection( java.lang.String value) { if (value == null) { throw new NullPointerException(); } section_ = value; onChanged(); return this; } /** *
       * The section of the seat, such as "121".
       * 
* * string section = 5; * @return This builder for chaining. */ public Builder clearSection() { section_ = getDefaultInstance().getSection(); onChanged(); return this; } /** *
       * The section of the seat, such as "121".
       * 
* * string section = 5; * @param value The bytes for section to set. * @return This builder for chaining. */ public Builder setSectionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); section_ = value; onChanged(); return this; } private com.passkit.grpc.Localization.LocalizedString localizedSection_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedSectionBuilder_; /** *
       * Localized section.
       * 
* * .io.LocalizedString localizedSection = 6; * @return Whether the localizedSection field is set. */ public boolean hasLocalizedSection() { return localizedSectionBuilder_ != null || localizedSection_ != null; } /** *
       * Localized section.
       * 
* * .io.LocalizedString localizedSection = 6; * @return The localizedSection. */ public com.passkit.grpc.Localization.LocalizedString getLocalizedSection() { if (localizedSectionBuilder_ == null) { return localizedSection_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedSection_; } else { return localizedSectionBuilder_.getMessage(); } } /** *
       * Localized section.
       * 
* * .io.LocalizedString localizedSection = 6; */ public Builder setLocalizedSection(com.passkit.grpc.Localization.LocalizedString value) { if (localizedSectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } localizedSection_ = value; onChanged(); } else { localizedSectionBuilder_.setMessage(value); } return this; } /** *
       * Localized section.
       * 
* * .io.LocalizedString localizedSection = 6; */ public Builder setLocalizedSection( com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) { if (localizedSectionBuilder_ == null) { localizedSection_ = builderForValue.build(); onChanged(); } else { localizedSectionBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Localized section.
       * 
* * .io.LocalizedString localizedSection = 6; */ public Builder mergeLocalizedSection(com.passkit.grpc.Localization.LocalizedString value) { if (localizedSectionBuilder_ == null) { if (localizedSection_ != null) { localizedSection_ = com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedSection_).mergeFrom(value).buildPartial(); } else { localizedSection_ = value; } onChanged(); } else { localizedSectionBuilder_.mergeFrom(value); } return this; } /** *
       * Localized section.
       * 
* * .io.LocalizedString localizedSection = 6; */ public Builder clearLocalizedSection() { if (localizedSectionBuilder_ == null) { localizedSection_ = null; onChanged(); } else { localizedSection_ = null; localizedSectionBuilder_ = null; } return this; } /** *
       * Localized section.
       * 
* * .io.LocalizedString localizedSection = 6; */ public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedSectionBuilder() { onChanged(); return getLocalizedSectionFieldBuilder().getBuilder(); } /** *
       * Localized section.
       * 
* * .io.LocalizedString localizedSection = 6; */ public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedSectionOrBuilder() { if (localizedSectionBuilder_ != null) { return localizedSectionBuilder_.getMessageOrBuilder(); } else { return localizedSection_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedSection_; } } /** *
       * Localized section.
       * 
* * .io.LocalizedString localizedSection = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> getLocalizedSectionFieldBuilder() { if (localizedSectionBuilder_ == null) { localizedSectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>( getLocalizedSection(), getParentForChildren(), isClean()); localizedSection_ = null; } return localizedSectionBuilder_; } private java.lang.Object gate_ = ""; /** *
       * The gate the ticket holder should enter to get to their seat, such as "A" or "West".
       * 
* * string gate = 7; * @return The gate. */ public java.lang.String getGate() { java.lang.Object ref = gate_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gate_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The gate the ticket holder should enter to get to their seat, such as "A" or "West".
       * 
* * string gate = 7; * @return The bytes for gate. */ public com.google.protobuf.ByteString getGateBytes() { java.lang.Object ref = gate_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The gate the ticket holder should enter to get to their seat, such as "A" or "West".
       * 
* * string gate = 7; * @param value The gate to set. * @return This builder for chaining. */ public Builder setGate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } gate_ = value; onChanged(); return this; } /** *
       * The gate the ticket holder should enter to get to their seat, such as "A" or "West".
       * 
* * string gate = 7; * @return This builder for chaining. */ public Builder clearGate() { gate_ = getDefaultInstance().getGate(); onChanged(); return this; } /** *
       * The gate the ticket holder should enter to get to their seat, such as "A" or "West".
       * 
* * string gate = 7; * @param value The bytes for gate to set. * @return This builder for chaining. */ public Builder setGateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); gate_ = value; onChanged(); return this; } private com.passkit.grpc.Localization.LocalizedString localizedGate_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedGateBuilder_; /** *
       * Localized gate.
       * 
* * .io.LocalizedString localizedGate = 8; * @return Whether the localizedGate field is set. */ public boolean hasLocalizedGate() { return localizedGateBuilder_ != null || localizedGate_ != null; } /** *
       * Localized gate.
       * 
* * .io.LocalizedString localizedGate = 8; * @return The localizedGate. */ public com.passkit.grpc.Localization.LocalizedString getLocalizedGate() { if (localizedGateBuilder_ == null) { return localizedGate_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedGate_; } else { return localizedGateBuilder_.getMessage(); } } /** *
       * Localized gate.
       * 
* * .io.LocalizedString localizedGate = 8; */ public Builder setLocalizedGate(com.passkit.grpc.Localization.LocalizedString value) { if (localizedGateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } localizedGate_ = value; onChanged(); } else { localizedGateBuilder_.setMessage(value); } return this; } /** *
       * Localized gate.
       * 
* * .io.LocalizedString localizedGate = 8; */ public Builder setLocalizedGate( com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) { if (localizedGateBuilder_ == null) { localizedGate_ = builderForValue.build(); onChanged(); } else { localizedGateBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Localized gate.
       * 
* * .io.LocalizedString localizedGate = 8; */ public Builder mergeLocalizedGate(com.passkit.grpc.Localization.LocalizedString value) { if (localizedGateBuilder_ == null) { if (localizedGate_ != null) { localizedGate_ = com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedGate_).mergeFrom(value).buildPartial(); } else { localizedGate_ = value; } onChanged(); } else { localizedGateBuilder_.mergeFrom(value); } return this; } /** *
       * Localized gate.
       * 
* * .io.LocalizedString localizedGate = 8; */ public Builder clearLocalizedGate() { if (localizedGateBuilder_ == null) { localizedGate_ = null; onChanged(); } else { localizedGate_ = null; localizedGateBuilder_ = null; } return this; } /** *
       * Localized gate.
       * 
* * .io.LocalizedString localizedGate = 8; */ public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedGateBuilder() { onChanged(); return getLocalizedGateFieldBuilder().getBuilder(); } /** *
       * Localized gate.
       * 
* * .io.LocalizedString localizedGate = 8; */ public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedGateOrBuilder() { if (localizedGateBuilder_ != null) { return localizedGateBuilder_.getMessageOrBuilder(); } else { return localizedGate_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedGate_; } } /** *
       * Localized gate.
       * 
* * .io.LocalizedString localizedGate = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> getLocalizedGateFieldBuilder() { if (localizedGateBuilder_ == null) { localizedGateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>( getLocalizedGate(), getParentForChildren(), isClean()); localizedGate_ = null; } return localizedGateBuilder_; } @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:event_tickets.Seat) } // @@protoc_insertion_point(class_scope:event_tickets.Seat) private static final com.passkit.grpc.EventTickets.TicketOuterClass.Seat DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.Seat(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Seat getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Seat parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Seat(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.EventTickets.TicketOuterClass.Seat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TicketListRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.TicketListRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The productionId. */ java.lang.String getProductionId(); /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The bytes for productionId. */ com.google.protobuf.ByteString getProductionIdBytes(); /** *
     * Production UID. Required if productionId is not provided.
     * 
* * string productionUid = 2; * @return The productionUid. */ java.lang.String getProductionUid(); /** *
     * Production UID. Required if productionId is not provided.
     * 
* * string productionUid = 2; * @return The bytes for productionUid. */ com.google.protobuf.ByteString getProductionUidBytes(); /** *
     * Event ID generated by PassKit.
     * 
* * string eventId = 3; * @return The eventId. */ java.lang.String getEventId(); /** *
     * Event ID generated by PassKit.
     * 
* * string eventId = 3; * @return The bytes for eventId. */ com.google.protobuf.ByteString getEventIdBytes(); /** * .event_tickets.EventFilterByVenueAndStart eventFilterByVenueAndStart = 4; * @return Whether the eventFilterByVenueAndStart field is set. */ boolean hasEventFilterByVenueAndStart(); /** * .event_tickets.EventFilterByVenueAndStart eventFilterByVenueAndStart = 4; * @return The eventFilterByVenueAndStart. */ com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart getEventFilterByVenueAndStart(); /** * .event_tickets.EventFilterByVenueAndStart eventFilterByVenueAndStart = 4; */ com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStartOrBuilder getEventFilterByVenueAndStartOrBuilder(); /** *
     * PassKit Ticket Type ID.
     * 
* * string ticketTypeId = 5; * @return The ticketTypeId. */ java.lang.String getTicketTypeId(); /** *
     * PassKit Ticket Type ID.
     * 
* * string ticketTypeId = 5; * @return The bytes for ticketTypeId. */ com.google.protobuf.ByteString getTicketTypeIdBytes(); /** *
     * User Defined Ticket Type ID.
     * 
* * string ticketTypeUid = 6; * @return The ticketTypeUid. */ java.lang.String getTicketTypeUid(); /** *
     * User Defined Ticket Type ID.
     * 
* * string ticketTypeUid = 6; * @return The bytes for ticketTypeUid. */ com.google.protobuf.ByteString getTicketTypeUidBytes(); /** *
     * Filters: allows to filter on additional ticket data (i.e. group id, pass install status, updated etc).
     * 
* * .io.Filters filters = 7; * @return Whether the filters field is set. */ boolean hasFilters(); /** *
     * Filters: allows to filter on additional ticket data (i.e. group id, pass install status, updated etc).
     * 
* * .io.Filters filters = 7; * @return The filters. */ com.passkit.grpc.Filter.Filters getFilters(); /** *
     * Filters: allows to filter on additional ticket data (i.e. group id, pass install status, updated etc).
     * 
* * .io.Filters filters = 7; */ com.passkit.grpc.Filter.FiltersOrBuilder getFiltersOrBuilder(); public com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest.ProductionCase getProductionCase(); public com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest.EventCase getEventCase(); public com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest.TicketTypeCase getTicketTypeCase(); } /** * Protobuf type {@code event_tickets.TicketListRequest} */ public static final class TicketListRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.TicketListRequest) TicketListRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TicketListRequest.newBuilder() to construct. private TicketListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TicketListRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TicketListRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TicketListRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 10: { java.lang.String s = input.readStringRequireUtf8(); productionCase_ = 1; production_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); productionCase_ = 2; production_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); eventCase_ = 3; event_ = s; break; } case 34: { com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.Builder subBuilder = null; if (eventCase_ == 4) { subBuilder = ((com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart) event_).toBuilder(); } event_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart) event_); event_ = subBuilder.buildPartial(); } eventCase_ = 4; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); ticketTypeCase_ = 5; ticketType_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); ticketTypeCase_ = 6; ticketType_ = s; break; } case 58: { com.passkit.grpc.Filter.Filters.Builder subBuilder = null; if (filters_ != null) { subBuilder = filters_.toBuilder(); } filters_ = input.readMessage(com.passkit.grpc.Filter.Filters.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(filters_); filters_ = subBuilder.buildPartial(); } 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketListRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketListRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest.class, com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest.Builder.class); } private int productionCase_ = 0; private java.lang.Object production_; public enum ProductionCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PRODUCTIONID(1), PRODUCTIONUID(2), PRODUCTION_NOT_SET(0); private final int value; private ProductionCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ProductionCase valueOf(int value) { return forNumber(value); } public static ProductionCase forNumber(int value) { switch (value) { case 1: return PRODUCTIONID; case 2: return PRODUCTIONUID; case 0: return PRODUCTION_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ProductionCase getProductionCase() { return ProductionCase.forNumber( productionCase_); } private int eventCase_ = 0; private java.lang.Object event_; public enum EventCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EVENTID(3), EVENTFILTERBYVENUEANDSTART(4), EVENT_NOT_SET(0); private final int value; private EventCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static EventCase valueOf(int value) { return forNumber(value); } public static EventCase forNumber(int value) { switch (value) { case 3: return EVENTID; case 4: return EVENTFILTERBYVENUEANDSTART; case 0: return EVENT_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public EventCase getEventCase() { return EventCase.forNumber( eventCase_); } private int ticketTypeCase_ = 0; private java.lang.Object ticketType_; public enum TicketTypeCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TICKETTYPEID(5), TICKETTYPEUID(6), TICKETTYPE_NOT_SET(0); private final int value; private TicketTypeCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static TicketTypeCase valueOf(int value) { return forNumber(value); } public static TicketTypeCase forNumber(int value) { switch (value) { case 5: return TICKETTYPEID; case 6: return TICKETTYPEUID; case 0: return TICKETTYPE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public TicketTypeCase getTicketTypeCase() { return TicketTypeCase.forNumber( ticketTypeCase_); } public static final int PRODUCTIONID_FIELD_NUMBER = 1; /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The productionId. */ public java.lang.String getProductionId() { java.lang.Object ref = ""; if (productionCase_ == 1) { ref = production_; } 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(); if (productionCase_ == 1) { production_ = s; } return s; } } /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The bytes for productionId. */ public com.google.protobuf.ByteString getProductionIdBytes() { java.lang.Object ref = ""; if (productionCase_ == 1) { ref = production_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (productionCase_ == 1) { production_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PRODUCTIONUID_FIELD_NUMBER = 2; /** *
     * Production UID. Required if productionId is not provided.
     * 
* * string productionUid = 2; * @return The productionUid. */ public java.lang.String getProductionUid() { java.lang.Object ref = ""; if (productionCase_ == 2) { ref = production_; } 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(); if (productionCase_ == 2) { production_ = s; } return s; } } /** *
     * Production UID. Required if productionId is not provided.
     * 
* * string productionUid = 2; * @return The bytes for productionUid. */ public com.google.protobuf.ByteString getProductionUidBytes() { java.lang.Object ref = ""; if (productionCase_ == 2) { ref = production_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (productionCase_ == 2) { production_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EVENTID_FIELD_NUMBER = 3; /** *
     * Event ID generated by PassKit.
     * 
* * string eventId = 3; * @return The eventId. */ public java.lang.String getEventId() { java.lang.Object ref = ""; if (eventCase_ == 3) { ref = event_; } 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(); if (eventCase_ == 3) { event_ = s; } return s; } } /** *
     * Event ID generated by PassKit.
     * 
* * string eventId = 3; * @return The bytes for eventId. */ public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = ""; if (eventCase_ == 3) { ref = event_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (eventCase_ == 3) { event_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EVENTFILTERBYVENUEANDSTART_FIELD_NUMBER = 4; /** * .event_tickets.EventFilterByVenueAndStart eventFilterByVenueAndStart = 4; * @return Whether the eventFilterByVenueAndStart field is set. */ @java.lang.Override public boolean hasEventFilterByVenueAndStart() { return eventCase_ == 4; } /** * .event_tickets.EventFilterByVenueAndStart eventFilterByVenueAndStart = 4; * @return The eventFilterByVenueAndStart. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart getEventFilterByVenueAndStart() { if (eventCase_ == 4) { return (com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart) event_; } return com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.getDefaultInstance(); } /** * .event_tickets.EventFilterByVenueAndStart eventFilterByVenueAndStart = 4; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStartOrBuilder getEventFilterByVenueAndStartOrBuilder() { if (eventCase_ == 4) { return (com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart) event_; } return com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.getDefaultInstance(); } public static final int TICKETTYPEID_FIELD_NUMBER = 5; /** *
     * PassKit Ticket Type ID.
     * 
* * string ticketTypeId = 5; * @return The ticketTypeId. */ public java.lang.String getTicketTypeId() { java.lang.Object ref = ""; if (ticketTypeCase_ == 5) { ref = ticketType_; } 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(); if (ticketTypeCase_ == 5) { ticketType_ = s; } return s; } } /** *
     * PassKit Ticket Type ID.
     * 
* * string ticketTypeId = 5; * @return The bytes for ticketTypeId. */ public com.google.protobuf.ByteString getTicketTypeIdBytes() { java.lang.Object ref = ""; if (ticketTypeCase_ == 5) { ref = ticketType_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (ticketTypeCase_ == 5) { ticketType_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TICKETTYPEUID_FIELD_NUMBER = 6; /** *
     * User Defined Ticket Type ID.
     * 
* * string ticketTypeUid = 6; * @return The ticketTypeUid. */ public java.lang.String getTicketTypeUid() { java.lang.Object ref = ""; if (ticketTypeCase_ == 6) { ref = ticketType_; } 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(); if (ticketTypeCase_ == 6) { ticketType_ = s; } return s; } } /** *
     * User Defined Ticket Type ID.
     * 
* * string ticketTypeUid = 6; * @return The bytes for ticketTypeUid. */ public com.google.protobuf.ByteString getTicketTypeUidBytes() { java.lang.Object ref = ""; if (ticketTypeCase_ == 6) { ref = ticketType_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (ticketTypeCase_ == 6) { ticketType_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILTERS_FIELD_NUMBER = 7; private com.passkit.grpc.Filter.Filters filters_; /** *
     * Filters: allows to filter on additional ticket data (i.e. group id, pass install status, updated etc).
     * 
* * .io.Filters filters = 7; * @return Whether the filters field is set. */ @java.lang.Override public boolean hasFilters() { return filters_ != null; } /** *
     * Filters: allows to filter on additional ticket data (i.e. group id, pass install status, updated etc).
     * 
* * .io.Filters filters = 7; * @return The filters. */ @java.lang.Override public com.passkit.grpc.Filter.Filters getFilters() { return filters_ == null ? com.passkit.grpc.Filter.Filters.getDefaultInstance() : filters_; } /** *
     * Filters: allows to filter on additional ticket data (i.e. group id, pass install status, updated etc).
     * 
* * .io.Filters filters = 7; */ @java.lang.Override public com.passkit.grpc.Filter.FiltersOrBuilder getFiltersOrBuilder() { return getFilters(); } 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 (productionCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, production_); } if (productionCase_ == 2) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, production_); } if (eventCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, event_); } if (eventCase_ == 4) { output.writeMessage(4, (com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart) event_); } if (ticketTypeCase_ == 5) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ticketType_); } if (ticketTypeCase_ == 6) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, ticketType_); } if (filters_ != null) { output.writeMessage(7, getFilters()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (productionCase_ == 1) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, production_); } if (productionCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, production_); } if (eventCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, event_); } if (eventCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart) event_); } if (ticketTypeCase_ == 5) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, ticketType_); } if (ticketTypeCase_ == 6) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, ticketType_); } if (filters_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getFilters()); } 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.EventTickets.TicketOuterClass.TicketListRequest)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest other = (com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest) obj; if (hasFilters() != other.hasFilters()) return false; if (hasFilters()) { if (!getFilters() .equals(other.getFilters())) return false; } if (!getProductionCase().equals(other.getProductionCase())) return false; switch (productionCase_) { case 1: if (!getProductionId() .equals(other.getProductionId())) return false; break; case 2: if (!getProductionUid() .equals(other.getProductionUid())) return false; break; case 0: default: } if (!getEventCase().equals(other.getEventCase())) return false; switch (eventCase_) { case 3: if (!getEventId() .equals(other.getEventId())) return false; break; case 4: if (!getEventFilterByVenueAndStart() .equals(other.getEventFilterByVenueAndStart())) return false; break; case 0: default: } if (!getTicketTypeCase().equals(other.getTicketTypeCase())) return false; switch (ticketTypeCase_) { case 5: if (!getTicketTypeId() .equals(other.getTicketTypeId())) return false; break; case 6: if (!getTicketTypeUid() .equals(other.getTicketTypeUid())) return false; break; case 0: default: } 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(); if (hasFilters()) { hash = (37 * hash) + FILTERS_FIELD_NUMBER; hash = (53 * hash) + getFilters().hashCode(); } switch (productionCase_) { case 1: hash = (37 * hash) + PRODUCTIONID_FIELD_NUMBER; hash = (53 * hash) + getProductionId().hashCode(); break; case 2: hash = (37 * hash) + PRODUCTIONUID_FIELD_NUMBER; hash = (53 * hash) + getProductionUid().hashCode(); break; case 0: default: } switch (eventCase_) { case 3: hash = (37 * hash) + EVENTID_FIELD_NUMBER; hash = (53 * hash) + getEventId().hashCode(); break; case 4: hash = (37 * hash) + EVENTFILTERBYVENUEANDSTART_FIELD_NUMBER; hash = (53 * hash) + getEventFilterByVenueAndStart().hashCode(); break; case 0: default: } switch (ticketTypeCase_) { case 5: hash = (37 * hash) + TICKETTYPEID_FIELD_NUMBER; hash = (53 * hash) + getTicketTypeId().hashCode(); break; case 6: hash = (37 * hash) + TICKETTYPEUID_FIELD_NUMBER; hash = (53 * hash) + getTicketTypeUid().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest 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.EventTickets.TicketOuterClass.TicketListRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest 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.EventTickets.TicketOuterClass.TicketListRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest 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.EventTickets.TicketOuterClass.TicketListRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest 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.EventTickets.TicketOuterClass.TicketListRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest 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.EventTickets.TicketOuterClass.TicketListRequest 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; } /** * Protobuf type {@code event_tickets.TicketListRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.TicketListRequest) com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketListRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketListRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest.class, com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest.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(); if (filtersBuilder_ == null) { filters_ = null; } else { filters_ = null; filtersBuilder_ = null; } productionCase_ = 0; production_ = null; eventCase_ = 0; event_ = null; ticketTypeCase_ = 0; ticketType_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketListRequest_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest build() { com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest result = new com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest(this); if (productionCase_ == 1) { result.production_ = production_; } if (productionCase_ == 2) { result.production_ = production_; } if (eventCase_ == 3) { result.event_ = event_; } if (eventCase_ == 4) { if (eventFilterByVenueAndStartBuilder_ == null) { result.event_ = event_; } else { result.event_ = eventFilterByVenueAndStartBuilder_.build(); } } if (ticketTypeCase_ == 5) { result.ticketType_ = ticketType_; } if (ticketTypeCase_ == 6) { result.ticketType_ = ticketType_; } if (filtersBuilder_ == null) { result.filters_ = filters_; } else { result.filters_ = filtersBuilder_.build(); } result.productionCase_ = productionCase_; result.eventCase_ = eventCase_; result.ticketTypeCase_ = ticketTypeCase_; 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.EventTickets.TicketOuterClass.TicketListRequest) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest.getDefaultInstance()) return this; if (other.hasFilters()) { mergeFilters(other.getFilters()); } switch (other.getProductionCase()) { case PRODUCTIONID: { productionCase_ = 1; production_ = other.production_; onChanged(); break; } case PRODUCTIONUID: { productionCase_ = 2; production_ = other.production_; onChanged(); break; } case PRODUCTION_NOT_SET: { break; } } switch (other.getEventCase()) { case EVENTID: { eventCase_ = 3; event_ = other.event_; onChanged(); break; } case EVENTFILTERBYVENUEANDSTART: { mergeEventFilterByVenueAndStart(other.getEventFilterByVenueAndStart()); break; } case EVENT_NOT_SET: { break; } } switch (other.getTicketTypeCase()) { case TICKETTYPEID: { ticketTypeCase_ = 5; ticketType_ = other.ticketType_; onChanged(); break; } case TICKETTYPEUID: { ticketTypeCase_ = 6; ticketType_ = other.ticketType_; onChanged(); break; } case TICKETTYPE_NOT_SET: { break; } } 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.EventTickets.TicketOuterClass.TicketListRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int productionCase_ = 0; private java.lang.Object production_; public ProductionCase getProductionCase() { return ProductionCase.forNumber( productionCase_); } public Builder clearProduction() { productionCase_ = 0; production_ = null; onChanged(); return this; } private int eventCase_ = 0; private java.lang.Object event_; public EventCase getEventCase() { return EventCase.forNumber( eventCase_); } public Builder clearEvent() { eventCase_ = 0; event_ = null; onChanged(); return this; } private int ticketTypeCase_ = 0; private java.lang.Object ticketType_; public TicketTypeCase getTicketTypeCase() { return TicketTypeCase.forNumber( ticketTypeCase_); } public Builder clearTicketType() { ticketTypeCase_ = 0; ticketType_ = null; onChanged(); return this; } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @return The productionId. */ @java.lang.Override public java.lang.String getProductionId() { java.lang.Object ref = ""; if (productionCase_ == 1) { ref = production_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (productionCase_ == 1) { production_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @return The bytes for productionId. */ @java.lang.Override public com.google.protobuf.ByteString getProductionIdBytes() { java.lang.Object ref = ""; if (productionCase_ == 1) { ref = production_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (productionCase_ == 1) { production_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @param value The productionId to set. * @return This builder for chaining. */ public Builder setProductionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } productionCase_ = 1; production_ = value; onChanged(); return this; } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @return This builder for chaining. */ public Builder clearProductionId() { if (productionCase_ == 1) { productionCase_ = 0; production_ = null; onChanged(); } return this; } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @param value The bytes for productionId to set. * @return This builder for chaining. */ public Builder setProductionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); productionCase_ = 1; production_ = value; onChanged(); return this; } /** *
       * Production UID. Required if productionId is not provided.
       * 
* * string productionUid = 2; * @return The productionUid. */ @java.lang.Override public java.lang.String getProductionUid() { java.lang.Object ref = ""; if (productionCase_ == 2) { ref = production_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (productionCase_ == 2) { production_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Production UID. Required if productionId is not provided.
       * 
* * string productionUid = 2; * @return The bytes for productionUid. */ @java.lang.Override public com.google.protobuf.ByteString getProductionUidBytes() { java.lang.Object ref = ""; if (productionCase_ == 2) { ref = production_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (productionCase_ == 2) { production_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Production UID. Required if productionId is not provided.
       * 
* * string productionUid = 2; * @param value The productionUid to set. * @return This builder for chaining. */ public Builder setProductionUid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } productionCase_ = 2; production_ = value; onChanged(); return this; } /** *
       * Production UID. Required if productionId is not provided.
       * 
* * string productionUid = 2; * @return This builder for chaining. */ public Builder clearProductionUid() { if (productionCase_ == 2) { productionCase_ = 0; production_ = null; onChanged(); } return this; } /** *
       * Production UID. Required if productionId is not provided.
       * 
* * string productionUid = 2; * @param value The bytes for productionUid to set. * @return This builder for chaining. */ public Builder setProductionUidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); productionCase_ = 2; production_ = value; onChanged(); return this; } /** *
       * Event ID generated by PassKit.
       * 
* * string eventId = 3; * @return The eventId. */ @java.lang.Override public java.lang.String getEventId() { java.lang.Object ref = ""; if (eventCase_ == 3) { ref = event_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (eventCase_ == 3) { event_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Event ID generated by PassKit.
       * 
* * string eventId = 3; * @return The bytes for eventId. */ @java.lang.Override public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = ""; if (eventCase_ == 3) { ref = event_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (eventCase_ == 3) { event_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Event ID generated by PassKit.
       * 
* * string eventId = 3; * @param value The eventId to set. * @return This builder for chaining. */ public Builder setEventId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } eventCase_ = 3; event_ = value; onChanged(); return this; } /** *
       * Event ID generated by PassKit.
       * 
* * string eventId = 3; * @return This builder for chaining. */ public Builder clearEventId() { if (eventCase_ == 3) { eventCase_ = 0; event_ = null; onChanged(); } return this; } /** *
       * Event ID generated by PassKit.
       * 
* * string eventId = 3; * @param value The bytes for eventId to set. * @return This builder for chaining. */ public Builder setEventIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); eventCase_ = 3; event_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart, com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStartOrBuilder> eventFilterByVenueAndStartBuilder_; /** * .event_tickets.EventFilterByVenueAndStart eventFilterByVenueAndStart = 4; * @return Whether the eventFilterByVenueAndStart field is set. */ @java.lang.Override public boolean hasEventFilterByVenueAndStart() { return eventCase_ == 4; } /** * .event_tickets.EventFilterByVenueAndStart eventFilterByVenueAndStart = 4; * @return The eventFilterByVenueAndStart. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart getEventFilterByVenueAndStart() { if (eventFilterByVenueAndStartBuilder_ == null) { if (eventCase_ == 4) { return (com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart) event_; } return com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.getDefaultInstance(); } else { if (eventCase_ == 4) { return eventFilterByVenueAndStartBuilder_.getMessage(); } return com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.getDefaultInstance(); } } /** * .event_tickets.EventFilterByVenueAndStart eventFilterByVenueAndStart = 4; */ public Builder setEventFilterByVenueAndStart(com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart value) { if (eventFilterByVenueAndStartBuilder_ == null) { if (value == null) { throw new NullPointerException(); } event_ = value; onChanged(); } else { eventFilterByVenueAndStartBuilder_.setMessage(value); } eventCase_ = 4; return this; } /** * .event_tickets.EventFilterByVenueAndStart eventFilterByVenueAndStart = 4; */ public Builder setEventFilterByVenueAndStart( com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.Builder builderForValue) { if (eventFilterByVenueAndStartBuilder_ == null) { event_ = builderForValue.build(); onChanged(); } else { eventFilterByVenueAndStartBuilder_.setMessage(builderForValue.build()); } eventCase_ = 4; return this; } /** * .event_tickets.EventFilterByVenueAndStart eventFilterByVenueAndStart = 4; */ public Builder mergeEventFilterByVenueAndStart(com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart value) { if (eventFilterByVenueAndStartBuilder_ == null) { if (eventCase_ == 4 && event_ != com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.getDefaultInstance()) { event_ = com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.newBuilder((com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart) event_) .mergeFrom(value).buildPartial(); } else { event_ = value; } onChanged(); } else { if (eventCase_ == 4) { eventFilterByVenueAndStartBuilder_.mergeFrom(value); } eventFilterByVenueAndStartBuilder_.setMessage(value); } eventCase_ = 4; return this; } /** * .event_tickets.EventFilterByVenueAndStart eventFilterByVenueAndStart = 4; */ public Builder clearEventFilterByVenueAndStart() { if (eventFilterByVenueAndStartBuilder_ == null) { if (eventCase_ == 4) { eventCase_ = 0; event_ = null; onChanged(); } } else { if (eventCase_ == 4) { eventCase_ = 0; event_ = null; } eventFilterByVenueAndStartBuilder_.clear(); } return this; } /** * .event_tickets.EventFilterByVenueAndStart eventFilterByVenueAndStart = 4; */ public com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.Builder getEventFilterByVenueAndStartBuilder() { return getEventFilterByVenueAndStartFieldBuilder().getBuilder(); } /** * .event_tickets.EventFilterByVenueAndStart eventFilterByVenueAndStart = 4; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStartOrBuilder getEventFilterByVenueAndStartOrBuilder() { if ((eventCase_ == 4) && (eventFilterByVenueAndStartBuilder_ != null)) { return eventFilterByVenueAndStartBuilder_.getMessageOrBuilder(); } else { if (eventCase_ == 4) { return (com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart) event_; } return com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.getDefaultInstance(); } } /** * .event_tickets.EventFilterByVenueAndStart eventFilterByVenueAndStart = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart, com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStartOrBuilder> getEventFilterByVenueAndStartFieldBuilder() { if (eventFilterByVenueAndStartBuilder_ == null) { if (!(eventCase_ == 4)) { event_ = com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.getDefaultInstance(); } eventFilterByVenueAndStartBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart, com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStartOrBuilder>( (com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart) event_, getParentForChildren(), isClean()); event_ = null; } eventCase_ = 4; onChanged();; return eventFilterByVenueAndStartBuilder_; } /** *
       * PassKit Ticket Type ID.
       * 
* * string ticketTypeId = 5; * @return The ticketTypeId. */ @java.lang.Override public java.lang.String getTicketTypeId() { java.lang.Object ref = ""; if (ticketTypeCase_ == 5) { ref = ticketType_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (ticketTypeCase_ == 5) { ticketType_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * PassKit Ticket Type ID.
       * 
* * string ticketTypeId = 5; * @return The bytes for ticketTypeId. */ @java.lang.Override public com.google.protobuf.ByteString getTicketTypeIdBytes() { java.lang.Object ref = ""; if (ticketTypeCase_ == 5) { ref = ticketType_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (ticketTypeCase_ == 5) { ticketType_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * PassKit Ticket Type ID.
       * 
* * string ticketTypeId = 5; * @param value The ticketTypeId to set. * @return This builder for chaining. */ public Builder setTicketTypeId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ticketTypeCase_ = 5; ticketType_ = value; onChanged(); return this; } /** *
       * PassKit Ticket Type ID.
       * 
* * string ticketTypeId = 5; * @return This builder for chaining. */ public Builder clearTicketTypeId() { if (ticketTypeCase_ == 5) { ticketTypeCase_ = 0; ticketType_ = null; onChanged(); } return this; } /** *
       * PassKit Ticket Type ID.
       * 
* * string ticketTypeId = 5; * @param value The bytes for ticketTypeId to set. * @return This builder for chaining. */ public Builder setTicketTypeIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ticketTypeCase_ = 5; ticketType_ = value; onChanged(); return this; } /** *
       * User Defined Ticket Type ID.
       * 
* * string ticketTypeUid = 6; * @return The ticketTypeUid. */ @java.lang.Override public java.lang.String getTicketTypeUid() { java.lang.Object ref = ""; if (ticketTypeCase_ == 6) { ref = ticketType_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (ticketTypeCase_ == 6) { ticketType_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * User Defined Ticket Type ID.
       * 
* * string ticketTypeUid = 6; * @return The bytes for ticketTypeUid. */ @java.lang.Override public com.google.protobuf.ByteString getTicketTypeUidBytes() { java.lang.Object ref = ""; if (ticketTypeCase_ == 6) { ref = ticketType_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (ticketTypeCase_ == 6) { ticketType_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * User Defined Ticket Type ID.
       * 
* * string ticketTypeUid = 6; * @param value The ticketTypeUid to set. * @return This builder for chaining. */ public Builder setTicketTypeUid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ticketTypeCase_ = 6; ticketType_ = value; onChanged(); return this; } /** *
       * User Defined Ticket Type ID.
       * 
* * string ticketTypeUid = 6; * @return This builder for chaining. */ public Builder clearTicketTypeUid() { if (ticketTypeCase_ == 6) { ticketTypeCase_ = 0; ticketType_ = null; onChanged(); } return this; } /** *
       * User Defined Ticket Type ID.
       * 
* * string ticketTypeUid = 6; * @param value The bytes for ticketTypeUid to set. * @return This builder for chaining. */ public Builder setTicketTypeUidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ticketTypeCase_ = 6; ticketType_ = value; onChanged(); return this; } private com.passkit.grpc.Filter.Filters filters_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Filter.Filters, com.passkit.grpc.Filter.Filters.Builder, com.passkit.grpc.Filter.FiltersOrBuilder> filtersBuilder_; /** *
       * Filters: allows to filter on additional ticket data (i.e. group id, pass install status, updated etc).
       * 
* * .io.Filters filters = 7; * @return Whether the filters field is set. */ public boolean hasFilters() { return filtersBuilder_ != null || filters_ != null; } /** *
       * Filters: allows to filter on additional ticket data (i.e. group id, pass install status, updated etc).
       * 
* * .io.Filters filters = 7; * @return The filters. */ public com.passkit.grpc.Filter.Filters getFilters() { if (filtersBuilder_ == null) { return filters_ == null ? com.passkit.grpc.Filter.Filters.getDefaultInstance() : filters_; } else { return filtersBuilder_.getMessage(); } } /** *
       * Filters: allows to filter on additional ticket data (i.e. group id, pass install status, updated etc).
       * 
* * .io.Filters filters = 7; */ public Builder setFilters(com.passkit.grpc.Filter.Filters value) { if (filtersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filters_ = value; onChanged(); } else { filtersBuilder_.setMessage(value); } return this; } /** *
       * Filters: allows to filter on additional ticket data (i.e. group id, pass install status, updated etc).
       * 
* * .io.Filters filters = 7; */ public Builder setFilters( com.passkit.grpc.Filter.Filters.Builder builderForValue) { if (filtersBuilder_ == null) { filters_ = builderForValue.build(); onChanged(); } else { filtersBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Filters: allows to filter on additional ticket data (i.e. group id, pass install status, updated etc).
       * 
* * .io.Filters filters = 7; */ public Builder mergeFilters(com.passkit.grpc.Filter.Filters value) { if (filtersBuilder_ == null) { if (filters_ != null) { filters_ = com.passkit.grpc.Filter.Filters.newBuilder(filters_).mergeFrom(value).buildPartial(); } else { filters_ = value; } onChanged(); } else { filtersBuilder_.mergeFrom(value); } return this; } /** *
       * Filters: allows to filter on additional ticket data (i.e. group id, pass install status, updated etc).
       * 
* * .io.Filters filters = 7; */ public Builder clearFilters() { if (filtersBuilder_ == null) { filters_ = null; onChanged(); } else { filters_ = null; filtersBuilder_ = null; } return this; } /** *
       * Filters: allows to filter on additional ticket data (i.e. group id, pass install status, updated etc).
       * 
* * .io.Filters filters = 7; */ public com.passkit.grpc.Filter.Filters.Builder getFiltersBuilder() { onChanged(); return getFiltersFieldBuilder().getBuilder(); } /** *
       * Filters: allows to filter on additional ticket data (i.e. group id, pass install status, updated etc).
       * 
* * .io.Filters filters = 7; */ public com.passkit.grpc.Filter.FiltersOrBuilder getFiltersOrBuilder() { if (filtersBuilder_ != null) { return filtersBuilder_.getMessageOrBuilder(); } else { return filters_ == null ? com.passkit.grpc.Filter.Filters.getDefaultInstance() : filters_; } } /** *
       * Filters: allows to filter on additional ticket data (i.e. group id, pass install status, updated etc).
       * 
* * .io.Filters filters = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Filter.Filters, com.passkit.grpc.Filter.Filters.Builder, com.passkit.grpc.Filter.FiltersOrBuilder> getFiltersFieldBuilder() { if (filtersBuilder_ == null) { filtersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Filter.Filters, com.passkit.grpc.Filter.Filters.Builder, com.passkit.grpc.Filter.FiltersOrBuilder>( getFilters(), getParentForChildren(), isClean()); filters_ = null; } return filtersBuilder_; } @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:event_tickets.TicketListRequest) } // @@protoc_insertion_point(class_scope:event_tickets.TicketListRequest) private static final com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketListRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TicketListRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TicketListRequest(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.EventTickets.TicketOuterClass.TicketListRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EventFilterByVenueAndStartOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.EventFilterByVenueAndStart) com.google.protobuf.MessageOrBuilder { /** *
     * Venue ID. Required if venueUid is not provided.
     * 
* * string venueId = 1; * @return The venueId. */ java.lang.String getVenueId(); /** *
     * Venue ID. Required if venueUid is not provided.
     * 
* * string venueId = 1; * @return The bytes for venueId. */ com.google.protobuf.ByteString getVenueIdBytes(); /** *
     * Venue UID. Required if venueId is not provided.
     * 
* * string venueUid = 2; * @return The venueUid. */ java.lang.String getVenueUid(); /** *
     * Venue UID. Required if venueId is not provided.
     * 
* * string venueUid = 2; * @return The bytes for venueUid. */ com.google.protobuf.ByteString getVenueUidBytes(); /** *
     * Event scheduled start date time.
     * 
* * .google.protobuf.Timestamp scheduledStartDate = 3; * @return Whether the scheduledStartDate field is set. */ boolean hasScheduledStartDate(); /** *
     * Event scheduled start date time.
     * 
* * .google.protobuf.Timestamp scheduledStartDate = 3; * @return The scheduledStartDate. */ com.google.protobuf.Timestamp getScheduledStartDate(); /** *
     * Event scheduled start date time.
     * 
* * .google.protobuf.Timestamp scheduledStartDate = 3; */ com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder(); } /** * Protobuf type {@code event_tickets.EventFilterByVenueAndStart} */ public static final class EventFilterByVenueAndStart extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.EventFilterByVenueAndStart) EventFilterByVenueAndStartOrBuilder { private static final long serialVersionUID = 0L; // Use EventFilterByVenueAndStart.newBuilder() to construct. private EventFilterByVenueAndStart(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EventFilterByVenueAndStart() { venueId_ = ""; venueUid_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EventFilterByVenueAndStart(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EventFilterByVenueAndStart( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 10: { java.lang.String s = input.readStringRequireUtf8(); venueId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); venueUid_ = s; break; } case 26: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (scheduledStartDate_ != null) { subBuilder = scheduledStartDate_.toBuilder(); } scheduledStartDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(scheduledStartDate_); scheduledStartDate_ = subBuilder.buildPartial(); } 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_EventFilterByVenueAndStart_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_EventFilterByVenueAndStart_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.class, com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.Builder.class); } public static final int VENUEID_FIELD_NUMBER = 1; private volatile java.lang.Object venueId_; /** *
     * Venue ID. Required if venueUid is not provided.
     * 
* * string venueId = 1; * @return The venueId. */ @java.lang.Override public java.lang.String getVenueId() { java.lang.Object ref = venueId_; 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(); venueId_ = s; return s; } } /** *
     * Venue ID. Required if venueUid is not provided.
     * 
* * string venueId = 1; * @return The bytes for venueId. */ @java.lang.Override public com.google.protobuf.ByteString getVenueIdBytes() { java.lang.Object ref = venueId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); venueId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VENUEUID_FIELD_NUMBER = 2; private volatile java.lang.Object venueUid_; /** *
     * Venue UID. Required if venueId is not provided.
     * 
* * string venueUid = 2; * @return The venueUid. */ @java.lang.Override public java.lang.String getVenueUid() { java.lang.Object ref = venueUid_; 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(); venueUid_ = s; return s; } } /** *
     * Venue UID. Required if venueId is not provided.
     * 
* * string venueUid = 2; * @return The bytes for venueUid. */ @java.lang.Override public com.google.protobuf.ByteString getVenueUidBytes() { java.lang.Object ref = venueUid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); venueUid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCHEDULEDSTARTDATE_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp scheduledStartDate_; /** *
     * Event scheduled start date time.
     * 
* * .google.protobuf.Timestamp scheduledStartDate = 3; * @return Whether the scheduledStartDate field is set. */ @java.lang.Override public boolean hasScheduledStartDate() { return scheduledStartDate_ != null; } /** *
     * Event scheduled start date time.
     * 
* * .google.protobuf.Timestamp scheduledStartDate = 3; * @return The scheduledStartDate. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduledStartDate() { return scheduledStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_; } /** *
     * Event scheduled start date time.
     * 
* * .google.protobuf.Timestamp scheduledStartDate = 3; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder() { return getScheduledStartDate(); } 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 (!getVenueIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, venueId_); } if (!getVenueUidBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, venueUid_); } if (scheduledStartDate_ != null) { output.writeMessage(3, getScheduledStartDate()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getVenueIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, venueId_); } if (!getVenueUidBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, venueUid_); } if (scheduledStartDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getScheduledStartDate()); } 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.EventTickets.TicketOuterClass.EventFilterByVenueAndStart)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart other = (com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart) obj; if (!getVenueId() .equals(other.getVenueId())) return false; if (!getVenueUid() .equals(other.getVenueUid())) return false; if (hasScheduledStartDate() != other.hasScheduledStartDate()) return false; if (hasScheduledStartDate()) { if (!getScheduledStartDate() .equals(other.getScheduledStartDate())) 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) + VENUEID_FIELD_NUMBER; hash = (53 * hash) + getVenueId().hashCode(); hash = (37 * hash) + VENUEUID_FIELD_NUMBER; hash = (53 * hash) + getVenueUid().hashCode(); if (hasScheduledStartDate()) { hash = (37 * hash) + SCHEDULEDSTARTDATE_FIELD_NUMBER; hash = (53 * hash) + getScheduledStartDate().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart 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.EventTickets.TicketOuterClass.EventFilterByVenueAndStart parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart 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.EventTickets.TicketOuterClass.EventFilterByVenueAndStart parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart 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.EventTickets.TicketOuterClass.EventFilterByVenueAndStart parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart 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.EventTickets.TicketOuterClass.EventFilterByVenueAndStart parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart 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.EventTickets.TicketOuterClass.EventFilterByVenueAndStart 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; } /** * Protobuf type {@code event_tickets.EventFilterByVenueAndStart} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.EventFilterByVenueAndStart) com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStartOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_EventFilterByVenueAndStart_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_EventFilterByVenueAndStart_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.class, com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.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(); venueId_ = ""; venueUid_ = ""; if (scheduledStartDateBuilder_ == null) { scheduledStartDate_ = null; } else { scheduledStartDate_ = null; scheduledStartDateBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_EventFilterByVenueAndStart_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart build() { com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart result = new com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart(this); result.venueId_ = venueId_; result.venueUid_ = venueUid_; if (scheduledStartDateBuilder_ == null) { result.scheduledStartDate_ = scheduledStartDate_; } else { result.scheduledStartDate_ = scheduledStartDateBuilder_.build(); } 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.EventTickets.TicketOuterClass.EventFilterByVenueAndStart) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart.getDefaultInstance()) return this; if (!other.getVenueId().isEmpty()) { venueId_ = other.venueId_; onChanged(); } if (!other.getVenueUid().isEmpty()) { venueUid_ = other.venueUid_; onChanged(); } if (other.hasScheduledStartDate()) { mergeScheduledStartDate(other.getScheduledStartDate()); } 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.EventTickets.TicketOuterClass.EventFilterByVenueAndStart parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object venueId_ = ""; /** *
       * Venue ID. Required if venueUid is not provided.
       * 
* * string venueId = 1; * @return The venueId. */ public java.lang.String getVenueId() { java.lang.Object ref = venueId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); venueId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Venue ID. Required if venueUid is not provided.
       * 
* * string venueId = 1; * @return The bytes for venueId. */ public com.google.protobuf.ByteString getVenueIdBytes() { java.lang.Object ref = venueId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); venueId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Venue ID. Required if venueUid is not provided.
       * 
* * string venueId = 1; * @param value The venueId to set. * @return This builder for chaining. */ public Builder setVenueId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } venueId_ = value; onChanged(); return this; } /** *
       * Venue ID. Required if venueUid is not provided.
       * 
* * string venueId = 1; * @return This builder for chaining. */ public Builder clearVenueId() { venueId_ = getDefaultInstance().getVenueId(); onChanged(); return this; } /** *
       * Venue ID. Required if venueUid is not provided.
       * 
* * string venueId = 1; * @param value The bytes for venueId to set. * @return This builder for chaining. */ public Builder setVenueIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); venueId_ = value; onChanged(); return this; } private java.lang.Object venueUid_ = ""; /** *
       * Venue UID. Required if venueId is not provided.
       * 
* * string venueUid = 2; * @return The venueUid. */ public java.lang.String getVenueUid() { java.lang.Object ref = venueUid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); venueUid_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Venue UID. Required if venueId is not provided.
       * 
* * string venueUid = 2; * @return The bytes for venueUid. */ public com.google.protobuf.ByteString getVenueUidBytes() { java.lang.Object ref = venueUid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); venueUid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Venue UID. Required if venueId is not provided.
       * 
* * string venueUid = 2; * @param value The venueUid to set. * @return This builder for chaining. */ public Builder setVenueUid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } venueUid_ = value; onChanged(); return this; } /** *
       * Venue UID. Required if venueId is not provided.
       * 
* * string venueUid = 2; * @return This builder for chaining. */ public Builder clearVenueUid() { venueUid_ = getDefaultInstance().getVenueUid(); onChanged(); return this; } /** *
       * Venue UID. Required if venueId is not provided.
       * 
* * string venueUid = 2; * @param value The bytes for venueUid to set. * @return This builder for chaining. */ public Builder setVenueUidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); venueUid_ = value; onChanged(); return this; } private com.google.protobuf.Timestamp scheduledStartDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduledStartDateBuilder_; /** *
       * Event scheduled start date time.
       * 
* * .google.protobuf.Timestamp scheduledStartDate = 3; * @return Whether the scheduledStartDate field is set. */ public boolean hasScheduledStartDate() { return scheduledStartDateBuilder_ != null || scheduledStartDate_ != null; } /** *
       * Event scheduled start date time.
       * 
* * .google.protobuf.Timestamp scheduledStartDate = 3; * @return The scheduledStartDate. */ public com.google.protobuf.Timestamp getScheduledStartDate() { if (scheduledStartDateBuilder_ == null) { return scheduledStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_; } else { return scheduledStartDateBuilder_.getMessage(); } } /** *
       * Event scheduled start date time.
       * 
* * .google.protobuf.Timestamp scheduledStartDate = 3; */ public Builder setScheduledStartDate(com.google.protobuf.Timestamp value) { if (scheduledStartDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scheduledStartDate_ = value; onChanged(); } else { scheduledStartDateBuilder_.setMessage(value); } return this; } /** *
       * Event scheduled start date time.
       * 
* * .google.protobuf.Timestamp scheduledStartDate = 3; */ public Builder setScheduledStartDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduledStartDateBuilder_ == null) { scheduledStartDate_ = builderForValue.build(); onChanged(); } else { scheduledStartDateBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Event scheduled start date time.
       * 
* * .google.protobuf.Timestamp scheduledStartDate = 3; */ public Builder mergeScheduledStartDate(com.google.protobuf.Timestamp value) { if (scheduledStartDateBuilder_ == null) { if (scheduledStartDate_ != null) { scheduledStartDate_ = com.google.protobuf.Timestamp.newBuilder(scheduledStartDate_).mergeFrom(value).buildPartial(); } else { scheduledStartDate_ = value; } onChanged(); } else { scheduledStartDateBuilder_.mergeFrom(value); } return this; } /** *
       * Event scheduled start date time.
       * 
* * .google.protobuf.Timestamp scheduledStartDate = 3; */ public Builder clearScheduledStartDate() { if (scheduledStartDateBuilder_ == null) { scheduledStartDate_ = null; onChanged(); } else { scheduledStartDate_ = null; scheduledStartDateBuilder_ = null; } return this; } /** *
       * Event scheduled start date time.
       * 
* * .google.protobuf.Timestamp scheduledStartDate = 3; */ public com.google.protobuf.Timestamp.Builder getScheduledStartDateBuilder() { onChanged(); return getScheduledStartDateFieldBuilder().getBuilder(); } /** *
       * Event scheduled start date time.
       * 
* * .google.protobuf.Timestamp scheduledStartDate = 3; */ public com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder() { if (scheduledStartDateBuilder_ != null) { return scheduledStartDateBuilder_.getMessageOrBuilder(); } else { return scheduledStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_; } } /** *
       * Event scheduled start date time.
       * 
* * .google.protobuf.Timestamp scheduledStartDate = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getScheduledStartDateFieldBuilder() { if (scheduledStartDateBuilder_ == null) { scheduledStartDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getScheduledStartDate(), getParentForChildren(), isClean()); scheduledStartDate_ = null; } return scheduledStartDateBuilder_; } @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:event_tickets.EventFilterByVenueAndStart) } // @@protoc_insertion_point(class_scope:event_tickets.EventFilterByVenueAndStart) private static final com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventFilterByVenueAndStart getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EventFilterByVenueAndStart parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EventFilterByVenueAndStart(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.EventTickets.TicketOuterClass.EventFilterByVenueAndStart getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TicketNumberRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.TicketNumberRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The productionId. */ java.lang.String getProductionId(); /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The bytes for productionId. */ com.google.protobuf.ByteString getProductionIdBytes(); /** *
     * Production UID. Required if productionId is not provided.
     * 
* * string productionUid = 2; * @return The productionUid. */ java.lang.String getProductionUid(); /** *
     * Production UID. Required if productionId is not provided.
     * 
* * string productionUid = 2; * @return The bytes for productionUid. */ com.google.protobuf.ByteString getProductionUidBytes(); /** *
     * Ticket Number.
     * 
* * string ticketNumber = 3; * @return The ticketNumber. */ java.lang.String getTicketNumber(); /** *
     * Ticket Number.
     * 
* * string ticketNumber = 3; * @return The bytes for ticketNumber. */ com.google.protobuf.ByteString getTicketNumberBytes(); } /** * Protobuf type {@code event_tickets.TicketNumberRequest} */ public static final class TicketNumberRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.TicketNumberRequest) TicketNumberRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TicketNumberRequest.newBuilder() to construct. private TicketNumberRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TicketNumberRequest() { productionId_ = ""; productionUid_ = ""; ticketNumber_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TicketNumberRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TicketNumberRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 10: { java.lang.String s = input.readStringRequireUtf8(); productionId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); productionUid_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); ticketNumber_ = s; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketNumberRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketNumberRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.class, com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.Builder.class); } public static final int PRODUCTIONID_FIELD_NUMBER = 1; private volatile java.lang.Object productionId_; /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The productionId. */ @java.lang.Override public java.lang.String getProductionId() { java.lang.Object ref = productionId_; 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(); productionId_ = s; return s; } } /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The bytes for productionId. */ @java.lang.Override public com.google.protobuf.ByteString getProductionIdBytes() { java.lang.Object ref = productionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); productionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PRODUCTIONUID_FIELD_NUMBER = 2; private volatile java.lang.Object productionUid_; /** *
     * Production UID. Required if productionId is not provided.
     * 
* * string productionUid = 2; * @return The productionUid. */ @java.lang.Override public java.lang.String getProductionUid() { java.lang.Object ref = productionUid_; 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(); productionUid_ = s; return s; } } /** *
     * Production UID. Required if productionId is not provided.
     * 
* * string productionUid = 2; * @return The bytes for productionUid. */ @java.lang.Override public com.google.protobuf.ByteString getProductionUidBytes() { java.lang.Object ref = productionUid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); productionUid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TICKETNUMBER_FIELD_NUMBER = 3; private volatile java.lang.Object ticketNumber_; /** *
     * Ticket Number.
     * 
* * string ticketNumber = 3; * @return The ticketNumber. */ @java.lang.Override public java.lang.String getTicketNumber() { java.lang.Object ref = ticketNumber_; 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(); ticketNumber_ = s; return s; } } /** *
     * Ticket Number.
     * 
* * string ticketNumber = 3; * @return The bytes for ticketNumber. */ @java.lang.Override public com.google.protobuf.ByteString getTicketNumberBytes() { java.lang.Object ref = ticketNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!getProductionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, productionId_); } if (!getProductionUidBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, productionUid_); } if (!getTicketNumberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, ticketNumber_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getProductionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, productionId_); } if (!getProductionUidBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, productionUid_); } if (!getTicketNumberBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ticketNumber_); } 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.EventTickets.TicketOuterClass.TicketNumberRequest)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest other = (com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest) obj; if (!getProductionId() .equals(other.getProductionId())) return false; if (!getProductionUid() .equals(other.getProductionUid())) return false; if (!getTicketNumber() .equals(other.getTicketNumber())) 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) + PRODUCTIONID_FIELD_NUMBER; hash = (53 * hash) + getProductionId().hashCode(); hash = (37 * hash) + PRODUCTIONUID_FIELD_NUMBER; hash = (53 * hash) + getProductionUid().hashCode(); hash = (37 * hash) + TICKETNUMBER_FIELD_NUMBER; hash = (53 * hash) + getTicketNumber().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest 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.EventTickets.TicketOuterClass.TicketNumberRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest 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.EventTickets.TicketOuterClass.TicketNumberRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest 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.EventTickets.TicketOuterClass.TicketNumberRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest 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.EventTickets.TicketOuterClass.TicketNumberRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest 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.EventTickets.TicketOuterClass.TicketNumberRequest 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; } /** * Protobuf type {@code event_tickets.TicketNumberRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.TicketNumberRequest) com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketNumberRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketNumberRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.class, com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.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(); productionId_ = ""; productionUid_ = ""; ticketNumber_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketNumberRequest_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest build() { com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest result = new com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest(this); result.productionId_ = productionId_; result.productionUid_ = productionUid_; result.ticketNumber_ = ticketNumber_; 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.EventTickets.TicketOuterClass.TicketNumberRequest) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.getDefaultInstance()) return this; if (!other.getProductionId().isEmpty()) { productionId_ = other.productionId_; onChanged(); } if (!other.getProductionUid().isEmpty()) { productionUid_ = other.productionUid_; onChanged(); } if (!other.getTicketNumber().isEmpty()) { ticketNumber_ = other.ticketNumber_; onChanged(); } 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.EventTickets.TicketOuterClass.TicketNumberRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object productionId_ = ""; /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @return The productionId. */ public java.lang.String getProductionId() { java.lang.Object ref = productionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @return The bytes for productionId. */ public com.google.protobuf.ByteString getProductionIdBytes() { java.lang.Object ref = productionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); productionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @param value The productionId to set. * @return This builder for chaining. */ public Builder setProductionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } productionId_ = value; onChanged(); return this; } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @return This builder for chaining. */ public Builder clearProductionId() { productionId_ = getDefaultInstance().getProductionId(); onChanged(); return this; } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @param value The bytes for productionId to set. * @return This builder for chaining. */ public Builder setProductionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); productionId_ = value; onChanged(); return this; } private java.lang.Object productionUid_ = ""; /** *
       * Production UID. Required if productionId is not provided.
       * 
* * string productionUid = 2; * @return The productionUid. */ public java.lang.String getProductionUid() { java.lang.Object ref = productionUid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productionUid_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Production UID. Required if productionId is not provided.
       * 
* * string productionUid = 2; * @return The bytes for productionUid. */ public com.google.protobuf.ByteString getProductionUidBytes() { java.lang.Object ref = productionUid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); productionUid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Production UID. Required if productionId is not provided.
       * 
* * string productionUid = 2; * @param value The productionUid to set. * @return This builder for chaining. */ public Builder setProductionUid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } productionUid_ = value; onChanged(); return this; } /** *
       * Production UID. Required if productionId is not provided.
       * 
* * string productionUid = 2; * @return This builder for chaining. */ public Builder clearProductionUid() { productionUid_ = getDefaultInstance().getProductionUid(); onChanged(); return this; } /** *
       * Production UID. Required if productionId is not provided.
       * 
* * string productionUid = 2; * @param value The bytes for productionUid to set. * @return This builder for chaining. */ public Builder setProductionUidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); productionUid_ = value; onChanged(); return this; } private java.lang.Object ticketNumber_ = ""; /** *
       * Ticket Number.
       * 
* * string ticketNumber = 3; * @return The ticketNumber. */ public java.lang.String getTicketNumber() { java.lang.Object ref = ticketNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ticketNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Ticket Number.
       * 
* * string ticketNumber = 3; * @return The bytes for ticketNumber. */ public com.google.protobuf.ByteString getTicketNumberBytes() { java.lang.Object ref = ticketNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Ticket Number.
       * 
* * string ticketNumber = 3; * @param value The ticketNumber to set. * @return This builder for chaining. */ public Builder setTicketNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ticketNumber_ = value; onChanged(); return this; } /** *
       * Ticket Number.
       * 
* * string ticketNumber = 3; * @return This builder for chaining. */ public Builder clearTicketNumber() { ticketNumber_ = getDefaultInstance().getTicketNumber(); onChanged(); return this; } /** *
       * Ticket Number.
       * 
* * string ticketNumber = 3; * @param value The bytes for ticketNumber to set. * @return This builder for chaining. */ public Builder setTicketNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ticketNumber_ = value; 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:event_tickets.TicketNumberRequest) } // @@protoc_insertion_point(class_scope:event_tickets.TicketNumberRequest) private static final com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TicketNumberRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TicketNumberRequest(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.EventTickets.TicketOuterClass.TicketNumberRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OrderNumberRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.OrderNumberRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The productionId. */ java.lang.String getProductionId(); /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The bytes for productionId. */ com.google.protobuf.ByteString getProductionIdBytes(); /** *
     * Production UID. Required if productionId is not provided.
     * 
* * string productionUid = 2; * @return The productionUid. */ java.lang.String getProductionUid(); /** *
     * Production UID. Required if productionId is not provided.
     * 
* * string productionUid = 2; * @return The bytes for productionUid. */ com.google.protobuf.ByteString getProductionUidBytes(); /** *
     * Order Number.
     * 
* * string orderNumber = 3; * @return The orderNumber. */ java.lang.String getOrderNumber(); /** *
     * Order Number.
     * 
* * string orderNumber = 3; * @return The bytes for orderNumber. */ com.google.protobuf.ByteString getOrderNumberBytes(); } /** * Protobuf type {@code event_tickets.OrderNumberRequest} */ public static final class OrderNumberRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.OrderNumberRequest) OrderNumberRequestOrBuilder { private static final long serialVersionUID = 0L; // Use OrderNumberRequest.newBuilder() to construct. private OrderNumberRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OrderNumberRequest() { productionId_ = ""; productionUid_ = ""; orderNumber_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OrderNumberRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OrderNumberRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 10: { java.lang.String s = input.readStringRequireUtf8(); productionId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); productionUid_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); orderNumber_ = s; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_OrderNumberRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_OrderNumberRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.class, com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.Builder.class); } public static final int PRODUCTIONID_FIELD_NUMBER = 1; private volatile java.lang.Object productionId_; /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The productionId. */ @java.lang.Override public java.lang.String getProductionId() { java.lang.Object ref = productionId_; 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(); productionId_ = s; return s; } } /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The bytes for productionId. */ @java.lang.Override public com.google.protobuf.ByteString getProductionIdBytes() { java.lang.Object ref = productionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); productionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PRODUCTIONUID_FIELD_NUMBER = 2; private volatile java.lang.Object productionUid_; /** *
     * Production UID. Required if productionId is not provided.
     * 
* * string productionUid = 2; * @return The productionUid. */ @java.lang.Override public java.lang.String getProductionUid() { java.lang.Object ref = productionUid_; 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(); productionUid_ = s; return s; } } /** *
     * Production UID. Required if productionId is not provided.
     * 
* * string productionUid = 2; * @return The bytes for productionUid. */ @java.lang.Override public com.google.protobuf.ByteString getProductionUidBytes() { java.lang.Object ref = productionUid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); productionUid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ORDERNUMBER_FIELD_NUMBER = 3; private volatile java.lang.Object orderNumber_; /** *
     * Order Number.
     * 
* * string orderNumber = 3; * @return The orderNumber. */ @java.lang.Override public java.lang.String getOrderNumber() { java.lang.Object ref = orderNumber_; 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(); orderNumber_ = s; return s; } } /** *
     * Order Number.
     * 
* * string orderNumber = 3; * @return The bytes for orderNumber. */ @java.lang.Override public com.google.protobuf.ByteString getOrderNumberBytes() { java.lang.Object ref = orderNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!getProductionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, productionId_); } if (!getProductionUidBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, productionUid_); } if (!getOrderNumberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, orderNumber_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getProductionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, productionId_); } if (!getProductionUidBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, productionUid_); } if (!getOrderNumberBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, orderNumber_); } 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.EventTickets.TicketOuterClass.OrderNumberRequest)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest other = (com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest) obj; if (!getProductionId() .equals(other.getProductionId())) return false; if (!getProductionUid() .equals(other.getProductionUid())) return false; if (!getOrderNumber() .equals(other.getOrderNumber())) 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) + PRODUCTIONID_FIELD_NUMBER; hash = (53 * hash) + getProductionId().hashCode(); hash = (37 * hash) + PRODUCTIONUID_FIELD_NUMBER; hash = (53 * hash) + getProductionUid().hashCode(); hash = (37 * hash) + ORDERNUMBER_FIELD_NUMBER; hash = (53 * hash) + getOrderNumber().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest 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.EventTickets.TicketOuterClass.OrderNumberRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest 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.EventTickets.TicketOuterClass.OrderNumberRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest 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.EventTickets.TicketOuterClass.OrderNumberRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest 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.EventTickets.TicketOuterClass.OrderNumberRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest 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.EventTickets.TicketOuterClass.OrderNumberRequest 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; } /** * Protobuf type {@code event_tickets.OrderNumberRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.OrderNumberRequest) com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_OrderNumberRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_OrderNumberRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.class, com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.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(); productionId_ = ""; productionUid_ = ""; orderNumber_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_OrderNumberRequest_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest build() { com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest result = new com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest(this); result.productionId_ = productionId_; result.productionUid_ = productionUid_; result.orderNumber_ = orderNumber_; 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.EventTickets.TicketOuterClass.OrderNumberRequest) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.getDefaultInstance()) return this; if (!other.getProductionId().isEmpty()) { productionId_ = other.productionId_; onChanged(); } if (!other.getProductionUid().isEmpty()) { productionUid_ = other.productionUid_; onChanged(); } if (!other.getOrderNumber().isEmpty()) { orderNumber_ = other.orderNumber_; onChanged(); } 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.EventTickets.TicketOuterClass.OrderNumberRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object productionId_ = ""; /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @return The productionId. */ public java.lang.String getProductionId() { java.lang.Object ref = productionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @return The bytes for productionId. */ public com.google.protobuf.ByteString getProductionIdBytes() { java.lang.Object ref = productionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); productionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @param value The productionId to set. * @return This builder for chaining. */ public Builder setProductionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } productionId_ = value; onChanged(); return this; } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @return This builder for chaining. */ public Builder clearProductionId() { productionId_ = getDefaultInstance().getProductionId(); onChanged(); return this; } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @param value The bytes for productionId to set. * @return This builder for chaining. */ public Builder setProductionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); productionId_ = value; onChanged(); return this; } private java.lang.Object productionUid_ = ""; /** *
       * Production UID. Required if productionId is not provided.
       * 
* * string productionUid = 2; * @return The productionUid. */ public java.lang.String getProductionUid() { java.lang.Object ref = productionUid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productionUid_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Production UID. Required if productionId is not provided.
       * 
* * string productionUid = 2; * @return The bytes for productionUid. */ public com.google.protobuf.ByteString getProductionUidBytes() { java.lang.Object ref = productionUid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); productionUid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Production UID. Required if productionId is not provided.
       * 
* * string productionUid = 2; * @param value The productionUid to set. * @return This builder for chaining. */ public Builder setProductionUid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } productionUid_ = value; onChanged(); return this; } /** *
       * Production UID. Required if productionId is not provided.
       * 
* * string productionUid = 2; * @return This builder for chaining. */ public Builder clearProductionUid() { productionUid_ = getDefaultInstance().getProductionUid(); onChanged(); return this; } /** *
       * Production UID. Required if productionId is not provided.
       * 
* * string productionUid = 2; * @param value The bytes for productionUid to set. * @return This builder for chaining. */ public Builder setProductionUidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); productionUid_ = value; onChanged(); return this; } private java.lang.Object orderNumber_ = ""; /** *
       * Order Number.
       * 
* * string orderNumber = 3; * @return The orderNumber. */ public java.lang.String getOrderNumber() { java.lang.Object ref = orderNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Order Number.
       * 
* * string orderNumber = 3; * @return The bytes for orderNumber. */ public com.google.protobuf.ByteString getOrderNumberBytes() { java.lang.Object ref = orderNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Order Number.
       * 
* * string orderNumber = 3; * @param value The orderNumber to set. * @return This builder for chaining. */ public Builder setOrderNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } orderNumber_ = value; onChanged(); return this; } /** *
       * Order Number.
       * 
* * string orderNumber = 3; * @return This builder for chaining. */ public Builder clearOrderNumber() { orderNumber_ = getDefaultInstance().getOrderNumber(); onChanged(); return this; } /** *
       * Order Number.
       * 
* * string orderNumber = 3; * @param value The bytes for orderNumber to set. * @return This builder for chaining. */ public Builder setOrderNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderNumber_ = value; 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:event_tickets.OrderNumberRequest) } // @@protoc_insertion_point(class_scope:event_tickets.OrderNumberRequest) private static final com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OrderNumberRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OrderNumberRequest(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.EventTickets.TicketOuterClass.OrderNumberRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RedeemByOrderNumberOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.RedeemByOrderNumber) com.google.protobuf.MessageOrBuilder { /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The productionId. */ java.lang.String getProductionId(); /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The bytes for productionId. */ com.google.protobuf.ByteString getProductionIdBytes(); /** *
     * Production UID. Required if productionId is not provided
     * 
* * string productionUid = 2; * @return The productionUid. */ java.lang.String getProductionUid(); /** *
     * Production UID. Required if productionId is not provided
     * 
* * string productionUid = 2; * @return The bytes for productionUid. */ com.google.protobuf.ByteString getProductionUidBytes(); /** *
     * Order Number.
     * 
* * string orderNumber = 3; * @return The orderNumber. */ java.lang.String getOrderNumber(); /** *
     * Order Number.
     * 
* * string orderNumber = 3; * @return The bytes for orderNumber. */ com.google.protobuf.ByteString getOrderNumberBytes(); /** *
     * Details about the redemption.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 4; * @return Whether the redemptionDetails field is set. */ boolean hasRedemptionDetails(); /** *
     * Details about the redemption.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 4; * @return The redemptionDetails. */ com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails getRedemptionDetails(); /** *
     * Details about the redemption.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 4; */ com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder getRedemptionDetailsOrBuilder(); } /** * Protobuf type {@code event_tickets.RedeemByOrderNumber} */ public static final class RedeemByOrderNumber extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.RedeemByOrderNumber) RedeemByOrderNumberOrBuilder { private static final long serialVersionUID = 0L; // Use RedeemByOrderNumber.newBuilder() to construct. private RedeemByOrderNumber(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RedeemByOrderNumber() { productionId_ = ""; productionUid_ = ""; orderNumber_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RedeemByOrderNumber(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RedeemByOrderNumber( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 10: { java.lang.String s = input.readStringRequireUtf8(); productionId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); productionUid_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); orderNumber_ = s; break; } case 34: { com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder subBuilder = null; if (redemptionDetails_ != null) { subBuilder = redemptionDetails_.toBuilder(); } redemptionDetails_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(redemptionDetails_); redemptionDetails_ = subBuilder.buildPartial(); } 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_RedeemByOrderNumber_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_RedeemByOrderNumber_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber.class, com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber.Builder.class); } public static final int PRODUCTIONID_FIELD_NUMBER = 1; private volatile java.lang.Object productionId_; /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The productionId. */ @java.lang.Override public java.lang.String getProductionId() { java.lang.Object ref = productionId_; 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(); productionId_ = s; return s; } } /** *
     * Production ID. Required if productionUid is not provided.
     * 
* * string productionId = 1; * @return The bytes for productionId. */ @java.lang.Override public com.google.protobuf.ByteString getProductionIdBytes() { java.lang.Object ref = productionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); productionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PRODUCTIONUID_FIELD_NUMBER = 2; private volatile java.lang.Object productionUid_; /** *
     * Production UID. Required if productionId is not provided
     * 
* * string productionUid = 2; * @return The productionUid. */ @java.lang.Override public java.lang.String getProductionUid() { java.lang.Object ref = productionUid_; 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(); productionUid_ = s; return s; } } /** *
     * Production UID. Required if productionId is not provided
     * 
* * string productionUid = 2; * @return The bytes for productionUid. */ @java.lang.Override public com.google.protobuf.ByteString getProductionUidBytes() { java.lang.Object ref = productionUid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); productionUid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ORDERNUMBER_FIELD_NUMBER = 3; private volatile java.lang.Object orderNumber_; /** *
     * Order Number.
     * 
* * string orderNumber = 3; * @return The orderNumber. */ @java.lang.Override public java.lang.String getOrderNumber() { java.lang.Object ref = orderNumber_; 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(); orderNumber_ = s; return s; } } /** *
     * Order Number.
     * 
* * string orderNumber = 3; * @return The bytes for orderNumber. */ @java.lang.Override public com.google.protobuf.ByteString getOrderNumberBytes() { java.lang.Object ref = orderNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REDEMPTIONDETAILS_FIELD_NUMBER = 4; private com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails redemptionDetails_; /** *
     * Details about the redemption.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 4; * @return Whether the redemptionDetails field is set. */ @java.lang.Override public boolean hasRedemptionDetails() { return redemptionDetails_ != null; } /** *
     * Details about the redemption.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 4; * @return The redemptionDetails. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails getRedemptionDetails() { return redemptionDetails_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.getDefaultInstance() : redemptionDetails_; } /** *
     * Details about the redemption.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 4; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder getRedemptionDetailsOrBuilder() { return getRedemptionDetails(); } 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 (!getProductionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, productionId_); } if (!getProductionUidBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, productionUid_); } if (!getOrderNumberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, orderNumber_); } if (redemptionDetails_ != null) { output.writeMessage(4, getRedemptionDetails()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getProductionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, productionId_); } if (!getProductionUidBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, productionUid_); } if (!getOrderNumberBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, orderNumber_); } if (redemptionDetails_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getRedemptionDetails()); } 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.EventTickets.TicketOuterClass.RedeemByOrderNumber)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber other = (com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber) obj; if (!getProductionId() .equals(other.getProductionId())) return false; if (!getProductionUid() .equals(other.getProductionUid())) return false; if (!getOrderNumber() .equals(other.getOrderNumber())) return false; if (hasRedemptionDetails() != other.hasRedemptionDetails()) return false; if (hasRedemptionDetails()) { if (!getRedemptionDetails() .equals(other.getRedemptionDetails())) 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) + PRODUCTIONID_FIELD_NUMBER; hash = (53 * hash) + getProductionId().hashCode(); hash = (37 * hash) + PRODUCTIONUID_FIELD_NUMBER; hash = (53 * hash) + getProductionUid().hashCode(); hash = (37 * hash) + ORDERNUMBER_FIELD_NUMBER; hash = (53 * hash) + getOrderNumber().hashCode(); if (hasRedemptionDetails()) { hash = (37 * hash) + REDEMPTIONDETAILS_FIELD_NUMBER; hash = (53 * hash) + getRedemptionDetails().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber 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.EventTickets.TicketOuterClass.RedeemByOrderNumber parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber 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.EventTickets.TicketOuterClass.RedeemByOrderNumber parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber 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.EventTickets.TicketOuterClass.RedeemByOrderNumber parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber 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.EventTickets.TicketOuterClass.RedeemByOrderNumber parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber 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.EventTickets.TicketOuterClass.RedeemByOrderNumber 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; } /** * Protobuf type {@code event_tickets.RedeemByOrderNumber} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.RedeemByOrderNumber) com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumberOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_RedeemByOrderNumber_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_RedeemByOrderNumber_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber.class, com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber.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(); productionId_ = ""; productionUid_ = ""; orderNumber_ = ""; if (redemptionDetailsBuilder_ == null) { redemptionDetails_ = null; } else { redemptionDetails_ = null; redemptionDetailsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_RedeemByOrderNumber_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber build() { com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber result = new com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber(this); result.productionId_ = productionId_; result.productionUid_ = productionUid_; result.orderNumber_ = orderNumber_; if (redemptionDetailsBuilder_ == null) { result.redemptionDetails_ = redemptionDetails_; } else { result.redemptionDetails_ = redemptionDetailsBuilder_.build(); } 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.EventTickets.TicketOuterClass.RedeemByOrderNumber) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber.getDefaultInstance()) return this; if (!other.getProductionId().isEmpty()) { productionId_ = other.productionId_; onChanged(); } if (!other.getProductionUid().isEmpty()) { productionUid_ = other.productionUid_; onChanged(); } if (!other.getOrderNumber().isEmpty()) { orderNumber_ = other.orderNumber_; onChanged(); } if (other.hasRedemptionDetails()) { mergeRedemptionDetails(other.getRedemptionDetails()); } 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.EventTickets.TicketOuterClass.RedeemByOrderNumber parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object productionId_ = ""; /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @return The productionId. */ public java.lang.String getProductionId() { java.lang.Object ref = productionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @return The bytes for productionId. */ public com.google.protobuf.ByteString getProductionIdBytes() { java.lang.Object ref = productionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); productionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @param value The productionId to set. * @return This builder for chaining. */ public Builder setProductionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } productionId_ = value; onChanged(); return this; } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @return This builder for chaining. */ public Builder clearProductionId() { productionId_ = getDefaultInstance().getProductionId(); onChanged(); return this; } /** *
       * Production ID. Required if productionUid is not provided.
       * 
* * string productionId = 1; * @param value The bytes for productionId to set. * @return This builder for chaining. */ public Builder setProductionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); productionId_ = value; onChanged(); return this; } private java.lang.Object productionUid_ = ""; /** *
       * Production UID. Required if productionId is not provided
       * 
* * string productionUid = 2; * @return The productionUid. */ public java.lang.String getProductionUid() { java.lang.Object ref = productionUid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productionUid_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Production UID. Required if productionId is not provided
       * 
* * string productionUid = 2; * @return The bytes for productionUid. */ public com.google.protobuf.ByteString getProductionUidBytes() { java.lang.Object ref = productionUid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); productionUid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Production UID. Required if productionId is not provided
       * 
* * string productionUid = 2; * @param value The productionUid to set. * @return This builder for chaining. */ public Builder setProductionUid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } productionUid_ = value; onChanged(); return this; } /** *
       * Production UID. Required if productionId is not provided
       * 
* * string productionUid = 2; * @return This builder for chaining. */ public Builder clearProductionUid() { productionUid_ = getDefaultInstance().getProductionUid(); onChanged(); return this; } /** *
       * Production UID. Required if productionId is not provided
       * 
* * string productionUid = 2; * @param value The bytes for productionUid to set. * @return This builder for chaining. */ public Builder setProductionUidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); productionUid_ = value; onChanged(); return this; } private java.lang.Object orderNumber_ = ""; /** *
       * Order Number.
       * 
* * string orderNumber = 3; * @return The orderNumber. */ public java.lang.String getOrderNumber() { java.lang.Object ref = orderNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Order Number.
       * 
* * string orderNumber = 3; * @return The bytes for orderNumber. */ public com.google.protobuf.ByteString getOrderNumberBytes() { java.lang.Object ref = orderNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Order Number.
       * 
* * string orderNumber = 3; * @param value The orderNumber to set. * @return This builder for chaining. */ public Builder setOrderNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } orderNumber_ = value; onChanged(); return this; } /** *
       * Order Number.
       * 
* * string orderNumber = 3; * @return This builder for chaining. */ public Builder clearOrderNumber() { orderNumber_ = getDefaultInstance().getOrderNumber(); onChanged(); return this; } /** *
       * Order Number.
       * 
* * string orderNumber = 3; * @param value The bytes for orderNumber to set. * @return This builder for chaining. */ public Builder setOrderNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderNumber_ = value; onChanged(); return this; } private com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails redemptionDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder> redemptionDetailsBuilder_; /** *
       * Details about the redemption.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 4; * @return Whether the redemptionDetails field is set. */ public boolean hasRedemptionDetails() { return redemptionDetailsBuilder_ != null || redemptionDetails_ != null; } /** *
       * Details about the redemption.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 4; * @return The redemptionDetails. */ public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails getRedemptionDetails() { if (redemptionDetailsBuilder_ == null) { return redemptionDetails_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.getDefaultInstance() : redemptionDetails_; } else { return redemptionDetailsBuilder_.getMessage(); } } /** *
       * Details about the redemption.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 4; */ public Builder setRedemptionDetails(com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails value) { if (redemptionDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } redemptionDetails_ = value; onChanged(); } else { redemptionDetailsBuilder_.setMessage(value); } return this; } /** *
       * Details about the redemption.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 4; */ public Builder setRedemptionDetails( com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder builderForValue) { if (redemptionDetailsBuilder_ == null) { redemptionDetails_ = builderForValue.build(); onChanged(); } else { redemptionDetailsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Details about the redemption.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 4; */ public Builder mergeRedemptionDetails(com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails value) { if (redemptionDetailsBuilder_ == null) { if (redemptionDetails_ != null) { redemptionDetails_ = com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.newBuilder(redemptionDetails_).mergeFrom(value).buildPartial(); } else { redemptionDetails_ = value; } onChanged(); } else { redemptionDetailsBuilder_.mergeFrom(value); } return this; } /** *
       * Details about the redemption.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 4; */ public Builder clearRedemptionDetails() { if (redemptionDetailsBuilder_ == null) { redemptionDetails_ = null; onChanged(); } else { redemptionDetails_ = null; redemptionDetailsBuilder_ = null; } return this; } /** *
       * Details about the redemption.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 4; */ public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder getRedemptionDetailsBuilder() { onChanged(); return getRedemptionDetailsFieldBuilder().getBuilder(); } /** *
       * Details about the redemption.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 4; */ public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder getRedemptionDetailsOrBuilder() { if (redemptionDetailsBuilder_ != null) { return redemptionDetailsBuilder_.getMessageOrBuilder(); } else { return redemptionDetails_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.getDefaultInstance() : redemptionDetails_; } } /** *
       * Details about the redemption.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder> getRedemptionDetailsFieldBuilder() { if (redemptionDetailsBuilder_ == null) { redemptionDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder>( getRedemptionDetails(), getParentForChildren(), isClean()); redemptionDetails_ = null; } return redemptionDetailsBuilder_; } @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:event_tickets.RedeemByOrderNumber) } // @@protoc_insertion_point(class_scope:event_tickets.RedeemByOrderNumber) private static final com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.RedeemByOrderNumber getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RedeemByOrderNumber parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RedeemByOrderNumber(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.EventTickets.TicketOuterClass.RedeemByOrderNumber getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TicketsOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.Tickets) com.google.protobuf.MessageOrBuilder { /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ java.util.List getTicketsList(); /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields getTickets(int index); /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ int getTicketsCount(); /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ java.util.List getTicketsOrBuilderList(); /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFieldsOrBuilder getTicketsOrBuilder( int index); } /** * Protobuf type {@code event_tickets.Tickets} */ public static final class Tickets extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.Tickets) TicketsOrBuilder { private static final long serialVersionUID = 0L; // Use Tickets.newBuilder() to construct. private Tickets(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Tickets() { tickets_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Tickets(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Tickets( 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 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tickets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } tickets_.add( input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.parser(), extensionRegistry)); 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)) { tickets_ = java.util.Collections.unmodifiableList(tickets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Tickets_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Tickets_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.Tickets.class, com.passkit.grpc.EventTickets.TicketOuterClass.Tickets.Builder.class); } public static final int TICKETS_FIELD_NUMBER = 1; private java.util.List tickets_; /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ @java.lang.Override public java.util.List getTicketsList() { return tickets_; } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ @java.lang.Override public java.util.List getTicketsOrBuilderList() { return tickets_; } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ @java.lang.Override public int getTicketsCount() { return tickets_.size(); } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields getTickets(int index) { return tickets_.get(index); } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFieldsOrBuilder getTicketsOrBuilder( int index) { return tickets_.get(index); } 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 { for (int i = 0; i < tickets_.size(); i++) { output.writeMessage(1, tickets_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < tickets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, tickets_.get(i)); } 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.EventTickets.TicketOuterClass.Tickets)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.Tickets other = (com.passkit.grpc.EventTickets.TicketOuterClass.Tickets) obj; if (!getTicketsList() .equals(other.getTicketsList())) 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(); if (getTicketsCount() > 0) { hash = (37 * hash) + TICKETS_FIELD_NUMBER; hash = (53 * hash) + getTicketsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.Tickets parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Tickets 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.EventTickets.TicketOuterClass.Tickets parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Tickets 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.EventTickets.TicketOuterClass.Tickets parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Tickets parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Tickets parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Tickets 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.EventTickets.TicketOuterClass.Tickets parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Tickets 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.EventTickets.TicketOuterClass.Tickets parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Tickets 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.EventTickets.TicketOuterClass.Tickets 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; } /** * Protobuf type {@code event_tickets.Tickets} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.Tickets) com.passkit.grpc.EventTickets.TicketOuterClass.TicketsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Tickets_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Tickets_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.Tickets.class, com.passkit.grpc.EventTickets.TicketOuterClass.Tickets.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.Tickets.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTicketsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (ticketsBuilder_ == null) { tickets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { ticketsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_Tickets_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.Tickets getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.Tickets.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.Tickets build() { com.passkit.grpc.EventTickets.TicketOuterClass.Tickets result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.Tickets buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.Tickets result = new com.passkit.grpc.EventTickets.TicketOuterClass.Tickets(this); int from_bitField0_ = bitField0_; if (ticketsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { tickets_ = java.util.Collections.unmodifiableList(tickets_); bitField0_ = (bitField0_ & ~0x00000001); } result.tickets_ = tickets_; } else { result.tickets_ = ticketsBuilder_.build(); } 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.EventTickets.TicketOuterClass.Tickets) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.Tickets)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.Tickets other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.Tickets.getDefaultInstance()) return this; if (ticketsBuilder_ == null) { if (!other.tickets_.isEmpty()) { if (tickets_.isEmpty()) { tickets_ = other.tickets_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTicketsIsMutable(); tickets_.addAll(other.tickets_); } onChanged(); } } else { if (!other.tickets_.isEmpty()) { if (ticketsBuilder_.isEmpty()) { ticketsBuilder_.dispose(); ticketsBuilder_ = null; tickets_ = other.tickets_; bitField0_ = (bitField0_ & ~0x00000001); ticketsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTicketsFieldBuilder() : null; } else { ticketsBuilder_.addAllMessages(other.tickets_); } } } 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.EventTickets.TicketOuterClass.Tickets parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.Tickets) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List tickets_ = java.util.Collections.emptyList(); private void ensureTicketsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tickets_ = new java.util.ArrayList(tickets_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields, com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFieldsOrBuilder> ticketsBuilder_; /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public java.util.List getTicketsList() { if (ticketsBuilder_ == null) { return java.util.Collections.unmodifiableList(tickets_); } else { return ticketsBuilder_.getMessageList(); } } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public int getTicketsCount() { if (ticketsBuilder_ == null) { return tickets_.size(); } else { return ticketsBuilder_.getCount(); } } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields getTickets(int index) { if (ticketsBuilder_ == null) { return tickets_.get(index); } else { return ticketsBuilder_.getMessage(index); } } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public Builder setTickets( int index, com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields value) { if (ticketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTicketsIsMutable(); tickets_.set(index, value); onChanged(); } else { ticketsBuilder_.setMessage(index, value); } return this; } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public Builder setTickets( int index, com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.Builder builderForValue) { if (ticketsBuilder_ == null) { ensureTicketsIsMutable(); tickets_.set(index, builderForValue.build()); onChanged(); } else { ticketsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public Builder addTickets(com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields value) { if (ticketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTicketsIsMutable(); tickets_.add(value); onChanged(); } else { ticketsBuilder_.addMessage(value); } return this; } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public Builder addTickets( int index, com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields value) { if (ticketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTicketsIsMutable(); tickets_.add(index, value); onChanged(); } else { ticketsBuilder_.addMessage(index, value); } return this; } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public Builder addTickets( com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.Builder builderForValue) { if (ticketsBuilder_ == null) { ensureTicketsIsMutable(); tickets_.add(builderForValue.build()); onChanged(); } else { ticketsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public Builder addTickets( int index, com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.Builder builderForValue) { if (ticketsBuilder_ == null) { ensureTicketsIsMutable(); tickets_.add(index, builderForValue.build()); onChanged(); } else { ticketsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public Builder addAllTickets( java.lang.Iterable values) { if (ticketsBuilder_ == null) { ensureTicketsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tickets_); onChanged(); } else { ticketsBuilder_.addAllMessages(values); } return this; } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public Builder clearTickets() { if (ticketsBuilder_ == null) { tickets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { ticketsBuilder_.clear(); } return this; } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public Builder removeTickets(int index) { if (ticketsBuilder_ == null) { ensureTicketsIsMutable(); tickets_.remove(index); onChanged(); } else { ticketsBuilder_.remove(index); } return this; } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.Builder getTicketsBuilder( int index) { return getTicketsFieldBuilder().getBuilder(index); } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFieldsOrBuilder getTicketsOrBuilder( int index) { if (ticketsBuilder_ == null) { return tickets_.get(index); } else { return ticketsBuilder_.getMessageOrBuilder(index); } } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public java.util.List getTicketsOrBuilderList() { if (ticketsBuilder_ != null) { return ticketsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tickets_); } } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.Builder addTicketsBuilder() { return getTicketsFieldBuilder().addBuilder( com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.getDefaultInstance()); } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.Builder addTicketsBuilder( int index) { return getTicketsFieldBuilder().addBuilder( index, com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.getDefaultInstance()); } /** * repeated .event_tickets.TicketLimitedFields tickets = 1; */ public java.util.List getTicketsBuilderList() { return getTicketsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields, com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFieldsOrBuilder> getTicketsFieldBuilder() { if (ticketsBuilder_ == null) { ticketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields, com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFieldsOrBuilder>( tickets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tickets_ = null; } return ticketsBuilder_; } @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:event_tickets.Tickets) } // @@protoc_insertion_point(class_scope:event_tickets.Tickets) private static final com.passkit.grpc.EventTickets.TicketOuterClass.Tickets DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.Tickets(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.Tickets getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Tickets parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Tickets(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.EventTickets.TicketOuterClass.Tickets getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TicketPassBundlesOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.TicketPassBundles) com.google.protobuf.MessageOrBuilder { /** *
     * An array of tickets.
     * 
* * repeated .io.PassBundle tickets = 1; */ java.util.List getTicketsList(); /** *
     * An array of tickets.
     * 
* * repeated .io.PassBundle tickets = 1; */ com.passkit.grpc.CommonObjects.PassBundle getTickets(int index); /** *
     * An array of tickets.
     * 
* * repeated .io.PassBundle tickets = 1; */ int getTicketsCount(); /** *
     * An array of tickets.
     * 
* * repeated .io.PassBundle tickets = 1; */ java.util.List getTicketsOrBuilderList(); /** *
     * An array of tickets.
     * 
* * repeated .io.PassBundle tickets = 1; */ com.passkit.grpc.CommonObjects.PassBundleOrBuilder getTicketsOrBuilder( int index); } /** * Protobuf type {@code event_tickets.TicketPassBundles} */ public static final class TicketPassBundles extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.TicketPassBundles) TicketPassBundlesOrBuilder { private static final long serialVersionUID = 0L; // Use TicketPassBundles.newBuilder() to construct. private TicketPassBundles(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TicketPassBundles() { tickets_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TicketPassBundles(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TicketPassBundles( 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 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tickets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } tickets_.add( input.readMessage(com.passkit.grpc.CommonObjects.PassBundle.parser(), extensionRegistry)); 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)) { tickets_ = java.util.Collections.unmodifiableList(tickets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketPassBundles_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketPassBundles_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles.class, com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles.Builder.class); } public static final int TICKETS_FIELD_NUMBER = 1; private java.util.List tickets_; /** *
     * An array of tickets.
     * 
* * repeated .io.PassBundle tickets = 1; */ @java.lang.Override public java.util.List getTicketsList() { return tickets_; } /** *
     * An array of tickets.
     * 
* * repeated .io.PassBundle tickets = 1; */ @java.lang.Override public java.util.List getTicketsOrBuilderList() { return tickets_; } /** *
     * An array of tickets.
     * 
* * repeated .io.PassBundle tickets = 1; */ @java.lang.Override public int getTicketsCount() { return tickets_.size(); } /** *
     * An array of tickets.
     * 
* * repeated .io.PassBundle tickets = 1; */ @java.lang.Override public com.passkit.grpc.CommonObjects.PassBundle getTickets(int index) { return tickets_.get(index); } /** *
     * An array of tickets.
     * 
* * repeated .io.PassBundle tickets = 1; */ @java.lang.Override public com.passkit.grpc.CommonObjects.PassBundleOrBuilder getTicketsOrBuilder( int index) { return tickets_.get(index); } 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 { for (int i = 0; i < tickets_.size(); i++) { output.writeMessage(1, tickets_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < tickets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, tickets_.get(i)); } 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.EventTickets.TicketOuterClass.TicketPassBundles)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles other = (com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles) obj; if (!getTicketsList() .equals(other.getTicketsList())) 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(); if (getTicketsCount() > 0) { hash = (37 * hash) + TICKETS_FIELD_NUMBER; hash = (53 * hash) + getTicketsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles 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.EventTickets.TicketOuterClass.TicketPassBundles parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles 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.EventTickets.TicketOuterClass.TicketPassBundles parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles 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.EventTickets.TicketOuterClass.TicketPassBundles parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles 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.EventTickets.TicketOuterClass.TicketPassBundles parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles 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.EventTickets.TicketOuterClass.TicketPassBundles 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; } /** * Protobuf type {@code event_tickets.TicketPassBundles} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.TicketPassBundles) com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundlesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketPassBundles_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketPassBundles_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles.class, com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTicketsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (ticketsBuilder_ == null) { tickets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { ticketsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketPassBundles_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles build() { com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles result = new com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles(this); int from_bitField0_ = bitField0_; if (ticketsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { tickets_ = java.util.Collections.unmodifiableList(tickets_); bitField0_ = (bitField0_ & ~0x00000001); } result.tickets_ = tickets_; } else { result.tickets_ = ticketsBuilder_.build(); } 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.EventTickets.TicketOuterClass.TicketPassBundles) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles.getDefaultInstance()) return this; if (ticketsBuilder_ == null) { if (!other.tickets_.isEmpty()) { if (tickets_.isEmpty()) { tickets_ = other.tickets_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTicketsIsMutable(); tickets_.addAll(other.tickets_); } onChanged(); } } else { if (!other.tickets_.isEmpty()) { if (ticketsBuilder_.isEmpty()) { ticketsBuilder_.dispose(); ticketsBuilder_ = null; tickets_ = other.tickets_; bitField0_ = (bitField0_ & ~0x00000001); ticketsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTicketsFieldBuilder() : null; } else { ticketsBuilder_.addAllMessages(other.tickets_); } } } 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.EventTickets.TicketOuterClass.TicketPassBundles parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List tickets_ = java.util.Collections.emptyList(); private void ensureTicketsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tickets_ = new java.util.ArrayList(tickets_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.CommonObjects.PassBundle, com.passkit.grpc.CommonObjects.PassBundle.Builder, com.passkit.grpc.CommonObjects.PassBundleOrBuilder> ticketsBuilder_; /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public java.util.List getTicketsList() { if (ticketsBuilder_ == null) { return java.util.Collections.unmodifiableList(tickets_); } else { return ticketsBuilder_.getMessageList(); } } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public int getTicketsCount() { if (ticketsBuilder_ == null) { return tickets_.size(); } else { return ticketsBuilder_.getCount(); } } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public com.passkit.grpc.CommonObjects.PassBundle getTickets(int index) { if (ticketsBuilder_ == null) { return tickets_.get(index); } else { return ticketsBuilder_.getMessage(index); } } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public Builder setTickets( int index, com.passkit.grpc.CommonObjects.PassBundle value) { if (ticketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTicketsIsMutable(); tickets_.set(index, value); onChanged(); } else { ticketsBuilder_.setMessage(index, value); } return this; } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public Builder setTickets( int index, com.passkit.grpc.CommonObjects.PassBundle.Builder builderForValue) { if (ticketsBuilder_ == null) { ensureTicketsIsMutable(); tickets_.set(index, builderForValue.build()); onChanged(); } else { ticketsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public Builder addTickets(com.passkit.grpc.CommonObjects.PassBundle value) { if (ticketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTicketsIsMutable(); tickets_.add(value); onChanged(); } else { ticketsBuilder_.addMessage(value); } return this; } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public Builder addTickets( int index, com.passkit.grpc.CommonObjects.PassBundle value) { if (ticketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTicketsIsMutable(); tickets_.add(index, value); onChanged(); } else { ticketsBuilder_.addMessage(index, value); } return this; } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public Builder addTickets( com.passkit.grpc.CommonObjects.PassBundle.Builder builderForValue) { if (ticketsBuilder_ == null) { ensureTicketsIsMutable(); tickets_.add(builderForValue.build()); onChanged(); } else { ticketsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public Builder addTickets( int index, com.passkit.grpc.CommonObjects.PassBundle.Builder builderForValue) { if (ticketsBuilder_ == null) { ensureTicketsIsMutable(); tickets_.add(index, builderForValue.build()); onChanged(); } else { ticketsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public Builder addAllTickets( java.lang.Iterable values) { if (ticketsBuilder_ == null) { ensureTicketsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tickets_); onChanged(); } else { ticketsBuilder_.addAllMessages(values); } return this; } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public Builder clearTickets() { if (ticketsBuilder_ == null) { tickets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { ticketsBuilder_.clear(); } return this; } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public Builder removeTickets(int index) { if (ticketsBuilder_ == null) { ensureTicketsIsMutable(); tickets_.remove(index); onChanged(); } else { ticketsBuilder_.remove(index); } return this; } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public com.passkit.grpc.CommonObjects.PassBundle.Builder getTicketsBuilder( int index) { return getTicketsFieldBuilder().getBuilder(index); } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public com.passkit.grpc.CommonObjects.PassBundleOrBuilder getTicketsOrBuilder( int index) { if (ticketsBuilder_ == null) { return tickets_.get(index); } else { return ticketsBuilder_.getMessageOrBuilder(index); } } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public java.util.List getTicketsOrBuilderList() { if (ticketsBuilder_ != null) { return ticketsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tickets_); } } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public com.passkit.grpc.CommonObjects.PassBundle.Builder addTicketsBuilder() { return getTicketsFieldBuilder().addBuilder( com.passkit.grpc.CommonObjects.PassBundle.getDefaultInstance()); } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public com.passkit.grpc.CommonObjects.PassBundle.Builder addTicketsBuilder( int index) { return getTicketsFieldBuilder().addBuilder( index, com.passkit.grpc.CommonObjects.PassBundle.getDefaultInstance()); } /** *
       * An array of tickets.
       * 
* * repeated .io.PassBundle tickets = 1; */ public java.util.List getTicketsBuilderList() { return getTicketsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.CommonObjects.PassBundle, com.passkit.grpc.CommonObjects.PassBundle.Builder, com.passkit.grpc.CommonObjects.PassBundleOrBuilder> getTicketsFieldBuilder() { if (ticketsBuilder_ == null) { ticketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.CommonObjects.PassBundle, com.passkit.grpc.CommonObjects.PassBundle.Builder, com.passkit.grpc.CommonObjects.PassBundleOrBuilder>( tickets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tickets_ = null; } return ticketsBuilder_; } @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:event_tickets.TicketPassBundles) } // @@protoc_insertion_point(class_scope:event_tickets.TicketPassBundles) private static final com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketPassBundles getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TicketPassBundles parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TicketPassBundles(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.EventTickets.TicketOuterClass.TicketPassBundles getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ValidateTicketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.ValidateTicketRequest) com.google.protobuf.MessageOrBuilder { /** *
     * If provided will auto redeem ticket once max number of validations has been reached. A ticket can be validated a max of 10 times.
     * 
* * uint32 maxNumberOfValidations = 1; * @return The maxNumberOfValidations. */ int getMaxNumberOfValidations(); /** *
     * Ticket details for the ticket to validate.
     * 
* * .event_tickets.Ticket ticket = 2; * @return Whether the ticket field is set. */ boolean hasTicket(); /** *
     * Ticket details for the ticket to validate.
     * 
* * .event_tickets.Ticket ticket = 2; * @return The ticket. */ com.passkit.grpc.EventTickets.TicketOuterClass.Ticket getTicket(); /** *
     * Ticket details for the ticket to validate.
     * 
* * .event_tickets.Ticket ticket = 2; */ com.passkit.grpc.EventTickets.TicketOuterClass.TicketOrBuilder getTicketOrBuilder(); /** *
     * Additional details to set for this validation.
     * 
* * .event_tickets.ValidateDetails validateDetails = 3; * @return Whether the validateDetails field is set. */ boolean hasValidateDetails(); /** *
     * Additional details to set for this validation.
     * 
* * .event_tickets.ValidateDetails validateDetails = 3; * @return The validateDetails. */ com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails getValidateDetails(); /** *
     * Additional details to set for this validation.
     * 
* * .event_tickets.ValidateDetails validateDetails = 3; */ com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder getValidateDetailsOrBuilder(); } /** * Protobuf type {@code event_tickets.ValidateTicketRequest} */ public static final class ValidateTicketRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.ValidateTicketRequest) ValidateTicketRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ValidateTicketRequest.newBuilder() to construct. private ValidateTicketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ValidateTicketRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ValidateTicketRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ValidateTicketRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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: { maxNumberOfValidations_ = input.readUInt32(); break; } case 18: { com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.Builder subBuilder = null; if (ticket_ != null) { subBuilder = ticket_.toBuilder(); } ticket_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(ticket_); ticket_ = subBuilder.buildPartial(); } break; } case 26: { com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder subBuilder = null; if (validateDetails_ != null) { subBuilder = validateDetails_.toBuilder(); } validateDetails_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(validateDetails_); validateDetails_ = subBuilder.buildPartial(); } 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_ValidateTicketRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_ValidateTicketRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest.class, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest.Builder.class); } public static final int MAXNUMBEROFVALIDATIONS_FIELD_NUMBER = 1; private int maxNumberOfValidations_; /** *
     * If provided will auto redeem ticket once max number of validations has been reached. A ticket can be validated a max of 10 times.
     * 
* * uint32 maxNumberOfValidations = 1; * @return The maxNumberOfValidations. */ @java.lang.Override public int getMaxNumberOfValidations() { return maxNumberOfValidations_; } public static final int TICKET_FIELD_NUMBER = 2; private com.passkit.grpc.EventTickets.TicketOuterClass.Ticket ticket_; /** *
     * Ticket details for the ticket to validate.
     * 
* * .event_tickets.Ticket ticket = 2; * @return Whether the ticket field is set. */ @java.lang.Override public boolean hasTicket() { return ticket_ != null; } /** *
     * Ticket details for the ticket to validate.
     * 
* * .event_tickets.Ticket ticket = 2; * @return The ticket. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.Ticket getTicket() { return ticket_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.getDefaultInstance() : ticket_; } /** *
     * Ticket details for the ticket to validate.
     * 
* * .event_tickets.Ticket ticket = 2; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketOrBuilder getTicketOrBuilder() { return getTicket(); } public static final int VALIDATEDETAILS_FIELD_NUMBER = 3; private com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails validateDetails_; /** *
     * Additional details to set for this validation.
     * 
* * .event_tickets.ValidateDetails validateDetails = 3; * @return Whether the validateDetails field is set. */ @java.lang.Override public boolean hasValidateDetails() { return validateDetails_ != null; } /** *
     * Additional details to set for this validation.
     * 
* * .event_tickets.ValidateDetails validateDetails = 3; * @return The validateDetails. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails getValidateDetails() { return validateDetails_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.getDefaultInstance() : validateDetails_; } /** *
     * Additional details to set for this validation.
     * 
* * .event_tickets.ValidateDetails validateDetails = 3; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder getValidateDetailsOrBuilder() { return getValidateDetails(); } 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 (maxNumberOfValidations_ != 0) { output.writeUInt32(1, maxNumberOfValidations_); } if (ticket_ != null) { output.writeMessage(2, getTicket()); } if (validateDetails_ != null) { output.writeMessage(3, getValidateDetails()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (maxNumberOfValidations_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, maxNumberOfValidations_); } if (ticket_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTicket()); } if (validateDetails_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getValidateDetails()); } 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.EventTickets.TicketOuterClass.ValidateTicketRequest)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest other = (com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest) obj; if (getMaxNumberOfValidations() != other.getMaxNumberOfValidations()) return false; if (hasTicket() != other.hasTicket()) return false; if (hasTicket()) { if (!getTicket() .equals(other.getTicket())) return false; } if (hasValidateDetails() != other.hasValidateDetails()) return false; if (hasValidateDetails()) { if (!getValidateDetails() .equals(other.getValidateDetails())) 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) + MAXNUMBEROFVALIDATIONS_FIELD_NUMBER; hash = (53 * hash) + getMaxNumberOfValidations(); if (hasTicket()) { hash = (37 * hash) + TICKET_FIELD_NUMBER; hash = (53 * hash) + getTicket().hashCode(); } if (hasValidateDetails()) { hash = (37 * hash) + VALIDATEDETAILS_FIELD_NUMBER; hash = (53 * hash) + getValidateDetails().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest 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.EventTickets.TicketOuterClass.ValidateTicketRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest 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.EventTickets.TicketOuterClass.ValidateTicketRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest 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.EventTickets.TicketOuterClass.ValidateTicketRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest 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.EventTickets.TicketOuterClass.ValidateTicketRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest 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.EventTickets.TicketOuterClass.ValidateTicketRequest 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; } /** * Protobuf type {@code event_tickets.ValidateTicketRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.ValidateTicketRequest) com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_ValidateTicketRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_ValidateTicketRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest.class, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest.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(); maxNumberOfValidations_ = 0; if (ticketBuilder_ == null) { ticket_ = null; } else { ticket_ = null; ticketBuilder_ = null; } if (validateDetailsBuilder_ == null) { validateDetails_ = null; } else { validateDetails_ = null; validateDetailsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_ValidateTicketRequest_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest build() { com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest result = new com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest(this); result.maxNumberOfValidations_ = maxNumberOfValidations_; if (ticketBuilder_ == null) { result.ticket_ = ticket_; } else { result.ticket_ = ticketBuilder_.build(); } if (validateDetailsBuilder_ == null) { result.validateDetails_ = validateDetails_; } else { result.validateDetails_ = validateDetailsBuilder_.build(); } 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.EventTickets.TicketOuterClass.ValidateTicketRequest) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest.getDefaultInstance()) return this; if (other.getMaxNumberOfValidations() != 0) { setMaxNumberOfValidations(other.getMaxNumberOfValidations()); } if (other.hasTicket()) { mergeTicket(other.getTicket()); } if (other.hasValidateDetails()) { mergeValidateDetails(other.getValidateDetails()); } 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.EventTickets.TicketOuterClass.ValidateTicketRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int maxNumberOfValidations_ ; /** *
       * If provided will auto redeem ticket once max number of validations has been reached. A ticket can be validated a max of 10 times.
       * 
* * uint32 maxNumberOfValidations = 1; * @return The maxNumberOfValidations. */ @java.lang.Override public int getMaxNumberOfValidations() { return maxNumberOfValidations_; } /** *
       * If provided will auto redeem ticket once max number of validations has been reached. A ticket can be validated a max of 10 times.
       * 
* * uint32 maxNumberOfValidations = 1; * @param value The maxNumberOfValidations to set. * @return This builder for chaining. */ public Builder setMaxNumberOfValidations(int value) { maxNumberOfValidations_ = value; onChanged(); return this; } /** *
       * If provided will auto redeem ticket once max number of validations has been reached. A ticket can be validated a max of 10 times.
       * 
* * uint32 maxNumberOfValidations = 1; * @return This builder for chaining. */ public Builder clearMaxNumberOfValidations() { maxNumberOfValidations_ = 0; onChanged(); return this; } private com.passkit.grpc.EventTickets.TicketOuterClass.Ticket ticket_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.Ticket, com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.TicketOrBuilder> ticketBuilder_; /** *
       * Ticket details for the ticket to validate.
       * 
* * .event_tickets.Ticket ticket = 2; * @return Whether the ticket field is set. */ public boolean hasTicket() { return ticketBuilder_ != null || ticket_ != null; } /** *
       * Ticket details for the ticket to validate.
       * 
* * .event_tickets.Ticket ticket = 2; * @return The ticket. */ public com.passkit.grpc.EventTickets.TicketOuterClass.Ticket getTicket() { if (ticketBuilder_ == null) { return ticket_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.getDefaultInstance() : ticket_; } else { return ticketBuilder_.getMessage(); } } /** *
       * Ticket details for the ticket to validate.
       * 
* * .event_tickets.Ticket ticket = 2; */ public Builder setTicket(com.passkit.grpc.EventTickets.TicketOuterClass.Ticket value) { if (ticketBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ticket_ = value; onChanged(); } else { ticketBuilder_.setMessage(value); } return this; } /** *
       * Ticket details for the ticket to validate.
       * 
* * .event_tickets.Ticket ticket = 2; */ public Builder setTicket( com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.Builder builderForValue) { if (ticketBuilder_ == null) { ticket_ = builderForValue.build(); onChanged(); } else { ticketBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Ticket details for the ticket to validate.
       * 
* * .event_tickets.Ticket ticket = 2; */ public Builder mergeTicket(com.passkit.grpc.EventTickets.TicketOuterClass.Ticket value) { if (ticketBuilder_ == null) { if (ticket_ != null) { ticket_ = com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.newBuilder(ticket_).mergeFrom(value).buildPartial(); } else { ticket_ = value; } onChanged(); } else { ticketBuilder_.mergeFrom(value); } return this; } /** *
       * Ticket details for the ticket to validate.
       * 
* * .event_tickets.Ticket ticket = 2; */ public Builder clearTicket() { if (ticketBuilder_ == null) { ticket_ = null; onChanged(); } else { ticket_ = null; ticketBuilder_ = null; } return this; } /** *
       * Ticket details for the ticket to validate.
       * 
* * .event_tickets.Ticket ticket = 2; */ public com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.Builder getTicketBuilder() { onChanged(); return getTicketFieldBuilder().getBuilder(); } /** *
       * Ticket details for the ticket to validate.
       * 
* * .event_tickets.Ticket ticket = 2; */ public com.passkit.grpc.EventTickets.TicketOuterClass.TicketOrBuilder getTicketOrBuilder() { if (ticketBuilder_ != null) { return ticketBuilder_.getMessageOrBuilder(); } else { return ticket_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.getDefaultInstance() : ticket_; } } /** *
       * Ticket details for the ticket to validate.
       * 
* * .event_tickets.Ticket ticket = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.Ticket, com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.TicketOrBuilder> getTicketFieldBuilder() { if (ticketBuilder_ == null) { ticketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.Ticket, com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.TicketOrBuilder>( getTicket(), getParentForChildren(), isClean()); ticket_ = null; } return ticketBuilder_; } private com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails validateDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder> validateDetailsBuilder_; /** *
       * Additional details to set for this validation.
       * 
* * .event_tickets.ValidateDetails validateDetails = 3; * @return Whether the validateDetails field is set. */ public boolean hasValidateDetails() { return validateDetailsBuilder_ != null || validateDetails_ != null; } /** *
       * Additional details to set for this validation.
       * 
* * .event_tickets.ValidateDetails validateDetails = 3; * @return The validateDetails. */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails getValidateDetails() { if (validateDetailsBuilder_ == null) { return validateDetails_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.getDefaultInstance() : validateDetails_; } else { return validateDetailsBuilder_.getMessage(); } } /** *
       * Additional details to set for this validation.
       * 
* * .event_tickets.ValidateDetails validateDetails = 3; */ public Builder setValidateDetails(com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails value) { if (validateDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } validateDetails_ = value; onChanged(); } else { validateDetailsBuilder_.setMessage(value); } return this; } /** *
       * Additional details to set for this validation.
       * 
* * .event_tickets.ValidateDetails validateDetails = 3; */ public Builder setValidateDetails( com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder builderForValue) { if (validateDetailsBuilder_ == null) { validateDetails_ = builderForValue.build(); onChanged(); } else { validateDetailsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Additional details to set for this validation.
       * 
* * .event_tickets.ValidateDetails validateDetails = 3; */ public Builder mergeValidateDetails(com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails value) { if (validateDetailsBuilder_ == null) { if (validateDetails_ != null) { validateDetails_ = com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.newBuilder(validateDetails_).mergeFrom(value).buildPartial(); } else { validateDetails_ = value; } onChanged(); } else { validateDetailsBuilder_.mergeFrom(value); } return this; } /** *
       * Additional details to set for this validation.
       * 
* * .event_tickets.ValidateDetails validateDetails = 3; */ public Builder clearValidateDetails() { if (validateDetailsBuilder_ == null) { validateDetails_ = null; onChanged(); } else { validateDetails_ = null; validateDetailsBuilder_ = null; } return this; } /** *
       * Additional details to set for this validation.
       * 
* * .event_tickets.ValidateDetails validateDetails = 3; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder getValidateDetailsBuilder() { onChanged(); return getValidateDetailsFieldBuilder().getBuilder(); } /** *
       * Additional details to set for this validation.
       * 
* * .event_tickets.ValidateDetails validateDetails = 3; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder getValidateDetailsOrBuilder() { if (validateDetailsBuilder_ != null) { return validateDetailsBuilder_.getMessageOrBuilder(); } else { return validateDetails_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.getDefaultInstance() : validateDetails_; } } /** *
       * Additional details to set for this validation.
       * 
* * .event_tickets.ValidateDetails validateDetails = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder> getValidateDetailsFieldBuilder() { if (validateDetailsBuilder_ == null) { validateDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder>( getValidateDetails(), getParentForChildren(), isClean()); validateDetails_ = null; } return validateDetailsBuilder_; } @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:event_tickets.ValidateTicketRequest) } // @@protoc_insertion_point(class_scope:event_tickets.ValidateTicketRequest) private static final com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ValidateTicketRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ValidateTicketRequest(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.EventTickets.TicketOuterClass.ValidateTicketRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ValidateTicketResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.ValidateTicketResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Indicates if the ticket is valid.
     * 
* * bool valid = 1; * @return The valid. */ boolean getValid(); /** *
     * Full ticket details.
     * 
* * .event_tickets.Ticket ticket = 2; * @return Whether the ticket field is set. */ boolean hasTicket(); /** *
     * Full ticket details.
     * 
* * .event_tickets.Ticket ticket = 2; * @return The ticket. */ com.passkit.grpc.EventTickets.TicketOuterClass.Ticket getTicket(); /** *
     * Full ticket details.
     * 
* * .event_tickets.Ticket ticket = 2; */ com.passkit.grpc.EventTickets.TicketOuterClass.TicketOrBuilder getTicketOrBuilder(); } /** * Protobuf type {@code event_tickets.ValidateTicketResponse} */ public static final class ValidateTicketResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.ValidateTicketResponse) ValidateTicketResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ValidateTicketResponse.newBuilder() to construct. private ValidateTicketResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ValidateTicketResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ValidateTicketResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ValidateTicketResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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: { valid_ = input.readBool(); break; } case 18: { com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.Builder subBuilder = null; if (ticket_ != null) { subBuilder = ticket_.toBuilder(); } ticket_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(ticket_); ticket_ = subBuilder.buildPartial(); } 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_ValidateTicketResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_ValidateTicketResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse.class, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse.Builder.class); } public static final int VALID_FIELD_NUMBER = 1; private boolean valid_; /** *
     * Indicates if the ticket is valid.
     * 
* * bool valid = 1; * @return The valid. */ @java.lang.Override public boolean getValid() { return valid_; } public static final int TICKET_FIELD_NUMBER = 2; private com.passkit.grpc.EventTickets.TicketOuterClass.Ticket ticket_; /** *
     * Full ticket details.
     * 
* * .event_tickets.Ticket ticket = 2; * @return Whether the ticket field is set. */ @java.lang.Override public boolean hasTicket() { return ticket_ != null; } /** *
     * Full ticket details.
     * 
* * .event_tickets.Ticket ticket = 2; * @return The ticket. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.Ticket getTicket() { return ticket_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.getDefaultInstance() : ticket_; } /** *
     * Full ticket details.
     * 
* * .event_tickets.Ticket ticket = 2; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketOrBuilder getTicketOrBuilder() { return getTicket(); } 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 (valid_ != false) { output.writeBool(1, valid_); } if (ticket_ != null) { output.writeMessage(2, getTicket()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (valid_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, valid_); } if (ticket_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTicket()); } 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.EventTickets.TicketOuterClass.ValidateTicketResponse)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse other = (com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse) obj; if (getValid() != other.getValid()) return false; if (hasTicket() != other.hasTicket()) return false; if (hasTicket()) { if (!getTicket() .equals(other.getTicket())) 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) + VALID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getValid()); if (hasTicket()) { hash = (37 * hash) + TICKET_FIELD_NUMBER; hash = (53 * hash) + getTicket().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse 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.EventTickets.TicketOuterClass.ValidateTicketResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse 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.EventTickets.TicketOuterClass.ValidateTicketResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse 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.EventTickets.TicketOuterClass.ValidateTicketResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse 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.EventTickets.TicketOuterClass.ValidateTicketResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse 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.EventTickets.TicketOuterClass.ValidateTicketResponse 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; } /** * Protobuf type {@code event_tickets.ValidateTicketResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.ValidateTicketResponse) com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_ValidateTicketResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_ValidateTicketResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse.class, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse.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(); valid_ = false; if (ticketBuilder_ == null) { ticket_ = null; } else { ticket_ = null; ticketBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_ValidateTicketResponse_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse build() { com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse result = new com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse(this); result.valid_ = valid_; if (ticketBuilder_ == null) { result.ticket_ = ticket_; } else { result.ticket_ = ticketBuilder_.build(); } 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.EventTickets.TicketOuterClass.ValidateTicketResponse) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse.getDefaultInstance()) return this; if (other.getValid() != false) { setValid(other.getValid()); } if (other.hasTicket()) { mergeTicket(other.getTicket()); } 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.EventTickets.TicketOuterClass.ValidateTicketResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean valid_ ; /** *
       * Indicates if the ticket is valid.
       * 
* * bool valid = 1; * @return The valid. */ @java.lang.Override public boolean getValid() { return valid_; } /** *
       * Indicates if the ticket is valid.
       * 
* * bool valid = 1; * @param value The valid to set. * @return This builder for chaining. */ public Builder setValid(boolean value) { valid_ = value; onChanged(); return this; } /** *
       * Indicates if the ticket is valid.
       * 
* * bool valid = 1; * @return This builder for chaining. */ public Builder clearValid() { valid_ = false; onChanged(); return this; } private com.passkit.grpc.EventTickets.TicketOuterClass.Ticket ticket_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.Ticket, com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.TicketOrBuilder> ticketBuilder_; /** *
       * Full ticket details.
       * 
* * .event_tickets.Ticket ticket = 2; * @return Whether the ticket field is set. */ public boolean hasTicket() { return ticketBuilder_ != null || ticket_ != null; } /** *
       * Full ticket details.
       * 
* * .event_tickets.Ticket ticket = 2; * @return The ticket. */ public com.passkit.grpc.EventTickets.TicketOuterClass.Ticket getTicket() { if (ticketBuilder_ == null) { return ticket_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.getDefaultInstance() : ticket_; } else { return ticketBuilder_.getMessage(); } } /** *
       * Full ticket details.
       * 
* * .event_tickets.Ticket ticket = 2; */ public Builder setTicket(com.passkit.grpc.EventTickets.TicketOuterClass.Ticket value) { if (ticketBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ticket_ = value; onChanged(); } else { ticketBuilder_.setMessage(value); } return this; } /** *
       * Full ticket details.
       * 
* * .event_tickets.Ticket ticket = 2; */ public Builder setTicket( com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.Builder builderForValue) { if (ticketBuilder_ == null) { ticket_ = builderForValue.build(); onChanged(); } else { ticketBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Full ticket details.
       * 
* * .event_tickets.Ticket ticket = 2; */ public Builder mergeTicket(com.passkit.grpc.EventTickets.TicketOuterClass.Ticket value) { if (ticketBuilder_ == null) { if (ticket_ != null) { ticket_ = com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.newBuilder(ticket_).mergeFrom(value).buildPartial(); } else { ticket_ = value; } onChanged(); } else { ticketBuilder_.mergeFrom(value); } return this; } /** *
       * Full ticket details.
       * 
* * .event_tickets.Ticket ticket = 2; */ public Builder clearTicket() { if (ticketBuilder_ == null) { ticket_ = null; onChanged(); } else { ticket_ = null; ticketBuilder_ = null; } return this; } /** *
       * Full ticket details.
       * 
* * .event_tickets.Ticket ticket = 2; */ public com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.Builder getTicketBuilder() { onChanged(); return getTicketFieldBuilder().getBuilder(); } /** *
       * Full ticket details.
       * 
* * .event_tickets.Ticket ticket = 2; */ public com.passkit.grpc.EventTickets.TicketOuterClass.TicketOrBuilder getTicketOrBuilder() { if (ticketBuilder_ != null) { return ticketBuilder_.getMessageOrBuilder(); } else { return ticket_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.getDefaultInstance() : ticket_; } } /** *
       * Full ticket details.
       * 
* * .event_tickets.Ticket ticket = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.Ticket, com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.TicketOrBuilder> getTicketFieldBuilder() { if (ticketBuilder_ == null) { ticketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.Ticket, com.passkit.grpc.EventTickets.TicketOuterClass.Ticket.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.TicketOrBuilder>( getTicket(), getParentForChildren(), isClean()); ticket_ = null; } return ticketBuilder_; } @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:event_tickets.ValidateTicketResponse) } // @@protoc_insertion_point(class_scope:event_tickets.ValidateTicketResponse) private static final com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.ValidateTicketResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ValidateTicketResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ValidateTicketResponse(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.EventTickets.TicketOuterClass.ValidateTicketResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TicketLimitedFieldsOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.TicketLimitedFields) com.google.protobuf.MessageOrBuilder { /** *
     * PassKit generated ticket id (22 characters).
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * PassKit generated ticket id (22 characters).
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * User generated ticket number. Unique within the Production.
     * 
* * string ticketNumber = 2; * @return The ticketNumber. */ java.lang.String getTicketNumber(); /** *
     * User generated ticket number. Unique within the Production.
     * 
* * string ticketNumber = 2; * @return The bytes for ticketNumber. */ com.google.protobuf.ByteString getTicketNumberBytes(); /** *
     * The production information.
     * 
* * .event_tickets.ProductionLimitedFieldsResponse production = 3; * @return Whether the production field is set. */ boolean hasProduction(); /** *
     * The production information.
     * 
* * .event_tickets.ProductionLimitedFieldsResponse production = 3; * @return The production. */ com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse getProduction(); /** *
     * The production information.
     * 
* * .event_tickets.ProductionLimitedFieldsResponse production = 3; */ com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponseOrBuilder getProductionOrBuilder(); /** *
     * The event information. Only specific fields are returned.
     * 
* * .event_tickets.EventLimitedFieldsResponse event = 4; * @return Whether the event field is set. */ boolean hasEvent(); /** *
     * The event information. Only specific fields are returned.
     * 
* * .event_tickets.EventLimitedFieldsResponse event = 4; * @return The event. */ com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse getEvent(); /** *
     * The event information. Only specific fields are returned.
     * 
* * .event_tickets.EventLimitedFieldsResponse event = 4; */ com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponseOrBuilder getEventOrBuilder(); /** *
     * Venue information. Only specific fields are returned.
     * 
* * .event_tickets.VenueLimitedFieldsResponse venue = 5; * @return Whether the venue field is set. */ boolean hasVenue(); /** *
     * Venue information. Only specific fields are returned.
     * 
* * .event_tickets.VenueLimitedFieldsResponse venue = 5; * @return The venue. */ com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse getVenue(); /** *
     * Venue information. Only specific fields are returned.
     * 
* * .event_tickets.VenueLimitedFieldsResponse venue = 5; */ com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponseOrBuilder getVenueOrBuilder(); /** *
     * The ticket type the ticket is for. Only specific fields are returned.
     * 
* * .event_tickets.TicketTypeLimitedFields ticketType = 6; * @return Whether the ticketType field is set. */ boolean hasTicketType(); /** *
     * The ticket type the ticket is for. Only specific fields are returned.
     * 
* * .event_tickets.TicketTypeLimitedFields ticketType = 6; * @return The ticketType. */ com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields getTicketType(); /** *
     * The ticket type the ticket is for. Only specific fields are returned.
     * 
* * .event_tickets.TicketTypeLimitedFields ticketType = 6; */ com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFieldsOrBuilder getTicketTypeOrBuilder(); /** *
     * Optional order / confirmation / booking code. Unique within the Production.
     * 
* * string orderNumber = 7; * @return The orderNumber. */ java.lang.String getOrderNumber(); /** *
     * Optional order / confirmation / booking code. Unique within the Production.
     * 
* * string orderNumber = 7; * @return The bytes for orderNumber. */ com.google.protobuf.ByteString getOrderNumberBytes(); /** *
     * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
     * 
* * string groupingId = 8; * @return The groupingId. */ java.lang.String getGroupingId(); /** *
     * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
     * 
* * string groupingId = 8; * @return The bytes for groupingId. */ com.google.protobuf.ByteString getGroupingIdBytes(); /** *
     * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
     * 
* * string barcodeContents = 9; * @return The barcodeContents. */ java.lang.String getBarcodeContents(); /** *
     * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
     * 
* * string barcodeContents = 9; * @return The bytes for barcodeContents. */ com.google.protobuf.ByteString getBarcodeContentsBytes(); /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 10; * @return Whether the seatInfo field is set. */ boolean hasSeatInfo(); /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 10; * @return The seatInfo. */ com.passkit.grpc.EventTickets.TicketOuterClass.Seat getSeatInfo(); /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 10; */ com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder getSeatInfoOrBuilder(); /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 11; * @return Whether the faceValue field is set. */ boolean hasFaceValue(); /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 11; * @return The faceValue. */ com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue getFaceValue(); /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 11; */ com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder getFaceValueOrBuilder(); /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 12; * @return Whether the person field is set. */ boolean hasPerson(); /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 12; * @return The person. */ com.passkit.grpc.Personal.Person getPerson(); /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 12; */ com.passkit.grpc.Personal.PersonOrBuilder getPersonOrBuilder(); /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 13; */ int getMetaDataCount(); /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 13; */ boolean containsMetaData( java.lang.String key); /** * Use {@link #getMetaDataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetaData(); /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 13; */ java.util.Map getMetaDataMap(); /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 13; */ java.lang.String getMetaDataOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 13; */ java.lang.String getMetaDataOrThrow( java.lang.String key); /** *
     * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
     * 
* * bool optOut = 14; * @return The optOut. */ boolean getOptOut(); /** *
     * Holds the ticket status.
     * 
* * .event_tickets.TicketStatus status = 15; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** *
     * Holds the ticket status.
     * 
* * .event_tickets.TicketStatus status = 15; * @return The status. */ com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus getStatus(); /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 16; * @return Whether the expiryDate field is set. */ boolean hasExpiryDate(); /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 16; * @return The expiryDate. */ com.google.protobuf.Timestamp getExpiryDate(); /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 16; */ com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder(); /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 17; * @return Whether the redemptionDetails field is set. */ boolean hasRedemptionDetails(); /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 17; * @return The redemptionDetails. */ com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails getRedemptionDetails(); /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 17; */ com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder getRedemptionDetailsOrBuilder(); /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ java.util.List getValidateDetailsList(); /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails getValidateDetails(int index); /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ int getValidateDetailsCount(); /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ java.util.List getValidateDetailsOrBuilderList(); /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder getValidateDetailsOrBuilder( int index); /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 19; * @return Whether the passOverrides field is set. */ boolean hasPassOverrides(); /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 19; * @return The passOverrides. */ com.passkit.grpc.PassOuterClass.PassOverrides getPassOverrides(); /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 19; */ com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder getPassOverridesOrBuilder(); /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 20; * @return Whether the passMetaData field is set. */ boolean hasPassMetaData(); /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 20; * @return The passMetaData. */ com.passkit.grpc.MetricsOuterClass.Metadata getPassMetaData(); /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 20; */ com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder getPassMetaDataOrBuilder(); /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 21; * @return Whether the created field is set. */ boolean hasCreated(); /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 21; * @return The created. */ com.google.protobuf.Timestamp getCreated(); /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 21; */ com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder(); /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 22; * @return Whether the updated field is set. */ boolean hasUpdated(); /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 22; * @return The updated. */ com.google.protobuf.Timestamp getUpdated(); /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 22; */ com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder(); } /** * Protobuf type {@code event_tickets.TicketLimitedFields} */ public static final class TicketLimitedFields extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.TicketLimitedFields) TicketLimitedFieldsOrBuilder { private static final long serialVersionUID = 0L; // Use TicketLimitedFields.newBuilder() to construct. private TicketLimitedFields(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TicketLimitedFields() { id_ = ""; ticketNumber_ = ""; orderNumber_ = ""; groupingId_ = ""; barcodeContents_ = ""; status_ = 0; validateDetails_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TicketLimitedFields(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TicketLimitedFields( 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 10: { java.lang.String s = input.readStringRequireUtf8(); id_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); ticketNumber_ = s; break; } case 26: { com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.Builder subBuilder = null; if (production_ != null) { subBuilder = production_.toBuilder(); } production_ = input.readMessage(com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(production_); production_ = subBuilder.buildPartial(); } break; } case 34: { com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.Builder subBuilder = null; if (event_ != null) { subBuilder = event_.toBuilder(); } event_ = input.readMessage(com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(event_); event_ = subBuilder.buildPartial(); } break; } case 42: { com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.Builder subBuilder = null; if (venue_ != null) { subBuilder = venue_.toBuilder(); } venue_ = input.readMessage(com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(venue_); venue_ = subBuilder.buildPartial(); } break; } case 50: { com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields.Builder subBuilder = null; if (ticketType_ != null) { subBuilder = ticketType_.toBuilder(); } ticketType_ = input.readMessage(com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(ticketType_); ticketType_ = subBuilder.buildPartial(); } break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); orderNumber_ = s; break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); groupingId_ = s; break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); barcodeContents_ = s; break; } case 82: { com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder subBuilder = null; if (seatInfo_ != null) { subBuilder = seatInfo_.toBuilder(); } seatInfo_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.Seat.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(seatInfo_); seatInfo_ = subBuilder.buildPartial(); } break; } case 90: { com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder subBuilder = null; if (faceValue_ != null) { subBuilder = faceValue_.toBuilder(); } faceValue_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(faceValue_); faceValue_ = subBuilder.buildPartial(); } break; } case 98: { com.passkit.grpc.Personal.Person.Builder subBuilder = null; if (person_ != null) { subBuilder = person_.toBuilder(); } person_ = input.readMessage(com.passkit.grpc.Personal.Person.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(person_); person_ = subBuilder.buildPartial(); } break; } case 106: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metaData_ = com.google.protobuf.MapField.newMapField( MetaDataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metaData__ = input.readMessage( MetaDataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metaData_.getMutableMap().put( metaData__.getKey(), metaData__.getValue()); break; } case 112: { optOut_ = input.readBool(); break; } case 120: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 130: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (expiryDate_ != null) { subBuilder = expiryDate_.toBuilder(); } expiryDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(expiryDate_); expiryDate_ = subBuilder.buildPartial(); } break; } case 138: { com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder subBuilder = null; if (redemptionDetails_ != null) { subBuilder = redemptionDetails_.toBuilder(); } redemptionDetails_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(redemptionDetails_); redemptionDetails_ = subBuilder.buildPartial(); } break; } case 146: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { validateDetails_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } validateDetails_.add( input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.parser(), extensionRegistry)); break; } case 154: { com.passkit.grpc.PassOuterClass.PassOverrides.Builder subBuilder = null; if (passOverrides_ != null) { subBuilder = passOverrides_.toBuilder(); } passOverrides_ = input.readMessage(com.passkit.grpc.PassOuterClass.PassOverrides.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(passOverrides_); passOverrides_ = subBuilder.buildPartial(); } break; } case 162: { com.passkit.grpc.MetricsOuterClass.Metadata.Builder subBuilder = null; if (passMetaData_ != null) { subBuilder = passMetaData_.toBuilder(); } passMetaData_ = input.readMessage(com.passkit.grpc.MetricsOuterClass.Metadata.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(passMetaData_); passMetaData_ = subBuilder.buildPartial(); } break; } case 170: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (created_ != null) { subBuilder = created_.toBuilder(); } created_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(created_); created_ = subBuilder.buildPartial(); } break; } case 178: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (updated_ != null) { subBuilder = updated_.toBuilder(); } updated_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(updated_); updated_ = subBuilder.buildPartial(); } 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_ & 0x00000002) != 0)) { validateDetails_ = java.util.Collections.unmodifiableList(validateDetails_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketLimitedFields_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 13: return internalGetMetaData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketLimitedFields_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.class, com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * PassKit generated ticket id (22 characters).
     * 
* * string id = 1; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; 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(); id_ = s; return s; } } /** *
     * PassKit generated ticket id (22 characters).
     * 
* * string id = 1; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TICKETNUMBER_FIELD_NUMBER = 2; private volatile java.lang.Object ticketNumber_; /** *
     * User generated ticket number. Unique within the Production.
     * 
* * string ticketNumber = 2; * @return The ticketNumber. */ @java.lang.Override public java.lang.String getTicketNumber() { java.lang.Object ref = ticketNumber_; 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(); ticketNumber_ = s; return s; } } /** *
     * User generated ticket number. Unique within the Production.
     * 
* * string ticketNumber = 2; * @return The bytes for ticketNumber. */ @java.lang.Override public com.google.protobuf.ByteString getTicketNumberBytes() { java.lang.Object ref = ticketNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PRODUCTION_FIELD_NUMBER = 3; private com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse production_; /** *
     * The production information.
     * 
* * .event_tickets.ProductionLimitedFieldsResponse production = 3; * @return Whether the production field is set. */ @java.lang.Override public boolean hasProduction() { return production_ != null; } /** *
     * The production information.
     * 
* * .event_tickets.ProductionLimitedFieldsResponse production = 3; * @return The production. */ @java.lang.Override public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse getProduction() { return production_ == null ? com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.getDefaultInstance() : production_; } /** *
     * The production information.
     * 
* * .event_tickets.ProductionLimitedFieldsResponse production = 3; */ @java.lang.Override public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponseOrBuilder getProductionOrBuilder() { return getProduction(); } public static final int EVENT_FIELD_NUMBER = 4; private com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse event_; /** *
     * The event information. Only specific fields are returned.
     * 
* * .event_tickets.EventLimitedFieldsResponse event = 4; * @return Whether the event field is set. */ @java.lang.Override public boolean hasEvent() { return event_ != null; } /** *
     * The event information. Only specific fields are returned.
     * 
* * .event_tickets.EventLimitedFieldsResponse event = 4; * @return The event. */ @java.lang.Override public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse getEvent() { return event_ == null ? com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.getDefaultInstance() : event_; } /** *
     * The event information. Only specific fields are returned.
     * 
* * .event_tickets.EventLimitedFieldsResponse event = 4; */ @java.lang.Override public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponseOrBuilder getEventOrBuilder() { return getEvent(); } public static final int VENUE_FIELD_NUMBER = 5; private com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse venue_; /** *
     * Venue information. Only specific fields are returned.
     * 
* * .event_tickets.VenueLimitedFieldsResponse venue = 5; * @return Whether the venue field is set. */ @java.lang.Override public boolean hasVenue() { return venue_ != null; } /** *
     * Venue information. Only specific fields are returned.
     * 
* * .event_tickets.VenueLimitedFieldsResponse venue = 5; * @return The venue. */ @java.lang.Override public com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse getVenue() { return venue_ == null ? com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.getDefaultInstance() : venue_; } /** *
     * Venue information. Only specific fields are returned.
     * 
* * .event_tickets.VenueLimitedFieldsResponse venue = 5; */ @java.lang.Override public com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponseOrBuilder getVenueOrBuilder() { return getVenue(); } public static final int TICKETTYPE_FIELD_NUMBER = 6; private com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields ticketType_; /** *
     * The ticket type the ticket is for. Only specific fields are returned.
     * 
* * .event_tickets.TicketTypeLimitedFields ticketType = 6; * @return Whether the ticketType field is set. */ @java.lang.Override public boolean hasTicketType() { return ticketType_ != null; } /** *
     * The ticket type the ticket is for. Only specific fields are returned.
     * 
* * .event_tickets.TicketTypeLimitedFields ticketType = 6; * @return The ticketType. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields getTicketType() { return ticketType_ == null ? com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields.getDefaultInstance() : ticketType_; } /** *
     * The ticket type the ticket is for. Only specific fields are returned.
     * 
* * .event_tickets.TicketTypeLimitedFields ticketType = 6; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFieldsOrBuilder getTicketTypeOrBuilder() { return getTicketType(); } public static final int ORDERNUMBER_FIELD_NUMBER = 7; private volatile java.lang.Object orderNumber_; /** *
     * Optional order / confirmation / booking code. Unique within the Production.
     * 
* * string orderNumber = 7; * @return The orderNumber. */ @java.lang.Override public java.lang.String getOrderNumber() { java.lang.Object ref = orderNumber_; 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(); orderNumber_ = s; return s; } } /** *
     * Optional order / confirmation / booking code. Unique within the Production.
     * 
* * string orderNumber = 7; * @return The bytes for orderNumber. */ @java.lang.Override public com.google.protobuf.ByteString getOrderNumberBytes() { java.lang.Object ref = orderNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GROUPINGID_FIELD_NUMBER = 8; private volatile java.lang.Object groupingId_; /** *
     * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
     * 
* * string groupingId = 8; * @return The groupingId. */ @java.lang.Override public java.lang.String getGroupingId() { java.lang.Object ref = groupingId_; 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(); groupingId_ = s; return s; } } /** *
     * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
     * 
* * string groupingId = 8; * @return The bytes for groupingId. */ @java.lang.Override public com.google.protobuf.ByteString getGroupingIdBytes() { java.lang.Object ref = groupingId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); groupingId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BARCODECONTENTS_FIELD_NUMBER = 9; private volatile java.lang.Object barcodeContents_; /** *
     * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
     * 
* * string barcodeContents = 9; * @return The barcodeContents. */ @java.lang.Override public java.lang.String getBarcodeContents() { java.lang.Object ref = barcodeContents_; 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(); barcodeContents_ = s; return s; } } /** *
     * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
     * 
* * string barcodeContents = 9; * @return The bytes for barcodeContents. */ @java.lang.Override public com.google.protobuf.ByteString getBarcodeContentsBytes() { java.lang.Object ref = barcodeContents_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); barcodeContents_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEATINFO_FIELD_NUMBER = 10; private com.passkit.grpc.EventTickets.TicketOuterClass.Seat seatInfo_; /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 10; * @return Whether the seatInfo field is set. */ @java.lang.Override public boolean hasSeatInfo() { return seatInfo_ != null; } /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 10; * @return The seatInfo. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.Seat getSeatInfo() { return seatInfo_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.Seat.getDefaultInstance() : seatInfo_; } /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 10; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder getSeatInfoOrBuilder() { return getSeatInfo(); } public static final int FACEVALUE_FIELD_NUMBER = 11; private com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue faceValue_; /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 11; * @return Whether the faceValue field is set. */ @java.lang.Override public boolean hasFaceValue() { return faceValue_ != null; } /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 11; * @return The faceValue. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue getFaceValue() { return faceValue_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.getDefaultInstance() : faceValue_; } /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 11; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder getFaceValueOrBuilder() { return getFaceValue(); } public static final int PERSON_FIELD_NUMBER = 12; private com.passkit.grpc.Personal.Person person_; /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 12; * @return Whether the person field is set. */ @java.lang.Override public boolean hasPerson() { return person_ != null; } /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 12; * @return The person. */ @java.lang.Override public com.passkit.grpc.Personal.Person getPerson() { return person_ == null ? com.passkit.grpc.Personal.Person.getDefaultInstance() : person_; } /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 12; */ @java.lang.Override public com.passkit.grpc.Personal.PersonOrBuilder getPersonOrBuilder() { return getPerson(); } public static final int METADATA_FIELD_NUMBER = 13; private static final class MetaDataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketLimitedFields_MetaDataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metaData_; private com.google.protobuf.MapField internalGetMetaData() { if (metaData_ == null) { return com.google.protobuf.MapField.emptyMapField( MetaDataDefaultEntryHolder.defaultEntry); } return metaData_; } public int getMetaDataCount() { return internalGetMetaData().getMap().size(); } /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 13; */ @java.lang.Override public boolean containsMetaData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMetaData().getMap().containsKey(key); } /** * Use {@link #getMetaDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetaData() { return getMetaDataMap(); } /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 13; */ @java.lang.Override public java.util.Map getMetaDataMap() { return internalGetMetaData().getMap(); } /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 13; */ @java.lang.Override public java.lang.String getMetaDataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 13; */ @java.lang.Override public java.lang.String getMetaDataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int OPTOUT_FIELD_NUMBER = 14; private boolean optOut_; /** *
     * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
     * 
* * bool optOut = 14; * @return The optOut. */ @java.lang.Override public boolean getOptOut() { return optOut_; } public static final int STATUS_FIELD_NUMBER = 15; private int status_; /** *
     * Holds the ticket status.
     * 
* * .event_tickets.TicketStatus status = 15; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
     * Holds the ticket status.
     * 
* * .event_tickets.TicketStatus status = 15; * @return The status. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus getStatus() { @SuppressWarnings("deprecation") com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus result = com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.valueOf(status_); return result == null ? com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.UNRECOGNIZED : result; } public static final int EXPIRYDATE_FIELD_NUMBER = 16; private com.google.protobuf.Timestamp expiryDate_; /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 16; * @return Whether the expiryDate field is set. */ @java.lang.Override public boolean hasExpiryDate() { return expiryDate_ != null; } /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 16; * @return The expiryDate. */ @java.lang.Override public com.google.protobuf.Timestamp getExpiryDate() { return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_; } /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 16; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder() { return getExpiryDate(); } public static final int REDEMPTIONDETAILS_FIELD_NUMBER = 17; private com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails redemptionDetails_; /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 17; * @return Whether the redemptionDetails field is set. */ @java.lang.Override public boolean hasRedemptionDetails() { return redemptionDetails_ != null; } /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 17; * @return The redemptionDetails. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails getRedemptionDetails() { return redemptionDetails_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.getDefaultInstance() : redemptionDetails_; } /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 17; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder getRedemptionDetailsOrBuilder() { return getRedemptionDetails(); } public static final int VALIDATEDETAILS_FIELD_NUMBER = 18; private java.util.List validateDetails_; /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ @java.lang.Override public java.util.List getValidateDetailsList() { return validateDetails_; } /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ @java.lang.Override public java.util.List getValidateDetailsOrBuilderList() { return validateDetails_; } /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ @java.lang.Override public int getValidateDetailsCount() { return validateDetails_.size(); } /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails getValidateDetails(int index) { return validateDetails_.get(index); } /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder getValidateDetailsOrBuilder( int index) { return validateDetails_.get(index); } public static final int PASSOVERRIDES_FIELD_NUMBER = 19; private com.passkit.grpc.PassOuterClass.PassOverrides passOverrides_; /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 19; * @return Whether the passOverrides field is set. */ @java.lang.Override public boolean hasPassOverrides() { return passOverrides_ != null; } /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 19; * @return The passOverrides. */ @java.lang.Override public com.passkit.grpc.PassOuterClass.PassOverrides getPassOverrides() { return passOverrides_ == null ? com.passkit.grpc.PassOuterClass.PassOverrides.getDefaultInstance() : passOverrides_; } /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 19; */ @java.lang.Override public com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder getPassOverridesOrBuilder() { return getPassOverrides(); } public static final int PASSMETADATA_FIELD_NUMBER = 20; private com.passkit.grpc.MetricsOuterClass.Metadata passMetaData_; /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 20; * @return Whether the passMetaData field is set. */ @java.lang.Override public boolean hasPassMetaData() { return passMetaData_ != null; } /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 20; * @return The passMetaData. */ @java.lang.Override public com.passkit.grpc.MetricsOuterClass.Metadata getPassMetaData() { return passMetaData_ == null ? com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance() : passMetaData_; } /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 20; */ @java.lang.Override public com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder getPassMetaDataOrBuilder() { return getPassMetaData(); } public static final int CREATED_FIELD_NUMBER = 21; private com.google.protobuf.Timestamp created_; /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 21; * @return Whether the created field is set. */ @java.lang.Override public boolean hasCreated() { return created_ != null; } /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 21; * @return The created. */ @java.lang.Override public com.google.protobuf.Timestamp getCreated() { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 21; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() { return getCreated(); } public static final int UPDATED_FIELD_NUMBER = 22; private com.google.protobuf.Timestamp updated_; /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 22; * @return Whether the updated field is set. */ @java.lang.Override public boolean hasUpdated() { return updated_ != null; } /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 22; * @return The updated. */ @java.lang.Override public com.google.protobuf.Timestamp getUpdated() { return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_; } /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 22; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder() { return getUpdated(); } 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 (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!getTicketNumberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ticketNumber_); } if (production_ != null) { output.writeMessage(3, getProduction()); } if (event_ != null) { output.writeMessage(4, getEvent()); } if (venue_ != null) { output.writeMessage(5, getVenue()); } if (ticketType_ != null) { output.writeMessage(6, getTicketType()); } if (!getOrderNumberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, orderNumber_); } if (!getGroupingIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, groupingId_); } if (!getBarcodeContentsBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, barcodeContents_); } if (seatInfo_ != null) { output.writeMessage(10, getSeatInfo()); } if (faceValue_ != null) { output.writeMessage(11, getFaceValue()); } if (person_ != null) { output.writeMessage(12, getPerson()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetaData(), MetaDataDefaultEntryHolder.defaultEntry, 13); if (optOut_ != false) { output.writeBool(14, optOut_); } if (status_ != com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.STATUS_NONE.getNumber()) { output.writeEnum(15, status_); } if (expiryDate_ != null) { output.writeMessage(16, getExpiryDate()); } if (redemptionDetails_ != null) { output.writeMessage(17, getRedemptionDetails()); } for (int i = 0; i < validateDetails_.size(); i++) { output.writeMessage(18, validateDetails_.get(i)); } if (passOverrides_ != null) { output.writeMessage(19, getPassOverrides()); } if (passMetaData_ != null) { output.writeMessage(20, getPassMetaData()); } if (created_ != null) { output.writeMessage(21, getCreated()); } if (updated_ != null) { output.writeMessage(22, getUpdated()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (!getTicketNumberBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ticketNumber_); } if (production_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getProduction()); } if (event_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getEvent()); } if (venue_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getVenue()); } if (ticketType_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getTicketType()); } if (!getOrderNumberBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, orderNumber_); } if (!getGroupingIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, groupingId_); } if (!getBarcodeContentsBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, barcodeContents_); } if (seatInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getSeatInfo()); } if (faceValue_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getFaceValue()); } if (person_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getPerson()); } for (java.util.Map.Entry entry : internalGetMetaData().getMap().entrySet()) { com.google.protobuf.MapEntry metaData__ = MetaDataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, metaData__); } if (optOut_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(14, optOut_); } if (status_ != com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.STATUS_NONE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(15, status_); } if (expiryDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getExpiryDate()); } if (redemptionDetails_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getRedemptionDetails()); } for (int i = 0; i < validateDetails_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, validateDetails_.get(i)); } if (passOverrides_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, getPassOverrides()); } if (passMetaData_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, getPassMetaData()); } if (created_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, getCreated()); } if (updated_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, getUpdated()); } 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.EventTickets.TicketOuterClass.TicketLimitedFields)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields other = (com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields) obj; if (!getId() .equals(other.getId())) return false; if (!getTicketNumber() .equals(other.getTicketNumber())) return false; if (hasProduction() != other.hasProduction()) return false; if (hasProduction()) { if (!getProduction() .equals(other.getProduction())) return false; } if (hasEvent() != other.hasEvent()) return false; if (hasEvent()) { if (!getEvent() .equals(other.getEvent())) return false; } if (hasVenue() != other.hasVenue()) return false; if (hasVenue()) { if (!getVenue() .equals(other.getVenue())) return false; } if (hasTicketType() != other.hasTicketType()) return false; if (hasTicketType()) { if (!getTicketType() .equals(other.getTicketType())) return false; } if (!getOrderNumber() .equals(other.getOrderNumber())) return false; if (!getGroupingId() .equals(other.getGroupingId())) return false; if (!getBarcodeContents() .equals(other.getBarcodeContents())) return false; if (hasSeatInfo() != other.hasSeatInfo()) return false; if (hasSeatInfo()) { if (!getSeatInfo() .equals(other.getSeatInfo())) return false; } if (hasFaceValue() != other.hasFaceValue()) return false; if (hasFaceValue()) { if (!getFaceValue() .equals(other.getFaceValue())) return false; } if (hasPerson() != other.hasPerson()) return false; if (hasPerson()) { if (!getPerson() .equals(other.getPerson())) return false; } if (!internalGetMetaData().equals( other.internalGetMetaData())) return false; if (getOptOut() != other.getOptOut()) return false; if (status_ != other.status_) return false; if (hasExpiryDate() != other.hasExpiryDate()) return false; if (hasExpiryDate()) { if (!getExpiryDate() .equals(other.getExpiryDate())) return false; } if (hasRedemptionDetails() != other.hasRedemptionDetails()) return false; if (hasRedemptionDetails()) { if (!getRedemptionDetails() .equals(other.getRedemptionDetails())) return false; } if (!getValidateDetailsList() .equals(other.getValidateDetailsList())) return false; if (hasPassOverrides() != other.hasPassOverrides()) return false; if (hasPassOverrides()) { if (!getPassOverrides() .equals(other.getPassOverrides())) return false; } if (hasPassMetaData() != other.hasPassMetaData()) return false; if (hasPassMetaData()) { if (!getPassMetaData() .equals(other.getPassMetaData())) return false; } if (hasCreated() != other.hasCreated()) return false; if (hasCreated()) { if (!getCreated() .equals(other.getCreated())) return false; } if (hasUpdated() != other.hasUpdated()) return false; if (hasUpdated()) { if (!getUpdated() .equals(other.getUpdated())) 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) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (37 * hash) + TICKETNUMBER_FIELD_NUMBER; hash = (53 * hash) + getTicketNumber().hashCode(); if (hasProduction()) { hash = (37 * hash) + PRODUCTION_FIELD_NUMBER; hash = (53 * hash) + getProduction().hashCode(); } if (hasEvent()) { hash = (37 * hash) + EVENT_FIELD_NUMBER; hash = (53 * hash) + getEvent().hashCode(); } if (hasVenue()) { hash = (37 * hash) + VENUE_FIELD_NUMBER; hash = (53 * hash) + getVenue().hashCode(); } if (hasTicketType()) { hash = (37 * hash) + TICKETTYPE_FIELD_NUMBER; hash = (53 * hash) + getTicketType().hashCode(); } hash = (37 * hash) + ORDERNUMBER_FIELD_NUMBER; hash = (53 * hash) + getOrderNumber().hashCode(); hash = (37 * hash) + GROUPINGID_FIELD_NUMBER; hash = (53 * hash) + getGroupingId().hashCode(); hash = (37 * hash) + BARCODECONTENTS_FIELD_NUMBER; hash = (53 * hash) + getBarcodeContents().hashCode(); if (hasSeatInfo()) { hash = (37 * hash) + SEATINFO_FIELD_NUMBER; hash = (53 * hash) + getSeatInfo().hashCode(); } if (hasFaceValue()) { hash = (37 * hash) + FACEVALUE_FIELD_NUMBER; hash = (53 * hash) + getFaceValue().hashCode(); } if (hasPerson()) { hash = (37 * hash) + PERSON_FIELD_NUMBER; hash = (53 * hash) + getPerson().hashCode(); } if (!internalGetMetaData().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetaData().hashCode(); } hash = (37 * hash) + OPTOUT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOptOut()); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; if (hasExpiryDate()) { hash = (37 * hash) + EXPIRYDATE_FIELD_NUMBER; hash = (53 * hash) + getExpiryDate().hashCode(); } if (hasRedemptionDetails()) { hash = (37 * hash) + REDEMPTIONDETAILS_FIELD_NUMBER; hash = (53 * hash) + getRedemptionDetails().hashCode(); } if (getValidateDetailsCount() > 0) { hash = (37 * hash) + VALIDATEDETAILS_FIELD_NUMBER; hash = (53 * hash) + getValidateDetailsList().hashCode(); } if (hasPassOverrides()) { hash = (37 * hash) + PASSOVERRIDES_FIELD_NUMBER; hash = (53 * hash) + getPassOverrides().hashCode(); } if (hasPassMetaData()) { hash = (37 * hash) + PASSMETADATA_FIELD_NUMBER; hash = (53 * hash) + getPassMetaData().hashCode(); } if (hasCreated()) { hash = (37 * hash) + CREATED_FIELD_NUMBER; hash = (53 * hash) + getCreated().hashCode(); } if (hasUpdated()) { hash = (37 * hash) + UPDATED_FIELD_NUMBER; hash = (53 * hash) + getUpdated().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields 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.EventTickets.TicketOuterClass.TicketLimitedFields parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields 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.EventTickets.TicketOuterClass.TicketLimitedFields parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields 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.EventTickets.TicketOuterClass.TicketLimitedFields parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields 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.EventTickets.TicketOuterClass.TicketLimitedFields parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields 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.EventTickets.TicketOuterClass.TicketLimitedFields 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; } /** * Protobuf type {@code event_tickets.TicketLimitedFields} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.TicketLimitedFields) com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFieldsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketLimitedFields_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 13: return internalGetMetaData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 13: return internalGetMutableMetaData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketLimitedFields_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.class, com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getValidateDetailsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); id_ = ""; ticketNumber_ = ""; if (productionBuilder_ == null) { production_ = null; } else { production_ = null; productionBuilder_ = null; } if (eventBuilder_ == null) { event_ = null; } else { event_ = null; eventBuilder_ = null; } if (venueBuilder_ == null) { venue_ = null; } else { venue_ = null; venueBuilder_ = null; } if (ticketTypeBuilder_ == null) { ticketType_ = null; } else { ticketType_ = null; ticketTypeBuilder_ = null; } orderNumber_ = ""; groupingId_ = ""; barcodeContents_ = ""; if (seatInfoBuilder_ == null) { seatInfo_ = null; } else { seatInfo_ = null; seatInfoBuilder_ = null; } if (faceValueBuilder_ == null) { faceValue_ = null; } else { faceValue_ = null; faceValueBuilder_ = null; } if (personBuilder_ == null) { person_ = null; } else { person_ = null; personBuilder_ = null; } internalGetMutableMetaData().clear(); optOut_ = false; status_ = 0; if (expiryDateBuilder_ == null) { expiryDate_ = null; } else { expiryDate_ = null; expiryDateBuilder_ = null; } if (redemptionDetailsBuilder_ == null) { redemptionDetails_ = null; } else { redemptionDetails_ = null; redemptionDetailsBuilder_ = null; } if (validateDetailsBuilder_ == null) { validateDetails_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { validateDetailsBuilder_.clear(); } if (passOverridesBuilder_ == null) { passOverrides_ = null; } else { passOverrides_ = null; passOverridesBuilder_ = null; } if (passMetaDataBuilder_ == null) { passMetaData_ = null; } else { passMetaData_ = null; passMetaDataBuilder_ = null; } if (createdBuilder_ == null) { created_ = null; } else { created_ = null; createdBuilder_ = null; } if (updatedBuilder_ == null) { updated_ = null; } else { updated_ = null; updatedBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_TicketLimitedFields_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields build() { com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields result = new com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.ticketNumber_ = ticketNumber_; if (productionBuilder_ == null) { result.production_ = production_; } else { result.production_ = productionBuilder_.build(); } if (eventBuilder_ == null) { result.event_ = event_; } else { result.event_ = eventBuilder_.build(); } if (venueBuilder_ == null) { result.venue_ = venue_; } else { result.venue_ = venueBuilder_.build(); } if (ticketTypeBuilder_ == null) { result.ticketType_ = ticketType_; } else { result.ticketType_ = ticketTypeBuilder_.build(); } result.orderNumber_ = orderNumber_; result.groupingId_ = groupingId_; result.barcodeContents_ = barcodeContents_; if (seatInfoBuilder_ == null) { result.seatInfo_ = seatInfo_; } else { result.seatInfo_ = seatInfoBuilder_.build(); } if (faceValueBuilder_ == null) { result.faceValue_ = faceValue_; } else { result.faceValue_ = faceValueBuilder_.build(); } if (personBuilder_ == null) { result.person_ = person_; } else { result.person_ = personBuilder_.build(); } result.metaData_ = internalGetMetaData(); result.metaData_.makeImmutable(); result.optOut_ = optOut_; result.status_ = status_; if (expiryDateBuilder_ == null) { result.expiryDate_ = expiryDate_; } else { result.expiryDate_ = expiryDateBuilder_.build(); } if (redemptionDetailsBuilder_ == null) { result.redemptionDetails_ = redemptionDetails_; } else { result.redemptionDetails_ = redemptionDetailsBuilder_.build(); } if (validateDetailsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { validateDetails_ = java.util.Collections.unmodifiableList(validateDetails_); bitField0_ = (bitField0_ & ~0x00000002); } result.validateDetails_ = validateDetails_; } else { result.validateDetails_ = validateDetailsBuilder_.build(); } if (passOverridesBuilder_ == null) { result.passOverrides_ = passOverrides_; } else { result.passOverrides_ = passOverridesBuilder_.build(); } if (passMetaDataBuilder_ == null) { result.passMetaData_ = passMetaData_; } else { result.passMetaData_ = passMetaDataBuilder_.build(); } if (createdBuilder_ == null) { result.created_ = created_; } else { result.created_ = createdBuilder_.build(); } if (updatedBuilder_ == null) { result.updated_ = updated_; } else { result.updated_ = updatedBuilder_.build(); } 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.EventTickets.TicketOuterClass.TicketLimitedFields) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getTicketNumber().isEmpty()) { ticketNumber_ = other.ticketNumber_; onChanged(); } if (other.hasProduction()) { mergeProduction(other.getProduction()); } if (other.hasEvent()) { mergeEvent(other.getEvent()); } if (other.hasVenue()) { mergeVenue(other.getVenue()); } if (other.hasTicketType()) { mergeTicketType(other.getTicketType()); } if (!other.getOrderNumber().isEmpty()) { orderNumber_ = other.orderNumber_; onChanged(); } if (!other.getGroupingId().isEmpty()) { groupingId_ = other.groupingId_; onChanged(); } if (!other.getBarcodeContents().isEmpty()) { barcodeContents_ = other.barcodeContents_; onChanged(); } if (other.hasSeatInfo()) { mergeSeatInfo(other.getSeatInfo()); } if (other.hasFaceValue()) { mergeFaceValue(other.getFaceValue()); } if (other.hasPerson()) { mergePerson(other.getPerson()); } internalGetMutableMetaData().mergeFrom( other.internalGetMetaData()); if (other.getOptOut() != false) { setOptOut(other.getOptOut()); } if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (other.hasExpiryDate()) { mergeExpiryDate(other.getExpiryDate()); } if (other.hasRedemptionDetails()) { mergeRedemptionDetails(other.getRedemptionDetails()); } if (validateDetailsBuilder_ == null) { if (!other.validateDetails_.isEmpty()) { if (validateDetails_.isEmpty()) { validateDetails_ = other.validateDetails_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureValidateDetailsIsMutable(); validateDetails_.addAll(other.validateDetails_); } onChanged(); } } else { if (!other.validateDetails_.isEmpty()) { if (validateDetailsBuilder_.isEmpty()) { validateDetailsBuilder_.dispose(); validateDetailsBuilder_ = null; validateDetails_ = other.validateDetails_; bitField0_ = (bitField0_ & ~0x00000002); validateDetailsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getValidateDetailsFieldBuilder() : null; } else { validateDetailsBuilder_.addAllMessages(other.validateDetails_); } } } if (other.hasPassOverrides()) { mergePassOverrides(other.getPassOverrides()); } if (other.hasPassMetaData()) { mergePassMetaData(other.getPassMetaData()); } if (other.hasCreated()) { mergeCreated(other.getCreated()); } if (other.hasUpdated()) { mergeUpdated(other.getUpdated()); } 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.EventTickets.TicketOuterClass.TicketLimitedFields parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object id_ = ""; /** *
       * PassKit generated ticket id (22 characters).
       * 
* * string id = 1; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * PassKit generated ticket id (22 characters).
       * 
* * string id = 1; * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * PassKit generated ticket id (22 characters).
       * 
* * string id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /** *
       * PassKit generated ticket id (22 characters).
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * PassKit generated ticket id (22 characters).
       * 
* * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; onChanged(); return this; } private java.lang.Object ticketNumber_ = ""; /** *
       * User generated ticket number. Unique within the Production.
       * 
* * string ticketNumber = 2; * @return The ticketNumber. */ public java.lang.String getTicketNumber() { java.lang.Object ref = ticketNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ticketNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * User generated ticket number. Unique within the Production.
       * 
* * string ticketNumber = 2; * @return The bytes for ticketNumber. */ public com.google.protobuf.ByteString getTicketNumberBytes() { java.lang.Object ref = ticketNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * User generated ticket number. Unique within the Production.
       * 
* * string ticketNumber = 2; * @param value The ticketNumber to set. * @return This builder for chaining. */ public Builder setTicketNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ticketNumber_ = value; onChanged(); return this; } /** *
       * User generated ticket number. Unique within the Production.
       * 
* * string ticketNumber = 2; * @return This builder for chaining. */ public Builder clearTicketNumber() { ticketNumber_ = getDefaultInstance().getTicketNumber(); onChanged(); return this; } /** *
       * User generated ticket number. Unique within the Production.
       * 
* * string ticketNumber = 2; * @param value The bytes for ticketNumber to set. * @return This builder for chaining. */ public Builder setTicketNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ticketNumber_ = value; onChanged(); return this; } private com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse production_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.Builder, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponseOrBuilder> productionBuilder_; /** *
       * The production information.
       * 
* * .event_tickets.ProductionLimitedFieldsResponse production = 3; * @return Whether the production field is set. */ public boolean hasProduction() { return productionBuilder_ != null || production_ != null; } /** *
       * The production information.
       * 
* * .event_tickets.ProductionLimitedFieldsResponse production = 3; * @return The production. */ public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse getProduction() { if (productionBuilder_ == null) { return production_ == null ? com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.getDefaultInstance() : production_; } else { return productionBuilder_.getMessage(); } } /** *
       * The production information.
       * 
* * .event_tickets.ProductionLimitedFieldsResponse production = 3; */ public Builder setProduction(com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse value) { if (productionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } production_ = value; onChanged(); } else { productionBuilder_.setMessage(value); } return this; } /** *
       * The production information.
       * 
* * .event_tickets.ProductionLimitedFieldsResponse production = 3; */ public Builder setProduction( com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.Builder builderForValue) { if (productionBuilder_ == null) { production_ = builderForValue.build(); onChanged(); } else { productionBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The production information.
       * 
* * .event_tickets.ProductionLimitedFieldsResponse production = 3; */ public Builder mergeProduction(com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse value) { if (productionBuilder_ == null) { if (production_ != null) { production_ = com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.newBuilder(production_).mergeFrom(value).buildPartial(); } else { production_ = value; } onChanged(); } else { productionBuilder_.mergeFrom(value); } return this; } /** *
       * The production information.
       * 
* * .event_tickets.ProductionLimitedFieldsResponse production = 3; */ public Builder clearProduction() { if (productionBuilder_ == null) { production_ = null; onChanged(); } else { production_ = null; productionBuilder_ = null; } return this; } /** *
       * The production information.
       * 
* * .event_tickets.ProductionLimitedFieldsResponse production = 3; */ public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.Builder getProductionBuilder() { onChanged(); return getProductionFieldBuilder().getBuilder(); } /** *
       * The production information.
       * 
* * .event_tickets.ProductionLimitedFieldsResponse production = 3; */ public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponseOrBuilder getProductionOrBuilder() { if (productionBuilder_ != null) { return productionBuilder_.getMessageOrBuilder(); } else { return production_ == null ? com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.getDefaultInstance() : production_; } } /** *
       * The production information.
       * 
* * .event_tickets.ProductionLimitedFieldsResponse production = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.Builder, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponseOrBuilder> getProductionFieldBuilder() { if (productionBuilder_ == null) { productionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.Builder, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponseOrBuilder>( getProduction(), getParentForChildren(), isClean()); production_ = null; } return productionBuilder_; } private com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse event_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.Builder, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponseOrBuilder> eventBuilder_; /** *
       * The event information. Only specific fields are returned.
       * 
* * .event_tickets.EventLimitedFieldsResponse event = 4; * @return Whether the event field is set. */ public boolean hasEvent() { return eventBuilder_ != null || event_ != null; } /** *
       * The event information. Only specific fields are returned.
       * 
* * .event_tickets.EventLimitedFieldsResponse event = 4; * @return The event. */ public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse getEvent() { if (eventBuilder_ == null) { return event_ == null ? com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.getDefaultInstance() : event_; } else { return eventBuilder_.getMessage(); } } /** *
       * The event information. Only specific fields are returned.
       * 
* * .event_tickets.EventLimitedFieldsResponse event = 4; */ public Builder setEvent(com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse value) { if (eventBuilder_ == null) { if (value == null) { throw new NullPointerException(); } event_ = value; onChanged(); } else { eventBuilder_.setMessage(value); } return this; } /** *
       * The event information. Only specific fields are returned.
       * 
* * .event_tickets.EventLimitedFieldsResponse event = 4; */ public Builder setEvent( com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.Builder builderForValue) { if (eventBuilder_ == null) { event_ = builderForValue.build(); onChanged(); } else { eventBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The event information. Only specific fields are returned.
       * 
* * .event_tickets.EventLimitedFieldsResponse event = 4; */ public Builder mergeEvent(com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse value) { if (eventBuilder_ == null) { if (event_ != null) { event_ = com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.newBuilder(event_).mergeFrom(value).buildPartial(); } else { event_ = value; } onChanged(); } else { eventBuilder_.mergeFrom(value); } return this; } /** *
       * The event information. Only specific fields are returned.
       * 
* * .event_tickets.EventLimitedFieldsResponse event = 4; */ public Builder clearEvent() { if (eventBuilder_ == null) { event_ = null; onChanged(); } else { event_ = null; eventBuilder_ = null; } return this; } /** *
       * The event information. Only specific fields are returned.
       * 
* * .event_tickets.EventLimitedFieldsResponse event = 4; */ public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.Builder getEventBuilder() { onChanged(); return getEventFieldBuilder().getBuilder(); } /** *
       * The event information. Only specific fields are returned.
       * 
* * .event_tickets.EventLimitedFieldsResponse event = 4; */ public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponseOrBuilder getEventOrBuilder() { if (eventBuilder_ != null) { return eventBuilder_.getMessageOrBuilder(); } else { return event_ == null ? com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.getDefaultInstance() : event_; } } /** *
       * The event information. Only specific fields are returned.
       * 
* * .event_tickets.EventLimitedFieldsResponse event = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.Builder, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponseOrBuilder> getEventFieldBuilder() { if (eventBuilder_ == null) { eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.Builder, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponseOrBuilder>( getEvent(), getParentForChildren(), isClean()); event_ = null; } return eventBuilder_; } private com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse venue_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse, com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.Builder, com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponseOrBuilder> venueBuilder_; /** *
       * Venue information. Only specific fields are returned.
       * 
* * .event_tickets.VenueLimitedFieldsResponse venue = 5; * @return Whether the venue field is set. */ public boolean hasVenue() { return venueBuilder_ != null || venue_ != null; } /** *
       * Venue information. Only specific fields are returned.
       * 
* * .event_tickets.VenueLimitedFieldsResponse venue = 5; * @return The venue. */ public com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse getVenue() { if (venueBuilder_ == null) { return venue_ == null ? com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.getDefaultInstance() : venue_; } else { return venueBuilder_.getMessage(); } } /** *
       * Venue information. Only specific fields are returned.
       * 
* * .event_tickets.VenueLimitedFieldsResponse venue = 5; */ public Builder setVenue(com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse value) { if (venueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } venue_ = value; onChanged(); } else { venueBuilder_.setMessage(value); } return this; } /** *
       * Venue information. Only specific fields are returned.
       * 
* * .event_tickets.VenueLimitedFieldsResponse venue = 5; */ public Builder setVenue( com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.Builder builderForValue) { if (venueBuilder_ == null) { venue_ = builderForValue.build(); onChanged(); } else { venueBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Venue information. Only specific fields are returned.
       * 
* * .event_tickets.VenueLimitedFieldsResponse venue = 5; */ public Builder mergeVenue(com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse value) { if (venueBuilder_ == null) { if (venue_ != null) { venue_ = com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.newBuilder(venue_).mergeFrom(value).buildPartial(); } else { venue_ = value; } onChanged(); } else { venueBuilder_.mergeFrom(value); } return this; } /** *
       * Venue information. Only specific fields are returned.
       * 
* * .event_tickets.VenueLimitedFieldsResponse venue = 5; */ public Builder clearVenue() { if (venueBuilder_ == null) { venue_ = null; onChanged(); } else { venue_ = null; venueBuilder_ = null; } return this; } /** *
       * Venue information. Only specific fields are returned.
       * 
* * .event_tickets.VenueLimitedFieldsResponse venue = 5; */ public com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.Builder getVenueBuilder() { onChanged(); return getVenueFieldBuilder().getBuilder(); } /** *
       * Venue information. Only specific fields are returned.
       * 
* * .event_tickets.VenueLimitedFieldsResponse venue = 5; */ public com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponseOrBuilder getVenueOrBuilder() { if (venueBuilder_ != null) { return venueBuilder_.getMessageOrBuilder(); } else { return venue_ == null ? com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.getDefaultInstance() : venue_; } } /** *
       * Venue information. Only specific fields are returned.
       * 
* * .event_tickets.VenueLimitedFieldsResponse venue = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse, com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.Builder, com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponseOrBuilder> getVenueFieldBuilder() { if (venueBuilder_ == null) { venueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse, com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.Builder, com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponseOrBuilder>( getVenue(), getParentForChildren(), isClean()); venue_ = null; } return venueBuilder_; } private com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields ticketType_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields, com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields.Builder, com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFieldsOrBuilder> ticketTypeBuilder_; /** *
       * The ticket type the ticket is for. Only specific fields are returned.
       * 
* * .event_tickets.TicketTypeLimitedFields ticketType = 6; * @return Whether the ticketType field is set. */ public boolean hasTicketType() { return ticketTypeBuilder_ != null || ticketType_ != null; } /** *
       * The ticket type the ticket is for. Only specific fields are returned.
       * 
* * .event_tickets.TicketTypeLimitedFields ticketType = 6; * @return The ticketType. */ public com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields getTicketType() { if (ticketTypeBuilder_ == null) { return ticketType_ == null ? com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields.getDefaultInstance() : ticketType_; } else { return ticketTypeBuilder_.getMessage(); } } /** *
       * The ticket type the ticket is for. Only specific fields are returned.
       * 
* * .event_tickets.TicketTypeLimitedFields ticketType = 6; */ public Builder setTicketType(com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields value) { if (ticketTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ticketType_ = value; onChanged(); } else { ticketTypeBuilder_.setMessage(value); } return this; } /** *
       * The ticket type the ticket is for. Only specific fields are returned.
       * 
* * .event_tickets.TicketTypeLimitedFields ticketType = 6; */ public Builder setTicketType( com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields.Builder builderForValue) { if (ticketTypeBuilder_ == null) { ticketType_ = builderForValue.build(); onChanged(); } else { ticketTypeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The ticket type the ticket is for. Only specific fields are returned.
       * 
* * .event_tickets.TicketTypeLimitedFields ticketType = 6; */ public Builder mergeTicketType(com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields value) { if (ticketTypeBuilder_ == null) { if (ticketType_ != null) { ticketType_ = com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields.newBuilder(ticketType_).mergeFrom(value).buildPartial(); } else { ticketType_ = value; } onChanged(); } else { ticketTypeBuilder_.mergeFrom(value); } return this; } /** *
       * The ticket type the ticket is for. Only specific fields are returned.
       * 
* * .event_tickets.TicketTypeLimitedFields ticketType = 6; */ public Builder clearTicketType() { if (ticketTypeBuilder_ == null) { ticketType_ = null; onChanged(); } else { ticketType_ = null; ticketTypeBuilder_ = null; } return this; } /** *
       * The ticket type the ticket is for. Only specific fields are returned.
       * 
* * .event_tickets.TicketTypeLimitedFields ticketType = 6; */ public com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields.Builder getTicketTypeBuilder() { onChanged(); return getTicketTypeFieldBuilder().getBuilder(); } /** *
       * The ticket type the ticket is for. Only specific fields are returned.
       * 
* * .event_tickets.TicketTypeLimitedFields ticketType = 6; */ public com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFieldsOrBuilder getTicketTypeOrBuilder() { if (ticketTypeBuilder_ != null) { return ticketTypeBuilder_.getMessageOrBuilder(); } else { return ticketType_ == null ? com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields.getDefaultInstance() : ticketType_; } } /** *
       * The ticket type the ticket is for. Only specific fields are returned.
       * 
* * .event_tickets.TicketTypeLimitedFields ticketType = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields, com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields.Builder, com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFieldsOrBuilder> getTicketTypeFieldBuilder() { if (ticketTypeBuilder_ == null) { ticketTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields, com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFields.Builder, com.passkit.grpc.EventTickets.TicketTypeOuterClass.TicketTypeLimitedFieldsOrBuilder>( getTicketType(), getParentForChildren(), isClean()); ticketType_ = null; } return ticketTypeBuilder_; } private java.lang.Object orderNumber_ = ""; /** *
       * Optional order / confirmation / booking code. Unique within the Production.
       * 
* * string orderNumber = 7; * @return The orderNumber. */ public java.lang.String getOrderNumber() { java.lang.Object ref = orderNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional order / confirmation / booking code. Unique within the Production.
       * 
* * string orderNumber = 7; * @return The bytes for orderNumber. */ public com.google.protobuf.ByteString getOrderNumberBytes() { java.lang.Object ref = orderNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional order / confirmation / booking code. Unique within the Production.
       * 
* * string orderNumber = 7; * @param value The orderNumber to set. * @return This builder for chaining. */ public Builder setOrderNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } orderNumber_ = value; onChanged(); return this; } /** *
       * Optional order / confirmation / booking code. Unique within the Production.
       * 
* * string orderNumber = 7; * @return This builder for chaining. */ public Builder clearOrderNumber() { orderNumber_ = getDefaultInstance().getOrderNumber(); onChanged(); return this; } /** *
       * Optional order / confirmation / booking code. Unique within the Production.
       * 
* * string orderNumber = 7; * @param value The bytes for orderNumber to set. * @return This builder for chaining. */ public Builder setOrderNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderNumber_ = value; onChanged(); return this; } private java.lang.Object groupingId_ = ""; /** *
       * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
       * 
* * string groupingId = 8; * @return The groupingId. */ public java.lang.String getGroupingId() { java.lang.Object ref = groupingId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupingId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
       * 
* * string groupingId = 8; * @return The bytes for groupingId. */ public com.google.protobuf.ByteString getGroupingIdBytes() { java.lang.Object ref = groupingId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); groupingId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
       * 
* * string groupingId = 8; * @param value The groupingId to set. * @return This builder for chaining. */ public Builder setGroupingId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } groupingId_ = value; onChanged(); return this; } /** *
       * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
       * 
* * string groupingId = 8; * @return This builder for chaining. */ public Builder clearGroupingId() { groupingId_ = getDefaultInstance().getGroupingId(); onChanged(); return this; } /** *
       * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
       * 
* * string groupingId = 8; * @param value The bytes for groupingId to set. * @return This builder for chaining. */ public Builder setGroupingIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); groupingId_ = value; onChanged(); return this; } private java.lang.Object barcodeContents_ = ""; /** *
       * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
       * 
* * string barcodeContents = 9; * @return The barcodeContents. */ public java.lang.String getBarcodeContents() { java.lang.Object ref = barcodeContents_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); barcodeContents_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
       * 
* * string barcodeContents = 9; * @return The bytes for barcodeContents. */ public com.google.protobuf.ByteString getBarcodeContentsBytes() { java.lang.Object ref = barcodeContents_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); barcodeContents_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
       * 
* * string barcodeContents = 9; * @param value The barcodeContents to set. * @return This builder for chaining. */ public Builder setBarcodeContents( java.lang.String value) { if (value == null) { throw new NullPointerException(); } barcodeContents_ = value; onChanged(); return this; } /** *
       * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
       * 
* * string barcodeContents = 9; * @return This builder for chaining. */ public Builder clearBarcodeContents() { barcodeContents_ = getDefaultInstance().getBarcodeContents(); onChanged(); return this; } /** *
       * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
       * 
* * string barcodeContents = 9; * @param value The bytes for barcodeContents to set. * @return This builder for chaining. */ public Builder setBarcodeContentsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); barcodeContents_ = value; onChanged(); return this; } private com.passkit.grpc.EventTickets.TicketOuterClass.Seat seatInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.Seat, com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder> seatInfoBuilder_; /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 10; * @return Whether the seatInfo field is set. */ public boolean hasSeatInfo() { return seatInfoBuilder_ != null || seatInfo_ != null; } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 10; * @return The seatInfo. */ public com.passkit.grpc.EventTickets.TicketOuterClass.Seat getSeatInfo() { if (seatInfoBuilder_ == null) { return seatInfo_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.Seat.getDefaultInstance() : seatInfo_; } else { return seatInfoBuilder_.getMessage(); } } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 10; */ public Builder setSeatInfo(com.passkit.grpc.EventTickets.TicketOuterClass.Seat value) { if (seatInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } seatInfo_ = value; onChanged(); } else { seatInfoBuilder_.setMessage(value); } return this; } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 10; */ public Builder setSeatInfo( com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder builderForValue) { if (seatInfoBuilder_ == null) { seatInfo_ = builderForValue.build(); onChanged(); } else { seatInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 10; */ public Builder mergeSeatInfo(com.passkit.grpc.EventTickets.TicketOuterClass.Seat value) { if (seatInfoBuilder_ == null) { if (seatInfo_ != null) { seatInfo_ = com.passkit.grpc.EventTickets.TicketOuterClass.Seat.newBuilder(seatInfo_).mergeFrom(value).buildPartial(); } else { seatInfo_ = value; } onChanged(); } else { seatInfoBuilder_.mergeFrom(value); } return this; } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 10; */ public Builder clearSeatInfo() { if (seatInfoBuilder_ == null) { seatInfo_ = null; onChanged(); } else { seatInfo_ = null; seatInfoBuilder_ = null; } return this; } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 10; */ public com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder getSeatInfoBuilder() { onChanged(); return getSeatInfoFieldBuilder().getBuilder(); } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 10; */ public com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder getSeatInfoOrBuilder() { if (seatInfoBuilder_ != null) { return seatInfoBuilder_.getMessageOrBuilder(); } else { return seatInfo_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.Seat.getDefaultInstance() : seatInfo_; } } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.Seat, com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder> getSeatInfoFieldBuilder() { if (seatInfoBuilder_ == null) { seatInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.Seat, com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder>( getSeatInfo(), getParentForChildren(), isClean()); seatInfo_ = null; } return seatInfoBuilder_; } private com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue faceValue_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder> faceValueBuilder_; /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 11; * @return Whether the faceValue field is set. */ public boolean hasFaceValue() { return faceValueBuilder_ != null || faceValue_ != null; } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 11; * @return The faceValue. */ public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue getFaceValue() { if (faceValueBuilder_ == null) { return faceValue_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.getDefaultInstance() : faceValue_; } else { return faceValueBuilder_.getMessage(); } } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 11; */ public Builder setFaceValue(com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue value) { if (faceValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } faceValue_ = value; onChanged(); } else { faceValueBuilder_.setMessage(value); } return this; } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 11; */ public Builder setFaceValue( com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder builderForValue) { if (faceValueBuilder_ == null) { faceValue_ = builderForValue.build(); onChanged(); } else { faceValueBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 11; */ public Builder mergeFaceValue(com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue value) { if (faceValueBuilder_ == null) { if (faceValue_ != null) { faceValue_ = com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.newBuilder(faceValue_).mergeFrom(value).buildPartial(); } else { faceValue_ = value; } onChanged(); } else { faceValueBuilder_.mergeFrom(value); } return this; } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 11; */ public Builder clearFaceValue() { if (faceValueBuilder_ == null) { faceValue_ = null; onChanged(); } else { faceValue_ = null; faceValueBuilder_ = null; } return this; } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 11; */ public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder getFaceValueBuilder() { onChanged(); return getFaceValueFieldBuilder().getBuilder(); } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 11; */ public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder getFaceValueOrBuilder() { if (faceValueBuilder_ != null) { return faceValueBuilder_.getMessageOrBuilder(); } else { return faceValue_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.getDefaultInstance() : faceValue_; } } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 11; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder> getFaceValueFieldBuilder() { if (faceValueBuilder_ == null) { faceValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder>( getFaceValue(), getParentForChildren(), isClean()); faceValue_ = null; } return faceValueBuilder_; } private com.passkit.grpc.Personal.Person person_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Person, com.passkit.grpc.Personal.Person.Builder, com.passkit.grpc.Personal.PersonOrBuilder> personBuilder_; /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 12; * @return Whether the person field is set. */ public boolean hasPerson() { return personBuilder_ != null || person_ != null; } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 12; * @return The person. */ public com.passkit.grpc.Personal.Person getPerson() { if (personBuilder_ == null) { return person_ == null ? com.passkit.grpc.Personal.Person.getDefaultInstance() : person_; } else { return personBuilder_.getMessage(); } } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 12; */ public Builder setPerson(com.passkit.grpc.Personal.Person value) { if (personBuilder_ == null) { if (value == null) { throw new NullPointerException(); } person_ = value; onChanged(); } else { personBuilder_.setMessage(value); } return this; } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 12; */ public Builder setPerson( com.passkit.grpc.Personal.Person.Builder builderForValue) { if (personBuilder_ == null) { person_ = builderForValue.build(); onChanged(); } else { personBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 12; */ public Builder mergePerson(com.passkit.grpc.Personal.Person value) { if (personBuilder_ == null) { if (person_ != null) { person_ = com.passkit.grpc.Personal.Person.newBuilder(person_).mergeFrom(value).buildPartial(); } else { person_ = value; } onChanged(); } else { personBuilder_.mergeFrom(value); } return this; } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 12; */ public Builder clearPerson() { if (personBuilder_ == null) { person_ = null; onChanged(); } else { person_ = null; personBuilder_ = null; } return this; } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 12; */ public com.passkit.grpc.Personal.Person.Builder getPersonBuilder() { onChanged(); return getPersonFieldBuilder().getBuilder(); } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 12; */ public com.passkit.grpc.Personal.PersonOrBuilder getPersonOrBuilder() { if (personBuilder_ != null) { return personBuilder_.getMessageOrBuilder(); } else { return person_ == null ? com.passkit.grpc.Personal.Person.getDefaultInstance() : person_; } } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 12; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Person, com.passkit.grpc.Personal.Person.Builder, com.passkit.grpc.Personal.PersonOrBuilder> getPersonFieldBuilder() { if (personBuilder_ == null) { personBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Person, com.passkit.grpc.Personal.Person.Builder, com.passkit.grpc.Personal.PersonOrBuilder>( getPerson(), getParentForChildren(), isClean()); person_ = null; } return personBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metaData_; private com.google.protobuf.MapField internalGetMetaData() { if (metaData_ == null) { return com.google.protobuf.MapField.emptyMapField( MetaDataDefaultEntryHolder.defaultEntry); } return metaData_; } private com.google.protobuf.MapField internalGetMutableMetaData() { onChanged();; if (metaData_ == null) { metaData_ = com.google.protobuf.MapField.newMapField( MetaDataDefaultEntryHolder.defaultEntry); } if (!metaData_.isMutable()) { metaData_ = metaData_.copy(); } return metaData_; } public int getMetaDataCount() { return internalGetMetaData().getMap().size(); } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 13; */ @java.lang.Override public boolean containsMetaData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMetaData().getMap().containsKey(key); } /** * Use {@link #getMetaDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetaData() { return getMetaDataMap(); } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 13; */ @java.lang.Override public java.util.Map getMetaDataMap() { return internalGetMetaData().getMap(); } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 13; */ @java.lang.Override public java.lang.String getMetaDataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 13; */ @java.lang.Override public java.lang.String getMetaDataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetaData() { internalGetMutableMetaData().getMutableMap() .clear(); return this; } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 13; */ public Builder removeMetaData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableMetaData().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetaData() { return internalGetMutableMetaData().getMutableMap(); } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 13; */ public Builder putMetaData( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableMetaData().getMutableMap() .put(key, value); return this; } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 13; */ public Builder putAllMetaData( java.util.Map values) { internalGetMutableMetaData().getMutableMap() .putAll(values); return this; } private boolean optOut_ ; /** *
       * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
       * 
* * bool optOut = 14; * @return The optOut. */ @java.lang.Override public boolean getOptOut() { return optOut_; } /** *
       * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
       * 
* * bool optOut = 14; * @param value The optOut to set. * @return This builder for chaining. */ public Builder setOptOut(boolean value) { optOut_ = value; onChanged(); return this; } /** *
       * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
       * 
* * bool optOut = 14; * @return This builder for chaining. */ public Builder clearOptOut() { optOut_ = false; onChanged(); return this; } private int status_ = 0; /** *
       * Holds the ticket status.
       * 
* * .event_tickets.TicketStatus status = 15; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
       * Holds the ticket status.
       * 
* * .event_tickets.TicketStatus status = 15; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /** *
       * Holds the ticket status.
       * 
* * .event_tickets.TicketStatus status = 15; * @return The status. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus getStatus() { @SuppressWarnings("deprecation") com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus result = com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.valueOf(status_); return result == null ? com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.UNRECOGNIZED : result; } /** *
       * Holds the ticket status.
       * 
* * .event_tickets.TicketStatus status = 15; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** *
       * Holds the ticket status.
       * 
* * .event_tickets.TicketStatus status = 15; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } private com.google.protobuf.Timestamp expiryDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiryDateBuilder_; /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 16; * @return Whether the expiryDate field is set. */ public boolean hasExpiryDate() { return expiryDateBuilder_ != null || expiryDate_ != null; } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 16; * @return The expiryDate. */ public com.google.protobuf.Timestamp getExpiryDate() { if (expiryDateBuilder_ == null) { return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_; } else { return expiryDateBuilder_.getMessage(); } } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 16; */ public Builder setExpiryDate(com.google.protobuf.Timestamp value) { if (expiryDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expiryDate_ = value; onChanged(); } else { expiryDateBuilder_.setMessage(value); } return this; } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 16; */ public Builder setExpiryDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (expiryDateBuilder_ == null) { expiryDate_ = builderForValue.build(); onChanged(); } else { expiryDateBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 16; */ public Builder mergeExpiryDate(com.google.protobuf.Timestamp value) { if (expiryDateBuilder_ == null) { if (expiryDate_ != null) { expiryDate_ = com.google.protobuf.Timestamp.newBuilder(expiryDate_).mergeFrom(value).buildPartial(); } else { expiryDate_ = value; } onChanged(); } else { expiryDateBuilder_.mergeFrom(value); } return this; } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 16; */ public Builder clearExpiryDate() { if (expiryDateBuilder_ == null) { expiryDate_ = null; onChanged(); } else { expiryDate_ = null; expiryDateBuilder_ = null; } return this; } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 16; */ public com.google.protobuf.Timestamp.Builder getExpiryDateBuilder() { onChanged(); return getExpiryDateFieldBuilder().getBuilder(); } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 16; */ public com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder() { if (expiryDateBuilder_ != null) { return expiryDateBuilder_.getMessageOrBuilder(); } else { return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_; } } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 16; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpiryDateFieldBuilder() { if (expiryDateBuilder_ == null) { expiryDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getExpiryDate(), getParentForChildren(), isClean()); expiryDate_ = null; } return expiryDateBuilder_; } private com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails redemptionDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder> redemptionDetailsBuilder_; /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 17; * @return Whether the redemptionDetails field is set. */ public boolean hasRedemptionDetails() { return redemptionDetailsBuilder_ != null || redemptionDetails_ != null; } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 17; * @return The redemptionDetails. */ public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails getRedemptionDetails() { if (redemptionDetailsBuilder_ == null) { return redemptionDetails_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.getDefaultInstance() : redemptionDetails_; } else { return redemptionDetailsBuilder_.getMessage(); } } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 17; */ public Builder setRedemptionDetails(com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails value) { if (redemptionDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } redemptionDetails_ = value; onChanged(); } else { redemptionDetailsBuilder_.setMessage(value); } return this; } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 17; */ public Builder setRedemptionDetails( com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder builderForValue) { if (redemptionDetailsBuilder_ == null) { redemptionDetails_ = builderForValue.build(); onChanged(); } else { redemptionDetailsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 17; */ public Builder mergeRedemptionDetails(com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails value) { if (redemptionDetailsBuilder_ == null) { if (redemptionDetails_ != null) { redemptionDetails_ = com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.newBuilder(redemptionDetails_).mergeFrom(value).buildPartial(); } else { redemptionDetails_ = value; } onChanged(); } else { redemptionDetailsBuilder_.mergeFrom(value); } return this; } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 17; */ public Builder clearRedemptionDetails() { if (redemptionDetailsBuilder_ == null) { redemptionDetails_ = null; onChanged(); } else { redemptionDetails_ = null; redemptionDetailsBuilder_ = null; } return this; } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 17; */ public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder getRedemptionDetailsBuilder() { onChanged(); return getRedemptionDetailsFieldBuilder().getBuilder(); } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 17; */ public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder getRedemptionDetailsOrBuilder() { if (redemptionDetailsBuilder_ != null) { return redemptionDetailsBuilder_.getMessageOrBuilder(); } else { return redemptionDetails_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.getDefaultInstance() : redemptionDetails_; } } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 17; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder> getRedemptionDetailsFieldBuilder() { if (redemptionDetailsBuilder_ == null) { redemptionDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder>( getRedemptionDetails(), getParentForChildren(), isClean()); redemptionDetails_ = null; } return redemptionDetailsBuilder_; } private java.util.List validateDetails_ = java.util.Collections.emptyList(); private void ensureValidateDetailsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { validateDetails_ = new java.util.ArrayList(validateDetails_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder> validateDetailsBuilder_; /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public java.util.List getValidateDetailsList() { if (validateDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(validateDetails_); } else { return validateDetailsBuilder_.getMessageList(); } } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public int getValidateDetailsCount() { if (validateDetailsBuilder_ == null) { return validateDetails_.size(); } else { return validateDetailsBuilder_.getCount(); } } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails getValidateDetails(int index) { if (validateDetailsBuilder_ == null) { return validateDetails_.get(index); } else { return validateDetailsBuilder_.getMessage(index); } } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public Builder setValidateDetails( int index, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails value) { if (validateDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidateDetailsIsMutable(); validateDetails_.set(index, value); onChanged(); } else { validateDetailsBuilder_.setMessage(index, value); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public Builder setValidateDetails( int index, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder builderForValue) { if (validateDetailsBuilder_ == null) { ensureValidateDetailsIsMutable(); validateDetails_.set(index, builderForValue.build()); onChanged(); } else { validateDetailsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public Builder addValidateDetails(com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails value) { if (validateDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidateDetailsIsMutable(); validateDetails_.add(value); onChanged(); } else { validateDetailsBuilder_.addMessage(value); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public Builder addValidateDetails( int index, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails value) { if (validateDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidateDetailsIsMutable(); validateDetails_.add(index, value); onChanged(); } else { validateDetailsBuilder_.addMessage(index, value); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public Builder addValidateDetails( com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder builderForValue) { if (validateDetailsBuilder_ == null) { ensureValidateDetailsIsMutable(); validateDetails_.add(builderForValue.build()); onChanged(); } else { validateDetailsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public Builder addValidateDetails( int index, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder builderForValue) { if (validateDetailsBuilder_ == null) { ensureValidateDetailsIsMutable(); validateDetails_.add(index, builderForValue.build()); onChanged(); } else { validateDetailsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public Builder addAllValidateDetails( java.lang.Iterable values) { if (validateDetailsBuilder_ == null) { ensureValidateDetailsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, validateDetails_); onChanged(); } else { validateDetailsBuilder_.addAllMessages(values); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public Builder clearValidateDetails() { if (validateDetailsBuilder_ == null) { validateDetails_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { validateDetailsBuilder_.clear(); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public Builder removeValidateDetails(int index) { if (validateDetailsBuilder_ == null) { ensureValidateDetailsIsMutable(); validateDetails_.remove(index); onChanged(); } else { validateDetailsBuilder_.remove(index); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder getValidateDetailsBuilder( int index) { return getValidateDetailsFieldBuilder().getBuilder(index); } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder getValidateDetailsOrBuilder( int index) { if (validateDetailsBuilder_ == null) { return validateDetails_.get(index); } else { return validateDetailsBuilder_.getMessageOrBuilder(index); } } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public java.util.List getValidateDetailsOrBuilderList() { if (validateDetailsBuilder_ != null) { return validateDetailsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(validateDetails_); } } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder addValidateDetailsBuilder() { return getValidateDetailsFieldBuilder().addBuilder( com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.getDefaultInstance()); } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder addValidateDetailsBuilder( int index) { return getValidateDetailsFieldBuilder().addBuilder( index, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.getDefaultInstance()); } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 18; */ public java.util.List getValidateDetailsBuilderList() { return getValidateDetailsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder> getValidateDetailsFieldBuilder() { if (validateDetailsBuilder_ == null) { validateDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder>( validateDetails_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); validateDetails_ = null; } return validateDetailsBuilder_; } private com.passkit.grpc.PassOuterClass.PassOverrides passOverrides_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PassOuterClass.PassOverrides, com.passkit.grpc.PassOuterClass.PassOverrides.Builder, com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder> passOverridesBuilder_; /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 19; * @return Whether the passOverrides field is set. */ public boolean hasPassOverrides() { return passOverridesBuilder_ != null || passOverrides_ != null; } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 19; * @return The passOverrides. */ public com.passkit.grpc.PassOuterClass.PassOverrides getPassOverrides() { if (passOverridesBuilder_ == null) { return passOverrides_ == null ? com.passkit.grpc.PassOuterClass.PassOverrides.getDefaultInstance() : passOverrides_; } else { return passOverridesBuilder_.getMessage(); } } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 19; */ public Builder setPassOverrides(com.passkit.grpc.PassOuterClass.PassOverrides value) { if (passOverridesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } passOverrides_ = value; onChanged(); } else { passOverridesBuilder_.setMessage(value); } return this; } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 19; */ public Builder setPassOverrides( com.passkit.grpc.PassOuterClass.PassOverrides.Builder builderForValue) { if (passOverridesBuilder_ == null) { passOverrides_ = builderForValue.build(); onChanged(); } else { passOverridesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 19; */ public Builder mergePassOverrides(com.passkit.grpc.PassOuterClass.PassOverrides value) { if (passOverridesBuilder_ == null) { if (passOverrides_ != null) { passOverrides_ = com.passkit.grpc.PassOuterClass.PassOverrides.newBuilder(passOverrides_).mergeFrom(value).buildPartial(); } else { passOverrides_ = value; } onChanged(); } else { passOverridesBuilder_.mergeFrom(value); } return this; } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 19; */ public Builder clearPassOverrides() { if (passOverridesBuilder_ == null) { passOverrides_ = null; onChanged(); } else { passOverrides_ = null; passOverridesBuilder_ = null; } return this; } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 19; */ public com.passkit.grpc.PassOuterClass.PassOverrides.Builder getPassOverridesBuilder() { onChanged(); return getPassOverridesFieldBuilder().getBuilder(); } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 19; */ public com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder getPassOverridesOrBuilder() { if (passOverridesBuilder_ != null) { return passOverridesBuilder_.getMessageOrBuilder(); } else { return passOverrides_ == null ? com.passkit.grpc.PassOuterClass.PassOverrides.getDefaultInstance() : passOverrides_; } } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 19; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PassOuterClass.PassOverrides, com.passkit.grpc.PassOuterClass.PassOverrides.Builder, com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder> getPassOverridesFieldBuilder() { if (passOverridesBuilder_ == null) { passOverridesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PassOuterClass.PassOverrides, com.passkit.grpc.PassOuterClass.PassOverrides.Builder, com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder>( getPassOverrides(), getParentForChildren(), isClean()); passOverrides_ = null; } return passOverridesBuilder_; } private com.passkit.grpc.MetricsOuterClass.Metadata passMetaData_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.MetricsOuterClass.Metadata, com.passkit.grpc.MetricsOuterClass.Metadata.Builder, com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder> passMetaDataBuilder_; /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 20; * @return Whether the passMetaData field is set. */ public boolean hasPassMetaData() { return passMetaDataBuilder_ != null || passMetaData_ != null; } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 20; * @return The passMetaData. */ public com.passkit.grpc.MetricsOuterClass.Metadata getPassMetaData() { if (passMetaDataBuilder_ == null) { return passMetaData_ == null ? com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance() : passMetaData_; } else { return passMetaDataBuilder_.getMessage(); } } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 20; */ public Builder setPassMetaData(com.passkit.grpc.MetricsOuterClass.Metadata value) { if (passMetaDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } passMetaData_ = value; onChanged(); } else { passMetaDataBuilder_.setMessage(value); } return this; } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 20; */ public Builder setPassMetaData( com.passkit.grpc.MetricsOuterClass.Metadata.Builder builderForValue) { if (passMetaDataBuilder_ == null) { passMetaData_ = builderForValue.build(); onChanged(); } else { passMetaDataBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 20; */ public Builder mergePassMetaData(com.passkit.grpc.MetricsOuterClass.Metadata value) { if (passMetaDataBuilder_ == null) { if (passMetaData_ != null) { passMetaData_ = com.passkit.grpc.MetricsOuterClass.Metadata.newBuilder(passMetaData_).mergeFrom(value).buildPartial(); } else { passMetaData_ = value; } onChanged(); } else { passMetaDataBuilder_.mergeFrom(value); } return this; } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 20; */ public Builder clearPassMetaData() { if (passMetaDataBuilder_ == null) { passMetaData_ = null; onChanged(); } else { passMetaData_ = null; passMetaDataBuilder_ = null; } return this; } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 20; */ public com.passkit.grpc.MetricsOuterClass.Metadata.Builder getPassMetaDataBuilder() { onChanged(); return getPassMetaDataFieldBuilder().getBuilder(); } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 20; */ public com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder getPassMetaDataOrBuilder() { if (passMetaDataBuilder_ != null) { return passMetaDataBuilder_.getMessageOrBuilder(); } else { return passMetaData_ == null ? com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance() : passMetaData_; } } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 20; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.MetricsOuterClass.Metadata, com.passkit.grpc.MetricsOuterClass.Metadata.Builder, com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder> getPassMetaDataFieldBuilder() { if (passMetaDataBuilder_ == null) { passMetaDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.MetricsOuterClass.Metadata, com.passkit.grpc.MetricsOuterClass.Metadata.Builder, com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder>( getPassMetaData(), getParentForChildren(), isClean()); passMetaData_ = null; } return passMetaDataBuilder_; } private com.google.protobuf.Timestamp created_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdBuilder_; /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 21; * @return Whether the created field is set. */ public boolean hasCreated() { return createdBuilder_ != null || created_ != null; } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 21; * @return The created. */ public com.google.protobuf.Timestamp getCreated() { if (createdBuilder_ == null) { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } else { return createdBuilder_.getMessage(); } } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 21; */ public Builder setCreated(com.google.protobuf.Timestamp value) { if (createdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } created_ = value; onChanged(); } else { createdBuilder_.setMessage(value); } return this; } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 21; */ public Builder setCreated( com.google.protobuf.Timestamp.Builder builderForValue) { if (createdBuilder_ == null) { created_ = builderForValue.build(); onChanged(); } else { createdBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 21; */ public Builder mergeCreated(com.google.protobuf.Timestamp value) { if (createdBuilder_ == null) { if (created_ != null) { created_ = com.google.protobuf.Timestamp.newBuilder(created_).mergeFrom(value).buildPartial(); } else { created_ = value; } onChanged(); } else { createdBuilder_.mergeFrom(value); } return this; } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 21; */ public Builder clearCreated() { if (createdBuilder_ == null) { created_ = null; onChanged(); } else { created_ = null; createdBuilder_ = null; } return this; } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 21; */ public com.google.protobuf.Timestamp.Builder getCreatedBuilder() { onChanged(); return getCreatedFieldBuilder().getBuilder(); } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 21; */ public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() { if (createdBuilder_ != null) { return createdBuilder_.getMessageOrBuilder(); } else { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 21; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreatedFieldBuilder() { if (createdBuilder_ == null) { createdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCreated(), getParentForChildren(), isClean()); created_ = null; } return createdBuilder_; } private com.google.protobuf.Timestamp updated_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedBuilder_; /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 22; * @return Whether the updated field is set. */ public boolean hasUpdated() { return updatedBuilder_ != null || updated_ != null; } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 22; * @return The updated. */ public com.google.protobuf.Timestamp getUpdated() { if (updatedBuilder_ == null) { return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_; } else { return updatedBuilder_.getMessage(); } } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 22; */ public Builder setUpdated(com.google.protobuf.Timestamp value) { if (updatedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } updated_ = value; onChanged(); } else { updatedBuilder_.setMessage(value); } return this; } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 22; */ public Builder setUpdated( com.google.protobuf.Timestamp.Builder builderForValue) { if (updatedBuilder_ == null) { updated_ = builderForValue.build(); onChanged(); } else { updatedBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 22; */ public Builder mergeUpdated(com.google.protobuf.Timestamp value) { if (updatedBuilder_ == null) { if (updated_ != null) { updated_ = com.google.protobuf.Timestamp.newBuilder(updated_).mergeFrom(value).buildPartial(); } else { updated_ = value; } onChanged(); } else { updatedBuilder_.mergeFrom(value); } return this; } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 22; */ public Builder clearUpdated() { if (updatedBuilder_ == null) { updated_ = null; onChanged(); } else { updated_ = null; updatedBuilder_ = null; } return this; } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 22; */ public com.google.protobuf.Timestamp.Builder getUpdatedBuilder() { onChanged(); return getUpdatedFieldBuilder().getBuilder(); } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 22; */ public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder() { if (updatedBuilder_ != null) { return updatedBuilder_.getMessageOrBuilder(); } else { return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_; } } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 22; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdatedFieldBuilder() { if (updatedBuilder_ == null) { updatedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getUpdated(), getParentForChildren(), isClean()); updated_ = null; } return updatedBuilder_; } @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:event_tickets.TicketLimitedFields) } // @@protoc_insertion_point(class_scope:event_tickets.TicketLimitedFields) private static final com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.TicketLimitedFields getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TicketLimitedFields parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TicketLimitedFields(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.EventTickets.TicketOuterClass.TicketLimitedFields getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IssueTicketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.IssueTicketRequest) com.google.protobuf.MessageOrBuilder { /** *
     * PassKit generated event id (22 characters). Required if event is not provided.
     * 
* * string eventId = 1; * @return The eventId. */ java.lang.String getEventId(); /** *
     * PassKit generated event id (22 characters). Required if event is not provided.
     * 
* * string eventId = 1; * @return The bytes for eventId. */ com.google.protobuf.ByteString getEventIdBytes(); /** *
     * Event details. Event is auto generated if the record does not exist. Required if eventId is not provided.
     * 
* * .event_tickets.EventLimitedFieldsRequest event = 2; * @return Whether the event field is set. */ boolean hasEvent(); /** *
     * Event details. Event is auto generated if the record does not exist. Required if eventId is not provided.
     * 
* * .event_tickets.EventLimitedFieldsRequest event = 2; * @return The event. */ com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest getEvent(); /** *
     * Event details. Event is auto generated if the record does not exist. Required if eventId is not provided.
     * 
* * .event_tickets.EventLimitedFieldsRequest event = 2; */ com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequestOrBuilder getEventOrBuilder(); /** *
     * PassKit generated ticketType id (22 characters).
     * 
* * string ticketTypeId = 3; * @return The ticketTypeId. */ java.lang.String getTicketTypeId(); /** *
     * PassKit generated ticketType id (22 characters).
     * 
* * string ticketTypeId = 3; * @return The bytes for ticketTypeId. */ com.google.protobuf.ByteString getTicketTypeIdBytes(); /** *
     * Optional user generated ticket number. Unique within the Production.
     * 
* * string ticketNumber = 4; * @return The ticketNumber. */ java.lang.String getTicketNumber(); /** *
     * Optional user generated ticket number. Unique within the Production.
     * 
* * string ticketNumber = 4; * @return The bytes for ticketNumber. */ com.google.protobuf.ByteString getTicketNumberBytes(); /** *
     * Optional order / confirmation / booking code. Unique within the Production.
     * 
* * string orderNumber = 5; * @return The orderNumber. */ java.lang.String getOrderNumber(); /** *
     * Optional order / confirmation / booking code. Unique within the Production.
     * 
* * string orderNumber = 5; * @return The bytes for orderNumber. */ com.google.protobuf.ByteString getOrderNumberBytes(); /** *
     * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
     * 
* * string groupingId = 6; * @return The groupingId. */ java.lang.String getGroupingId(); /** *
     * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
     * 
* * string groupingId = 6; * @return The bytes for groupingId. */ com.google.protobuf.ByteString getGroupingIdBytes(); /** *
     * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
     * 
* * string barcodeContents = 7; * @return The barcodeContents. */ java.lang.String getBarcodeContents(); /** *
     * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
     * 
* * string barcodeContents = 7; * @return The bytes for barcodeContents. */ com.google.protobuf.ByteString getBarcodeContentsBytes(); /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 8; * @return Whether the seatInfo field is set. */ boolean hasSeatInfo(); /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 8; * @return The seatInfo. */ com.passkit.grpc.EventTickets.TicketOuterClass.Seat getSeatInfo(); /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 8; */ com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder getSeatInfoOrBuilder(); /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 9; * @return Whether the faceValue field is set. */ boolean hasFaceValue(); /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 9; * @return The faceValue. */ com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue getFaceValue(); /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 9; */ com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder getFaceValueOrBuilder(); /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 10; * @return Whether the person field is set. */ boolean hasPerson(); /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 10; * @return The person. */ com.passkit.grpc.Personal.Person getPerson(); /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 10; */ com.passkit.grpc.Personal.PersonOrBuilder getPersonOrBuilder(); /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ int getMetaDataCount(); /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ boolean containsMetaData( java.lang.String key); /** * Use {@link #getMetaDataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetaData(); /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ java.util.Map getMetaDataMap(); /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ java.lang.String getMetaDataOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ java.lang.String getMetaDataOrThrow( java.lang.String key); /** *
     * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
     * 
* * bool optOut = 12; * @return The optOut. */ boolean getOptOut(); /** *
     * Holds the ticket status.
     * 
* * .event_tickets.TicketStatus status = 13; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** *
     * Holds the ticket status.
     * 
* * .event_tickets.TicketStatus status = 13; * @return The status. */ com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus getStatus(); /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 14; * @return Whether the expiryDate field is set. */ boolean hasExpiryDate(); /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 14; * @return The expiryDate. */ com.google.protobuf.Timestamp getExpiryDate(); /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 14; */ com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder(); /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; * @return Whether the redemptionDetails field is set. */ boolean hasRedemptionDetails(); /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; * @return The redemptionDetails. */ com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails getRedemptionDetails(); /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder getRedemptionDetailsOrBuilder(); /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ java.util.List getValidateDetailsList(); /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails getValidateDetails(int index); /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ int getValidateDetailsCount(); /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ java.util.List getValidateDetailsOrBuilderList(); /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder getValidateDetailsOrBuilder( int index); /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 17; * @return Whether the passOverrides field is set. */ boolean hasPassOverrides(); /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 17; * @return The passOverrides. */ com.passkit.grpc.PassOuterClass.PassOverrides getPassOverrides(); /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 17; */ com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder getPassOverridesOrBuilder(); /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 18; * @return Whether the passMetaData field is set. */ boolean hasPassMetaData(); /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 18; * @return The passMetaData. */ com.passkit.grpc.MetricsOuterClass.Metadata getPassMetaData(); /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 18; */ com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder getPassMetaDataOrBuilder(); /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 19; * @return Whether the created field is set. */ boolean hasCreated(); /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 19; * @return The created. */ com.google.protobuf.Timestamp getCreated(); /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 19; */ com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder(); /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 20; * @return Whether the updated field is set. */ boolean hasUpdated(); /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 20; * @return The updated. */ com.google.protobuf.Timestamp getUpdated(); /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 20; */ com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder(); public com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest.EventInfoCase getEventInfoCase(); } /** * Protobuf type {@code event_tickets.IssueTicketRequest} */ public static final class IssueTicketRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.IssueTicketRequest) IssueTicketRequestOrBuilder { private static final long serialVersionUID = 0L; // Use IssueTicketRequest.newBuilder() to construct. private IssueTicketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IssueTicketRequest() { ticketTypeId_ = ""; ticketNumber_ = ""; orderNumber_ = ""; groupingId_ = ""; barcodeContents_ = ""; status_ = 0; validateDetails_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IssueTicketRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IssueTicketRequest( 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 10: { java.lang.String s = input.readStringRequireUtf8(); eventInfoCase_ = 1; eventInfo_ = s; break; } case 18: { com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.Builder subBuilder = null; if (eventInfoCase_ == 2) { subBuilder = ((com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest) eventInfo_).toBuilder(); } eventInfo_ = input.readMessage(com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest) eventInfo_); eventInfo_ = subBuilder.buildPartial(); } eventInfoCase_ = 2; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); ticketTypeId_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); ticketNumber_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); orderNumber_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); groupingId_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); barcodeContents_ = s; break; } case 66: { com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder subBuilder = null; if (seatInfo_ != null) { subBuilder = seatInfo_.toBuilder(); } seatInfo_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.Seat.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(seatInfo_); seatInfo_ = subBuilder.buildPartial(); } break; } case 74: { com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder subBuilder = null; if (faceValue_ != null) { subBuilder = faceValue_.toBuilder(); } faceValue_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(faceValue_); faceValue_ = subBuilder.buildPartial(); } break; } case 82: { com.passkit.grpc.Personal.Person.Builder subBuilder = null; if (person_ != null) { subBuilder = person_.toBuilder(); } person_ = input.readMessage(com.passkit.grpc.Personal.Person.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(person_); person_ = subBuilder.buildPartial(); } break; } case 90: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metaData_ = com.google.protobuf.MapField.newMapField( MetaDataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metaData__ = input.readMessage( MetaDataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metaData_.getMutableMap().put( metaData__.getKey(), metaData__.getValue()); break; } case 96: { optOut_ = input.readBool(); break; } case 104: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 114: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (expiryDate_ != null) { subBuilder = expiryDate_.toBuilder(); } expiryDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(expiryDate_); expiryDate_ = subBuilder.buildPartial(); } break; } case 122: { com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder subBuilder = null; if (redemptionDetails_ != null) { subBuilder = redemptionDetails_.toBuilder(); } redemptionDetails_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(redemptionDetails_); redemptionDetails_ = subBuilder.buildPartial(); } break; } case 130: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { validateDetails_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } validateDetails_.add( input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.parser(), extensionRegistry)); break; } case 138: { com.passkit.grpc.PassOuterClass.PassOverrides.Builder subBuilder = null; if (passOverrides_ != null) { subBuilder = passOverrides_.toBuilder(); } passOverrides_ = input.readMessage(com.passkit.grpc.PassOuterClass.PassOverrides.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(passOverrides_); passOverrides_ = subBuilder.buildPartial(); } break; } case 146: { com.passkit.grpc.MetricsOuterClass.Metadata.Builder subBuilder = null; if (passMetaData_ != null) { subBuilder = passMetaData_.toBuilder(); } passMetaData_ = input.readMessage(com.passkit.grpc.MetricsOuterClass.Metadata.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(passMetaData_); passMetaData_ = subBuilder.buildPartial(); } break; } case 154: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (created_ != null) { subBuilder = created_.toBuilder(); } created_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(created_); created_ = subBuilder.buildPartial(); } break; } case 162: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (updated_ != null) { subBuilder = updated_.toBuilder(); } updated_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(updated_); updated_ = subBuilder.buildPartial(); } 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_ & 0x00000002) != 0)) { validateDetails_ = java.util.Collections.unmodifiableList(validateDetails_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_IssueTicketRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 11: return internalGetMetaData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_IssueTicketRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest.class, com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest.Builder.class); } private int eventInfoCase_ = 0; private java.lang.Object eventInfo_; public enum EventInfoCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EVENTID(1), EVENT(2), EVENTINFO_NOT_SET(0); private final int value; private EventInfoCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static EventInfoCase valueOf(int value) { return forNumber(value); } public static EventInfoCase forNumber(int value) { switch (value) { case 1: return EVENTID; case 2: return EVENT; case 0: return EVENTINFO_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public EventInfoCase getEventInfoCase() { return EventInfoCase.forNumber( eventInfoCase_); } public static final int EVENTID_FIELD_NUMBER = 1; /** *
     * PassKit generated event id (22 characters). Required if event is not provided.
     * 
* * string eventId = 1; * @return The eventId. */ public java.lang.String getEventId() { java.lang.Object ref = ""; if (eventInfoCase_ == 1) { ref = eventInfo_; } 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(); if (eventInfoCase_ == 1) { eventInfo_ = s; } return s; } } /** *
     * PassKit generated event id (22 characters). Required if event is not provided.
     * 
* * string eventId = 1; * @return The bytes for eventId. */ public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = ""; if (eventInfoCase_ == 1) { ref = eventInfo_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (eventInfoCase_ == 1) { eventInfo_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EVENT_FIELD_NUMBER = 2; /** *
     * Event details. Event is auto generated if the record does not exist. Required if eventId is not provided.
     * 
* * .event_tickets.EventLimitedFieldsRequest event = 2; * @return Whether the event field is set. */ @java.lang.Override public boolean hasEvent() { return eventInfoCase_ == 2; } /** *
     * Event details. Event is auto generated if the record does not exist. Required if eventId is not provided.
     * 
* * .event_tickets.EventLimitedFieldsRequest event = 2; * @return The event. */ @java.lang.Override public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest getEvent() { if (eventInfoCase_ == 2) { return (com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest) eventInfo_; } return com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.getDefaultInstance(); } /** *
     * Event details. Event is auto generated if the record does not exist. Required if eventId is not provided.
     * 
* * .event_tickets.EventLimitedFieldsRequest event = 2; */ @java.lang.Override public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequestOrBuilder getEventOrBuilder() { if (eventInfoCase_ == 2) { return (com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest) eventInfo_; } return com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.getDefaultInstance(); } public static final int TICKETTYPEID_FIELD_NUMBER = 3; private volatile java.lang.Object ticketTypeId_; /** *
     * PassKit generated ticketType id (22 characters).
     * 
* * string ticketTypeId = 3; * @return The ticketTypeId. */ @java.lang.Override public java.lang.String getTicketTypeId() { java.lang.Object ref = ticketTypeId_; 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(); ticketTypeId_ = s; return s; } } /** *
     * PassKit generated ticketType id (22 characters).
     * 
* * string ticketTypeId = 3; * @return The bytes for ticketTypeId. */ @java.lang.Override public com.google.protobuf.ByteString getTicketTypeIdBytes() { java.lang.Object ref = ticketTypeId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketTypeId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TICKETNUMBER_FIELD_NUMBER = 4; private volatile java.lang.Object ticketNumber_; /** *
     * Optional user generated ticket number. Unique within the Production.
     * 
* * string ticketNumber = 4; * @return The ticketNumber. */ @java.lang.Override public java.lang.String getTicketNumber() { java.lang.Object ref = ticketNumber_; 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(); ticketNumber_ = s; return s; } } /** *
     * Optional user generated ticket number. Unique within the Production.
     * 
* * string ticketNumber = 4; * @return The bytes for ticketNumber. */ @java.lang.Override public com.google.protobuf.ByteString getTicketNumberBytes() { java.lang.Object ref = ticketNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ORDERNUMBER_FIELD_NUMBER = 5; private volatile java.lang.Object orderNumber_; /** *
     * Optional order / confirmation / booking code. Unique within the Production.
     * 
* * string orderNumber = 5; * @return The orderNumber. */ @java.lang.Override public java.lang.String getOrderNumber() { java.lang.Object ref = orderNumber_; 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(); orderNumber_ = s; return s; } } /** *
     * Optional order / confirmation / booking code. Unique within the Production.
     * 
* * string orderNumber = 5; * @return The bytes for orderNumber. */ @java.lang.Override public com.google.protobuf.ByteString getOrderNumberBytes() { java.lang.Object ref = orderNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GROUPINGID_FIELD_NUMBER = 6; private volatile java.lang.Object groupingId_; /** *
     * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
     * 
* * string groupingId = 6; * @return The groupingId. */ @java.lang.Override public java.lang.String getGroupingId() { java.lang.Object ref = groupingId_; 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(); groupingId_ = s; return s; } } /** *
     * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
     * 
* * string groupingId = 6; * @return The bytes for groupingId. */ @java.lang.Override public com.google.protobuf.ByteString getGroupingIdBytes() { java.lang.Object ref = groupingId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); groupingId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BARCODECONTENTS_FIELD_NUMBER = 7; private volatile java.lang.Object barcodeContents_; /** *
     * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
     * 
* * string barcodeContents = 7; * @return The barcodeContents. */ @java.lang.Override public java.lang.String getBarcodeContents() { java.lang.Object ref = barcodeContents_; 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(); barcodeContents_ = s; return s; } } /** *
     * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
     * 
* * string barcodeContents = 7; * @return The bytes for barcodeContents. */ @java.lang.Override public com.google.protobuf.ByteString getBarcodeContentsBytes() { java.lang.Object ref = barcodeContents_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); barcodeContents_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEATINFO_FIELD_NUMBER = 8; private com.passkit.grpc.EventTickets.TicketOuterClass.Seat seatInfo_; /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 8; * @return Whether the seatInfo field is set. */ @java.lang.Override public boolean hasSeatInfo() { return seatInfo_ != null; } /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 8; * @return The seatInfo. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.Seat getSeatInfo() { return seatInfo_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.Seat.getDefaultInstance() : seatInfo_; } /** *
     * The seat info for the ticket.
     * 
* * .event_tickets.Seat seatInfo = 8; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder getSeatInfoOrBuilder() { return getSeatInfo(); } public static final int FACEVALUE_FIELD_NUMBER = 9; private com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue faceValue_; /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 9; * @return Whether the faceValue field is set. */ @java.lang.Override public boolean hasFaceValue() { return faceValue_ != null; } /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 9; * @return The faceValue. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue getFaceValue() { return faceValue_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.getDefaultInstance() : faceValue_; } /** *
     * The face value details for the ticket.
     * 
* * .event_tickets.FaceValue faceValue = 9; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder getFaceValueOrBuilder() { return getFaceValue(); } public static final int PERSON_FIELD_NUMBER = 10; private com.passkit.grpc.Personal.Person person_; /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 10; * @return Whether the person field is set. */ @java.lang.Override public boolean hasPerson() { return person_ != null; } /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 10; * @return The person. */ @java.lang.Override public com.passkit.grpc.Personal.Person getPerson() { return person_ == null ? com.passkit.grpc.Personal.Person.getDefaultInstance() : person_; } /** *
     * The ticket holder information. Stored encrypted in PassKit's database.
     * 
* * .io.Person person = 10; */ @java.lang.Override public com.passkit.grpc.Personal.PersonOrBuilder getPersonOrBuilder() { return getPerson(); } public static final int METADATA_FIELD_NUMBER = 11; private static final class MetaDataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_IssueTicketRequest_MetaDataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metaData_; private com.google.protobuf.MapField internalGetMetaData() { if (metaData_ == null) { return com.google.protobuf.MapField.emptyMapField( MetaDataDefaultEntryHolder.defaultEntry); } return metaData_; } public int getMetaDataCount() { return internalGetMetaData().getMap().size(); } /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ @java.lang.Override public boolean containsMetaData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMetaData().getMap().containsKey(key); } /** * Use {@link #getMetaDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetaData() { return getMetaDataMap(); } /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ @java.lang.Override public java.util.Map getMetaDataMap() { return internalGetMetaData().getMap(); } /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ @java.lang.Override public java.lang.String getMetaDataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
     * 
* * map<string, string> metaData = 11; */ @java.lang.Override public java.lang.String getMetaDataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int OPTOUT_FIELD_NUMBER = 12; private boolean optOut_; /** *
     * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
     * 
* * bool optOut = 12; * @return The optOut. */ @java.lang.Override public boolean getOptOut() { return optOut_; } public static final int STATUS_FIELD_NUMBER = 13; private int status_; /** *
     * Holds the ticket status.
     * 
* * .event_tickets.TicketStatus status = 13; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
     * Holds the ticket status.
     * 
* * .event_tickets.TicketStatus status = 13; * @return The status. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus getStatus() { @SuppressWarnings("deprecation") com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus result = com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.valueOf(status_); return result == null ? com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.UNRECOGNIZED : result; } public static final int EXPIRYDATE_FIELD_NUMBER = 14; private com.google.protobuf.Timestamp expiryDate_; /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 14; * @return Whether the expiryDate field is set. */ @java.lang.Override public boolean hasExpiryDate() { return expiryDate_ != null; } /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 14; * @return The expiryDate. */ @java.lang.Override public com.google.protobuf.Timestamp getExpiryDate() { return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_; } /** *
     * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 14; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder() { return getExpiryDate(); } public static final int REDEMPTIONDETAILS_FIELD_NUMBER = 15; private com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails redemptionDetails_; /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; * @return Whether the redemptionDetails field is set. */ @java.lang.Override public boolean hasRedemptionDetails() { return redemptionDetails_ != null; } /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; * @return The redemptionDetails. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails getRedemptionDetails() { return redemptionDetails_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.getDefaultInstance() : redemptionDetails_; } /** *
     * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
     * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder getRedemptionDetailsOrBuilder() { return getRedemptionDetails(); } public static final int VALIDATEDETAILS_FIELD_NUMBER = 16; private java.util.List validateDetails_; /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ @java.lang.Override public java.util.List getValidateDetailsList() { return validateDetails_; } /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ @java.lang.Override public java.util.List getValidateDetailsOrBuilderList() { return validateDetails_; } /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ @java.lang.Override public int getValidateDetailsCount() { return validateDetails_.size(); } /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails getValidateDetails(int index) { return validateDetails_.get(index); } /** *
     * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
     * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder getValidateDetailsOrBuilder( int index) { return validateDetails_.get(index); } public static final int PASSOVERRIDES_FIELD_NUMBER = 17; private com.passkit.grpc.PassOuterClass.PassOverrides passOverrides_; /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 17; * @return Whether the passOverrides field is set. */ @java.lang.Override public boolean hasPassOverrides() { return passOverrides_ != null; } /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 17; * @return The passOverrides. */ @java.lang.Override public com.passkit.grpc.PassOuterClass.PassOverrides getPassOverrides() { return passOverrides_ == null ? com.passkit.grpc.PassOuterClass.PassOverrides.getDefaultInstance() : passOverrides_; } /** *
     * Optional Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 17; */ @java.lang.Override public com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder getPassOverridesOrBuilder() { return getPassOverrides(); } public static final int PASSMETADATA_FIELD_NUMBER = 18; private com.passkit.grpc.MetricsOuterClass.Metadata passMetaData_; /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 18; * @return Whether the passMetaData field is set. */ @java.lang.Override public boolean hasPassMetaData() { return passMetaData_ != null; } /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 18; * @return The passMetaData. */ @java.lang.Override public com.passkit.grpc.MetricsOuterClass.Metadata getPassMetaData() { return passMetaData_ == null ? com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance() : passMetaData_; } /** *
     * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
     * 
* * .io.Metadata passMetaData = 18; */ @java.lang.Override public com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder getPassMetaDataOrBuilder() { return getPassMetaData(); } public static final int CREATED_FIELD_NUMBER = 19; private com.google.protobuf.Timestamp created_; /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 19; * @return Whether the created field is set. */ @java.lang.Override public boolean hasCreated() { return created_ != null; } /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 19; * @return The created. */ @java.lang.Override public com.google.protobuf.Timestamp getCreated() { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } /** *
     * The date the ticket was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 19; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() { return getCreated(); } public static final int UPDATED_FIELD_NUMBER = 20; private com.google.protobuf.Timestamp updated_; /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 20; * @return Whether the updated field is set. */ @java.lang.Override public boolean hasUpdated() { return updated_ != null; } /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 20; * @return The updated. */ @java.lang.Override public com.google.protobuf.Timestamp getUpdated() { return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_; } /** *
     * The date the ticket last updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 20; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder() { return getUpdated(); } 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 (eventInfoCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, eventInfo_); } if (eventInfoCase_ == 2) { output.writeMessage(2, (com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest) eventInfo_); } if (!getTicketTypeIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, ticketTypeId_); } if (!getTicketNumberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ticketNumber_); } if (!getOrderNumberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderNumber_); } if (!getGroupingIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, groupingId_); } if (!getBarcodeContentsBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, barcodeContents_); } if (seatInfo_ != null) { output.writeMessage(8, getSeatInfo()); } if (faceValue_ != null) { output.writeMessage(9, getFaceValue()); } if (person_ != null) { output.writeMessage(10, getPerson()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetaData(), MetaDataDefaultEntryHolder.defaultEntry, 11); if (optOut_ != false) { output.writeBool(12, optOut_); } if (status_ != com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.STATUS_NONE.getNumber()) { output.writeEnum(13, status_); } if (expiryDate_ != null) { output.writeMessage(14, getExpiryDate()); } if (redemptionDetails_ != null) { output.writeMessage(15, getRedemptionDetails()); } for (int i = 0; i < validateDetails_.size(); i++) { output.writeMessage(16, validateDetails_.get(i)); } if (passOverrides_ != null) { output.writeMessage(17, getPassOverrides()); } if (passMetaData_ != null) { output.writeMessage(18, getPassMetaData()); } if (created_ != null) { output.writeMessage(19, getCreated()); } if (updated_ != null) { output.writeMessage(20, getUpdated()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (eventInfoCase_ == 1) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, eventInfo_); } if (eventInfoCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest) eventInfo_); } if (!getTicketTypeIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ticketTypeId_); } if (!getTicketNumberBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ticketNumber_); } if (!getOrderNumberBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderNumber_); } if (!getGroupingIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, groupingId_); } if (!getBarcodeContentsBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, barcodeContents_); } if (seatInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getSeatInfo()); } if (faceValue_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getFaceValue()); } if (person_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getPerson()); } for (java.util.Map.Entry entry : internalGetMetaData().getMap().entrySet()) { com.google.protobuf.MapEntry metaData__ = MetaDataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, metaData__); } if (optOut_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(12, optOut_); } if (status_ != com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.STATUS_NONE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(13, status_); } if (expiryDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getExpiryDate()); } if (redemptionDetails_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getRedemptionDetails()); } for (int i = 0; i < validateDetails_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, validateDetails_.get(i)); } if (passOverrides_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getPassOverrides()); } if (passMetaData_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, getPassMetaData()); } if (created_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, getCreated()); } if (updated_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, getUpdated()); } 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.EventTickets.TicketOuterClass.IssueTicketRequest)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest other = (com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest) obj; if (!getTicketTypeId() .equals(other.getTicketTypeId())) return false; if (!getTicketNumber() .equals(other.getTicketNumber())) return false; if (!getOrderNumber() .equals(other.getOrderNumber())) return false; if (!getGroupingId() .equals(other.getGroupingId())) return false; if (!getBarcodeContents() .equals(other.getBarcodeContents())) return false; if (hasSeatInfo() != other.hasSeatInfo()) return false; if (hasSeatInfo()) { if (!getSeatInfo() .equals(other.getSeatInfo())) return false; } if (hasFaceValue() != other.hasFaceValue()) return false; if (hasFaceValue()) { if (!getFaceValue() .equals(other.getFaceValue())) return false; } if (hasPerson() != other.hasPerson()) return false; if (hasPerson()) { if (!getPerson() .equals(other.getPerson())) return false; } if (!internalGetMetaData().equals( other.internalGetMetaData())) return false; if (getOptOut() != other.getOptOut()) return false; if (status_ != other.status_) return false; if (hasExpiryDate() != other.hasExpiryDate()) return false; if (hasExpiryDate()) { if (!getExpiryDate() .equals(other.getExpiryDate())) return false; } if (hasRedemptionDetails() != other.hasRedemptionDetails()) return false; if (hasRedemptionDetails()) { if (!getRedemptionDetails() .equals(other.getRedemptionDetails())) return false; } if (!getValidateDetailsList() .equals(other.getValidateDetailsList())) return false; if (hasPassOverrides() != other.hasPassOverrides()) return false; if (hasPassOverrides()) { if (!getPassOverrides() .equals(other.getPassOverrides())) return false; } if (hasPassMetaData() != other.hasPassMetaData()) return false; if (hasPassMetaData()) { if (!getPassMetaData() .equals(other.getPassMetaData())) return false; } if (hasCreated() != other.hasCreated()) return false; if (hasCreated()) { if (!getCreated() .equals(other.getCreated())) return false; } if (hasUpdated() != other.hasUpdated()) return false; if (hasUpdated()) { if (!getUpdated() .equals(other.getUpdated())) return false; } if (!getEventInfoCase().equals(other.getEventInfoCase())) return false; switch (eventInfoCase_) { case 1: if (!getEventId() .equals(other.getEventId())) return false; break; case 2: if (!getEvent() .equals(other.getEvent())) return false; break; case 0: default: } 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) + TICKETTYPEID_FIELD_NUMBER; hash = (53 * hash) + getTicketTypeId().hashCode(); hash = (37 * hash) + TICKETNUMBER_FIELD_NUMBER; hash = (53 * hash) + getTicketNumber().hashCode(); hash = (37 * hash) + ORDERNUMBER_FIELD_NUMBER; hash = (53 * hash) + getOrderNumber().hashCode(); hash = (37 * hash) + GROUPINGID_FIELD_NUMBER; hash = (53 * hash) + getGroupingId().hashCode(); hash = (37 * hash) + BARCODECONTENTS_FIELD_NUMBER; hash = (53 * hash) + getBarcodeContents().hashCode(); if (hasSeatInfo()) { hash = (37 * hash) + SEATINFO_FIELD_NUMBER; hash = (53 * hash) + getSeatInfo().hashCode(); } if (hasFaceValue()) { hash = (37 * hash) + FACEVALUE_FIELD_NUMBER; hash = (53 * hash) + getFaceValue().hashCode(); } if (hasPerson()) { hash = (37 * hash) + PERSON_FIELD_NUMBER; hash = (53 * hash) + getPerson().hashCode(); } if (!internalGetMetaData().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetaData().hashCode(); } hash = (37 * hash) + OPTOUT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOptOut()); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; if (hasExpiryDate()) { hash = (37 * hash) + EXPIRYDATE_FIELD_NUMBER; hash = (53 * hash) + getExpiryDate().hashCode(); } if (hasRedemptionDetails()) { hash = (37 * hash) + REDEMPTIONDETAILS_FIELD_NUMBER; hash = (53 * hash) + getRedemptionDetails().hashCode(); } if (getValidateDetailsCount() > 0) { hash = (37 * hash) + VALIDATEDETAILS_FIELD_NUMBER; hash = (53 * hash) + getValidateDetailsList().hashCode(); } if (hasPassOverrides()) { hash = (37 * hash) + PASSOVERRIDES_FIELD_NUMBER; hash = (53 * hash) + getPassOverrides().hashCode(); } if (hasPassMetaData()) { hash = (37 * hash) + PASSMETADATA_FIELD_NUMBER; hash = (53 * hash) + getPassMetaData().hashCode(); } if (hasCreated()) { hash = (37 * hash) + CREATED_FIELD_NUMBER; hash = (53 * hash) + getCreated().hashCode(); } if (hasUpdated()) { hash = (37 * hash) + UPDATED_FIELD_NUMBER; hash = (53 * hash) + getUpdated().hashCode(); } switch (eventInfoCase_) { case 1: hash = (37 * hash) + EVENTID_FIELD_NUMBER; hash = (53 * hash) + getEventId().hashCode(); break; case 2: hash = (37 * hash) + EVENT_FIELD_NUMBER; hash = (53 * hash) + getEvent().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest 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.EventTickets.TicketOuterClass.IssueTicketRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest 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.EventTickets.TicketOuterClass.IssueTicketRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest 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.EventTickets.TicketOuterClass.IssueTicketRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest 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.EventTickets.TicketOuterClass.IssueTicketRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest 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.EventTickets.TicketOuterClass.IssueTicketRequest 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; } /** * Protobuf type {@code event_tickets.IssueTicketRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.IssueTicketRequest) com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_IssueTicketRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 11: return internalGetMetaData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 11: return internalGetMutableMetaData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_IssueTicketRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest.class, com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getValidateDetailsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); ticketTypeId_ = ""; ticketNumber_ = ""; orderNumber_ = ""; groupingId_ = ""; barcodeContents_ = ""; if (seatInfoBuilder_ == null) { seatInfo_ = null; } else { seatInfo_ = null; seatInfoBuilder_ = null; } if (faceValueBuilder_ == null) { faceValue_ = null; } else { faceValue_ = null; faceValueBuilder_ = null; } if (personBuilder_ == null) { person_ = null; } else { person_ = null; personBuilder_ = null; } internalGetMutableMetaData().clear(); optOut_ = false; status_ = 0; if (expiryDateBuilder_ == null) { expiryDate_ = null; } else { expiryDate_ = null; expiryDateBuilder_ = null; } if (redemptionDetailsBuilder_ == null) { redemptionDetails_ = null; } else { redemptionDetails_ = null; redemptionDetailsBuilder_ = null; } if (validateDetailsBuilder_ == null) { validateDetails_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { validateDetailsBuilder_.clear(); } if (passOverridesBuilder_ == null) { passOverrides_ = null; } else { passOverrides_ = null; passOverridesBuilder_ = null; } if (passMetaDataBuilder_ == null) { passMetaData_ = null; } else { passMetaData_ = null; passMetaDataBuilder_ = null; } if (createdBuilder_ == null) { created_ = null; } else { created_ = null; createdBuilder_ = null; } if (updatedBuilder_ == null) { updated_ = null; } else { updated_ = null; updatedBuilder_ = null; } eventInfoCase_ = 0; eventInfo_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_IssueTicketRequest_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest build() { com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest result = new com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest(this); int from_bitField0_ = bitField0_; if (eventInfoCase_ == 1) { result.eventInfo_ = eventInfo_; } if (eventInfoCase_ == 2) { if (eventBuilder_ == null) { result.eventInfo_ = eventInfo_; } else { result.eventInfo_ = eventBuilder_.build(); } } result.ticketTypeId_ = ticketTypeId_; result.ticketNumber_ = ticketNumber_; result.orderNumber_ = orderNumber_; result.groupingId_ = groupingId_; result.barcodeContents_ = barcodeContents_; if (seatInfoBuilder_ == null) { result.seatInfo_ = seatInfo_; } else { result.seatInfo_ = seatInfoBuilder_.build(); } if (faceValueBuilder_ == null) { result.faceValue_ = faceValue_; } else { result.faceValue_ = faceValueBuilder_.build(); } if (personBuilder_ == null) { result.person_ = person_; } else { result.person_ = personBuilder_.build(); } result.metaData_ = internalGetMetaData(); result.metaData_.makeImmutable(); result.optOut_ = optOut_; result.status_ = status_; if (expiryDateBuilder_ == null) { result.expiryDate_ = expiryDate_; } else { result.expiryDate_ = expiryDateBuilder_.build(); } if (redemptionDetailsBuilder_ == null) { result.redemptionDetails_ = redemptionDetails_; } else { result.redemptionDetails_ = redemptionDetailsBuilder_.build(); } if (validateDetailsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { validateDetails_ = java.util.Collections.unmodifiableList(validateDetails_); bitField0_ = (bitField0_ & ~0x00000002); } result.validateDetails_ = validateDetails_; } else { result.validateDetails_ = validateDetailsBuilder_.build(); } if (passOverridesBuilder_ == null) { result.passOverrides_ = passOverrides_; } else { result.passOverrides_ = passOverridesBuilder_.build(); } if (passMetaDataBuilder_ == null) { result.passMetaData_ = passMetaData_; } else { result.passMetaData_ = passMetaDataBuilder_.build(); } if (createdBuilder_ == null) { result.created_ = created_; } else { result.created_ = createdBuilder_.build(); } if (updatedBuilder_ == null) { result.updated_ = updated_; } else { result.updated_ = updatedBuilder_.build(); } result.eventInfoCase_ = eventInfoCase_; 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.EventTickets.TicketOuterClass.IssueTicketRequest) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest.getDefaultInstance()) return this; if (!other.getTicketTypeId().isEmpty()) { ticketTypeId_ = other.ticketTypeId_; onChanged(); } if (!other.getTicketNumber().isEmpty()) { ticketNumber_ = other.ticketNumber_; onChanged(); } if (!other.getOrderNumber().isEmpty()) { orderNumber_ = other.orderNumber_; onChanged(); } if (!other.getGroupingId().isEmpty()) { groupingId_ = other.groupingId_; onChanged(); } if (!other.getBarcodeContents().isEmpty()) { barcodeContents_ = other.barcodeContents_; onChanged(); } if (other.hasSeatInfo()) { mergeSeatInfo(other.getSeatInfo()); } if (other.hasFaceValue()) { mergeFaceValue(other.getFaceValue()); } if (other.hasPerson()) { mergePerson(other.getPerson()); } internalGetMutableMetaData().mergeFrom( other.internalGetMetaData()); if (other.getOptOut() != false) { setOptOut(other.getOptOut()); } if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (other.hasExpiryDate()) { mergeExpiryDate(other.getExpiryDate()); } if (other.hasRedemptionDetails()) { mergeRedemptionDetails(other.getRedemptionDetails()); } if (validateDetailsBuilder_ == null) { if (!other.validateDetails_.isEmpty()) { if (validateDetails_.isEmpty()) { validateDetails_ = other.validateDetails_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureValidateDetailsIsMutable(); validateDetails_.addAll(other.validateDetails_); } onChanged(); } } else { if (!other.validateDetails_.isEmpty()) { if (validateDetailsBuilder_.isEmpty()) { validateDetailsBuilder_.dispose(); validateDetailsBuilder_ = null; validateDetails_ = other.validateDetails_; bitField0_ = (bitField0_ & ~0x00000002); validateDetailsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getValidateDetailsFieldBuilder() : null; } else { validateDetailsBuilder_.addAllMessages(other.validateDetails_); } } } if (other.hasPassOverrides()) { mergePassOverrides(other.getPassOverrides()); } if (other.hasPassMetaData()) { mergePassMetaData(other.getPassMetaData()); } if (other.hasCreated()) { mergeCreated(other.getCreated()); } if (other.hasUpdated()) { mergeUpdated(other.getUpdated()); } switch (other.getEventInfoCase()) { case EVENTID: { eventInfoCase_ = 1; eventInfo_ = other.eventInfo_; onChanged(); break; } case EVENT: { mergeEvent(other.getEvent()); break; } case EVENTINFO_NOT_SET: { break; } } 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.EventTickets.TicketOuterClass.IssueTicketRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int eventInfoCase_ = 0; private java.lang.Object eventInfo_; public EventInfoCase getEventInfoCase() { return EventInfoCase.forNumber( eventInfoCase_); } public Builder clearEventInfo() { eventInfoCase_ = 0; eventInfo_ = null; onChanged(); return this; } private int bitField0_; /** *
       * PassKit generated event id (22 characters). Required if event is not provided.
       * 
* * string eventId = 1; * @return The eventId. */ @java.lang.Override public java.lang.String getEventId() { java.lang.Object ref = ""; if (eventInfoCase_ == 1) { ref = eventInfo_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (eventInfoCase_ == 1) { eventInfo_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * PassKit generated event id (22 characters). Required if event is not provided.
       * 
* * string eventId = 1; * @return The bytes for eventId. */ @java.lang.Override public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = ""; if (eventInfoCase_ == 1) { ref = eventInfo_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (eventInfoCase_ == 1) { eventInfo_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * PassKit generated event id (22 characters). Required if event is not provided.
       * 
* * string eventId = 1; * @param value The eventId to set. * @return This builder for chaining. */ public Builder setEventId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } eventInfoCase_ = 1; eventInfo_ = value; onChanged(); return this; } /** *
       * PassKit generated event id (22 characters). Required if event is not provided.
       * 
* * string eventId = 1; * @return This builder for chaining. */ public Builder clearEventId() { if (eventInfoCase_ == 1) { eventInfoCase_ = 0; eventInfo_ = null; onChanged(); } return this; } /** *
       * PassKit generated event id (22 characters). Required if event is not provided.
       * 
* * string eventId = 1; * @param value The bytes for eventId to set. * @return This builder for chaining. */ public Builder setEventIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); eventInfoCase_ = 1; eventInfo_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.Builder, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequestOrBuilder> eventBuilder_; /** *
       * Event details. Event is auto generated if the record does not exist. Required if eventId is not provided.
       * 
* * .event_tickets.EventLimitedFieldsRequest event = 2; * @return Whether the event field is set. */ @java.lang.Override public boolean hasEvent() { return eventInfoCase_ == 2; } /** *
       * Event details. Event is auto generated if the record does not exist. Required if eventId is not provided.
       * 
* * .event_tickets.EventLimitedFieldsRequest event = 2; * @return The event. */ @java.lang.Override public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest getEvent() { if (eventBuilder_ == null) { if (eventInfoCase_ == 2) { return (com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest) eventInfo_; } return com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.getDefaultInstance(); } else { if (eventInfoCase_ == 2) { return eventBuilder_.getMessage(); } return com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.getDefaultInstance(); } } /** *
       * Event details. Event is auto generated if the record does not exist. Required if eventId is not provided.
       * 
* * .event_tickets.EventLimitedFieldsRequest event = 2; */ public Builder setEvent(com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest value) { if (eventBuilder_ == null) { if (value == null) { throw new NullPointerException(); } eventInfo_ = value; onChanged(); } else { eventBuilder_.setMessage(value); } eventInfoCase_ = 2; return this; } /** *
       * Event details. Event is auto generated if the record does not exist. Required if eventId is not provided.
       * 
* * .event_tickets.EventLimitedFieldsRequest event = 2; */ public Builder setEvent( com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.Builder builderForValue) { if (eventBuilder_ == null) { eventInfo_ = builderForValue.build(); onChanged(); } else { eventBuilder_.setMessage(builderForValue.build()); } eventInfoCase_ = 2; return this; } /** *
       * Event details. Event is auto generated if the record does not exist. Required if eventId is not provided.
       * 
* * .event_tickets.EventLimitedFieldsRequest event = 2; */ public Builder mergeEvent(com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest value) { if (eventBuilder_ == null) { if (eventInfoCase_ == 2 && eventInfo_ != com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.getDefaultInstance()) { eventInfo_ = com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.newBuilder((com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest) eventInfo_) .mergeFrom(value).buildPartial(); } else { eventInfo_ = value; } onChanged(); } else { if (eventInfoCase_ == 2) { eventBuilder_.mergeFrom(value); } eventBuilder_.setMessage(value); } eventInfoCase_ = 2; return this; } /** *
       * Event details. Event is auto generated if the record does not exist. Required if eventId is not provided.
       * 
* * .event_tickets.EventLimitedFieldsRequest event = 2; */ public Builder clearEvent() { if (eventBuilder_ == null) { if (eventInfoCase_ == 2) { eventInfoCase_ = 0; eventInfo_ = null; onChanged(); } } else { if (eventInfoCase_ == 2) { eventInfoCase_ = 0; eventInfo_ = null; } eventBuilder_.clear(); } return this; } /** *
       * Event details. Event is auto generated if the record does not exist. Required if eventId is not provided.
       * 
* * .event_tickets.EventLimitedFieldsRequest event = 2; */ public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.Builder getEventBuilder() { return getEventFieldBuilder().getBuilder(); } /** *
       * Event details. Event is auto generated if the record does not exist. Required if eventId is not provided.
       * 
* * .event_tickets.EventLimitedFieldsRequest event = 2; */ @java.lang.Override public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequestOrBuilder getEventOrBuilder() { if ((eventInfoCase_ == 2) && (eventBuilder_ != null)) { return eventBuilder_.getMessageOrBuilder(); } else { if (eventInfoCase_ == 2) { return (com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest) eventInfo_; } return com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.getDefaultInstance(); } } /** *
       * Event details. Event is auto generated if the record does not exist. Required if eventId is not provided.
       * 
* * .event_tickets.EventLimitedFieldsRequest event = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.Builder, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequestOrBuilder> getEventFieldBuilder() { if (eventBuilder_ == null) { if (!(eventInfoCase_ == 2)) { eventInfo_ = com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.getDefaultInstance(); } eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.Builder, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequestOrBuilder>( (com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest) eventInfo_, getParentForChildren(), isClean()); eventInfo_ = null; } eventInfoCase_ = 2; onChanged();; return eventBuilder_; } private java.lang.Object ticketTypeId_ = ""; /** *
       * PassKit generated ticketType id (22 characters).
       * 
* * string ticketTypeId = 3; * @return The ticketTypeId. */ public java.lang.String getTicketTypeId() { java.lang.Object ref = ticketTypeId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ticketTypeId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * PassKit generated ticketType id (22 characters).
       * 
* * string ticketTypeId = 3; * @return The bytes for ticketTypeId. */ public com.google.protobuf.ByteString getTicketTypeIdBytes() { java.lang.Object ref = ticketTypeId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketTypeId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * PassKit generated ticketType id (22 characters).
       * 
* * string ticketTypeId = 3; * @param value The ticketTypeId to set. * @return This builder for chaining. */ public Builder setTicketTypeId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ticketTypeId_ = value; onChanged(); return this; } /** *
       * PassKit generated ticketType id (22 characters).
       * 
* * string ticketTypeId = 3; * @return This builder for chaining. */ public Builder clearTicketTypeId() { ticketTypeId_ = getDefaultInstance().getTicketTypeId(); onChanged(); return this; } /** *
       * PassKit generated ticketType id (22 characters).
       * 
* * string ticketTypeId = 3; * @param value The bytes for ticketTypeId to set. * @return This builder for chaining. */ public Builder setTicketTypeIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ticketTypeId_ = value; onChanged(); return this; } private java.lang.Object ticketNumber_ = ""; /** *
       * Optional user generated ticket number. Unique within the Production.
       * 
* * string ticketNumber = 4; * @return The ticketNumber. */ public java.lang.String getTicketNumber() { java.lang.Object ref = ticketNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ticketNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional user generated ticket number. Unique within the Production.
       * 
* * string ticketNumber = 4; * @return The bytes for ticketNumber. */ public com.google.protobuf.ByteString getTicketNumberBytes() { java.lang.Object ref = ticketNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional user generated ticket number. Unique within the Production.
       * 
* * string ticketNumber = 4; * @param value The ticketNumber to set. * @return This builder for chaining. */ public Builder setTicketNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ticketNumber_ = value; onChanged(); return this; } /** *
       * Optional user generated ticket number. Unique within the Production.
       * 
* * string ticketNumber = 4; * @return This builder for chaining. */ public Builder clearTicketNumber() { ticketNumber_ = getDefaultInstance().getTicketNumber(); onChanged(); return this; } /** *
       * Optional user generated ticket number. Unique within the Production.
       * 
* * string ticketNumber = 4; * @param value The bytes for ticketNumber to set. * @return This builder for chaining. */ public Builder setTicketNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ticketNumber_ = value; onChanged(); return this; } private java.lang.Object orderNumber_ = ""; /** *
       * Optional order / confirmation / booking code. Unique within the Production.
       * 
* * string orderNumber = 5; * @return The orderNumber. */ public java.lang.String getOrderNumber() { java.lang.Object ref = orderNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional order / confirmation / booking code. Unique within the Production.
       * 
* * string orderNumber = 5; * @return The bytes for orderNumber. */ public com.google.protobuf.ByteString getOrderNumberBytes() { java.lang.Object ref = orderNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional order / confirmation / booking code. Unique within the Production.
       * 
* * string orderNumber = 5; * @param value The orderNumber to set. * @return This builder for chaining. */ public Builder setOrderNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } orderNumber_ = value; onChanged(); return this; } /** *
       * Optional order / confirmation / booking code. Unique within the Production.
       * 
* * string orderNumber = 5; * @return This builder for chaining. */ public Builder clearOrderNumber() { orderNumber_ = getDefaultInstance().getOrderNumber(); onChanged(); return this; } /** *
       * Optional order / confirmation / booking code. Unique within the Production.
       * 
* * string orderNumber = 5; * @param value The bytes for orderNumber to set. * @return This builder for chaining. */ public Builder setOrderNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderNumber_ = value; onChanged(); return this; } private java.lang.Object groupingId_ = ""; /** *
       * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
       * 
* * string groupingId = 6; * @return The groupingId. */ public java.lang.String getGroupingId() { java.lang.Object ref = groupingId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupingId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
       * 
* * string groupingId = 6; * @return The bytes for groupingId. */ public com.google.protobuf.ByteString getGroupingIdBytes() { java.lang.Object ref = groupingId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); groupingId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
       * 
* * string groupingId = 6; * @param value The groupingId to set. * @return This builder for chaining. */ public Builder setGroupingId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } groupingId_ = value; onChanged(); return this; } /** *
       * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
       * 
* * string groupingId = 6; * @return This builder for chaining. */ public Builder clearGroupingId() { groupingId_ = getDefaultInstance().getGroupingId(); onChanged(); return this; } /** *
       * Optional PassKit generated grouping ID. The system automatically groups tickets based by order number. Grouped tickets can be downloaded together from our multi-pass download pages. Not writable.
       * 
* * string groupingId = 6; * @param value The bytes for groupingId to set. * @return This builder for chaining. */ public Builder setGroupingIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); groupingId_ = value; onChanged(); return this; } private java.lang.Object barcodeContents_ = ""; /** *
       * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
       * 
* * string barcodeContents = 7; * @return The barcodeContents. */ public java.lang.String getBarcodeContents() { java.lang.Object ref = barcodeContents_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); barcodeContents_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
       * 
* * string barcodeContents = 7; * @return The bytes for barcodeContents. */ public com.google.protobuf.ByteString getBarcodeContentsBytes() { java.lang.Object ref = barcodeContents_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); barcodeContents_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
       * 
* * string barcodeContents = 7; * @param value The barcodeContents to set. * @return This builder for chaining. */ public Builder setBarcodeContents( java.lang.String value) { if (value == null) { throw new NullPointerException(); } barcodeContents_ = value; onChanged(); return this; } /** *
       * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
       * 
* * string barcodeContents = 7; * @return This builder for chaining. */ public Builder clearBarcodeContents() { barcodeContents_ = getDefaultInstance().getBarcodeContents(); onChanged(); return this; } /** *
       * The contents to embed in the barcode for this ticket. If not provided, the default value from the Ticket Type Pass Template Design is used.
       * 
* * string barcodeContents = 7; * @param value The bytes for barcodeContents to set. * @return This builder for chaining. */ public Builder setBarcodeContentsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); barcodeContents_ = value; onChanged(); return this; } private com.passkit.grpc.EventTickets.TicketOuterClass.Seat seatInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.Seat, com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder> seatInfoBuilder_; /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; * @return Whether the seatInfo field is set. */ public boolean hasSeatInfo() { return seatInfoBuilder_ != null || seatInfo_ != null; } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; * @return The seatInfo. */ public com.passkit.grpc.EventTickets.TicketOuterClass.Seat getSeatInfo() { if (seatInfoBuilder_ == null) { return seatInfo_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.Seat.getDefaultInstance() : seatInfo_; } else { return seatInfoBuilder_.getMessage(); } } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; */ public Builder setSeatInfo(com.passkit.grpc.EventTickets.TicketOuterClass.Seat value) { if (seatInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } seatInfo_ = value; onChanged(); } else { seatInfoBuilder_.setMessage(value); } return this; } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; */ public Builder setSeatInfo( com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder builderForValue) { if (seatInfoBuilder_ == null) { seatInfo_ = builderForValue.build(); onChanged(); } else { seatInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; */ public Builder mergeSeatInfo(com.passkit.grpc.EventTickets.TicketOuterClass.Seat value) { if (seatInfoBuilder_ == null) { if (seatInfo_ != null) { seatInfo_ = com.passkit.grpc.EventTickets.TicketOuterClass.Seat.newBuilder(seatInfo_).mergeFrom(value).buildPartial(); } else { seatInfo_ = value; } onChanged(); } else { seatInfoBuilder_.mergeFrom(value); } return this; } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; */ public Builder clearSeatInfo() { if (seatInfoBuilder_ == null) { seatInfo_ = null; onChanged(); } else { seatInfo_ = null; seatInfoBuilder_ = null; } return this; } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; */ public com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder getSeatInfoBuilder() { onChanged(); return getSeatInfoFieldBuilder().getBuilder(); } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; */ public com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder getSeatInfoOrBuilder() { if (seatInfoBuilder_ != null) { return seatInfoBuilder_.getMessageOrBuilder(); } else { return seatInfo_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.Seat.getDefaultInstance() : seatInfo_; } } /** *
       * The seat info for the ticket.
       * 
* * .event_tickets.Seat seatInfo = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.Seat, com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder> getSeatInfoFieldBuilder() { if (seatInfoBuilder_ == null) { seatInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.Seat, com.passkit.grpc.EventTickets.TicketOuterClass.Seat.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.SeatOrBuilder>( getSeatInfo(), getParentForChildren(), isClean()); seatInfo_ = null; } return seatInfoBuilder_; } private com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue faceValue_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder> faceValueBuilder_; /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; * @return Whether the faceValue field is set. */ public boolean hasFaceValue() { return faceValueBuilder_ != null || faceValue_ != null; } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; * @return The faceValue. */ public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue getFaceValue() { if (faceValueBuilder_ == null) { return faceValue_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.getDefaultInstance() : faceValue_; } else { return faceValueBuilder_.getMessage(); } } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; */ public Builder setFaceValue(com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue value) { if (faceValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } faceValue_ = value; onChanged(); } else { faceValueBuilder_.setMessage(value); } return this; } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; */ public Builder setFaceValue( com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder builderForValue) { if (faceValueBuilder_ == null) { faceValue_ = builderForValue.build(); onChanged(); } else { faceValueBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; */ public Builder mergeFaceValue(com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue value) { if (faceValueBuilder_ == null) { if (faceValue_ != null) { faceValue_ = com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.newBuilder(faceValue_).mergeFrom(value).buildPartial(); } else { faceValue_ = value; } onChanged(); } else { faceValueBuilder_.mergeFrom(value); } return this; } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; */ public Builder clearFaceValue() { if (faceValueBuilder_ == null) { faceValue_ = null; onChanged(); } else { faceValue_ = null; faceValueBuilder_ = null; } return this; } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; */ public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder getFaceValueBuilder() { onChanged(); return getFaceValueFieldBuilder().getBuilder(); } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; */ public com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder getFaceValueOrBuilder() { if (faceValueBuilder_ != null) { return faceValueBuilder_.getMessageOrBuilder(); } else { return faceValue_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.getDefaultInstance() : faceValue_; } } /** *
       * The face value details for the ticket.
       * 
* * .event_tickets.FaceValue faceValue = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder> getFaceValueFieldBuilder() { if (faceValueBuilder_ == null) { faceValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValue.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.FaceValueOrBuilder>( getFaceValue(), getParentForChildren(), isClean()); faceValue_ = null; } return faceValueBuilder_; } private com.passkit.grpc.Personal.Person person_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Person, com.passkit.grpc.Personal.Person.Builder, com.passkit.grpc.Personal.PersonOrBuilder> personBuilder_; /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; * @return Whether the person field is set. */ public boolean hasPerson() { return personBuilder_ != null || person_ != null; } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; * @return The person. */ public com.passkit.grpc.Personal.Person getPerson() { if (personBuilder_ == null) { return person_ == null ? com.passkit.grpc.Personal.Person.getDefaultInstance() : person_; } else { return personBuilder_.getMessage(); } } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; */ public Builder setPerson(com.passkit.grpc.Personal.Person value) { if (personBuilder_ == null) { if (value == null) { throw new NullPointerException(); } person_ = value; onChanged(); } else { personBuilder_.setMessage(value); } return this; } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; */ public Builder setPerson( com.passkit.grpc.Personal.Person.Builder builderForValue) { if (personBuilder_ == null) { person_ = builderForValue.build(); onChanged(); } else { personBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; */ public Builder mergePerson(com.passkit.grpc.Personal.Person value) { if (personBuilder_ == null) { if (person_ != null) { person_ = com.passkit.grpc.Personal.Person.newBuilder(person_).mergeFrom(value).buildPartial(); } else { person_ = value; } onChanged(); } else { personBuilder_.mergeFrom(value); } return this; } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; */ public Builder clearPerson() { if (personBuilder_ == null) { person_ = null; onChanged(); } else { person_ = null; personBuilder_ = null; } return this; } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; */ public com.passkit.grpc.Personal.Person.Builder getPersonBuilder() { onChanged(); return getPersonFieldBuilder().getBuilder(); } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; */ public com.passkit.grpc.Personal.PersonOrBuilder getPersonOrBuilder() { if (personBuilder_ != null) { return personBuilder_.getMessageOrBuilder(); } else { return person_ == null ? com.passkit.grpc.Personal.Person.getDefaultInstance() : person_; } } /** *
       * The ticket holder information. Stored encrypted in PassKit's database.
       * 
* * .io.Person person = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Person, com.passkit.grpc.Personal.Person.Builder, com.passkit.grpc.Personal.PersonOrBuilder> getPersonFieldBuilder() { if (personBuilder_ == null) { personBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Person, com.passkit.grpc.Personal.Person.Builder, com.passkit.grpc.Personal.PersonOrBuilder>( getPerson(), getParentForChildren(), isClean()); person_ = null; } return personBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metaData_; private com.google.protobuf.MapField internalGetMetaData() { if (metaData_ == null) { return com.google.protobuf.MapField.emptyMapField( MetaDataDefaultEntryHolder.defaultEntry); } return metaData_; } private com.google.protobuf.MapField internalGetMutableMetaData() { onChanged();; if (metaData_ == null) { metaData_ = com.google.protobuf.MapField.newMapField( MetaDataDefaultEntryHolder.defaultEntry); } if (!metaData_.isMutable()) { metaData_ = metaData_.copy(); } return metaData_; } public int getMetaDataCount() { return internalGetMetaData().getMap().size(); } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 11; */ @java.lang.Override public boolean containsMetaData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMetaData().getMap().containsKey(key); } /** * Use {@link #getMetaDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetaData() { return getMetaDataMap(); } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 11; */ @java.lang.Override public java.util.Map getMetaDataMap() { return internalGetMetaData().getMap(); } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 11; */ @java.lang.Override public java.lang.String getMetaDataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 11; */ @java.lang.Override public java.lang.String getMetaDataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetaData() { internalGetMutableMetaData().getMutableMap() .clear(); return this; } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 11; */ public Builder removeMetaData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableMetaData().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetaData() { return internalGetMutableMetaData().getMutableMap(); } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 11; */ public Builder putMetaData( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableMetaData().getMutableMap() .put(key, value); return this; } /** *
       * Any other meta fields for the ticket that are not covered in the Ticket Object / API (i.e. you might want to capture ticket information specific to your process).
       * 
* * map<string, string> metaData = 11; */ public Builder putAllMetaData( java.util.Map values) { internalGetMutableMetaData().getMutableMap() .putAll(values); return this; } private boolean optOut_ ; /** *
       * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
       * 
* * bool optOut = 12; * @return The optOut. */ @java.lang.Override public boolean getOptOut() { return optOut_; } /** *
       * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
       * 
* * bool optOut = 12; * @param value The optOut to set. * @return This builder for chaining. */ public Builder setOptOut(boolean value) { optOut_ = value; onChanged(); return this; } /** *
       * Indicates if the holder of the ticket opted out to receive marketing promotions (defaults to false).
       * 
* * bool optOut = 12; * @return This builder for chaining. */ public Builder clearOptOut() { optOut_ = false; onChanged(); return this; } private int status_ = 0; /** *
       * Holds the ticket status.
       * 
* * .event_tickets.TicketStatus status = 13; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
       * Holds the ticket status.
       * 
* * .event_tickets.TicketStatus status = 13; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /** *
       * Holds the ticket status.
       * 
* * .event_tickets.TicketStatus status = 13; * @return The status. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus getStatus() { @SuppressWarnings("deprecation") com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus result = com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.valueOf(status_); return result == null ? com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus.UNRECOGNIZED : result; } /** *
       * Holds the ticket status.
       * 
* * .event_tickets.TicketStatus status = 13; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(com.passkit.grpc.EventTickets.TicketOuterClass.TicketStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** *
       * Holds the ticket status.
       * 
* * .event_tickets.TicketStatus status = 13; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } private com.google.protobuf.Timestamp expiryDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiryDateBuilder_; /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; * @return Whether the expiryDate field is set. */ public boolean hasExpiryDate() { return expiryDateBuilder_ != null || expiryDate_ != null; } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; * @return The expiryDate. */ public com.google.protobuf.Timestamp getExpiryDate() { if (expiryDateBuilder_ == null) { return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_; } else { return expiryDateBuilder_.getMessage(); } } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; */ public Builder setExpiryDate(com.google.protobuf.Timestamp value) { if (expiryDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expiryDate_ = value; onChanged(); } else { expiryDateBuilder_.setMessage(value); } return this; } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; */ public Builder setExpiryDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (expiryDateBuilder_ == null) { expiryDate_ = builderForValue.build(); onChanged(); } else { expiryDateBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; */ public Builder mergeExpiryDate(com.google.protobuf.Timestamp value) { if (expiryDateBuilder_ == null) { if (expiryDate_ != null) { expiryDate_ = com.google.protobuf.Timestamp.newBuilder(expiryDate_).mergeFrom(value).buildPartial(); } else { expiryDate_ = value; } onChanged(); } else { expiryDateBuilder_.mergeFrom(value); } return this; } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; */ public Builder clearExpiryDate() { if (expiryDateBuilder_ == null) { expiryDate_ = null; onChanged(); } else { expiryDate_ = null; expiryDateBuilder_ = null; } return this; } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; */ public com.google.protobuf.Timestamp.Builder getExpiryDateBuilder() { onChanged(); return getExpiryDateFieldBuilder().getBuilder(); } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; */ public com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder() { if (expiryDateBuilder_ != null) { return expiryDateBuilder_.getMessageOrBuilder(); } else { return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_; } } /** *
       * Optional field to set when the ticket expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 14; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpiryDateFieldBuilder() { if (expiryDateBuilder_ == null) { expiryDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getExpiryDate(), getParentForChildren(), isClean()); expiryDate_ = null; } return expiryDateBuilder_; } private com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails redemptionDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder> redemptionDetailsBuilder_; /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; * @return Whether the redemptionDetails field is set. */ public boolean hasRedemptionDetails() { return redemptionDetailsBuilder_ != null || redemptionDetails_ != null; } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; * @return The redemptionDetails. */ public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails getRedemptionDetails() { if (redemptionDetailsBuilder_ == null) { return redemptionDetails_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.getDefaultInstance() : redemptionDetails_; } else { return redemptionDetailsBuilder_.getMessage(); } } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ public Builder setRedemptionDetails(com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails value) { if (redemptionDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } redemptionDetails_ = value; onChanged(); } else { redemptionDetailsBuilder_.setMessage(value); } return this; } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ public Builder setRedemptionDetails( com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder builderForValue) { if (redemptionDetailsBuilder_ == null) { redemptionDetails_ = builderForValue.build(); onChanged(); } else { redemptionDetailsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ public Builder mergeRedemptionDetails(com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails value) { if (redemptionDetailsBuilder_ == null) { if (redemptionDetails_ != null) { redemptionDetails_ = com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.newBuilder(redemptionDetails_).mergeFrom(value).buildPartial(); } else { redemptionDetails_ = value; } onChanged(); } else { redemptionDetailsBuilder_.mergeFrom(value); } return this; } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ public Builder clearRedemptionDetails() { if (redemptionDetailsBuilder_ == null) { redemptionDetails_ = null; onChanged(); } else { redemptionDetails_ = null; redemptionDetailsBuilder_ = null; } return this; } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder getRedemptionDetailsBuilder() { onChanged(); return getRedemptionDetailsFieldBuilder().getBuilder(); } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ public com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder getRedemptionDetailsOrBuilder() { if (redemptionDetailsBuilder_ != null) { return redemptionDetailsBuilder_.getMessageOrBuilder(); } else { return redemptionDetails_ == null ? com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.getDefaultInstance() : redemptionDetails_; } } /** *
       * Contains details about the redemption (if the ticket is in a redeemed state). Not writable; set by the redeem endpoint.
       * 
* * .event_tickets.RedemptionDetails redemptionDetails = 15; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder> getRedemptionDetailsFieldBuilder() { if (redemptionDetailsBuilder_ == null) { redemptionDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.RedemptionDetailsOrBuilder>( getRedemptionDetails(), getParentForChildren(), isClean()); redemptionDetails_ = null; } return redemptionDetailsBuilder_; } private java.util.List validateDetails_ = java.util.Collections.emptyList(); private void ensureValidateDetailsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { validateDetails_ = new java.util.ArrayList(validateDetails_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder> validateDetailsBuilder_; /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public java.util.List getValidateDetailsList() { if (validateDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(validateDetails_); } else { return validateDetailsBuilder_.getMessageList(); } } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public int getValidateDetailsCount() { if (validateDetailsBuilder_ == null) { return validateDetails_.size(); } else { return validateDetailsBuilder_.getCount(); } } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails getValidateDetails(int index) { if (validateDetailsBuilder_ == null) { return validateDetails_.get(index); } else { return validateDetailsBuilder_.getMessage(index); } } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder setValidateDetails( int index, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails value) { if (validateDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidateDetailsIsMutable(); validateDetails_.set(index, value); onChanged(); } else { validateDetailsBuilder_.setMessage(index, value); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder setValidateDetails( int index, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder builderForValue) { if (validateDetailsBuilder_ == null) { ensureValidateDetailsIsMutable(); validateDetails_.set(index, builderForValue.build()); onChanged(); } else { validateDetailsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder addValidateDetails(com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails value) { if (validateDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidateDetailsIsMutable(); validateDetails_.add(value); onChanged(); } else { validateDetailsBuilder_.addMessage(value); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder addValidateDetails( int index, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails value) { if (validateDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidateDetailsIsMutable(); validateDetails_.add(index, value); onChanged(); } else { validateDetailsBuilder_.addMessage(index, value); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder addValidateDetails( com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder builderForValue) { if (validateDetailsBuilder_ == null) { ensureValidateDetailsIsMutable(); validateDetails_.add(builderForValue.build()); onChanged(); } else { validateDetailsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder addValidateDetails( int index, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder builderForValue) { if (validateDetailsBuilder_ == null) { ensureValidateDetailsIsMutable(); validateDetails_.add(index, builderForValue.build()); onChanged(); } else { validateDetailsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder addAllValidateDetails( java.lang.Iterable values) { if (validateDetailsBuilder_ == null) { ensureValidateDetailsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, validateDetails_); onChanged(); } else { validateDetailsBuilder_.addAllMessages(values); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder clearValidateDetails() { if (validateDetailsBuilder_ == null) { validateDetails_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { validateDetailsBuilder_.clear(); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public Builder removeValidateDetails(int index) { if (validateDetailsBuilder_ == null) { ensureValidateDetailsIsMutable(); validateDetails_.remove(index); onChanged(); } else { validateDetailsBuilder_.remove(index); } return this; } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder getValidateDetailsBuilder( int index) { return getValidateDetailsFieldBuilder().getBuilder(index); } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder getValidateDetailsOrBuilder( int index) { if (validateDetailsBuilder_ == null) { return validateDetails_.get(index); } else { return validateDetailsBuilder_.getMessageOrBuilder(index); } } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public java.util.List getValidateDetailsOrBuilderList() { if (validateDetailsBuilder_ != null) { return validateDetailsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(validateDetails_); } } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder addValidateDetailsBuilder() { return getValidateDetailsFieldBuilder().addBuilder( com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.getDefaultInstance()); } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder addValidateDetailsBuilder( int index) { return getValidateDetailsFieldBuilder().addBuilder( index, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.getDefaultInstance()); } /** *
       * Contains details about when the ticket was validated. Tickets can be validated multiple times. Not writable; set by the validate endpoint.
       * 
* * repeated .event_tickets.ValidateDetails validateDetails = 16; */ public java.util.List getValidateDetailsBuilderList() { return getValidateDetailsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder> getValidateDetailsFieldBuilder() { if (validateDetailsBuilder_ == null) { validateDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetails.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.ValidateDetailsOrBuilder>( validateDetails_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); validateDetails_ = null; } return validateDetailsBuilder_; } private com.passkit.grpc.PassOuterClass.PassOverrides passOverrides_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PassOuterClass.PassOverrides, com.passkit.grpc.PassOuterClass.PassOverrides.Builder, com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder> passOverridesBuilder_; /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; * @return Whether the passOverrides field is set. */ public boolean hasPassOverrides() { return passOverridesBuilder_ != null || passOverrides_ != null; } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; * @return The passOverrides. */ public com.passkit.grpc.PassOuterClass.PassOverrides getPassOverrides() { if (passOverridesBuilder_ == null) { return passOverrides_ == null ? com.passkit.grpc.PassOuterClass.PassOverrides.getDefaultInstance() : passOverrides_; } else { return passOverridesBuilder_.getMessage(); } } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; */ public Builder setPassOverrides(com.passkit.grpc.PassOuterClass.PassOverrides value) { if (passOverridesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } passOverrides_ = value; onChanged(); } else { passOverridesBuilder_.setMessage(value); } return this; } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; */ public Builder setPassOverrides( com.passkit.grpc.PassOuterClass.PassOverrides.Builder builderForValue) { if (passOverridesBuilder_ == null) { passOverrides_ = builderForValue.build(); onChanged(); } else { passOverridesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; */ public Builder mergePassOverrides(com.passkit.grpc.PassOuterClass.PassOverrides value) { if (passOverridesBuilder_ == null) { if (passOverrides_ != null) { passOverrides_ = com.passkit.grpc.PassOuterClass.PassOverrides.newBuilder(passOverrides_).mergeFrom(value).buildPartial(); } else { passOverrides_ = value; } onChanged(); } else { passOverridesBuilder_.mergeFrom(value); } return this; } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; */ public Builder clearPassOverrides() { if (passOverridesBuilder_ == null) { passOverrides_ = null; onChanged(); } else { passOverrides_ = null; passOverridesBuilder_ = null; } return this; } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; */ public com.passkit.grpc.PassOuterClass.PassOverrides.Builder getPassOverridesBuilder() { onChanged(); return getPassOverridesFieldBuilder().getBuilder(); } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; */ public com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder getPassOverridesOrBuilder() { if (passOverridesBuilder_ != null) { return passOverridesBuilder_.getMessageOrBuilder(); } else { return passOverrides_ == null ? com.passkit.grpc.PassOuterClass.PassOverrides.getDefaultInstance() : passOverrides_; } } /** *
       * Optional Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 17; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PassOuterClass.PassOverrides, com.passkit.grpc.PassOuterClass.PassOverrides.Builder, com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder> getPassOverridesFieldBuilder() { if (passOverridesBuilder_ == null) { passOverridesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PassOuterClass.PassOverrides, com.passkit.grpc.PassOuterClass.PassOverrides.Builder, com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder>( getPassOverrides(), getParentForChildren(), isClean()); passOverrides_ = null; } return passOverridesBuilder_; } private com.passkit.grpc.MetricsOuterClass.Metadata passMetaData_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.MetricsOuterClass.Metadata, com.passkit.grpc.MetricsOuterClass.Metadata.Builder, com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder> passMetaDataBuilder_; /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; * @return Whether the passMetaData field is set. */ public boolean hasPassMetaData() { return passMetaDataBuilder_ != null || passMetaData_ != null; } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; * @return The passMetaData. */ public com.passkit.grpc.MetricsOuterClass.Metadata getPassMetaData() { if (passMetaDataBuilder_ == null) { return passMetaData_ == null ? com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance() : passMetaData_; } else { return passMetaDataBuilder_.getMessage(); } } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; */ public Builder setPassMetaData(com.passkit.grpc.MetricsOuterClass.Metadata value) { if (passMetaDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } passMetaData_ = value; onChanged(); } else { passMetaDataBuilder_.setMessage(value); } return this; } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; */ public Builder setPassMetaData( com.passkit.grpc.MetricsOuterClass.Metadata.Builder builderForValue) { if (passMetaDataBuilder_ == null) { passMetaData_ = builderForValue.build(); onChanged(); } else { passMetaDataBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; */ public Builder mergePassMetaData(com.passkit.grpc.MetricsOuterClass.Metadata value) { if (passMetaDataBuilder_ == null) { if (passMetaData_ != null) { passMetaData_ = com.passkit.grpc.MetricsOuterClass.Metadata.newBuilder(passMetaData_).mergeFrom(value).buildPartial(); } else { passMetaData_ = value; } onChanged(); } else { passMetaDataBuilder_.mergeFrom(value); } return this; } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; */ public Builder clearPassMetaData() { if (passMetaDataBuilder_ == null) { passMetaData_ = null; onChanged(); } else { passMetaData_ = null; passMetaDataBuilder_ = null; } return this; } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; */ public com.passkit.grpc.MetricsOuterClass.Metadata.Builder getPassMetaDataBuilder() { onChanged(); return getPassMetaDataFieldBuilder().getBuilder(); } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; */ public com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder getPassMetaDataOrBuilder() { if (passMetaDataBuilder_ != null) { return passMetaDataBuilder_.getMessageOrBuilder(); } else { return passMetaData_ == null ? com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance() : passMetaData_; } } /** *
       * Pass Metadata hold meta data about the pass like status, lifecycle, utm details and installation data. Cannot be set via the API.
       * 
* * .io.Metadata passMetaData = 18; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.MetricsOuterClass.Metadata, com.passkit.grpc.MetricsOuterClass.Metadata.Builder, com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder> getPassMetaDataFieldBuilder() { if (passMetaDataBuilder_ == null) { passMetaDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.MetricsOuterClass.Metadata, com.passkit.grpc.MetricsOuterClass.Metadata.Builder, com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder>( getPassMetaData(), getParentForChildren(), isClean()); passMetaData_ = null; } return passMetaDataBuilder_; } private com.google.protobuf.Timestamp created_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdBuilder_; /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19; * @return Whether the created field is set. */ public boolean hasCreated() { return createdBuilder_ != null || created_ != null; } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19; * @return The created. */ public com.google.protobuf.Timestamp getCreated() { if (createdBuilder_ == null) { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } else { return createdBuilder_.getMessage(); } } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19; */ public Builder setCreated(com.google.protobuf.Timestamp value) { if (createdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } created_ = value; onChanged(); } else { createdBuilder_.setMessage(value); } return this; } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19; */ public Builder setCreated( com.google.protobuf.Timestamp.Builder builderForValue) { if (createdBuilder_ == null) { created_ = builderForValue.build(); onChanged(); } else { createdBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19; */ public Builder mergeCreated(com.google.protobuf.Timestamp value) { if (createdBuilder_ == null) { if (created_ != null) { created_ = com.google.protobuf.Timestamp.newBuilder(created_).mergeFrom(value).buildPartial(); } else { created_ = value; } onChanged(); } else { createdBuilder_.mergeFrom(value); } return this; } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19; */ public Builder clearCreated() { if (createdBuilder_ == null) { created_ = null; onChanged(); } else { created_ = null; createdBuilder_ = null; } return this; } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19; */ public com.google.protobuf.Timestamp.Builder getCreatedBuilder() { onChanged(); return getCreatedFieldBuilder().getBuilder(); } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19; */ public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() { if (createdBuilder_ != null) { return createdBuilder_.getMessageOrBuilder(); } else { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } } /** *
       * The date the ticket was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 19; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreatedFieldBuilder() { if (createdBuilder_ == null) { createdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCreated(), getParentForChildren(), isClean()); created_ = null; } return createdBuilder_; } private com.google.protobuf.Timestamp updated_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedBuilder_; /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20; * @return Whether the updated field is set. */ public boolean hasUpdated() { return updatedBuilder_ != null || updated_ != null; } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20; * @return The updated. */ public com.google.protobuf.Timestamp getUpdated() { if (updatedBuilder_ == null) { return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_; } else { return updatedBuilder_.getMessage(); } } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20; */ public Builder setUpdated(com.google.protobuf.Timestamp value) { if (updatedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } updated_ = value; onChanged(); } else { updatedBuilder_.setMessage(value); } return this; } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20; */ public Builder setUpdated( com.google.protobuf.Timestamp.Builder builderForValue) { if (updatedBuilder_ == null) { updated_ = builderForValue.build(); onChanged(); } else { updatedBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20; */ public Builder mergeUpdated(com.google.protobuf.Timestamp value) { if (updatedBuilder_ == null) { if (updated_ != null) { updated_ = com.google.protobuf.Timestamp.newBuilder(updated_).mergeFrom(value).buildPartial(); } else { updated_ = value; } onChanged(); } else { updatedBuilder_.mergeFrom(value); } return this; } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20; */ public Builder clearUpdated() { if (updatedBuilder_ == null) { updated_ = null; onChanged(); } else { updated_ = null; updatedBuilder_ = null; } return this; } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20; */ public com.google.protobuf.Timestamp.Builder getUpdatedBuilder() { onChanged(); return getUpdatedFieldBuilder().getBuilder(); } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20; */ public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder() { if (updatedBuilder_ != null) { return updatedBuilder_.getMessageOrBuilder(); } else { return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_; } } /** *
       * The date the ticket last updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 20; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdatedFieldBuilder() { if (updatedBuilder_ == null) { updatedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getUpdated(), getParentForChildren(), isClean()); updated_ = null; } return updatedBuilder_; } @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:event_tickets.IssueTicketRequest) } // @@protoc_insertion_point(class_scope:event_tickets.IssueTicketRequest) private static final com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IssueTicketRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new IssueTicketRequest(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.EventTickets.TicketOuterClass.IssueTicketRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IssueTicketResponseIdsOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.IssueTicketResponseIds) com.google.protobuf.MessageOrBuilder { /** *
     * PassKit generated ticket id (22 characters).
     * 
* * string ticketId = 1; * @return The ticketId. */ java.lang.String getTicketId(); /** *
     * PassKit generated ticket id (22 characters).
     * 
* * string ticketId = 1; * @return The bytes for ticketId. */ com.google.protobuf.ByteString getTicketIdBytes(); /** *
     * PassKit generated production id (22 characters).
     * 
* * string productionId = 2; * @return The productionId. */ java.lang.String getProductionId(); /** *
     * PassKit generated production id (22 characters).
     * 
* * string productionId = 2; * @return The bytes for productionId. */ com.google.protobuf.ByteString getProductionIdBytes(); /** *
     * PassKit generated venue id (22 characters).
     * 
* * string venueId = 3; * @return The venueId. */ java.lang.String getVenueId(); /** *
     * PassKit generated venue id (22 characters).
     * 
* * string venueId = 3; * @return The bytes for venueId. */ com.google.protobuf.ByteString getVenueIdBytes(); /** *
     * PassKit generated ticket type id (22 characters).
     * 
* * string ticketTypeId = 4; * @return The ticketTypeId. */ java.lang.String getTicketTypeId(); /** *
     * PassKit generated ticket type id (22 characters).
     * 
* * string ticketTypeId = 4; * @return The bytes for ticketTypeId. */ com.google.protobuf.ByteString getTicketTypeIdBytes(); /** *
     * PassKit generated event id (22 characters).
     * 
* * string eventId = 5; * @return The eventId. */ java.lang.String getEventId(); /** *
     * PassKit generated event id (22 characters).
     * 
* * string eventId = 5; * @return The bytes for eventId. */ com.google.protobuf.ByteString getEventIdBytes(); } /** * Protobuf type {@code event_tickets.IssueTicketResponseIds} */ public static final class IssueTicketResponseIds extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.IssueTicketResponseIds) IssueTicketResponseIdsOrBuilder { private static final long serialVersionUID = 0L; // Use IssueTicketResponseIds.newBuilder() to construct. private IssueTicketResponseIds(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IssueTicketResponseIds() { ticketId_ = ""; productionId_ = ""; venueId_ = ""; ticketTypeId_ = ""; eventId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IssueTicketResponseIds(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IssueTicketResponseIds( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 10: { java.lang.String s = input.readStringRequireUtf8(); ticketId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); productionId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); venueId_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); ticketTypeId_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); eventId_ = s; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_IssueTicketResponseIds_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_IssueTicketResponseIds_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds.class, com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds.Builder.class); } public static final int TICKETID_FIELD_NUMBER = 1; private volatile java.lang.Object ticketId_; /** *
     * PassKit generated ticket id (22 characters).
     * 
* * string ticketId = 1; * @return The ticketId. */ @java.lang.Override public java.lang.String getTicketId() { java.lang.Object ref = ticketId_; 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(); ticketId_ = s; return s; } } /** *
     * PassKit generated ticket id (22 characters).
     * 
* * string ticketId = 1; * @return The bytes for ticketId. */ @java.lang.Override public com.google.protobuf.ByteString getTicketIdBytes() { java.lang.Object ref = ticketId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PRODUCTIONID_FIELD_NUMBER = 2; private volatile java.lang.Object productionId_; /** *
     * PassKit generated production id (22 characters).
     * 
* * string productionId = 2; * @return The productionId. */ @java.lang.Override public java.lang.String getProductionId() { java.lang.Object ref = productionId_; 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(); productionId_ = s; return s; } } /** *
     * PassKit generated production id (22 characters).
     * 
* * string productionId = 2; * @return The bytes for productionId. */ @java.lang.Override public com.google.protobuf.ByteString getProductionIdBytes() { java.lang.Object ref = productionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); productionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VENUEID_FIELD_NUMBER = 3; private volatile java.lang.Object venueId_; /** *
     * PassKit generated venue id (22 characters).
     * 
* * string venueId = 3; * @return The venueId. */ @java.lang.Override public java.lang.String getVenueId() { java.lang.Object ref = venueId_; 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(); venueId_ = s; return s; } } /** *
     * PassKit generated venue id (22 characters).
     * 
* * string venueId = 3; * @return The bytes for venueId. */ @java.lang.Override public com.google.protobuf.ByteString getVenueIdBytes() { java.lang.Object ref = venueId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); venueId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TICKETTYPEID_FIELD_NUMBER = 4; private volatile java.lang.Object ticketTypeId_; /** *
     * PassKit generated ticket type id (22 characters).
     * 
* * string ticketTypeId = 4; * @return The ticketTypeId. */ @java.lang.Override public java.lang.String getTicketTypeId() { java.lang.Object ref = ticketTypeId_; 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(); ticketTypeId_ = s; return s; } } /** *
     * PassKit generated ticket type id (22 characters).
     * 
* * string ticketTypeId = 4; * @return The bytes for ticketTypeId. */ @java.lang.Override public com.google.protobuf.ByteString getTicketTypeIdBytes() { java.lang.Object ref = ticketTypeId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketTypeId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EVENTID_FIELD_NUMBER = 5; private volatile java.lang.Object eventId_; /** *
     * PassKit generated event id (22 characters).
     * 
* * string eventId = 5; * @return The eventId. */ @java.lang.Override public java.lang.String getEventId() { java.lang.Object ref = eventId_; 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(); eventId_ = s; return s; } } /** *
     * PassKit generated event id (22 characters).
     * 
* * string eventId = 5; * @return The bytes for eventId. */ @java.lang.Override public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); eventId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!getTicketIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ticketId_); } if (!getProductionIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, productionId_); } if (!getVenueIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, venueId_); } if (!getTicketTypeIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ticketTypeId_); } if (!getEventIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, eventId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getTicketIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ticketId_); } if (!getProductionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, productionId_); } if (!getVenueIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, venueId_); } if (!getTicketTypeIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ticketTypeId_); } if (!getEventIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, eventId_); } 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.EventTickets.TicketOuterClass.IssueTicketResponseIds)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds other = (com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds) obj; if (!getTicketId() .equals(other.getTicketId())) return false; if (!getProductionId() .equals(other.getProductionId())) return false; if (!getVenueId() .equals(other.getVenueId())) return false; if (!getTicketTypeId() .equals(other.getTicketTypeId())) return false; if (!getEventId() .equals(other.getEventId())) 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) + TICKETID_FIELD_NUMBER; hash = (53 * hash) + getTicketId().hashCode(); hash = (37 * hash) + PRODUCTIONID_FIELD_NUMBER; hash = (53 * hash) + getProductionId().hashCode(); hash = (37 * hash) + VENUEID_FIELD_NUMBER; hash = (53 * hash) + getVenueId().hashCode(); hash = (37 * hash) + TICKETTYPEID_FIELD_NUMBER; hash = (53 * hash) + getTicketTypeId().hashCode(); hash = (37 * hash) + EVENTID_FIELD_NUMBER; hash = (53 * hash) + getEventId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds 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.EventTickets.TicketOuterClass.IssueTicketResponseIds parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds 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.EventTickets.TicketOuterClass.IssueTicketResponseIds parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds 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.EventTickets.TicketOuterClass.IssueTicketResponseIds parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds 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.EventTickets.TicketOuterClass.IssueTicketResponseIds parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds 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.EventTickets.TicketOuterClass.IssueTicketResponseIds 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; } /** * Protobuf type {@code event_tickets.IssueTicketResponseIds} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.IssueTicketResponseIds) com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIdsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_IssueTicketResponseIds_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_IssueTicketResponseIds_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds.class, com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds.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(); ticketId_ = ""; productionId_ = ""; venueId_ = ""; ticketTypeId_ = ""; eventId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_IssueTicketResponseIds_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds build() { com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds result = new com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds(this); result.ticketId_ = ticketId_; result.productionId_ = productionId_; result.venueId_ = venueId_; result.ticketTypeId_ = ticketTypeId_; result.eventId_ = eventId_; 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.EventTickets.TicketOuterClass.IssueTicketResponseIds) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds.getDefaultInstance()) return this; if (!other.getTicketId().isEmpty()) { ticketId_ = other.ticketId_; onChanged(); } if (!other.getProductionId().isEmpty()) { productionId_ = other.productionId_; onChanged(); } if (!other.getVenueId().isEmpty()) { venueId_ = other.venueId_; onChanged(); } if (!other.getTicketTypeId().isEmpty()) { ticketTypeId_ = other.ticketTypeId_; onChanged(); } if (!other.getEventId().isEmpty()) { eventId_ = other.eventId_; onChanged(); } 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.EventTickets.TicketOuterClass.IssueTicketResponseIds parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object ticketId_ = ""; /** *
       * PassKit generated ticket id (22 characters).
       * 
* * string ticketId = 1; * @return The ticketId. */ public java.lang.String getTicketId() { java.lang.Object ref = ticketId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ticketId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * PassKit generated ticket id (22 characters).
       * 
* * string ticketId = 1; * @return The bytes for ticketId. */ public com.google.protobuf.ByteString getTicketIdBytes() { java.lang.Object ref = ticketId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * PassKit generated ticket id (22 characters).
       * 
* * string ticketId = 1; * @param value The ticketId to set. * @return This builder for chaining. */ public Builder setTicketId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ticketId_ = value; onChanged(); return this; } /** *
       * PassKit generated ticket id (22 characters).
       * 
* * string ticketId = 1; * @return This builder for chaining. */ public Builder clearTicketId() { ticketId_ = getDefaultInstance().getTicketId(); onChanged(); return this; } /** *
       * PassKit generated ticket id (22 characters).
       * 
* * string ticketId = 1; * @param value The bytes for ticketId to set. * @return This builder for chaining. */ public Builder setTicketIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ticketId_ = value; onChanged(); return this; } private java.lang.Object productionId_ = ""; /** *
       * PassKit generated production id (22 characters).
       * 
* * string productionId = 2; * @return The productionId. */ public java.lang.String getProductionId() { java.lang.Object ref = productionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * PassKit generated production id (22 characters).
       * 
* * string productionId = 2; * @return The bytes for productionId. */ public com.google.protobuf.ByteString getProductionIdBytes() { java.lang.Object ref = productionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); productionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * PassKit generated production id (22 characters).
       * 
* * string productionId = 2; * @param value The productionId to set. * @return This builder for chaining. */ public Builder setProductionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } productionId_ = value; onChanged(); return this; } /** *
       * PassKit generated production id (22 characters).
       * 
* * string productionId = 2; * @return This builder for chaining. */ public Builder clearProductionId() { productionId_ = getDefaultInstance().getProductionId(); onChanged(); return this; } /** *
       * PassKit generated production id (22 characters).
       * 
* * string productionId = 2; * @param value The bytes for productionId to set. * @return This builder for chaining. */ public Builder setProductionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); productionId_ = value; onChanged(); return this; } private java.lang.Object venueId_ = ""; /** *
       * PassKit generated venue id (22 characters).
       * 
* * string venueId = 3; * @return The venueId. */ public java.lang.String getVenueId() { java.lang.Object ref = venueId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); venueId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * PassKit generated venue id (22 characters).
       * 
* * string venueId = 3; * @return The bytes for venueId. */ public com.google.protobuf.ByteString getVenueIdBytes() { java.lang.Object ref = venueId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); venueId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * PassKit generated venue id (22 characters).
       * 
* * string venueId = 3; * @param value The venueId to set. * @return This builder for chaining. */ public Builder setVenueId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } venueId_ = value; onChanged(); return this; } /** *
       * PassKit generated venue id (22 characters).
       * 
* * string venueId = 3; * @return This builder for chaining. */ public Builder clearVenueId() { venueId_ = getDefaultInstance().getVenueId(); onChanged(); return this; } /** *
       * PassKit generated venue id (22 characters).
       * 
* * string venueId = 3; * @param value The bytes for venueId to set. * @return This builder for chaining. */ public Builder setVenueIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); venueId_ = value; onChanged(); return this; } private java.lang.Object ticketTypeId_ = ""; /** *
       * PassKit generated ticket type id (22 characters).
       * 
* * string ticketTypeId = 4; * @return The ticketTypeId. */ public java.lang.String getTicketTypeId() { java.lang.Object ref = ticketTypeId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ticketTypeId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * PassKit generated ticket type id (22 characters).
       * 
* * string ticketTypeId = 4; * @return The bytes for ticketTypeId. */ public com.google.protobuf.ByteString getTicketTypeIdBytes() { java.lang.Object ref = ticketTypeId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketTypeId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * PassKit generated ticket type id (22 characters).
       * 
* * string ticketTypeId = 4; * @param value The ticketTypeId to set. * @return This builder for chaining. */ public Builder setTicketTypeId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ticketTypeId_ = value; onChanged(); return this; } /** *
       * PassKit generated ticket type id (22 characters).
       * 
* * string ticketTypeId = 4; * @return This builder for chaining. */ public Builder clearTicketTypeId() { ticketTypeId_ = getDefaultInstance().getTicketTypeId(); onChanged(); return this; } /** *
       * PassKit generated ticket type id (22 characters).
       * 
* * string ticketTypeId = 4; * @param value The bytes for ticketTypeId to set. * @return This builder for chaining. */ public Builder setTicketTypeIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ticketTypeId_ = value; onChanged(); return this; } private java.lang.Object eventId_ = ""; /** *
       * PassKit generated event id (22 characters).
       * 
* * string eventId = 5; * @return The eventId. */ public java.lang.String getEventId() { java.lang.Object ref = eventId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * PassKit generated event id (22 characters).
       * 
* * string eventId = 5; * @return The bytes for eventId. */ public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); eventId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * PassKit generated event id (22 characters).
       * 
* * string eventId = 5; * @param value The eventId to set. * @return This builder for chaining. */ public Builder setEventId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } eventId_ = value; onChanged(); return this; } /** *
       * PassKit generated event id (22 characters).
       * 
* * string eventId = 5; * @return This builder for chaining. */ public Builder clearEventId() { eventId_ = getDefaultInstance().getEventId(); onChanged(); return this; } /** *
       * PassKit generated event id (22 characters).
       * 
* * string eventId = 5; * @param value The bytes for eventId to set. * @return This builder for chaining. */ public Builder setEventIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); eventId_ = value; 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:event_tickets.IssueTicketResponseIds) } // @@protoc_insertion_point(class_scope:event_tickets.IssueTicketResponseIds) private static final com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.IssueTicketResponseIds getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IssueTicketResponseIds parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new IssueTicketResponseIds(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.EventTickets.TicketOuterClass.IssueTicketResponseIds getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EventTicketPassRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.EventTicketPassRequest) com.google.protobuf.MessageOrBuilder { /** * .io.Id ticketId = 1; * @return Whether the ticketId field is set. */ boolean hasTicketId(); /** * .io.Id ticketId = 1; * @return The ticketId. */ com.passkit.grpc.CommonObjects.Id getTicketId(); /** * .io.Id ticketId = 1; */ com.passkit.grpc.CommonObjects.IdOrBuilder getTicketIdOrBuilder(); /** * .event_tickets.TicketNumberRequest ticketNumber = 2; * @return Whether the ticketNumber field is set. */ boolean hasTicketNumber(); /** * .event_tickets.TicketNumberRequest ticketNumber = 2; * @return The ticketNumber. */ com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest getTicketNumber(); /** * .event_tickets.TicketNumberRequest ticketNumber = 2; */ com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequestOrBuilder getTicketNumberOrBuilder(); /** * .event_tickets.OrderNumberRequest orderNumber = 3; * @return Whether the orderNumber field is set. */ boolean hasOrderNumber(); /** * .event_tickets.OrderNumberRequest orderNumber = 3; * @return The orderNumber. */ com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest getOrderNumber(); /** * .event_tickets.OrderNumberRequest orderNumber = 3; */ com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequestOrBuilder getOrderNumberOrBuilder(); /** *
     * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
     * 
* * repeated .io.PassBundleFormat format = 4; * @return A list containing the format. */ java.util.List getFormatList(); /** *
     * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
     * 
* * repeated .io.PassBundleFormat format = 4; * @return The count of format. */ int getFormatCount(); /** *
     * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
     * 
* * repeated .io.PassBundleFormat format = 4; * @param index The index of the element to return. * @return The format at the given index. */ com.passkit.grpc.CommonObjects.PassBundleFormat getFormat(int index); /** *
     * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
     * 
* * repeated .io.PassBundleFormat format = 4; * @return A list containing the enum numeric values on the wire for format. */ java.util.List getFormatValueList(); /** *
     * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
     * 
* * repeated .io.PassBundleFormat format = 4; * @param index The index of the value to return. * @return The enum numeric value on the wire of format at the given index. */ int getFormatValue(int index); public com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest.RequestCase getRequestCase(); } /** * Protobuf type {@code event_tickets.EventTicketPassRequest} */ public static final class EventTicketPassRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.EventTicketPassRequest) EventTicketPassRequestOrBuilder { private static final long serialVersionUID = 0L; // Use EventTicketPassRequest.newBuilder() to construct. private EventTicketPassRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EventTicketPassRequest() { format_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EventTicketPassRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EventTicketPassRequest( 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 10: { com.passkit.grpc.CommonObjects.Id.Builder subBuilder = null; if (requestCase_ == 1) { subBuilder = ((com.passkit.grpc.CommonObjects.Id) request_).toBuilder(); } request_ = input.readMessage(com.passkit.grpc.CommonObjects.Id.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.passkit.grpc.CommonObjects.Id) request_); request_ = subBuilder.buildPartial(); } requestCase_ = 1; break; } case 18: { com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.Builder subBuilder = null; if (requestCase_ == 2) { subBuilder = ((com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest) request_).toBuilder(); } request_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest) request_); request_ = subBuilder.buildPartial(); } requestCase_ = 2; break; } case 26: { com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.Builder subBuilder = null; if (requestCase_ == 3) { subBuilder = ((com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest) request_).toBuilder(); } request_ = input.readMessage(com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest) request_); request_ = subBuilder.buildPartial(); } requestCase_ = 3; break; } case 32: { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { format_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } format_.add(rawValue); break; } case 34: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { format_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } format_.add(rawValue); } input.popLimit(oldLimit); 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)) { format_ = java.util.Collections.unmodifiableList(format_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_EventTicketPassRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_EventTicketPassRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest.class, com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest.Builder.class); } private int requestCase_ = 0; private java.lang.Object request_; public enum RequestCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TICKETID(1), TICKETNUMBER(2), ORDERNUMBER(3), REQUEST_NOT_SET(0); private final int value; private RequestCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static RequestCase valueOf(int value) { return forNumber(value); } public static RequestCase forNumber(int value) { switch (value) { case 1: return TICKETID; case 2: return TICKETNUMBER; case 3: return ORDERNUMBER; case 0: return REQUEST_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public RequestCase getRequestCase() { return RequestCase.forNumber( requestCase_); } public static final int TICKETID_FIELD_NUMBER = 1; /** * .io.Id ticketId = 1; * @return Whether the ticketId field is set. */ @java.lang.Override public boolean hasTicketId() { return requestCase_ == 1; } /** * .io.Id ticketId = 1; * @return The ticketId. */ @java.lang.Override public com.passkit.grpc.CommonObjects.Id getTicketId() { if (requestCase_ == 1) { return (com.passkit.grpc.CommonObjects.Id) request_; } return com.passkit.grpc.CommonObjects.Id.getDefaultInstance(); } /** * .io.Id ticketId = 1; */ @java.lang.Override public com.passkit.grpc.CommonObjects.IdOrBuilder getTicketIdOrBuilder() { if (requestCase_ == 1) { return (com.passkit.grpc.CommonObjects.Id) request_; } return com.passkit.grpc.CommonObjects.Id.getDefaultInstance(); } public static final int TICKETNUMBER_FIELD_NUMBER = 2; /** * .event_tickets.TicketNumberRequest ticketNumber = 2; * @return Whether the ticketNumber field is set. */ @java.lang.Override public boolean hasTicketNumber() { return requestCase_ == 2; } /** * .event_tickets.TicketNumberRequest ticketNumber = 2; * @return The ticketNumber. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest getTicketNumber() { if (requestCase_ == 2) { return (com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest) request_; } return com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.getDefaultInstance(); } /** * .event_tickets.TicketNumberRequest ticketNumber = 2; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequestOrBuilder getTicketNumberOrBuilder() { if (requestCase_ == 2) { return (com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest) request_; } return com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.getDefaultInstance(); } public static final int ORDERNUMBER_FIELD_NUMBER = 3; /** * .event_tickets.OrderNumberRequest orderNumber = 3; * @return Whether the orderNumber field is set. */ @java.lang.Override public boolean hasOrderNumber() { return requestCase_ == 3; } /** * .event_tickets.OrderNumberRequest orderNumber = 3; * @return The orderNumber. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest getOrderNumber() { if (requestCase_ == 3) { return (com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest) request_; } return com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.getDefaultInstance(); } /** * .event_tickets.OrderNumberRequest orderNumber = 3; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequestOrBuilder getOrderNumberOrBuilder() { if (requestCase_ == 3) { return (com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest) request_; } return com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.getDefaultInstance(); } public static final int FORMAT_FIELD_NUMBER = 4; private java.util.List format_; private static final com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.passkit.grpc.CommonObjects.PassBundleFormat> format_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.passkit.grpc.CommonObjects.PassBundleFormat>() { public com.passkit.grpc.CommonObjects.PassBundleFormat convert(java.lang.Integer from) { @SuppressWarnings("deprecation") com.passkit.grpc.CommonObjects.PassBundleFormat result = com.passkit.grpc.CommonObjects.PassBundleFormat.valueOf(from); return result == null ? com.passkit.grpc.CommonObjects.PassBundleFormat.UNRECOGNIZED : result; } }; /** *
     * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
     * 
* * repeated .io.PassBundleFormat format = 4; * @return A list containing the format. */ @java.lang.Override public java.util.List getFormatList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.passkit.grpc.CommonObjects.PassBundleFormat>(format_, format_converter_); } /** *
     * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
     * 
* * repeated .io.PassBundleFormat format = 4; * @return The count of format. */ @java.lang.Override public int getFormatCount() { return format_.size(); } /** *
     * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
     * 
* * repeated .io.PassBundleFormat format = 4; * @param index The index of the element to return. * @return The format at the given index. */ @java.lang.Override public com.passkit.grpc.CommonObjects.PassBundleFormat getFormat(int index) { return format_converter_.convert(format_.get(index)); } /** *
     * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
     * 
* * repeated .io.PassBundleFormat format = 4; * @return A list containing the enum numeric values on the wire for format. */ @java.lang.Override public java.util.List getFormatValueList() { return format_; } /** *
     * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
     * 
* * repeated .io.PassBundleFormat format = 4; * @param index The index of the value to return. * @return The enum numeric value on the wire of format at the given index. */ @java.lang.Override public int getFormatValue(int index) { return format_.get(index); } private int formatMemoizedSerializedSize; 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 { getSerializedSize(); if (requestCase_ == 1) { output.writeMessage(1, (com.passkit.grpc.CommonObjects.Id) request_); } if (requestCase_ == 2) { output.writeMessage(2, (com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest) request_); } if (requestCase_ == 3) { output.writeMessage(3, (com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest) request_); } if (getFormatList().size() > 0) { output.writeUInt32NoTag(34); output.writeUInt32NoTag(formatMemoizedSerializedSize); } for (int i = 0; i < format_.size(); i++) { output.writeEnumNoTag(format_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (requestCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (com.passkit.grpc.CommonObjects.Id) request_); } if (requestCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest) request_); } if (requestCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest) request_); } { int dataSize = 0; for (int i = 0; i < format_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(format_.get(i)); } size += dataSize; if (!getFormatList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(dataSize); }formatMemoizedSerializedSize = dataSize; } 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.EventTickets.TicketOuterClass.EventTicketPassRequest)) { return super.equals(obj); } com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest other = (com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest) obj; if (!format_.equals(other.format_)) return false; if (!getRequestCase().equals(other.getRequestCase())) return false; switch (requestCase_) { case 1: if (!getTicketId() .equals(other.getTicketId())) return false; break; case 2: if (!getTicketNumber() .equals(other.getTicketNumber())) return false; break; case 3: if (!getOrderNumber() .equals(other.getOrderNumber())) return false; break; case 0: default: } 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(); if (getFormatCount() > 0) { hash = (37 * hash) + FORMAT_FIELD_NUMBER; hash = (53 * hash) + format_.hashCode(); } switch (requestCase_) { case 1: hash = (37 * hash) + TICKETID_FIELD_NUMBER; hash = (53 * hash) + getTicketId().hashCode(); break; case 2: hash = (37 * hash) + TICKETNUMBER_FIELD_NUMBER; hash = (53 * hash) + getTicketNumber().hashCode(); break; case 3: hash = (37 * hash) + ORDERNUMBER_FIELD_NUMBER; hash = (53 * hash) + getOrderNumber().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest 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.EventTickets.TicketOuterClass.EventTicketPassRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest 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.EventTickets.TicketOuterClass.EventTicketPassRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest 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.EventTickets.TicketOuterClass.EventTicketPassRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest 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.EventTickets.TicketOuterClass.EventTicketPassRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest 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.EventTickets.TicketOuterClass.EventTicketPassRequest 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; } /** * Protobuf type {@code event_tickets.EventTicketPassRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.EventTicketPassRequest) com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_EventTicketPassRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_EventTicketPassRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest.class, com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest.Builder.class); } // Construct using com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest.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(); format_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); requestCase_ = 0; request_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.internal_static_event_tickets_EventTicketPassRequest_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest build() { com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest buildPartial() { com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest result = new com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest(this); int from_bitField0_ = bitField0_; if (requestCase_ == 1) { if (ticketIdBuilder_ == null) { result.request_ = request_; } else { result.request_ = ticketIdBuilder_.build(); } } if (requestCase_ == 2) { if (ticketNumberBuilder_ == null) { result.request_ = request_; } else { result.request_ = ticketNumberBuilder_.build(); } } if (requestCase_ == 3) { if (orderNumberBuilder_ == null) { result.request_ = request_; } else { result.request_ = orderNumberBuilder_.build(); } } if (((bitField0_ & 0x00000001) != 0)) { format_ = java.util.Collections.unmodifiableList(format_); bitField0_ = (bitField0_ & ~0x00000001); } result.format_ = format_; result.requestCase_ = requestCase_; 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.EventTickets.TicketOuterClass.EventTicketPassRequest) { return mergeFrom((com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest other) { if (other == com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest.getDefaultInstance()) return this; if (!other.format_.isEmpty()) { if (format_.isEmpty()) { format_ = other.format_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFormatIsMutable(); format_.addAll(other.format_); } onChanged(); } switch (other.getRequestCase()) { case TICKETID: { mergeTicketId(other.getTicketId()); break; } case TICKETNUMBER: { mergeTicketNumber(other.getTicketNumber()); break; } case ORDERNUMBER: { mergeOrderNumber(other.getOrderNumber()); break; } case REQUEST_NOT_SET: { break; } } 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.EventTickets.TicketOuterClass.EventTicketPassRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int requestCase_ = 0; private java.lang.Object request_; public RequestCase getRequestCase() { return RequestCase.forNumber( requestCase_); } public Builder clearRequest() { requestCase_ = 0; request_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.CommonObjects.Id, com.passkit.grpc.CommonObjects.Id.Builder, com.passkit.grpc.CommonObjects.IdOrBuilder> ticketIdBuilder_; /** * .io.Id ticketId = 1; * @return Whether the ticketId field is set. */ @java.lang.Override public boolean hasTicketId() { return requestCase_ == 1; } /** * .io.Id ticketId = 1; * @return The ticketId. */ @java.lang.Override public com.passkit.grpc.CommonObjects.Id getTicketId() { if (ticketIdBuilder_ == null) { if (requestCase_ == 1) { return (com.passkit.grpc.CommonObjects.Id) request_; } return com.passkit.grpc.CommonObjects.Id.getDefaultInstance(); } else { if (requestCase_ == 1) { return ticketIdBuilder_.getMessage(); } return com.passkit.grpc.CommonObjects.Id.getDefaultInstance(); } } /** * .io.Id ticketId = 1; */ public Builder setTicketId(com.passkit.grpc.CommonObjects.Id value) { if (ticketIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { ticketIdBuilder_.setMessage(value); } requestCase_ = 1; return this; } /** * .io.Id ticketId = 1; */ public Builder setTicketId( com.passkit.grpc.CommonObjects.Id.Builder builderForValue) { if (ticketIdBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { ticketIdBuilder_.setMessage(builderForValue.build()); } requestCase_ = 1; return this; } /** * .io.Id ticketId = 1; */ public Builder mergeTicketId(com.passkit.grpc.CommonObjects.Id value) { if (ticketIdBuilder_ == null) { if (requestCase_ == 1 && request_ != com.passkit.grpc.CommonObjects.Id.getDefaultInstance()) { request_ = com.passkit.grpc.CommonObjects.Id.newBuilder((com.passkit.grpc.CommonObjects.Id) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 1) { ticketIdBuilder_.mergeFrom(value); } ticketIdBuilder_.setMessage(value); } requestCase_ = 1; return this; } /** * .io.Id ticketId = 1; */ public Builder clearTicketId() { if (ticketIdBuilder_ == null) { if (requestCase_ == 1) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 1) { requestCase_ = 0; request_ = null; } ticketIdBuilder_.clear(); } return this; } /** * .io.Id ticketId = 1; */ public com.passkit.grpc.CommonObjects.Id.Builder getTicketIdBuilder() { return getTicketIdFieldBuilder().getBuilder(); } /** * .io.Id ticketId = 1; */ @java.lang.Override public com.passkit.grpc.CommonObjects.IdOrBuilder getTicketIdOrBuilder() { if ((requestCase_ == 1) && (ticketIdBuilder_ != null)) { return ticketIdBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 1) { return (com.passkit.grpc.CommonObjects.Id) request_; } return com.passkit.grpc.CommonObjects.Id.getDefaultInstance(); } } /** * .io.Id ticketId = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.CommonObjects.Id, com.passkit.grpc.CommonObjects.Id.Builder, com.passkit.grpc.CommonObjects.IdOrBuilder> getTicketIdFieldBuilder() { if (ticketIdBuilder_ == null) { if (!(requestCase_ == 1)) { request_ = com.passkit.grpc.CommonObjects.Id.getDefaultInstance(); } ticketIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.CommonObjects.Id, com.passkit.grpc.CommonObjects.Id.Builder, com.passkit.grpc.CommonObjects.IdOrBuilder>( (com.passkit.grpc.CommonObjects.Id) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 1; onChanged();; return ticketIdBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest, com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequestOrBuilder> ticketNumberBuilder_; /** * .event_tickets.TicketNumberRequest ticketNumber = 2; * @return Whether the ticketNumber field is set. */ @java.lang.Override public boolean hasTicketNumber() { return requestCase_ == 2; } /** * .event_tickets.TicketNumberRequest ticketNumber = 2; * @return The ticketNumber. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest getTicketNumber() { if (ticketNumberBuilder_ == null) { if (requestCase_ == 2) { return (com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest) request_; } return com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.getDefaultInstance(); } else { if (requestCase_ == 2) { return ticketNumberBuilder_.getMessage(); } return com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.getDefaultInstance(); } } /** * .event_tickets.TicketNumberRequest ticketNumber = 2; */ public Builder setTicketNumber(com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest value) { if (ticketNumberBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { ticketNumberBuilder_.setMessage(value); } requestCase_ = 2; return this; } /** * .event_tickets.TicketNumberRequest ticketNumber = 2; */ public Builder setTicketNumber( com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.Builder builderForValue) { if (ticketNumberBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { ticketNumberBuilder_.setMessage(builderForValue.build()); } requestCase_ = 2; return this; } /** * .event_tickets.TicketNumberRequest ticketNumber = 2; */ public Builder mergeTicketNumber(com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest value) { if (ticketNumberBuilder_ == null) { if (requestCase_ == 2 && request_ != com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.getDefaultInstance()) { request_ = com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.newBuilder((com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 2) { ticketNumberBuilder_.mergeFrom(value); } ticketNumberBuilder_.setMessage(value); } requestCase_ = 2; return this; } /** * .event_tickets.TicketNumberRequest ticketNumber = 2; */ public Builder clearTicketNumber() { if (ticketNumberBuilder_ == null) { if (requestCase_ == 2) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 2) { requestCase_ = 0; request_ = null; } ticketNumberBuilder_.clear(); } return this; } /** * .event_tickets.TicketNumberRequest ticketNumber = 2; */ public com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.Builder getTicketNumberBuilder() { return getTicketNumberFieldBuilder().getBuilder(); } /** * .event_tickets.TicketNumberRequest ticketNumber = 2; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequestOrBuilder getTicketNumberOrBuilder() { if ((requestCase_ == 2) && (ticketNumberBuilder_ != null)) { return ticketNumberBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 2) { return (com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest) request_; } return com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.getDefaultInstance(); } } /** * .event_tickets.TicketNumberRequest ticketNumber = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest, com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequestOrBuilder> getTicketNumberFieldBuilder() { if (ticketNumberBuilder_ == null) { if (!(requestCase_ == 2)) { request_ = com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.getDefaultInstance(); } ticketNumberBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest, com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequestOrBuilder>( (com.passkit.grpc.EventTickets.TicketOuterClass.TicketNumberRequest) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 2; onChanged();; return ticketNumberBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest, com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequestOrBuilder> orderNumberBuilder_; /** * .event_tickets.OrderNumberRequest orderNumber = 3; * @return Whether the orderNumber field is set. */ @java.lang.Override public boolean hasOrderNumber() { return requestCase_ == 3; } /** * .event_tickets.OrderNumberRequest orderNumber = 3; * @return The orderNumber. */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest getOrderNumber() { if (orderNumberBuilder_ == null) { if (requestCase_ == 3) { return (com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest) request_; } return com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.getDefaultInstance(); } else { if (requestCase_ == 3) { return orderNumberBuilder_.getMessage(); } return com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.getDefaultInstance(); } } /** * .event_tickets.OrderNumberRequest orderNumber = 3; */ public Builder setOrderNumber(com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest value) { if (orderNumberBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { orderNumberBuilder_.setMessage(value); } requestCase_ = 3; return this; } /** * .event_tickets.OrderNumberRequest orderNumber = 3; */ public Builder setOrderNumber( com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.Builder builderForValue) { if (orderNumberBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { orderNumberBuilder_.setMessage(builderForValue.build()); } requestCase_ = 3; return this; } /** * .event_tickets.OrderNumberRequest orderNumber = 3; */ public Builder mergeOrderNumber(com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest value) { if (orderNumberBuilder_ == null) { if (requestCase_ == 3 && request_ != com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.getDefaultInstance()) { request_ = com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.newBuilder((com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 3) { orderNumberBuilder_.mergeFrom(value); } orderNumberBuilder_.setMessage(value); } requestCase_ = 3; return this; } /** * .event_tickets.OrderNumberRequest orderNumber = 3; */ public Builder clearOrderNumber() { if (orderNumberBuilder_ == null) { if (requestCase_ == 3) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 3) { requestCase_ = 0; request_ = null; } orderNumberBuilder_.clear(); } return this; } /** * .event_tickets.OrderNumberRequest orderNumber = 3; */ public com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.Builder getOrderNumberBuilder() { return getOrderNumberFieldBuilder().getBuilder(); } /** * .event_tickets.OrderNumberRequest orderNumber = 3; */ @java.lang.Override public com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequestOrBuilder getOrderNumberOrBuilder() { if ((requestCase_ == 3) && (orderNumberBuilder_ != null)) { return orderNumberBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 3) { return (com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest) request_; } return com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.getDefaultInstance(); } } /** * .event_tickets.OrderNumberRequest orderNumber = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest, com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequestOrBuilder> getOrderNumberFieldBuilder() { if (orderNumberBuilder_ == null) { if (!(requestCase_ == 3)) { request_ = com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.getDefaultInstance(); } orderNumberBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest, com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest.Builder, com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequestOrBuilder>( (com.passkit.grpc.EventTickets.TicketOuterClass.OrderNumberRequest) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 3; onChanged();; return orderNumberBuilder_; } private java.util.List format_ = java.util.Collections.emptyList(); private void ensureFormatIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { format_ = new java.util.ArrayList(format_); bitField0_ |= 0x00000001; } } /** *
       * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
       * 
* * repeated .io.PassBundleFormat format = 4; * @return A list containing the format. */ public java.util.List getFormatList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.passkit.grpc.CommonObjects.PassBundleFormat>(format_, format_converter_); } /** *
       * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
       * 
* * repeated .io.PassBundleFormat format = 4; * @return The count of format. */ public int getFormatCount() { return format_.size(); } /** *
       * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
       * 
* * repeated .io.PassBundleFormat format = 4; * @param index The index of the element to return. * @return The format at the given index. */ public com.passkit.grpc.CommonObjects.PassBundleFormat getFormat(int index) { return format_converter_.convert(format_.get(index)); } /** *
       * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
       * 
* * repeated .io.PassBundleFormat format = 4; * @param index The index to set the value at. * @param value The format to set. * @return This builder for chaining. */ public Builder setFormat( int index, com.passkit.grpc.CommonObjects.PassBundleFormat value) { if (value == null) { throw new NullPointerException(); } ensureFormatIsMutable(); format_.set(index, value.getNumber()); onChanged(); return this; } /** *
       * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
       * 
* * repeated .io.PassBundleFormat format = 4; * @param value The format to add. * @return This builder for chaining. */ public Builder addFormat(com.passkit.grpc.CommonObjects.PassBundleFormat value) { if (value == null) { throw new NullPointerException(); } ensureFormatIsMutable(); format_.add(value.getNumber()); onChanged(); return this; } /** *
       * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
       * 
* * repeated .io.PassBundleFormat format = 4; * @param values The format to add. * @return This builder for chaining. */ public Builder addAllFormat( java.lang.Iterable values) { ensureFormatIsMutable(); for (com.passkit.grpc.CommonObjects.PassBundleFormat value : values) { format_.add(value.getNumber()); } onChanged(); return this; } /** *
       * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
       * 
* * repeated .io.PassBundleFormat format = 4; * @return This builder for chaining. */ public Builder clearFormat() { format_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
       * 
* * repeated .io.PassBundleFormat format = 4; * @return A list containing the enum numeric values on the wire for format. */ public java.util.List getFormatValueList() { return java.util.Collections.unmodifiableList(format_); } /** *
       * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
       * 
* * repeated .io.PassBundleFormat format = 4; * @param index The index of the value to return. * @return The enum numeric value on the wire of format at the given index. */ public int getFormatValue(int index) { return format_.get(index); } /** *
       * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
       * 
* * repeated .io.PassBundleFormat format = 4; * @param index The index of the value to return. * @return The enum numeric value on the wire of format at the given index. * @return This builder for chaining. */ public Builder setFormatValue( int index, int value) { ensureFormatIsMutable(); format_.set(index, value); onChanged(); return this; } /** *
       * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
       * 
* * repeated .io.PassBundleFormat format = 4; * @param value The enum numeric value on the wire for format to add. * @return This builder for chaining. */ public Builder addFormatValue(int value) { ensureFormatIsMutable(); format_.add(value); onChanged(); return this; } /** *
       * Optional. If omitted, return the URL to the web pass landing page. Not used when getting or deleting the underlying boarding pass record.
       * 
* * repeated .io.PassBundleFormat format = 4; * @param values The enum numeric values on the wire for format to add. * @return This builder for chaining. */ public Builder addAllFormatValue( java.lang.Iterable values) { ensureFormatIsMutable(); for (int value : values) { format_.add(value); } 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:event_tickets.EventTicketPassRequest) } // @@protoc_insertion_point(class_scope:event_tickets.EventTicketPassRequest) private static final com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest(); } public static com.passkit.grpc.EventTickets.TicketOuterClass.EventTicketPassRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EventTicketPassRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EventTicketPassRequest(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.EventTickets.TicketOuterClass.EventTicketPassRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_Ticket_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_Ticket_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_Ticket_MetaDataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_Ticket_MetaDataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_ValidateDetails_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_ValidateDetails_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_RedemptionDetails_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_RedemptionDetails_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_FaceValue_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_FaceValue_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_Seat_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_Seat_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_TicketListRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_TicketListRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_EventFilterByVenueAndStart_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_EventFilterByVenueAndStart_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_TicketNumberRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_TicketNumberRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_OrderNumberRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_OrderNumberRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_RedeemByOrderNumber_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_RedeemByOrderNumber_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_Tickets_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_Tickets_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_TicketPassBundles_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_TicketPassBundles_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_ValidateTicketRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_ValidateTicketRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_ValidateTicketResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_ValidateTicketResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_TicketLimitedFields_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_TicketLimitedFields_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_TicketLimitedFields_MetaDataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_TicketLimitedFields_MetaDataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_IssueTicketRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_IssueTicketRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_IssueTicketRequest_MetaDataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_IssueTicketRequest_MetaDataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_IssueTicketResponseIds_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_IssueTicketResponseIds_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_EventTicketPassRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_EventTicketPassRequest_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\035io/event_tickets/ticket.proto\022\revent_t" + "ickets\032\037google/protobuf/timestamp.proto\032" + "\034io/common/localization.proto\032\027io/common" + "/metrics.proto\032\036io/common/common_objects" + ".proto\032\032io/common/pagination.proto\032\024io/c" + "ommon/pass.proto\032\030io/common/personal.pro" + "to\032\026io/common/filter.proto\032\034io/event_tic" + "kets/venue.proto\032\034io/event_tickets/event" + ".proto\032\"io/event_tickets/ticket_type.pro" + "to\032!io/event_tickets/production.proto\032.p" + "rotoc-gen-openapiv2/options/annotations." + "proto\"\223\010\n\006Ticket\022\021\n\002id\030\001 \001(\tB\005\222A\002@\001\022\024\n\014t" + "icketNumber\030\002 \001(\t\022#\n\005event\030\003 \001(\0132\024.event" + "_tickets.Event\022-\n\nticketType\030\004 \001(\0132\031.eve" + "nt_tickets.TicketType\022\023\n\013orderNumber\030\005 \001" + "(\t\022\022\n\ngroupingId\030\006 \001(\t\022\027\n\017barcodeContent" + "s\030\007 \001(\t\022%\n\010seatInfo\030\010 \001(\0132\023.event_ticket" + "s.Seat\022+\n\tfaceValue\030\t \001(\0132\030.event_ticket" + "s.FaceValue\022\032\n\006person\030\n \001(\0132\n.io.Person\022" + "5\n\010metaData\030\013 \003(\0132#.event_tickets.Ticket" + ".MetaDataEntry\022\032\n\006optOut\030\014 \001(\0162\n.io.Togg" + "le\0222\n\006status\030\r \001(\0162\033.event_tickets.Ticke" + "tStatusB\005\222A\002@\001\022.\n\nexpiryDate\030\016 \001(\0132\032.goo" + "gle.protobuf.Timestamp\022;\n\021redemptionDeta" + "ils\030\017 \001(\0132 .event_tickets.RedemptionDeta" + "ils\0227\n\017validateDetails\030\020 \003(\0132\036.event_tic" + "kets.ValidateDetails\022(\n\rpassOverrides\030\021 " + "\001(\0132\021.io.PassOverrides\022\"\n\014passMetaData\030\022" + " \001(\0132\014.io.Metadata\0222\n\007created\030\023 \001(\0132\032.go" + "ogle.protobuf.TimestampB\005\222A\002@\001\0222\n\007update" + "d\030\024 \001(\0132\032.google.protobuf.TimestampB\005\222A\002" + "@\001\032/\n\rMetaDataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + "e\030\002 \001(\t:\0028\001:\305\001\222A\301\001\n\276\001*\006Ticket2\233\001Ticket i" + "s a unique ticket instance and holds det" + "ails about the event dates & times, venu" + "e, ticket holder and other relevant deta" + "ils pertaining to a ticket.\322\001\005event\322\001\rti" + "cketTypeUid\"\235\001\n\017ValidateDetails\0220\n\014valid" + "ateDate\030\001 \001(\0132\032.google.protobuf.Timestam" + "p\022\013\n\003lat\030\002 \001(\001\022\013\n\003lon\030\003 \001(\001\022\013\n\003alt\030\004 \001(\005" + "\022\026\n\016validateSource\030\006 \001(\t\022\031\n\021validateRefe" + "rence\030\007 \001(\t\"\245\001\n\021RedemptionDetails\0222\n\016red" + "emptionDate\030\001 \001(\0132\032.google.protobuf.Time" + "stamp\022\013\n\003lat\030\002 \001(\001\022\013\n\003lon\030\003 \001(\001\022\013\n\003alt\030\004" + " \001(\005\022\030\n\020redemptionSource\030\006 \001(\t\022\033\n\023redemp" + "tionReference\030\007 \001(\t\"-\n\tFaceValue\022\016\n\006amou" + "nt\030\001 \001(\002\022\020\n\010currency\030\002 \001(\t\"\362\001\n\004Seat\022\014\n\004s" + "eat\030\001 \001(\t\022*\n\rlocalizedSeat\030\002 \001(\0132\023.io.Lo" + "calizedString\022\013\n\003row\030\003 \001(\t\022)\n\014localizedR" + "ow\030\004 \001(\0132\023.io.LocalizedString\022\017\n\007section" + "\030\005 \001(\t\022-\n\020localizedSection\030\006 \001(\0132\023.io.Lo" + "calizedString\022\014\n\004gate\030\007 \001(\t\022*\n\rlocalized" + "Gate\030\010 \001(\0132\023.io.LocalizedString\"\372\002\n\021Tick" + "etListRequest\022\026\n\014productionId\030\001 \001(\tH\000\022\027\n" + "\rproductionUid\030\002 \001(\tH\000\022\021\n\007eventId\030\003 \001(\tH" + "\001\022O\n\032eventFilterByVenueAndStart\030\004 \001(\0132)." + "event_tickets.EventFilterByVenueAndStart" + "H\001\022\026\n\014ticketTypeId\030\005 \001(\tH\002\022\027\n\rticketType" + "Uid\030\006 \001(\tH\002\022\034\n\007filters\030\007 \001(\0132\013.io.Filter" + "s:\\\222AY\nW*\014List Request2(Used to filter t" + "ickets for a production.\322\001\014productionId\322" + "\001\rproductionUidB\014\n\nproductionB\007\n\005eventB\014" + "\n\nticketType\"\341\001\n\032EventFilterByVenueAndSt" + "art\022\017\n\007venueId\030\001 \001(\t\022\020\n\010venueUid\030\002 \001(\t\0226" + "\n\022scheduledStartDate\030\003 \001(\0132\032.google.prot" + "obuf.Timestamp:h\222Ae\nc*\022Event Filter By I" + "d2,Used to filter tickets for a specific" + " event.\322\001\007venueId\322\001\010venueUid\322\001\tstartDate" + "\"X\n\023TicketNumberRequest\022\024\n\014productionId\030" + "\001 \001(\t\022\025\n\rproductionUid\030\002 \001(\t\022\024\n\014ticketNu" + "mber\030\003 \001(\t\"V\n\022OrderNumberRequest\022\024\n\014prod" + "uctionId\030\001 \001(\t\022\025\n\rproductionUid\030\002 \001(\t\022\023\n" + "\013orderNumber\030\003 \001(\t\"\224\001\n\023RedeemByOrderNumb" + "er\022\024\n\014productionId\030\001 \001(\t\022\025\n\rproductionUi" + "d\030\002 \001(\t\022\023\n\013orderNumber\030\003 \001(\t\022;\n\021redempti" + "onDetails\030\004 \001(\0132 .event_tickets.Redempti" + "onDetails\">\n\007Tickets\0223\n\007tickets\030\001 \003(\0132\"." + "event_tickets.TicketLimitedFields\"4\n\021Tic" + "ketPassBundles\022\037\n\007tickets\030\001 \003(\0132\016.io.Pas" + "sBundle\"\227\001\n\025ValidateTicketRequest\022\036\n\026max" + "NumberOfValidations\030\001 \001(\r\022%\n\006ticket\030\002 \001(" + "\0132\025.event_tickets.Ticket\0227\n\017validateDeta" + "ils\030\003 \001(\0132\036.event_tickets.ValidateDetail" + "s\"N\n\026ValidateTicketResponse\022\r\n\005valid\030\001 \001" + "(\010\022%\n\006ticket\030\002 \001(\0132\025.event_tickets.Ticke" + "t\"\261\t\n\023TicketLimitedFields\022\n\n\002id\030\001 \001(\t\022\024\n" + "\014ticketNumber\030\002 \001(\t\022B\n\nproduction\030\003 \001(\0132" + "..event_tickets.ProductionLimitedFieldsR" + "esponse\0228\n\005event\030\004 \001(\0132).event_tickets.E" + "ventLimitedFieldsResponse\0228\n\005venue\030\005 \001(\013" + "2).event_tickets.VenueLimitedFieldsRespo" + "nse\022:\n\nticketType\030\006 \001(\0132&.event_tickets." + "TicketTypeLimitedFields\022\023\n\013orderNumber\030\007" + " \001(\t\022\022\n\ngroupingId\030\010 \001(\t\022\027\n\017barcodeConte" + "nts\030\t \001(\t\022%\n\010seatInfo\030\n \001(\0132\023.event_tick" + "ets.Seat\022+\n\tfaceValue\030\013 \001(\0132\030.event_tick" + "ets.FaceValue\022\032\n\006person\030\014 \001(\0132\n.io.Perso" + "n\022B\n\010metaData\030\r \003(\01320.event_tickets.Tick" + "etLimitedFields.MetaDataEntry\022\016\n\006optOut\030" + "\016 \001(\010\022+\n\006status\030\017 \001(\0162\033.event_tickets.Ti" + "cketStatus\022.\n\nexpiryDate\030\020 \001(\0132\032.google." + "protobuf.Timestamp\022;\n\021redemptionDetails\030" + "\021 \001(\0132 .event_tickets.RedemptionDetails\022" + "7\n\017validateDetails\030\022 \003(\0132\036.event_tickets" + ".ValidateDetails\022(\n\rpassOverrides\030\023 \001(\0132" + "\021.io.PassOverrides\022\"\n\014passMetaData\030\024 \001(\013" + "2\014.io.Metadata\022+\n\007created\030\025 \001(\0132\032.google" + ".protobuf.Timestamp\022+\n\007updated\030\026 \001(\0132\032.g" + "oogle.protobuf.Timestamp\032/\n\rMetaDataEntr" + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\321\001\222A\315\001" + "\n\312\001*\022Ticket (Light ver)2\233\001Ticket is a un" + "ique ticket instance and holds details a" + "bout the event dates & times, venue, tic" + "ket holder and other relevant details pe" + "rtaining to a ticket.\322\001\005event\322\001\rticketTy" + "peUid\"\326\007\n\022IssueTicketRequest\022\021\n\007eventId\030" + "\001 \001(\tH\000\0229\n\005event\030\002 \001(\0132(.event_tickets.E" + "ventLimitedFieldsRequestH\000\022\024\n\014ticketType" + "Id\030\003 \001(\t\022\024\n\014ticketNumber\030\004 \001(\t\022\023\n\013orderN" + "umber\030\005 \001(\t\022\022\n\ngroupingId\030\006 \001(\t\022\027\n\017barco" + "deContents\030\007 \001(\t\022%\n\010seatInfo\030\010 \001(\0132\023.eve" + "nt_tickets.Seat\022+\n\tfaceValue\030\t \001(\0132\030.eve" + "nt_tickets.FaceValue\022\032\n\006person\030\n \001(\0132\n.i" + "o.Person\022A\n\010metaData\030\013 \003(\0132/.event_ticke" + "ts.IssueTicketRequest.MetaDataEntry\022\016\n\006o" + "ptOut\030\014 \001(\010\022+\n\006status\030\r \001(\0162\033.event_tick" + "ets.TicketStatus\022.\n\nexpiryDate\030\016 \001(\0132\032.g" + "oogle.protobuf.Timestamp\022;\n\021redemptionDe" + "tails\030\017 \001(\0132 .event_tickets.RedemptionDe" + "tails\0227\n\017validateDetails\030\020 \003(\0132\036.event_t" + "ickets.ValidateDetails\022(\n\rpassOverrides\030" + "\021 \001(\0132\021.io.PassOverrides\022\"\n\014passMetaData" + "\030\022 \001(\0132\014.io.Metadata\022+\n\007created\030\023 \001(\0132\032." + "google.protobuf.Timestamp\022+\n\007updated\030\024 \001" + "(\0132\032.google.protobuf.Timestamp\032/\n\rMetaDa" + "taEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:" + "\207\001\222A\203\001\n\200\001*\024Issue Ticket Request2GIssue t" + "icket. Event is auto created if it does " + "not exist on the record.\322\001\007eventId\322\001\005eve" + "nt\322\001\014ticketTypeIdB\013\n\teventInfo\"\206\002\n\026Issue" + "TicketResponseIds\022\020\n\010ticketId\030\001 \001(\t\022\024\n\014p" + "roductionId\030\002 \001(\t\022\017\n\007venueId\030\003 \001(\t\022\024\n\014ti" + "cketTypeId\030\004 \001(\t\022\017\n\007eventId\030\005 \001(\t:\213\001\222A\207\001" + "\n\204\001*\031Issue Ticket Response Ids2gList of " + "PassKit generated ids returned after iss" + "uing a ticket with production, venue, ti" + "cket type UIDs.\"\333\001\n\026EventTicketPassReque" + "st\022\032\n\010ticketId\030\001 \001(\0132\006.io.IdH\000\022:\n\014ticket" + "Number\030\002 \001(\0132\".event_tickets.TicketNumbe" + "rRequestH\000\0228\n\013orderNumber\030\003 \001(\0132!.event_" + "tickets.OrderNumberRequestH\000\022$\n\006format\030\004" + " \003(\0162\024.io.PassBundleFormatB\t\n\007request*?\n" + "\014TicketStatus\022\017\n\013STATUS_NONE\020\000\022\n\n\006ISSUED" + "\020\001\022\014\n\010REDEEMED\020\002\"\004\010\003\020\003Bo\n\035com.passkit.gr" + "pc.EventTicketsZ2stash.passkit.com/io/mo" + "del/sdk/go/io/event_tickets\252\002\031PassKit.Gr" + "pc.EventTicketsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.TimestampProto.getDescriptor(), com.passkit.grpc.Localization.getDescriptor(), com.passkit.grpc.MetricsOuterClass.getDescriptor(), com.passkit.grpc.CommonObjects.getDescriptor(), com.passkit.grpc.PaginationOuterClass.getDescriptor(), com.passkit.grpc.PassOuterClass.getDescriptor(), com.passkit.grpc.Personal.getDescriptor(), com.passkit.grpc.Filter.getDescriptor(), com.passkit.grpc.EventTickets.VenueOuterClass.getDescriptor(), com.passkit.grpc.EventTickets.EventOuterClass.getDescriptor(), com.passkit.grpc.EventTickets.TicketTypeOuterClass.getDescriptor(), com.passkit.grpc.EventTickets.ProductionOuterClass.getDescriptor(), grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(), }); internal_static_event_tickets_Ticket_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_event_tickets_Ticket_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_Ticket_descriptor, new java.lang.String[] { "Id", "TicketNumber", "Event", "TicketType", "OrderNumber", "GroupingId", "BarcodeContents", "SeatInfo", "FaceValue", "Person", "MetaData", "OptOut", "Status", "ExpiryDate", "RedemptionDetails", "ValidateDetails", "PassOverrides", "PassMetaData", "Created", "Updated", }); internal_static_event_tickets_Ticket_MetaDataEntry_descriptor = internal_static_event_tickets_Ticket_descriptor.getNestedTypes().get(0); internal_static_event_tickets_Ticket_MetaDataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_Ticket_MetaDataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_event_tickets_ValidateDetails_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_event_tickets_ValidateDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_ValidateDetails_descriptor, new java.lang.String[] { "ValidateDate", "Lat", "Lon", "Alt", "ValidateSource", "ValidateReference", }); internal_static_event_tickets_RedemptionDetails_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_event_tickets_RedemptionDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_RedemptionDetails_descriptor, new java.lang.String[] { "RedemptionDate", "Lat", "Lon", "Alt", "RedemptionSource", "RedemptionReference", }); internal_static_event_tickets_FaceValue_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_event_tickets_FaceValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_FaceValue_descriptor, new java.lang.String[] { "Amount", "Currency", }); internal_static_event_tickets_Seat_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_event_tickets_Seat_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_Seat_descriptor, new java.lang.String[] { "Seat", "LocalizedSeat", "Row", "LocalizedRow", "Section", "LocalizedSection", "Gate", "LocalizedGate", }); internal_static_event_tickets_TicketListRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_event_tickets_TicketListRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_TicketListRequest_descriptor, new java.lang.String[] { "ProductionId", "ProductionUid", "EventId", "EventFilterByVenueAndStart", "TicketTypeId", "TicketTypeUid", "Filters", "Production", "Event", "TicketType", }); internal_static_event_tickets_EventFilterByVenueAndStart_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_event_tickets_EventFilterByVenueAndStart_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_EventFilterByVenueAndStart_descriptor, new java.lang.String[] { "VenueId", "VenueUid", "ScheduledStartDate", }); internal_static_event_tickets_TicketNumberRequest_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_event_tickets_TicketNumberRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_TicketNumberRequest_descriptor, new java.lang.String[] { "ProductionId", "ProductionUid", "TicketNumber", }); internal_static_event_tickets_OrderNumberRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_event_tickets_OrderNumberRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_OrderNumberRequest_descriptor, new java.lang.String[] { "ProductionId", "ProductionUid", "OrderNumber", }); internal_static_event_tickets_RedeemByOrderNumber_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_event_tickets_RedeemByOrderNumber_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_RedeemByOrderNumber_descriptor, new java.lang.String[] { "ProductionId", "ProductionUid", "OrderNumber", "RedemptionDetails", }); internal_static_event_tickets_Tickets_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_event_tickets_Tickets_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_Tickets_descriptor, new java.lang.String[] { "Tickets", }); internal_static_event_tickets_TicketPassBundles_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_event_tickets_TicketPassBundles_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_TicketPassBundles_descriptor, new java.lang.String[] { "Tickets", }); internal_static_event_tickets_ValidateTicketRequest_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_event_tickets_ValidateTicketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_ValidateTicketRequest_descriptor, new java.lang.String[] { "MaxNumberOfValidations", "Ticket", "ValidateDetails", }); internal_static_event_tickets_ValidateTicketResponse_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_event_tickets_ValidateTicketResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_ValidateTicketResponse_descriptor, new java.lang.String[] { "Valid", "Ticket", }); internal_static_event_tickets_TicketLimitedFields_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_event_tickets_TicketLimitedFields_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_TicketLimitedFields_descriptor, new java.lang.String[] { "Id", "TicketNumber", "Production", "Event", "Venue", "TicketType", "OrderNumber", "GroupingId", "BarcodeContents", "SeatInfo", "FaceValue", "Person", "MetaData", "OptOut", "Status", "ExpiryDate", "RedemptionDetails", "ValidateDetails", "PassOverrides", "PassMetaData", "Created", "Updated", }); internal_static_event_tickets_TicketLimitedFields_MetaDataEntry_descriptor = internal_static_event_tickets_TicketLimitedFields_descriptor.getNestedTypes().get(0); internal_static_event_tickets_TicketLimitedFields_MetaDataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_TicketLimitedFields_MetaDataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_event_tickets_IssueTicketRequest_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_event_tickets_IssueTicketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_IssueTicketRequest_descriptor, new java.lang.String[] { "EventId", "Event", "TicketTypeId", "TicketNumber", "OrderNumber", "GroupingId", "BarcodeContents", "SeatInfo", "FaceValue", "Person", "MetaData", "OptOut", "Status", "ExpiryDate", "RedemptionDetails", "ValidateDetails", "PassOverrides", "PassMetaData", "Created", "Updated", "EventInfo", }); internal_static_event_tickets_IssueTicketRequest_MetaDataEntry_descriptor = internal_static_event_tickets_IssueTicketRequest_descriptor.getNestedTypes().get(0); internal_static_event_tickets_IssueTicketRequest_MetaDataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_IssueTicketRequest_MetaDataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_event_tickets_IssueTicketResponseIds_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_event_tickets_IssueTicketResponseIds_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_IssueTicketResponseIds_descriptor, new java.lang.String[] { "TicketId", "ProductionId", "VenueId", "TicketTypeId", "EventId", }); internal_static_event_tickets_EventTicketPassRequest_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_event_tickets_EventTicketPassRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_EventTicketPassRequest_descriptor, new java.lang.String[] { "TicketId", "TicketNumber", "OrderNumber", "Format", "Request", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(grpc.gateway.protoc_gen_openapiv2.options.Annotations.openapiv2Field); registry.add(grpc.gateway.protoc_gen_openapiv2.options.Annotations.openapiv2Schema); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.protobuf.TimestampProto.getDescriptor(); com.passkit.grpc.Localization.getDescriptor(); com.passkit.grpc.MetricsOuterClass.getDescriptor(); com.passkit.grpc.CommonObjects.getDescriptor(); com.passkit.grpc.PaginationOuterClass.getDescriptor(); com.passkit.grpc.PassOuterClass.getDescriptor(); com.passkit.grpc.Personal.getDescriptor(); com.passkit.grpc.Filter.getDescriptor(); com.passkit.grpc.EventTickets.VenueOuterClass.getDescriptor(); com.passkit.grpc.EventTickets.EventOuterClass.getDescriptor(); com.passkit.grpc.EventTickets.TicketTypeOuterClass.getDescriptor(); com.passkit.grpc.EventTickets.ProductionOuterClass.getDescriptor(); grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy