com.passkit.grpc.EventTickets.EventOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
SDK for the PassKit gRPC API that can be used to create, configure and manage Membership, Loyalty, Event Ticket, Coupon, Transit and Boarding Pass content for mobile wallet applications, including Apple Pay and Google Pay.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: io/event_tickets/event.proto
package com.passkit.grpc.EventTickets;
public final class EventOuterClass {
private EventOuterClass() {}
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 EventOrBuilder extends
// @@protoc_insertion_point(interface_extends:event_tickets.Event)
com.google.protobuf.MessageOrBuilder {
/**
*
* PassKit generated event id (22 characters). No writable.
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* PassKit generated event id (22 characters). No writable.
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.Production production = 2;
* @return Whether the production field is set.
*/
boolean hasProduction();
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.Production production = 2;
* @return The production.
*/
com.passkit.grpc.EventTickets.ProductionOuterClass.Production getProduction();
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.Production production = 2;
*/
com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionOrBuilder getProductionOrBuilder();
/**
*
* The venue details. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.Venue venue = 3;
* @return Whether the venue field is set.
*/
boolean hasVenue();
/**
*
* The venue details. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.Venue venue = 3;
* @return The venue.
*/
com.passkit.grpc.EventTickets.VenueOuterClass.Venue getVenue();
/**
*
* The venue details. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.Venue venue = 3;
*/
com.passkit.grpc.EventTickets.VenueOuterClass.VenueOrBuilder getVenueOrBuilder();
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
* @return Whether the doorsOpen field is set.
*/
boolean hasDoorsOpen();
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
* @return The doorsOpen.
*/
com.google.protobuf.Timestamp getDoorsOpen();
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
com.google.protobuf.TimestampOrBuilder getDoorsOpenOrBuilder();
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return Whether the scheduledStartDate field is set.
*/
boolean hasScheduledStartDate();
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return The scheduledStartDate.
*/
com.google.protobuf.Timestamp getScheduledStartDate();
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder();
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
* @return Whether the actualStartDate field is set.
*/
boolean hasActualStartDate();
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
* @return The actualStartDate.
*/
com.google.protobuf.Timestamp getActualStartDate();
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
com.google.protobuf.TimestampOrBuilder getActualStartDateOrBuilder();
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
* @return Whether the endDate field is set.
*/
boolean hasEndDate();
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
* @return The endDate.
*/
com.google.protobuf.Timestamp getEndDate();
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder();
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
* @return Whether the relevantDate field is set.
*/
boolean hasRelevantDate();
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
* @return The relevantDate.
*/
com.google.protobuf.Timestamp getRelevantDate();
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
com.google.protobuf.TimestampOrBuilder getRelevantDateOrBuilder();
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
* @return Whether the quota field is set.
*/
boolean hasQuota();
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
* @return The quota.
*/
com.passkit.grpc.Billing.Quota getQuota();
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
com.passkit.grpc.Billing.QuotaOrBuilder getQuotaOrBuilder();
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return Whether the metrics field is set.
*/
boolean hasMetrics();
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return The metrics.
*/
com.passkit.grpc.MetricsOuterClass.Metrics getMetrics();
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder getMetricsOrBuilder();
/**
*
* The date the event was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 11 [(.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 = 11 [(.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 = 11 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder();
/**
*
* The date the event updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 12 [(.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 = 12 [(.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 = 12 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder();
}
/**
* Protobuf type {@code event_tickets.Event}
*/
public static final class Event extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:event_tickets.Event)
EventOrBuilder {
private static final long serialVersionUID = 0L;
// Use Event.newBuilder() to construct.
private Event(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Event() {
id_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Event();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Event(
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: {
com.passkit.grpc.EventTickets.ProductionOuterClass.Production.Builder subBuilder = null;
if (production_ != null) {
subBuilder = production_.toBuilder();
}
production_ = input.readMessage(com.passkit.grpc.EventTickets.ProductionOuterClass.Production.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(production_);
production_ = subBuilder.buildPartial();
}
break;
}
case 26: {
com.passkit.grpc.EventTickets.VenueOuterClass.Venue.Builder subBuilder = null;
if (venue_ != null) {
subBuilder = venue_.toBuilder();
}
venue_ = input.readMessage(com.passkit.grpc.EventTickets.VenueOuterClass.Venue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(venue_);
venue_ = subBuilder.buildPartial();
}
break;
}
case 34: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (doorsOpen_ != null) {
subBuilder = doorsOpen_.toBuilder();
}
doorsOpen_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(doorsOpen_);
doorsOpen_ = subBuilder.buildPartial();
}
break;
}
case 42: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (scheduledStartDate_ != null) {
subBuilder = scheduledStartDate_.toBuilder();
}
scheduledStartDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(scheduledStartDate_);
scheduledStartDate_ = subBuilder.buildPartial();
}
break;
}
case 50: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (actualStartDate_ != null) {
subBuilder = actualStartDate_.toBuilder();
}
actualStartDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(actualStartDate_);
actualStartDate_ = subBuilder.buildPartial();
}
break;
}
case 58: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (endDate_ != null) {
subBuilder = endDate_.toBuilder();
}
endDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(endDate_);
endDate_ = subBuilder.buildPartial();
}
break;
}
case 66: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (relevantDate_ != null) {
subBuilder = relevantDate_.toBuilder();
}
relevantDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(relevantDate_);
relevantDate_ = subBuilder.buildPartial();
}
break;
}
case 74: {
com.passkit.grpc.Billing.Quota.Builder subBuilder = null;
if (quota_ != null) {
subBuilder = quota_.toBuilder();
}
quota_ = input.readMessage(com.passkit.grpc.Billing.Quota.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(quota_);
quota_ = subBuilder.buildPartial();
}
break;
}
case 82: {
com.passkit.grpc.MetricsOuterClass.Metrics.Builder subBuilder = null;
if (metrics_ != null) {
subBuilder = metrics_.toBuilder();
}
metrics_ = input.readMessage(com.passkit.grpc.MetricsOuterClass.Metrics.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(metrics_);
metrics_ = subBuilder.buildPartial();
}
break;
}
case 90: {
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 98: {
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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_Event_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_Event_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.EventOuterClass.Event.class, com.passkit.grpc.EventTickets.EventOuterClass.Event.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
*
* PassKit generated event id (22 characters). No writable.
*
*
* 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 event id (22 characters). No writable.
*
*
* 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 PRODUCTION_FIELD_NUMBER = 2;
private com.passkit.grpc.EventTickets.ProductionOuterClass.Production production_;
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.Production production = 2;
* @return Whether the production field is set.
*/
@java.lang.Override
public boolean hasProduction() {
return production_ != null;
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.Production production = 2;
* @return The production.
*/
@java.lang.Override
public com.passkit.grpc.EventTickets.ProductionOuterClass.Production getProduction() {
return production_ == null ? com.passkit.grpc.EventTickets.ProductionOuterClass.Production.getDefaultInstance() : production_;
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.Production production = 2;
*/
@java.lang.Override
public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionOrBuilder getProductionOrBuilder() {
return getProduction();
}
public static final int VENUE_FIELD_NUMBER = 3;
private com.passkit.grpc.EventTickets.VenueOuterClass.Venue venue_;
/**
*
* The venue details. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.Venue venue = 3;
* @return Whether the venue field is set.
*/
@java.lang.Override
public boolean hasVenue() {
return venue_ != null;
}
/**
*
* The venue details. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.Venue venue = 3;
* @return The venue.
*/
@java.lang.Override
public com.passkit.grpc.EventTickets.VenueOuterClass.Venue getVenue() {
return venue_ == null ? com.passkit.grpc.EventTickets.VenueOuterClass.Venue.getDefaultInstance() : venue_;
}
/**
*
* The venue details. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.Venue venue = 3;
*/
@java.lang.Override
public com.passkit.grpc.EventTickets.VenueOuterClass.VenueOrBuilder getVenueOrBuilder() {
return getVenue();
}
public static final int DOORSOPEN_FIELD_NUMBER = 4;
private com.google.protobuf.Timestamp doorsOpen_;
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
* @return Whether the doorsOpen field is set.
*/
@java.lang.Override
public boolean hasDoorsOpen() {
return doorsOpen_ != null;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
* @return The doorsOpen.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getDoorsOpen() {
return doorsOpen_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : doorsOpen_;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getDoorsOpenOrBuilder() {
return getDoorsOpen();
}
public static final int SCHEDULEDSTARTDATE_FIELD_NUMBER = 5;
private com.google.protobuf.Timestamp scheduledStartDate_;
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return Whether the scheduledStartDate field is set.
*/
@java.lang.Override
public boolean hasScheduledStartDate() {
return scheduledStartDate_ != null;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return The scheduledStartDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getScheduledStartDate() {
return scheduledStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder() {
return getScheduledStartDate();
}
public static final int ACTUALSTARTDATE_FIELD_NUMBER = 6;
private com.google.protobuf.Timestamp actualStartDate_;
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
* @return Whether the actualStartDate field is set.
*/
@java.lang.Override
public boolean hasActualStartDate() {
return actualStartDate_ != null;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
* @return The actualStartDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getActualStartDate() {
return actualStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : actualStartDate_;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getActualStartDateOrBuilder() {
return getActualStartDate();
}
public static final int ENDDATE_FIELD_NUMBER = 7;
private com.google.protobuf.Timestamp endDate_;
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
* @return Whether the endDate field is set.
*/
@java.lang.Override
public boolean hasEndDate() {
return endDate_ != null;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
* @return The endDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getEndDate() {
return endDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endDate_;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder() {
return getEndDate();
}
public static final int RELEVANTDATE_FIELD_NUMBER = 8;
private com.google.protobuf.Timestamp relevantDate_;
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
* @return Whether the relevantDate field is set.
*/
@java.lang.Override
public boolean hasRelevantDate() {
return relevantDate_ != null;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
* @return The relevantDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getRelevantDate() {
return relevantDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : relevantDate_;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getRelevantDateOrBuilder() {
return getRelevantDate();
}
public static final int QUOTA_FIELD_NUMBER = 9;
private com.passkit.grpc.Billing.Quota quota_;
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
* @return Whether the quota field is set.
*/
@java.lang.Override
public boolean hasQuota() {
return quota_ != null;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
* @return The quota.
*/
@java.lang.Override
public com.passkit.grpc.Billing.Quota getQuota() {
return quota_ == null ? com.passkit.grpc.Billing.Quota.getDefaultInstance() : quota_;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
@java.lang.Override
public com.passkit.grpc.Billing.QuotaOrBuilder getQuotaOrBuilder() {
return getQuota();
}
public static final int METRICS_FIELD_NUMBER = 10;
private com.passkit.grpc.MetricsOuterClass.Metrics metrics_;
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return Whether the metrics field is set.
*/
@java.lang.Override
public boolean hasMetrics() {
return metrics_ != null;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return The metrics.
*/
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.Metrics getMetrics() {
return metrics_ == null ? com.passkit.grpc.MetricsOuterClass.Metrics.getDefaultInstance() : metrics_;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder getMetricsOrBuilder() {
return getMetrics();
}
public static final int CREATED_FIELD_NUMBER = 11;
private com.google.protobuf.Timestamp created_;
/**
*
* The date the event was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 11 [(.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 = 11 [(.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 = 11 [(.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 = 12;
private com.google.protobuf.Timestamp updated_;
/**
*
* The date the event updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 12 [(.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 = 12 [(.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 = 12 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder() {
return getUpdated();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (production_ != null) {
output.writeMessage(2, getProduction());
}
if (venue_ != null) {
output.writeMessage(3, getVenue());
}
if (doorsOpen_ != null) {
output.writeMessage(4, getDoorsOpen());
}
if (scheduledStartDate_ != null) {
output.writeMessage(5, getScheduledStartDate());
}
if (actualStartDate_ != null) {
output.writeMessage(6, getActualStartDate());
}
if (endDate_ != null) {
output.writeMessage(7, getEndDate());
}
if (relevantDate_ != null) {
output.writeMessage(8, getRelevantDate());
}
if (quota_ != null) {
output.writeMessage(9, getQuota());
}
if (metrics_ != null) {
output.writeMessage(10, getMetrics());
}
if (created_ != null) {
output.writeMessage(11, getCreated());
}
if (updated_ != null) {
output.writeMessage(12, 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 (production_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getProduction());
}
if (venue_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getVenue());
}
if (doorsOpen_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getDoorsOpen());
}
if (scheduledStartDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getScheduledStartDate());
}
if (actualStartDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getActualStartDate());
}
if (endDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getEndDate());
}
if (relevantDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getRelevantDate());
}
if (quota_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getQuota());
}
if (metrics_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getMetrics());
}
if (created_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getCreated());
}
if (updated_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, 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.EventOuterClass.Event)) {
return super.equals(obj);
}
com.passkit.grpc.EventTickets.EventOuterClass.Event other = (com.passkit.grpc.EventTickets.EventOuterClass.Event) obj;
if (!getId()
.equals(other.getId())) return false;
if (hasProduction() != other.hasProduction()) return false;
if (hasProduction()) {
if (!getProduction()
.equals(other.getProduction())) return false;
}
if (hasVenue() != other.hasVenue()) return false;
if (hasVenue()) {
if (!getVenue()
.equals(other.getVenue())) return false;
}
if (hasDoorsOpen() != other.hasDoorsOpen()) return false;
if (hasDoorsOpen()) {
if (!getDoorsOpen()
.equals(other.getDoorsOpen())) return false;
}
if (hasScheduledStartDate() != other.hasScheduledStartDate()) return false;
if (hasScheduledStartDate()) {
if (!getScheduledStartDate()
.equals(other.getScheduledStartDate())) return false;
}
if (hasActualStartDate() != other.hasActualStartDate()) return false;
if (hasActualStartDate()) {
if (!getActualStartDate()
.equals(other.getActualStartDate())) return false;
}
if (hasEndDate() != other.hasEndDate()) return false;
if (hasEndDate()) {
if (!getEndDate()
.equals(other.getEndDate())) return false;
}
if (hasRelevantDate() != other.hasRelevantDate()) return false;
if (hasRelevantDate()) {
if (!getRelevantDate()
.equals(other.getRelevantDate())) return false;
}
if (hasQuota() != other.hasQuota()) return false;
if (hasQuota()) {
if (!getQuota()
.equals(other.getQuota())) return false;
}
if (hasMetrics() != other.hasMetrics()) return false;
if (hasMetrics()) {
if (!getMetrics()
.equals(other.getMetrics())) 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();
if (hasProduction()) {
hash = (37 * hash) + PRODUCTION_FIELD_NUMBER;
hash = (53 * hash) + getProduction().hashCode();
}
if (hasVenue()) {
hash = (37 * hash) + VENUE_FIELD_NUMBER;
hash = (53 * hash) + getVenue().hashCode();
}
if (hasDoorsOpen()) {
hash = (37 * hash) + DOORSOPEN_FIELD_NUMBER;
hash = (53 * hash) + getDoorsOpen().hashCode();
}
if (hasScheduledStartDate()) {
hash = (37 * hash) + SCHEDULEDSTARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getScheduledStartDate().hashCode();
}
if (hasActualStartDate()) {
hash = (37 * hash) + ACTUALSTARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getActualStartDate().hashCode();
}
if (hasEndDate()) {
hash = (37 * hash) + ENDDATE_FIELD_NUMBER;
hash = (53 * hash) + getEndDate().hashCode();
}
if (hasRelevantDate()) {
hash = (37 * hash) + RELEVANTDATE_FIELD_NUMBER;
hash = (53 * hash) + getRelevantDate().hashCode();
}
if (hasQuota()) {
hash = (37 * hash) + QUOTA_FIELD_NUMBER;
hash = (53 * hash) + getQuota().hashCode();
}
if (hasMetrics()) {
hash = (37 * hash) + METRICS_FIELD_NUMBER;
hash = (53 * hash) + getMetrics().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.EventOuterClass.Event parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.Event 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.EventOuterClass.Event parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.Event 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.EventOuterClass.Event parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.Event parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.Event parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.Event 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.EventOuterClass.Event parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.Event 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.EventOuterClass.Event parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.Event 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.EventOuterClass.Event 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.Event}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:event_tickets.Event)
com.passkit.grpc.EventTickets.EventOuterClass.EventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_Event_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_Event_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.EventOuterClass.Event.class, com.passkit.grpc.EventTickets.EventOuterClass.Event.Builder.class);
}
// Construct using com.passkit.grpc.EventTickets.EventOuterClass.Event.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_ = "";
if (productionBuilder_ == null) {
production_ = null;
} else {
production_ = null;
productionBuilder_ = null;
}
if (venueBuilder_ == null) {
venue_ = null;
} else {
venue_ = null;
venueBuilder_ = null;
}
if (doorsOpenBuilder_ == null) {
doorsOpen_ = null;
} else {
doorsOpen_ = null;
doorsOpenBuilder_ = null;
}
if (scheduledStartDateBuilder_ == null) {
scheduledStartDate_ = null;
} else {
scheduledStartDate_ = null;
scheduledStartDateBuilder_ = null;
}
if (actualStartDateBuilder_ == null) {
actualStartDate_ = null;
} else {
actualStartDate_ = null;
actualStartDateBuilder_ = null;
}
if (endDateBuilder_ == null) {
endDate_ = null;
} else {
endDate_ = null;
endDateBuilder_ = null;
}
if (relevantDateBuilder_ == null) {
relevantDate_ = null;
} else {
relevantDate_ = null;
relevantDateBuilder_ = null;
}
if (quotaBuilder_ == null) {
quota_ = null;
} else {
quota_ = null;
quotaBuilder_ = null;
}
if (metricsBuilder_ == null) {
metrics_ = null;
} else {
metrics_ = null;
metricsBuilder_ = 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.EventOuterClass.internal_static_event_tickets_Event_descriptor;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.Event getDefaultInstanceForType() {
return com.passkit.grpc.EventTickets.EventOuterClass.Event.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.Event build() {
com.passkit.grpc.EventTickets.EventOuterClass.Event result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.Event buildPartial() {
com.passkit.grpc.EventTickets.EventOuterClass.Event result = new com.passkit.grpc.EventTickets.EventOuterClass.Event(this);
result.id_ = id_;
if (productionBuilder_ == null) {
result.production_ = production_;
} else {
result.production_ = productionBuilder_.build();
}
if (venueBuilder_ == null) {
result.venue_ = venue_;
} else {
result.venue_ = venueBuilder_.build();
}
if (doorsOpenBuilder_ == null) {
result.doorsOpen_ = doorsOpen_;
} else {
result.doorsOpen_ = doorsOpenBuilder_.build();
}
if (scheduledStartDateBuilder_ == null) {
result.scheduledStartDate_ = scheduledStartDate_;
} else {
result.scheduledStartDate_ = scheduledStartDateBuilder_.build();
}
if (actualStartDateBuilder_ == null) {
result.actualStartDate_ = actualStartDate_;
} else {
result.actualStartDate_ = actualStartDateBuilder_.build();
}
if (endDateBuilder_ == null) {
result.endDate_ = endDate_;
} else {
result.endDate_ = endDateBuilder_.build();
}
if (relevantDateBuilder_ == null) {
result.relevantDate_ = relevantDate_;
} else {
result.relevantDate_ = relevantDateBuilder_.build();
}
if (quotaBuilder_ == null) {
result.quota_ = quota_;
} else {
result.quota_ = quotaBuilder_.build();
}
if (metricsBuilder_ == null) {
result.metrics_ = metrics_;
} else {
result.metrics_ = metricsBuilder_.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.EventOuterClass.Event) {
return mergeFrom((com.passkit.grpc.EventTickets.EventOuterClass.Event)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.EventTickets.EventOuterClass.Event other) {
if (other == com.passkit.grpc.EventTickets.EventOuterClass.Event.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (other.hasProduction()) {
mergeProduction(other.getProduction());
}
if (other.hasVenue()) {
mergeVenue(other.getVenue());
}
if (other.hasDoorsOpen()) {
mergeDoorsOpen(other.getDoorsOpen());
}
if (other.hasScheduledStartDate()) {
mergeScheduledStartDate(other.getScheduledStartDate());
}
if (other.hasActualStartDate()) {
mergeActualStartDate(other.getActualStartDate());
}
if (other.hasEndDate()) {
mergeEndDate(other.getEndDate());
}
if (other.hasRelevantDate()) {
mergeRelevantDate(other.getRelevantDate());
}
if (other.hasQuota()) {
mergeQuota(other.getQuota());
}
if (other.hasMetrics()) {
mergeMetrics(other.getMetrics());
}
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.EventOuterClass.Event parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.EventTickets.EventOuterClass.Event) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object id_ = "";
/**
*
* PassKit generated event id (22 characters). No writable.
*
*
* 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 event id (22 characters). No writable.
*
*
* 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 event id (22 characters). No writable.
*
*
* 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 event id (22 characters). No writable.
*
*
* string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
*
* PassKit generated event id (22 characters). No writable.
*
*
* 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 com.passkit.grpc.EventTickets.ProductionOuterClass.Production production_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.EventTickets.ProductionOuterClass.Production, com.passkit.grpc.EventTickets.ProductionOuterClass.Production.Builder, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionOrBuilder> productionBuilder_;
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.Production production = 2;
* @return Whether the production field is set.
*/
public boolean hasProduction() {
return productionBuilder_ != null || production_ != null;
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.Production production = 2;
* @return The production.
*/
public com.passkit.grpc.EventTickets.ProductionOuterClass.Production getProduction() {
if (productionBuilder_ == null) {
return production_ == null ? com.passkit.grpc.EventTickets.ProductionOuterClass.Production.getDefaultInstance() : production_;
} else {
return productionBuilder_.getMessage();
}
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.Production production = 2;
*/
public Builder setProduction(com.passkit.grpc.EventTickets.ProductionOuterClass.Production value) {
if (productionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
production_ = value;
onChanged();
} else {
productionBuilder_.setMessage(value);
}
return this;
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.Production production = 2;
*/
public Builder setProduction(
com.passkit.grpc.EventTickets.ProductionOuterClass.Production.Builder builderForValue) {
if (productionBuilder_ == null) {
production_ = builderForValue.build();
onChanged();
} else {
productionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.Production production = 2;
*/
public Builder mergeProduction(com.passkit.grpc.EventTickets.ProductionOuterClass.Production value) {
if (productionBuilder_ == null) {
if (production_ != null) {
production_ =
com.passkit.grpc.EventTickets.ProductionOuterClass.Production.newBuilder(production_).mergeFrom(value).buildPartial();
} else {
production_ = value;
}
onChanged();
} else {
productionBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.Production production = 2;
*/
public Builder clearProduction() {
if (productionBuilder_ == null) {
production_ = null;
onChanged();
} else {
production_ = null;
productionBuilder_ = null;
}
return this;
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.Production production = 2;
*/
public com.passkit.grpc.EventTickets.ProductionOuterClass.Production.Builder getProductionBuilder() {
onChanged();
return getProductionFieldBuilder().getBuilder();
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.Production production = 2;
*/
public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionOrBuilder getProductionOrBuilder() {
if (productionBuilder_ != null) {
return productionBuilder_.getMessageOrBuilder();
} else {
return production_ == null ?
com.passkit.grpc.EventTickets.ProductionOuterClass.Production.getDefaultInstance() : production_;
}
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.Production production = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.EventTickets.ProductionOuterClass.Production, com.passkit.grpc.EventTickets.ProductionOuterClass.Production.Builder, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionOrBuilder>
getProductionFieldBuilder() {
if (productionBuilder_ == null) {
productionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.EventTickets.ProductionOuterClass.Production, com.passkit.grpc.EventTickets.ProductionOuterClass.Production.Builder, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionOrBuilder>(
getProduction(),
getParentForChildren(),
isClean());
production_ = null;
}
return productionBuilder_;
}
private com.passkit.grpc.EventTickets.VenueOuterClass.Venue venue_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.EventTickets.VenueOuterClass.Venue, com.passkit.grpc.EventTickets.VenueOuterClass.Venue.Builder, com.passkit.grpc.EventTickets.VenueOuterClass.VenueOrBuilder> venueBuilder_;
/**
*
* The venue details. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.Venue venue = 3;
* @return Whether the venue field is set.
*/
public boolean hasVenue() {
return venueBuilder_ != null || venue_ != null;
}
/**
*
* The venue details. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.Venue venue = 3;
* @return The venue.
*/
public com.passkit.grpc.EventTickets.VenueOuterClass.Venue getVenue() {
if (venueBuilder_ == null) {
return venue_ == null ? com.passkit.grpc.EventTickets.VenueOuterClass.Venue.getDefaultInstance() : venue_;
} else {
return venueBuilder_.getMessage();
}
}
/**
*
* The venue details. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.Venue venue = 3;
*/
public Builder setVenue(com.passkit.grpc.EventTickets.VenueOuterClass.Venue value) {
if (venueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
venue_ = value;
onChanged();
} else {
venueBuilder_.setMessage(value);
}
return this;
}
/**
*
* The venue details. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.Venue venue = 3;
*/
public Builder setVenue(
com.passkit.grpc.EventTickets.VenueOuterClass.Venue.Builder builderForValue) {
if (venueBuilder_ == null) {
venue_ = builderForValue.build();
onChanged();
} else {
venueBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The venue details. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.Venue venue = 3;
*/
public Builder mergeVenue(com.passkit.grpc.EventTickets.VenueOuterClass.Venue value) {
if (venueBuilder_ == null) {
if (venue_ != null) {
venue_ =
com.passkit.grpc.EventTickets.VenueOuterClass.Venue.newBuilder(venue_).mergeFrom(value).buildPartial();
} else {
venue_ = value;
}
onChanged();
} else {
venueBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The venue details. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.Venue venue = 3;
*/
public Builder clearVenue() {
if (venueBuilder_ == null) {
venue_ = null;
onChanged();
} else {
venue_ = null;
venueBuilder_ = null;
}
return this;
}
/**
*
* The venue details. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.Venue venue = 3;
*/
public com.passkit.grpc.EventTickets.VenueOuterClass.Venue.Builder getVenueBuilder() {
onChanged();
return getVenueFieldBuilder().getBuilder();
}
/**
*
* The venue details. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.Venue venue = 3;
*/
public com.passkit.grpc.EventTickets.VenueOuterClass.VenueOrBuilder getVenueOrBuilder() {
if (venueBuilder_ != null) {
return venueBuilder_.getMessageOrBuilder();
} else {
return venue_ == null ?
com.passkit.grpc.EventTickets.VenueOuterClass.Venue.getDefaultInstance() : venue_;
}
}
/**
*
* The venue details. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.Venue venue = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.EventTickets.VenueOuterClass.Venue, com.passkit.grpc.EventTickets.VenueOuterClass.Venue.Builder, com.passkit.grpc.EventTickets.VenueOuterClass.VenueOrBuilder>
getVenueFieldBuilder() {
if (venueBuilder_ == null) {
venueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.EventTickets.VenueOuterClass.Venue, com.passkit.grpc.EventTickets.VenueOuterClass.Venue.Builder, com.passkit.grpc.EventTickets.VenueOuterClass.VenueOrBuilder>(
getVenue(),
getParentForChildren(),
isClean());
venue_ = null;
}
return venueBuilder_;
}
private com.google.protobuf.Timestamp doorsOpen_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> doorsOpenBuilder_;
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
* @return Whether the doorsOpen field is set.
*/
public boolean hasDoorsOpen() {
return doorsOpenBuilder_ != null || doorsOpen_ != null;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
* @return The doorsOpen.
*/
public com.google.protobuf.Timestamp getDoorsOpen() {
if (doorsOpenBuilder_ == null) {
return doorsOpen_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : doorsOpen_;
} else {
return doorsOpenBuilder_.getMessage();
}
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
public Builder setDoorsOpen(com.google.protobuf.Timestamp value) {
if (doorsOpenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
doorsOpen_ = value;
onChanged();
} else {
doorsOpenBuilder_.setMessage(value);
}
return this;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
public Builder setDoorsOpen(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (doorsOpenBuilder_ == null) {
doorsOpen_ = builderForValue.build();
onChanged();
} else {
doorsOpenBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
public Builder mergeDoorsOpen(com.google.protobuf.Timestamp value) {
if (doorsOpenBuilder_ == null) {
if (doorsOpen_ != null) {
doorsOpen_ =
com.google.protobuf.Timestamp.newBuilder(doorsOpen_).mergeFrom(value).buildPartial();
} else {
doorsOpen_ = value;
}
onChanged();
} else {
doorsOpenBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
public Builder clearDoorsOpen() {
if (doorsOpenBuilder_ == null) {
doorsOpen_ = null;
onChanged();
} else {
doorsOpen_ = null;
doorsOpenBuilder_ = null;
}
return this;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
public com.google.protobuf.Timestamp.Builder getDoorsOpenBuilder() {
onChanged();
return getDoorsOpenFieldBuilder().getBuilder();
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
public com.google.protobuf.TimestampOrBuilder getDoorsOpenOrBuilder() {
if (doorsOpenBuilder_ != null) {
return doorsOpenBuilder_.getMessageOrBuilder();
} else {
return doorsOpen_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : doorsOpen_;
}
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getDoorsOpenFieldBuilder() {
if (doorsOpenBuilder_ == null) {
doorsOpenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getDoorsOpen(),
getParentForChildren(),
isClean());
doorsOpen_ = null;
}
return doorsOpenBuilder_;
}
private com.google.protobuf.Timestamp scheduledStartDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduledStartDateBuilder_;
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return Whether the scheduledStartDate field is set.
*/
public boolean hasScheduledStartDate() {
return scheduledStartDateBuilder_ != null || scheduledStartDate_ != null;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return The scheduledStartDate.
*/
public com.google.protobuf.Timestamp getScheduledStartDate() {
if (scheduledStartDateBuilder_ == null) {
return scheduledStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_;
} else {
return scheduledStartDateBuilder_.getMessage();
}
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public Builder setScheduledStartDate(com.google.protobuf.Timestamp value) {
if (scheduledStartDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
scheduledStartDate_ = value;
onChanged();
} else {
scheduledStartDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public Builder setScheduledStartDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (scheduledStartDateBuilder_ == null) {
scheduledStartDate_ = builderForValue.build();
onChanged();
} else {
scheduledStartDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public Builder mergeScheduledStartDate(com.google.protobuf.Timestamp value) {
if (scheduledStartDateBuilder_ == null) {
if (scheduledStartDate_ != null) {
scheduledStartDate_ =
com.google.protobuf.Timestamp.newBuilder(scheduledStartDate_).mergeFrom(value).buildPartial();
} else {
scheduledStartDate_ = value;
}
onChanged();
} else {
scheduledStartDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public Builder clearScheduledStartDate() {
if (scheduledStartDateBuilder_ == null) {
scheduledStartDate_ = null;
onChanged();
} else {
scheduledStartDate_ = null;
scheduledStartDateBuilder_ = null;
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public com.google.protobuf.Timestamp.Builder getScheduledStartDateBuilder() {
onChanged();
return getScheduledStartDateFieldBuilder().getBuilder();
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder() {
if (scheduledStartDateBuilder_ != null) {
return scheduledStartDateBuilder_.getMessageOrBuilder();
} else {
return scheduledStartDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_;
}
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getScheduledStartDateFieldBuilder() {
if (scheduledStartDateBuilder_ == null) {
scheduledStartDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getScheduledStartDate(),
getParentForChildren(),
isClean());
scheduledStartDate_ = null;
}
return scheduledStartDateBuilder_;
}
private com.google.protobuf.Timestamp actualStartDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> actualStartDateBuilder_;
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
* @return Whether the actualStartDate field is set.
*/
public boolean hasActualStartDate() {
return actualStartDateBuilder_ != null || actualStartDate_ != null;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
* @return The actualStartDate.
*/
public com.google.protobuf.Timestamp getActualStartDate() {
if (actualStartDateBuilder_ == null) {
return actualStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : actualStartDate_;
} else {
return actualStartDateBuilder_.getMessage();
}
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
public Builder setActualStartDate(com.google.protobuf.Timestamp value) {
if (actualStartDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
actualStartDate_ = value;
onChanged();
} else {
actualStartDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
public Builder setActualStartDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (actualStartDateBuilder_ == null) {
actualStartDate_ = builderForValue.build();
onChanged();
} else {
actualStartDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
public Builder mergeActualStartDate(com.google.protobuf.Timestamp value) {
if (actualStartDateBuilder_ == null) {
if (actualStartDate_ != null) {
actualStartDate_ =
com.google.protobuf.Timestamp.newBuilder(actualStartDate_).mergeFrom(value).buildPartial();
} else {
actualStartDate_ = value;
}
onChanged();
} else {
actualStartDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
public Builder clearActualStartDate() {
if (actualStartDateBuilder_ == null) {
actualStartDate_ = null;
onChanged();
} else {
actualStartDate_ = null;
actualStartDateBuilder_ = null;
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
public com.google.protobuf.Timestamp.Builder getActualStartDateBuilder() {
onChanged();
return getActualStartDateFieldBuilder().getBuilder();
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
public com.google.protobuf.TimestampOrBuilder getActualStartDateOrBuilder() {
if (actualStartDateBuilder_ != null) {
return actualStartDateBuilder_.getMessageOrBuilder();
} else {
return actualStartDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : actualStartDate_;
}
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getActualStartDateFieldBuilder() {
if (actualStartDateBuilder_ == null) {
actualStartDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getActualStartDate(),
getParentForChildren(),
isClean());
actualStartDate_ = null;
}
return actualStartDateBuilder_;
}
private com.google.protobuf.Timestamp endDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endDateBuilder_;
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
* @return Whether the endDate field is set.
*/
public boolean hasEndDate() {
return endDateBuilder_ != null || endDate_ != null;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
* @return The endDate.
*/
public com.google.protobuf.Timestamp getEndDate() {
if (endDateBuilder_ == null) {
return endDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endDate_;
} else {
return endDateBuilder_.getMessage();
}
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
public Builder setEndDate(com.google.protobuf.Timestamp value) {
if (endDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
endDate_ = value;
onChanged();
} else {
endDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
public Builder setEndDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (endDateBuilder_ == null) {
endDate_ = builderForValue.build();
onChanged();
} else {
endDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
public Builder mergeEndDate(com.google.protobuf.Timestamp value) {
if (endDateBuilder_ == null) {
if (endDate_ != null) {
endDate_ =
com.google.protobuf.Timestamp.newBuilder(endDate_).mergeFrom(value).buildPartial();
} else {
endDate_ = value;
}
onChanged();
} else {
endDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
public Builder clearEndDate() {
if (endDateBuilder_ == null) {
endDate_ = null;
onChanged();
} else {
endDate_ = null;
endDateBuilder_ = null;
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
public com.google.protobuf.Timestamp.Builder getEndDateBuilder() {
onChanged();
return getEndDateFieldBuilder().getBuilder();
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
public com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder() {
if (endDateBuilder_ != null) {
return endDateBuilder_.getMessageOrBuilder();
} else {
return endDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : endDate_;
}
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getEndDateFieldBuilder() {
if (endDateBuilder_ == null) {
endDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getEndDate(),
getParentForChildren(),
isClean());
endDate_ = null;
}
return endDateBuilder_;
}
private com.google.protobuf.Timestamp relevantDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> relevantDateBuilder_;
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
* @return Whether the relevantDate field is set.
*/
public boolean hasRelevantDate() {
return relevantDateBuilder_ != null || relevantDate_ != null;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
* @return The relevantDate.
*/
public com.google.protobuf.Timestamp getRelevantDate() {
if (relevantDateBuilder_ == null) {
return relevantDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : relevantDate_;
} else {
return relevantDateBuilder_.getMessage();
}
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
public Builder setRelevantDate(com.google.protobuf.Timestamp value) {
if (relevantDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
relevantDate_ = value;
onChanged();
} else {
relevantDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
public Builder setRelevantDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (relevantDateBuilder_ == null) {
relevantDate_ = builderForValue.build();
onChanged();
} else {
relevantDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
public Builder mergeRelevantDate(com.google.protobuf.Timestamp value) {
if (relevantDateBuilder_ == null) {
if (relevantDate_ != null) {
relevantDate_ =
com.google.protobuf.Timestamp.newBuilder(relevantDate_).mergeFrom(value).buildPartial();
} else {
relevantDate_ = value;
}
onChanged();
} else {
relevantDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
public Builder clearRelevantDate() {
if (relevantDateBuilder_ == null) {
relevantDate_ = null;
onChanged();
} else {
relevantDate_ = null;
relevantDateBuilder_ = null;
}
return this;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
public com.google.protobuf.Timestamp.Builder getRelevantDateBuilder() {
onChanged();
return getRelevantDateFieldBuilder().getBuilder();
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
public com.google.protobuf.TimestampOrBuilder getRelevantDateOrBuilder() {
if (relevantDateBuilder_ != null) {
return relevantDateBuilder_.getMessageOrBuilder();
} else {
return relevantDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : relevantDate_;
}
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getRelevantDateFieldBuilder() {
if (relevantDateBuilder_ == null) {
relevantDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getRelevantDate(),
getParentForChildren(),
isClean());
relevantDate_ = null;
}
return relevantDateBuilder_;
}
private com.passkit.grpc.Billing.Quota quota_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Billing.Quota, com.passkit.grpc.Billing.Quota.Builder, com.passkit.grpc.Billing.QuotaOrBuilder> quotaBuilder_;
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
* @return Whether the quota field is set.
*/
public boolean hasQuota() {
return quotaBuilder_ != null || quota_ != null;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
* @return The quota.
*/
public com.passkit.grpc.Billing.Quota getQuota() {
if (quotaBuilder_ == null) {
return quota_ == null ? com.passkit.grpc.Billing.Quota.getDefaultInstance() : quota_;
} else {
return quotaBuilder_.getMessage();
}
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
public Builder setQuota(com.passkit.grpc.Billing.Quota value) {
if (quotaBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
quota_ = value;
onChanged();
} else {
quotaBuilder_.setMessage(value);
}
return this;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
public Builder setQuota(
com.passkit.grpc.Billing.Quota.Builder builderForValue) {
if (quotaBuilder_ == null) {
quota_ = builderForValue.build();
onChanged();
} else {
quotaBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
public Builder mergeQuota(com.passkit.grpc.Billing.Quota value) {
if (quotaBuilder_ == null) {
if (quota_ != null) {
quota_ =
com.passkit.grpc.Billing.Quota.newBuilder(quota_).mergeFrom(value).buildPartial();
} else {
quota_ = value;
}
onChanged();
} else {
quotaBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
public Builder clearQuota() {
if (quotaBuilder_ == null) {
quota_ = null;
onChanged();
} else {
quota_ = null;
quotaBuilder_ = null;
}
return this;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
public com.passkit.grpc.Billing.Quota.Builder getQuotaBuilder() {
onChanged();
return getQuotaFieldBuilder().getBuilder();
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
public com.passkit.grpc.Billing.QuotaOrBuilder getQuotaOrBuilder() {
if (quotaBuilder_ != null) {
return quotaBuilder_.getMessageOrBuilder();
} else {
return quota_ == null ?
com.passkit.grpc.Billing.Quota.getDefaultInstance() : quota_;
}
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Billing.Quota, com.passkit.grpc.Billing.Quota.Builder, com.passkit.grpc.Billing.QuotaOrBuilder>
getQuotaFieldBuilder() {
if (quotaBuilder_ == null) {
quotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Billing.Quota, com.passkit.grpc.Billing.Quota.Builder, com.passkit.grpc.Billing.QuotaOrBuilder>(
getQuota(),
getParentForChildren(),
isClean());
quota_ = null;
}
return quotaBuilder_;
}
private com.passkit.grpc.MetricsOuterClass.Metrics metrics_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.MetricsOuterClass.Metrics, com.passkit.grpc.MetricsOuterClass.Metrics.Builder, com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder> metricsBuilder_;
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return Whether the metrics field is set.
*/
public boolean hasMetrics() {
return metricsBuilder_ != null || metrics_ != null;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return The metrics.
*/
public com.passkit.grpc.MetricsOuterClass.Metrics getMetrics() {
if (metricsBuilder_ == null) {
return metrics_ == null ? com.passkit.grpc.MetricsOuterClass.Metrics.getDefaultInstance() : metrics_;
} else {
return metricsBuilder_.getMessage();
}
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
public Builder setMetrics(com.passkit.grpc.MetricsOuterClass.Metrics value) {
if (metricsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
metrics_ = value;
onChanged();
} else {
metricsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
public Builder setMetrics(
com.passkit.grpc.MetricsOuterClass.Metrics.Builder builderForValue) {
if (metricsBuilder_ == null) {
metrics_ = builderForValue.build();
onChanged();
} else {
metricsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
public Builder mergeMetrics(com.passkit.grpc.MetricsOuterClass.Metrics value) {
if (metricsBuilder_ == null) {
if (metrics_ != null) {
metrics_ =
com.passkit.grpc.MetricsOuterClass.Metrics.newBuilder(metrics_).mergeFrom(value).buildPartial();
} else {
metrics_ = value;
}
onChanged();
} else {
metricsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
public Builder clearMetrics() {
if (metricsBuilder_ == null) {
metrics_ = null;
onChanged();
} else {
metrics_ = null;
metricsBuilder_ = null;
}
return this;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
public com.passkit.grpc.MetricsOuterClass.Metrics.Builder getMetricsBuilder() {
onChanged();
return getMetricsFieldBuilder().getBuilder();
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
public com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder getMetricsOrBuilder() {
if (metricsBuilder_ != null) {
return metricsBuilder_.getMessageOrBuilder();
} else {
return metrics_ == null ?
com.passkit.grpc.MetricsOuterClass.Metrics.getDefaultInstance() : metrics_;
}
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.MetricsOuterClass.Metrics, com.passkit.grpc.MetricsOuterClass.Metrics.Builder, com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder>
getMetricsFieldBuilder() {
if (metricsBuilder_ == null) {
metricsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.MetricsOuterClass.Metrics, com.passkit.grpc.MetricsOuterClass.Metrics.Builder, com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder>(
getMetrics(),
getParentForChildren(),
isClean());
metrics_ = null;
}
return metricsBuilder_;
}
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 = 11 [(.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 = 11 [(.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 = 11 [(.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 = 11 [(.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 = 11 [(.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 = 11 [(.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 = 11 [(.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 = 11 [(.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 = 11 [(.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 = 12 [(.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 = 12 [(.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 = 12 [(.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 = 12 [(.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 = 12 [(.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 = 12 [(.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 = 12 [(.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 = 12 [(.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 = 12 [(.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.Event)
}
// @@protoc_insertion_point(class_scope:event_tickets.Event)
private static final com.passkit.grpc.EventTickets.EventOuterClass.Event DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.EventOuterClass.Event();
}
public static com.passkit.grpc.EventTickets.EventOuterClass.Event getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Event parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Event(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.EventOuterClass.Event getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface EventListRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:event_tickets.EventListRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @return The productionId.
*/
java.lang.String getProductionId();
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @return The bytes for productionId.
*/
com.google.protobuf.ByteString
getProductionIdBytes();
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @return The productionUid.
*/
java.lang.String getProductionUid();
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @return The bytes for productionUid.
*/
com.google.protobuf.ByteString
getProductionUidBytes();
/**
* string venueId = 3;
* @return The venueId.
*/
java.lang.String getVenueId();
/**
* string venueId = 3;
* @return The bytes for venueId.
*/
com.google.protobuf.ByteString
getVenueIdBytes();
/**
* .io.Filters filters = 4;
* @return Whether the filters field is set.
*/
boolean hasFilters();
/**
* .io.Filters filters = 4;
* @return The filters.
*/
com.passkit.grpc.Filter.Filters getFilters();
/**
* .io.Filters filters = 4;
*/
com.passkit.grpc.Filter.FiltersOrBuilder getFiltersOrBuilder();
public com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest.ProductionCase getProductionCase();
}
/**
* Protobuf type {@code event_tickets.EventListRequest}
*/
public static final class EventListRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:event_tickets.EventListRequest)
EventListRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use EventListRequest.newBuilder() to construct.
private EventListRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private EventListRequest() {
venueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new EventListRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EventListRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
productionCase_ = 1;
production_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
productionCase_ = 2;
production_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
venueId_ = s;
break;
}
case 34: {
com.passkit.grpc.Filter.Filters.Builder subBuilder = null;
if (filters_ != null) {
subBuilder = filters_.toBuilder();
}
filters_ = input.readMessage(com.passkit.grpc.Filter.Filters.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(filters_);
filters_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventListRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventListRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest.class, com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest.Builder.class);
}
private int productionCase_ = 0;
private java.lang.Object production_;
public enum ProductionCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
PRODUCTIONID(1),
PRODUCTIONUID(2),
PRODUCTION_NOT_SET(0);
private final int value;
private ProductionCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ProductionCase valueOf(int value) {
return forNumber(value);
}
public static ProductionCase forNumber(int value) {
switch (value) {
case 1: return PRODUCTIONID;
case 2: return PRODUCTIONUID;
case 0: return PRODUCTION_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ProductionCase
getProductionCase() {
return ProductionCase.forNumber(
productionCase_);
}
public static final int PRODUCTIONID_FIELD_NUMBER = 1;
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @return The productionId.
*/
public java.lang.String getProductionId() {
java.lang.Object ref = "";
if (productionCase_ == 1) {
ref = production_;
}
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (productionCase_ == 1) {
production_ = s;
}
return s;
}
}
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @return The bytes for productionId.
*/
public com.google.protobuf.ByteString
getProductionIdBytes() {
java.lang.Object ref = "";
if (productionCase_ == 1) {
ref = production_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (productionCase_ == 1) {
production_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCTIONUID_FIELD_NUMBER = 2;
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @return The productionUid.
*/
public java.lang.String getProductionUid() {
java.lang.Object ref = "";
if (productionCase_ == 2) {
ref = production_;
}
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (productionCase_ == 2) {
production_ = s;
}
return s;
}
}
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @return The bytes for productionUid.
*/
public com.google.protobuf.ByteString
getProductionUidBytes() {
java.lang.Object ref = "";
if (productionCase_ == 2) {
ref = production_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (productionCase_ == 2) {
production_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VENUEID_FIELD_NUMBER = 3;
private volatile java.lang.Object venueId_;
/**
* string venueId = 3;
* @return The venueId.
*/
@java.lang.Override
public java.lang.String getVenueId() {
java.lang.Object ref = venueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
venueId_ = s;
return s;
}
}
/**
* string venueId = 3;
* @return The bytes for venueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVenueIdBytes() {
java.lang.Object ref = venueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
venueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FILTERS_FIELD_NUMBER = 4;
private com.passkit.grpc.Filter.Filters filters_;
/**
* .io.Filters filters = 4;
* @return Whether the filters field is set.
*/
@java.lang.Override
public boolean hasFilters() {
return filters_ != null;
}
/**
* .io.Filters filters = 4;
* @return The filters.
*/
@java.lang.Override
public com.passkit.grpc.Filter.Filters getFilters() {
return filters_ == null ? com.passkit.grpc.Filter.Filters.getDefaultInstance() : filters_;
}
/**
* .io.Filters filters = 4;
*/
@java.lang.Override
public com.passkit.grpc.Filter.FiltersOrBuilder getFiltersOrBuilder() {
return getFilters();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (productionCase_ == 1) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, production_);
}
if (productionCase_ == 2) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, production_);
}
if (!getVenueIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, venueId_);
}
if (filters_ != null) {
output.writeMessage(4, getFilters());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (productionCase_ == 1) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, production_);
}
if (productionCase_ == 2) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, production_);
}
if (!getVenueIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, venueId_);
}
if (filters_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getFilters());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest)) {
return super.equals(obj);
}
com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest other = (com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest) obj;
if (!getVenueId()
.equals(other.getVenueId())) return false;
if (hasFilters() != other.hasFilters()) return false;
if (hasFilters()) {
if (!getFilters()
.equals(other.getFilters())) return false;
}
if (!getProductionCase().equals(other.getProductionCase())) return false;
switch (productionCase_) {
case 1:
if (!getProductionId()
.equals(other.getProductionId())) return false;
break;
case 2:
if (!getProductionUid()
.equals(other.getProductionUid())) return false;
break;
case 0:
default:
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + VENUEID_FIELD_NUMBER;
hash = (53 * hash) + getVenueId().hashCode();
if (hasFilters()) {
hash = (37 * hash) + FILTERS_FIELD_NUMBER;
hash = (53 * hash) + getFilters().hashCode();
}
switch (productionCase_) {
case 1:
hash = (37 * hash) + PRODUCTIONID_FIELD_NUMBER;
hash = (53 * hash) + getProductionId().hashCode();
break;
case 2:
hash = (37 * hash) + PRODUCTIONUID_FIELD_NUMBER;
hash = (53 * hash) + getProductionUid().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest 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.EventOuterClass.EventListRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest 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.EventOuterClass.EventListRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest 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.EventOuterClass.EventListRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest 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.EventOuterClass.EventListRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest 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.EventOuterClass.EventListRequest 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.EventListRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:event_tickets.EventListRequest)
com.passkit.grpc.EventTickets.EventOuterClass.EventListRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventListRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventListRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest.class, com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest.Builder.class);
}
// Construct using com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
venueId_ = "";
if (filtersBuilder_ == null) {
filters_ = null;
} else {
filters_ = null;
filtersBuilder_ = null;
}
productionCase_ = 0;
production_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventListRequest_descriptor;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest getDefaultInstanceForType() {
return com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest build() {
com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest buildPartial() {
com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest result = new com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest(this);
if (productionCase_ == 1) {
result.production_ = production_;
}
if (productionCase_ == 2) {
result.production_ = production_;
}
result.venueId_ = venueId_;
if (filtersBuilder_ == null) {
result.filters_ = filters_;
} else {
result.filters_ = filtersBuilder_.build();
}
result.productionCase_ = productionCase_;
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.EventOuterClass.EventListRequest) {
return mergeFrom((com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest other) {
if (other == com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest.getDefaultInstance()) return this;
if (!other.getVenueId().isEmpty()) {
venueId_ = other.venueId_;
onChanged();
}
if (other.hasFilters()) {
mergeFilters(other.getFilters());
}
switch (other.getProductionCase()) {
case PRODUCTIONID: {
productionCase_ = 1;
production_ = other.production_;
onChanged();
break;
}
case PRODUCTIONUID: {
productionCase_ = 2;
production_ = other.production_;
onChanged();
break;
}
case PRODUCTION_NOT_SET: {
break;
}
}
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.EventOuterClass.EventListRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int productionCase_ = 0;
private java.lang.Object production_;
public ProductionCase
getProductionCase() {
return ProductionCase.forNumber(
productionCase_);
}
public Builder clearProduction() {
productionCase_ = 0;
production_ = null;
onChanged();
return this;
}
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @return The productionId.
*/
@java.lang.Override
public java.lang.String getProductionId() {
java.lang.Object ref = "";
if (productionCase_ == 1) {
ref = production_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (productionCase_ == 1) {
production_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @return The bytes for productionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductionIdBytes() {
java.lang.Object ref = "";
if (productionCase_ == 1) {
ref = production_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (productionCase_ == 1) {
production_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @param value The productionId to set.
* @return This builder for chaining.
*/
public Builder setProductionId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
productionCase_ = 1;
production_ = value;
onChanged();
return this;
}
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @return This builder for chaining.
*/
public Builder clearProductionId() {
if (productionCase_ == 1) {
productionCase_ = 0;
production_ = null;
onChanged();
}
return this;
}
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @param value The bytes for productionId to set.
* @return This builder for chaining.
*/
public Builder setProductionIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
productionCase_ = 1;
production_ = value;
onChanged();
return this;
}
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @return The productionUid.
*/
@java.lang.Override
public java.lang.String getProductionUid() {
java.lang.Object ref = "";
if (productionCase_ == 2) {
ref = production_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (productionCase_ == 2) {
production_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @return The bytes for productionUid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductionUidBytes() {
java.lang.Object ref = "";
if (productionCase_ == 2) {
ref = production_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (productionCase_ == 2) {
production_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @param value The productionUid to set.
* @return This builder for chaining.
*/
public Builder setProductionUid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
productionCase_ = 2;
production_ = value;
onChanged();
return this;
}
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @return This builder for chaining.
*/
public Builder clearProductionUid() {
if (productionCase_ == 2) {
productionCase_ = 0;
production_ = null;
onChanged();
}
return this;
}
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @param value The bytes for productionUid to set.
* @return This builder for chaining.
*/
public Builder setProductionUidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
productionCase_ = 2;
production_ = value;
onChanged();
return this;
}
private java.lang.Object venueId_ = "";
/**
* string venueId = 3;
* @return The venueId.
*/
public java.lang.String getVenueId() {
java.lang.Object ref = venueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
venueId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string venueId = 3;
* @return The bytes for venueId.
*/
public com.google.protobuf.ByteString
getVenueIdBytes() {
java.lang.Object ref = venueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
venueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string venueId = 3;
* @param value The venueId to set.
* @return This builder for chaining.
*/
public Builder setVenueId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
venueId_ = value;
onChanged();
return this;
}
/**
* string venueId = 3;
* @return This builder for chaining.
*/
public Builder clearVenueId() {
venueId_ = getDefaultInstance().getVenueId();
onChanged();
return this;
}
/**
* string venueId = 3;
* @param value The bytes for venueId to set.
* @return This builder for chaining.
*/
public Builder setVenueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
venueId_ = value;
onChanged();
return this;
}
private com.passkit.grpc.Filter.Filters filters_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Filter.Filters, com.passkit.grpc.Filter.Filters.Builder, com.passkit.grpc.Filter.FiltersOrBuilder> filtersBuilder_;
/**
* .io.Filters filters = 4;
* @return Whether the filters field is set.
*/
public boolean hasFilters() {
return filtersBuilder_ != null || filters_ != null;
}
/**
* .io.Filters filters = 4;
* @return The filters.
*/
public com.passkit.grpc.Filter.Filters getFilters() {
if (filtersBuilder_ == null) {
return filters_ == null ? com.passkit.grpc.Filter.Filters.getDefaultInstance() : filters_;
} else {
return filtersBuilder_.getMessage();
}
}
/**
* .io.Filters filters = 4;
*/
public Builder setFilters(com.passkit.grpc.Filter.Filters value) {
if (filtersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
filters_ = value;
onChanged();
} else {
filtersBuilder_.setMessage(value);
}
return this;
}
/**
* .io.Filters filters = 4;
*/
public Builder setFilters(
com.passkit.grpc.Filter.Filters.Builder builderForValue) {
if (filtersBuilder_ == null) {
filters_ = builderForValue.build();
onChanged();
} else {
filtersBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .io.Filters filters = 4;
*/
public Builder mergeFilters(com.passkit.grpc.Filter.Filters value) {
if (filtersBuilder_ == null) {
if (filters_ != null) {
filters_ =
com.passkit.grpc.Filter.Filters.newBuilder(filters_).mergeFrom(value).buildPartial();
} else {
filters_ = value;
}
onChanged();
} else {
filtersBuilder_.mergeFrom(value);
}
return this;
}
/**
* .io.Filters filters = 4;
*/
public Builder clearFilters() {
if (filtersBuilder_ == null) {
filters_ = null;
onChanged();
} else {
filters_ = null;
filtersBuilder_ = null;
}
return this;
}
/**
* .io.Filters filters = 4;
*/
public com.passkit.grpc.Filter.Filters.Builder getFiltersBuilder() {
onChanged();
return getFiltersFieldBuilder().getBuilder();
}
/**
* .io.Filters filters = 4;
*/
public com.passkit.grpc.Filter.FiltersOrBuilder getFiltersOrBuilder() {
if (filtersBuilder_ != null) {
return filtersBuilder_.getMessageOrBuilder();
} else {
return filters_ == null ?
com.passkit.grpc.Filter.Filters.getDefaultInstance() : filters_;
}
}
/**
* .io.Filters filters = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Filter.Filters, com.passkit.grpc.Filter.Filters.Builder, com.passkit.grpc.Filter.FiltersOrBuilder>
getFiltersFieldBuilder() {
if (filtersBuilder_ == null) {
filtersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Filter.Filters, com.passkit.grpc.Filter.Filters.Builder, com.passkit.grpc.Filter.FiltersOrBuilder>(
getFilters(),
getParentForChildren(),
isClean());
filters_ = null;
}
return filtersBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:event_tickets.EventListRequest)
}
// @@protoc_insertion_point(class_scope:event_tickets.EventListRequest)
private static final com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest();
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public EventListRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EventListRequest(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.EventOuterClass.EventListRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetEventRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:event_tickets.GetEventRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @return The productionId.
*/
java.lang.String getProductionId();
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @return The bytes for productionId.
*/
com.google.protobuf.ByteString
getProductionIdBytes();
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @return The productionUid.
*/
java.lang.String getProductionUid();
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @return The bytes for productionUid.
*/
com.google.protobuf.ByteString
getProductionUidBytes();
/**
*
* Venue ID. Required if venueUid is not provided.
*
*
* string venueId = 3;
* @return The venueId.
*/
java.lang.String getVenueId();
/**
*
* Venue ID. Required if venueUid is not provided.
*
*
* string venueId = 3;
* @return The bytes for venueId.
*/
com.google.protobuf.ByteString
getVenueIdBytes();
/**
*
* Venue UID. Required if venueId is not provided.
*
*
* string venueUid = 4;
* @return The venueUid.
*/
java.lang.String getVenueUid();
/**
*
* Venue UID. Required if venueId is not provided.
*
*
* string venueUid = 4;
* @return The bytes for venueUid.
*/
com.google.protobuf.ByteString
getVenueUidBytes();
/**
*
* Event scheduled start date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return Whether the scheduledStartDate field is set.
*/
boolean hasScheduledStartDate();
/**
*
* Event scheduled start date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return The scheduledStartDate.
*/
com.google.protobuf.Timestamp getScheduledStartDate();
/**
*
* Event scheduled start date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder();
public com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest.ProductionCase getProductionCase();
public com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest.VenueCase getVenueCase();
}
/**
* Protobuf type {@code event_tickets.GetEventRequest}
*/
public static final class GetEventRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:event_tickets.GetEventRequest)
GetEventRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetEventRequest.newBuilder() to construct.
private GetEventRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetEventRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetEventRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetEventRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
productionCase_ = 1;
production_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
productionCase_ = 2;
production_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
venueCase_ = 3;
venue_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
venueCase_ = 4;
venue_ = s;
break;
}
case 42: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (scheduledStartDate_ != null) {
subBuilder = scheduledStartDate_.toBuilder();
}
scheduledStartDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(scheduledStartDate_);
scheduledStartDate_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_GetEventRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_GetEventRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest.class, com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest.Builder.class);
}
private int productionCase_ = 0;
private java.lang.Object production_;
public enum ProductionCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
PRODUCTIONID(1),
PRODUCTIONUID(2),
PRODUCTION_NOT_SET(0);
private final int value;
private ProductionCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ProductionCase valueOf(int value) {
return forNumber(value);
}
public static ProductionCase forNumber(int value) {
switch (value) {
case 1: return PRODUCTIONID;
case 2: return PRODUCTIONUID;
case 0: return PRODUCTION_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ProductionCase
getProductionCase() {
return ProductionCase.forNumber(
productionCase_);
}
private int venueCase_ = 0;
private java.lang.Object venue_;
public enum VenueCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
VENUEID(3),
VENUEUID(4),
VENUE_NOT_SET(0);
private final int value;
private VenueCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static VenueCase valueOf(int value) {
return forNumber(value);
}
public static VenueCase forNumber(int value) {
switch (value) {
case 3: return VENUEID;
case 4: return VENUEUID;
case 0: return VENUE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public VenueCase
getVenueCase() {
return VenueCase.forNumber(
venueCase_);
}
public static final int PRODUCTIONID_FIELD_NUMBER = 1;
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @return The productionId.
*/
public java.lang.String getProductionId() {
java.lang.Object ref = "";
if (productionCase_ == 1) {
ref = production_;
}
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (productionCase_ == 1) {
production_ = s;
}
return s;
}
}
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @return The bytes for productionId.
*/
public com.google.protobuf.ByteString
getProductionIdBytes() {
java.lang.Object ref = "";
if (productionCase_ == 1) {
ref = production_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (productionCase_ == 1) {
production_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCTIONUID_FIELD_NUMBER = 2;
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @return The productionUid.
*/
public java.lang.String getProductionUid() {
java.lang.Object ref = "";
if (productionCase_ == 2) {
ref = production_;
}
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (productionCase_ == 2) {
production_ = s;
}
return s;
}
}
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @return The bytes for productionUid.
*/
public com.google.protobuf.ByteString
getProductionUidBytes() {
java.lang.Object ref = "";
if (productionCase_ == 2) {
ref = production_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (productionCase_ == 2) {
production_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VENUEID_FIELD_NUMBER = 3;
/**
*
* Venue ID. Required if venueUid is not provided.
*
*
* string venueId = 3;
* @return The venueId.
*/
public java.lang.String getVenueId() {
java.lang.Object ref = "";
if (venueCase_ == 3) {
ref = venue_;
}
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (venueCase_ == 3) {
venue_ = s;
}
return s;
}
}
/**
*
* Venue ID. Required if venueUid is not provided.
*
*
* string venueId = 3;
* @return The bytes for venueId.
*/
public com.google.protobuf.ByteString
getVenueIdBytes() {
java.lang.Object ref = "";
if (venueCase_ == 3) {
ref = venue_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (venueCase_ == 3) {
venue_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VENUEUID_FIELD_NUMBER = 4;
/**
*
* Venue UID. Required if venueId is not provided.
*
*
* string venueUid = 4;
* @return The venueUid.
*/
public java.lang.String getVenueUid() {
java.lang.Object ref = "";
if (venueCase_ == 4) {
ref = venue_;
}
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (venueCase_ == 4) {
venue_ = s;
}
return s;
}
}
/**
*
* Venue UID. Required if venueId is not provided.
*
*
* string venueUid = 4;
* @return The bytes for venueUid.
*/
public com.google.protobuf.ByteString
getVenueUidBytes() {
java.lang.Object ref = "";
if (venueCase_ == 4) {
ref = venue_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (venueCase_ == 4) {
venue_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SCHEDULEDSTARTDATE_FIELD_NUMBER = 5;
private com.google.protobuf.Timestamp scheduledStartDate_;
/**
*
* Event scheduled start date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return Whether the scheduledStartDate field is set.
*/
@java.lang.Override
public boolean hasScheduledStartDate() {
return scheduledStartDate_ != null;
}
/**
*
* Event scheduled start date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return The scheduledStartDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getScheduledStartDate() {
return scheduledStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_;
}
/**
*
* Event scheduled start date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder() {
return getScheduledStartDate();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (productionCase_ == 1) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, production_);
}
if (productionCase_ == 2) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, production_);
}
if (venueCase_ == 3) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, venue_);
}
if (venueCase_ == 4) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, venue_);
}
if (scheduledStartDate_ != null) {
output.writeMessage(5, getScheduledStartDate());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (productionCase_ == 1) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, production_);
}
if (productionCase_ == 2) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, production_);
}
if (venueCase_ == 3) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, venue_);
}
if (venueCase_ == 4) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, venue_);
}
if (scheduledStartDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getScheduledStartDate());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest)) {
return super.equals(obj);
}
com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest other = (com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest) obj;
if (hasScheduledStartDate() != other.hasScheduledStartDate()) return false;
if (hasScheduledStartDate()) {
if (!getScheduledStartDate()
.equals(other.getScheduledStartDate())) return false;
}
if (!getProductionCase().equals(other.getProductionCase())) return false;
switch (productionCase_) {
case 1:
if (!getProductionId()
.equals(other.getProductionId())) return false;
break;
case 2:
if (!getProductionUid()
.equals(other.getProductionUid())) return false;
break;
case 0:
default:
}
if (!getVenueCase().equals(other.getVenueCase())) return false;
switch (venueCase_) {
case 3:
if (!getVenueId()
.equals(other.getVenueId())) return false;
break;
case 4:
if (!getVenueUid()
.equals(other.getVenueUid())) return false;
break;
case 0:
default:
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasScheduledStartDate()) {
hash = (37 * hash) + SCHEDULEDSTARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getScheduledStartDate().hashCode();
}
switch (productionCase_) {
case 1:
hash = (37 * hash) + PRODUCTIONID_FIELD_NUMBER;
hash = (53 * hash) + getProductionId().hashCode();
break;
case 2:
hash = (37 * hash) + PRODUCTIONUID_FIELD_NUMBER;
hash = (53 * hash) + getProductionUid().hashCode();
break;
case 0:
default:
}
switch (venueCase_) {
case 3:
hash = (37 * hash) + VENUEID_FIELD_NUMBER;
hash = (53 * hash) + getVenueId().hashCode();
break;
case 4:
hash = (37 * hash) + VENUEUID_FIELD_NUMBER;
hash = (53 * hash) + getVenueUid().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest 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.EventOuterClass.GetEventRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest 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.EventOuterClass.GetEventRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest 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.EventOuterClass.GetEventRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest 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.EventOuterClass.GetEventRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest 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.EventOuterClass.GetEventRequest 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.GetEventRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:event_tickets.GetEventRequest)
com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_GetEventRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_GetEventRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest.class, com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest.Builder.class);
}
// Construct using com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (scheduledStartDateBuilder_ == null) {
scheduledStartDate_ = null;
} else {
scheduledStartDate_ = null;
scheduledStartDateBuilder_ = null;
}
productionCase_ = 0;
production_ = null;
venueCase_ = 0;
venue_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_GetEventRequest_descriptor;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest getDefaultInstanceForType() {
return com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest build() {
com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest buildPartial() {
com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest result = new com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest(this);
if (productionCase_ == 1) {
result.production_ = production_;
}
if (productionCase_ == 2) {
result.production_ = production_;
}
if (venueCase_ == 3) {
result.venue_ = venue_;
}
if (venueCase_ == 4) {
result.venue_ = venue_;
}
if (scheduledStartDateBuilder_ == null) {
result.scheduledStartDate_ = scheduledStartDate_;
} else {
result.scheduledStartDate_ = scheduledStartDateBuilder_.build();
}
result.productionCase_ = productionCase_;
result.venueCase_ = venueCase_;
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.EventOuterClass.GetEventRequest) {
return mergeFrom((com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest other) {
if (other == com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest.getDefaultInstance()) return this;
if (other.hasScheduledStartDate()) {
mergeScheduledStartDate(other.getScheduledStartDate());
}
switch (other.getProductionCase()) {
case PRODUCTIONID: {
productionCase_ = 1;
production_ = other.production_;
onChanged();
break;
}
case PRODUCTIONUID: {
productionCase_ = 2;
production_ = other.production_;
onChanged();
break;
}
case PRODUCTION_NOT_SET: {
break;
}
}
switch (other.getVenueCase()) {
case VENUEID: {
venueCase_ = 3;
venue_ = other.venue_;
onChanged();
break;
}
case VENUEUID: {
venueCase_ = 4;
venue_ = other.venue_;
onChanged();
break;
}
case VENUE_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int productionCase_ = 0;
private java.lang.Object production_;
public ProductionCase
getProductionCase() {
return ProductionCase.forNumber(
productionCase_);
}
public Builder clearProduction() {
productionCase_ = 0;
production_ = null;
onChanged();
return this;
}
private int venueCase_ = 0;
private java.lang.Object venue_;
public VenueCase
getVenueCase() {
return VenueCase.forNumber(
venueCase_);
}
public Builder clearVenue() {
venueCase_ = 0;
venue_ = null;
onChanged();
return this;
}
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @return The productionId.
*/
@java.lang.Override
public java.lang.String getProductionId() {
java.lang.Object ref = "";
if (productionCase_ == 1) {
ref = production_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (productionCase_ == 1) {
production_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @return The bytes for productionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductionIdBytes() {
java.lang.Object ref = "";
if (productionCase_ == 1) {
ref = production_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (productionCase_ == 1) {
production_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @param value The productionId to set.
* @return This builder for chaining.
*/
public Builder setProductionId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
productionCase_ = 1;
production_ = value;
onChanged();
return this;
}
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @return This builder for chaining.
*/
public Builder clearProductionId() {
if (productionCase_ == 1) {
productionCase_ = 0;
production_ = null;
onChanged();
}
return this;
}
/**
*
* Production ID. Required if productionUid is not provided.
*
*
* string productionId = 1;
* @param value The bytes for productionId to set.
* @return This builder for chaining.
*/
public Builder setProductionIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
productionCase_ = 1;
production_ = value;
onChanged();
return this;
}
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @return The productionUid.
*/
@java.lang.Override
public java.lang.String getProductionUid() {
java.lang.Object ref = "";
if (productionCase_ == 2) {
ref = production_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (productionCase_ == 2) {
production_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @return The bytes for productionUid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductionUidBytes() {
java.lang.Object ref = "";
if (productionCase_ == 2) {
ref = production_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (productionCase_ == 2) {
production_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @param value The productionUid to set.
* @return This builder for chaining.
*/
public Builder setProductionUid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
productionCase_ = 2;
production_ = value;
onChanged();
return this;
}
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @return This builder for chaining.
*/
public Builder clearProductionUid() {
if (productionCase_ == 2) {
productionCase_ = 0;
production_ = null;
onChanged();
}
return this;
}
/**
*
* Production UID. Required if productionId is not provided.
*
*
* string productionUid = 2;
* @param value The bytes for productionUid to set.
* @return This builder for chaining.
*/
public Builder setProductionUidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
productionCase_ = 2;
production_ = value;
onChanged();
return this;
}
/**
*
* Venue ID. Required if venueUid is not provided.
*
*
* string venueId = 3;
* @return The venueId.
*/
@java.lang.Override
public java.lang.String getVenueId() {
java.lang.Object ref = "";
if (venueCase_ == 3) {
ref = venue_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (venueCase_ == 3) {
venue_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Venue ID. Required if venueUid is not provided.
*
*
* string venueId = 3;
* @return The bytes for venueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVenueIdBytes() {
java.lang.Object ref = "";
if (venueCase_ == 3) {
ref = venue_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (venueCase_ == 3) {
venue_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Venue ID. Required if venueUid is not provided.
*
*
* string venueId = 3;
* @param value The venueId to set.
* @return This builder for chaining.
*/
public Builder setVenueId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
venueCase_ = 3;
venue_ = value;
onChanged();
return this;
}
/**
*
* Venue ID. Required if venueUid is not provided.
*
*
* string venueId = 3;
* @return This builder for chaining.
*/
public Builder clearVenueId() {
if (venueCase_ == 3) {
venueCase_ = 0;
venue_ = null;
onChanged();
}
return this;
}
/**
*
* Venue ID. Required if venueUid is not provided.
*
*
* string venueId = 3;
* @param value The bytes for venueId to set.
* @return This builder for chaining.
*/
public Builder setVenueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
venueCase_ = 3;
venue_ = value;
onChanged();
return this;
}
/**
*
* Venue UID. Required if venueId is not provided.
*
*
* string venueUid = 4;
* @return The venueUid.
*/
@java.lang.Override
public java.lang.String getVenueUid() {
java.lang.Object ref = "";
if (venueCase_ == 4) {
ref = venue_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (venueCase_ == 4) {
venue_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Venue UID. Required if venueId is not provided.
*
*
* string venueUid = 4;
* @return The bytes for venueUid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVenueUidBytes() {
java.lang.Object ref = "";
if (venueCase_ == 4) {
ref = venue_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (venueCase_ == 4) {
venue_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Venue UID. Required if venueId is not provided.
*
*
* string venueUid = 4;
* @param value The venueUid to set.
* @return This builder for chaining.
*/
public Builder setVenueUid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
venueCase_ = 4;
venue_ = value;
onChanged();
return this;
}
/**
*
* Venue UID. Required if venueId is not provided.
*
*
* string venueUid = 4;
* @return This builder for chaining.
*/
public Builder clearVenueUid() {
if (venueCase_ == 4) {
venueCase_ = 0;
venue_ = null;
onChanged();
}
return this;
}
/**
*
* Venue UID. Required if venueId is not provided.
*
*
* string venueUid = 4;
* @param value The bytes for venueUid to set.
* @return This builder for chaining.
*/
public Builder setVenueUidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
venueCase_ = 4;
venue_ = value;
onChanged();
return this;
}
private com.google.protobuf.Timestamp scheduledStartDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduledStartDateBuilder_;
/**
*
* Event scheduled start date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return Whether the scheduledStartDate field is set.
*/
public boolean hasScheduledStartDate() {
return scheduledStartDateBuilder_ != null || scheduledStartDate_ != null;
}
/**
*
* Event scheduled start date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return The scheduledStartDate.
*/
public com.google.protobuf.Timestamp getScheduledStartDate() {
if (scheduledStartDateBuilder_ == null) {
return scheduledStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_;
} else {
return scheduledStartDateBuilder_.getMessage();
}
}
/**
*
* Event scheduled start date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public Builder setScheduledStartDate(com.google.protobuf.Timestamp value) {
if (scheduledStartDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
scheduledStartDate_ = value;
onChanged();
} else {
scheduledStartDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* Event scheduled start date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public Builder setScheduledStartDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (scheduledStartDateBuilder_ == null) {
scheduledStartDate_ = builderForValue.build();
onChanged();
} else {
scheduledStartDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Event scheduled start date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public Builder mergeScheduledStartDate(com.google.protobuf.Timestamp value) {
if (scheduledStartDateBuilder_ == null) {
if (scheduledStartDate_ != null) {
scheduledStartDate_ =
com.google.protobuf.Timestamp.newBuilder(scheduledStartDate_).mergeFrom(value).buildPartial();
} else {
scheduledStartDate_ = value;
}
onChanged();
} else {
scheduledStartDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Event scheduled start date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public Builder clearScheduledStartDate() {
if (scheduledStartDateBuilder_ == null) {
scheduledStartDate_ = null;
onChanged();
} else {
scheduledStartDate_ = null;
scheduledStartDateBuilder_ = null;
}
return this;
}
/**
*
* Event scheduled start date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public com.google.protobuf.Timestamp.Builder getScheduledStartDateBuilder() {
onChanged();
return getScheduledStartDateFieldBuilder().getBuilder();
}
/**
*
* Event scheduled start date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder() {
if (scheduledStartDateBuilder_ != null) {
return scheduledStartDateBuilder_.getMessageOrBuilder();
} else {
return scheduledStartDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_;
}
}
/**
*
* Event scheduled start date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getScheduledStartDateFieldBuilder() {
if (scheduledStartDateBuilder_ == null) {
scheduledStartDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getScheduledStartDate(),
getParentForChildren(),
isClean());
scheduledStartDate_ = null;
}
return scheduledStartDateBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:event_tickets.GetEventRequest)
}
// @@protoc_insertion_point(class_scope:event_tickets.GetEventRequest)
private static final com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest();
}
public static com.passkit.grpc.EventTickets.EventOuterClass.GetEventRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetEventRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetEventRequest(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.EventOuterClass.GetEventRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface EventLimitedFieldsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:event_tickets.EventLimitedFieldsResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* PassKit generated event id (22 characters).
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* PassKit generated event id (22 characters).
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 2;
* @return Whether the scheduledStartDate field is set.
*/
boolean hasScheduledStartDate();
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 2;
* @return The scheduledStartDate.
*/
com.google.protobuf.Timestamp getScheduledStartDate();
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 2;
*/
com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder();
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 3;
* @return Whether the actualStartDate field is set.
*/
boolean hasActualStartDate();
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 3;
* @return The actualStartDate.
*/
com.google.protobuf.Timestamp getActualStartDate();
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 3;
*/
com.google.protobuf.TimestampOrBuilder getActualStartDateOrBuilder();
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 4;
* @return Whether the endDate field is set.
*/
boolean hasEndDate();
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 4;
* @return The endDate.
*/
com.google.protobuf.Timestamp getEndDate();
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 4;
*/
com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder();
}
/**
* Protobuf type {@code event_tickets.EventLimitedFieldsResponse}
*/
public static final class EventLimitedFieldsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:event_tickets.EventLimitedFieldsResponse)
EventLimitedFieldsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use EventLimitedFieldsResponse.newBuilder() to construct.
private EventLimitedFieldsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private EventLimitedFieldsResponse() {
id_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new EventLimitedFieldsResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EventLimitedFieldsResponse(
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: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (scheduledStartDate_ != null) {
subBuilder = scheduledStartDate_.toBuilder();
}
scheduledStartDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(scheduledStartDate_);
scheduledStartDate_ = subBuilder.buildPartial();
}
break;
}
case 26: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (actualStartDate_ != null) {
subBuilder = actualStartDate_.toBuilder();
}
actualStartDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(actualStartDate_);
actualStartDate_ = subBuilder.buildPartial();
}
break;
}
case 34: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (endDate_ != null) {
subBuilder = endDate_.toBuilder();
}
endDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(endDate_);
endDate_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventLimitedFieldsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventLimitedFieldsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.class, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
*
* PassKit generated event 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 event 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 SCHEDULEDSTARTDATE_FIELD_NUMBER = 2;
private com.google.protobuf.Timestamp scheduledStartDate_;
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 2;
* @return Whether the scheduledStartDate field is set.
*/
@java.lang.Override
public boolean hasScheduledStartDate() {
return scheduledStartDate_ != null;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 2;
* @return The scheduledStartDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getScheduledStartDate() {
return scheduledStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 2;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder() {
return getScheduledStartDate();
}
public static final int ACTUALSTARTDATE_FIELD_NUMBER = 3;
private com.google.protobuf.Timestamp actualStartDate_;
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 3;
* @return Whether the actualStartDate field is set.
*/
@java.lang.Override
public boolean hasActualStartDate() {
return actualStartDate_ != null;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 3;
* @return The actualStartDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getActualStartDate() {
return actualStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : actualStartDate_;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 3;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getActualStartDateOrBuilder() {
return getActualStartDate();
}
public static final int ENDDATE_FIELD_NUMBER = 4;
private com.google.protobuf.Timestamp endDate_;
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 4;
* @return Whether the endDate field is set.
*/
@java.lang.Override
public boolean hasEndDate() {
return endDate_ != null;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 4;
* @return The endDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getEndDate() {
return endDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endDate_;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 4;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder() {
return getEndDate();
}
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 (scheduledStartDate_ != null) {
output.writeMessage(2, getScheduledStartDate());
}
if (actualStartDate_ != null) {
output.writeMessage(3, getActualStartDate());
}
if (endDate_ != null) {
output.writeMessage(4, getEndDate());
}
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 (scheduledStartDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getScheduledStartDate());
}
if (actualStartDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getActualStartDate());
}
if (endDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getEndDate());
}
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.EventOuterClass.EventLimitedFieldsResponse)) {
return super.equals(obj);
}
com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse other = (com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse) obj;
if (!getId()
.equals(other.getId())) return false;
if (hasScheduledStartDate() != other.hasScheduledStartDate()) return false;
if (hasScheduledStartDate()) {
if (!getScheduledStartDate()
.equals(other.getScheduledStartDate())) return false;
}
if (hasActualStartDate() != other.hasActualStartDate()) return false;
if (hasActualStartDate()) {
if (!getActualStartDate()
.equals(other.getActualStartDate())) return false;
}
if (hasEndDate() != other.hasEndDate()) return false;
if (hasEndDate()) {
if (!getEndDate()
.equals(other.getEndDate())) 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();
if (hasScheduledStartDate()) {
hash = (37 * hash) + SCHEDULEDSTARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getScheduledStartDate().hashCode();
}
if (hasActualStartDate()) {
hash = (37 * hash) + ACTUALSTARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getActualStartDate().hashCode();
}
if (hasEndDate()) {
hash = (37 * hash) + ENDDATE_FIELD_NUMBER;
hash = (53 * hash) + getEndDate().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse 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.EventOuterClass.EventLimitedFieldsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse 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.EventOuterClass.EventLimitedFieldsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse 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.EventOuterClass.EventLimitedFieldsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse 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.EventOuterClass.EventLimitedFieldsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse 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.EventOuterClass.EventLimitedFieldsResponse 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.EventLimitedFieldsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:event_tickets.EventLimitedFieldsResponse)
com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventLimitedFieldsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventLimitedFieldsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.class, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.Builder.class);
}
// Construct using com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.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_ = "";
if (scheduledStartDateBuilder_ == null) {
scheduledStartDate_ = null;
} else {
scheduledStartDate_ = null;
scheduledStartDateBuilder_ = null;
}
if (actualStartDateBuilder_ == null) {
actualStartDate_ = null;
} else {
actualStartDate_ = null;
actualStartDateBuilder_ = null;
}
if (endDateBuilder_ == null) {
endDate_ = null;
} else {
endDate_ = null;
endDateBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventLimitedFieldsResponse_descriptor;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse getDefaultInstanceForType() {
return com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse build() {
com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse buildPartial() {
com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse result = new com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse(this);
result.id_ = id_;
if (scheduledStartDateBuilder_ == null) {
result.scheduledStartDate_ = scheduledStartDate_;
} else {
result.scheduledStartDate_ = scheduledStartDateBuilder_.build();
}
if (actualStartDateBuilder_ == null) {
result.actualStartDate_ = actualStartDate_;
} else {
result.actualStartDate_ = actualStartDateBuilder_.build();
}
if (endDateBuilder_ == null) {
result.endDate_ = endDate_;
} else {
result.endDate_ = endDateBuilder_.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.EventOuterClass.EventLimitedFieldsResponse) {
return mergeFrom((com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse other) {
if (other == com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (other.hasScheduledStartDate()) {
mergeScheduledStartDate(other.getScheduledStartDate());
}
if (other.hasActualStartDate()) {
mergeActualStartDate(other.getActualStartDate());
}
if (other.hasEndDate()) {
mergeEndDate(other.getEndDate());
}
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.EventOuterClass.EventLimitedFieldsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object id_ = "";
/**
*
* PassKit generated event 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 event 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 event 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 event id (22 characters).
*
*
* string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
*
* PassKit generated event 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 com.google.protobuf.Timestamp scheduledStartDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduledStartDateBuilder_;
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 2;
* @return Whether the scheduledStartDate field is set.
*/
public boolean hasScheduledStartDate() {
return scheduledStartDateBuilder_ != null || scheduledStartDate_ != null;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 2;
* @return The scheduledStartDate.
*/
public com.google.protobuf.Timestamp getScheduledStartDate() {
if (scheduledStartDateBuilder_ == null) {
return scheduledStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_;
} else {
return scheduledStartDateBuilder_.getMessage();
}
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 2;
*/
public Builder setScheduledStartDate(com.google.protobuf.Timestamp value) {
if (scheduledStartDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
scheduledStartDate_ = value;
onChanged();
} else {
scheduledStartDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 2;
*/
public Builder setScheduledStartDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (scheduledStartDateBuilder_ == null) {
scheduledStartDate_ = builderForValue.build();
onChanged();
} else {
scheduledStartDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 2;
*/
public Builder mergeScheduledStartDate(com.google.protobuf.Timestamp value) {
if (scheduledStartDateBuilder_ == null) {
if (scheduledStartDate_ != null) {
scheduledStartDate_ =
com.google.protobuf.Timestamp.newBuilder(scheduledStartDate_).mergeFrom(value).buildPartial();
} else {
scheduledStartDate_ = value;
}
onChanged();
} else {
scheduledStartDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 2;
*/
public Builder clearScheduledStartDate() {
if (scheduledStartDateBuilder_ == null) {
scheduledStartDate_ = null;
onChanged();
} else {
scheduledStartDate_ = null;
scheduledStartDateBuilder_ = null;
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 2;
*/
public com.google.protobuf.Timestamp.Builder getScheduledStartDateBuilder() {
onChanged();
return getScheduledStartDateFieldBuilder().getBuilder();
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 2;
*/
public com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder() {
if (scheduledStartDateBuilder_ != null) {
return scheduledStartDateBuilder_.getMessageOrBuilder();
} else {
return scheduledStartDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_;
}
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getScheduledStartDateFieldBuilder() {
if (scheduledStartDateBuilder_ == null) {
scheduledStartDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getScheduledStartDate(),
getParentForChildren(),
isClean());
scheduledStartDate_ = null;
}
return scheduledStartDateBuilder_;
}
private com.google.protobuf.Timestamp actualStartDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> actualStartDateBuilder_;
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 3;
* @return Whether the actualStartDate field is set.
*/
public boolean hasActualStartDate() {
return actualStartDateBuilder_ != null || actualStartDate_ != null;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 3;
* @return The actualStartDate.
*/
public com.google.protobuf.Timestamp getActualStartDate() {
if (actualStartDateBuilder_ == null) {
return actualStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : actualStartDate_;
} else {
return actualStartDateBuilder_.getMessage();
}
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 3;
*/
public Builder setActualStartDate(com.google.protobuf.Timestamp value) {
if (actualStartDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
actualStartDate_ = value;
onChanged();
} else {
actualStartDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 3;
*/
public Builder setActualStartDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (actualStartDateBuilder_ == null) {
actualStartDate_ = builderForValue.build();
onChanged();
} else {
actualStartDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 3;
*/
public Builder mergeActualStartDate(com.google.protobuf.Timestamp value) {
if (actualStartDateBuilder_ == null) {
if (actualStartDate_ != null) {
actualStartDate_ =
com.google.protobuf.Timestamp.newBuilder(actualStartDate_).mergeFrom(value).buildPartial();
} else {
actualStartDate_ = value;
}
onChanged();
} else {
actualStartDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 3;
*/
public Builder clearActualStartDate() {
if (actualStartDateBuilder_ == null) {
actualStartDate_ = null;
onChanged();
} else {
actualStartDate_ = null;
actualStartDateBuilder_ = null;
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 3;
*/
public com.google.protobuf.Timestamp.Builder getActualStartDateBuilder() {
onChanged();
return getActualStartDateFieldBuilder().getBuilder();
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 3;
*/
public com.google.protobuf.TimestampOrBuilder getActualStartDateOrBuilder() {
if (actualStartDateBuilder_ != null) {
return actualStartDateBuilder_.getMessageOrBuilder();
} else {
return actualStartDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : actualStartDate_;
}
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getActualStartDateFieldBuilder() {
if (actualStartDateBuilder_ == null) {
actualStartDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getActualStartDate(),
getParentForChildren(),
isClean());
actualStartDate_ = null;
}
return actualStartDateBuilder_;
}
private com.google.protobuf.Timestamp endDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endDateBuilder_;
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 4;
* @return Whether the endDate field is set.
*/
public boolean hasEndDate() {
return endDateBuilder_ != null || endDate_ != null;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 4;
* @return The endDate.
*/
public com.google.protobuf.Timestamp getEndDate() {
if (endDateBuilder_ == null) {
return endDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endDate_;
} else {
return endDateBuilder_.getMessage();
}
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 4;
*/
public Builder setEndDate(com.google.protobuf.Timestamp value) {
if (endDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
endDate_ = value;
onChanged();
} else {
endDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 4;
*/
public Builder setEndDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (endDateBuilder_ == null) {
endDate_ = builderForValue.build();
onChanged();
} else {
endDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 4;
*/
public Builder mergeEndDate(com.google.protobuf.Timestamp value) {
if (endDateBuilder_ == null) {
if (endDate_ != null) {
endDate_ =
com.google.protobuf.Timestamp.newBuilder(endDate_).mergeFrom(value).buildPartial();
} else {
endDate_ = value;
}
onChanged();
} else {
endDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 4;
*/
public Builder clearEndDate() {
if (endDateBuilder_ == null) {
endDate_ = null;
onChanged();
} else {
endDate_ = null;
endDateBuilder_ = null;
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 4;
*/
public com.google.protobuf.Timestamp.Builder getEndDateBuilder() {
onChanged();
return getEndDateFieldBuilder().getBuilder();
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 4;
*/
public com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder() {
if (endDateBuilder_ != null) {
return endDateBuilder_.getMessageOrBuilder();
} else {
return endDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : endDate_;
}
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getEndDateFieldBuilder() {
if (endDateBuilder_ == null) {
endDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getEndDate(),
getParentForChildren(),
isClean());
endDate_ = null;
}
return endDateBuilder_;
}
@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.EventLimitedFieldsResponse)
}
// @@protoc_insertion_point(class_scope:event_tickets.EventLimitedFieldsResponse)
private static final com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse();
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public EventLimitedFieldsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EventLimitedFieldsResponse(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.EventOuterClass.EventLimitedFieldsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface EventLimitedFieldsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:event_tickets.EventLimitedFieldsRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* PassKit generated production id (22 characters).
*
*
* string productionId = 1;
* @return The productionId.
*/
java.lang.String getProductionId();
/**
*
* PassKit generated production id (22 characters).
*
*
* string productionId = 1;
* @return The bytes for productionId.
*/
com.google.protobuf.ByteString
getProductionIdBytes();
/**
*
* PassKit generated venue id (22 characters).
*
*
* string venueId = 2;
* @return The venueId.
*/
java.lang.String getVenueId();
/**
*
* PassKit generated venue id (22 characters).
*
*
* string venueId = 2;
* @return The bytes for venueId.
*/
com.google.protobuf.ByteString
getVenueIdBytes();
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 3;
* @return Whether the doorsOpen field is set.
*/
boolean hasDoorsOpen();
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 3;
* @return The doorsOpen.
*/
com.google.protobuf.Timestamp getDoorsOpen();
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 3;
*/
com.google.protobuf.TimestampOrBuilder getDoorsOpenOrBuilder();
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 4;
* @return Whether the scheduledStartDate field is set.
*/
boolean hasScheduledStartDate();
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 4;
* @return The scheduledStartDate.
*/
com.google.protobuf.Timestamp getScheduledStartDate();
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 4;
*/
com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder();
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 5;
* @return Whether the actualStartDate field is set.
*/
boolean hasActualStartDate();
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 5;
* @return The actualStartDate.
*/
com.google.protobuf.Timestamp getActualStartDate();
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 5;
*/
com.google.protobuf.TimestampOrBuilder getActualStartDateOrBuilder();
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 6;
* @return Whether the endDate field is set.
*/
boolean hasEndDate();
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 6;
* @return The endDate.
*/
com.google.protobuf.Timestamp getEndDate();
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 6;
*/
com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder();
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 7;
* @return Whether the relevantDate field is set.
*/
boolean hasRelevantDate();
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 7;
* @return The relevantDate.
*/
com.google.protobuf.Timestamp getRelevantDate();
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 7;
*/
com.google.protobuf.TimestampOrBuilder getRelevantDateOrBuilder();
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 8;
* @return Whether the quota field is set.
*/
boolean hasQuota();
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 8;
* @return The quota.
*/
com.passkit.grpc.Billing.Quota getQuota();
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 8;
*/
com.passkit.grpc.Billing.QuotaOrBuilder getQuotaOrBuilder();
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 9;
* @return Whether the metrics field is set.
*/
boolean hasMetrics();
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 9;
* @return The metrics.
*/
com.passkit.grpc.MetricsOuterClass.Metrics getMetrics();
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 9;
*/
com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder getMetricsOrBuilder();
/**
*
* The date the event was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 10;
* @return Whether the created field is set.
*/
boolean hasCreated();
/**
*
* The date the event was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 10;
* @return The created.
*/
com.google.protobuf.Timestamp getCreated();
/**
*
* The date the event was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 10;
*/
com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder();
/**
*
* The date the event updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 11;
* @return Whether the updated field is set.
*/
boolean hasUpdated();
/**
*
* The date the event updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 11;
* @return The updated.
*/
com.google.protobuf.Timestamp getUpdated();
/**
*
* The date the event updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 11;
*/
com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder();
}
/**
* Protobuf type {@code event_tickets.EventLimitedFieldsRequest}
*/
public static final class EventLimitedFieldsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:event_tickets.EventLimitedFieldsRequest)
EventLimitedFieldsRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use EventLimitedFieldsRequest.newBuilder() to construct.
private EventLimitedFieldsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private EventLimitedFieldsRequest() {
productionId_ = "";
venueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new EventLimitedFieldsRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EventLimitedFieldsRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
productionId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
venueId_ = s;
break;
}
case 26: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (doorsOpen_ != null) {
subBuilder = doorsOpen_.toBuilder();
}
doorsOpen_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(doorsOpen_);
doorsOpen_ = subBuilder.buildPartial();
}
break;
}
case 34: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (scheduledStartDate_ != null) {
subBuilder = scheduledStartDate_.toBuilder();
}
scheduledStartDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(scheduledStartDate_);
scheduledStartDate_ = subBuilder.buildPartial();
}
break;
}
case 42: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (actualStartDate_ != null) {
subBuilder = actualStartDate_.toBuilder();
}
actualStartDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(actualStartDate_);
actualStartDate_ = subBuilder.buildPartial();
}
break;
}
case 50: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (endDate_ != null) {
subBuilder = endDate_.toBuilder();
}
endDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(endDate_);
endDate_ = subBuilder.buildPartial();
}
break;
}
case 58: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (relevantDate_ != null) {
subBuilder = relevantDate_.toBuilder();
}
relevantDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(relevantDate_);
relevantDate_ = subBuilder.buildPartial();
}
break;
}
case 66: {
com.passkit.grpc.Billing.Quota.Builder subBuilder = null;
if (quota_ != null) {
subBuilder = quota_.toBuilder();
}
quota_ = input.readMessage(com.passkit.grpc.Billing.Quota.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(quota_);
quota_ = subBuilder.buildPartial();
}
break;
}
case 74: {
com.passkit.grpc.MetricsOuterClass.Metrics.Builder subBuilder = null;
if (metrics_ != null) {
subBuilder = metrics_.toBuilder();
}
metrics_ = input.readMessage(com.passkit.grpc.MetricsOuterClass.Metrics.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(metrics_);
metrics_ = subBuilder.buildPartial();
}
break;
}
case 82: {
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 90: {
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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventLimitedFieldsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventLimitedFieldsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.class, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.Builder.class);
}
public static final int PRODUCTIONID_FIELD_NUMBER = 1;
private volatile java.lang.Object productionId_;
/**
*
* PassKit generated production id (22 characters).
*
*
* string productionId = 1;
* @return The productionId.
*/
@java.lang.Override
public java.lang.String getProductionId() {
java.lang.Object ref = productionId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productionId_ = s;
return s;
}
}
/**
*
* PassKit generated production id (22 characters).
*
*
* string productionId = 1;
* @return The bytes for productionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProductionIdBytes() {
java.lang.Object ref = productionId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VENUEID_FIELD_NUMBER = 2;
private volatile java.lang.Object venueId_;
/**
*
* PassKit generated venue id (22 characters).
*
*
* string venueId = 2;
* @return The venueId.
*/
@java.lang.Override
public java.lang.String getVenueId() {
java.lang.Object ref = venueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
venueId_ = s;
return s;
}
}
/**
*
* PassKit generated venue id (22 characters).
*
*
* string venueId = 2;
* @return The bytes for venueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVenueIdBytes() {
java.lang.Object ref = venueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
venueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DOORSOPEN_FIELD_NUMBER = 3;
private com.google.protobuf.Timestamp doorsOpen_;
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 3;
* @return Whether the doorsOpen field is set.
*/
@java.lang.Override
public boolean hasDoorsOpen() {
return doorsOpen_ != null;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 3;
* @return The doorsOpen.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getDoorsOpen() {
return doorsOpen_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : doorsOpen_;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 3;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getDoorsOpenOrBuilder() {
return getDoorsOpen();
}
public static final int SCHEDULEDSTARTDATE_FIELD_NUMBER = 4;
private com.google.protobuf.Timestamp scheduledStartDate_;
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 4;
* @return Whether the scheduledStartDate field is set.
*/
@java.lang.Override
public boolean hasScheduledStartDate() {
return scheduledStartDate_ != null;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 4;
* @return The scheduledStartDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getScheduledStartDate() {
return scheduledStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 4;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder() {
return getScheduledStartDate();
}
public static final int ACTUALSTARTDATE_FIELD_NUMBER = 5;
private com.google.protobuf.Timestamp actualStartDate_;
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 5;
* @return Whether the actualStartDate field is set.
*/
@java.lang.Override
public boolean hasActualStartDate() {
return actualStartDate_ != null;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 5;
* @return The actualStartDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getActualStartDate() {
return actualStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : actualStartDate_;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 5;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getActualStartDateOrBuilder() {
return getActualStartDate();
}
public static final int ENDDATE_FIELD_NUMBER = 6;
private com.google.protobuf.Timestamp endDate_;
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 6;
* @return Whether the endDate field is set.
*/
@java.lang.Override
public boolean hasEndDate() {
return endDate_ != null;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 6;
* @return The endDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getEndDate() {
return endDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endDate_;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 6;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder() {
return getEndDate();
}
public static final int RELEVANTDATE_FIELD_NUMBER = 7;
private com.google.protobuf.Timestamp relevantDate_;
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 7;
* @return Whether the relevantDate field is set.
*/
@java.lang.Override
public boolean hasRelevantDate() {
return relevantDate_ != null;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 7;
* @return The relevantDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getRelevantDate() {
return relevantDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : relevantDate_;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 7;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getRelevantDateOrBuilder() {
return getRelevantDate();
}
public static final int QUOTA_FIELD_NUMBER = 8;
private com.passkit.grpc.Billing.Quota quota_;
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 8;
* @return Whether the quota field is set.
*/
@java.lang.Override
public boolean hasQuota() {
return quota_ != null;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 8;
* @return The quota.
*/
@java.lang.Override
public com.passkit.grpc.Billing.Quota getQuota() {
return quota_ == null ? com.passkit.grpc.Billing.Quota.getDefaultInstance() : quota_;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 8;
*/
@java.lang.Override
public com.passkit.grpc.Billing.QuotaOrBuilder getQuotaOrBuilder() {
return getQuota();
}
public static final int METRICS_FIELD_NUMBER = 9;
private com.passkit.grpc.MetricsOuterClass.Metrics metrics_;
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 9;
* @return Whether the metrics field is set.
*/
@java.lang.Override
public boolean hasMetrics() {
return metrics_ != null;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 9;
* @return The metrics.
*/
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.Metrics getMetrics() {
return metrics_ == null ? com.passkit.grpc.MetricsOuterClass.Metrics.getDefaultInstance() : metrics_;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 9;
*/
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder getMetricsOrBuilder() {
return getMetrics();
}
public static final int CREATED_FIELD_NUMBER = 10;
private com.google.protobuf.Timestamp created_;
/**
*
* The date the event was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 10;
* @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 = 10;
* @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 = 10;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() {
return getCreated();
}
public static final int UPDATED_FIELD_NUMBER = 11;
private com.google.protobuf.Timestamp updated_;
/**
*
* The date the event updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 11;
* @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 = 11;
* @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 = 11;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder() {
return getUpdated();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getProductionIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, productionId_);
}
if (!getVenueIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, venueId_);
}
if (doorsOpen_ != null) {
output.writeMessage(3, getDoorsOpen());
}
if (scheduledStartDate_ != null) {
output.writeMessage(4, getScheduledStartDate());
}
if (actualStartDate_ != null) {
output.writeMessage(5, getActualStartDate());
}
if (endDate_ != null) {
output.writeMessage(6, getEndDate());
}
if (relevantDate_ != null) {
output.writeMessage(7, getRelevantDate());
}
if (quota_ != null) {
output.writeMessage(8, getQuota());
}
if (metrics_ != null) {
output.writeMessage(9, getMetrics());
}
if (created_ != null) {
output.writeMessage(10, getCreated());
}
if (updated_ != null) {
output.writeMessage(11, getUpdated());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getProductionIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, productionId_);
}
if (!getVenueIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, venueId_);
}
if (doorsOpen_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getDoorsOpen());
}
if (scheduledStartDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getScheduledStartDate());
}
if (actualStartDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getActualStartDate());
}
if (endDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getEndDate());
}
if (relevantDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getRelevantDate());
}
if (quota_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getQuota());
}
if (metrics_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getMetrics());
}
if (created_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getCreated());
}
if (updated_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, 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.EventOuterClass.EventLimitedFieldsRequest)) {
return super.equals(obj);
}
com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest other = (com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest) obj;
if (!getProductionId()
.equals(other.getProductionId())) return false;
if (!getVenueId()
.equals(other.getVenueId())) return false;
if (hasDoorsOpen() != other.hasDoorsOpen()) return false;
if (hasDoorsOpen()) {
if (!getDoorsOpen()
.equals(other.getDoorsOpen())) return false;
}
if (hasScheduledStartDate() != other.hasScheduledStartDate()) return false;
if (hasScheduledStartDate()) {
if (!getScheduledStartDate()
.equals(other.getScheduledStartDate())) return false;
}
if (hasActualStartDate() != other.hasActualStartDate()) return false;
if (hasActualStartDate()) {
if (!getActualStartDate()
.equals(other.getActualStartDate())) return false;
}
if (hasEndDate() != other.hasEndDate()) return false;
if (hasEndDate()) {
if (!getEndDate()
.equals(other.getEndDate())) return false;
}
if (hasRelevantDate() != other.hasRelevantDate()) return false;
if (hasRelevantDate()) {
if (!getRelevantDate()
.equals(other.getRelevantDate())) return false;
}
if (hasQuota() != other.hasQuota()) return false;
if (hasQuota()) {
if (!getQuota()
.equals(other.getQuota())) return false;
}
if (hasMetrics() != other.hasMetrics()) return false;
if (hasMetrics()) {
if (!getMetrics()
.equals(other.getMetrics())) 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) + PRODUCTIONID_FIELD_NUMBER;
hash = (53 * hash) + getProductionId().hashCode();
hash = (37 * hash) + VENUEID_FIELD_NUMBER;
hash = (53 * hash) + getVenueId().hashCode();
if (hasDoorsOpen()) {
hash = (37 * hash) + DOORSOPEN_FIELD_NUMBER;
hash = (53 * hash) + getDoorsOpen().hashCode();
}
if (hasScheduledStartDate()) {
hash = (37 * hash) + SCHEDULEDSTARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getScheduledStartDate().hashCode();
}
if (hasActualStartDate()) {
hash = (37 * hash) + ACTUALSTARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getActualStartDate().hashCode();
}
if (hasEndDate()) {
hash = (37 * hash) + ENDDATE_FIELD_NUMBER;
hash = (53 * hash) + getEndDate().hashCode();
}
if (hasRelevantDate()) {
hash = (37 * hash) + RELEVANTDATE_FIELD_NUMBER;
hash = (53 * hash) + getRelevantDate().hashCode();
}
if (hasQuota()) {
hash = (37 * hash) + QUOTA_FIELD_NUMBER;
hash = (53 * hash) + getQuota().hashCode();
}
if (hasMetrics()) {
hash = (37 * hash) + METRICS_FIELD_NUMBER;
hash = (53 * hash) + getMetrics().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.EventOuterClass.EventLimitedFieldsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest 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.EventOuterClass.EventLimitedFieldsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest 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.EventOuterClass.EventLimitedFieldsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest 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.EventOuterClass.EventLimitedFieldsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest 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.EventOuterClass.EventLimitedFieldsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest 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.EventOuterClass.EventLimitedFieldsRequest 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.EventLimitedFieldsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:event_tickets.EventLimitedFieldsRequest)
com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventLimitedFieldsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventLimitedFieldsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.class, com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.Builder.class);
}
// Construct using com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
productionId_ = "";
venueId_ = "";
if (doorsOpenBuilder_ == null) {
doorsOpen_ = null;
} else {
doorsOpen_ = null;
doorsOpenBuilder_ = null;
}
if (scheduledStartDateBuilder_ == null) {
scheduledStartDate_ = null;
} else {
scheduledStartDate_ = null;
scheduledStartDateBuilder_ = null;
}
if (actualStartDateBuilder_ == null) {
actualStartDate_ = null;
} else {
actualStartDate_ = null;
actualStartDateBuilder_ = null;
}
if (endDateBuilder_ == null) {
endDate_ = null;
} else {
endDate_ = null;
endDateBuilder_ = null;
}
if (relevantDateBuilder_ == null) {
relevantDate_ = null;
} else {
relevantDate_ = null;
relevantDateBuilder_ = null;
}
if (quotaBuilder_ == null) {
quota_ = null;
} else {
quota_ = null;
quotaBuilder_ = null;
}
if (metricsBuilder_ == null) {
metrics_ = null;
} else {
metrics_ = null;
metricsBuilder_ = 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.EventOuterClass.internal_static_event_tickets_EventLimitedFieldsRequest_descriptor;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest getDefaultInstanceForType() {
return com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest build() {
com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest buildPartial() {
com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest result = new com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest(this);
result.productionId_ = productionId_;
result.venueId_ = venueId_;
if (doorsOpenBuilder_ == null) {
result.doorsOpen_ = doorsOpen_;
} else {
result.doorsOpen_ = doorsOpenBuilder_.build();
}
if (scheduledStartDateBuilder_ == null) {
result.scheduledStartDate_ = scheduledStartDate_;
} else {
result.scheduledStartDate_ = scheduledStartDateBuilder_.build();
}
if (actualStartDateBuilder_ == null) {
result.actualStartDate_ = actualStartDate_;
} else {
result.actualStartDate_ = actualStartDateBuilder_.build();
}
if (endDateBuilder_ == null) {
result.endDate_ = endDate_;
} else {
result.endDate_ = endDateBuilder_.build();
}
if (relevantDateBuilder_ == null) {
result.relevantDate_ = relevantDate_;
} else {
result.relevantDate_ = relevantDateBuilder_.build();
}
if (quotaBuilder_ == null) {
result.quota_ = quota_;
} else {
result.quota_ = quotaBuilder_.build();
}
if (metricsBuilder_ == null) {
result.metrics_ = metrics_;
} else {
result.metrics_ = metricsBuilder_.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.EventOuterClass.EventLimitedFieldsRequest) {
return mergeFrom((com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest other) {
if (other == com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest.getDefaultInstance()) return this;
if (!other.getProductionId().isEmpty()) {
productionId_ = other.productionId_;
onChanged();
}
if (!other.getVenueId().isEmpty()) {
venueId_ = other.venueId_;
onChanged();
}
if (other.hasDoorsOpen()) {
mergeDoorsOpen(other.getDoorsOpen());
}
if (other.hasScheduledStartDate()) {
mergeScheduledStartDate(other.getScheduledStartDate());
}
if (other.hasActualStartDate()) {
mergeActualStartDate(other.getActualStartDate());
}
if (other.hasEndDate()) {
mergeEndDate(other.getEndDate());
}
if (other.hasRelevantDate()) {
mergeRelevantDate(other.getRelevantDate());
}
if (other.hasQuota()) {
mergeQuota(other.getQuota());
}
if (other.hasMetrics()) {
mergeMetrics(other.getMetrics());
}
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.EventOuterClass.EventLimitedFieldsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object productionId_ = "";
/**
*
* PassKit generated production id (22 characters).
*
*
* string productionId = 1;
* @return The productionId.
*/
public java.lang.String getProductionId() {
java.lang.Object ref = productionId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productionId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* PassKit generated production id (22 characters).
*
*
* string productionId = 1;
* @return The bytes for productionId.
*/
public com.google.protobuf.ByteString
getProductionIdBytes() {
java.lang.Object ref = productionId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* PassKit generated production id (22 characters).
*
*
* string productionId = 1;
* @param value The productionId to set.
* @return This builder for chaining.
*/
public Builder setProductionId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
productionId_ = value;
onChanged();
return this;
}
/**
*
* PassKit generated production id (22 characters).
*
*
* string productionId = 1;
* @return This builder for chaining.
*/
public Builder clearProductionId() {
productionId_ = getDefaultInstance().getProductionId();
onChanged();
return this;
}
/**
*
* PassKit generated production id (22 characters).
*
*
* string productionId = 1;
* @param value The bytes for productionId to set.
* @return This builder for chaining.
*/
public Builder setProductionIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
productionId_ = value;
onChanged();
return this;
}
private java.lang.Object venueId_ = "";
/**
*
* PassKit generated venue id (22 characters).
*
*
* string venueId = 2;
* @return The venueId.
*/
public java.lang.String getVenueId() {
java.lang.Object ref = venueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
venueId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* PassKit generated venue id (22 characters).
*
*
* string venueId = 2;
* @return The bytes for venueId.
*/
public com.google.protobuf.ByteString
getVenueIdBytes() {
java.lang.Object ref = venueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
venueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* PassKit generated venue id (22 characters).
*
*
* string venueId = 2;
* @param value The venueId to set.
* @return This builder for chaining.
*/
public Builder setVenueId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
venueId_ = value;
onChanged();
return this;
}
/**
*
* PassKit generated venue id (22 characters).
*
*
* string venueId = 2;
* @return This builder for chaining.
*/
public Builder clearVenueId() {
venueId_ = getDefaultInstance().getVenueId();
onChanged();
return this;
}
/**
*
* PassKit generated venue id (22 characters).
*
*
* string venueId = 2;
* @param value The bytes for venueId to set.
* @return This builder for chaining.
*/
public Builder setVenueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
venueId_ = value;
onChanged();
return this;
}
private com.google.protobuf.Timestamp doorsOpen_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> doorsOpenBuilder_;
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 3;
* @return Whether the doorsOpen field is set.
*/
public boolean hasDoorsOpen() {
return doorsOpenBuilder_ != null || doorsOpen_ != null;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 3;
* @return The doorsOpen.
*/
public com.google.protobuf.Timestamp getDoorsOpen() {
if (doorsOpenBuilder_ == null) {
return doorsOpen_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : doorsOpen_;
} else {
return doorsOpenBuilder_.getMessage();
}
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 3;
*/
public Builder setDoorsOpen(com.google.protobuf.Timestamp value) {
if (doorsOpenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
doorsOpen_ = value;
onChanged();
} else {
doorsOpenBuilder_.setMessage(value);
}
return this;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 3;
*/
public Builder setDoorsOpen(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (doorsOpenBuilder_ == null) {
doorsOpen_ = builderForValue.build();
onChanged();
} else {
doorsOpenBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 3;
*/
public Builder mergeDoorsOpen(com.google.protobuf.Timestamp value) {
if (doorsOpenBuilder_ == null) {
if (doorsOpen_ != null) {
doorsOpen_ =
com.google.protobuf.Timestamp.newBuilder(doorsOpen_).mergeFrom(value).buildPartial();
} else {
doorsOpen_ = value;
}
onChanged();
} else {
doorsOpenBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 3;
*/
public Builder clearDoorsOpen() {
if (doorsOpenBuilder_ == null) {
doorsOpen_ = null;
onChanged();
} else {
doorsOpen_ = null;
doorsOpenBuilder_ = null;
}
return this;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 3;
*/
public com.google.protobuf.Timestamp.Builder getDoorsOpenBuilder() {
onChanged();
return getDoorsOpenFieldBuilder().getBuilder();
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 3;
*/
public com.google.protobuf.TimestampOrBuilder getDoorsOpenOrBuilder() {
if (doorsOpenBuilder_ != null) {
return doorsOpenBuilder_.getMessageOrBuilder();
} else {
return doorsOpen_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : doorsOpen_;
}
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getDoorsOpenFieldBuilder() {
if (doorsOpenBuilder_ == null) {
doorsOpenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getDoorsOpen(),
getParentForChildren(),
isClean());
doorsOpen_ = null;
}
return doorsOpenBuilder_;
}
private com.google.protobuf.Timestamp scheduledStartDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduledStartDateBuilder_;
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 4;
* @return Whether the scheduledStartDate field is set.
*/
public boolean hasScheduledStartDate() {
return scheduledStartDateBuilder_ != null || scheduledStartDate_ != null;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 4;
* @return The scheduledStartDate.
*/
public com.google.protobuf.Timestamp getScheduledStartDate() {
if (scheduledStartDateBuilder_ == null) {
return scheduledStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_;
} else {
return scheduledStartDateBuilder_.getMessage();
}
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 4;
*/
public Builder setScheduledStartDate(com.google.protobuf.Timestamp value) {
if (scheduledStartDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
scheduledStartDate_ = value;
onChanged();
} else {
scheduledStartDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 4;
*/
public Builder setScheduledStartDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (scheduledStartDateBuilder_ == null) {
scheduledStartDate_ = builderForValue.build();
onChanged();
} else {
scheduledStartDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 4;
*/
public Builder mergeScheduledStartDate(com.google.protobuf.Timestamp value) {
if (scheduledStartDateBuilder_ == null) {
if (scheduledStartDate_ != null) {
scheduledStartDate_ =
com.google.protobuf.Timestamp.newBuilder(scheduledStartDate_).mergeFrom(value).buildPartial();
} else {
scheduledStartDate_ = value;
}
onChanged();
} else {
scheduledStartDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 4;
*/
public Builder clearScheduledStartDate() {
if (scheduledStartDateBuilder_ == null) {
scheduledStartDate_ = null;
onChanged();
} else {
scheduledStartDate_ = null;
scheduledStartDateBuilder_ = null;
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 4;
*/
public com.google.protobuf.Timestamp.Builder getScheduledStartDateBuilder() {
onChanged();
return getScheduledStartDateFieldBuilder().getBuilder();
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 4;
*/
public com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder() {
if (scheduledStartDateBuilder_ != null) {
return scheduledStartDateBuilder_.getMessageOrBuilder();
} else {
return scheduledStartDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_;
}
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getScheduledStartDateFieldBuilder() {
if (scheduledStartDateBuilder_ == null) {
scheduledStartDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getScheduledStartDate(),
getParentForChildren(),
isClean());
scheduledStartDate_ = null;
}
return scheduledStartDateBuilder_;
}
private com.google.protobuf.Timestamp actualStartDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> actualStartDateBuilder_;
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 5;
* @return Whether the actualStartDate field is set.
*/
public boolean hasActualStartDate() {
return actualStartDateBuilder_ != null || actualStartDate_ != null;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 5;
* @return The actualStartDate.
*/
public com.google.protobuf.Timestamp getActualStartDate() {
if (actualStartDateBuilder_ == null) {
return actualStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : actualStartDate_;
} else {
return actualStartDateBuilder_.getMessage();
}
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 5;
*/
public Builder setActualStartDate(com.google.protobuf.Timestamp value) {
if (actualStartDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
actualStartDate_ = value;
onChanged();
} else {
actualStartDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 5;
*/
public Builder setActualStartDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (actualStartDateBuilder_ == null) {
actualStartDate_ = builderForValue.build();
onChanged();
} else {
actualStartDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 5;
*/
public Builder mergeActualStartDate(com.google.protobuf.Timestamp value) {
if (actualStartDateBuilder_ == null) {
if (actualStartDate_ != null) {
actualStartDate_ =
com.google.protobuf.Timestamp.newBuilder(actualStartDate_).mergeFrom(value).buildPartial();
} else {
actualStartDate_ = value;
}
onChanged();
} else {
actualStartDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 5;
*/
public Builder clearActualStartDate() {
if (actualStartDateBuilder_ == null) {
actualStartDate_ = null;
onChanged();
} else {
actualStartDate_ = null;
actualStartDateBuilder_ = null;
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 5;
*/
public com.google.protobuf.Timestamp.Builder getActualStartDateBuilder() {
onChanged();
return getActualStartDateFieldBuilder().getBuilder();
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 5;
*/
public com.google.protobuf.TimestampOrBuilder getActualStartDateOrBuilder() {
if (actualStartDateBuilder_ != null) {
return actualStartDateBuilder_.getMessageOrBuilder();
} else {
return actualStartDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : actualStartDate_;
}
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getActualStartDateFieldBuilder() {
if (actualStartDateBuilder_ == null) {
actualStartDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getActualStartDate(),
getParentForChildren(),
isClean());
actualStartDate_ = null;
}
return actualStartDateBuilder_;
}
private com.google.protobuf.Timestamp endDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endDateBuilder_;
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 6;
* @return Whether the endDate field is set.
*/
public boolean hasEndDate() {
return endDateBuilder_ != null || endDate_ != null;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 6;
* @return The endDate.
*/
public com.google.protobuf.Timestamp getEndDate() {
if (endDateBuilder_ == null) {
return endDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endDate_;
} else {
return endDateBuilder_.getMessage();
}
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 6;
*/
public Builder setEndDate(com.google.protobuf.Timestamp value) {
if (endDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
endDate_ = value;
onChanged();
} else {
endDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 6;
*/
public Builder setEndDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (endDateBuilder_ == null) {
endDate_ = builderForValue.build();
onChanged();
} else {
endDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 6;
*/
public Builder mergeEndDate(com.google.protobuf.Timestamp value) {
if (endDateBuilder_ == null) {
if (endDate_ != null) {
endDate_ =
com.google.protobuf.Timestamp.newBuilder(endDate_).mergeFrom(value).buildPartial();
} else {
endDate_ = value;
}
onChanged();
} else {
endDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 6;
*/
public Builder clearEndDate() {
if (endDateBuilder_ == null) {
endDate_ = null;
onChanged();
} else {
endDate_ = null;
endDateBuilder_ = null;
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 6;
*/
public com.google.protobuf.Timestamp.Builder getEndDateBuilder() {
onChanged();
return getEndDateFieldBuilder().getBuilder();
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 6;
*/
public com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder() {
if (endDateBuilder_ != null) {
return endDateBuilder_.getMessageOrBuilder();
} else {
return endDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : endDate_;
}
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getEndDateFieldBuilder() {
if (endDateBuilder_ == null) {
endDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getEndDate(),
getParentForChildren(),
isClean());
endDate_ = null;
}
return endDateBuilder_;
}
private com.google.protobuf.Timestamp relevantDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> relevantDateBuilder_;
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 7;
* @return Whether the relevantDate field is set.
*/
public boolean hasRelevantDate() {
return relevantDateBuilder_ != null || relevantDate_ != null;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 7;
* @return The relevantDate.
*/
public com.google.protobuf.Timestamp getRelevantDate() {
if (relevantDateBuilder_ == null) {
return relevantDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : relevantDate_;
} else {
return relevantDateBuilder_.getMessage();
}
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 7;
*/
public Builder setRelevantDate(com.google.protobuf.Timestamp value) {
if (relevantDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
relevantDate_ = value;
onChanged();
} else {
relevantDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 7;
*/
public Builder setRelevantDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (relevantDateBuilder_ == null) {
relevantDate_ = builderForValue.build();
onChanged();
} else {
relevantDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 7;
*/
public Builder mergeRelevantDate(com.google.protobuf.Timestamp value) {
if (relevantDateBuilder_ == null) {
if (relevantDate_ != null) {
relevantDate_ =
com.google.protobuf.Timestamp.newBuilder(relevantDate_).mergeFrom(value).buildPartial();
} else {
relevantDate_ = value;
}
onChanged();
} else {
relevantDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 7;
*/
public Builder clearRelevantDate() {
if (relevantDateBuilder_ == null) {
relevantDate_ = null;
onChanged();
} else {
relevantDate_ = null;
relevantDateBuilder_ = null;
}
return this;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 7;
*/
public com.google.protobuf.Timestamp.Builder getRelevantDateBuilder() {
onChanged();
return getRelevantDateFieldBuilder().getBuilder();
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 7;
*/
public com.google.protobuf.TimestampOrBuilder getRelevantDateOrBuilder() {
if (relevantDateBuilder_ != null) {
return relevantDateBuilder_.getMessageOrBuilder();
} else {
return relevantDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : relevantDate_;
}
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getRelevantDateFieldBuilder() {
if (relevantDateBuilder_ == null) {
relevantDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getRelevantDate(),
getParentForChildren(),
isClean());
relevantDate_ = null;
}
return relevantDateBuilder_;
}
private com.passkit.grpc.Billing.Quota quota_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Billing.Quota, com.passkit.grpc.Billing.Quota.Builder, com.passkit.grpc.Billing.QuotaOrBuilder> quotaBuilder_;
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 8;
* @return Whether the quota field is set.
*/
public boolean hasQuota() {
return quotaBuilder_ != null || quota_ != null;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 8;
* @return The quota.
*/
public com.passkit.grpc.Billing.Quota getQuota() {
if (quotaBuilder_ == null) {
return quota_ == null ? com.passkit.grpc.Billing.Quota.getDefaultInstance() : quota_;
} else {
return quotaBuilder_.getMessage();
}
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 8;
*/
public Builder setQuota(com.passkit.grpc.Billing.Quota value) {
if (quotaBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
quota_ = value;
onChanged();
} else {
quotaBuilder_.setMessage(value);
}
return this;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 8;
*/
public Builder setQuota(
com.passkit.grpc.Billing.Quota.Builder builderForValue) {
if (quotaBuilder_ == null) {
quota_ = builderForValue.build();
onChanged();
} else {
quotaBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 8;
*/
public Builder mergeQuota(com.passkit.grpc.Billing.Quota value) {
if (quotaBuilder_ == null) {
if (quota_ != null) {
quota_ =
com.passkit.grpc.Billing.Quota.newBuilder(quota_).mergeFrom(value).buildPartial();
} else {
quota_ = value;
}
onChanged();
} else {
quotaBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 8;
*/
public Builder clearQuota() {
if (quotaBuilder_ == null) {
quota_ = null;
onChanged();
} else {
quota_ = null;
quotaBuilder_ = null;
}
return this;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 8;
*/
public com.passkit.grpc.Billing.Quota.Builder getQuotaBuilder() {
onChanged();
return getQuotaFieldBuilder().getBuilder();
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 8;
*/
public com.passkit.grpc.Billing.QuotaOrBuilder getQuotaOrBuilder() {
if (quotaBuilder_ != null) {
return quotaBuilder_.getMessageOrBuilder();
} else {
return quota_ == null ?
com.passkit.grpc.Billing.Quota.getDefaultInstance() : quota_;
}
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Billing.Quota, com.passkit.grpc.Billing.Quota.Builder, com.passkit.grpc.Billing.QuotaOrBuilder>
getQuotaFieldBuilder() {
if (quotaBuilder_ == null) {
quotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Billing.Quota, com.passkit.grpc.Billing.Quota.Builder, com.passkit.grpc.Billing.QuotaOrBuilder>(
getQuota(),
getParentForChildren(),
isClean());
quota_ = null;
}
return quotaBuilder_;
}
private com.passkit.grpc.MetricsOuterClass.Metrics metrics_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.MetricsOuterClass.Metrics, com.passkit.grpc.MetricsOuterClass.Metrics.Builder, com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder> metricsBuilder_;
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 9;
* @return Whether the metrics field is set.
*/
public boolean hasMetrics() {
return metricsBuilder_ != null || metrics_ != null;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 9;
* @return The metrics.
*/
public com.passkit.grpc.MetricsOuterClass.Metrics getMetrics() {
if (metricsBuilder_ == null) {
return metrics_ == null ? com.passkit.grpc.MetricsOuterClass.Metrics.getDefaultInstance() : metrics_;
} else {
return metricsBuilder_.getMessage();
}
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 9;
*/
public Builder setMetrics(com.passkit.grpc.MetricsOuterClass.Metrics value) {
if (metricsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
metrics_ = value;
onChanged();
} else {
metricsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 9;
*/
public Builder setMetrics(
com.passkit.grpc.MetricsOuterClass.Metrics.Builder builderForValue) {
if (metricsBuilder_ == null) {
metrics_ = builderForValue.build();
onChanged();
} else {
metricsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 9;
*/
public Builder mergeMetrics(com.passkit.grpc.MetricsOuterClass.Metrics value) {
if (metricsBuilder_ == null) {
if (metrics_ != null) {
metrics_ =
com.passkit.grpc.MetricsOuterClass.Metrics.newBuilder(metrics_).mergeFrom(value).buildPartial();
} else {
metrics_ = value;
}
onChanged();
} else {
metricsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 9;
*/
public Builder clearMetrics() {
if (metricsBuilder_ == null) {
metrics_ = null;
onChanged();
} else {
metrics_ = null;
metricsBuilder_ = null;
}
return this;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 9;
*/
public com.passkit.grpc.MetricsOuterClass.Metrics.Builder getMetricsBuilder() {
onChanged();
return getMetricsFieldBuilder().getBuilder();
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 9;
*/
public com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder getMetricsOrBuilder() {
if (metricsBuilder_ != null) {
return metricsBuilder_.getMessageOrBuilder();
} else {
return metrics_ == null ?
com.passkit.grpc.MetricsOuterClass.Metrics.getDefaultInstance() : metrics_;
}
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.MetricsOuterClass.Metrics, com.passkit.grpc.MetricsOuterClass.Metrics.Builder, com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder>
getMetricsFieldBuilder() {
if (metricsBuilder_ == null) {
metricsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.MetricsOuterClass.Metrics, com.passkit.grpc.MetricsOuterClass.Metrics.Builder, com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder>(
getMetrics(),
getParentForChildren(),
isClean());
metrics_ = null;
}
return metricsBuilder_;
}
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 = 10;
* @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 = 10;
* @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 = 10;
*/
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 = 10;
*/
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 = 10;
*/
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 = 10;
*/
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 = 10;
*/
public com.google.protobuf.Timestamp.Builder getCreatedBuilder() {
onChanged();
return getCreatedFieldBuilder().getBuilder();
}
/**
*
* The date the event was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 10;
*/
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 = 10;
*/
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 = 11;
* @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 = 11;
* @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 = 11;
*/
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 = 11;
*/
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 = 11;
*/
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 = 11;
*/
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 = 11;
*/
public com.google.protobuf.Timestamp.Builder getUpdatedBuilder() {
onChanged();
return getUpdatedFieldBuilder().getBuilder();
}
/**
*
* The date the event updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 11;
*/
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 = 11;
*/
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.EventLimitedFieldsRequest)
}
// @@protoc_insertion_point(class_scope:event_tickets.EventLimitedFieldsRequest)
private static final com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest();
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventLimitedFieldsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public EventLimitedFieldsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EventLimitedFieldsRequest(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.EventOuterClass.EventLimitedFieldsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface EventListResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:event_tickets.EventListResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* PassKit generated event id (22 characters).
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* PassKit generated event id (22 characters).
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.ProductionLimitedFieldsResponse production = 2;
* @return Whether the production field is set.
*/
boolean hasProduction();
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.ProductionLimitedFieldsResponse production = 2;
* @return The production.
*/
com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse getProduction();
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.ProductionLimitedFieldsResponse production = 2;
*/
com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponseOrBuilder getProductionOrBuilder();
/**
*
* The venue information. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.VenueLimitedFieldsResponse venue = 3;
* @return Whether the venue field is set.
*/
boolean hasVenue();
/**
*
* The venue information. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.VenueLimitedFieldsResponse venue = 3;
* @return The venue.
*/
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse getVenue();
/**
*
* The venue information. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.VenueLimitedFieldsResponse venue = 3;
*/
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponseOrBuilder getVenueOrBuilder();
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
* @return Whether the doorsOpen field is set.
*/
boolean hasDoorsOpen();
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
* @return The doorsOpen.
*/
com.google.protobuf.Timestamp getDoorsOpen();
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
com.google.protobuf.TimestampOrBuilder getDoorsOpenOrBuilder();
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return Whether the scheduledStartDate field is set.
*/
boolean hasScheduledStartDate();
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return The scheduledStartDate.
*/
com.google.protobuf.Timestamp getScheduledStartDate();
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder();
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
* @return Whether the actualStartDate field is set.
*/
boolean hasActualStartDate();
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
* @return The actualStartDate.
*/
com.google.protobuf.Timestamp getActualStartDate();
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
com.google.protobuf.TimestampOrBuilder getActualStartDateOrBuilder();
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
* @return Whether the endDate field is set.
*/
boolean hasEndDate();
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
* @return The endDate.
*/
com.google.protobuf.Timestamp getEndDate();
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder();
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
* @return Whether the relevantDate field is set.
*/
boolean hasRelevantDate();
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
* @return The relevantDate.
*/
com.google.protobuf.Timestamp getRelevantDate();
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
com.google.protobuf.TimestampOrBuilder getRelevantDateOrBuilder();
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
* @return Whether the quota field is set.
*/
boolean hasQuota();
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
* @return The quota.
*/
com.passkit.grpc.Billing.Quota getQuota();
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
com.passkit.grpc.Billing.QuotaOrBuilder getQuotaOrBuilder();
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10;
* @return Whether the metrics field is set.
*/
boolean hasMetrics();
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10;
* @return The metrics.
*/
com.passkit.grpc.MetricsOuterClass.Metrics getMetrics();
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10;
*/
com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder getMetricsOrBuilder();
/**
*
* The date the event was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 11;
* @return Whether the created field is set.
*/
boolean hasCreated();
/**
*
* The date the event was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 11;
* @return The created.
*/
com.google.protobuf.Timestamp getCreated();
/**
*
* The date the event was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 11;
*/
com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder();
/**
*
* The date the event updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 12;
* @return Whether the updated field is set.
*/
boolean hasUpdated();
/**
*
* The date the event updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 12;
* @return The updated.
*/
com.google.protobuf.Timestamp getUpdated();
/**
*
* The date the event updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 12;
*/
com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder();
}
/**
* Protobuf type {@code event_tickets.EventListResponse}
*/
public static final class EventListResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:event_tickets.EventListResponse)
EventListResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use EventListResponse.newBuilder() to construct.
private EventListResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private EventListResponse() {
id_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new EventListResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EventListResponse(
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: {
com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.Builder subBuilder = null;
if (production_ != null) {
subBuilder = production_.toBuilder();
}
production_ = input.readMessage(com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(production_);
production_ = subBuilder.buildPartial();
}
break;
}
case 26: {
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.Builder subBuilder = null;
if (venue_ != null) {
subBuilder = venue_.toBuilder();
}
venue_ = input.readMessage(com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(venue_);
venue_ = subBuilder.buildPartial();
}
break;
}
case 34: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (doorsOpen_ != null) {
subBuilder = doorsOpen_.toBuilder();
}
doorsOpen_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(doorsOpen_);
doorsOpen_ = subBuilder.buildPartial();
}
break;
}
case 42: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (scheduledStartDate_ != null) {
subBuilder = scheduledStartDate_.toBuilder();
}
scheduledStartDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(scheduledStartDate_);
scheduledStartDate_ = subBuilder.buildPartial();
}
break;
}
case 50: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (actualStartDate_ != null) {
subBuilder = actualStartDate_.toBuilder();
}
actualStartDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(actualStartDate_);
actualStartDate_ = subBuilder.buildPartial();
}
break;
}
case 58: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (endDate_ != null) {
subBuilder = endDate_.toBuilder();
}
endDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(endDate_);
endDate_ = subBuilder.buildPartial();
}
break;
}
case 66: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (relevantDate_ != null) {
subBuilder = relevantDate_.toBuilder();
}
relevantDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(relevantDate_);
relevantDate_ = subBuilder.buildPartial();
}
break;
}
case 74: {
com.passkit.grpc.Billing.Quota.Builder subBuilder = null;
if (quota_ != null) {
subBuilder = quota_.toBuilder();
}
quota_ = input.readMessage(com.passkit.grpc.Billing.Quota.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(quota_);
quota_ = subBuilder.buildPartial();
}
break;
}
case 82: {
com.passkit.grpc.MetricsOuterClass.Metrics.Builder subBuilder = null;
if (metrics_ != null) {
subBuilder = metrics_.toBuilder();
}
metrics_ = input.readMessage(com.passkit.grpc.MetricsOuterClass.Metrics.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(metrics_);
metrics_ = subBuilder.buildPartial();
}
break;
}
case 90: {
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 98: {
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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventListResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventListResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse.class, com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
*
* PassKit generated event 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 event 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 PRODUCTION_FIELD_NUMBER = 2;
private com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse production_;
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.ProductionLimitedFieldsResponse production = 2;
* @return Whether the production field is set.
*/
@java.lang.Override
public boolean hasProduction() {
return production_ != null;
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.ProductionLimitedFieldsResponse production = 2;
* @return The production.
*/
@java.lang.Override
public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse getProduction() {
return production_ == null ? com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.getDefaultInstance() : production_;
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.ProductionLimitedFieldsResponse production = 2;
*/
@java.lang.Override
public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponseOrBuilder getProductionOrBuilder() {
return getProduction();
}
public static final int VENUE_FIELD_NUMBER = 3;
private com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse venue_;
/**
*
* The venue information. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.VenueLimitedFieldsResponse venue = 3;
* @return Whether the venue field is set.
*/
@java.lang.Override
public boolean hasVenue() {
return venue_ != null;
}
/**
*
* The venue information. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.VenueLimitedFieldsResponse venue = 3;
* @return The venue.
*/
@java.lang.Override
public com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse getVenue() {
return venue_ == null ? com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.getDefaultInstance() : venue_;
}
/**
*
* The venue information. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.VenueLimitedFieldsResponse venue = 3;
*/
@java.lang.Override
public com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponseOrBuilder getVenueOrBuilder() {
return getVenue();
}
public static final int DOORSOPEN_FIELD_NUMBER = 4;
private com.google.protobuf.Timestamp doorsOpen_;
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
* @return Whether the doorsOpen field is set.
*/
@java.lang.Override
public boolean hasDoorsOpen() {
return doorsOpen_ != null;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
* @return The doorsOpen.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getDoorsOpen() {
return doorsOpen_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : doorsOpen_;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getDoorsOpenOrBuilder() {
return getDoorsOpen();
}
public static final int SCHEDULEDSTARTDATE_FIELD_NUMBER = 5;
private com.google.protobuf.Timestamp scheduledStartDate_;
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return Whether the scheduledStartDate field is set.
*/
@java.lang.Override
public boolean hasScheduledStartDate() {
return scheduledStartDate_ != null;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return The scheduledStartDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getScheduledStartDate() {
return scheduledStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder() {
return getScheduledStartDate();
}
public static final int ACTUALSTARTDATE_FIELD_NUMBER = 6;
private com.google.protobuf.Timestamp actualStartDate_;
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
* @return Whether the actualStartDate field is set.
*/
@java.lang.Override
public boolean hasActualStartDate() {
return actualStartDate_ != null;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
* @return The actualStartDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getActualStartDate() {
return actualStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : actualStartDate_;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getActualStartDateOrBuilder() {
return getActualStartDate();
}
public static final int ENDDATE_FIELD_NUMBER = 7;
private com.google.protobuf.Timestamp endDate_;
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
* @return Whether the endDate field is set.
*/
@java.lang.Override
public boolean hasEndDate() {
return endDate_ != null;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
* @return The endDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getEndDate() {
return endDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endDate_;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder() {
return getEndDate();
}
public static final int RELEVANTDATE_FIELD_NUMBER = 8;
private com.google.protobuf.Timestamp relevantDate_;
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
* @return Whether the relevantDate field is set.
*/
@java.lang.Override
public boolean hasRelevantDate() {
return relevantDate_ != null;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
* @return The relevantDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getRelevantDate() {
return relevantDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : relevantDate_;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getRelevantDateOrBuilder() {
return getRelevantDate();
}
public static final int QUOTA_FIELD_NUMBER = 9;
private com.passkit.grpc.Billing.Quota quota_;
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
* @return Whether the quota field is set.
*/
@java.lang.Override
public boolean hasQuota() {
return quota_ != null;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
* @return The quota.
*/
@java.lang.Override
public com.passkit.grpc.Billing.Quota getQuota() {
return quota_ == null ? com.passkit.grpc.Billing.Quota.getDefaultInstance() : quota_;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
@java.lang.Override
public com.passkit.grpc.Billing.QuotaOrBuilder getQuotaOrBuilder() {
return getQuota();
}
public static final int METRICS_FIELD_NUMBER = 10;
private com.passkit.grpc.MetricsOuterClass.Metrics metrics_;
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10;
* @return Whether the metrics field is set.
*/
@java.lang.Override
public boolean hasMetrics() {
return metrics_ != null;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10;
* @return The metrics.
*/
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.Metrics getMetrics() {
return metrics_ == null ? com.passkit.grpc.MetricsOuterClass.Metrics.getDefaultInstance() : metrics_;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10;
*/
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder getMetricsOrBuilder() {
return getMetrics();
}
public static final int CREATED_FIELD_NUMBER = 11;
private com.google.protobuf.Timestamp created_;
/**
*
* The date the event was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 11;
* @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 = 11;
* @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 = 11;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() {
return getCreated();
}
public static final int UPDATED_FIELD_NUMBER = 12;
private com.google.protobuf.Timestamp updated_;
/**
*
* The date the event updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 12;
* @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 = 12;
* @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 = 12;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder() {
return getUpdated();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (production_ != null) {
output.writeMessage(2, getProduction());
}
if (venue_ != null) {
output.writeMessage(3, getVenue());
}
if (doorsOpen_ != null) {
output.writeMessage(4, getDoorsOpen());
}
if (scheduledStartDate_ != null) {
output.writeMessage(5, getScheduledStartDate());
}
if (actualStartDate_ != null) {
output.writeMessage(6, getActualStartDate());
}
if (endDate_ != null) {
output.writeMessage(7, getEndDate());
}
if (relevantDate_ != null) {
output.writeMessage(8, getRelevantDate());
}
if (quota_ != null) {
output.writeMessage(9, getQuota());
}
if (metrics_ != null) {
output.writeMessage(10, getMetrics());
}
if (created_ != null) {
output.writeMessage(11, getCreated());
}
if (updated_ != null) {
output.writeMessage(12, 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 (production_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getProduction());
}
if (venue_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getVenue());
}
if (doorsOpen_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getDoorsOpen());
}
if (scheduledStartDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getScheduledStartDate());
}
if (actualStartDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getActualStartDate());
}
if (endDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getEndDate());
}
if (relevantDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getRelevantDate());
}
if (quota_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getQuota());
}
if (metrics_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getMetrics());
}
if (created_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getCreated());
}
if (updated_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, 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.EventOuterClass.EventListResponse)) {
return super.equals(obj);
}
com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse other = (com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse) obj;
if (!getId()
.equals(other.getId())) return false;
if (hasProduction() != other.hasProduction()) return false;
if (hasProduction()) {
if (!getProduction()
.equals(other.getProduction())) return false;
}
if (hasVenue() != other.hasVenue()) return false;
if (hasVenue()) {
if (!getVenue()
.equals(other.getVenue())) return false;
}
if (hasDoorsOpen() != other.hasDoorsOpen()) return false;
if (hasDoorsOpen()) {
if (!getDoorsOpen()
.equals(other.getDoorsOpen())) return false;
}
if (hasScheduledStartDate() != other.hasScheduledStartDate()) return false;
if (hasScheduledStartDate()) {
if (!getScheduledStartDate()
.equals(other.getScheduledStartDate())) return false;
}
if (hasActualStartDate() != other.hasActualStartDate()) return false;
if (hasActualStartDate()) {
if (!getActualStartDate()
.equals(other.getActualStartDate())) return false;
}
if (hasEndDate() != other.hasEndDate()) return false;
if (hasEndDate()) {
if (!getEndDate()
.equals(other.getEndDate())) return false;
}
if (hasRelevantDate() != other.hasRelevantDate()) return false;
if (hasRelevantDate()) {
if (!getRelevantDate()
.equals(other.getRelevantDate())) return false;
}
if (hasQuota() != other.hasQuota()) return false;
if (hasQuota()) {
if (!getQuota()
.equals(other.getQuota())) return false;
}
if (hasMetrics() != other.hasMetrics()) return false;
if (hasMetrics()) {
if (!getMetrics()
.equals(other.getMetrics())) 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();
if (hasProduction()) {
hash = (37 * hash) + PRODUCTION_FIELD_NUMBER;
hash = (53 * hash) + getProduction().hashCode();
}
if (hasVenue()) {
hash = (37 * hash) + VENUE_FIELD_NUMBER;
hash = (53 * hash) + getVenue().hashCode();
}
if (hasDoorsOpen()) {
hash = (37 * hash) + DOORSOPEN_FIELD_NUMBER;
hash = (53 * hash) + getDoorsOpen().hashCode();
}
if (hasScheduledStartDate()) {
hash = (37 * hash) + SCHEDULEDSTARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getScheduledStartDate().hashCode();
}
if (hasActualStartDate()) {
hash = (37 * hash) + ACTUALSTARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getActualStartDate().hashCode();
}
if (hasEndDate()) {
hash = (37 * hash) + ENDDATE_FIELD_NUMBER;
hash = (53 * hash) + getEndDate().hashCode();
}
if (hasRelevantDate()) {
hash = (37 * hash) + RELEVANTDATE_FIELD_NUMBER;
hash = (53 * hash) + getRelevantDate().hashCode();
}
if (hasQuota()) {
hash = (37 * hash) + QUOTA_FIELD_NUMBER;
hash = (53 * hash) + getQuota().hashCode();
}
if (hasMetrics()) {
hash = (37 * hash) + METRICS_FIELD_NUMBER;
hash = (53 * hash) + getMetrics().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.EventOuterClass.EventListResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse 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.EventOuterClass.EventListResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse 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.EventOuterClass.EventListResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse 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.EventOuterClass.EventListResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse 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.EventOuterClass.EventListResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse 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.EventOuterClass.EventListResponse 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.EventListResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:event_tickets.EventListResponse)
com.passkit.grpc.EventTickets.EventOuterClass.EventListResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventListResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.EventOuterClass.internal_static_event_tickets_EventListResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse.class, com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse.Builder.class);
}
// Construct using com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse.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_ = "";
if (productionBuilder_ == null) {
production_ = null;
} else {
production_ = null;
productionBuilder_ = null;
}
if (venueBuilder_ == null) {
venue_ = null;
} else {
venue_ = null;
venueBuilder_ = null;
}
if (doorsOpenBuilder_ == null) {
doorsOpen_ = null;
} else {
doorsOpen_ = null;
doorsOpenBuilder_ = null;
}
if (scheduledStartDateBuilder_ == null) {
scheduledStartDate_ = null;
} else {
scheduledStartDate_ = null;
scheduledStartDateBuilder_ = null;
}
if (actualStartDateBuilder_ == null) {
actualStartDate_ = null;
} else {
actualStartDate_ = null;
actualStartDateBuilder_ = null;
}
if (endDateBuilder_ == null) {
endDate_ = null;
} else {
endDate_ = null;
endDateBuilder_ = null;
}
if (relevantDateBuilder_ == null) {
relevantDate_ = null;
} else {
relevantDate_ = null;
relevantDateBuilder_ = null;
}
if (quotaBuilder_ == null) {
quota_ = null;
} else {
quota_ = null;
quotaBuilder_ = null;
}
if (metricsBuilder_ == null) {
metrics_ = null;
} else {
metrics_ = null;
metricsBuilder_ = 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.EventOuterClass.internal_static_event_tickets_EventListResponse_descriptor;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse getDefaultInstanceForType() {
return com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse build() {
com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse buildPartial() {
com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse result = new com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse(this);
result.id_ = id_;
if (productionBuilder_ == null) {
result.production_ = production_;
} else {
result.production_ = productionBuilder_.build();
}
if (venueBuilder_ == null) {
result.venue_ = venue_;
} else {
result.venue_ = venueBuilder_.build();
}
if (doorsOpenBuilder_ == null) {
result.doorsOpen_ = doorsOpen_;
} else {
result.doorsOpen_ = doorsOpenBuilder_.build();
}
if (scheduledStartDateBuilder_ == null) {
result.scheduledStartDate_ = scheduledStartDate_;
} else {
result.scheduledStartDate_ = scheduledStartDateBuilder_.build();
}
if (actualStartDateBuilder_ == null) {
result.actualStartDate_ = actualStartDate_;
} else {
result.actualStartDate_ = actualStartDateBuilder_.build();
}
if (endDateBuilder_ == null) {
result.endDate_ = endDate_;
} else {
result.endDate_ = endDateBuilder_.build();
}
if (relevantDateBuilder_ == null) {
result.relevantDate_ = relevantDate_;
} else {
result.relevantDate_ = relevantDateBuilder_.build();
}
if (quotaBuilder_ == null) {
result.quota_ = quota_;
} else {
result.quota_ = quotaBuilder_.build();
}
if (metricsBuilder_ == null) {
result.metrics_ = metrics_;
} else {
result.metrics_ = metricsBuilder_.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.EventOuterClass.EventListResponse) {
return mergeFrom((com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse other) {
if (other == com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (other.hasProduction()) {
mergeProduction(other.getProduction());
}
if (other.hasVenue()) {
mergeVenue(other.getVenue());
}
if (other.hasDoorsOpen()) {
mergeDoorsOpen(other.getDoorsOpen());
}
if (other.hasScheduledStartDate()) {
mergeScheduledStartDate(other.getScheduledStartDate());
}
if (other.hasActualStartDate()) {
mergeActualStartDate(other.getActualStartDate());
}
if (other.hasEndDate()) {
mergeEndDate(other.getEndDate());
}
if (other.hasRelevantDate()) {
mergeRelevantDate(other.getRelevantDate());
}
if (other.hasQuota()) {
mergeQuota(other.getQuota());
}
if (other.hasMetrics()) {
mergeMetrics(other.getMetrics());
}
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.EventOuterClass.EventListResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object id_ = "";
/**
*
* PassKit generated event 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 event 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 event 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 event id (22 characters).
*
*
* string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
*
* PassKit generated event 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 com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse production_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.Builder, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponseOrBuilder> productionBuilder_;
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.ProductionLimitedFieldsResponse production = 2;
* @return Whether the production field is set.
*/
public boolean hasProduction() {
return productionBuilder_ != null || production_ != null;
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.ProductionLimitedFieldsResponse production = 2;
* @return The production.
*/
public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse getProduction() {
if (productionBuilder_ == null) {
return production_ == null ? com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.getDefaultInstance() : production_;
} else {
return productionBuilder_.getMessage();
}
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.ProductionLimitedFieldsResponse production = 2;
*/
public Builder setProduction(com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse value) {
if (productionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
production_ = value;
onChanged();
} else {
productionBuilder_.setMessage(value);
}
return this;
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.ProductionLimitedFieldsResponse production = 2;
*/
public Builder setProduction(
com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.Builder builderForValue) {
if (productionBuilder_ == null) {
production_ = builderForValue.build();
onChanged();
} else {
productionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.ProductionLimitedFieldsResponse production = 2;
*/
public Builder mergeProduction(com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse value) {
if (productionBuilder_ == null) {
if (production_ != null) {
production_ =
com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.newBuilder(production_).mergeFrom(value).buildPartial();
} else {
production_ = value;
}
onChanged();
} else {
productionBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.ProductionLimitedFieldsResponse production = 2;
*/
public Builder clearProduction() {
if (productionBuilder_ == null) {
production_ = null;
onChanged();
} else {
production_ = null;
productionBuilder_ = null;
}
return this;
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.ProductionLimitedFieldsResponse production = 2;
*/
public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.Builder getProductionBuilder() {
onChanged();
return getProductionFieldBuilder().getBuilder();
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.ProductionLimitedFieldsResponse production = 2;
*/
public com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponseOrBuilder getProductionOrBuilder() {
if (productionBuilder_ != null) {
return productionBuilder_.getMessageOrBuilder();
} else {
return production_ == null ?
com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.getDefaultInstance() : production_;
}
}
/**
*
* The production that the event belongs to. In case of a create, only the production id needs to be provided.
*
*
* .event_tickets.ProductionLimitedFieldsResponse production = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.Builder, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponseOrBuilder>
getProductionFieldBuilder() {
if (productionBuilder_ == null) {
productionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponse.Builder, com.passkit.grpc.EventTickets.ProductionOuterClass.ProductionLimitedFieldsResponseOrBuilder>(
getProduction(),
getParentForChildren(),
isClean());
production_ = null;
}
return productionBuilder_;
}
private com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse venue_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse, com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.Builder, com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponseOrBuilder> venueBuilder_;
/**
*
* The venue information. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.VenueLimitedFieldsResponse venue = 3;
* @return Whether the venue field is set.
*/
public boolean hasVenue() {
return venueBuilder_ != null || venue_ != null;
}
/**
*
* The venue information. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.VenueLimitedFieldsResponse venue = 3;
* @return The venue.
*/
public com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse getVenue() {
if (venueBuilder_ == null) {
return venue_ == null ? com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.getDefaultInstance() : venue_;
} else {
return venueBuilder_.getMessage();
}
}
/**
*
* The venue information. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.VenueLimitedFieldsResponse venue = 3;
*/
public Builder setVenue(com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse value) {
if (venueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
venue_ = value;
onChanged();
} else {
venueBuilder_.setMessage(value);
}
return this;
}
/**
*
* The venue information. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.VenueLimitedFieldsResponse venue = 3;
*/
public Builder setVenue(
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.Builder builderForValue) {
if (venueBuilder_ == null) {
venue_ = builderForValue.build();
onChanged();
} else {
venueBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The venue information. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.VenueLimitedFieldsResponse venue = 3;
*/
public Builder mergeVenue(com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse value) {
if (venueBuilder_ == null) {
if (venue_ != null) {
venue_ =
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.newBuilder(venue_).mergeFrom(value).buildPartial();
} else {
venue_ = value;
}
onChanged();
} else {
venueBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The venue information. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.VenueLimitedFieldsResponse venue = 3;
*/
public Builder clearVenue() {
if (venueBuilder_ == null) {
venue_ = null;
onChanged();
} else {
venue_ = null;
venueBuilder_ = null;
}
return this;
}
/**
*
* The venue information. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.VenueLimitedFieldsResponse venue = 3;
*/
public com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.Builder getVenueBuilder() {
onChanged();
return getVenueFieldBuilder().getBuilder();
}
/**
*
* The venue information. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.VenueLimitedFieldsResponse venue = 3;
*/
public com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponseOrBuilder getVenueOrBuilder() {
if (venueBuilder_ != null) {
return venueBuilder_.getMessageOrBuilder();
} else {
return venue_ == null ?
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.getDefaultInstance() : venue_;
}
}
/**
*
* The venue information. In case of a create, venue.id or venue.uid needs to be provided. If the venue does not exist it will be created.
*
*
* .event_tickets.VenueLimitedFieldsResponse venue = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse, com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.Builder, com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponseOrBuilder>
getVenueFieldBuilder() {
if (venueBuilder_ == null) {
venueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse, com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.Builder, com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponseOrBuilder>(
getVenue(),
getParentForChildren(),
isClean());
venue_ = null;
}
return venueBuilder_;
}
private com.google.protobuf.Timestamp doorsOpen_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> doorsOpenBuilder_;
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
* @return Whether the doorsOpen field is set.
*/
public boolean hasDoorsOpen() {
return doorsOpenBuilder_ != null || doorsOpen_ != null;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
* @return The doorsOpen.
*/
public com.google.protobuf.Timestamp getDoorsOpen() {
if (doorsOpenBuilder_ == null) {
return doorsOpen_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : doorsOpen_;
} else {
return doorsOpenBuilder_.getMessage();
}
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
public Builder setDoorsOpen(com.google.protobuf.Timestamp value) {
if (doorsOpenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
doorsOpen_ = value;
onChanged();
} else {
doorsOpenBuilder_.setMessage(value);
}
return this;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
public Builder setDoorsOpen(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (doorsOpenBuilder_ == null) {
doorsOpen_ = builderForValue.build();
onChanged();
} else {
doorsOpenBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
public Builder mergeDoorsOpen(com.google.protobuf.Timestamp value) {
if (doorsOpenBuilder_ == null) {
if (doorsOpen_ != null) {
doorsOpen_ =
com.google.protobuf.Timestamp.newBuilder(doorsOpen_).mergeFrom(value).buildPartial();
} else {
doorsOpen_ = value;
}
onChanged();
} else {
doorsOpenBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
public Builder clearDoorsOpen() {
if (doorsOpenBuilder_ == null) {
doorsOpen_ = null;
onChanged();
} else {
doorsOpen_ = null;
doorsOpenBuilder_ = null;
}
return this;
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
public com.google.protobuf.Timestamp.Builder getDoorsOpenBuilder() {
onChanged();
return getDoorsOpenFieldBuilder().getBuilder();
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
public com.google.protobuf.TimestampOrBuilder getDoorsOpenOrBuilder() {
if (doorsOpenBuilder_ != null) {
return doorsOpenBuilder_.getMessageOrBuilder();
} else {
return doorsOpen_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : doorsOpen_;
}
}
/**
*
* The date/time when the doors open at the venue.
*
*
* .google.protobuf.Timestamp doorsOpen = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getDoorsOpenFieldBuilder() {
if (doorsOpenBuilder_ == null) {
doorsOpenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getDoorsOpen(),
getParentForChildren(),
isClean());
doorsOpen_ = null;
}
return doorsOpenBuilder_;
}
private com.google.protobuf.Timestamp scheduledStartDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduledStartDateBuilder_;
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return Whether the scheduledStartDate field is set.
*/
public boolean hasScheduledStartDate() {
return scheduledStartDateBuilder_ != null || scheduledStartDate_ != null;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
* @return The scheduledStartDate.
*/
public com.google.protobuf.Timestamp getScheduledStartDate() {
if (scheduledStartDateBuilder_ == null) {
return scheduledStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_;
} else {
return scheduledStartDateBuilder_.getMessage();
}
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public Builder setScheduledStartDate(com.google.protobuf.Timestamp value) {
if (scheduledStartDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
scheduledStartDate_ = value;
onChanged();
} else {
scheduledStartDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public Builder setScheduledStartDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (scheduledStartDateBuilder_ == null) {
scheduledStartDate_ = builderForValue.build();
onChanged();
} else {
scheduledStartDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public Builder mergeScheduledStartDate(com.google.protobuf.Timestamp value) {
if (scheduledStartDateBuilder_ == null) {
if (scheduledStartDate_ != null) {
scheduledStartDate_ =
com.google.protobuf.Timestamp.newBuilder(scheduledStartDate_).mergeFrom(value).buildPartial();
} else {
scheduledStartDate_ = value;
}
onChanged();
} else {
scheduledStartDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public Builder clearScheduledStartDate() {
if (scheduledStartDateBuilder_ == null) {
scheduledStartDate_ = null;
onChanged();
} else {
scheduledStartDate_ = null;
scheduledStartDateBuilder_ = null;
}
return this;
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public com.google.protobuf.Timestamp.Builder getScheduledStartDateBuilder() {
onChanged();
return getScheduledStartDateFieldBuilder().getBuilder();
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
public com.google.protobuf.TimestampOrBuilder getScheduledStartDateOrBuilder() {
if (scheduledStartDateBuilder_ != null) {
return scheduledStartDateBuilder_.getMessageOrBuilder();
} else {
return scheduledStartDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : scheduledStartDate_;
}
}
/**
*
* The scheduled date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. Tickets can only be issued for events that are within 90 days of the ticket issue date.
*
*
* .google.protobuf.Timestamp scheduledStartDate = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getScheduledStartDateFieldBuilder() {
if (scheduledStartDateBuilder_ == null) {
scheduledStartDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getScheduledStartDate(),
getParentForChildren(),
isClean());
scheduledStartDate_ = null;
}
return scheduledStartDateBuilder_;
}
private com.google.protobuf.Timestamp actualStartDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> actualStartDateBuilder_;
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
* @return Whether the actualStartDate field is set.
*/
public boolean hasActualStartDate() {
return actualStartDateBuilder_ != null || actualStartDate_ != null;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
* @return The actualStartDate.
*/
public com.google.protobuf.Timestamp getActualStartDate() {
if (actualStartDateBuilder_ == null) {
return actualStartDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : actualStartDate_;
} else {
return actualStartDateBuilder_.getMessage();
}
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
public Builder setActualStartDate(com.google.protobuf.Timestamp value) {
if (actualStartDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
actualStartDate_ = value;
onChanged();
} else {
actualStartDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
public Builder setActualStartDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (actualStartDateBuilder_ == null) {
actualStartDate_ = builderForValue.build();
onChanged();
} else {
actualStartDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
public Builder mergeActualStartDate(com.google.protobuf.Timestamp value) {
if (actualStartDateBuilder_ == null) {
if (actualStartDate_ != null) {
actualStartDate_ =
com.google.protobuf.Timestamp.newBuilder(actualStartDate_).mergeFrom(value).buildPartial();
} else {
actualStartDate_ = value;
}
onChanged();
} else {
actualStartDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
public Builder clearActualStartDate() {
if (actualStartDateBuilder_ == null) {
actualStartDate_ = null;
onChanged();
} else {
actualStartDate_ = null;
actualStartDateBuilder_ = null;
}
return this;
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
public com.google.protobuf.Timestamp.Builder getActualStartDateBuilder() {
onChanged();
return getActualStartDateFieldBuilder().getBuilder();
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
public com.google.protobuf.TimestampOrBuilder getActualStartDateOrBuilder() {
if (actualStartDateBuilder_ != null) {
return actualStartDateBuilder_.getMessageOrBuilder();
} else {
return actualStartDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : actualStartDate_;
}
}
/**
*
* The new date/time when the event starts. This field can be used when you need to set a new event start data/time.
*
*
* .google.protobuf.Timestamp actualStartDate = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getActualStartDateFieldBuilder() {
if (actualStartDateBuilder_ == null) {
actualStartDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getActualStartDate(),
getParentForChildren(),
isClean());
actualStartDate_ = null;
}
return actualStartDateBuilder_;
}
private com.google.protobuf.Timestamp endDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endDateBuilder_;
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
* @return Whether the endDate field is set.
*/
public boolean hasEndDate() {
return endDateBuilder_ != null || endDate_ != null;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
* @return The endDate.
*/
public com.google.protobuf.Timestamp getEndDate() {
if (endDateBuilder_ == null) {
return endDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endDate_;
} else {
return endDateBuilder_.getMessage();
}
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
public Builder setEndDate(com.google.protobuf.Timestamp value) {
if (endDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
endDate_ = value;
onChanged();
} else {
endDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
public Builder setEndDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (endDateBuilder_ == null) {
endDate_ = builderForValue.build();
onChanged();
} else {
endDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
public Builder mergeEndDate(com.google.protobuf.Timestamp value) {
if (endDateBuilder_ == null) {
if (endDate_ != null) {
endDate_ =
com.google.protobuf.Timestamp.newBuilder(endDate_).mergeFrom(value).buildPartial();
} else {
endDate_ = value;
}
onChanged();
} else {
endDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
public Builder clearEndDate() {
if (endDateBuilder_ == null) {
endDate_ = null;
onChanged();
} else {
endDate_ = null;
endDateBuilder_ = null;
}
return this;
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
public com.google.protobuf.Timestamp.Builder getEndDateBuilder() {
onChanged();
return getEndDateFieldBuilder().getBuilder();
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
public com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder() {
if (endDateBuilder_ != null) {
return endDateBuilder_.getMessageOrBuilder();
} else {
return endDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : endDate_;
}
}
/**
*
* The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day.
*
*
* .google.protobuf.Timestamp endDate = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getEndDateFieldBuilder() {
if (endDateBuilder_ == null) {
endDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getEndDate(),
getParentForChildren(),
isClean());
endDate_ = null;
}
return endDateBuilder_;
}
private com.google.protobuf.Timestamp relevantDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> relevantDateBuilder_;
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
* @return Whether the relevantDate field is set.
*/
public boolean hasRelevantDate() {
return relevantDateBuilder_ != null || relevantDate_ != null;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
* @return The relevantDate.
*/
public com.google.protobuf.Timestamp getRelevantDate() {
if (relevantDateBuilder_ == null) {
return relevantDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : relevantDate_;
} else {
return relevantDateBuilder_.getMessage();
}
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
public Builder setRelevantDate(com.google.protobuf.Timestamp value) {
if (relevantDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
relevantDate_ = value;
onChanged();
} else {
relevantDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
public Builder setRelevantDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (relevantDateBuilder_ == null) {
relevantDate_ = builderForValue.build();
onChanged();
} else {
relevantDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
public Builder mergeRelevantDate(com.google.protobuf.Timestamp value) {
if (relevantDateBuilder_ == null) {
if (relevantDate_ != null) {
relevantDate_ =
com.google.protobuf.Timestamp.newBuilder(relevantDate_).mergeFrom(value).buildPartial();
} else {
relevantDate_ = value;
}
onChanged();
} else {
relevantDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
public Builder clearRelevantDate() {
if (relevantDateBuilder_ == null) {
relevantDate_ = null;
onChanged();
} else {
relevantDate_ = null;
relevantDateBuilder_ = null;
}
return this;
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
public com.google.protobuf.Timestamp.Builder getRelevantDateBuilder() {
onChanged();
return getRelevantDateFieldBuilder().getBuilder();
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
public com.google.protobuf.TimestampOrBuilder getRelevantDateOrBuilder() {
if (relevantDateBuilder_ != null) {
return relevantDateBuilder_.getMessageOrBuilder();
} else {
return relevantDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : relevantDate_;
}
}
/**
*
* Optional relevant date for when the event starts. Used by Apple Wallet to trigger a lock-screen notification that there is an event coming up. Google Pay will always notify the user 3 hours before the event start date that they have an upcoming event.
*
*
* .google.protobuf.Timestamp relevantDate = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getRelevantDateFieldBuilder() {
if (relevantDateBuilder_ == null) {
relevantDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getRelevantDate(),
getParentForChildren(),
isClean());
relevantDate_ = null;
}
return relevantDateBuilder_;
}
private com.passkit.grpc.Billing.Quota quota_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Billing.Quota, com.passkit.grpc.Billing.Quota.Builder, com.passkit.grpc.Billing.QuotaOrBuilder> quotaBuilder_;
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
* @return Whether the quota field is set.
*/
public boolean hasQuota() {
return quotaBuilder_ != null || quota_ != null;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
* @return The quota.
*/
public com.passkit.grpc.Billing.Quota getQuota() {
if (quotaBuilder_ == null) {
return quota_ == null ? com.passkit.grpc.Billing.Quota.getDefaultInstance() : quota_;
} else {
return quotaBuilder_.getMessage();
}
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
public Builder setQuota(com.passkit.grpc.Billing.Quota value) {
if (quotaBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
quota_ = value;
onChanged();
} else {
quotaBuilder_.setMessage(value);
}
return this;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
public Builder setQuota(
com.passkit.grpc.Billing.Quota.Builder builderForValue) {
if (quotaBuilder_ == null) {
quota_ = builderForValue.build();
onChanged();
} else {
quotaBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
public Builder mergeQuota(com.passkit.grpc.Billing.Quota value) {
if (quotaBuilder_ == null) {
if (quota_ != null) {
quota_ =
com.passkit.grpc.Billing.Quota.newBuilder(quota_).mergeFrom(value).buildPartial();
} else {
quota_ = value;
}
onChanged();
} else {
quotaBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
public Builder clearQuota() {
if (quotaBuilder_ == null) {
quota_ = null;
onChanged();
} else {
quota_ = null;
quotaBuilder_ = null;
}
return this;
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
public com.passkit.grpc.Billing.Quota.Builder getQuotaBuilder() {
onChanged();
return getQuotaFieldBuilder().getBuilder();
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
public com.passkit.grpc.Billing.QuotaOrBuilder getQuotaOrBuilder() {
if (quotaBuilder_ != null) {
return quotaBuilder_.getMessageOrBuilder();
} else {
return quota_ == null ?
com.passkit.grpc.Billing.Quota.getDefaultInstance() : quota_;
}
}
/**
*
* The quota for the event. If set to 0, then it is unlimited. If the quota is reached no new tickets can be issued.
*
*
* .io.Quota quota = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Billing.Quota, com.passkit.grpc.Billing.Quota.Builder, com.passkit.grpc.Billing.QuotaOrBuilder>
getQuotaFieldBuilder() {
if (quotaBuilder_ == null) {
quotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Billing.Quota, com.passkit.grpc.Billing.Quota.Builder, com.passkit.grpc.Billing.QuotaOrBuilder>(
getQuota(),
getParentForChildren(),
isClean());
quota_ = null;
}
return quotaBuilder_;
}
private com.passkit.grpc.MetricsOuterClass.Metrics metrics_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.MetricsOuterClass.Metrics, com.passkit.grpc.MetricsOuterClass.Metrics.Builder, com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder> metricsBuilder_;
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10;
* @return Whether the metrics field is set.
*/
public boolean hasMetrics() {
return metricsBuilder_ != null || metrics_ != null;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10;
* @return The metrics.
*/
public com.passkit.grpc.MetricsOuterClass.Metrics getMetrics() {
if (metricsBuilder_ == null) {
return metrics_ == null ? com.passkit.grpc.MetricsOuterClass.Metrics.getDefaultInstance() : metrics_;
} else {
return metricsBuilder_.getMessage();
}
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10;
*/
public Builder setMetrics(com.passkit.grpc.MetricsOuterClass.Metrics value) {
if (metricsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
metrics_ = value;
onChanged();
} else {
metricsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10;
*/
public Builder setMetrics(
com.passkit.grpc.MetricsOuterClass.Metrics.Builder builderForValue) {
if (metricsBuilder_ == null) {
metrics_ = builderForValue.build();
onChanged();
} else {
metricsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10;
*/
public Builder mergeMetrics(com.passkit.grpc.MetricsOuterClass.Metrics value) {
if (metricsBuilder_ == null) {
if (metrics_ != null) {
metrics_ =
com.passkit.grpc.MetricsOuterClass.Metrics.newBuilder(metrics_).mergeFrom(value).buildPartial();
} else {
metrics_ = value;
}
onChanged();
} else {
metricsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10;
*/
public Builder clearMetrics() {
if (metricsBuilder_ == null) {
metrics_ = null;
onChanged();
} else {
metrics_ = null;
metricsBuilder_ = null;
}
return this;
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10;
*/
public com.passkit.grpc.MetricsOuterClass.Metrics.Builder getMetricsBuilder() {
onChanged();
return getMetricsFieldBuilder().getBuilder();
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10;
*/
public com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder getMetricsOrBuilder() {
if (metricsBuilder_ != null) {
return metricsBuilder_.getMessageOrBuilder();
} else {
return metrics_ == null ?
com.passkit.grpc.MetricsOuterClass.Metrics.getDefaultInstance() : metrics_;
}
}
/**
*
* Performance analytics for the event. Not writable.
*
*
* .io.Metrics metrics = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.MetricsOuterClass.Metrics, com.passkit.grpc.MetricsOuterClass.Metrics.Builder, com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder>
getMetricsFieldBuilder() {
if (metricsBuilder_ == null) {
metricsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.MetricsOuterClass.Metrics, com.passkit.grpc.MetricsOuterClass.Metrics.Builder, com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder>(
getMetrics(),
getParentForChildren(),
isClean());
metrics_ = null;
}
return metricsBuilder_;
}
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 = 11;
* @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 = 11;
* @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 = 11;
*/
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 = 11;
*/
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 = 11;
*/
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 = 11;
*/
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 = 11;
*/
public com.google.protobuf.Timestamp.Builder getCreatedBuilder() {
onChanged();
return getCreatedFieldBuilder().getBuilder();
}
/**
*
* The date the event was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 11;
*/
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 = 11;
*/
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 = 12;
* @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 = 12;
* @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 = 12;
*/
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 = 12;
*/
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 = 12;
*/
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 = 12;
*/
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 = 12;
*/
public com.google.protobuf.Timestamp.Builder getUpdatedBuilder() {
onChanged();
return getUpdatedFieldBuilder().getBuilder();
}
/**
*
* The date the event updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 12;
*/
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 = 12;
*/
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.EventListResponse)
}
// @@protoc_insertion_point(class_scope:event_tickets.EventListResponse)
private static final com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse();
}
public static com.passkit.grpc.EventTickets.EventOuterClass.EventListResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public EventListResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EventListResponse(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.EventOuterClass.EventListResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_event_tickets_Event_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_event_tickets_Event_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_event_tickets_EventListRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_event_tickets_EventListRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_event_tickets_GetEventRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_event_tickets_GetEventRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_event_tickets_EventLimitedFieldsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_event_tickets_EventLimitedFieldsResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_event_tickets_EventLimitedFieldsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_event_tickets_EventLimitedFieldsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_event_tickets_EventListResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_event_tickets_EventListResponse_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\034io/event_tickets/event.proto\022\revent_ti" +
"ckets\032\037google/protobuf/timestamp.proto\032\027" +
"io/common/billing.proto\032\034io/common/local" +
"ization.proto\032\027io/common/metrics.proto\032\026" +
"io/common/filter.proto\032!io/event_tickets" +
"/production.proto\032\034io/event_tickets/venu" +
"e.proto\032.protoc-gen-openapiv2/options/an" +
"notations.proto\"\263\005\n\005Event\022\n\n\002id\030\001 \001(\t\022-\n" +
"\nproduction\030\002 \001(\0132\031.event_tickets.Produc" +
"tion\022#\n\005venue\030\003 \001(\0132\024.event_tickets.Venu" +
"e\022-\n\tdoorsOpen\030\004 \001(\0132\032.google.protobuf.T" +
"imestamp\0226\n\022scheduledStartDate\030\005 \001(\0132\032.g" +
"oogle.protobuf.Timestamp\0223\n\017actualStartD" +
"ate\030\006 \001(\0132\032.google.protobuf.Timestamp\022+\n" +
"\007endDate\030\007 \001(\0132\032.google.protobuf.Timesta" +
"mp\0220\n\014relevantDate\030\010 \001(\0132\032.google.protob" +
"uf.Timestamp\022\030\n\005quota\030\t \001(\0132\t.io.Quota\022#" +
"\n\007metrics\030\n \001(\0132\013.io.MetricsB\005\222A\002@\001\0222\n\007c" +
"reated\030\013 \001(\0132\032.google.protobuf.Timestamp" +
"B\005\222A\002@\001\0222\n\007updated\030\014 \001(\0132\032.google.protob" +
"uf.TimestampB\005\222A\002@\001:\247\001\222A\243\001\n\240\001*\005Event2vEv" +
"ent is an instance of a Production; an e" +
"vent is showing; it holds the event star" +
"t & end date/time and venue details.\322\001\np" +
"roduction\322\001\005venue\322\001\tstartDate\"\320\001\n\020EventL" +
"istRequest\022\026\n\014productionId\030\001 \001(\tH\000\022\027\n\rpr" +
"oductionUid\030\002 \001(\tH\000\022\017\n\007venueId\030\003 \001(\t\022\034\n\007" +
"filters\030\004 \001(\0132\013.io.Filters:N\222AK\nI*\022Event" +
" List Request2&Used to list events in th" +
"e production.\322\001\nproductionB\014\n\nproduction" +
"\"\226\002\n\017GetEventRequest\022\026\n\014productionId\030\001 \001" +
"(\tH\000\022\027\n\rproductionUid\030\002 \001(\tH\000\022\021\n\007venueId" +
"\030\003 \001(\tH\001\022\022\n\010venueUid\030\004 \001(\tH\001\0226\n\022schedule" +
"dStartDate\030\005 \001(\0132\032.google.protobuf.Times" +
"tamp:\\\222AY\nW*\021Get Event Request2!Used to " +
"retrieve an event record.\322\001\nproduction\322\001" +
"\005venue\322\001\tstartDateB\014\n\nproductionB\007\n\005venu" +
"e\"\327\002\n\032EventLimitedFieldsResponse\022\n\n\002id\030\001" +
" \001(\t\0226\n\022scheduledStartDate\030\002 \001(\0132\032.googl" +
"e.protobuf.Timestamp\0223\n\017actualStartDate\030" +
"\003 \001(\0132\032.google.protobuf.Timestamp\022+\n\007end" +
"Date\030\004 \001(\0132\032.google.protobuf.Timestamp:\222" +
"\001\222A\216\001\n\213\001*\021Event (Light ver)2vEvent is an" +
" instance of a Production; an event is s" +
"howing; it holds the event start & end d" +
"ate/time and venue details.\"\222\005\n\031EventLim" +
"itedFieldsRequest\022\024\n\014productionId\030\001 \001(\t\022" +
"\017\n\007venueId\030\002 \001(\t\022-\n\tdoorsOpen\030\003 \001(\0132\032.go" +
"ogle.protobuf.Timestamp\0226\n\022scheduledStar" +
"tDate\030\004 \001(\0132\032.google.protobuf.Timestamp\022" +
"3\n\017actualStartDate\030\005 \001(\0132\032.google.protob" +
"uf.Timestamp\022+\n\007endDate\030\006 \001(\0132\032.google.p" +
"rotobuf.Timestamp\0220\n\014relevantDate\030\007 \001(\0132" +
"\032.google.protobuf.Timestamp\022\030\n\005quota\030\010 \001" +
"(\0132\t.io.Quota\022\034\n\007metrics\030\t \001(\0132\013.io.Metr" +
"ics\022+\n\007created\030\n \001(\0132\032.google.protobuf.T" +
"imestamp\022+\n\007updated\030\013 \001(\0132\032.google.proto" +
"buf.Timestamp:\300\001\222A\274\001\n\271\001*\021Event (Light ve" +
"r)2vEvent is an instance of a Production" +
"; an event is showing; it holds the even" +
"t start & end date/time and venue detail" +
"s.\322\001\014productionId\322\001\007venueId\322\001\022scheduledS" +
"tartDate\"\227\005\n\021EventListResponse\022\n\n\002id\030\001 \001" +
"(\t\022B\n\nproduction\030\002 \001(\0132..event_tickets.P" +
"roductionLimitedFieldsResponse\0228\n\005venue\030" +
"\003 \001(\0132).event_tickets.VenueLimitedFields" +
"Response\022-\n\tdoorsOpen\030\004 \001(\0132\032.google.pro" +
"tobuf.Timestamp\0226\n\022scheduledStartDate\030\005 " +
"\001(\0132\032.google.protobuf.Timestamp\0223\n\017actua" +
"lStartDate\030\006 \001(\0132\032.google.protobuf.Times" +
"tamp\022+\n\007endDate\030\007 \001(\0132\032.google.protobuf." +
"Timestamp\0220\n\014relevantDate\030\010 \001(\0132\032.google" +
".protobuf.Timestamp\022\030\n\005quota\030\t \001(\0132\t.io." +
"Quota\022\034\n\007metrics\030\n \001(\0132\013.io.Metrics\022+\n\007c" +
"reated\030\013 \001(\0132\032.google.protobuf.Timestamp" +
"\022+\n\007updated\030\014 \001(\0132\032.google.protobuf.Time" +
"stamp:k\222Ah\nf*\023Event List Response2OConta" +
"ins event search result. Production and " +
"venue objects have limited fields.Bo\n\035co" +
"m.passkit.grpc.EventTicketsZ2stash.passk" +
"it.com/io/model/sdk/go/io/event_tickets\252" +
"\002\031PassKit.Grpc.EventTicketsb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.TimestampProto.getDescriptor(),
com.passkit.grpc.Billing.getDescriptor(),
com.passkit.grpc.Localization.getDescriptor(),
com.passkit.grpc.MetricsOuterClass.getDescriptor(),
com.passkit.grpc.Filter.getDescriptor(),
com.passkit.grpc.EventTickets.ProductionOuterClass.getDescriptor(),
com.passkit.grpc.EventTickets.VenueOuterClass.getDescriptor(),
grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(),
});
internal_static_event_tickets_Event_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_event_tickets_Event_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_event_tickets_Event_descriptor,
new java.lang.String[] { "Id", "Production", "Venue", "DoorsOpen", "ScheduledStartDate", "ActualStartDate", "EndDate", "RelevantDate", "Quota", "Metrics", "Created", "Updated", });
internal_static_event_tickets_EventListRequest_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_event_tickets_EventListRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_event_tickets_EventListRequest_descriptor,
new java.lang.String[] { "ProductionId", "ProductionUid", "VenueId", "Filters", "Production", });
internal_static_event_tickets_GetEventRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_event_tickets_GetEventRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_event_tickets_GetEventRequest_descriptor,
new java.lang.String[] { "ProductionId", "ProductionUid", "VenueId", "VenueUid", "ScheduledStartDate", "Production", "Venue", });
internal_static_event_tickets_EventLimitedFieldsResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_event_tickets_EventLimitedFieldsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_event_tickets_EventLimitedFieldsResponse_descriptor,
new java.lang.String[] { "Id", "ScheduledStartDate", "ActualStartDate", "EndDate", });
internal_static_event_tickets_EventLimitedFieldsRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_event_tickets_EventLimitedFieldsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_event_tickets_EventLimitedFieldsRequest_descriptor,
new java.lang.String[] { "ProductionId", "VenueId", "DoorsOpen", "ScheduledStartDate", "ActualStartDate", "EndDate", "RelevantDate", "Quota", "Metrics", "Created", "Updated", });
internal_static_event_tickets_EventListResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_event_tickets_EventListResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_event_tickets_EventListResponse_descriptor,
new java.lang.String[] { "Id", "Production", "Venue", "DoorsOpen", "ScheduledStartDate", "ActualStartDate", "EndDate", "RelevantDate", "Quota", "Metrics", "Created", "Updated", });
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.Billing.getDescriptor();
com.passkit.grpc.Localization.getDescriptor();
com.passkit.grpc.MetricsOuterClass.getDescriptor();
com.passkit.grpc.Filter.getDescriptor();
com.passkit.grpc.EventTickets.ProductionOuterClass.getDescriptor();
com.passkit.grpc.EventTickets.VenueOuterClass.getDescriptor();
grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}