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

com.passkit.grpc.EventTickets.ProductionOuterClass 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/production.proto

package com.passkit.grpc.EventTickets;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface ProductionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:event_tickets.Production)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * PassKit generated production id (22 characters).
     * 
* * string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The id. */ java.lang.String getId(); /** *
     * PassKit generated production id (22 characters).
     * 
* * string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * User generated production id; unique within the account.
     * 
* * string uid = 2; * @return The uid. */ java.lang.String getUid(); /** *
     * User generated production id; unique within the account.
     * 
* * string uid = 2; * @return The bytes for uid. */ com.google.protobuf.ByteString getUidBytes(); /** *
     * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
     * 
* * string name = 3; * @return The name. */ java.lang.String getName(); /** *
     * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
     * 
* * string name = 3; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Localized name of the production.
     * 
* * .io.LocalizedString localizedName = 4; * @return Whether the localizedName field is set. */ boolean hasLocalizedName(); /** *
     * Localized name of the production.
     * 
* * .io.LocalizedString localizedName = 4; * @return The localizedName. */ com.passkit.grpc.Localization.LocalizedString getLocalizedName(); /** *
     * Localized name of the production.
     * 
* * .io.LocalizedString localizedName = 4; */ com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedNameOrBuilder(); /** *
     * Fine print: terms & conditions for the production.
     * 
* * string finePrint = 5; * @return The finePrint. */ java.lang.String getFinePrint(); /** *
     * Fine print: terms & conditions for the production.
     * 
* * string finePrint = 5; * @return The bytes for finePrint. */ com.google.protobuf.ByteString getFinePrintBytes(); /** *
     * Localized fine print of the production.
     * 
* * .io.LocalizedString localizedFinePrint = 6; * @return Whether the localizedFinePrint field is set. */ boolean hasLocalizedFinePrint(); /** *
     * Localized fine print of the production.
     * 
* * .io.LocalizedString localizedFinePrint = 6; * @return The localizedFinePrint. */ com.passkit.grpc.Localization.LocalizedString getLocalizedFinePrint(); /** *
     * Localized fine print of the production.
     * 
* * .io.LocalizedString localizedFinePrint = 6; */ com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedFinePrintOrBuilder(); /** *
     * If set will automatically delete the ticket and invalidate the pass in our system upon ticket redemption. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
     * 
* * .io.Toggle autoInvalidateTicketsUponRedemption = 7; * @return The enum numeric value on the wire for autoInvalidateTicketsUponRedemption. */ int getAutoInvalidateTicketsUponRedemptionValue(); /** *
     * If set will automatically delete the ticket and invalidate the pass in our system upon ticket redemption. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
     * 
* * .io.Toggle autoInvalidateTicketsUponRedemption = 7; * @return The autoInvalidateTicketsUponRedemption. */ com.passkit.grpc.CommonObjects.Toggle getAutoInvalidateTicketsUponRedemption(); /** *
     * If set will automatically delete the ticket and invalidate the pass in our system 1 day after the event end date (if set). If event date is not set, it will expire 1 day after event start date. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
     * 
* * .io.Toggle autoInvalidateTicketsUponEventEnd = 8; * @return The enum numeric value on the wire for autoInvalidateTicketsUponEventEnd. */ int getAutoInvalidateTicketsUponEventEndValue(); /** *
     * If set will automatically delete the ticket and invalidate the pass in our system 1 day after the event end date (if set). If event date is not set, it will expire 1 day after event start date. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
     * 
* * .io.Toggle autoInvalidateTicketsUponEventEnd = 8; * @return The autoInvalidateTicketsUponEventEnd. */ com.passkit.grpc.CommonObjects.Toggle getAutoInvalidateTicketsUponEventEnd(); /** *
     * If set will automatically delete the ticket and invalidate the pass in our system upon ticket expiry. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
     * 
* * .io.Toggle autoInvalidateTicketsUponExpiry = 9; * @return The enum numeric value on the wire for autoInvalidateTicketsUponExpiry. */ int getAutoInvalidateTicketsUponExpiryValue(); /** *
     * If set will automatically delete the ticket and invalidate the pass in our system upon ticket expiry. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
     * 
* * .io.Toggle autoInvalidateTicketsUponExpiry = 9; * @return The autoInvalidateTicketsUponExpiry. */ com.passkit.grpc.CommonObjects.Toggle getAutoInvalidateTicketsUponExpiry(); /** *
     * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
     * 
* * repeated .io.ProjectStatus status = 10; * @return A list containing the status. */ java.util.List getStatusList(); /** *
     * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
     * 
* * repeated .io.ProjectStatus status = 10; * @return The count of status. */ int getStatusCount(); /** *
     * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
     * 
* * repeated .io.ProjectStatus status = 10; * @param index The index of the element to return. * @return The status at the given index. */ com.passkit.grpc.ProjectOuterClass.ProjectStatus getStatus(int index); /** *
     * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
     * 
* * repeated .io.ProjectStatus status = 10; * @return A list containing the enum numeric values on the wire for status. */ java.util.List getStatusValueList(); /** *
     * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
     * 
* * repeated .io.ProjectStatus status = 10; * @param index The index of the value to return. * @return The enum numeric value on the wire of status at the given index. */ int getStatusValue(int index); /** *
     * Leave empty for draft production. Needs to be set for productions where status contains PROJECT_PUBLISHED.
     * 
* * string passTypeIdentifier = 11; * @return The passTypeIdentifier. */ java.lang.String getPassTypeIdentifier(); /** *
     * Leave empty for draft production. Needs to be set for productions where status contains PROJECT_PUBLISHED.
     * 
* * string passTypeIdentifier = 11; * @return The bytes for passTypeIdentifier. */ com.google.protobuf.ByteString getPassTypeIdentifierBytes(); /** *
     * Contains the email & sms distribution settings for the production.
     * 
* * .io.DistributionSettings distributionSettings = 12; * @return Whether the distributionSettings field is set. */ boolean hasDistributionSettings(); /** *
     * Contains the email & sms distribution settings for the production.
     * 
* * .io.DistributionSettings distributionSettings = 12; * @return The distributionSettings. */ com.passkit.grpc.Distribution.DistributionSettings getDistributionSettings(); /** *
     * Contains the email & sms distribution settings for the production.
     * 
* * .io.DistributionSettings distributionSettings = 12; */ com.passkit.grpc.Distribution.DistributionSettingsOrBuilder getDistributionSettingsOrBuilder(); /** *
     * The date the event was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 13 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return Whether the created field is set. */ boolean hasCreated(); /** *
     * The date the event was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 13 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The created. */ com.google.protobuf.Timestamp getCreated(); /** *
     * The date the event was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 13 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder(); /** *
     * The date the event updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 14 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return Whether the updated field is set. */ boolean hasUpdated(); /** *
     * The date the event updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 14 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } * @return The updated. */ com.google.protobuf.Timestamp getUpdated(); /** *
     * The date the event updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 14 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder(); } /** * Protobuf type {@code event_tickets.Production} */ public static final class Production extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.Production) ProductionOrBuilder { private static final long serialVersionUID = 0L; // Use Production.newBuilder() to construct. private Production(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Production() { id_ = ""; uid_ = ""; name_ = ""; finePrint_ = ""; autoInvalidateTicketsUponRedemption_ = 0; autoInvalidateTicketsUponEventEnd_ = 0; autoInvalidateTicketsUponExpiry_ = 0; status_ = java.util.Collections.emptyList(); passTypeIdentifier_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Production(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Production( 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(); uid_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 34: { com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null; if (localizedName_ != null) { subBuilder = localizedName_.toBuilder(); } localizedName_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(localizedName_); localizedName_ = subBuilder.buildPartial(); } break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); finePrint_ = s; break; } case 50: { com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null; if (localizedFinePrint_ != null) { subBuilder = localizedFinePrint_.toBuilder(); } localizedFinePrint_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(localizedFinePrint_); localizedFinePrint_ = subBuilder.buildPartial(); } break; } case 56: { int rawValue = input.readEnum(); autoInvalidateTicketsUponRedemption_ = rawValue; break; } case 64: { int rawValue = input.readEnum(); autoInvalidateTicketsUponEventEnd_ = rawValue; break; } case 72: { int rawValue = input.readEnum(); autoInvalidateTicketsUponExpiry_ = rawValue; break; } case 80: { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { status_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } status_.add(rawValue); break; } case 82: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { status_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } status_.add(rawValue); } input.popLimit(oldLimit); break; } case 90: { java.lang.String s = input.readStringRequireUtf8(); passTypeIdentifier_ = s; break; } case 98: { com.passkit.grpc.Distribution.DistributionSettings.Builder subBuilder = null; if (distributionSettings_ != null) { subBuilder = distributionSettings_.toBuilder(); } distributionSettings_ = input.readMessage(com.passkit.grpc.Distribution.DistributionSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(distributionSettings_); distributionSettings_ = subBuilder.buildPartial(); } break; } case 106: { 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 114: { 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_ & 0x00000001) != 0)) { status_ = java.util.Collections.unmodifiableList(status_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_Production_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_Production_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.ProductionOuterClass.Production.class, com.passkit.grpc.EventTickets.ProductionOuterClass.Production.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * PassKit generated production 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 production 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 UID_FIELD_NUMBER = 2; private volatile java.lang.Object uid_; /** *
     * User generated production id; unique within the account.
     * 
* * string uid = 2; * @return The uid. */ @java.lang.Override public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; } } /** *
     * User generated production id; unique within the account.
     * 
* * string uid = 2; * @return The bytes for uid. */ @java.lang.Override public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** *
     * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
     * 
* * string name = 3; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; } } /** *
     * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
     * 
* * string name = 3; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOCALIZEDNAME_FIELD_NUMBER = 4; private com.passkit.grpc.Localization.LocalizedString localizedName_; /** *
     * Localized name of the production.
     * 
* * .io.LocalizedString localizedName = 4; * @return Whether the localizedName field is set. */ @java.lang.Override public boolean hasLocalizedName() { return localizedName_ != null; } /** *
     * Localized name of the production.
     * 
* * .io.LocalizedString localizedName = 4; * @return The localizedName. */ @java.lang.Override public com.passkit.grpc.Localization.LocalizedString getLocalizedName() { return localizedName_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedName_; } /** *
     * Localized name of the production.
     * 
* * .io.LocalizedString localizedName = 4; */ @java.lang.Override public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedNameOrBuilder() { return getLocalizedName(); } public static final int FINEPRINT_FIELD_NUMBER = 5; private volatile java.lang.Object finePrint_; /** *
     * Fine print: terms & conditions for the production.
     * 
* * string finePrint = 5; * @return The finePrint. */ @java.lang.Override public java.lang.String getFinePrint() { java.lang.Object ref = finePrint_; 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(); finePrint_ = s; return s; } } /** *
     * Fine print: terms & conditions for the production.
     * 
* * string finePrint = 5; * @return The bytes for finePrint. */ @java.lang.Override public com.google.protobuf.ByteString getFinePrintBytes() { java.lang.Object ref = finePrint_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); finePrint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOCALIZEDFINEPRINT_FIELD_NUMBER = 6; private com.passkit.grpc.Localization.LocalizedString localizedFinePrint_; /** *
     * Localized fine print of the production.
     * 
* * .io.LocalizedString localizedFinePrint = 6; * @return Whether the localizedFinePrint field is set. */ @java.lang.Override public boolean hasLocalizedFinePrint() { return localizedFinePrint_ != null; } /** *
     * Localized fine print of the production.
     * 
* * .io.LocalizedString localizedFinePrint = 6; * @return The localizedFinePrint. */ @java.lang.Override public com.passkit.grpc.Localization.LocalizedString getLocalizedFinePrint() { return localizedFinePrint_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedFinePrint_; } /** *
     * Localized fine print of the production.
     * 
* * .io.LocalizedString localizedFinePrint = 6; */ @java.lang.Override public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedFinePrintOrBuilder() { return getLocalizedFinePrint(); } public static final int AUTOINVALIDATETICKETSUPONREDEMPTION_FIELD_NUMBER = 7; private int autoInvalidateTicketsUponRedemption_; /** *
     * If set will automatically delete the ticket and invalidate the pass in our system upon ticket redemption. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
     * 
* * .io.Toggle autoInvalidateTicketsUponRedemption = 7; * @return The enum numeric value on the wire for autoInvalidateTicketsUponRedemption. */ @java.lang.Override public int getAutoInvalidateTicketsUponRedemptionValue() { return autoInvalidateTicketsUponRedemption_; } /** *
     * If set will automatically delete the ticket and invalidate the pass in our system upon ticket redemption. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
     * 
* * .io.Toggle autoInvalidateTicketsUponRedemption = 7; * @return The autoInvalidateTicketsUponRedemption. */ @java.lang.Override public com.passkit.grpc.CommonObjects.Toggle getAutoInvalidateTicketsUponRedemption() { @SuppressWarnings("deprecation") com.passkit.grpc.CommonObjects.Toggle result = com.passkit.grpc.CommonObjects.Toggle.valueOf(autoInvalidateTicketsUponRedemption_); return result == null ? com.passkit.grpc.CommonObjects.Toggle.UNRECOGNIZED : result; } public static final int AUTOINVALIDATETICKETSUPONEVENTEND_FIELD_NUMBER = 8; private int autoInvalidateTicketsUponEventEnd_; /** *
     * If set will automatically delete the ticket and invalidate the pass in our system 1 day after the event end date (if set). If event date is not set, it will expire 1 day after event start date. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
     * 
* * .io.Toggle autoInvalidateTicketsUponEventEnd = 8; * @return The enum numeric value on the wire for autoInvalidateTicketsUponEventEnd. */ @java.lang.Override public int getAutoInvalidateTicketsUponEventEndValue() { return autoInvalidateTicketsUponEventEnd_; } /** *
     * If set will automatically delete the ticket and invalidate the pass in our system 1 day after the event end date (if set). If event date is not set, it will expire 1 day after event start date. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
     * 
* * .io.Toggle autoInvalidateTicketsUponEventEnd = 8; * @return The autoInvalidateTicketsUponEventEnd. */ @java.lang.Override public com.passkit.grpc.CommonObjects.Toggle getAutoInvalidateTicketsUponEventEnd() { @SuppressWarnings("deprecation") com.passkit.grpc.CommonObjects.Toggle result = com.passkit.grpc.CommonObjects.Toggle.valueOf(autoInvalidateTicketsUponEventEnd_); return result == null ? com.passkit.grpc.CommonObjects.Toggle.UNRECOGNIZED : result; } public static final int AUTOINVALIDATETICKETSUPONEXPIRY_FIELD_NUMBER = 9; private int autoInvalidateTicketsUponExpiry_; /** *
     * If set will automatically delete the ticket and invalidate the pass in our system upon ticket expiry. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
     * 
* * .io.Toggle autoInvalidateTicketsUponExpiry = 9; * @return The enum numeric value on the wire for autoInvalidateTicketsUponExpiry. */ @java.lang.Override public int getAutoInvalidateTicketsUponExpiryValue() { return autoInvalidateTicketsUponExpiry_; } /** *
     * If set will automatically delete the ticket and invalidate the pass in our system upon ticket expiry. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
     * 
* * .io.Toggle autoInvalidateTicketsUponExpiry = 9; * @return The autoInvalidateTicketsUponExpiry. */ @java.lang.Override public com.passkit.grpc.CommonObjects.Toggle getAutoInvalidateTicketsUponExpiry() { @SuppressWarnings("deprecation") com.passkit.grpc.CommonObjects.Toggle result = com.passkit.grpc.CommonObjects.Toggle.valueOf(autoInvalidateTicketsUponExpiry_); return result == null ? com.passkit.grpc.CommonObjects.Toggle.UNRECOGNIZED : result; } public static final int STATUS_FIELD_NUMBER = 10; private java.util.List status_; private static final com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.passkit.grpc.ProjectOuterClass.ProjectStatus> status_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.passkit.grpc.ProjectOuterClass.ProjectStatus>() { public com.passkit.grpc.ProjectOuterClass.ProjectStatus convert(java.lang.Integer from) { @SuppressWarnings("deprecation") com.passkit.grpc.ProjectOuterClass.ProjectStatus result = com.passkit.grpc.ProjectOuterClass.ProjectStatus.valueOf(from); return result == null ? com.passkit.grpc.ProjectOuterClass.ProjectStatus.UNRECOGNIZED : result; } }; /** *
     * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
     * 
* * repeated .io.ProjectStatus status = 10; * @return A list containing the status. */ @java.lang.Override public java.util.List getStatusList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.passkit.grpc.ProjectOuterClass.ProjectStatus>(status_, status_converter_); } /** *
     * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
     * 
* * repeated .io.ProjectStatus status = 10; * @return The count of status. */ @java.lang.Override public int getStatusCount() { return status_.size(); } /** *
     * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
     * 
* * repeated .io.ProjectStatus status = 10; * @param index The index of the element to return. * @return The status at the given index. */ @java.lang.Override public com.passkit.grpc.ProjectOuterClass.ProjectStatus getStatus(int index) { return status_converter_.convert(status_.get(index)); } /** *
     * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
     * 
* * repeated .io.ProjectStatus status = 10; * @return A list containing the enum numeric values on the wire for status. */ @java.lang.Override public java.util.List getStatusValueList() { return status_; } /** *
     * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
     * 
* * repeated .io.ProjectStatus status = 10; * @param index The index of the value to return. * @return The enum numeric value on the wire of status at the given index. */ @java.lang.Override public int getStatusValue(int index) { return status_.get(index); } private int statusMemoizedSerializedSize; public static final int PASSTYPEIDENTIFIER_FIELD_NUMBER = 11; private volatile java.lang.Object passTypeIdentifier_; /** *
     * Leave empty for draft production. Needs to be set for productions where status contains PROJECT_PUBLISHED.
     * 
* * string passTypeIdentifier = 11; * @return The passTypeIdentifier. */ @java.lang.Override public java.lang.String getPassTypeIdentifier() { java.lang.Object ref = passTypeIdentifier_; 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(); passTypeIdentifier_ = s; return s; } } /** *
     * Leave empty for draft production. Needs to be set for productions where status contains PROJECT_PUBLISHED.
     * 
* * string passTypeIdentifier = 11; * @return The bytes for passTypeIdentifier. */ @java.lang.Override public com.google.protobuf.ByteString getPassTypeIdentifierBytes() { java.lang.Object ref = passTypeIdentifier_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); passTypeIdentifier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DISTRIBUTIONSETTINGS_FIELD_NUMBER = 12; private com.passkit.grpc.Distribution.DistributionSettings distributionSettings_; /** *
     * Contains the email & sms distribution settings for the production.
     * 
* * .io.DistributionSettings distributionSettings = 12; * @return Whether the distributionSettings field is set. */ @java.lang.Override public boolean hasDistributionSettings() { return distributionSettings_ != null; } /** *
     * Contains the email & sms distribution settings for the production.
     * 
* * .io.DistributionSettings distributionSettings = 12; * @return The distributionSettings. */ @java.lang.Override public com.passkit.grpc.Distribution.DistributionSettings getDistributionSettings() { return distributionSettings_ == null ? com.passkit.grpc.Distribution.DistributionSettings.getDefaultInstance() : distributionSettings_; } /** *
     * Contains the email & sms distribution settings for the production.
     * 
* * .io.DistributionSettings distributionSettings = 12; */ @java.lang.Override public com.passkit.grpc.Distribution.DistributionSettingsOrBuilder getDistributionSettingsOrBuilder() { return getDistributionSettings(); } public static final int CREATED_FIELD_NUMBER = 13; private com.google.protobuf.Timestamp created_; /** *
     * The date the event was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 13 [(.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 event was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 13 [(.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 event was created. Not writable.
     * 
* * .google.protobuf.Timestamp created = 13 [(.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 = 14; private com.google.protobuf.Timestamp updated_; /** *
     * The date the event updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 14 [(.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 event updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 14 [(.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 event updated. Not writable.
     * 
* * .google.protobuf.Timestamp updated = 14 [(.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 { getSerializedSize(); if (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!getUidBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_); } if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } if (localizedName_ != null) { output.writeMessage(4, getLocalizedName()); } if (!getFinePrintBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, finePrint_); } if (localizedFinePrint_ != null) { output.writeMessage(6, getLocalizedFinePrint()); } if (autoInvalidateTicketsUponRedemption_ != com.passkit.grpc.CommonObjects.Toggle.DO_NOT_USE.getNumber()) { output.writeEnum(7, autoInvalidateTicketsUponRedemption_); } if (autoInvalidateTicketsUponEventEnd_ != com.passkit.grpc.CommonObjects.Toggle.DO_NOT_USE.getNumber()) { output.writeEnum(8, autoInvalidateTicketsUponEventEnd_); } if (autoInvalidateTicketsUponExpiry_ != com.passkit.grpc.CommonObjects.Toggle.DO_NOT_USE.getNumber()) { output.writeEnum(9, autoInvalidateTicketsUponExpiry_); } if (getStatusList().size() > 0) { output.writeUInt32NoTag(82); output.writeUInt32NoTag(statusMemoizedSerializedSize); } for (int i = 0; i < status_.size(); i++) { output.writeEnumNoTag(status_.get(i)); } if (!getPassTypeIdentifierBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, passTypeIdentifier_); } if (distributionSettings_ != null) { output.writeMessage(12, getDistributionSettings()); } if (created_ != null) { output.writeMessage(13, getCreated()); } if (updated_ != null) { output.writeMessage(14, 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 (!getUidBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (localizedName_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getLocalizedName()); } if (!getFinePrintBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, finePrint_); } if (localizedFinePrint_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getLocalizedFinePrint()); } if (autoInvalidateTicketsUponRedemption_ != com.passkit.grpc.CommonObjects.Toggle.DO_NOT_USE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(7, autoInvalidateTicketsUponRedemption_); } if (autoInvalidateTicketsUponEventEnd_ != com.passkit.grpc.CommonObjects.Toggle.DO_NOT_USE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(8, autoInvalidateTicketsUponEventEnd_); } if (autoInvalidateTicketsUponExpiry_ != com.passkit.grpc.CommonObjects.Toggle.DO_NOT_USE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(9, autoInvalidateTicketsUponExpiry_); } { int dataSize = 0; for (int i = 0; i < status_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(status_.get(i)); } size += dataSize; if (!getStatusList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(dataSize); }statusMemoizedSerializedSize = dataSize; } if (!getPassTypeIdentifierBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, passTypeIdentifier_); } if (distributionSettings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getDistributionSettings()); } if (created_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getCreated()); } if (updated_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, 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.ProductionOuterClass.Production)) { return super.equals(obj); } com.passkit.grpc.EventTickets.ProductionOuterClass.Production other = (com.passkit.grpc.EventTickets.ProductionOuterClass.Production) obj; if (!getId() .equals(other.getId())) return false; if (!getUid() .equals(other.getUid())) return false; if (!getName() .equals(other.getName())) return false; if (hasLocalizedName() != other.hasLocalizedName()) return false; if (hasLocalizedName()) { if (!getLocalizedName() .equals(other.getLocalizedName())) return false; } if (!getFinePrint() .equals(other.getFinePrint())) return false; if (hasLocalizedFinePrint() != other.hasLocalizedFinePrint()) return false; if (hasLocalizedFinePrint()) { if (!getLocalizedFinePrint() .equals(other.getLocalizedFinePrint())) return false; } if (autoInvalidateTicketsUponRedemption_ != other.autoInvalidateTicketsUponRedemption_) return false; if (autoInvalidateTicketsUponEventEnd_ != other.autoInvalidateTicketsUponEventEnd_) return false; if (autoInvalidateTicketsUponExpiry_ != other.autoInvalidateTicketsUponExpiry_) return false; if (!status_.equals(other.status_)) return false; if (!getPassTypeIdentifier() .equals(other.getPassTypeIdentifier())) return false; if (hasDistributionSettings() != other.hasDistributionSettings()) return false; if (hasDistributionSettings()) { if (!getDistributionSettings() .equals(other.getDistributionSettings())) 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) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (hasLocalizedName()) { hash = (37 * hash) + LOCALIZEDNAME_FIELD_NUMBER; hash = (53 * hash) + getLocalizedName().hashCode(); } hash = (37 * hash) + FINEPRINT_FIELD_NUMBER; hash = (53 * hash) + getFinePrint().hashCode(); if (hasLocalizedFinePrint()) { hash = (37 * hash) + LOCALIZEDFINEPRINT_FIELD_NUMBER; hash = (53 * hash) + getLocalizedFinePrint().hashCode(); } hash = (37 * hash) + AUTOINVALIDATETICKETSUPONREDEMPTION_FIELD_NUMBER; hash = (53 * hash) + autoInvalidateTicketsUponRedemption_; hash = (37 * hash) + AUTOINVALIDATETICKETSUPONEVENTEND_FIELD_NUMBER; hash = (53 * hash) + autoInvalidateTicketsUponEventEnd_; hash = (37 * hash) + AUTOINVALIDATETICKETSUPONEXPIRY_FIELD_NUMBER; hash = (53 * hash) + autoInvalidateTicketsUponExpiry_; if (getStatusCount() > 0) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_.hashCode(); } hash = (37 * hash) + PASSTYPEIDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getPassTypeIdentifier().hashCode(); if (hasDistributionSettings()) { hash = (37 * hash) + DISTRIBUTIONSETTINGS_FIELD_NUMBER; hash = (53 * hash) + getDistributionSettings().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.ProductionOuterClass.Production parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.Production 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.ProductionOuterClass.Production parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.Production 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.ProductionOuterClass.Production parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.Production parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.Production parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.Production 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.ProductionOuterClass.Production parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.Production 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.ProductionOuterClass.Production parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.Production 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.ProductionOuterClass.Production 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.Production} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.Production) com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_Production_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_Production_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.ProductionOuterClass.Production.class, com.passkit.grpc.EventTickets.ProductionOuterClass.Production.Builder.class); } // Construct using com.passkit.grpc.EventTickets.ProductionOuterClass.Production.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(); id_ = ""; uid_ = ""; name_ = ""; if (localizedNameBuilder_ == null) { localizedName_ = null; } else { localizedName_ = null; localizedNameBuilder_ = null; } finePrint_ = ""; if (localizedFinePrintBuilder_ == null) { localizedFinePrint_ = null; } else { localizedFinePrint_ = null; localizedFinePrintBuilder_ = null; } autoInvalidateTicketsUponRedemption_ = 0; autoInvalidateTicketsUponEventEnd_ = 0; autoInvalidateTicketsUponExpiry_ = 0; status_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); passTypeIdentifier_ = ""; if (distributionSettingsBuilder_ == null) { distributionSettings_ = null; } else { distributionSettings_ = null; distributionSettingsBuilder_ = 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.ProductionOuterClass.internal_static_event_tickets_Production_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.ProductionOuterClass.Production getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.ProductionOuterClass.Production.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.ProductionOuterClass.Production build() { com.passkit.grpc.EventTickets.ProductionOuterClass.Production result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.ProductionOuterClass.Production buildPartial() { com.passkit.grpc.EventTickets.ProductionOuterClass.Production result = new com.passkit.grpc.EventTickets.ProductionOuterClass.Production(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.uid_ = uid_; result.name_ = name_; if (localizedNameBuilder_ == null) { result.localizedName_ = localizedName_; } else { result.localizedName_ = localizedNameBuilder_.build(); } result.finePrint_ = finePrint_; if (localizedFinePrintBuilder_ == null) { result.localizedFinePrint_ = localizedFinePrint_; } else { result.localizedFinePrint_ = localizedFinePrintBuilder_.build(); } result.autoInvalidateTicketsUponRedemption_ = autoInvalidateTicketsUponRedemption_; result.autoInvalidateTicketsUponEventEnd_ = autoInvalidateTicketsUponEventEnd_; result.autoInvalidateTicketsUponExpiry_ = autoInvalidateTicketsUponExpiry_; if (((bitField0_ & 0x00000001) != 0)) { status_ = java.util.Collections.unmodifiableList(status_); bitField0_ = (bitField0_ & ~0x00000001); } result.status_ = status_; result.passTypeIdentifier_ = passTypeIdentifier_; if (distributionSettingsBuilder_ == null) { result.distributionSettings_ = distributionSettings_; } else { result.distributionSettings_ = distributionSettingsBuilder_.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.ProductionOuterClass.Production) { return mergeFrom((com.passkit.grpc.EventTickets.ProductionOuterClass.Production)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.ProductionOuterClass.Production other) { if (other == com.passkit.grpc.EventTickets.ProductionOuterClass.Production.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getUid().isEmpty()) { uid_ = other.uid_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.hasLocalizedName()) { mergeLocalizedName(other.getLocalizedName()); } if (!other.getFinePrint().isEmpty()) { finePrint_ = other.finePrint_; onChanged(); } if (other.hasLocalizedFinePrint()) { mergeLocalizedFinePrint(other.getLocalizedFinePrint()); } if (other.autoInvalidateTicketsUponRedemption_ != 0) { setAutoInvalidateTicketsUponRedemptionValue(other.getAutoInvalidateTicketsUponRedemptionValue()); } if (other.autoInvalidateTicketsUponEventEnd_ != 0) { setAutoInvalidateTicketsUponEventEndValue(other.getAutoInvalidateTicketsUponEventEndValue()); } if (other.autoInvalidateTicketsUponExpiry_ != 0) { setAutoInvalidateTicketsUponExpiryValue(other.getAutoInvalidateTicketsUponExpiryValue()); } if (!other.status_.isEmpty()) { if (status_.isEmpty()) { status_ = other.status_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStatusIsMutable(); status_.addAll(other.status_); } onChanged(); } if (!other.getPassTypeIdentifier().isEmpty()) { passTypeIdentifier_ = other.passTypeIdentifier_; onChanged(); } if (other.hasDistributionSettings()) { mergeDistributionSettings(other.getDistributionSettings()); } 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.ProductionOuterClass.Production parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.ProductionOuterClass.Production) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object id_ = ""; /** *
       * PassKit generated production 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 production 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 production 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 production 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 production 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 uid_ = ""; /** *
       * User generated production id; unique within the account.
       * 
* * string uid = 2; * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * User generated production id; unique within the account.
       * 
* * string uid = 2; * @return The bytes for uid. */ public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * User generated production id; unique within the account.
       * 
* * string uid = 2; * @param value The uid to set. * @return This builder for chaining. */ public Builder setUid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } uid_ = value; onChanged(); return this; } /** *
       * User generated production id; unique within the account.
       * 
* * string uid = 2; * @return This builder for chaining. */ public Builder clearUid() { uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** *
       * User generated production id; unique within the account.
       * 
* * string uid = 2; * @param value The bytes for uid to set. * @return This builder for chaining. */ public Builder setUidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
       * 
* * string name = 3; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
       * 
* * string name = 3; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
       * 
* * string name = 3; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
       * 
* * string name = 3; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
       * 
* * string name = 3; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private com.passkit.grpc.Localization.LocalizedString localizedName_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedNameBuilder_; /** *
       * Localized name of the production.
       * 
* * .io.LocalizedString localizedName = 4; * @return Whether the localizedName field is set. */ public boolean hasLocalizedName() { return localizedNameBuilder_ != null || localizedName_ != null; } /** *
       * Localized name of the production.
       * 
* * .io.LocalizedString localizedName = 4; * @return The localizedName. */ public com.passkit.grpc.Localization.LocalizedString getLocalizedName() { if (localizedNameBuilder_ == null) { return localizedName_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedName_; } else { return localizedNameBuilder_.getMessage(); } } /** *
       * Localized name of the production.
       * 
* * .io.LocalizedString localizedName = 4; */ public Builder setLocalizedName(com.passkit.grpc.Localization.LocalizedString value) { if (localizedNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } localizedName_ = value; onChanged(); } else { localizedNameBuilder_.setMessage(value); } return this; } /** *
       * Localized name of the production.
       * 
* * .io.LocalizedString localizedName = 4; */ public Builder setLocalizedName( com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) { if (localizedNameBuilder_ == null) { localizedName_ = builderForValue.build(); onChanged(); } else { localizedNameBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Localized name of the production.
       * 
* * .io.LocalizedString localizedName = 4; */ public Builder mergeLocalizedName(com.passkit.grpc.Localization.LocalizedString value) { if (localizedNameBuilder_ == null) { if (localizedName_ != null) { localizedName_ = com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedName_).mergeFrom(value).buildPartial(); } else { localizedName_ = value; } onChanged(); } else { localizedNameBuilder_.mergeFrom(value); } return this; } /** *
       * Localized name of the production.
       * 
* * .io.LocalizedString localizedName = 4; */ public Builder clearLocalizedName() { if (localizedNameBuilder_ == null) { localizedName_ = null; onChanged(); } else { localizedName_ = null; localizedNameBuilder_ = null; } return this; } /** *
       * Localized name of the production.
       * 
* * .io.LocalizedString localizedName = 4; */ public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedNameBuilder() { onChanged(); return getLocalizedNameFieldBuilder().getBuilder(); } /** *
       * Localized name of the production.
       * 
* * .io.LocalizedString localizedName = 4; */ public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedNameOrBuilder() { if (localizedNameBuilder_ != null) { return localizedNameBuilder_.getMessageOrBuilder(); } else { return localizedName_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedName_; } } /** *
       * Localized name of the production.
       * 
* * .io.LocalizedString localizedName = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> getLocalizedNameFieldBuilder() { if (localizedNameBuilder_ == null) { localizedNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>( getLocalizedName(), getParentForChildren(), isClean()); localizedName_ = null; } return localizedNameBuilder_; } private java.lang.Object finePrint_ = ""; /** *
       * Fine print: terms & conditions for the production.
       * 
* * string finePrint = 5; * @return The finePrint. */ public java.lang.String getFinePrint() { java.lang.Object ref = finePrint_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); finePrint_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Fine print: terms & conditions for the production.
       * 
* * string finePrint = 5; * @return The bytes for finePrint. */ public com.google.protobuf.ByteString getFinePrintBytes() { java.lang.Object ref = finePrint_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); finePrint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Fine print: terms & conditions for the production.
       * 
* * string finePrint = 5; * @param value The finePrint to set. * @return This builder for chaining. */ public Builder setFinePrint( java.lang.String value) { if (value == null) { throw new NullPointerException(); } finePrint_ = value; onChanged(); return this; } /** *
       * Fine print: terms & conditions for the production.
       * 
* * string finePrint = 5; * @return This builder for chaining. */ public Builder clearFinePrint() { finePrint_ = getDefaultInstance().getFinePrint(); onChanged(); return this; } /** *
       * Fine print: terms & conditions for the production.
       * 
* * string finePrint = 5; * @param value The bytes for finePrint to set. * @return This builder for chaining. */ public Builder setFinePrintBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); finePrint_ = value; onChanged(); return this; } private com.passkit.grpc.Localization.LocalizedString localizedFinePrint_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedFinePrintBuilder_; /** *
       * Localized fine print of the production.
       * 
* * .io.LocalizedString localizedFinePrint = 6; * @return Whether the localizedFinePrint field is set. */ public boolean hasLocalizedFinePrint() { return localizedFinePrintBuilder_ != null || localizedFinePrint_ != null; } /** *
       * Localized fine print of the production.
       * 
* * .io.LocalizedString localizedFinePrint = 6; * @return The localizedFinePrint. */ public com.passkit.grpc.Localization.LocalizedString getLocalizedFinePrint() { if (localizedFinePrintBuilder_ == null) { return localizedFinePrint_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedFinePrint_; } else { return localizedFinePrintBuilder_.getMessage(); } } /** *
       * Localized fine print of the production.
       * 
* * .io.LocalizedString localizedFinePrint = 6; */ public Builder setLocalizedFinePrint(com.passkit.grpc.Localization.LocalizedString value) { if (localizedFinePrintBuilder_ == null) { if (value == null) { throw new NullPointerException(); } localizedFinePrint_ = value; onChanged(); } else { localizedFinePrintBuilder_.setMessage(value); } return this; } /** *
       * Localized fine print of the production.
       * 
* * .io.LocalizedString localizedFinePrint = 6; */ public Builder setLocalizedFinePrint( com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) { if (localizedFinePrintBuilder_ == null) { localizedFinePrint_ = builderForValue.build(); onChanged(); } else { localizedFinePrintBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Localized fine print of the production.
       * 
* * .io.LocalizedString localizedFinePrint = 6; */ public Builder mergeLocalizedFinePrint(com.passkit.grpc.Localization.LocalizedString value) { if (localizedFinePrintBuilder_ == null) { if (localizedFinePrint_ != null) { localizedFinePrint_ = com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedFinePrint_).mergeFrom(value).buildPartial(); } else { localizedFinePrint_ = value; } onChanged(); } else { localizedFinePrintBuilder_.mergeFrom(value); } return this; } /** *
       * Localized fine print of the production.
       * 
* * .io.LocalizedString localizedFinePrint = 6; */ public Builder clearLocalizedFinePrint() { if (localizedFinePrintBuilder_ == null) { localizedFinePrint_ = null; onChanged(); } else { localizedFinePrint_ = null; localizedFinePrintBuilder_ = null; } return this; } /** *
       * Localized fine print of the production.
       * 
* * .io.LocalizedString localizedFinePrint = 6; */ public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedFinePrintBuilder() { onChanged(); return getLocalizedFinePrintFieldBuilder().getBuilder(); } /** *
       * Localized fine print of the production.
       * 
* * .io.LocalizedString localizedFinePrint = 6; */ public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedFinePrintOrBuilder() { if (localizedFinePrintBuilder_ != null) { return localizedFinePrintBuilder_.getMessageOrBuilder(); } else { return localizedFinePrint_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedFinePrint_; } } /** *
       * Localized fine print of the production.
       * 
* * .io.LocalizedString localizedFinePrint = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> getLocalizedFinePrintFieldBuilder() { if (localizedFinePrintBuilder_ == null) { localizedFinePrintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>( getLocalizedFinePrint(), getParentForChildren(), isClean()); localizedFinePrint_ = null; } return localizedFinePrintBuilder_; } private int autoInvalidateTicketsUponRedemption_ = 0; /** *
       * If set will automatically delete the ticket and invalidate the pass in our system upon ticket redemption. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
       * 
* * .io.Toggle autoInvalidateTicketsUponRedemption = 7; * @return The enum numeric value on the wire for autoInvalidateTicketsUponRedemption. */ @java.lang.Override public int getAutoInvalidateTicketsUponRedemptionValue() { return autoInvalidateTicketsUponRedemption_; } /** *
       * If set will automatically delete the ticket and invalidate the pass in our system upon ticket redemption. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
       * 
* * .io.Toggle autoInvalidateTicketsUponRedemption = 7; * @param value The enum numeric value on the wire for autoInvalidateTicketsUponRedemption to set. * @return This builder for chaining. */ public Builder setAutoInvalidateTicketsUponRedemptionValue(int value) { autoInvalidateTicketsUponRedemption_ = value; onChanged(); return this; } /** *
       * If set will automatically delete the ticket and invalidate the pass in our system upon ticket redemption. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
       * 
* * .io.Toggle autoInvalidateTicketsUponRedemption = 7; * @return The autoInvalidateTicketsUponRedemption. */ @java.lang.Override public com.passkit.grpc.CommonObjects.Toggle getAutoInvalidateTicketsUponRedemption() { @SuppressWarnings("deprecation") com.passkit.grpc.CommonObjects.Toggle result = com.passkit.grpc.CommonObjects.Toggle.valueOf(autoInvalidateTicketsUponRedemption_); return result == null ? com.passkit.grpc.CommonObjects.Toggle.UNRECOGNIZED : result; } /** *
       * If set will automatically delete the ticket and invalidate the pass in our system upon ticket redemption. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
       * 
* * .io.Toggle autoInvalidateTicketsUponRedemption = 7; * @param value The autoInvalidateTicketsUponRedemption to set. * @return This builder for chaining. */ public Builder setAutoInvalidateTicketsUponRedemption(com.passkit.grpc.CommonObjects.Toggle value) { if (value == null) { throw new NullPointerException(); } autoInvalidateTicketsUponRedemption_ = value.getNumber(); onChanged(); return this; } /** *
       * If set will automatically delete the ticket and invalidate the pass in our system upon ticket redemption. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
       * 
* * .io.Toggle autoInvalidateTicketsUponRedemption = 7; * @return This builder for chaining. */ public Builder clearAutoInvalidateTicketsUponRedemption() { autoInvalidateTicketsUponRedemption_ = 0; onChanged(); return this; } private int autoInvalidateTicketsUponEventEnd_ = 0; /** *
       * If set will automatically delete the ticket and invalidate the pass in our system 1 day after the event end date (if set). If event date is not set, it will expire 1 day after event start date. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
       * 
* * .io.Toggle autoInvalidateTicketsUponEventEnd = 8; * @return The enum numeric value on the wire for autoInvalidateTicketsUponEventEnd. */ @java.lang.Override public int getAutoInvalidateTicketsUponEventEndValue() { return autoInvalidateTicketsUponEventEnd_; } /** *
       * If set will automatically delete the ticket and invalidate the pass in our system 1 day after the event end date (if set). If event date is not set, it will expire 1 day after event start date. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
       * 
* * .io.Toggle autoInvalidateTicketsUponEventEnd = 8; * @param value The enum numeric value on the wire for autoInvalidateTicketsUponEventEnd to set. * @return This builder for chaining. */ public Builder setAutoInvalidateTicketsUponEventEndValue(int value) { autoInvalidateTicketsUponEventEnd_ = value; onChanged(); return this; } /** *
       * If set will automatically delete the ticket and invalidate the pass in our system 1 day after the event end date (if set). If event date is not set, it will expire 1 day after event start date. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
       * 
* * .io.Toggle autoInvalidateTicketsUponEventEnd = 8; * @return The autoInvalidateTicketsUponEventEnd. */ @java.lang.Override public com.passkit.grpc.CommonObjects.Toggle getAutoInvalidateTicketsUponEventEnd() { @SuppressWarnings("deprecation") com.passkit.grpc.CommonObjects.Toggle result = com.passkit.grpc.CommonObjects.Toggle.valueOf(autoInvalidateTicketsUponEventEnd_); return result == null ? com.passkit.grpc.CommonObjects.Toggle.UNRECOGNIZED : result; } /** *
       * If set will automatically delete the ticket and invalidate the pass in our system 1 day after the event end date (if set). If event date is not set, it will expire 1 day after event start date. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
       * 
* * .io.Toggle autoInvalidateTicketsUponEventEnd = 8; * @param value The autoInvalidateTicketsUponEventEnd to set. * @return This builder for chaining. */ public Builder setAutoInvalidateTicketsUponEventEnd(com.passkit.grpc.CommonObjects.Toggle value) { if (value == null) { throw new NullPointerException(); } autoInvalidateTicketsUponEventEnd_ = value.getNumber(); onChanged(); return this; } /** *
       * If set will automatically delete the ticket and invalidate the pass in our system 1 day after the event end date (if set). If event date is not set, it will expire 1 day after event start date. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
       * 
* * .io.Toggle autoInvalidateTicketsUponEventEnd = 8; * @return This builder for chaining. */ public Builder clearAutoInvalidateTicketsUponEventEnd() { autoInvalidateTicketsUponEventEnd_ = 0; onChanged(); return this; } private int autoInvalidateTicketsUponExpiry_ = 0; /** *
       * If set will automatically delete the ticket and invalidate the pass in our system upon ticket expiry. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
       * 
* * .io.Toggle autoInvalidateTicketsUponExpiry = 9; * @return The enum numeric value on the wire for autoInvalidateTicketsUponExpiry. */ @java.lang.Override public int getAutoInvalidateTicketsUponExpiryValue() { return autoInvalidateTicketsUponExpiry_; } /** *
       * If set will automatically delete the ticket and invalidate the pass in our system upon ticket expiry. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
       * 
* * .io.Toggle autoInvalidateTicketsUponExpiry = 9; * @param value The enum numeric value on the wire for autoInvalidateTicketsUponExpiry to set. * @return This builder for chaining. */ public Builder setAutoInvalidateTicketsUponExpiryValue(int value) { autoInvalidateTicketsUponExpiry_ = value; onChanged(); return this; } /** *
       * If set will automatically delete the ticket and invalidate the pass in our system upon ticket expiry. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
       * 
* * .io.Toggle autoInvalidateTicketsUponExpiry = 9; * @return The autoInvalidateTicketsUponExpiry. */ @java.lang.Override public com.passkit.grpc.CommonObjects.Toggle getAutoInvalidateTicketsUponExpiry() { @SuppressWarnings("deprecation") com.passkit.grpc.CommonObjects.Toggle result = com.passkit.grpc.CommonObjects.Toggle.valueOf(autoInvalidateTicketsUponExpiry_); return result == null ? com.passkit.grpc.CommonObjects.Toggle.UNRECOGNIZED : result; } /** *
       * If set will automatically delete the ticket and invalidate the pass in our system upon ticket expiry. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
       * 
* * .io.Toggle autoInvalidateTicketsUponExpiry = 9; * @param value The autoInvalidateTicketsUponExpiry to set. * @return This builder for chaining. */ public Builder setAutoInvalidateTicketsUponExpiry(com.passkit.grpc.CommonObjects.Toggle value) { if (value == null) { throw new NullPointerException(); } autoInvalidateTicketsUponExpiry_ = value.getNumber(); onChanged(); return this; } /** *
       * If set will automatically delete the ticket and invalidate the pass in our system upon ticket expiry. If not set, the tickets will expire 90 days after issue. If the ticket is not auto invalidated it can be used for further engagement.
       * 
* * .io.Toggle autoInvalidateTicketsUponExpiry = 9; * @return This builder for chaining. */ public Builder clearAutoInvalidateTicketsUponExpiry() { autoInvalidateTicketsUponExpiry_ = 0; onChanged(); return this; } private java.util.List status_ = java.util.Collections.emptyList(); private void ensureStatusIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { status_ = new java.util.ArrayList(status_); bitField0_ |= 0x00000001; } } /** *
       * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
       * 
* * repeated .io.ProjectStatus status = 10; * @return A list containing the status. */ public java.util.List getStatusList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.passkit.grpc.ProjectOuterClass.ProjectStatus>(status_, status_converter_); } /** *
       * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
       * 
* * repeated .io.ProjectStatus status = 10; * @return The count of status. */ public int getStatusCount() { return status_.size(); } /** *
       * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
       * 
* * repeated .io.ProjectStatus status = 10; * @param index The index of the element to return. * @return The status at the given index. */ public com.passkit.grpc.ProjectOuterClass.ProjectStatus getStatus(int index) { return status_converter_.convert(status_.get(index)); } /** *
       * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
       * 
* * repeated .io.ProjectStatus status = 10; * @param index The index to set the value at. * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus( int index, com.passkit.grpc.ProjectOuterClass.ProjectStatus value) { if (value == null) { throw new NullPointerException(); } ensureStatusIsMutable(); status_.set(index, value.getNumber()); onChanged(); return this; } /** *
       * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
       * 
* * repeated .io.ProjectStatus status = 10; * @param value The status to add. * @return This builder for chaining. */ public Builder addStatus(com.passkit.grpc.ProjectOuterClass.ProjectStatus value) { if (value == null) { throw new NullPointerException(); } ensureStatusIsMutable(); status_.add(value.getNumber()); onChanged(); return this; } /** *
       * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
       * 
* * repeated .io.ProjectStatus status = 10; * @param values The status to add. * @return This builder for chaining. */ public Builder addAllStatus( java.lang.Iterable values) { ensureStatusIsMutable(); for (com.passkit.grpc.ProjectOuterClass.ProjectStatus value : values) { status_.add(value.getNumber()); } onChanged(); return this; } /** *
       * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
       * 
* * repeated .io.ProjectStatus status = 10; * @return This builder for chaining. */ public Builder clearStatus() { status_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
       * 
* * repeated .io.ProjectStatus status = 10; * @return A list containing the enum numeric values on the wire for status. */ public java.util.List getStatusValueList() { return java.util.Collections.unmodifiableList(status_); } /** *
       * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
       * 
* * repeated .io.ProjectStatus status = 10; * @param index The index of the value to return. * @return The enum numeric value on the wire of status at the given index. */ public int getStatusValue(int index) { return status_.get(index); } /** *
       * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
       * 
* * repeated .io.ProjectStatus status = 10; * @param index The index of the value to return. * @return The enum numeric value on the wire of status at the given index. * @return This builder for chaining. */ public Builder setStatusValue( int index, int value) { ensureStatusIsMutable(); status_.set(index, value); onChanged(); return this; } /** *
       * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
       * 
* * repeated .io.ProjectStatus status = 10; * @param value The enum numeric value on the wire for status to add. * @return This builder for chaining. */ public Builder addStatusValue(int value) { ensureStatusIsMutable(); status_.add(value); onChanged(); return this; } /** *
       * The events status (bitmask of ProjectStatus). Defaults to io.ProjectStatus.PROJECT_ACTIVE_FOR_OBJECT_CREATION + io.ProjectStatus.PROJECT_DRAFT.
       * 
* * repeated .io.ProjectStatus status = 10; * @param values The enum numeric values on the wire for status to add. * @return This builder for chaining. */ public Builder addAllStatusValue( java.lang.Iterable values) { ensureStatusIsMutable(); for (int value : values) { status_.add(value); } onChanged(); return this; } private java.lang.Object passTypeIdentifier_ = ""; /** *
       * Leave empty for draft production. Needs to be set for productions where status contains PROJECT_PUBLISHED.
       * 
* * string passTypeIdentifier = 11; * @return The passTypeIdentifier. */ public java.lang.String getPassTypeIdentifier() { java.lang.Object ref = passTypeIdentifier_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); passTypeIdentifier_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Leave empty for draft production. Needs to be set for productions where status contains PROJECT_PUBLISHED.
       * 
* * string passTypeIdentifier = 11; * @return The bytes for passTypeIdentifier. */ public com.google.protobuf.ByteString getPassTypeIdentifierBytes() { java.lang.Object ref = passTypeIdentifier_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); passTypeIdentifier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Leave empty for draft production. Needs to be set for productions where status contains PROJECT_PUBLISHED.
       * 
* * string passTypeIdentifier = 11; * @param value The passTypeIdentifier to set. * @return This builder for chaining. */ public Builder setPassTypeIdentifier( java.lang.String value) { if (value == null) { throw new NullPointerException(); } passTypeIdentifier_ = value; onChanged(); return this; } /** *
       * Leave empty for draft production. Needs to be set for productions where status contains PROJECT_PUBLISHED.
       * 
* * string passTypeIdentifier = 11; * @return This builder for chaining. */ public Builder clearPassTypeIdentifier() { passTypeIdentifier_ = getDefaultInstance().getPassTypeIdentifier(); onChanged(); return this; } /** *
       * Leave empty for draft production. Needs to be set for productions where status contains PROJECT_PUBLISHED.
       * 
* * string passTypeIdentifier = 11; * @param value The bytes for passTypeIdentifier to set. * @return This builder for chaining. */ public Builder setPassTypeIdentifierBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); passTypeIdentifier_ = value; onChanged(); return this; } private com.passkit.grpc.Distribution.DistributionSettings distributionSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Distribution.DistributionSettings, com.passkit.grpc.Distribution.DistributionSettings.Builder, com.passkit.grpc.Distribution.DistributionSettingsOrBuilder> distributionSettingsBuilder_; /** *
       * Contains the email & sms distribution settings for the production.
       * 
* * .io.DistributionSettings distributionSettings = 12; * @return Whether the distributionSettings field is set. */ public boolean hasDistributionSettings() { return distributionSettingsBuilder_ != null || distributionSettings_ != null; } /** *
       * Contains the email & sms distribution settings for the production.
       * 
* * .io.DistributionSettings distributionSettings = 12; * @return The distributionSettings. */ public com.passkit.grpc.Distribution.DistributionSettings getDistributionSettings() { if (distributionSettingsBuilder_ == null) { return distributionSettings_ == null ? com.passkit.grpc.Distribution.DistributionSettings.getDefaultInstance() : distributionSettings_; } else { return distributionSettingsBuilder_.getMessage(); } } /** *
       * Contains the email & sms distribution settings for the production.
       * 
* * .io.DistributionSettings distributionSettings = 12; */ public Builder setDistributionSettings(com.passkit.grpc.Distribution.DistributionSettings value) { if (distributionSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } distributionSettings_ = value; onChanged(); } else { distributionSettingsBuilder_.setMessage(value); } return this; } /** *
       * Contains the email & sms distribution settings for the production.
       * 
* * .io.DistributionSettings distributionSettings = 12; */ public Builder setDistributionSettings( com.passkit.grpc.Distribution.DistributionSettings.Builder builderForValue) { if (distributionSettingsBuilder_ == null) { distributionSettings_ = builderForValue.build(); onChanged(); } else { distributionSettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Contains the email & sms distribution settings for the production.
       * 
* * .io.DistributionSettings distributionSettings = 12; */ public Builder mergeDistributionSettings(com.passkit.grpc.Distribution.DistributionSettings value) { if (distributionSettingsBuilder_ == null) { if (distributionSettings_ != null) { distributionSettings_ = com.passkit.grpc.Distribution.DistributionSettings.newBuilder(distributionSettings_).mergeFrom(value).buildPartial(); } else { distributionSettings_ = value; } onChanged(); } else { distributionSettingsBuilder_.mergeFrom(value); } return this; } /** *
       * Contains the email & sms distribution settings for the production.
       * 
* * .io.DistributionSettings distributionSettings = 12; */ public Builder clearDistributionSettings() { if (distributionSettingsBuilder_ == null) { distributionSettings_ = null; onChanged(); } else { distributionSettings_ = null; distributionSettingsBuilder_ = null; } return this; } /** *
       * Contains the email & sms distribution settings for the production.
       * 
* * .io.DistributionSettings distributionSettings = 12; */ public com.passkit.grpc.Distribution.DistributionSettings.Builder getDistributionSettingsBuilder() { onChanged(); return getDistributionSettingsFieldBuilder().getBuilder(); } /** *
       * Contains the email & sms distribution settings for the production.
       * 
* * .io.DistributionSettings distributionSettings = 12; */ public com.passkit.grpc.Distribution.DistributionSettingsOrBuilder getDistributionSettingsOrBuilder() { if (distributionSettingsBuilder_ != null) { return distributionSettingsBuilder_.getMessageOrBuilder(); } else { return distributionSettings_ == null ? com.passkit.grpc.Distribution.DistributionSettings.getDefaultInstance() : distributionSettings_; } } /** *
       * Contains the email & sms distribution settings for the production.
       * 
* * .io.DistributionSettings distributionSettings = 12; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Distribution.DistributionSettings, com.passkit.grpc.Distribution.DistributionSettings.Builder, com.passkit.grpc.Distribution.DistributionSettingsOrBuilder> getDistributionSettingsFieldBuilder() { if (distributionSettingsBuilder_ == null) { distributionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Distribution.DistributionSettings, com.passkit.grpc.Distribution.DistributionSettings.Builder, com.passkit.grpc.Distribution.DistributionSettingsOrBuilder>( getDistributionSettings(), getParentForChildren(), isClean()); distributionSettings_ = null; } return distributionSettingsBuilder_; } 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 event was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 13 [(.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 event was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 13 [(.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 event was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 13 [(.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 event was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 13 [(.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 event was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 13 [(.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 event was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 13 [(.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 event was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 13 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.google.protobuf.Timestamp.Builder getCreatedBuilder() { onChanged(); return getCreatedFieldBuilder().getBuilder(); } /** *
       * The date the event was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 13 [(.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 event was created. Not writable.
       * 
* * .google.protobuf.Timestamp created = 13 [(.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 event updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 14 [(.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 event updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 14 [(.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 event updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 14 [(.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 event updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 14 [(.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 event updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 14 [(.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 event updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 14 [(.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 event updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 14 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.google.protobuf.Timestamp.Builder getUpdatedBuilder() { onChanged(); return getUpdatedFieldBuilder().getBuilder(); } /** *
       * The date the event updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 14 [(.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 event updated. Not writable.
       * 
* * .google.protobuf.Timestamp updated = 14 [(.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.Production) } // @@protoc_insertion_point(class_scope:event_tickets.Production) private static final com.passkit.grpc.EventTickets.ProductionOuterClass.Production DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.ProductionOuterClass.Production(); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.Production getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Production parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Production(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.ProductionOuterClass.Production getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProductionAnalyticsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.ProductionAnalyticsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Period unit of data returned (day, month or year).
     * 
* * .io.Period period = 1; * @return The enum numeric value on the wire for period. */ int getPeriodValue(); /** *
     * Period unit of data returned (day, month or year).
     * 
* * .io.Period period = 1; * @return The period. */ com.passkit.grpc.Reporting.Period getPeriod(); /** *
     * Passes redeemed in this period.
     * 
* * uint32 redeemed = 2; * @return The redeemed. */ int getRedeemed(); /** *
     * Total number of pass redeemed for each device type.
     * 
* * .io.DeviceBreakdown devices = 3; * @return Whether the devices field is set. */ boolean hasDevices(); /** *
     * Total number of pass redeemed for each device type.
     * 
* * .io.DeviceBreakdown devices = 3; * @return The devices. */ com.passkit.grpc.Reporting.DeviceBreakdown getDevices(); /** *
     * Total number of pass redeemed for each device type.
     * 
* * .io.DeviceBreakdown devices = 3; */ com.passkit.grpc.Reporting.DeviceBreakdownOrBuilder getDevicesOrBuilder(); /** *
     * Total number of pass redeemed for each distribution source.
     * 
* * map<string, uint32> sources = 4; */ int getSourcesCount(); /** *
     * Total number of pass redeemed for each distribution source.
     * 
* * map<string, uint32> sources = 4; */ boolean containsSources( java.lang.String key); /** * Use {@link #getSourcesMap()} instead. */ @java.lang.Deprecated java.util.Map getSources(); /** *
     * Total number of pass redeemed for each distribution source.
     * 
* * map<string, uint32> sources = 4; */ java.util.Map getSourcesMap(); /** *
     * Total number of pass redeemed for each distribution source.
     * 
* * map<string, uint32> sources = 4; */ int getSourcesOrDefault( java.lang.String key, int defaultValue); /** *
     * Total number of pass redeemed for each distribution source.
     * 
* * map<string, uint32> sources = 4; */ int getSourcesOrThrow( java.lang.String key); /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 5; */ java.util.List getDataList(); /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 5; */ com.passkit.grpc.Reporting.ChartDataPoints getData(int index); /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 5; */ int getDataCount(); /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 5; */ java.util.List getDataOrBuilderList(); /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 5; */ com.passkit.grpc.Reporting.ChartDataPointsOrBuilder getDataOrBuilder( int index); } /** * Protobuf type {@code event_tickets.ProductionAnalyticsResponse} */ public static final class ProductionAnalyticsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.ProductionAnalyticsResponse) ProductionAnalyticsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ProductionAnalyticsResponse.newBuilder() to construct. private ProductionAnalyticsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ProductionAnalyticsResponse() { period_ = 0; data_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ProductionAnalyticsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ProductionAnalyticsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); period_ = rawValue; break; } case 16: { redeemed_ = input.readUInt32(); break; } case 26: { com.passkit.grpc.Reporting.DeviceBreakdown.Builder subBuilder = null; if (devices_ != null) { subBuilder = devices_.toBuilder(); } devices_ = input.readMessage(com.passkit.grpc.Reporting.DeviceBreakdown.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(devices_); devices_ = subBuilder.buildPartial(); } break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { sources_ = com.google.protobuf.MapField.newMapField( SourcesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry sources__ = input.readMessage( SourcesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); sources_.getMutableMap().put( sources__.getKey(), sources__.getValue()); break; } case 42: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { data_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } data_.add( input.readMessage(com.passkit.grpc.Reporting.ChartDataPoints.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_ & 0x00000002) != 0)) { data_ = java.util.Collections.unmodifiableList(data_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_ProductionAnalyticsResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetSources(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_ProductionAnalyticsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse.class, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse.Builder.class); } public static final int PERIOD_FIELD_NUMBER = 1; private int period_; /** *
     * Period unit of data returned (day, month or year).
     * 
* * .io.Period period = 1; * @return The enum numeric value on the wire for period. */ @java.lang.Override public int getPeriodValue() { return period_; } /** *
     * Period unit of data returned (day, month or year).
     * 
* * .io.Period period = 1; * @return The period. */ @java.lang.Override public com.passkit.grpc.Reporting.Period getPeriod() { @SuppressWarnings("deprecation") com.passkit.grpc.Reporting.Period result = com.passkit.grpc.Reporting.Period.valueOf(period_); return result == null ? com.passkit.grpc.Reporting.Period.UNRECOGNIZED : result; } public static final int REDEEMED_FIELD_NUMBER = 2; private int redeemed_; /** *
     * Passes redeemed in this period.
     * 
* * uint32 redeemed = 2; * @return The redeemed. */ @java.lang.Override public int getRedeemed() { return redeemed_; } public static final int DEVICES_FIELD_NUMBER = 3; private com.passkit.grpc.Reporting.DeviceBreakdown devices_; /** *
     * Total number of pass redeemed for each device type.
     * 
* * .io.DeviceBreakdown devices = 3; * @return Whether the devices field is set. */ @java.lang.Override public boolean hasDevices() { return devices_ != null; } /** *
     * Total number of pass redeemed for each device type.
     * 
* * .io.DeviceBreakdown devices = 3; * @return The devices. */ @java.lang.Override public com.passkit.grpc.Reporting.DeviceBreakdown getDevices() { return devices_ == null ? com.passkit.grpc.Reporting.DeviceBreakdown.getDefaultInstance() : devices_; } /** *
     * Total number of pass redeemed for each device type.
     * 
* * .io.DeviceBreakdown devices = 3; */ @java.lang.Override public com.passkit.grpc.Reporting.DeviceBreakdownOrBuilder getDevicesOrBuilder() { return getDevices(); } public static final int SOURCES_FIELD_NUMBER = 4; private static final class SourcesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.Integer> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_ProductionAnalyticsResponse_SourcesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.UINT32, 0); } private com.google.protobuf.MapField< java.lang.String, java.lang.Integer> sources_; private com.google.protobuf.MapField internalGetSources() { if (sources_ == null) { return com.google.protobuf.MapField.emptyMapField( SourcesDefaultEntryHolder.defaultEntry); } return sources_; } public int getSourcesCount() { return internalGetSources().getMap().size(); } /** *
     * Total number of pass redeemed for each distribution source.
     * 
* * map<string, uint32> sources = 4; */ @java.lang.Override public boolean containsSources( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetSources().getMap().containsKey(key); } /** * Use {@link #getSourcesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getSources() { return getSourcesMap(); } /** *
     * Total number of pass redeemed for each distribution source.
     * 
* * map<string, uint32> sources = 4; */ @java.lang.Override public java.util.Map getSourcesMap() { return internalGetSources().getMap(); } /** *
     * Total number of pass redeemed for each distribution source.
     * 
* * map<string, uint32> sources = 4; */ @java.lang.Override public int getSourcesOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetSources().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Total number of pass redeemed for each distribution source.
     * 
* * map<string, uint32> sources = 4; */ @java.lang.Override public int getSourcesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetSources().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int DATA_FIELD_NUMBER = 5; private java.util.List data_; /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 5; */ @java.lang.Override public java.util.List getDataList() { return data_; } /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 5; */ @java.lang.Override public java.util.List getDataOrBuilderList() { return data_; } /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 5; */ @java.lang.Override public int getDataCount() { return data_.size(); } /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 5; */ @java.lang.Override public com.passkit.grpc.Reporting.ChartDataPoints getData(int index) { return data_.get(index); } /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 5; */ @java.lang.Override public com.passkit.grpc.Reporting.ChartDataPointsOrBuilder getDataOrBuilder( int index) { return data_.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 { if (period_ != com.passkit.grpc.Reporting.Period.DAY.getNumber()) { output.writeEnum(1, period_); } if (redeemed_ != 0) { output.writeUInt32(2, redeemed_); } if (devices_ != null) { output.writeMessage(3, getDevices()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetSources(), SourcesDefaultEntryHolder.defaultEntry, 4); for (int i = 0; i < data_.size(); i++) { output.writeMessage(5, data_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (period_ != com.passkit.grpc.Reporting.Period.DAY.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, period_); } if (redeemed_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, redeemed_); } if (devices_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getDevices()); } for (java.util.Map.Entry entry : internalGetSources().getMap().entrySet()) { com.google.protobuf.MapEntry sources__ = SourcesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, sources__); } for (int i = 0; i < data_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, data_.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.ProductionOuterClass.ProductionAnalyticsResponse)) { return super.equals(obj); } com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse other = (com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse) obj; if (period_ != other.period_) return false; if (getRedeemed() != other.getRedeemed()) return false; if (hasDevices() != other.hasDevices()) return false; if (hasDevices()) { if (!getDevices() .equals(other.getDevices())) return false; } if (!internalGetSources().equals( other.internalGetSources())) return false; if (!getDataList() .equals(other.getDataList())) 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) + PERIOD_FIELD_NUMBER; hash = (53 * hash) + period_; hash = (37 * hash) + REDEEMED_FIELD_NUMBER; hash = (53 * hash) + getRedeemed(); if (hasDevices()) { hash = (37 * hash) + DEVICES_FIELD_NUMBER; hash = (53 * hash) + getDevices().hashCode(); } if (!internalGetSources().getMap().isEmpty()) { hash = (37 * hash) + SOURCES_FIELD_NUMBER; hash = (53 * hash) + internalGetSources().hashCode(); } if (getDataCount() > 0) { hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getDataList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse 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.ProductionOuterClass.ProductionAnalyticsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse 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.ProductionOuterClass.ProductionAnalyticsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse 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.ProductionOuterClass.ProductionAnalyticsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse 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.ProductionOuterClass.ProductionAnalyticsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse 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.ProductionOuterClass.ProductionAnalyticsResponse 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.ProductionAnalyticsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.ProductionAnalyticsResponse) com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_ProductionAnalyticsResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetSources(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 4: return internalGetMutableSources(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_ProductionAnalyticsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse.class, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse.Builder.class); } // Construct using com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDataFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); period_ = 0; redeemed_ = 0; if (devicesBuilder_ == null) { devices_ = null; } else { devices_ = null; devicesBuilder_ = null; } internalGetMutableSources().clear(); if (dataBuilder_ == null) { data_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { dataBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_ProductionAnalyticsResponse_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse build() { com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse buildPartial() { com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse result = new com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse(this); int from_bitField0_ = bitField0_; result.period_ = period_; result.redeemed_ = redeemed_; if (devicesBuilder_ == null) { result.devices_ = devices_; } else { result.devices_ = devicesBuilder_.build(); } result.sources_ = internalGetSources(); result.sources_.makeImmutable(); if (dataBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { data_ = java.util.Collections.unmodifiableList(data_); bitField0_ = (bitField0_ & ~0x00000002); } result.data_ = data_; } else { result.data_ = dataBuilder_.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.ProductionOuterClass.ProductionAnalyticsResponse) { return mergeFrom((com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse other) { if (other == com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse.getDefaultInstance()) return this; if (other.period_ != 0) { setPeriodValue(other.getPeriodValue()); } if (other.getRedeemed() != 0) { setRedeemed(other.getRedeemed()); } if (other.hasDevices()) { mergeDevices(other.getDevices()); } internalGetMutableSources().mergeFrom( other.internalGetSources()); if (dataBuilder_ == null) { if (!other.data_.isEmpty()) { if (data_.isEmpty()) { data_ = other.data_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureDataIsMutable(); data_.addAll(other.data_); } onChanged(); } } else { if (!other.data_.isEmpty()) { if (dataBuilder_.isEmpty()) { dataBuilder_.dispose(); dataBuilder_ = null; data_ = other.data_; bitField0_ = (bitField0_ & ~0x00000002); dataBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDataFieldBuilder() : null; } else { dataBuilder_.addAllMessages(other.data_); } } } 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.ProductionOuterClass.ProductionAnalyticsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int period_ = 0; /** *
       * Period unit of data returned (day, month or year).
       * 
* * .io.Period period = 1; * @return The enum numeric value on the wire for period. */ @java.lang.Override public int getPeriodValue() { return period_; } /** *
       * Period unit of data returned (day, month or year).
       * 
* * .io.Period period = 1; * @param value The enum numeric value on the wire for period to set. * @return This builder for chaining. */ public Builder setPeriodValue(int value) { period_ = value; onChanged(); return this; } /** *
       * Period unit of data returned (day, month or year).
       * 
* * .io.Period period = 1; * @return The period. */ @java.lang.Override public com.passkit.grpc.Reporting.Period getPeriod() { @SuppressWarnings("deprecation") com.passkit.grpc.Reporting.Period result = com.passkit.grpc.Reporting.Period.valueOf(period_); return result == null ? com.passkit.grpc.Reporting.Period.UNRECOGNIZED : result; } /** *
       * Period unit of data returned (day, month or year).
       * 
* * .io.Period period = 1; * @param value The period to set. * @return This builder for chaining. */ public Builder setPeriod(com.passkit.grpc.Reporting.Period value) { if (value == null) { throw new NullPointerException(); } period_ = value.getNumber(); onChanged(); return this; } /** *
       * Period unit of data returned (day, month or year).
       * 
* * .io.Period period = 1; * @return This builder for chaining. */ public Builder clearPeriod() { period_ = 0; onChanged(); return this; } private int redeemed_ ; /** *
       * Passes redeemed in this period.
       * 
* * uint32 redeemed = 2; * @return The redeemed. */ @java.lang.Override public int getRedeemed() { return redeemed_; } /** *
       * Passes redeemed in this period.
       * 
* * uint32 redeemed = 2; * @param value The redeemed to set. * @return This builder for chaining. */ public Builder setRedeemed(int value) { redeemed_ = value; onChanged(); return this; } /** *
       * Passes redeemed in this period.
       * 
* * uint32 redeemed = 2; * @return This builder for chaining. */ public Builder clearRedeemed() { redeemed_ = 0; onChanged(); return this; } private com.passkit.grpc.Reporting.DeviceBreakdown devices_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Reporting.DeviceBreakdown, com.passkit.grpc.Reporting.DeviceBreakdown.Builder, com.passkit.grpc.Reporting.DeviceBreakdownOrBuilder> devicesBuilder_; /** *
       * Total number of pass redeemed for each device type.
       * 
* * .io.DeviceBreakdown devices = 3; * @return Whether the devices field is set. */ public boolean hasDevices() { return devicesBuilder_ != null || devices_ != null; } /** *
       * Total number of pass redeemed for each device type.
       * 
* * .io.DeviceBreakdown devices = 3; * @return The devices. */ public com.passkit.grpc.Reporting.DeviceBreakdown getDevices() { if (devicesBuilder_ == null) { return devices_ == null ? com.passkit.grpc.Reporting.DeviceBreakdown.getDefaultInstance() : devices_; } else { return devicesBuilder_.getMessage(); } } /** *
       * Total number of pass redeemed for each device type.
       * 
* * .io.DeviceBreakdown devices = 3; */ public Builder setDevices(com.passkit.grpc.Reporting.DeviceBreakdown value) { if (devicesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } devices_ = value; onChanged(); } else { devicesBuilder_.setMessage(value); } return this; } /** *
       * Total number of pass redeemed for each device type.
       * 
* * .io.DeviceBreakdown devices = 3; */ public Builder setDevices( com.passkit.grpc.Reporting.DeviceBreakdown.Builder builderForValue) { if (devicesBuilder_ == null) { devices_ = builderForValue.build(); onChanged(); } else { devicesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Total number of pass redeemed for each device type.
       * 
* * .io.DeviceBreakdown devices = 3; */ public Builder mergeDevices(com.passkit.grpc.Reporting.DeviceBreakdown value) { if (devicesBuilder_ == null) { if (devices_ != null) { devices_ = com.passkit.grpc.Reporting.DeviceBreakdown.newBuilder(devices_).mergeFrom(value).buildPartial(); } else { devices_ = value; } onChanged(); } else { devicesBuilder_.mergeFrom(value); } return this; } /** *
       * Total number of pass redeemed for each device type.
       * 
* * .io.DeviceBreakdown devices = 3; */ public Builder clearDevices() { if (devicesBuilder_ == null) { devices_ = null; onChanged(); } else { devices_ = null; devicesBuilder_ = null; } return this; } /** *
       * Total number of pass redeemed for each device type.
       * 
* * .io.DeviceBreakdown devices = 3; */ public com.passkit.grpc.Reporting.DeviceBreakdown.Builder getDevicesBuilder() { onChanged(); return getDevicesFieldBuilder().getBuilder(); } /** *
       * Total number of pass redeemed for each device type.
       * 
* * .io.DeviceBreakdown devices = 3; */ public com.passkit.grpc.Reporting.DeviceBreakdownOrBuilder getDevicesOrBuilder() { if (devicesBuilder_ != null) { return devicesBuilder_.getMessageOrBuilder(); } else { return devices_ == null ? com.passkit.grpc.Reporting.DeviceBreakdown.getDefaultInstance() : devices_; } } /** *
       * Total number of pass redeemed for each device type.
       * 
* * .io.DeviceBreakdown devices = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Reporting.DeviceBreakdown, com.passkit.grpc.Reporting.DeviceBreakdown.Builder, com.passkit.grpc.Reporting.DeviceBreakdownOrBuilder> getDevicesFieldBuilder() { if (devicesBuilder_ == null) { devicesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Reporting.DeviceBreakdown, com.passkit.grpc.Reporting.DeviceBreakdown.Builder, com.passkit.grpc.Reporting.DeviceBreakdownOrBuilder>( getDevices(), getParentForChildren(), isClean()); devices_ = null; } return devicesBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.Integer> sources_; private com.google.protobuf.MapField internalGetSources() { if (sources_ == null) { return com.google.protobuf.MapField.emptyMapField( SourcesDefaultEntryHolder.defaultEntry); } return sources_; } private com.google.protobuf.MapField internalGetMutableSources() { onChanged();; if (sources_ == null) { sources_ = com.google.protobuf.MapField.newMapField( SourcesDefaultEntryHolder.defaultEntry); } if (!sources_.isMutable()) { sources_ = sources_.copy(); } return sources_; } public int getSourcesCount() { return internalGetSources().getMap().size(); } /** *
       * Total number of pass redeemed for each distribution source.
       * 
* * map<string, uint32> sources = 4; */ @java.lang.Override public boolean containsSources( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetSources().getMap().containsKey(key); } /** * Use {@link #getSourcesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getSources() { return getSourcesMap(); } /** *
       * Total number of pass redeemed for each distribution source.
       * 
* * map<string, uint32> sources = 4; */ @java.lang.Override public java.util.Map getSourcesMap() { return internalGetSources().getMap(); } /** *
       * Total number of pass redeemed for each distribution source.
       * 
* * map<string, uint32> sources = 4; */ @java.lang.Override public int getSourcesOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetSources().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Total number of pass redeemed for each distribution source.
       * 
* * map<string, uint32> sources = 4; */ @java.lang.Override public int getSourcesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetSources().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearSources() { internalGetMutableSources().getMutableMap() .clear(); return this; } /** *
       * Total number of pass redeemed for each distribution source.
       * 
* * map<string, uint32> sources = 4; */ public Builder removeSources( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableSources().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableSources() { return internalGetMutableSources().getMutableMap(); } /** *
       * Total number of pass redeemed for each distribution source.
       * 
* * map<string, uint32> sources = 4; */ public Builder putSources( java.lang.String key, int value) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableSources().getMutableMap() .put(key, value); return this; } /** *
       * Total number of pass redeemed for each distribution source.
       * 
* * map<string, uint32> sources = 4; */ public Builder putAllSources( java.util.Map values) { internalGetMutableSources().getMutableMap() .putAll(values); return this; } private java.util.List data_ = java.util.Collections.emptyList(); private void ensureDataIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { data_ = new java.util.ArrayList(data_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.Reporting.ChartDataPoints, com.passkit.grpc.Reporting.ChartDataPoints.Builder, com.passkit.grpc.Reporting.ChartDataPointsOrBuilder> dataBuilder_; /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public java.util.List getDataList() { if (dataBuilder_ == null) { return java.util.Collections.unmodifiableList(data_); } else { return dataBuilder_.getMessageList(); } } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public int getDataCount() { if (dataBuilder_ == null) { return data_.size(); } else { return dataBuilder_.getCount(); } } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public com.passkit.grpc.Reporting.ChartDataPoints getData(int index) { if (dataBuilder_ == null) { return data_.get(index); } else { return dataBuilder_.getMessage(index); } } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public Builder setData( int index, com.passkit.grpc.Reporting.ChartDataPoints value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataIsMutable(); data_.set(index, value); onChanged(); } else { dataBuilder_.setMessage(index, value); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public Builder setData( int index, com.passkit.grpc.Reporting.ChartDataPoints.Builder builderForValue) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.set(index, builderForValue.build()); onChanged(); } else { dataBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public Builder addData(com.passkit.grpc.Reporting.ChartDataPoints value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataIsMutable(); data_.add(value); onChanged(); } else { dataBuilder_.addMessage(value); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public Builder addData( int index, com.passkit.grpc.Reporting.ChartDataPoints value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataIsMutable(); data_.add(index, value); onChanged(); } else { dataBuilder_.addMessage(index, value); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public Builder addData( com.passkit.grpc.Reporting.ChartDataPoints.Builder builderForValue) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.add(builderForValue.build()); onChanged(); } else { dataBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public Builder addData( int index, com.passkit.grpc.Reporting.ChartDataPoints.Builder builderForValue) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.add(index, builderForValue.build()); onChanged(); } else { dataBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public Builder addAllData( java.lang.Iterable values) { if (dataBuilder_ == null) { ensureDataIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, data_); onChanged(); } else { dataBuilder_.addAllMessages(values); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public Builder clearData() { if (dataBuilder_ == null) { data_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { dataBuilder_.clear(); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public Builder removeData(int index) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.remove(index); onChanged(); } else { dataBuilder_.remove(index); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public com.passkit.grpc.Reporting.ChartDataPoints.Builder getDataBuilder( int index) { return getDataFieldBuilder().getBuilder(index); } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public com.passkit.grpc.Reporting.ChartDataPointsOrBuilder getDataOrBuilder( int index) { if (dataBuilder_ == null) { return data_.get(index); } else { return dataBuilder_.getMessageOrBuilder(index); } } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public java.util.List getDataOrBuilderList() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(data_); } } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public com.passkit.grpc.Reporting.ChartDataPoints.Builder addDataBuilder() { return getDataFieldBuilder().addBuilder( com.passkit.grpc.Reporting.ChartDataPoints.getDefaultInstance()); } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public com.passkit.grpc.Reporting.ChartDataPoints.Builder addDataBuilder( int index) { return getDataFieldBuilder().addBuilder( index, com.passkit.grpc.Reporting.ChartDataPoints.getDefaultInstance()); } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 5; */ public java.util.List getDataBuilderList() { return getDataFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.Reporting.ChartDataPoints, com.passkit.grpc.Reporting.ChartDataPoints.Builder, com.passkit.grpc.Reporting.ChartDataPointsOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.Reporting.ChartDataPoints, com.passkit.grpc.Reporting.ChartDataPoints.Builder, com.passkit.grpc.Reporting.ChartDataPointsOrBuilder>( data_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; } @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.ProductionAnalyticsResponse) } // @@protoc_insertion_point(class_scope:event_tickets.ProductionAnalyticsResponse) private static final com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse(); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionAnalyticsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProductionAnalyticsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ProductionAnalyticsResponse(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.ProductionOuterClass.ProductionAnalyticsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProductionCopyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.ProductionCopyRequest) com.google.protobuf.MessageOrBuilder { /** *
     * uuid of the Production to copy.
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * uuid of the Production to copy.
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * User generated production id; unique within the account.
     * 
* * string uid = 2; * @return The uid. */ java.lang.String getUid(); /** *
     * User generated production id; unique within the account.
     * 
* * string uid = 2; * @return The bytes for uid. */ com.google.protobuf.ByteString getUidBytes(); /** *
     * Optional name for the new Production.
     * 
* * string name = 3; * @return The name. */ java.lang.String getName(); /** *
     * Optional name for the new Production.
     * 
* * string name = 3; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Status to set the copied Production to.
     * 
* * repeated .io.ProjectStatus status = 4; * @return A list containing the status. */ java.util.List getStatusList(); /** *
     * Status to set the copied Production to.
     * 
* * repeated .io.ProjectStatus status = 4; * @return The count of status. */ int getStatusCount(); /** *
     * Status to set the copied Production to.
     * 
* * repeated .io.ProjectStatus status = 4; * @param index The index of the element to return. * @return The status at the given index. */ com.passkit.grpc.ProjectOuterClass.ProjectStatus getStatus(int index); /** *
     * Status to set the copied Production to.
     * 
* * repeated .io.ProjectStatus status = 4; * @return A list containing the enum numeric values on the wire for status. */ java.util.List getStatusValueList(); /** *
     * Status to set the copied Production to.
     * 
* * repeated .io.ProjectStatus status = 4; * @param index The index of the value to return. * @return The enum numeric value on the wire of status at the given index. */ int getStatusValue(int index); /** *
     * Can optionally be provided if setting status to published (requires a prod cert).
     * 
* * string passTypeIdentifier = 5; * @return The passTypeIdentifier. */ java.lang.String getPassTypeIdentifier(); /** *
     * Can optionally be provided if setting status to published (requires a prod cert).
     * 
* * string passTypeIdentifier = 5; * @return The bytes for passTypeIdentifier. */ com.google.protobuf.ByteString getPassTypeIdentifierBytes(); } /** *
   * Contains payload for copying a Production.
   * 
* * Protobuf type {@code event_tickets.ProductionCopyRequest} */ public static final class ProductionCopyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.ProductionCopyRequest) ProductionCopyRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ProductionCopyRequest.newBuilder() to construct. private ProductionCopyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ProductionCopyRequest() { id_ = ""; uid_ = ""; name_ = ""; status_ = java.util.Collections.emptyList(); passTypeIdentifier_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ProductionCopyRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ProductionCopyRequest( 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(); uid_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 32: { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { status_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } status_.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)) { status_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } status_.add(rawValue); } input.popLimit(oldLimit); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); passTypeIdentifier_ = 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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { status_ = java.util.Collections.unmodifiableList(status_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_ProductionCopyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_ProductionCopyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest.class, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * uuid of the Production to copy.
     * 
* * 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; } } /** *
     * uuid of the Production to copy.
     * 
* * 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 UID_FIELD_NUMBER = 2; private volatile java.lang.Object uid_; /** *
     * User generated production id; unique within the account.
     * 
* * string uid = 2; * @return The uid. */ @java.lang.Override public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; } } /** *
     * User generated production id; unique within the account.
     * 
* * string uid = 2; * @return The bytes for uid. */ @java.lang.Override public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** *
     * Optional name for the new Production.
     * 
* * string name = 3; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; } } /** *
     * Optional name for the new Production.
     * 
* * string name = 3; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 4; private java.util.List status_; private static final com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.passkit.grpc.ProjectOuterClass.ProjectStatus> status_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.passkit.grpc.ProjectOuterClass.ProjectStatus>() { public com.passkit.grpc.ProjectOuterClass.ProjectStatus convert(java.lang.Integer from) { @SuppressWarnings("deprecation") com.passkit.grpc.ProjectOuterClass.ProjectStatus result = com.passkit.grpc.ProjectOuterClass.ProjectStatus.valueOf(from); return result == null ? com.passkit.grpc.ProjectOuterClass.ProjectStatus.UNRECOGNIZED : result; } }; /** *
     * Status to set the copied Production to.
     * 
* * repeated .io.ProjectStatus status = 4; * @return A list containing the status. */ @java.lang.Override public java.util.List getStatusList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.passkit.grpc.ProjectOuterClass.ProjectStatus>(status_, status_converter_); } /** *
     * Status to set the copied Production to.
     * 
* * repeated .io.ProjectStatus status = 4; * @return The count of status. */ @java.lang.Override public int getStatusCount() { return status_.size(); } /** *
     * Status to set the copied Production to.
     * 
* * repeated .io.ProjectStatus status = 4; * @param index The index of the element to return. * @return The status at the given index. */ @java.lang.Override public com.passkit.grpc.ProjectOuterClass.ProjectStatus getStatus(int index) { return status_converter_.convert(status_.get(index)); } /** *
     * Status to set the copied Production to.
     * 
* * repeated .io.ProjectStatus status = 4; * @return A list containing the enum numeric values on the wire for status. */ @java.lang.Override public java.util.List getStatusValueList() { return status_; } /** *
     * Status to set the copied Production to.
     * 
* * repeated .io.ProjectStatus status = 4; * @param index The index of the value to return. * @return The enum numeric value on the wire of status at the given index. */ @java.lang.Override public int getStatusValue(int index) { return status_.get(index); } private int statusMemoizedSerializedSize; public static final int PASSTYPEIDENTIFIER_FIELD_NUMBER = 5; private volatile java.lang.Object passTypeIdentifier_; /** *
     * Can optionally be provided if setting status to published (requires a prod cert).
     * 
* * string passTypeIdentifier = 5; * @return The passTypeIdentifier. */ @java.lang.Override public java.lang.String getPassTypeIdentifier() { java.lang.Object ref = passTypeIdentifier_; 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(); passTypeIdentifier_ = s; return s; } } /** *
     * Can optionally be provided if setting status to published (requires a prod cert).
     * 
* * string passTypeIdentifier = 5; * @return The bytes for passTypeIdentifier. */ @java.lang.Override public com.google.protobuf.ByteString getPassTypeIdentifierBytes() { java.lang.Object ref = passTypeIdentifier_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); passTypeIdentifier_ = 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 { getSerializedSize(); if (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!getUidBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_); } if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } if (getStatusList().size() > 0) { output.writeUInt32NoTag(34); output.writeUInt32NoTag(statusMemoizedSerializedSize); } for (int i = 0; i < status_.size(); i++) { output.writeEnumNoTag(status_.get(i)); } if (!getPassTypeIdentifierBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, passTypeIdentifier_); } 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 (!getUidBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } { int dataSize = 0; for (int i = 0; i < status_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(status_.get(i)); } size += dataSize; if (!getStatusList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(dataSize); }statusMemoizedSerializedSize = dataSize; } if (!getPassTypeIdentifierBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, passTypeIdentifier_); } 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.ProductionOuterClass.ProductionCopyRequest)) { return super.equals(obj); } com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest other = (com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest) obj; if (!getId() .equals(other.getId())) return false; if (!getUid() .equals(other.getUid())) return false; if (!getName() .equals(other.getName())) return false; if (!status_.equals(other.status_)) return false; if (!getPassTypeIdentifier() .equals(other.getPassTypeIdentifier())) 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) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (getStatusCount() > 0) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_.hashCode(); } hash = (37 * hash) + PASSTYPEIDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getPassTypeIdentifier().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest 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.ProductionOuterClass.ProductionCopyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest 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.ProductionOuterClass.ProductionCopyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest 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.ProductionOuterClass.ProductionCopyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest 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.ProductionOuterClass.ProductionCopyRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest 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.ProductionOuterClass.ProductionCopyRequest 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; } /** *
     * Contains payload for copying a Production.
     * 
* * Protobuf type {@code event_tickets.ProductionCopyRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.ProductionCopyRequest) com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_ProductionCopyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_ProductionCopyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest.class, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest.Builder.class); } // Construct using com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest.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(); id_ = ""; uid_ = ""; name_ = ""; status_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); passTypeIdentifier_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_ProductionCopyRequest_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest build() { com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest buildPartial() { com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest result = new com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.uid_ = uid_; result.name_ = name_; if (((bitField0_ & 0x00000001) != 0)) { status_ = java.util.Collections.unmodifiableList(status_); bitField0_ = (bitField0_ & ~0x00000001); } result.status_ = status_; result.passTypeIdentifier_ = passTypeIdentifier_; 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.ProductionOuterClass.ProductionCopyRequest) { return mergeFrom((com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest other) { if (other == com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getUid().isEmpty()) { uid_ = other.uid_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.status_.isEmpty()) { if (status_.isEmpty()) { status_ = other.status_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStatusIsMutable(); status_.addAll(other.status_); } onChanged(); } if (!other.getPassTypeIdentifier().isEmpty()) { passTypeIdentifier_ = other.passTypeIdentifier_; 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.ProductionOuterClass.ProductionCopyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object id_ = ""; /** *
       * uuid of the Production to copy.
       * 
* * 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; } } /** *
       * uuid of the Production to copy.
       * 
* * 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; } } /** *
       * uuid of the Production to copy.
       * 
* * 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; } /** *
       * uuid of the Production to copy.
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * uuid of the Production to copy.
       * 
* * 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 uid_ = ""; /** *
       * User generated production id; unique within the account.
       * 
* * string uid = 2; * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * User generated production id; unique within the account.
       * 
* * string uid = 2; * @return The bytes for uid. */ public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * User generated production id; unique within the account.
       * 
* * string uid = 2; * @param value The uid to set. * @return This builder for chaining. */ public Builder setUid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } uid_ = value; onChanged(); return this; } /** *
       * User generated production id; unique within the account.
       * 
* * string uid = 2; * @return This builder for chaining. */ public Builder clearUid() { uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** *
       * User generated production id; unique within the account.
       * 
* * string uid = 2; * @param value The bytes for uid to set. * @return This builder for chaining. */ public Builder setUidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Optional name for the new Production.
       * 
* * string name = 3; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional name for the new Production.
       * 
* * string name = 3; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional name for the new Production.
       * 
* * string name = 3; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * Optional name for the new Production.
       * 
* * string name = 3; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Optional name for the new Production.
       * 
* * string name = 3; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.util.List status_ = java.util.Collections.emptyList(); private void ensureStatusIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { status_ = new java.util.ArrayList(status_); bitField0_ |= 0x00000001; } } /** *
       * Status to set the copied Production to.
       * 
* * repeated .io.ProjectStatus status = 4; * @return A list containing the status. */ public java.util.List getStatusList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.passkit.grpc.ProjectOuterClass.ProjectStatus>(status_, status_converter_); } /** *
       * Status to set the copied Production to.
       * 
* * repeated .io.ProjectStatus status = 4; * @return The count of status. */ public int getStatusCount() { return status_.size(); } /** *
       * Status to set the copied Production to.
       * 
* * repeated .io.ProjectStatus status = 4; * @param index The index of the element to return. * @return The status at the given index. */ public com.passkit.grpc.ProjectOuterClass.ProjectStatus getStatus(int index) { return status_converter_.convert(status_.get(index)); } /** *
       * Status to set the copied Production to.
       * 
* * repeated .io.ProjectStatus status = 4; * @param index The index to set the value at. * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus( int index, com.passkit.grpc.ProjectOuterClass.ProjectStatus value) { if (value == null) { throw new NullPointerException(); } ensureStatusIsMutable(); status_.set(index, value.getNumber()); onChanged(); return this; } /** *
       * Status to set the copied Production to.
       * 
* * repeated .io.ProjectStatus status = 4; * @param value The status to add. * @return This builder for chaining. */ public Builder addStatus(com.passkit.grpc.ProjectOuterClass.ProjectStatus value) { if (value == null) { throw new NullPointerException(); } ensureStatusIsMutable(); status_.add(value.getNumber()); onChanged(); return this; } /** *
       * Status to set the copied Production to.
       * 
* * repeated .io.ProjectStatus status = 4; * @param values The status to add. * @return This builder for chaining. */ public Builder addAllStatus( java.lang.Iterable values) { ensureStatusIsMutable(); for (com.passkit.grpc.ProjectOuterClass.ProjectStatus value : values) { status_.add(value.getNumber()); } onChanged(); return this; } /** *
       * Status to set the copied Production to.
       * 
* * repeated .io.ProjectStatus status = 4; * @return This builder for chaining. */ public Builder clearStatus() { status_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Status to set the copied Production to.
       * 
* * repeated .io.ProjectStatus status = 4; * @return A list containing the enum numeric values on the wire for status. */ public java.util.List getStatusValueList() { return java.util.Collections.unmodifiableList(status_); } /** *
       * Status to set the copied Production to.
       * 
* * repeated .io.ProjectStatus status = 4; * @param index The index of the value to return. * @return The enum numeric value on the wire of status at the given index. */ public int getStatusValue(int index) { return status_.get(index); } /** *
       * Status to set the copied Production to.
       * 
* * repeated .io.ProjectStatus status = 4; * @param index The index of the value to return. * @return The enum numeric value on the wire of status at the given index. * @return This builder for chaining. */ public Builder setStatusValue( int index, int value) { ensureStatusIsMutable(); status_.set(index, value); onChanged(); return this; } /** *
       * Status to set the copied Production to.
       * 
* * repeated .io.ProjectStatus status = 4; * @param value The enum numeric value on the wire for status to add. * @return This builder for chaining. */ public Builder addStatusValue(int value) { ensureStatusIsMutable(); status_.add(value); onChanged(); return this; } /** *
       * Status to set the copied Production to.
       * 
* * repeated .io.ProjectStatus status = 4; * @param values The enum numeric values on the wire for status to add. * @return This builder for chaining. */ public Builder addAllStatusValue( java.lang.Iterable values) { ensureStatusIsMutable(); for (int value : values) { status_.add(value); } onChanged(); return this; } private java.lang.Object passTypeIdentifier_ = ""; /** *
       * Can optionally be provided if setting status to published (requires a prod cert).
       * 
* * string passTypeIdentifier = 5; * @return The passTypeIdentifier. */ public java.lang.String getPassTypeIdentifier() { java.lang.Object ref = passTypeIdentifier_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); passTypeIdentifier_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Can optionally be provided if setting status to published (requires a prod cert).
       * 
* * string passTypeIdentifier = 5; * @return The bytes for passTypeIdentifier. */ public com.google.protobuf.ByteString getPassTypeIdentifierBytes() { java.lang.Object ref = passTypeIdentifier_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); passTypeIdentifier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Can optionally be provided if setting status to published (requires a prod cert).
       * 
* * string passTypeIdentifier = 5; * @param value The passTypeIdentifier to set. * @return This builder for chaining. */ public Builder setPassTypeIdentifier( java.lang.String value) { if (value == null) { throw new NullPointerException(); } passTypeIdentifier_ = value; onChanged(); return this; } /** *
       * Can optionally be provided if setting status to published (requires a prod cert).
       * 
* * string passTypeIdentifier = 5; * @return This builder for chaining. */ public Builder clearPassTypeIdentifier() { passTypeIdentifier_ = getDefaultInstance().getPassTypeIdentifier(); onChanged(); return this; } /** *
       * Can optionally be provided if setting status to published (requires a prod cert).
       * 
* * string passTypeIdentifier = 5; * @param value The bytes for passTypeIdentifier to set. * @return This builder for chaining. */ public Builder setPassTypeIdentifierBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); passTypeIdentifier_ = 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.ProductionCopyRequest) } // @@protoc_insertion_point(class_scope:event_tickets.ProductionCopyRequest) private static final com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest(); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionCopyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProductionCopyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ProductionCopyRequest(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.ProductionOuterClass.ProductionCopyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProductionLimitedFieldsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:event_tickets.ProductionLimitedFieldsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * PassKit generated production id (22 characters).
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * PassKit generated production id (22 characters).
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * User generated production id; unique within the account.
     * 
* * string uid = 2; * @return The uid. */ java.lang.String getUid(); /** *
     * User generated production id; unique within the account.
     * 
* * string uid = 2; * @return The bytes for uid. */ com.google.protobuf.ByteString getUidBytes(); /** *
     * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
     * 
* * string name = 3; * @return The name. */ java.lang.String getName(); /** *
     * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
     * 
* * string name = 3; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } /** * Protobuf type {@code event_tickets.ProductionLimitedFieldsResponse} */ public static final class ProductionLimitedFieldsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:event_tickets.ProductionLimitedFieldsResponse) ProductionLimitedFieldsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ProductionLimitedFieldsResponse.newBuilder() to construct. private ProductionLimitedFieldsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ProductionLimitedFieldsResponse() { id_ = ""; uid_ = ""; name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ProductionLimitedFieldsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ProductionLimitedFieldsResponse( 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(); id_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); uid_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); name_ = 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.ProductionOuterClass.internal_static_event_tickets_ProductionLimitedFieldsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_ProductionLimitedFieldsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.class, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * PassKit generated production 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 production 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 UID_FIELD_NUMBER = 2; private volatile java.lang.Object uid_; /** *
     * User generated production id; unique within the account.
     * 
* * string uid = 2; * @return The uid. */ @java.lang.Override public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; } } /** *
     * User generated production id; unique within the account.
     * 
* * string uid = 2; * @return The bytes for uid. */ @java.lang.Override public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** *
     * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
     * 
* * string name = 3; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; } } /** *
     * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
     * 
* * string name = 3; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = 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 (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!getUidBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_); } if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } 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 (!getUidBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } 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.ProductionOuterClass.ProductionLimitedFieldsResponse)) { return super.equals(obj); } com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse other = (com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse) obj; if (!getId() .equals(other.getId())) return false; if (!getUid() .equals(other.getUid())) return false; if (!getName() .equals(other.getName())) 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) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse 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.ProductionOuterClass.ProductionLimitedFieldsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse 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.ProductionOuterClass.ProductionLimitedFieldsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse 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.ProductionOuterClass.ProductionLimitedFieldsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse 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.ProductionOuterClass.ProductionLimitedFieldsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse 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.ProductionOuterClass.ProductionLimitedFieldsResponse 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.ProductionLimitedFieldsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:event_tickets.ProductionLimitedFieldsResponse) com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_ProductionLimitedFieldsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_ProductionLimitedFieldsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.class, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.Builder.class); } // Construct using com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.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(); id_ = ""; uid_ = ""; name_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.EventTickets.ProductionOuterClass.internal_static_event_tickets_ProductionLimitedFieldsResponse_descriptor; } @java.lang.Override public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse getDefaultInstanceForType() { return com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse build() { com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse buildPartial() { com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse result = new com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse(this); result.id_ = id_; result.uid_ = uid_; result.name_ = name_; 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.ProductionOuterClass.ProductionLimitedFieldsResponse) { return mergeFrom((com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse other) { if (other == com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getUid().isEmpty()) { uid_ = other.uid_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; 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.ProductionOuterClass.ProductionLimitedFieldsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object id_ = ""; /** *
       * PassKit generated production 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 production 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 production 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 production id (22 characters).
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * PassKit generated production 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 uid_ = ""; /** *
       * User generated production id; unique within the account.
       * 
* * string uid = 2; * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * User generated production id; unique within the account.
       * 
* * string uid = 2; * @return The bytes for uid. */ public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * User generated production id; unique within the account.
       * 
* * string uid = 2; * @param value The uid to set. * @return This builder for chaining. */ public Builder setUid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } uid_ = value; onChanged(); return this; } /** *
       * User generated production id; unique within the account.
       * 
* * string uid = 2; * @return This builder for chaining. */ public Builder clearUid() { uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** *
       * User generated production id; unique within the account.
       * 
* * string uid = 2; * @param value The bytes for uid to set. * @return This builder for chaining. */ public Builder setUidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
       * 
* * string name = 3; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
       * 
* * string name = 3; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
       * 
* * string name = 3; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
       * 
* * string name = 3; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Name of the production (i.e. Les Miserables, The Lion King, Avengers, etc).
       * 
* * string name = 3; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = 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.ProductionLimitedFieldsResponse) } // @@protoc_insertion_point(class_scope:event_tickets.ProductionLimitedFieldsResponse) private static final com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse(); } public static com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProductionLimitedFieldsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ProductionLimitedFieldsResponse(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.ProductionOuterClass.ProductionLimitedFieldsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_Production_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_Production_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_ProductionAnalyticsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_ProductionAnalyticsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_ProductionAnalyticsResponse_SourcesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_ProductionAnalyticsResponse_SourcesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_ProductionCopyRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_ProductionCopyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_event_tickets_ProductionLimitedFieldsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_event_tickets_ProductionLimitedFieldsResponse_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!io/event_tickets/production.proto\022\reve" + "nt_tickets\032\037google/protobuf/timestamp.pr" + "oto\032\034io/common/distribution.proto\032\034io/co" + "mmon/localization.proto\032\027io/common/proje" + "ct.proto\032\031io/common/reporting.proto\032\036io/" + "common/common_objects.proto\032.protoc-gen-" + "openapiv2/options/annotations.proto\"\327\005\n\n" + "Production\022\021\n\002id\030\001 \001(\tB\005\222A\002@\001\022\013\n\003uid\030\002 \001" + "(\t\022\014\n\004name\030\003 \001(\t\022*\n\rlocalizedName\030\004 \001(\0132" + "\023.io.LocalizedString\022\021\n\tfinePrint\030\005 \001(\t\022" + "/\n\022localizedFinePrint\030\006 \001(\0132\023.io.Localiz" + "edString\0227\n#autoInvalidateTicketsUponRed" + "emption\030\007 \001(\0162\n.io.Toggle\0225\n!autoInvalid" + "ateTicketsUponEventEnd\030\010 \001(\0162\n.io.Toggle" + "\0223\n\037autoInvalidateTicketsUponExpiry\030\t \001(" + "\0162\n.io.Toggle\022!\n\006status\030\n \003(\0162\021.io.Proje" + "ctStatus\022\032\n\022passTypeIdentifier\030\013 \001(\t\0226\n\024" + "distributionSettings\030\014 \001(\0132\030.io.Distribu" + "tionSettings\0222\n\007created\030\r \001(\0132\032.google.p" + "rotobuf.TimestampB\005\222A\002@\001\0222\n\007updated\030\016 \001(" + "\0132\032.google.protobuf.TimestampB\005\222A\002@\001:\246\001\222" + "A\242\001\n\237\001*\nProduction2\211\001Production contains" + " data that is shared by events: common e" + "vent properties / settings, distribution" + " settings and Apple Pass Type details.\322\001" + "\004name\"\216\002\n\033ProductionAnalyticsResponse\022\032\n" + "\006period\030\001 \001(\0162\n.io.Period\022\020\n\010redeemed\030\002 " + "\001(\r\022$\n\007devices\030\003 \001(\0132\023.io.DeviceBreakdow" + "n\022H\n\007sources\030\004 \003(\01327.event_tickets.Produ" + "ctionAnalyticsResponse.SourcesEntry\022!\n\004d" + "ata\030\005 \003(\0132\023.io.ChartDataPoints\032.\n\014Source" + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\r:\0028\001\"}" + "\n\025ProductionCopyRequest\022\n\n\002id\030\001 \001(\t\022\013\n\003u" + "id\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022!\n\006status\030\004 \003(\0162\021" + ".io.ProjectStatus\022\032\n\022passTypeIdentifier\030" + "\005 \001(\t\"\366\001\n\037ProductionLimitedFieldsRespons" + "e\022\n\n\002id\030\001 \001(\t\022\013\n\003uid\030\002 \001(\t\022\014\n\004name\030\003 \001(\t" + ":\253\001\222A\247\001\n\244\001*\026Production (Light ver)2\211\001Pro" + "duction contains data that is shared by " + "events: common event properties / settin" + "gs, distribution settings and Apple Pass" + " Type details.Bo\n\035com.passkit.grpc.Event" + "TicketsZ2stash.passkit.com/io/model/sdk/" + "go/io/event_tickets\252\002\031PassKit.Grpc.Event" + "Ticketsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.TimestampProto.getDescriptor(), com.passkit.grpc.Distribution.getDescriptor(), com.passkit.grpc.Localization.getDescriptor(), com.passkit.grpc.ProjectOuterClass.getDescriptor(), com.passkit.grpc.Reporting.getDescriptor(), com.passkit.grpc.CommonObjects.getDescriptor(), grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(), }); internal_static_event_tickets_Production_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_event_tickets_Production_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_Production_descriptor, new java.lang.String[] { "Id", "Uid", "Name", "LocalizedName", "FinePrint", "LocalizedFinePrint", "AutoInvalidateTicketsUponRedemption", "AutoInvalidateTicketsUponEventEnd", "AutoInvalidateTicketsUponExpiry", "Status", "PassTypeIdentifier", "DistributionSettings", "Created", "Updated", }); internal_static_event_tickets_ProductionAnalyticsResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_event_tickets_ProductionAnalyticsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_ProductionAnalyticsResponse_descriptor, new java.lang.String[] { "Period", "Redeemed", "Devices", "Sources", "Data", }); internal_static_event_tickets_ProductionAnalyticsResponse_SourcesEntry_descriptor = internal_static_event_tickets_ProductionAnalyticsResponse_descriptor.getNestedTypes().get(0); internal_static_event_tickets_ProductionAnalyticsResponse_SourcesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_ProductionAnalyticsResponse_SourcesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_event_tickets_ProductionCopyRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_event_tickets_ProductionCopyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_ProductionCopyRequest_descriptor, new java.lang.String[] { "Id", "Uid", "Name", "Status", "PassTypeIdentifier", }); internal_static_event_tickets_ProductionLimitedFieldsResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_event_tickets_ProductionLimitedFieldsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_event_tickets_ProductionLimitedFieldsResponse_descriptor, new java.lang.String[] { "Id", "Uid", "Name", }); 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.Distribution.getDescriptor(); com.passkit.grpc.Localization.getDescriptor(); com.passkit.grpc.ProjectOuterClass.getDescriptor(); com.passkit.grpc.Reporting.getDescriptor(); com.passkit.grpc.CommonObjects.getDescriptor(); grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy