com.passkit.grpc.EventTickets.VenueOuterClass 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/venue.proto
package com.passkit.grpc.EventTickets;
public final class VenueOuterClass {
private VenueOuterClass() {}
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 VenueOrBuilder extends
// @@protoc_insertion_point(interface_extends:event_tickets.Venue)
com.google.protobuf.MessageOrBuilder {
/**
*
* PassKit generated venue id (22 characters).
*
*
* string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return The id.
*/
java.lang.String getId();
/**
*
* PassKit generated venue id (22 characters).
*
*
* string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @return The uid.
*/
java.lang.String getUid();
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @return The bytes for uid.
*/
com.google.protobuf.ByteString
getUidBytes();
/**
*
* The venue name.
*
*
* string name = 3;
* @return The name.
*/
java.lang.String getName();
/**
*
* The venue name.
*
*
* string name = 3;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Localized venue name.
*
*
* .io.LocalizedString localizedName = 4;
* @return Whether the localizedName field is set.
*/
boolean hasLocalizedName();
/**
*
* Localized venue name.
*
*
* .io.LocalizedString localizedName = 4;
* @return The localizedName.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedName();
/**
*
* Localized venue name.
*
*
* .io.LocalizedString localizedName = 4;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedNameOrBuilder();
/**
*
* The venue address.
*
*
* string address = 5;
* @return The address.
*/
java.lang.String getAddress();
/**
*
* The venue address.
*
*
* string address = 5;
* @return The bytes for address.
*/
com.google.protobuf.ByteString
getAddressBytes();
/**
*
* Localized venue address.
*
*
* .io.LocalizedString localizedAddress = 6;
* @return Whether the localizedAddress field is set.
*/
boolean hasLocalizedAddress();
/**
*
* Localized venue address.
*
*
* .io.LocalizedString localizedAddress = 6;
* @return The localizedAddress.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedAddress();
/**
*
* Localized venue address.
*
*
* .io.LocalizedString localizedAddress = 6;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedAddressOrBuilder();
/**
*
* Timezone applied for the event dates. e.g. America/New_York, Asia/Singapore, Europe/London.
*
*
* string timezone = 7;
* @return The timezone.
*/
java.lang.String getTimezone();
/**
*
* Timezone applied for the event dates. e.g. America/New_York, Asia/Singapore, Europe/London.
*
*
* string timezone = 7;
* @return The bytes for timezone.
*/
com.google.protobuf.ByteString
getTimezoneBytes();
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
java.util.List
getGpsCoordsList();
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
com.passkit.grpc.Proximity.GPSLocation getGpsCoords(int index);
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
int getGpsCoordsCount();
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
java.util.List extends com.passkit.grpc.Proximity.GPSLocationOrBuilder>
getGpsCoordsOrBuilderList();
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
com.passkit.grpc.Proximity.GPSLocationOrBuilder getGpsCoordsOrBuilder(
int index);
/**
*
* The date the venue was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 9 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return Whether the created field is set.
*/
boolean hasCreated();
/**
*
* The date the venue was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 9 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return The created.
*/
com.google.protobuf.Timestamp getCreated();
/**
*
* The date the venue was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 9 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder();
/**
*
* The date the venue updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return Whether the updated field is set.
*/
boolean hasUpdated();
/**
*
* The date the venue updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return The updated.
*/
com.google.protobuf.Timestamp getUpdated();
/**
*
* The date the venue updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder();
}
/**
* Protobuf type {@code event_tickets.Venue}
*/
public static final class Venue extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:event_tickets.Venue)
VenueOrBuilder {
private static final long serialVersionUID = 0L;
// Use Venue.newBuilder() to construct.
private Venue(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Venue() {
id_ = "";
uid_ = "";
name_ = "";
address_ = "";
timezone_ = "";
gpsCoords_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Venue();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Venue(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
id_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
uid_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 34: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedName_ != null) {
subBuilder = localizedName_.toBuilder();
}
localizedName_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedName_);
localizedName_ = subBuilder.buildPartial();
}
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
address_ = s;
break;
}
case 50: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedAddress_ != null) {
subBuilder = localizedAddress_.toBuilder();
}
localizedAddress_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedAddress_);
localizedAddress_ = subBuilder.buildPartial();
}
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
timezone_ = s;
break;
}
case 66: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
gpsCoords_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
gpsCoords_.add(
input.readMessage(com.passkit.grpc.Proximity.GPSLocation.parser(), extensionRegistry));
break;
}
case 74: {
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 82: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (updated_ != null) {
subBuilder = updated_.toBuilder();
}
updated_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(updated_);
updated_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
gpsCoords_ = java.util.Collections.unmodifiableList(gpsCoords_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.VenueOuterClass.internal_static_event_tickets_Venue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.VenueOuterClass.internal_static_event_tickets_Venue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.VenueOuterClass.Venue.class, com.passkit.grpc.EventTickets.VenueOuterClass.Venue.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
*
* PassKit generated venue id (22 characters).
*
*
* string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
*
* PassKit generated venue id (22 characters).
*
*
* string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UID_FIELD_NUMBER = 2;
private volatile java.lang.Object uid_;
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @return The uid.
*/
@java.lang.Override
public java.lang.String getUid() {
java.lang.Object ref = uid_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uid_ = s;
return s;
}
}
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @return The bytes for uid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUidBytes() {
java.lang.Object ref = uid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object name_;
/**
*
* The venue name.
*
*
* string name = 3;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* The venue name.
*
*
* string name = 3;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCALIZEDNAME_FIELD_NUMBER = 4;
private com.passkit.grpc.Localization.LocalizedString localizedName_;
/**
*
* Localized venue name.
*
*
* .io.LocalizedString localizedName = 4;
* @return Whether the localizedName field is set.
*/
@java.lang.Override
public boolean hasLocalizedName() {
return localizedName_ != null;
}
/**
*
* Localized venue name.
*
*
* .io.LocalizedString localizedName = 4;
* @return The localizedName.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedName() {
return localizedName_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedName_;
}
/**
*
* Localized venue name.
*
*
* .io.LocalizedString localizedName = 4;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedNameOrBuilder() {
return getLocalizedName();
}
public static final int ADDRESS_FIELD_NUMBER = 5;
private volatile java.lang.Object address_;
/**
*
* The venue address.
*
*
* string address = 5;
* @return The address.
*/
@java.lang.Override
public java.lang.String getAddress() {
java.lang.Object ref = address_;
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();
address_ = s;
return s;
}
}
/**
*
* The venue address.
*
*
* string address = 5;
* @return The bytes for address.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAddressBytes() {
java.lang.Object ref = address_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCALIZEDADDRESS_FIELD_NUMBER = 6;
private com.passkit.grpc.Localization.LocalizedString localizedAddress_;
/**
*
* Localized venue address.
*
*
* .io.LocalizedString localizedAddress = 6;
* @return Whether the localizedAddress field is set.
*/
@java.lang.Override
public boolean hasLocalizedAddress() {
return localizedAddress_ != null;
}
/**
*
* Localized venue address.
*
*
* .io.LocalizedString localizedAddress = 6;
* @return The localizedAddress.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedAddress() {
return localizedAddress_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedAddress_;
}
/**
*
* Localized venue address.
*
*
* .io.LocalizedString localizedAddress = 6;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedAddressOrBuilder() {
return getLocalizedAddress();
}
public static final int TIMEZONE_FIELD_NUMBER = 7;
private volatile java.lang.Object timezone_;
/**
*
* Timezone applied for the event dates. e.g. America/New_York, Asia/Singapore, Europe/London.
*
*
* string timezone = 7;
* @return The timezone.
*/
@java.lang.Override
public java.lang.String getTimezone() {
java.lang.Object ref = timezone_;
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();
timezone_ = s;
return s;
}
}
/**
*
* Timezone applied for the event dates. e.g. America/New_York, Asia/Singapore, Europe/London.
*
*
* string timezone = 7;
* @return The bytes for timezone.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTimezoneBytes() {
java.lang.Object ref = timezone_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
timezone_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GPSCOORDS_FIELD_NUMBER = 8;
private java.util.List gpsCoords_;
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
@java.lang.Override
public java.util.List getGpsCoordsList() {
return gpsCoords_;
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
@java.lang.Override
public java.util.List extends com.passkit.grpc.Proximity.GPSLocationOrBuilder>
getGpsCoordsOrBuilderList() {
return gpsCoords_;
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
@java.lang.Override
public int getGpsCoordsCount() {
return gpsCoords_.size();
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
@java.lang.Override
public com.passkit.grpc.Proximity.GPSLocation getGpsCoords(int index) {
return gpsCoords_.get(index);
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
@java.lang.Override
public com.passkit.grpc.Proximity.GPSLocationOrBuilder getGpsCoordsOrBuilder(
int index) {
return gpsCoords_.get(index);
}
public static final int CREATED_FIELD_NUMBER = 9;
private com.google.protobuf.Timestamp created_;
/**
*
* The date the venue was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 9 [(.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 venue was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 9 [(.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 venue was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 9 [(.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 = 10;
private com.google.protobuf.Timestamp updated_;
/**
*
* The date the venue updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 10 [(.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 venue updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 10 [(.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 venue updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 10 [(.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 (!getUidBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_);
}
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
if (localizedName_ != null) {
output.writeMessage(4, getLocalizedName());
}
if (!getAddressBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, address_);
}
if (localizedAddress_ != null) {
output.writeMessage(6, getLocalizedAddress());
}
if (!getTimezoneBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, timezone_);
}
for (int i = 0; i < gpsCoords_.size(); i++) {
output.writeMessage(8, gpsCoords_.get(i));
}
if (created_ != null) {
output.writeMessage(9, getCreated());
}
if (updated_ != null) {
output.writeMessage(10, getUpdated());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (!getUidBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_);
}
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
}
if (localizedName_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getLocalizedName());
}
if (!getAddressBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, address_);
}
if (localizedAddress_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getLocalizedAddress());
}
if (!getTimezoneBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, timezone_);
}
for (int i = 0; i < gpsCoords_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, gpsCoords_.get(i));
}
if (created_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getCreated());
}
if (updated_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, 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.VenueOuterClass.Venue)) {
return super.equals(obj);
}
com.passkit.grpc.EventTickets.VenueOuterClass.Venue other = (com.passkit.grpc.EventTickets.VenueOuterClass.Venue) obj;
if (!getId()
.equals(other.getId())) return false;
if (!getUid()
.equals(other.getUid())) return false;
if (!getName()
.equals(other.getName())) return false;
if (hasLocalizedName() != other.hasLocalizedName()) return false;
if (hasLocalizedName()) {
if (!getLocalizedName()
.equals(other.getLocalizedName())) return false;
}
if (!getAddress()
.equals(other.getAddress())) return false;
if (hasLocalizedAddress() != other.hasLocalizedAddress()) return false;
if (hasLocalizedAddress()) {
if (!getLocalizedAddress()
.equals(other.getLocalizedAddress())) return false;
}
if (!getTimezone()
.equals(other.getTimezone())) return false;
if (!getGpsCoordsList()
.equals(other.getGpsCoordsList())) return false;
if (hasCreated() != other.hasCreated()) return false;
if (hasCreated()) {
if (!getCreated()
.equals(other.getCreated())) return false;
}
if (hasUpdated() != other.hasUpdated()) return false;
if (hasUpdated()) {
if (!getUpdated()
.equals(other.getUpdated())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + UID_FIELD_NUMBER;
hash = (53 * hash) + getUid().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
if (hasLocalizedName()) {
hash = (37 * hash) + LOCALIZEDNAME_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedName().hashCode();
}
hash = (37 * hash) + ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getAddress().hashCode();
if (hasLocalizedAddress()) {
hash = (37 * hash) + LOCALIZEDADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedAddress().hashCode();
}
hash = (37 * hash) + TIMEZONE_FIELD_NUMBER;
hash = (53 * hash) + getTimezone().hashCode();
if (getGpsCoordsCount() > 0) {
hash = (37 * hash) + GPSCOORDS_FIELD_NUMBER;
hash = (53 * hash) + getGpsCoordsList().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.VenueOuterClass.Venue parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.Venue 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.VenueOuterClass.Venue parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.Venue 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.VenueOuterClass.Venue parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.Venue parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.Venue parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.Venue 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.VenueOuterClass.Venue parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.Venue 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.VenueOuterClass.Venue parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.Venue 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.VenueOuterClass.Venue 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.Venue}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:event_tickets.Venue)
com.passkit.grpc.EventTickets.VenueOuterClass.VenueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.VenueOuterClass.internal_static_event_tickets_Venue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.VenueOuterClass.internal_static_event_tickets_Venue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.VenueOuterClass.Venue.class, com.passkit.grpc.EventTickets.VenueOuterClass.Venue.Builder.class);
}
// Construct using com.passkit.grpc.EventTickets.VenueOuterClass.Venue.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getGpsCoordsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = "";
uid_ = "";
name_ = "";
if (localizedNameBuilder_ == null) {
localizedName_ = null;
} else {
localizedName_ = null;
localizedNameBuilder_ = null;
}
address_ = "";
if (localizedAddressBuilder_ == null) {
localizedAddress_ = null;
} else {
localizedAddress_ = null;
localizedAddressBuilder_ = null;
}
timezone_ = "";
if (gpsCoordsBuilder_ == null) {
gpsCoords_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
gpsCoordsBuilder_.clear();
}
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.VenueOuterClass.internal_static_event_tickets_Venue_descriptor;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.VenueOuterClass.Venue getDefaultInstanceForType() {
return com.passkit.grpc.EventTickets.VenueOuterClass.Venue.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.EventTickets.VenueOuterClass.Venue build() {
com.passkit.grpc.EventTickets.VenueOuterClass.Venue result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.VenueOuterClass.Venue buildPartial() {
com.passkit.grpc.EventTickets.VenueOuterClass.Venue result = new com.passkit.grpc.EventTickets.VenueOuterClass.Venue(this);
int from_bitField0_ = bitField0_;
result.id_ = id_;
result.uid_ = uid_;
result.name_ = name_;
if (localizedNameBuilder_ == null) {
result.localizedName_ = localizedName_;
} else {
result.localizedName_ = localizedNameBuilder_.build();
}
result.address_ = address_;
if (localizedAddressBuilder_ == null) {
result.localizedAddress_ = localizedAddress_;
} else {
result.localizedAddress_ = localizedAddressBuilder_.build();
}
result.timezone_ = timezone_;
if (gpsCoordsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
gpsCoords_ = java.util.Collections.unmodifiableList(gpsCoords_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.gpsCoords_ = gpsCoords_;
} else {
result.gpsCoords_ = gpsCoordsBuilder_.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.VenueOuterClass.Venue) {
return mergeFrom((com.passkit.grpc.EventTickets.VenueOuterClass.Venue)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.EventTickets.VenueOuterClass.Venue other) {
if (other == com.passkit.grpc.EventTickets.VenueOuterClass.Venue.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (!other.getUid().isEmpty()) {
uid_ = other.uid_;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (other.hasLocalizedName()) {
mergeLocalizedName(other.getLocalizedName());
}
if (!other.getAddress().isEmpty()) {
address_ = other.address_;
onChanged();
}
if (other.hasLocalizedAddress()) {
mergeLocalizedAddress(other.getLocalizedAddress());
}
if (!other.getTimezone().isEmpty()) {
timezone_ = other.timezone_;
onChanged();
}
if (gpsCoordsBuilder_ == null) {
if (!other.gpsCoords_.isEmpty()) {
if (gpsCoords_.isEmpty()) {
gpsCoords_ = other.gpsCoords_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureGpsCoordsIsMutable();
gpsCoords_.addAll(other.gpsCoords_);
}
onChanged();
}
} else {
if (!other.gpsCoords_.isEmpty()) {
if (gpsCoordsBuilder_.isEmpty()) {
gpsCoordsBuilder_.dispose();
gpsCoordsBuilder_ = null;
gpsCoords_ = other.gpsCoords_;
bitField0_ = (bitField0_ & ~0x00000001);
gpsCoordsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getGpsCoordsFieldBuilder() : null;
} else {
gpsCoordsBuilder_.addAllMessages(other.gpsCoords_);
}
}
}
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.VenueOuterClass.Venue parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.EventTickets.VenueOuterClass.Venue) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object id_ = "";
/**
*
* PassKit generated venue id (22 characters).
*
*
* string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* PassKit generated venue id (22 characters).
*
*
* string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* PassKit generated venue id (22 characters).
*
*
* string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
*
* PassKit generated venue id (22 characters).
*
*
* string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
*
* PassKit generated venue id (22 characters).
*
*
* string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
onChanged();
return this;
}
private java.lang.Object uid_ = "";
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @return The uid.
*/
public java.lang.String getUid() {
java.lang.Object ref = uid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @return The bytes for uid.
*/
public com.google.protobuf.ByteString
getUidBytes() {
java.lang.Object ref = uid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @param value The uid to set.
* @return This builder for chaining.
*/
public Builder setUid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
uid_ = value;
onChanged();
return this;
}
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @return This builder for chaining.
*/
public Builder clearUid() {
uid_ = getDefaultInstance().getUid();
onChanged();
return this;
}
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @param value The bytes for uid to set.
* @return This builder for chaining.
*/
public Builder setUidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
uid_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
*
* The venue name.
*
*
* string name = 3;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The venue name.
*
*
* string name = 3;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The venue name.
*
*
* string name = 3;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* The venue name.
*
*
* string name = 3;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* The venue name.
*
*
* string name = 3;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private com.passkit.grpc.Localization.LocalizedString localizedName_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedNameBuilder_;
/**
*
* Localized venue name.
*
*
* .io.LocalizedString localizedName = 4;
* @return Whether the localizedName field is set.
*/
public boolean hasLocalizedName() {
return localizedNameBuilder_ != null || localizedName_ != null;
}
/**
*
* Localized venue name.
*
*
* .io.LocalizedString localizedName = 4;
* @return The localizedName.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedName() {
if (localizedNameBuilder_ == null) {
return localizedName_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedName_;
} else {
return localizedNameBuilder_.getMessage();
}
}
/**
*
* Localized venue name.
*
*
* .io.LocalizedString localizedName = 4;
*/
public Builder setLocalizedName(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedNameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedName_ = value;
onChanged();
} else {
localizedNameBuilder_.setMessage(value);
}
return this;
}
/**
*
* Localized venue name.
*
*
* .io.LocalizedString localizedName = 4;
*/
public Builder setLocalizedName(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedNameBuilder_ == null) {
localizedName_ = builderForValue.build();
onChanged();
} else {
localizedNameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Localized venue name.
*
*
* .io.LocalizedString localizedName = 4;
*/
public Builder mergeLocalizedName(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedNameBuilder_ == null) {
if (localizedName_ != null) {
localizedName_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedName_).mergeFrom(value).buildPartial();
} else {
localizedName_ = value;
}
onChanged();
} else {
localizedNameBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Localized venue name.
*
*
* .io.LocalizedString localizedName = 4;
*/
public Builder clearLocalizedName() {
if (localizedNameBuilder_ == null) {
localizedName_ = null;
onChanged();
} else {
localizedName_ = null;
localizedNameBuilder_ = null;
}
return this;
}
/**
*
* Localized venue name.
*
*
* .io.LocalizedString localizedName = 4;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedNameBuilder() {
onChanged();
return getLocalizedNameFieldBuilder().getBuilder();
}
/**
*
* Localized venue name.
*
*
* .io.LocalizedString localizedName = 4;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedNameOrBuilder() {
if (localizedNameBuilder_ != null) {
return localizedNameBuilder_.getMessageOrBuilder();
} else {
return localizedName_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedName_;
}
}
/**
*
* Localized venue name.
*
*
* .io.LocalizedString localizedName = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedNameFieldBuilder() {
if (localizedNameBuilder_ == null) {
localizedNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedName(),
getParentForChildren(),
isClean());
localizedName_ = null;
}
return localizedNameBuilder_;
}
private java.lang.Object address_ = "";
/**
*
* The venue address.
*
*
* string address = 5;
* @return The address.
*/
public java.lang.String getAddress() {
java.lang.Object ref = address_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
address_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The venue address.
*
*
* string address = 5;
* @return The bytes for address.
*/
public com.google.protobuf.ByteString
getAddressBytes() {
java.lang.Object ref = address_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The venue address.
*
*
* string address = 5;
* @param value The address to set.
* @return This builder for chaining.
*/
public Builder setAddress(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
address_ = value;
onChanged();
return this;
}
/**
*
* The venue address.
*
*
* string address = 5;
* @return This builder for chaining.
*/
public Builder clearAddress() {
address_ = getDefaultInstance().getAddress();
onChanged();
return this;
}
/**
*
* The venue address.
*
*
* string address = 5;
* @param value The bytes for address to set.
* @return This builder for chaining.
*/
public Builder setAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
address_ = value;
onChanged();
return this;
}
private com.passkit.grpc.Localization.LocalizedString localizedAddress_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedAddressBuilder_;
/**
*
* Localized venue address.
*
*
* .io.LocalizedString localizedAddress = 6;
* @return Whether the localizedAddress field is set.
*/
public boolean hasLocalizedAddress() {
return localizedAddressBuilder_ != null || localizedAddress_ != null;
}
/**
*
* Localized venue address.
*
*
* .io.LocalizedString localizedAddress = 6;
* @return The localizedAddress.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedAddress() {
if (localizedAddressBuilder_ == null) {
return localizedAddress_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedAddress_;
} else {
return localizedAddressBuilder_.getMessage();
}
}
/**
*
* Localized venue address.
*
*
* .io.LocalizedString localizedAddress = 6;
*/
public Builder setLocalizedAddress(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedAddressBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedAddress_ = value;
onChanged();
} else {
localizedAddressBuilder_.setMessage(value);
}
return this;
}
/**
*
* Localized venue address.
*
*
* .io.LocalizedString localizedAddress = 6;
*/
public Builder setLocalizedAddress(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedAddressBuilder_ == null) {
localizedAddress_ = builderForValue.build();
onChanged();
} else {
localizedAddressBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Localized venue address.
*
*
* .io.LocalizedString localizedAddress = 6;
*/
public Builder mergeLocalizedAddress(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedAddressBuilder_ == null) {
if (localizedAddress_ != null) {
localizedAddress_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedAddress_).mergeFrom(value).buildPartial();
} else {
localizedAddress_ = value;
}
onChanged();
} else {
localizedAddressBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Localized venue address.
*
*
* .io.LocalizedString localizedAddress = 6;
*/
public Builder clearLocalizedAddress() {
if (localizedAddressBuilder_ == null) {
localizedAddress_ = null;
onChanged();
} else {
localizedAddress_ = null;
localizedAddressBuilder_ = null;
}
return this;
}
/**
*
* Localized venue address.
*
*
* .io.LocalizedString localizedAddress = 6;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedAddressBuilder() {
onChanged();
return getLocalizedAddressFieldBuilder().getBuilder();
}
/**
*
* Localized venue address.
*
*
* .io.LocalizedString localizedAddress = 6;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedAddressOrBuilder() {
if (localizedAddressBuilder_ != null) {
return localizedAddressBuilder_.getMessageOrBuilder();
} else {
return localizedAddress_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedAddress_;
}
}
/**
*
* Localized venue address.
*
*
* .io.LocalizedString localizedAddress = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedAddressFieldBuilder() {
if (localizedAddressBuilder_ == null) {
localizedAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedAddress(),
getParentForChildren(),
isClean());
localizedAddress_ = null;
}
return localizedAddressBuilder_;
}
private java.lang.Object timezone_ = "";
/**
*
* Timezone applied for the event dates. e.g. America/New_York, Asia/Singapore, Europe/London.
*
*
* string timezone = 7;
* @return The timezone.
*/
public java.lang.String getTimezone() {
java.lang.Object ref = timezone_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
timezone_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Timezone applied for the event dates. e.g. America/New_York, Asia/Singapore, Europe/London.
*
*
* string timezone = 7;
* @return The bytes for timezone.
*/
public com.google.protobuf.ByteString
getTimezoneBytes() {
java.lang.Object ref = timezone_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
timezone_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Timezone applied for the event dates. e.g. America/New_York, Asia/Singapore, Europe/London.
*
*
* string timezone = 7;
* @param value The timezone to set.
* @return This builder for chaining.
*/
public Builder setTimezone(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
timezone_ = value;
onChanged();
return this;
}
/**
*
* Timezone applied for the event dates. e.g. America/New_York, Asia/Singapore, Europe/London.
*
*
* string timezone = 7;
* @return This builder for chaining.
*/
public Builder clearTimezone() {
timezone_ = getDefaultInstance().getTimezone();
onChanged();
return this;
}
/**
*
* Timezone applied for the event dates. e.g. America/New_York, Asia/Singapore, Europe/London.
*
*
* string timezone = 7;
* @param value The bytes for timezone to set.
* @return This builder for chaining.
*/
public Builder setTimezoneBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
timezone_ = value;
onChanged();
return this;
}
private java.util.List gpsCoords_ =
java.util.Collections.emptyList();
private void ensureGpsCoordsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
gpsCoords_ = new java.util.ArrayList(gpsCoords_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Proximity.GPSLocation, com.passkit.grpc.Proximity.GPSLocation.Builder, com.passkit.grpc.Proximity.GPSLocationOrBuilder> gpsCoordsBuilder_;
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public java.util.List getGpsCoordsList() {
if (gpsCoordsBuilder_ == null) {
return java.util.Collections.unmodifiableList(gpsCoords_);
} else {
return gpsCoordsBuilder_.getMessageList();
}
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public int getGpsCoordsCount() {
if (gpsCoordsBuilder_ == null) {
return gpsCoords_.size();
} else {
return gpsCoordsBuilder_.getCount();
}
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public com.passkit.grpc.Proximity.GPSLocation getGpsCoords(int index) {
if (gpsCoordsBuilder_ == null) {
return gpsCoords_.get(index);
} else {
return gpsCoordsBuilder_.getMessage(index);
}
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public Builder setGpsCoords(
int index, com.passkit.grpc.Proximity.GPSLocation value) {
if (gpsCoordsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGpsCoordsIsMutable();
gpsCoords_.set(index, value);
onChanged();
} else {
gpsCoordsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public Builder setGpsCoords(
int index, com.passkit.grpc.Proximity.GPSLocation.Builder builderForValue) {
if (gpsCoordsBuilder_ == null) {
ensureGpsCoordsIsMutable();
gpsCoords_.set(index, builderForValue.build());
onChanged();
} else {
gpsCoordsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public Builder addGpsCoords(com.passkit.grpc.Proximity.GPSLocation value) {
if (gpsCoordsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGpsCoordsIsMutable();
gpsCoords_.add(value);
onChanged();
} else {
gpsCoordsBuilder_.addMessage(value);
}
return this;
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public Builder addGpsCoords(
int index, com.passkit.grpc.Proximity.GPSLocation value) {
if (gpsCoordsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGpsCoordsIsMutable();
gpsCoords_.add(index, value);
onChanged();
} else {
gpsCoordsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public Builder addGpsCoords(
com.passkit.grpc.Proximity.GPSLocation.Builder builderForValue) {
if (gpsCoordsBuilder_ == null) {
ensureGpsCoordsIsMutable();
gpsCoords_.add(builderForValue.build());
onChanged();
} else {
gpsCoordsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public Builder addGpsCoords(
int index, com.passkit.grpc.Proximity.GPSLocation.Builder builderForValue) {
if (gpsCoordsBuilder_ == null) {
ensureGpsCoordsIsMutable();
gpsCoords_.add(index, builderForValue.build());
onChanged();
} else {
gpsCoordsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public Builder addAllGpsCoords(
java.lang.Iterable extends com.passkit.grpc.Proximity.GPSLocation> values) {
if (gpsCoordsBuilder_ == null) {
ensureGpsCoordsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, gpsCoords_);
onChanged();
} else {
gpsCoordsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public Builder clearGpsCoords() {
if (gpsCoordsBuilder_ == null) {
gpsCoords_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
gpsCoordsBuilder_.clear();
}
return this;
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public Builder removeGpsCoords(int index) {
if (gpsCoordsBuilder_ == null) {
ensureGpsCoordsIsMutable();
gpsCoords_.remove(index);
onChanged();
} else {
gpsCoordsBuilder_.remove(index);
}
return this;
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public com.passkit.grpc.Proximity.GPSLocation.Builder getGpsCoordsBuilder(
int index) {
return getGpsCoordsFieldBuilder().getBuilder(index);
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public com.passkit.grpc.Proximity.GPSLocationOrBuilder getGpsCoordsOrBuilder(
int index) {
if (gpsCoordsBuilder_ == null) {
return gpsCoords_.get(index); } else {
return gpsCoordsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public java.util.List extends com.passkit.grpc.Proximity.GPSLocationOrBuilder>
getGpsCoordsOrBuilderList() {
if (gpsCoordsBuilder_ != null) {
return gpsCoordsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(gpsCoords_);
}
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public com.passkit.grpc.Proximity.GPSLocation.Builder addGpsCoordsBuilder() {
return getGpsCoordsFieldBuilder().addBuilder(
com.passkit.grpc.Proximity.GPSLocation.getDefaultInstance());
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public com.passkit.grpc.Proximity.GPSLocation.Builder addGpsCoordsBuilder(
int index) {
return getGpsCoordsFieldBuilder().addBuilder(
index, com.passkit.grpc.Proximity.GPSLocation.getDefaultInstance());
}
/**
*
* Optional GPS location details of the venue. If provided will be embedded into the ticket as the first GPS location.
*
*
* repeated .io.GPSLocation gpsCoords = 8;
*/
public java.util.List
getGpsCoordsBuilderList() {
return getGpsCoordsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Proximity.GPSLocation, com.passkit.grpc.Proximity.GPSLocation.Builder, com.passkit.grpc.Proximity.GPSLocationOrBuilder>
getGpsCoordsFieldBuilder() {
if (gpsCoordsBuilder_ == null) {
gpsCoordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Proximity.GPSLocation, com.passkit.grpc.Proximity.GPSLocation.Builder, com.passkit.grpc.Proximity.GPSLocationOrBuilder>(
gpsCoords_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
gpsCoords_ = null;
}
return gpsCoordsBuilder_;
}
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 venue was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 9 [(.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 venue was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 9 [(.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 venue was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 9 [(.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 venue was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 9 [(.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 venue was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 9 [(.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 venue was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 9 [(.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 venue was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 9 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
public com.google.protobuf.Timestamp.Builder getCreatedBuilder() {
onChanged();
return getCreatedFieldBuilder().getBuilder();
}
/**
*
* The date the venue was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 9 [(.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 venue was created. Not writable.
*
*
* .google.protobuf.Timestamp created = 9 [(.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 venue updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 10 [(.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 venue updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 10 [(.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 venue updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 10 [(.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 venue updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 10 [(.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 venue updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 10 [(.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 venue updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 10 [(.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 venue updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
*/
public com.google.protobuf.Timestamp.Builder getUpdatedBuilder() {
onChanged();
return getUpdatedFieldBuilder().getBuilder();
}
/**
*
* The date the venue updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 10 [(.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 venue updated. Not writable.
*
*
* .google.protobuf.Timestamp updated = 10 [(.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.Venue)
}
// @@protoc_insertion_point(class_scope:event_tickets.Venue)
private static final com.passkit.grpc.EventTickets.VenueOuterClass.Venue DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.VenueOuterClass.Venue();
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.Venue getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Venue parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Venue(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.VenueOuterClass.Venue getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface VenueLimitedFieldsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:event_tickets.VenueLimitedFieldsResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* PassKit generated venue id (22 characters).
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* PassKit generated venue id (22 characters).
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @return The uid.
*/
java.lang.String getUid();
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @return The bytes for uid.
*/
com.google.protobuf.ByteString
getUidBytes();
/**
*
* The venue name.
*
*
* string name = 3;
* @return The name.
*/
java.lang.String getName();
/**
*
* The venue name.
*
*
* string name = 3;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
}
/**
* Protobuf type {@code event_tickets.VenueLimitedFieldsResponse}
*/
public static final class VenueLimitedFieldsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:event_tickets.VenueLimitedFieldsResponse)
VenueLimitedFieldsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use VenueLimitedFieldsResponse.newBuilder() to construct.
private VenueLimitedFieldsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VenueLimitedFieldsResponse() {
id_ = "";
uid_ = "";
name_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VenueLimitedFieldsResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VenueLimitedFieldsResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
id_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
uid_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.VenueOuterClass.internal_static_event_tickets_VenueLimitedFieldsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.VenueOuterClass.internal_static_event_tickets_VenueLimitedFieldsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.class, com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
*
* PassKit generated venue 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 venue id (22 characters).
*
*
* string id = 1;
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UID_FIELD_NUMBER = 2;
private volatile java.lang.Object uid_;
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @return The uid.
*/
@java.lang.Override
public java.lang.String getUid() {
java.lang.Object ref = uid_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uid_ = s;
return s;
}
}
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @return The bytes for uid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUidBytes() {
java.lang.Object ref = uid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object name_;
/**
*
* The venue name.
*
*
* string name = 3;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* The venue name.
*
*
* string name = 3;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (!getUidBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_);
}
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (!getUidBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_);
}
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse)) {
return super.equals(obj);
}
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse other = (com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse) obj;
if (!getId()
.equals(other.getId())) return false;
if (!getUid()
.equals(other.getUid())) return false;
if (!getName()
.equals(other.getName())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + UID_FIELD_NUMBER;
hash = (53 * hash) + getUid().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse 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.VenueOuterClass.VenueLimitedFieldsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse 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.VenueOuterClass.VenueLimitedFieldsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse 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.VenueOuterClass.VenueLimitedFieldsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse 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.VenueOuterClass.VenueLimitedFieldsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse 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.VenueOuterClass.VenueLimitedFieldsResponse 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.VenueLimitedFieldsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:event_tickets.VenueLimitedFieldsResponse)
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.EventTickets.VenueOuterClass.internal_static_event_tickets_VenueLimitedFieldsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.EventTickets.VenueOuterClass.internal_static_event_tickets_VenueLimitedFieldsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.class, com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.Builder.class);
}
// Construct using com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = "";
uid_ = "";
name_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.EventTickets.VenueOuterClass.internal_static_event_tickets_VenueLimitedFieldsResponse_descriptor;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse getDefaultInstanceForType() {
return com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse build() {
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse buildPartial() {
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse result = new com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse(this);
result.id_ = id_;
result.uid_ = uid_;
result.name_ = name_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse) {
return mergeFrom((com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse other) {
if (other == com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (!other.getUid().isEmpty()) {
uid_ = other.uid_;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object id_ = "";
/**
*
* PassKit generated venue 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 venue 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 venue 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 venue id (22 characters).
*
*
* string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
*
* PassKit generated venue id (22 characters).
*
*
* string id = 1;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
onChanged();
return this;
}
private java.lang.Object uid_ = "";
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @return The uid.
*/
public java.lang.String getUid() {
java.lang.Object ref = uid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @return The bytes for uid.
*/
public com.google.protobuf.ByteString
getUidBytes() {
java.lang.Object ref = uid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @param value The uid to set.
* @return This builder for chaining.
*/
public Builder setUid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
uid_ = value;
onChanged();
return this;
}
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @return This builder for chaining.
*/
public Builder clearUid() {
uid_ = getDefaultInstance().getUid();
onChanged();
return this;
}
/**
*
* User generated venue id; unique within the user account.
*
*
* string uid = 2;
* @param value The bytes for uid to set.
* @return This builder for chaining.
*/
public Builder setUidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
uid_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
*
* The venue name.
*
*
* string name = 3;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The venue name.
*
*
* string name = 3;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The venue name.
*
*
* string name = 3;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* The venue name.
*
*
* string name = 3;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* The venue name.
*
*
* string name = 3;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:event_tickets.VenueLimitedFieldsResponse)
}
// @@protoc_insertion_point(class_scope:event_tickets.VenueLimitedFieldsResponse)
private static final com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse();
}
public static com.passkit.grpc.EventTickets.VenueOuterClass.VenueLimitedFieldsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VenueLimitedFieldsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VenueLimitedFieldsResponse(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.VenueOuterClass.VenueLimitedFieldsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_event_tickets_Venue_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_event_tickets_Venue_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_event_tickets_VenueLimitedFieldsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_event_tickets_VenueLimitedFieldsResponse_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/venue.proto\022\revent_ti" +
"ckets\032\037google/protobuf/timestamp.proto\032\034" +
"io/common/distribution.proto\032\034io/common/" +
"localization.proto\032\027io/common/project.pr" +
"oto\032\031io/common/proximity.proto\032.protoc-g" +
"en-openapiv2/options/annotations.proto\"\244" +
"\003\n\005Venue\022\021\n\002id\030\001 \001(\tB\005\222A\002@\001\022\013\n\003uid\030\002 \001(\t" +
"\022\014\n\004name\030\003 \001(\t\022*\n\rlocalizedName\030\004 \001(\0132\023." +
"io.LocalizedString\022\017\n\007address\030\005 \001(\t\022-\n\020l" +
"ocalizedAddress\030\006 \001(\0132\023.io.LocalizedStri" +
"ng\022\020\n\010timezone\030\007 \001(\t\022\"\n\tgpsCoords\030\010 \003(\0132" +
"\017.io.GPSLocation\0222\n\007created\030\t \001(\0132\032.goog" +
"le.protobuf.TimestampB\005\222A\002@\001\0222\n\007updated\030" +
"\n \001(\0132\032.google.protobuf.TimestampB\005\222A\002@\001" +
":c\222A`\n^*\005Venue25Venue holds details abou" +
"t where the event takes place\322\001\004name\322\001\007a" +
"ddress\322\001\014ianaTimezone\"\224\001\n\032VenueLimitedFi" +
"eldsResponse\022\n\n\002id\030\001 \001(\t\022\013\n\003uid\030\002 \001(\t\022\014\n" +
"\004name\030\003 \001(\t:O\222AL\nJ*\021Venue (Light ver)25V" +
"enue holds details about where the event" +
" takes placeBo\n\035com.passkit.grpc.EventTi" +
"cketsZ2stash.passkit.com/io/model/sdk/go" +
"/io/event_tickets\252\002\031PassKit.Grpc.EventTi" +
"cketsb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.TimestampProto.getDescriptor(),
com.passkit.grpc.Distribution.getDescriptor(),
com.passkit.grpc.Localization.getDescriptor(),
com.passkit.grpc.ProjectOuterClass.getDescriptor(),
com.passkit.grpc.Proximity.getDescriptor(),
grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(),
});
internal_static_event_tickets_Venue_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_event_tickets_Venue_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_event_tickets_Venue_descriptor,
new java.lang.String[] { "Id", "Uid", "Name", "LocalizedName", "Address", "LocalizedAddress", "Timezone", "GpsCoords", "Created", "Updated", });
internal_static_event_tickets_VenueLimitedFieldsResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_event_tickets_VenueLimitedFieldsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_event_tickets_VenueLimitedFieldsResponse_descriptor,
new java.lang.String[] { "Id", "Uid", "Name", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(grpc.gateway.protoc_gen_openapiv2.options.Annotations.openapiv2Field);
registry.add(grpc.gateway.protoc_gen_openapiv2.options.Annotations.openapiv2Schema);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.google.protobuf.TimestampProto.getDescriptor();
com.passkit.grpc.Distribution.getDescriptor();
com.passkit.grpc.Localization.getDescriptor();
com.passkit.grpc.ProjectOuterClass.getDescriptor();
com.passkit.grpc.Proximity.getDescriptor();
grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}