com.passkit.grpc.MetricsOuterClass 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/common/metrics.proto
package com.passkit.grpc;
public final class MetricsOuterClass {
private MetricsOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
*
* Statuses of the pass. A pass will collect multiple statuses as it passes through its lifecycle.
*
*
* Protobuf enum {@code io.LifecycleEvents}
*/
public enum LifecycleEvents
implements com.google.protobuf.ProtocolMessageEnum {
/**
* NO_STATUS = 0;
*/
NO_STATUS(0),
/**
*
* Pass has been created and presented to the user to install.
*
*
* RENDERED = 1;
*/
RENDERED(1),
/**
*
* Pass has been installed in at least one Apple device.
*
*
* INSTALLED_APPLE = 2;
*/
INSTALLED_APPLE(2),
/**
*
* Pass has been installed in at least one Google Pay account.
*
*
* INSTALLED_GOOGLE = 4;
*/
INSTALLED_GOOGLE(4),
/**
*
* Pass has been installed in at least one Android wallet app.
*
*
* INSTALLED_ANDROID_OTHER = 8;
*/
INSTALLED_ANDROID_OTHER(8),
/**
*
* Pass has been uninstalled from at least one Apple device.
*
*
* UNINSTALLED_APPLE = 1024;
*/
UNINSTALLED_APPLE(1024),
/**
*
* Pass has been uninstalled from at least one Google Pay account.
*
*
* UNINSTALLED_GOOGLE = 2048;
*/
UNINSTALLED_GOOGLE(2048),
/**
*
* Pass has been uninstalled from at least one Android wallet app.
*
*
* UNINSTALLED_ANDROID_OTHER = 4096;
*/
UNINSTALLED_ANDROID_OTHER(4096),
/**
*
* An Apple pass bundle has been created.
*
*
* APPLE_PASS_CREATED = 8192;
*/
APPLE_PASS_CREATED(8192),
/**
*
* A Google Pay record has been created.
*
*
* GOOGLE_PAY_RECORD_CREATED = 16384;
*/
GOOGLE_PAY_RECORD_CREATED(16384),
/**
*
* Invalidation request sent to pass.
*
*
* INVALIDATE_REQUESTED = 262144;
*/
INVALIDATE_REQUESTED(262144),
/**
*
* Pass has been invalidated.
*
*
* INVALIDATE_CONFIRMED = 524288;
*/
INVALIDATE_CONFIRMED(524288),
UNRECOGNIZED(-1),
;
/**
* NO_STATUS = 0;
*/
public static final int NO_STATUS_VALUE = 0;
/**
*
* Pass has been created and presented to the user to install.
*
*
* RENDERED = 1;
*/
public static final int RENDERED_VALUE = 1;
/**
*
* Pass has been installed in at least one Apple device.
*
*
* INSTALLED_APPLE = 2;
*/
public static final int INSTALLED_APPLE_VALUE = 2;
/**
*
* Pass has been installed in at least one Google Pay account.
*
*
* INSTALLED_GOOGLE = 4;
*/
public static final int INSTALLED_GOOGLE_VALUE = 4;
/**
*
* Pass has been installed in at least one Android wallet app.
*
*
* INSTALLED_ANDROID_OTHER = 8;
*/
public static final int INSTALLED_ANDROID_OTHER_VALUE = 8;
/**
*
* Pass has been uninstalled from at least one Apple device.
*
*
* UNINSTALLED_APPLE = 1024;
*/
public static final int UNINSTALLED_APPLE_VALUE = 1024;
/**
*
* Pass has been uninstalled from at least one Google Pay account.
*
*
* UNINSTALLED_GOOGLE = 2048;
*/
public static final int UNINSTALLED_GOOGLE_VALUE = 2048;
/**
*
* Pass has been uninstalled from at least one Android wallet app.
*
*
* UNINSTALLED_ANDROID_OTHER = 4096;
*/
public static final int UNINSTALLED_ANDROID_OTHER_VALUE = 4096;
/**
*
* An Apple pass bundle has been created.
*
*
* APPLE_PASS_CREATED = 8192;
*/
public static final int APPLE_PASS_CREATED_VALUE = 8192;
/**
*
* A Google Pay record has been created.
*
*
* GOOGLE_PAY_RECORD_CREATED = 16384;
*/
public static final int GOOGLE_PAY_RECORD_CREATED_VALUE = 16384;
/**
*
* Invalidation request sent to pass.
*
*
* INVALIDATE_REQUESTED = 262144;
*/
public static final int INVALIDATE_REQUESTED_VALUE = 262144;
/**
*
* Pass has been invalidated.
*
*
* INVALIDATE_CONFIRMED = 524288;
*/
public static final int INVALIDATE_CONFIRMED_VALUE = 524288;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static LifecycleEvents valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static LifecycleEvents forNumber(int value) {
switch (value) {
case 0: return NO_STATUS;
case 1: return RENDERED;
case 2: return INSTALLED_APPLE;
case 4: return INSTALLED_GOOGLE;
case 8: return INSTALLED_ANDROID_OTHER;
case 1024: return UNINSTALLED_APPLE;
case 2048: return UNINSTALLED_GOOGLE;
case 4096: return UNINSTALLED_ANDROID_OTHER;
case 8192: return APPLE_PASS_CREATED;
case 16384: return GOOGLE_PAY_RECORD_CREATED;
case 262144: return INVALIDATE_REQUESTED;
case 524288: return INVALIDATE_CONFIRMED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
LifecycleEvents> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public LifecycleEvents findValueByNumber(int number) {
return LifecycleEvents.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.passkit.grpc.MetricsOuterClass.getDescriptor().getEnumTypes().get(0);
}
private static final LifecycleEvents[] VALUES = values();
public static LifecycleEvents valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private LifecycleEvents(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:io.LifecycleEvents)
}
/**
*
* Status is the best determined status of the pass.
*
*
* Protobuf enum {@code io.Status}
*/
public enum Status
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Pass has been issued.
*
*
* PASS_ISSUED = 0;
*/
PASS_ISSUED(0),
/**
*
* Pass has been installed in a wallet.
*
*
* PASS_INSTALLED = 1;
*/
PASS_INSTALLED(1),
/**
*
* Pass has been uninstalled (possibly deleted) from a wallet.
*
*
* PASS_UNINSTALLED = 2;
*/
PASS_UNINSTALLED(2),
/**
*
* Pass has been invalidated.
*
*
* PASS_INVALIDATED = 3;
*/
PASS_INVALIDATED(3),
UNRECOGNIZED(-1),
;
/**
*
* Pass has been issued.
*
*
* PASS_ISSUED = 0;
*/
public static final int PASS_ISSUED_VALUE = 0;
/**
*
* Pass has been installed in a wallet.
*
*
* PASS_INSTALLED = 1;
*/
public static final int PASS_INSTALLED_VALUE = 1;
/**
*
* Pass has been uninstalled (possibly deleted) from a wallet.
*
*
* PASS_UNINSTALLED = 2;
*/
public static final int PASS_UNINSTALLED_VALUE = 2;
/**
*
* Pass has been invalidated.
*
*
* PASS_INVALIDATED = 3;
*/
public static final int PASS_INVALIDATED_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Status valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Status forNumber(int value) {
switch (value) {
case 0: return PASS_ISSUED;
case 1: return PASS_INSTALLED;
case 2: return PASS_UNINSTALLED;
case 3: return PASS_INVALIDATED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Status> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Status findValueByNumber(int number) {
return Status.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.passkit.grpc.MetricsOuterClass.getDescriptor().getEnumTypes().get(1);
}
private static final Status[] VALUES = values();
public static Status valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Status(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:io.Status)
}
public interface MetricsOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.Metrics)
com.google.protobuf.MessageOrBuilder {
/**
*
* Pass records created.
*
*
* uint64 created = 1;
* @return The created.
*/
long getCreated();
/**
*
* Number of passes installed in Apple Wallet.
*
*
* uint64 appleWalletInstalls = 2;
* @return The appleWalletInstalls.
*/
long getAppleWalletInstalls();
/**
*
* Number of passes installed in Google Pay.
*
*
* uint64 googlePayInstalls = 3;
* @return The googlePayInstalls.
*/
long getGooglePayInstalls();
/**
*
* Number of passes installed in Android wallet apps e.g. WalletPasses.
*
*
* uint64 otherAndroidInstalls = 4;
* @return The otherAndroidInstalls.
*/
long getOtherAndroidInstalls();
/**
*
* Number of passes uninstalled from Apple Wallet.
*
*
* uint64 appleWalletUninstalls = 11;
* @return The appleWalletUninstalls.
*/
long getAppleWalletUninstalls();
/**
*
* Number of passes uninstalled from Google Pay.
*
*
* uint64 googlePayUninstalls = 12;
* @return The googlePayUninstalls.
*/
long getGooglePayUninstalls();
/**
*
* Number of passes uninstalled from Android wallet apps e.g. WalletPasses.
*
*
* uint64 otherAndroidUninstalls = 13;
* @return The otherAndroidUninstalls.
*/
long getOtherAndroidUninstalls();
/**
*
* Number of passes invalidated.
*
*
* uint64 invalidations = 20;
* @return The invalidations.
*/
long getInvalidations();
}
/**
*
* Metrics list issued, installed, uninstalled and invalidated counts.
*
*
* Protobuf type {@code io.Metrics}
*/
public static final class Metrics extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.Metrics)
MetricsOrBuilder {
private static final long serialVersionUID = 0L;
// Use Metrics.newBuilder() to construct.
private Metrics(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Metrics() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Metrics();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Metrics(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
created_ = input.readUInt64();
break;
}
case 16: {
appleWalletInstalls_ = input.readUInt64();
break;
}
case 24: {
googlePayInstalls_ = input.readUInt64();
break;
}
case 32: {
otherAndroidInstalls_ = input.readUInt64();
break;
}
case 88: {
appleWalletUninstalls_ = input.readUInt64();
break;
}
case 96: {
googlePayUninstalls_ = input.readUInt64();
break;
}
case 104: {
otherAndroidUninstalls_ = input.readUInt64();
break;
}
case 160: {
invalidations_ = input.readUInt64();
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.MetricsOuterClass.internal_static_io_Metrics_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_Metrics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.MetricsOuterClass.Metrics.class, com.passkit.grpc.MetricsOuterClass.Metrics.Builder.class);
}
public static final int CREATED_FIELD_NUMBER = 1;
private long created_;
/**
*
* Pass records created.
*
*
* uint64 created = 1;
* @return The created.
*/
@java.lang.Override
public long getCreated() {
return created_;
}
public static final int APPLEWALLETINSTALLS_FIELD_NUMBER = 2;
private long appleWalletInstalls_;
/**
*
* Number of passes installed in Apple Wallet.
*
*
* uint64 appleWalletInstalls = 2;
* @return The appleWalletInstalls.
*/
@java.lang.Override
public long getAppleWalletInstalls() {
return appleWalletInstalls_;
}
public static final int GOOGLEPAYINSTALLS_FIELD_NUMBER = 3;
private long googlePayInstalls_;
/**
*
* Number of passes installed in Google Pay.
*
*
* uint64 googlePayInstalls = 3;
* @return The googlePayInstalls.
*/
@java.lang.Override
public long getGooglePayInstalls() {
return googlePayInstalls_;
}
public static final int OTHERANDROIDINSTALLS_FIELD_NUMBER = 4;
private long otherAndroidInstalls_;
/**
*
* Number of passes installed in Android wallet apps e.g. WalletPasses.
*
*
* uint64 otherAndroidInstalls = 4;
* @return The otherAndroidInstalls.
*/
@java.lang.Override
public long getOtherAndroidInstalls() {
return otherAndroidInstalls_;
}
public static final int APPLEWALLETUNINSTALLS_FIELD_NUMBER = 11;
private long appleWalletUninstalls_;
/**
*
* Number of passes uninstalled from Apple Wallet.
*
*
* uint64 appleWalletUninstalls = 11;
* @return The appleWalletUninstalls.
*/
@java.lang.Override
public long getAppleWalletUninstalls() {
return appleWalletUninstalls_;
}
public static final int GOOGLEPAYUNINSTALLS_FIELD_NUMBER = 12;
private long googlePayUninstalls_;
/**
*
* Number of passes uninstalled from Google Pay.
*
*
* uint64 googlePayUninstalls = 12;
* @return The googlePayUninstalls.
*/
@java.lang.Override
public long getGooglePayUninstalls() {
return googlePayUninstalls_;
}
public static final int OTHERANDROIDUNINSTALLS_FIELD_NUMBER = 13;
private long otherAndroidUninstalls_;
/**
*
* Number of passes uninstalled from Android wallet apps e.g. WalletPasses.
*
*
* uint64 otherAndroidUninstalls = 13;
* @return The otherAndroidUninstalls.
*/
@java.lang.Override
public long getOtherAndroidUninstalls() {
return otherAndroidUninstalls_;
}
public static final int INVALIDATIONS_FIELD_NUMBER = 20;
private long invalidations_;
/**
*
* Number of passes invalidated.
*
*
* uint64 invalidations = 20;
* @return The invalidations.
*/
@java.lang.Override
public long getInvalidations() {
return invalidations_;
}
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 (created_ != 0L) {
output.writeUInt64(1, created_);
}
if (appleWalletInstalls_ != 0L) {
output.writeUInt64(2, appleWalletInstalls_);
}
if (googlePayInstalls_ != 0L) {
output.writeUInt64(3, googlePayInstalls_);
}
if (otherAndroidInstalls_ != 0L) {
output.writeUInt64(4, otherAndroidInstalls_);
}
if (appleWalletUninstalls_ != 0L) {
output.writeUInt64(11, appleWalletUninstalls_);
}
if (googlePayUninstalls_ != 0L) {
output.writeUInt64(12, googlePayUninstalls_);
}
if (otherAndroidUninstalls_ != 0L) {
output.writeUInt64(13, otherAndroidUninstalls_);
}
if (invalidations_ != 0L) {
output.writeUInt64(20, invalidations_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (created_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, created_);
}
if (appleWalletInstalls_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, appleWalletInstalls_);
}
if (googlePayInstalls_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, googlePayInstalls_);
}
if (otherAndroidInstalls_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, otherAndroidInstalls_);
}
if (appleWalletUninstalls_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(11, appleWalletUninstalls_);
}
if (googlePayUninstalls_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(12, googlePayUninstalls_);
}
if (otherAndroidUninstalls_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(13, otherAndroidUninstalls_);
}
if (invalidations_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(20, invalidations_);
}
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.MetricsOuterClass.Metrics)) {
return super.equals(obj);
}
com.passkit.grpc.MetricsOuterClass.Metrics other = (com.passkit.grpc.MetricsOuterClass.Metrics) obj;
if (getCreated()
!= other.getCreated()) return false;
if (getAppleWalletInstalls()
!= other.getAppleWalletInstalls()) return false;
if (getGooglePayInstalls()
!= other.getGooglePayInstalls()) return false;
if (getOtherAndroidInstalls()
!= other.getOtherAndroidInstalls()) return false;
if (getAppleWalletUninstalls()
!= other.getAppleWalletUninstalls()) return false;
if (getGooglePayUninstalls()
!= other.getGooglePayUninstalls()) return false;
if (getOtherAndroidUninstalls()
!= other.getOtherAndroidUninstalls()) return false;
if (getInvalidations()
!= other.getInvalidations()) 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) + CREATED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCreated());
hash = (37 * hash) + APPLEWALLETINSTALLS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAppleWalletInstalls());
hash = (37 * hash) + GOOGLEPAYINSTALLS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGooglePayInstalls());
hash = (37 * hash) + OTHERANDROIDINSTALLS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getOtherAndroidInstalls());
hash = (37 * hash) + APPLEWALLETUNINSTALLS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAppleWalletUninstalls());
hash = (37 * hash) + GOOGLEPAYUNINSTALLS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGooglePayUninstalls());
hash = (37 * hash) + OTHERANDROIDUNINSTALLS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getOtherAndroidUninstalls());
hash = (37 * hash) + INVALIDATIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInvalidations());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.MetricsOuterClass.Metrics parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.MetricsOuterClass.Metrics 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.MetricsOuterClass.Metrics parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.MetricsOuterClass.Metrics 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.MetricsOuterClass.Metrics parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.MetricsOuterClass.Metrics parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.MetricsOuterClass.Metrics parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.MetricsOuterClass.Metrics 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.MetricsOuterClass.Metrics parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.MetricsOuterClass.Metrics 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.MetricsOuterClass.Metrics parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.MetricsOuterClass.Metrics 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.MetricsOuterClass.Metrics 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;
}
/**
*
* Metrics list issued, installed, uninstalled and invalidated counts.
*
*
* Protobuf type {@code io.Metrics}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.Metrics)
com.passkit.grpc.MetricsOuterClass.MetricsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_Metrics_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_Metrics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.MetricsOuterClass.Metrics.class, com.passkit.grpc.MetricsOuterClass.Metrics.Builder.class);
}
// Construct using com.passkit.grpc.MetricsOuterClass.Metrics.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();
created_ = 0L;
appleWalletInstalls_ = 0L;
googlePayInstalls_ = 0L;
otherAndroidInstalls_ = 0L;
appleWalletUninstalls_ = 0L;
googlePayUninstalls_ = 0L;
otherAndroidUninstalls_ = 0L;
invalidations_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_Metrics_descriptor;
}
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.Metrics getDefaultInstanceForType() {
return com.passkit.grpc.MetricsOuterClass.Metrics.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.Metrics build() {
com.passkit.grpc.MetricsOuterClass.Metrics result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.Metrics buildPartial() {
com.passkit.grpc.MetricsOuterClass.Metrics result = new com.passkit.grpc.MetricsOuterClass.Metrics(this);
result.created_ = created_;
result.appleWalletInstalls_ = appleWalletInstalls_;
result.googlePayInstalls_ = googlePayInstalls_;
result.otherAndroidInstalls_ = otherAndroidInstalls_;
result.appleWalletUninstalls_ = appleWalletUninstalls_;
result.googlePayUninstalls_ = googlePayUninstalls_;
result.otherAndroidUninstalls_ = otherAndroidUninstalls_;
result.invalidations_ = invalidations_;
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.MetricsOuterClass.Metrics) {
return mergeFrom((com.passkit.grpc.MetricsOuterClass.Metrics)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.MetricsOuterClass.Metrics other) {
if (other == com.passkit.grpc.MetricsOuterClass.Metrics.getDefaultInstance()) return this;
if (other.getCreated() != 0L) {
setCreated(other.getCreated());
}
if (other.getAppleWalletInstalls() != 0L) {
setAppleWalletInstalls(other.getAppleWalletInstalls());
}
if (other.getGooglePayInstalls() != 0L) {
setGooglePayInstalls(other.getGooglePayInstalls());
}
if (other.getOtherAndroidInstalls() != 0L) {
setOtherAndroidInstalls(other.getOtherAndroidInstalls());
}
if (other.getAppleWalletUninstalls() != 0L) {
setAppleWalletUninstalls(other.getAppleWalletUninstalls());
}
if (other.getGooglePayUninstalls() != 0L) {
setGooglePayUninstalls(other.getGooglePayUninstalls());
}
if (other.getOtherAndroidUninstalls() != 0L) {
setOtherAndroidUninstalls(other.getOtherAndroidUninstalls());
}
if (other.getInvalidations() != 0L) {
setInvalidations(other.getInvalidations());
}
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.MetricsOuterClass.Metrics parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.MetricsOuterClass.Metrics) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long created_ ;
/**
*
* Pass records created.
*
*
* uint64 created = 1;
* @return The created.
*/
@java.lang.Override
public long getCreated() {
return created_;
}
/**
*
* Pass records created.
*
*
* uint64 created = 1;
* @param value The created to set.
* @return This builder for chaining.
*/
public Builder setCreated(long value) {
created_ = value;
onChanged();
return this;
}
/**
*
* Pass records created.
*
*
* uint64 created = 1;
* @return This builder for chaining.
*/
public Builder clearCreated() {
created_ = 0L;
onChanged();
return this;
}
private long appleWalletInstalls_ ;
/**
*
* Number of passes installed in Apple Wallet.
*
*
* uint64 appleWalletInstalls = 2;
* @return The appleWalletInstalls.
*/
@java.lang.Override
public long getAppleWalletInstalls() {
return appleWalletInstalls_;
}
/**
*
* Number of passes installed in Apple Wallet.
*
*
* uint64 appleWalletInstalls = 2;
* @param value The appleWalletInstalls to set.
* @return This builder for chaining.
*/
public Builder setAppleWalletInstalls(long value) {
appleWalletInstalls_ = value;
onChanged();
return this;
}
/**
*
* Number of passes installed in Apple Wallet.
*
*
* uint64 appleWalletInstalls = 2;
* @return This builder for chaining.
*/
public Builder clearAppleWalletInstalls() {
appleWalletInstalls_ = 0L;
onChanged();
return this;
}
private long googlePayInstalls_ ;
/**
*
* Number of passes installed in Google Pay.
*
*
* uint64 googlePayInstalls = 3;
* @return The googlePayInstalls.
*/
@java.lang.Override
public long getGooglePayInstalls() {
return googlePayInstalls_;
}
/**
*
* Number of passes installed in Google Pay.
*
*
* uint64 googlePayInstalls = 3;
* @param value The googlePayInstalls to set.
* @return This builder for chaining.
*/
public Builder setGooglePayInstalls(long value) {
googlePayInstalls_ = value;
onChanged();
return this;
}
/**
*
* Number of passes installed in Google Pay.
*
*
* uint64 googlePayInstalls = 3;
* @return This builder for chaining.
*/
public Builder clearGooglePayInstalls() {
googlePayInstalls_ = 0L;
onChanged();
return this;
}
private long otherAndroidInstalls_ ;
/**
*
* Number of passes installed in Android wallet apps e.g. WalletPasses.
*
*
* uint64 otherAndroidInstalls = 4;
* @return The otherAndroidInstalls.
*/
@java.lang.Override
public long getOtherAndroidInstalls() {
return otherAndroidInstalls_;
}
/**
*
* Number of passes installed in Android wallet apps e.g. WalletPasses.
*
*
* uint64 otherAndroidInstalls = 4;
* @param value The otherAndroidInstalls to set.
* @return This builder for chaining.
*/
public Builder setOtherAndroidInstalls(long value) {
otherAndroidInstalls_ = value;
onChanged();
return this;
}
/**
*
* Number of passes installed in Android wallet apps e.g. WalletPasses.
*
*
* uint64 otherAndroidInstalls = 4;
* @return This builder for chaining.
*/
public Builder clearOtherAndroidInstalls() {
otherAndroidInstalls_ = 0L;
onChanged();
return this;
}
private long appleWalletUninstalls_ ;
/**
*
* Number of passes uninstalled from Apple Wallet.
*
*
* uint64 appleWalletUninstalls = 11;
* @return The appleWalletUninstalls.
*/
@java.lang.Override
public long getAppleWalletUninstalls() {
return appleWalletUninstalls_;
}
/**
*
* Number of passes uninstalled from Apple Wallet.
*
*
* uint64 appleWalletUninstalls = 11;
* @param value The appleWalletUninstalls to set.
* @return This builder for chaining.
*/
public Builder setAppleWalletUninstalls(long value) {
appleWalletUninstalls_ = value;
onChanged();
return this;
}
/**
*
* Number of passes uninstalled from Apple Wallet.
*
*
* uint64 appleWalletUninstalls = 11;
* @return This builder for chaining.
*/
public Builder clearAppleWalletUninstalls() {
appleWalletUninstalls_ = 0L;
onChanged();
return this;
}
private long googlePayUninstalls_ ;
/**
*
* Number of passes uninstalled from Google Pay.
*
*
* uint64 googlePayUninstalls = 12;
* @return The googlePayUninstalls.
*/
@java.lang.Override
public long getGooglePayUninstalls() {
return googlePayUninstalls_;
}
/**
*
* Number of passes uninstalled from Google Pay.
*
*
* uint64 googlePayUninstalls = 12;
* @param value The googlePayUninstalls to set.
* @return This builder for chaining.
*/
public Builder setGooglePayUninstalls(long value) {
googlePayUninstalls_ = value;
onChanged();
return this;
}
/**
*
* Number of passes uninstalled from Google Pay.
*
*
* uint64 googlePayUninstalls = 12;
* @return This builder for chaining.
*/
public Builder clearGooglePayUninstalls() {
googlePayUninstalls_ = 0L;
onChanged();
return this;
}
private long otherAndroidUninstalls_ ;
/**
*
* Number of passes uninstalled from Android wallet apps e.g. WalletPasses.
*
*
* uint64 otherAndroidUninstalls = 13;
* @return The otherAndroidUninstalls.
*/
@java.lang.Override
public long getOtherAndroidUninstalls() {
return otherAndroidUninstalls_;
}
/**
*
* Number of passes uninstalled from Android wallet apps e.g. WalletPasses.
*
*
* uint64 otherAndroidUninstalls = 13;
* @param value The otherAndroidUninstalls to set.
* @return This builder for chaining.
*/
public Builder setOtherAndroidUninstalls(long value) {
otherAndroidUninstalls_ = value;
onChanged();
return this;
}
/**
*
* Number of passes uninstalled from Android wallet apps e.g. WalletPasses.
*
*
* uint64 otherAndroidUninstalls = 13;
* @return This builder for chaining.
*/
public Builder clearOtherAndroidUninstalls() {
otherAndroidUninstalls_ = 0L;
onChanged();
return this;
}
private long invalidations_ ;
/**
*
* Number of passes invalidated.
*
*
* uint64 invalidations = 20;
* @return The invalidations.
*/
@java.lang.Override
public long getInvalidations() {
return invalidations_;
}
/**
*
* Number of passes invalidated.
*
*
* uint64 invalidations = 20;
* @param value The invalidations to set.
* @return This builder for chaining.
*/
public Builder setInvalidations(long value) {
invalidations_ = value;
onChanged();
return this;
}
/**
*
* Number of passes invalidated.
*
*
* uint64 invalidations = 20;
* @return This builder for chaining.
*/
public Builder clearInvalidations() {
invalidations_ = 0L;
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:io.Metrics)
}
// @@protoc_insertion_point(class_scope:io.Metrics)
private static final com.passkit.grpc.MetricsOuterClass.Metrics DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.MetricsOuterClass.Metrics();
}
public static com.passkit.grpc.MetricsOuterClass.Metrics getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Metrics parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Metrics(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.MetricsOuterClass.Metrics getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UTMOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.UTM)
com.google.protobuf.MessageOrBuilder {
/**
*
* Use source to identify where the request is coming from. Defaults to Unknown.
*
*
* string source = 1;
* @return The source.
*/
java.lang.String getSource();
/**
*
* Use source to identify where the request is coming from. Defaults to Unknown.
*
*
* string source = 1;
* @return The bytes for source.
*/
com.google.protobuf.ByteString
getSourceBytes();
/**
*
* Use medium to identify a medium such as email, app, or cost-per-click advertising.
*
*
* string medium = 2;
* @return The medium.
*/
java.lang.String getMedium();
/**
*
* Use medium to identify a medium such as email, app, or cost-per-click advertising.
*
*
* string medium = 2;
* @return The bytes for medium.
*/
com.google.protobuf.ByteString
getMediumBytes();
/**
*
* Used for keyword analysis. Use campaign to identify a specific product promotion or strategic campaign.
*
*
* string name = 3;
* @return The name.
*/
java.lang.String getName();
/**
*
* Used for keyword analysis. Use campaign to identify a specific product promotion or strategic campaign.
*
*
* string name = 3;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Used for paid search. Use term to note the keywords for the ad that led to the pass.
*
*
* string term = 4;
* @return The term.
*/
java.lang.String getTerm();
/**
*
* Used for paid search. Use term to note the keywords for the ad that led to the pass.
*
*
* string term = 4;
* @return The bytes for term.
*/
com.google.protobuf.ByteString
getTermBytes();
/**
*
* Used for A/B testing and content-targeted ads. Use content to differentiate ads or links that point to the same URL.
*
*
* string content = 5;
* @return The content.
*/
java.lang.String getContent();
/**
*
* Used for A/B testing and content-targeted ads. Use content to differentiate ads or links that point to the same URL.
*
*
* string content = 5;
* @return The bytes for content.
*/
com.google.protobuf.ByteString
getContentBytes();
}
/**
* Protobuf type {@code io.UTM}
*/
public static final class UTM extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.UTM)
UTMOrBuilder {
private static final long serialVersionUID = 0L;
// Use UTM.newBuilder() to construct.
private UTM(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UTM() {
source_ = "";
medium_ = "";
name_ = "";
term_ = "";
content_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UTM();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UTM(
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();
source_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
medium_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
term_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
content_ = 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.MetricsOuterClass.internal_static_io_UTM_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_UTM_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.MetricsOuterClass.UTM.class, com.passkit.grpc.MetricsOuterClass.UTM.Builder.class);
}
public static final int SOURCE_FIELD_NUMBER = 1;
private volatile java.lang.Object source_;
/**
*
* Use source to identify where the request is coming from. Defaults to Unknown.
*
*
* string source = 1;
* @return The source.
*/
@java.lang.Override
public java.lang.String getSource() {
java.lang.Object ref = source_;
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();
source_ = s;
return s;
}
}
/**
*
* Use source to identify where the request is coming from. Defaults to Unknown.
*
*
* string source = 1;
* @return The bytes for source.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
source_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MEDIUM_FIELD_NUMBER = 2;
private volatile java.lang.Object medium_;
/**
*
* Use medium to identify a medium such as email, app, or cost-per-click advertising.
*
*
* string medium = 2;
* @return The medium.
*/
@java.lang.Override
public java.lang.String getMedium() {
java.lang.Object ref = medium_;
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();
medium_ = s;
return s;
}
}
/**
*
* Use medium to identify a medium such as email, app, or cost-per-click advertising.
*
*
* string medium = 2;
* @return The bytes for medium.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMediumBytes() {
java.lang.Object ref = medium_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
medium_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object name_;
/**
*
* Used for keyword analysis. Use campaign to identify a specific product promotion or strategic campaign.
*
*
* 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;
}
}
/**
*
* Used for keyword analysis. Use campaign to identify a specific product promotion or strategic campaign.
*
*
* 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 TERM_FIELD_NUMBER = 4;
private volatile java.lang.Object term_;
/**
*
* Used for paid search. Use term to note the keywords for the ad that led to the pass.
*
*
* string term = 4;
* @return The term.
*/
@java.lang.Override
public java.lang.String getTerm() {
java.lang.Object ref = term_;
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();
term_ = s;
return s;
}
}
/**
*
* Used for paid search. Use term to note the keywords for the ad that led to the pass.
*
*
* string term = 4;
* @return The bytes for term.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTermBytes() {
java.lang.Object ref = term_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
term_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONTENT_FIELD_NUMBER = 5;
private volatile java.lang.Object content_;
/**
*
* Used for A/B testing and content-targeted ads. Use content to differentiate ads or links that point to the same URL.
*
*
* string content = 5;
* @return The content.
*/
@java.lang.Override
public java.lang.String getContent() {
java.lang.Object ref = content_;
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();
content_ = s;
return s;
}
}
/**
*
* Used for A/B testing and content-targeted ads. Use content to differentiate ads or links that point to the same URL.
*
*
* string content = 5;
* @return The bytes for content.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
content_ = 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 (!getSourceBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_);
}
if (!getMediumBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, medium_);
}
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
if (!getTermBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, term_);
}
if (!getContentBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, content_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getSourceBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, source_);
}
if (!getMediumBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, medium_);
}
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
}
if (!getTermBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, term_);
}
if (!getContentBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, content_);
}
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.MetricsOuterClass.UTM)) {
return super.equals(obj);
}
com.passkit.grpc.MetricsOuterClass.UTM other = (com.passkit.grpc.MetricsOuterClass.UTM) obj;
if (!getSource()
.equals(other.getSource())) return false;
if (!getMedium()
.equals(other.getMedium())) return false;
if (!getName()
.equals(other.getName())) return false;
if (!getTerm()
.equals(other.getTerm())) return false;
if (!getContent()
.equals(other.getContent())) 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) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource().hashCode();
hash = (37 * hash) + MEDIUM_FIELD_NUMBER;
hash = (53 * hash) + getMedium().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + TERM_FIELD_NUMBER;
hash = (53 * hash) + getTerm().hashCode();
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.MetricsOuterClass.UTM parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.MetricsOuterClass.UTM 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.MetricsOuterClass.UTM parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.MetricsOuterClass.UTM 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.MetricsOuterClass.UTM parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.MetricsOuterClass.UTM parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.MetricsOuterClass.UTM parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.MetricsOuterClass.UTM 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.MetricsOuterClass.UTM parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.MetricsOuterClass.UTM 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.MetricsOuterClass.UTM parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.MetricsOuterClass.UTM 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.MetricsOuterClass.UTM 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 io.UTM}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.UTM)
com.passkit.grpc.MetricsOuterClass.UTMOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_UTM_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_UTM_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.MetricsOuterClass.UTM.class, com.passkit.grpc.MetricsOuterClass.UTM.Builder.class);
}
// Construct using com.passkit.grpc.MetricsOuterClass.UTM.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();
source_ = "";
medium_ = "";
name_ = "";
term_ = "";
content_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_UTM_descriptor;
}
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.UTM getDefaultInstanceForType() {
return com.passkit.grpc.MetricsOuterClass.UTM.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.UTM build() {
com.passkit.grpc.MetricsOuterClass.UTM result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.UTM buildPartial() {
com.passkit.grpc.MetricsOuterClass.UTM result = new com.passkit.grpc.MetricsOuterClass.UTM(this);
result.source_ = source_;
result.medium_ = medium_;
result.name_ = name_;
result.term_ = term_;
result.content_ = content_;
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.MetricsOuterClass.UTM) {
return mergeFrom((com.passkit.grpc.MetricsOuterClass.UTM)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.MetricsOuterClass.UTM other) {
if (other == com.passkit.grpc.MetricsOuterClass.UTM.getDefaultInstance()) return this;
if (!other.getSource().isEmpty()) {
source_ = other.source_;
onChanged();
}
if (!other.getMedium().isEmpty()) {
medium_ = other.medium_;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getTerm().isEmpty()) {
term_ = other.term_;
onChanged();
}
if (!other.getContent().isEmpty()) {
content_ = other.content_;
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.MetricsOuterClass.UTM parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.MetricsOuterClass.UTM) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object source_ = "";
/**
*
* Use source to identify where the request is coming from. Defaults to Unknown.
*
*
* string source = 1;
* @return The source.
*/
public java.lang.String getSource() {
java.lang.Object ref = source_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
source_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Use source to identify where the request is coming from. Defaults to Unknown.
*
*
* string source = 1;
* @return The bytes for source.
*/
public com.google.protobuf.ByteString
getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
source_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Use source to identify where the request is coming from. Defaults to Unknown.
*
*
* string source = 1;
* @param value The source to set.
* @return This builder for chaining.
*/
public Builder setSource(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
return this;
}
/**
*
* Use source to identify where the request is coming from. Defaults to Unknown.
*
*
* string source = 1;
* @return This builder for chaining.
*/
public Builder clearSource() {
source_ = getDefaultInstance().getSource();
onChanged();
return this;
}
/**
*
* Use source to identify where the request is coming from. Defaults to Unknown.
*
*
* string source = 1;
* @param value The bytes for source to set.
* @return This builder for chaining.
*/
public Builder setSourceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
source_ = value;
onChanged();
return this;
}
private java.lang.Object medium_ = "";
/**
*
* Use medium to identify a medium such as email, app, or cost-per-click advertising.
*
*
* string medium = 2;
* @return The medium.
*/
public java.lang.String getMedium() {
java.lang.Object ref = medium_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
medium_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Use medium to identify a medium such as email, app, or cost-per-click advertising.
*
*
* string medium = 2;
* @return The bytes for medium.
*/
public com.google.protobuf.ByteString
getMediumBytes() {
java.lang.Object ref = medium_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
medium_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Use medium to identify a medium such as email, app, or cost-per-click advertising.
*
*
* string medium = 2;
* @param value The medium to set.
* @return This builder for chaining.
*/
public Builder setMedium(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
medium_ = value;
onChanged();
return this;
}
/**
*
* Use medium to identify a medium such as email, app, or cost-per-click advertising.
*
*
* string medium = 2;
* @return This builder for chaining.
*/
public Builder clearMedium() {
medium_ = getDefaultInstance().getMedium();
onChanged();
return this;
}
/**
*
* Use medium to identify a medium such as email, app, or cost-per-click advertising.
*
*
* string medium = 2;
* @param value The bytes for medium to set.
* @return This builder for chaining.
*/
public Builder setMediumBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
medium_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
*
* Used for keyword analysis. Use campaign to identify a specific product promotion or strategic campaign.
*
*
* 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;
}
}
/**
*
* Used for keyword analysis. Use campaign to identify a specific product promotion or strategic campaign.
*
*
* 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;
}
}
/**
*
* Used for keyword analysis. Use campaign to identify a specific product promotion or strategic campaign.
*
*
* 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;
}
/**
*
* Used for keyword analysis. Use campaign to identify a specific product promotion or strategic campaign.
*
*
* string name = 3;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* Used for keyword analysis. Use campaign to identify a specific product promotion or strategic campaign.
*
*
* string name = 3;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object term_ = "";
/**
*
* Used for paid search. Use term to note the keywords for the ad that led to the pass.
*
*
* string term = 4;
* @return The term.
*/
public java.lang.String getTerm() {
java.lang.Object ref = term_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
term_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Used for paid search. Use term to note the keywords for the ad that led to the pass.
*
*
* string term = 4;
* @return The bytes for term.
*/
public com.google.protobuf.ByteString
getTermBytes() {
java.lang.Object ref = term_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
term_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Used for paid search. Use term to note the keywords for the ad that led to the pass.
*
*
* string term = 4;
* @param value The term to set.
* @return This builder for chaining.
*/
public Builder setTerm(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
term_ = value;
onChanged();
return this;
}
/**
*
* Used for paid search. Use term to note the keywords for the ad that led to the pass.
*
*
* string term = 4;
* @return This builder for chaining.
*/
public Builder clearTerm() {
term_ = getDefaultInstance().getTerm();
onChanged();
return this;
}
/**
*
* Used for paid search. Use term to note the keywords for the ad that led to the pass.
*
*
* string term = 4;
* @param value The bytes for term to set.
* @return This builder for chaining.
*/
public Builder setTermBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
term_ = value;
onChanged();
return this;
}
private java.lang.Object content_ = "";
/**
*
* Used for A/B testing and content-targeted ads. Use content to differentiate ads or links that point to the same URL.
*
*
* string content = 5;
* @return The content.
*/
public java.lang.String getContent() {
java.lang.Object ref = content_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
content_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Used for A/B testing and content-targeted ads. Use content to differentiate ads or links that point to the same URL.
*
*
* string content = 5;
* @return The bytes for content.
*/
public com.google.protobuf.ByteString
getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
content_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Used for A/B testing and content-targeted ads. Use content to differentiate ads or links that point to the same URL.
*
*
* string content = 5;
* @param value The content to set.
* @return This builder for chaining.
*/
public Builder setContent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
return this;
}
/**
*
* Used for A/B testing and content-targeted ads. Use content to differentiate ads or links that point to the same URL.
*
*
* string content = 5;
* @return This builder for chaining.
*/
public Builder clearContent() {
content_ = getDefaultInstance().getContent();
onChanged();
return this;
}
/**
*
* Used for A/B testing and content-targeted ads. Use content to differentiate ads or links that point to the same URL.
*
*
* string content = 5;
* @param value The bytes for content to set.
* @return This builder for chaining.
*/
public Builder setContentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
content_ = 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:io.UTM)
}
// @@protoc_insertion_point(class_scope:io.UTM)
private static final com.passkit.grpc.MetricsOuterClass.UTM DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.MetricsOuterClass.UTM();
}
public static com.passkit.grpc.MetricsOuterClass.UTM getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UTM parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UTM(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.MetricsOuterClass.UTM getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MetaLocationOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.MetaLocation)
com.google.protobuf.MessageOrBuilder {
/**
*
* Country of issue.
*
*
* string country = 1;
* @return The country.
*/
java.lang.String getCountry();
/**
*
* Country of issue.
*
*
* string country = 1;
* @return The bytes for country.
*/
com.google.protobuf.ByteString
getCountryBytes();
/**
*
* City of issue.
*
*
* string city = 2;
* @return The city.
*/
java.lang.String getCity();
/**
*
* City of issue.
*
*
* string city = 2;
* @return The bytes for city.
*/
com.google.protobuf.ByteString
getCityBytes();
/**
*
* State, region, province or county of issue.
*
*
* string state = 3;
* @return The state.
*/
java.lang.String getState();
/**
*
* State, region, province or county of issue.
*
*
* string state = 3;
* @return The bytes for state.
*/
com.google.protobuf.ByteString
getStateBytes();
/**
*
* Latitude of issue (provided in the issue call).
*
*
* double latitude = 4;
* @return The latitude.
*/
double getLatitude();
/**
*
* Longitude of issue (provided in the issue call).
*
*
* double longitude = 5;
* @return The longitude.
*/
double getLongitude();
}
/**
* Protobuf type {@code io.MetaLocation}
*/
public static final class MetaLocation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.MetaLocation)
MetaLocationOrBuilder {
private static final long serialVersionUID = 0L;
// Use MetaLocation.newBuilder() to construct.
private MetaLocation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MetaLocation() {
country_ = "";
city_ = "";
state_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MetaLocation();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MetaLocation(
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();
country_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
city_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
state_ = s;
break;
}
case 33: {
latitude_ = input.readDouble();
break;
}
case 41: {
longitude_ = input.readDouble();
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.MetricsOuterClass.internal_static_io_MetaLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_MetaLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.MetricsOuterClass.MetaLocation.class, com.passkit.grpc.MetricsOuterClass.MetaLocation.Builder.class);
}
public static final int COUNTRY_FIELD_NUMBER = 1;
private volatile java.lang.Object country_;
/**
*
* Country of issue.
*
*
* string country = 1;
* @return The country.
*/
@java.lang.Override
public java.lang.String getCountry() {
java.lang.Object ref = country_;
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();
country_ = s;
return s;
}
}
/**
*
* Country of issue.
*
*
* string country = 1;
* @return The bytes for country.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCountryBytes() {
java.lang.Object ref = country_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
country_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CITY_FIELD_NUMBER = 2;
private volatile java.lang.Object city_;
/**
*
* City of issue.
*
*
* string city = 2;
* @return The city.
*/
@java.lang.Override
public java.lang.String getCity() {
java.lang.Object ref = city_;
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();
city_ = s;
return s;
}
}
/**
*
* City of issue.
*
*
* string city = 2;
* @return The bytes for city.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCityBytes() {
java.lang.Object ref = city_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
city_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATE_FIELD_NUMBER = 3;
private volatile java.lang.Object state_;
/**
*
* State, region, province or county of issue.
*
*
* string state = 3;
* @return The state.
*/
@java.lang.Override
public java.lang.String getState() {
java.lang.Object ref = state_;
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();
state_ = s;
return s;
}
}
/**
*
* State, region, province or county of issue.
*
*
* string state = 3;
* @return The bytes for state.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStateBytes() {
java.lang.Object ref = state_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
state_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LATITUDE_FIELD_NUMBER = 4;
private double latitude_;
/**
*
* Latitude of issue (provided in the issue call).
*
*
* double latitude = 4;
* @return The latitude.
*/
@java.lang.Override
public double getLatitude() {
return latitude_;
}
public static final int LONGITUDE_FIELD_NUMBER = 5;
private double longitude_;
/**
*
* Longitude of issue (provided in the issue call).
*
*
* double longitude = 5;
* @return The longitude.
*/
@java.lang.Override
public double getLongitude() {
return longitude_;
}
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 (!getCountryBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, country_);
}
if (!getCityBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, city_);
}
if (!getStateBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, state_);
}
if (latitude_ != 0D) {
output.writeDouble(4, latitude_);
}
if (longitude_ != 0D) {
output.writeDouble(5, longitude_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getCountryBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, country_);
}
if (!getCityBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, city_);
}
if (!getStateBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, state_);
}
if (latitude_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(4, latitude_);
}
if (longitude_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(5, longitude_);
}
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.MetricsOuterClass.MetaLocation)) {
return super.equals(obj);
}
com.passkit.grpc.MetricsOuterClass.MetaLocation other = (com.passkit.grpc.MetricsOuterClass.MetaLocation) obj;
if (!getCountry()
.equals(other.getCountry())) return false;
if (!getCity()
.equals(other.getCity())) return false;
if (!getState()
.equals(other.getState())) return false;
if (java.lang.Double.doubleToLongBits(getLatitude())
!= java.lang.Double.doubleToLongBits(
other.getLatitude())) return false;
if (java.lang.Double.doubleToLongBits(getLongitude())
!= java.lang.Double.doubleToLongBits(
other.getLongitude())) 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) + COUNTRY_FIELD_NUMBER;
hash = (53 * hash) + getCountry().hashCode();
hash = (37 * hash) + CITY_FIELD_NUMBER;
hash = (53 * hash) + getCity().hashCode();
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + getState().hashCode();
hash = (37 * hash) + LATITUDE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getLatitude()));
hash = (37 * hash) + LONGITUDE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getLongitude()));
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.MetricsOuterClass.MetaLocation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.MetricsOuterClass.MetaLocation 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.MetricsOuterClass.MetaLocation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.MetricsOuterClass.MetaLocation 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.MetricsOuterClass.MetaLocation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.MetricsOuterClass.MetaLocation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.MetricsOuterClass.MetaLocation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.MetricsOuterClass.MetaLocation 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.MetricsOuterClass.MetaLocation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.MetricsOuterClass.MetaLocation 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.MetricsOuterClass.MetaLocation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.MetricsOuterClass.MetaLocation 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.MetricsOuterClass.MetaLocation 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 io.MetaLocation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.MetaLocation)
com.passkit.grpc.MetricsOuterClass.MetaLocationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_MetaLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_MetaLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.MetricsOuterClass.MetaLocation.class, com.passkit.grpc.MetricsOuterClass.MetaLocation.Builder.class);
}
// Construct using com.passkit.grpc.MetricsOuterClass.MetaLocation.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();
country_ = "";
city_ = "";
state_ = "";
latitude_ = 0D;
longitude_ = 0D;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_MetaLocation_descriptor;
}
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.MetaLocation getDefaultInstanceForType() {
return com.passkit.grpc.MetricsOuterClass.MetaLocation.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.MetaLocation build() {
com.passkit.grpc.MetricsOuterClass.MetaLocation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.MetaLocation buildPartial() {
com.passkit.grpc.MetricsOuterClass.MetaLocation result = new com.passkit.grpc.MetricsOuterClass.MetaLocation(this);
result.country_ = country_;
result.city_ = city_;
result.state_ = state_;
result.latitude_ = latitude_;
result.longitude_ = longitude_;
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.MetricsOuterClass.MetaLocation) {
return mergeFrom((com.passkit.grpc.MetricsOuterClass.MetaLocation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.MetricsOuterClass.MetaLocation other) {
if (other == com.passkit.grpc.MetricsOuterClass.MetaLocation.getDefaultInstance()) return this;
if (!other.getCountry().isEmpty()) {
country_ = other.country_;
onChanged();
}
if (!other.getCity().isEmpty()) {
city_ = other.city_;
onChanged();
}
if (!other.getState().isEmpty()) {
state_ = other.state_;
onChanged();
}
if (other.getLatitude() != 0D) {
setLatitude(other.getLatitude());
}
if (other.getLongitude() != 0D) {
setLongitude(other.getLongitude());
}
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.MetricsOuterClass.MetaLocation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.MetricsOuterClass.MetaLocation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object country_ = "";
/**
*
* Country of issue.
*
*
* string country = 1;
* @return The country.
*/
public java.lang.String getCountry() {
java.lang.Object ref = country_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
country_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Country of issue.
*
*
* string country = 1;
* @return The bytes for country.
*/
public com.google.protobuf.ByteString
getCountryBytes() {
java.lang.Object ref = country_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
country_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Country of issue.
*
*
* string country = 1;
* @param value The country to set.
* @return This builder for chaining.
*/
public Builder setCountry(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
country_ = value;
onChanged();
return this;
}
/**
*
* Country of issue.
*
*
* string country = 1;
* @return This builder for chaining.
*/
public Builder clearCountry() {
country_ = getDefaultInstance().getCountry();
onChanged();
return this;
}
/**
*
* Country of issue.
*
*
* string country = 1;
* @param value The bytes for country to set.
* @return This builder for chaining.
*/
public Builder setCountryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
country_ = value;
onChanged();
return this;
}
private java.lang.Object city_ = "";
/**
*
* City of issue.
*
*
* string city = 2;
* @return The city.
*/
public java.lang.String getCity() {
java.lang.Object ref = city_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
city_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* City of issue.
*
*
* string city = 2;
* @return The bytes for city.
*/
public com.google.protobuf.ByteString
getCityBytes() {
java.lang.Object ref = city_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
city_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* City of issue.
*
*
* string city = 2;
* @param value The city to set.
* @return This builder for chaining.
*/
public Builder setCity(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
city_ = value;
onChanged();
return this;
}
/**
*
* City of issue.
*
*
* string city = 2;
* @return This builder for chaining.
*/
public Builder clearCity() {
city_ = getDefaultInstance().getCity();
onChanged();
return this;
}
/**
*
* City of issue.
*
*
* string city = 2;
* @param value The bytes for city to set.
* @return This builder for chaining.
*/
public Builder setCityBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
city_ = value;
onChanged();
return this;
}
private java.lang.Object state_ = "";
/**
*
* State, region, province or county of issue.
*
*
* string state = 3;
* @return The state.
*/
public java.lang.String getState() {
java.lang.Object ref = state_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
state_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* State, region, province or county of issue.
*
*
* string state = 3;
* @return The bytes for state.
*/
public com.google.protobuf.ByteString
getStateBytes() {
java.lang.Object ref = state_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
state_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* State, region, province or county of issue.
*
*
* string state = 3;
* @param value The state to set.
* @return This builder for chaining.
*/
public Builder setState(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
state_ = value;
onChanged();
return this;
}
/**
*
* State, region, province or county of issue.
*
*
* string state = 3;
* @return This builder for chaining.
*/
public Builder clearState() {
state_ = getDefaultInstance().getState();
onChanged();
return this;
}
/**
*
* State, region, province or county of issue.
*
*
* string state = 3;
* @param value The bytes for state to set.
* @return This builder for chaining.
*/
public Builder setStateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
state_ = value;
onChanged();
return this;
}
private double latitude_ ;
/**
*
* Latitude of issue (provided in the issue call).
*
*
* double latitude = 4;
* @return The latitude.
*/
@java.lang.Override
public double getLatitude() {
return latitude_;
}
/**
*
* Latitude of issue (provided in the issue call).
*
*
* double latitude = 4;
* @param value The latitude to set.
* @return This builder for chaining.
*/
public Builder setLatitude(double value) {
latitude_ = value;
onChanged();
return this;
}
/**
*
* Latitude of issue (provided in the issue call).
*
*
* double latitude = 4;
* @return This builder for chaining.
*/
public Builder clearLatitude() {
latitude_ = 0D;
onChanged();
return this;
}
private double longitude_ ;
/**
*
* Longitude of issue (provided in the issue call).
*
*
* double longitude = 5;
* @return The longitude.
*/
@java.lang.Override
public double getLongitude() {
return longitude_;
}
/**
*
* Longitude of issue (provided in the issue call).
*
*
* double longitude = 5;
* @param value The longitude to set.
* @return This builder for chaining.
*/
public Builder setLongitude(double value) {
longitude_ = value;
onChanged();
return this;
}
/**
*
* Longitude of issue (provided in the issue call).
*
*
* double longitude = 5;
* @return This builder for chaining.
*/
public Builder clearLongitude() {
longitude_ = 0D;
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:io.MetaLocation)
}
// @@protoc_insertion_point(class_scope:io.MetaLocation)
private static final com.passkit.grpc.MetricsOuterClass.MetaLocation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.MetricsOuterClass.MetaLocation();
}
public static com.passkit.grpc.MetricsOuterClass.MetaLocation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MetaLocation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MetaLocation(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.MetricsOuterClass.MetaLocation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.Metadata)
com.google.protobuf.MessageOrBuilder {
/**
*
* Current status of the pass. Not Writable.
*
*
* .io.Status status = 1;
* @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
*
* Current status of the pass. Not Writable.
*
*
* .io.Status status = 1;
* @return The status.
*/
com.passkit.grpc.MetricsOuterClass.Status getStatus();
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @return A list containing the lifecycleEvents.
*/
java.util.List getLifecycleEventsList();
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @return The count of lifecycleEvents.
*/
int getLifecycleEventsCount();
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @param index The index of the element to return.
* @return The lifecycleEvents at the given index.
*/
com.passkit.grpc.MetricsOuterClass.LifecycleEvents getLifecycleEvents(int index);
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @return A list containing the enum numeric values on the wire for lifecycleEvents.
*/
java.util.List
getLifecycleEventsValueList();
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of lifecycleEvents at the given index.
*/
int getLifecycleEventsValue(int index);
/**
*
* Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
*
*
* .io.UTM utm = 3;
* @return Whether the utm field is set.
*/
boolean hasUtm();
/**
*
* Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
*
*
* .io.UTM utm = 3;
* @return The utm.
*/
com.passkit.grpc.MetricsOuterClass.UTM getUtm();
/**
*
* Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
*
*
* .io.UTM utm = 3;
*/
com.passkit.grpc.MetricsOuterClass.UTMOrBuilder getUtmOrBuilder();
/**
*
* Id of the physical pass. Not Writeable
*
*
* string altId = 4;
* @return The altId.
*/
java.lang.String getAltId();
/**
*
* Id of the physical pass. Not Writeable
*
*
* string altId = 4;
* @return The bytes for altId.
*/
com.google.protobuf.ByteString
getAltIdBytes();
/**
*
* IP address of the pass issue. Not Writeable
*
*
* string issueIpAddress = 5;
* @return The issueIpAddress.
*/
java.lang.String getIssueIpAddress();
/**
*
* IP address of the pass issue. Not Writeable
*
*
* string issueIpAddress = 5;
* @return The bytes for issueIpAddress.
*/
com.google.protobuf.ByteString
getIssueIpAddressBytes();
/**
*
* IP address of the device where the pass was installed on. Not Writeable.
*
*
* string installIpAddress = 6;
* @return The installIpAddress.
*/
java.lang.String getInstallIpAddress();
/**
*
* IP address of the device where the pass was installed on. Not Writeable.
*
*
* string installIpAddress = 6;
* @return The bytes for installIpAddress.
*/
com.google.protobuf.ByteString
getInstallIpAddressBytes();
/**
*
* Location information based of the where the pass landing page was rendered. Not Writeable
*
*
* .io.MetaLocation renderLocation = 7;
* @return Whether the renderLocation field is set.
*/
boolean hasRenderLocation();
/**
*
* Location information based of the where the pass landing page was rendered. Not Writeable
*
*
* .io.MetaLocation renderLocation = 7;
* @return The renderLocation.
*/
com.passkit.grpc.MetricsOuterClass.MetaLocation getRenderLocation();
/**
*
* Location information based of the where the pass landing page was rendered. Not Writeable
*
*
* .io.MetaLocation renderLocation = 7;
*/
com.passkit.grpc.MetricsOuterClass.MetaLocationOrBuilder getRenderLocationOrBuilder();
/**
*
* IP address of the device where the pass landing page was rendered on. Not Writeable.
*
*
* string renderIpAddress = 8;
* @return The renderIpAddress.
*/
java.lang.String getRenderIpAddress();
/**
*
* IP address of the device where the pass landing page was rendered on. Not Writeable.
*
*
* string renderIpAddress = 8;
* @return The bytes for renderIpAddress.
*/
com.google.protobuf.ByteString
getRenderIpAddressBytes();
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* string installUserAgent = 9;
* @return The installUserAgent.
*/
java.lang.String getInstallUserAgent();
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* string installUserAgent = 9;
* @return The bytes for installUserAgent.
*/
com.google.protobuf.ByteString
getInstallUserAgentBytes();
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* string renderUserAgent = 10;
* @return The renderUserAgent.
*/
java.lang.String getRenderUserAgent();
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* string renderUserAgent = 10;
* @return The bytes for renderUserAgent.
*/
com.google.protobuf.ByteString
getRenderUserAgentBytes();
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @return A list containing the installDeviceAttributes.
*/
java.util.List getInstallDeviceAttributesList();
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @return The count of installDeviceAttributes.
*/
int getInstallDeviceAttributesCount();
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @param index The index of the element to return.
* @return The installDeviceAttributes at the given index.
*/
com.passkit.grpc.Attributes.DeviceAttributes getInstallDeviceAttributes(int index);
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @return A list containing the enum numeric values on the wire for installDeviceAttributes.
*/
java.util.List
getInstallDeviceAttributesValueList();
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of installDeviceAttributes at the given index.
*/
int getInstallDeviceAttributesValue(int index);
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @return A list containing the renderDeviceAttributes.
*/
java.util.List getRenderDeviceAttributesList();
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @return The count of renderDeviceAttributes.
*/
int getRenderDeviceAttributesCount();
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @param index The index of the element to return.
* @return The renderDeviceAttributes at the given index.
*/
com.passkit.grpc.Attributes.DeviceAttributes getRenderDeviceAttributes(int index);
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @return A list containing the enum numeric values on the wire for renderDeviceAttributes.
*/
java.util.List
getRenderDeviceAttributesValueList();
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of renderDeviceAttributes at the given index.
*/
int getRenderDeviceAttributesValue(int index);
/**
*
* Date the pass record was created. Not Writable.
*
*
* .google.protobuf.Timestamp issueAt = 13;
* @return Whether the issueAt field is set.
*/
boolean hasIssueAt();
/**
*
* Date the pass record was created. Not Writable.
*
*
* .google.protobuf.Timestamp issueAt = 13;
* @return The issueAt.
*/
com.google.protobuf.Timestamp getIssueAt();
/**
*
* Date the pass record was created. Not Writable.
*
*
* .google.protobuf.Timestamp issueAt = 13;
*/
com.google.protobuf.TimestampOrBuilder getIssueAtOrBuilder();
/**
*
* Date the pass was first displayed to the user to install. Not Writable.
*
*
* .google.protobuf.Timestamp renderedAt = 14;
* @return Whether the renderedAt field is set.
*/
boolean hasRenderedAt();
/**
*
* Date the pass was first displayed to the user to install. Not Writable.
*
*
* .google.protobuf.Timestamp renderedAt = 14;
* @return The renderedAt.
*/
com.google.protobuf.Timestamp getRenderedAt();
/**
*
* Date the pass was first displayed to the user to install. Not Writable.
*
*
* .google.protobuf.Timestamp renderedAt = 14;
*/
com.google.protobuf.TimestampOrBuilder getRenderedAtOrBuilder();
/**
*
* Date the pass was first installed in a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp firstInstalledAt = 15;
* @return Whether the firstInstalledAt field is set.
*/
boolean hasFirstInstalledAt();
/**
*
* Date the pass was first installed in a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp firstInstalledAt = 15;
* @return The firstInstalledAt.
*/
com.google.protobuf.Timestamp getFirstInstalledAt();
/**
*
* Date the pass was first installed in a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp firstInstalledAt = 15;
*/
com.google.protobuf.TimestampOrBuilder getFirstInstalledAtOrBuilder();
/**
*
* Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
*
*
* .google.protobuf.Timestamp lastInstalledAt = 16;
* @return Whether the lastInstalledAt field is set.
*/
boolean hasLastInstalledAt();
/**
*
* Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
*
*
* .google.protobuf.Timestamp lastInstalledAt = 16;
* @return The lastInstalledAt.
*/
com.google.protobuf.Timestamp getLastInstalledAt();
/**
*
* Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
*
*
* .google.protobuf.Timestamp lastInstalledAt = 16;
*/
com.google.protobuf.TimestampOrBuilder getLastInstalledAtOrBuilder();
/**
*
* Date the pass was first uninstalled from a mobile wallet. For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
*
*
* .google.protobuf.Timestamp firstUninstalledAt = 17;
* @return Whether the firstUninstalledAt field is set.
*/
boolean hasFirstUninstalledAt();
/**
*
* Date the pass was first uninstalled from a mobile wallet. For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
*
*
* .google.protobuf.Timestamp firstUninstalledAt = 17;
* @return The firstUninstalledAt.
*/
com.google.protobuf.Timestamp getFirstUninstalledAt();
/**
*
* Date the pass was first uninstalled from a mobile wallet. For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
*
*
* .google.protobuf.Timestamp firstUninstalledAt = 17;
*/
com.google.protobuf.TimestampOrBuilder getFirstUninstalledAtOrBuilder();
/**
*
* Date the pass was last uninstalled from a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp lastUninstalledAt = 18;
* @return Whether the lastUninstalledAt field is set.
*/
boolean hasLastUninstalledAt();
/**
*
* Date the pass was last uninstalled from a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp lastUninstalledAt = 18;
* @return The lastUninstalledAt.
*/
com.google.protobuf.Timestamp getLastUninstalledAt();
/**
*
* Date the pass was last uninstalled from a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp lastUninstalledAt = 18;
*/
com.google.protobuf.TimestampOrBuilder getLastUninstalledAtOrBuilder();
/**
*
* Date the pass was invalidated. Not Writable.
*
*
* .google.protobuf.Timestamp invalidatedAt = 19;
* @return Whether the invalidatedAt field is set.
*/
boolean hasInvalidatedAt();
/**
*
* Date the pass was invalidated. Not Writable.
*
*
* .google.protobuf.Timestamp invalidatedAt = 19;
* @return The invalidatedAt.
*/
com.google.protobuf.Timestamp getInvalidatedAt();
/**
*
* Date the pass was invalidated. Not Writable.
*
*
* .google.protobuf.Timestamp invalidatedAt = 19;
*/
com.google.protobuf.TimestampOrBuilder getInvalidatedAtOrBuilder();
/**
*
* Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
*
*
* .google.protobuf.Timestamp lastUpdatedAt = 20;
* @return Whether the lastUpdatedAt field is set.
*/
boolean hasLastUpdatedAt();
/**
*
* Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
*
*
* .google.protobuf.Timestamp lastUpdatedAt = 20;
* @return The lastUpdatedAt.
*/
com.google.protobuf.Timestamp getLastUpdatedAt();
/**
*
* Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
*
*
* .google.protobuf.Timestamp lastUpdatedAt = 20;
*/
com.google.protobuf.TimestampOrBuilder getLastUpdatedAtOrBuilder();
}
/**
*
* Additional data relating to the pass. Metadata can be provided with a create pass request. The only writeable field is UTM. All other fields are system generated.
*
*
* Protobuf type {@code io.Metadata}
*/
public static final class Metadata extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.Metadata)
MetadataOrBuilder {
private static final long serialVersionUID = 0L;
// Use Metadata.newBuilder() to construct.
private Metadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Metadata() {
status_ = 0;
lifecycleEvents_ = java.util.Collections.emptyList();
altId_ = "";
issueIpAddress_ = "";
installIpAddress_ = "";
renderIpAddress_ = "";
installUserAgent_ = "";
renderUserAgent_ = "";
installDeviceAttributes_ = java.util.Collections.emptyList();
renderDeviceAttributes_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Metadata();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Metadata(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int rawValue = input.readEnum();
status_ = rawValue;
break;
}
case 16: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
lifecycleEvents_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
lifecycleEvents_.add(rawValue);
break;
}
case 18: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
lifecycleEvents_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
lifecycleEvents_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 26: {
com.passkit.grpc.MetricsOuterClass.UTM.Builder subBuilder = null;
if (utm_ != null) {
subBuilder = utm_.toBuilder();
}
utm_ = input.readMessage(com.passkit.grpc.MetricsOuterClass.UTM.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(utm_);
utm_ = subBuilder.buildPartial();
}
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
altId_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
issueIpAddress_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
installIpAddress_ = s;
break;
}
case 58: {
com.passkit.grpc.MetricsOuterClass.MetaLocation.Builder subBuilder = null;
if (renderLocation_ != null) {
subBuilder = renderLocation_.toBuilder();
}
renderLocation_ = input.readMessage(com.passkit.grpc.MetricsOuterClass.MetaLocation.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(renderLocation_);
renderLocation_ = subBuilder.buildPartial();
}
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
renderIpAddress_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
installUserAgent_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
renderUserAgent_ = s;
break;
}
case 88: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
installDeviceAttributes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
installDeviceAttributes_.add(rawValue);
break;
}
case 90: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
installDeviceAttributes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
installDeviceAttributes_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 96: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
renderDeviceAttributes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
renderDeviceAttributes_.add(rawValue);
break;
}
case 98: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
renderDeviceAttributes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
renderDeviceAttributes_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 106: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (issueAt_ != null) {
subBuilder = issueAt_.toBuilder();
}
issueAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(issueAt_);
issueAt_ = subBuilder.buildPartial();
}
break;
}
case 114: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (renderedAt_ != null) {
subBuilder = renderedAt_.toBuilder();
}
renderedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(renderedAt_);
renderedAt_ = subBuilder.buildPartial();
}
break;
}
case 122: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (firstInstalledAt_ != null) {
subBuilder = firstInstalledAt_.toBuilder();
}
firstInstalledAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(firstInstalledAt_);
firstInstalledAt_ = subBuilder.buildPartial();
}
break;
}
case 130: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (lastInstalledAt_ != null) {
subBuilder = lastInstalledAt_.toBuilder();
}
lastInstalledAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(lastInstalledAt_);
lastInstalledAt_ = subBuilder.buildPartial();
}
break;
}
case 138: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (firstUninstalledAt_ != null) {
subBuilder = firstUninstalledAt_.toBuilder();
}
firstUninstalledAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(firstUninstalledAt_);
firstUninstalledAt_ = subBuilder.buildPartial();
}
break;
}
case 146: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (lastUninstalledAt_ != null) {
subBuilder = lastUninstalledAt_.toBuilder();
}
lastUninstalledAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(lastUninstalledAt_);
lastUninstalledAt_ = subBuilder.buildPartial();
}
break;
}
case 154: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (invalidatedAt_ != null) {
subBuilder = invalidatedAt_.toBuilder();
}
invalidatedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(invalidatedAt_);
invalidatedAt_ = subBuilder.buildPartial();
}
break;
}
case 162: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (lastUpdatedAt_ != null) {
subBuilder = lastUpdatedAt_.toBuilder();
}
lastUpdatedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(lastUpdatedAt_);
lastUpdatedAt_ = 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)) {
lifecycleEvents_ = java.util.Collections.unmodifiableList(lifecycleEvents_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
installDeviceAttributes_ = java.util.Collections.unmodifiableList(installDeviceAttributes_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
renderDeviceAttributes_ = java.util.Collections.unmodifiableList(renderDeviceAttributes_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_Metadata_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_Metadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.MetricsOuterClass.Metadata.class, com.passkit.grpc.MetricsOuterClass.Metadata.Builder.class);
}
public static final int STATUS_FIELD_NUMBER = 1;
private int status_;
/**
*
* Current status of the pass. Not Writable.
*
*
* .io.Status status = 1;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
*
* Current status of the pass. Not Writable.
*
*
* .io.Status status = 1;
* @return The status.
*/
@java.lang.Override public com.passkit.grpc.MetricsOuterClass.Status getStatus() {
@SuppressWarnings("deprecation")
com.passkit.grpc.MetricsOuterClass.Status result = com.passkit.grpc.MetricsOuterClass.Status.valueOf(status_);
return result == null ? com.passkit.grpc.MetricsOuterClass.Status.UNRECOGNIZED : result;
}
public static final int LIFECYCLEEVENTS_FIELD_NUMBER = 2;
private java.util.List lifecycleEvents_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.passkit.grpc.MetricsOuterClass.LifecycleEvents> lifecycleEvents_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.passkit.grpc.MetricsOuterClass.LifecycleEvents>() {
public com.passkit.grpc.MetricsOuterClass.LifecycleEvents convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
com.passkit.grpc.MetricsOuterClass.LifecycleEvents result = com.passkit.grpc.MetricsOuterClass.LifecycleEvents.valueOf(from);
return result == null ? com.passkit.grpc.MetricsOuterClass.LifecycleEvents.UNRECOGNIZED : result;
}
};
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @return A list containing the lifecycleEvents.
*/
@java.lang.Override
public java.util.List getLifecycleEventsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.passkit.grpc.MetricsOuterClass.LifecycleEvents>(lifecycleEvents_, lifecycleEvents_converter_);
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @return The count of lifecycleEvents.
*/
@java.lang.Override
public int getLifecycleEventsCount() {
return lifecycleEvents_.size();
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @param index The index of the element to return.
* @return The lifecycleEvents at the given index.
*/
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.LifecycleEvents getLifecycleEvents(int index) {
return lifecycleEvents_converter_.convert(lifecycleEvents_.get(index));
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @return A list containing the enum numeric values on the wire for lifecycleEvents.
*/
@java.lang.Override
public java.util.List
getLifecycleEventsValueList() {
return lifecycleEvents_;
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of lifecycleEvents at the given index.
*/
@java.lang.Override
public int getLifecycleEventsValue(int index) {
return lifecycleEvents_.get(index);
}
private int lifecycleEventsMemoizedSerializedSize;
public static final int UTM_FIELD_NUMBER = 3;
private com.passkit.grpc.MetricsOuterClass.UTM utm_;
/**
*
* Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
*
*
* .io.UTM utm = 3;
* @return Whether the utm field is set.
*/
@java.lang.Override
public boolean hasUtm() {
return utm_ != null;
}
/**
*
* Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
*
*
* .io.UTM utm = 3;
* @return The utm.
*/
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.UTM getUtm() {
return utm_ == null ? com.passkit.grpc.MetricsOuterClass.UTM.getDefaultInstance() : utm_;
}
/**
*
* Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
*
*
* .io.UTM utm = 3;
*/
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.UTMOrBuilder getUtmOrBuilder() {
return getUtm();
}
public static final int ALTID_FIELD_NUMBER = 4;
private volatile java.lang.Object altId_;
/**
*
* Id of the physical pass. Not Writeable
*
*
* string altId = 4;
* @return The altId.
*/
@java.lang.Override
public java.lang.String getAltId() {
java.lang.Object ref = altId_;
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();
altId_ = s;
return s;
}
}
/**
*
* Id of the physical pass. Not Writeable
*
*
* string altId = 4;
* @return The bytes for altId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAltIdBytes() {
java.lang.Object ref = altId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
altId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ISSUEIPADDRESS_FIELD_NUMBER = 5;
private volatile java.lang.Object issueIpAddress_;
/**
*
* IP address of the pass issue. Not Writeable
*
*
* string issueIpAddress = 5;
* @return The issueIpAddress.
*/
@java.lang.Override
public java.lang.String getIssueIpAddress() {
java.lang.Object ref = issueIpAddress_;
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();
issueIpAddress_ = s;
return s;
}
}
/**
*
* IP address of the pass issue. Not Writeable
*
*
* string issueIpAddress = 5;
* @return The bytes for issueIpAddress.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIssueIpAddressBytes() {
java.lang.Object ref = issueIpAddress_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
issueIpAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INSTALLIPADDRESS_FIELD_NUMBER = 6;
private volatile java.lang.Object installIpAddress_;
/**
*
* IP address of the device where the pass was installed on. Not Writeable.
*
*
* string installIpAddress = 6;
* @return The installIpAddress.
*/
@java.lang.Override
public java.lang.String getInstallIpAddress() {
java.lang.Object ref = installIpAddress_;
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();
installIpAddress_ = s;
return s;
}
}
/**
*
* IP address of the device where the pass was installed on. Not Writeable.
*
*
* string installIpAddress = 6;
* @return The bytes for installIpAddress.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstallIpAddressBytes() {
java.lang.Object ref = installIpAddress_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
installIpAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RENDERLOCATION_FIELD_NUMBER = 7;
private com.passkit.grpc.MetricsOuterClass.MetaLocation renderLocation_;
/**
*
* Location information based of the where the pass landing page was rendered. Not Writeable
*
*
* .io.MetaLocation renderLocation = 7;
* @return Whether the renderLocation field is set.
*/
@java.lang.Override
public boolean hasRenderLocation() {
return renderLocation_ != null;
}
/**
*
* Location information based of the where the pass landing page was rendered. Not Writeable
*
*
* .io.MetaLocation renderLocation = 7;
* @return The renderLocation.
*/
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.MetaLocation getRenderLocation() {
return renderLocation_ == null ? com.passkit.grpc.MetricsOuterClass.MetaLocation.getDefaultInstance() : renderLocation_;
}
/**
*
* Location information based of the where the pass landing page was rendered. Not Writeable
*
*
* .io.MetaLocation renderLocation = 7;
*/
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.MetaLocationOrBuilder getRenderLocationOrBuilder() {
return getRenderLocation();
}
public static final int RENDERIPADDRESS_FIELD_NUMBER = 8;
private volatile java.lang.Object renderIpAddress_;
/**
*
* IP address of the device where the pass landing page was rendered on. Not Writeable.
*
*
* string renderIpAddress = 8;
* @return The renderIpAddress.
*/
@java.lang.Override
public java.lang.String getRenderIpAddress() {
java.lang.Object ref = renderIpAddress_;
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();
renderIpAddress_ = s;
return s;
}
}
/**
*
* IP address of the device where the pass landing page was rendered on. Not Writeable.
*
*
* string renderIpAddress = 8;
* @return The bytes for renderIpAddress.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRenderIpAddressBytes() {
java.lang.Object ref = renderIpAddress_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
renderIpAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INSTALLUSERAGENT_FIELD_NUMBER = 9;
private volatile java.lang.Object installUserAgent_;
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* string installUserAgent = 9;
* @return The installUserAgent.
*/
@java.lang.Override
public java.lang.String getInstallUserAgent() {
java.lang.Object ref = installUserAgent_;
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();
installUserAgent_ = s;
return s;
}
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* string installUserAgent = 9;
* @return The bytes for installUserAgent.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstallUserAgentBytes() {
java.lang.Object ref = installUserAgent_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
installUserAgent_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RENDERUSERAGENT_FIELD_NUMBER = 10;
private volatile java.lang.Object renderUserAgent_;
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* string renderUserAgent = 10;
* @return The renderUserAgent.
*/
@java.lang.Override
public java.lang.String getRenderUserAgent() {
java.lang.Object ref = renderUserAgent_;
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();
renderUserAgent_ = s;
return s;
}
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* string renderUserAgent = 10;
* @return The bytes for renderUserAgent.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRenderUserAgentBytes() {
java.lang.Object ref = renderUserAgent_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
renderUserAgent_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INSTALLDEVICEATTRIBUTES_FIELD_NUMBER = 11;
private java.util.List installDeviceAttributes_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.passkit.grpc.Attributes.DeviceAttributes> installDeviceAttributes_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.passkit.grpc.Attributes.DeviceAttributes>() {
public com.passkit.grpc.Attributes.DeviceAttributes convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
com.passkit.grpc.Attributes.DeviceAttributes result = com.passkit.grpc.Attributes.DeviceAttributes.valueOf(from);
return result == null ? com.passkit.grpc.Attributes.DeviceAttributes.UNRECOGNIZED : result;
}
};
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @return A list containing the installDeviceAttributes.
*/
@java.lang.Override
public java.util.List getInstallDeviceAttributesList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.passkit.grpc.Attributes.DeviceAttributes>(installDeviceAttributes_, installDeviceAttributes_converter_);
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @return The count of installDeviceAttributes.
*/
@java.lang.Override
public int getInstallDeviceAttributesCount() {
return installDeviceAttributes_.size();
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @param index The index of the element to return.
* @return The installDeviceAttributes at the given index.
*/
@java.lang.Override
public com.passkit.grpc.Attributes.DeviceAttributes getInstallDeviceAttributes(int index) {
return installDeviceAttributes_converter_.convert(installDeviceAttributes_.get(index));
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @return A list containing the enum numeric values on the wire for installDeviceAttributes.
*/
@java.lang.Override
public java.util.List
getInstallDeviceAttributesValueList() {
return installDeviceAttributes_;
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of installDeviceAttributes at the given index.
*/
@java.lang.Override
public int getInstallDeviceAttributesValue(int index) {
return installDeviceAttributes_.get(index);
}
private int installDeviceAttributesMemoizedSerializedSize;
public static final int RENDERDEVICEATTRIBUTES_FIELD_NUMBER = 12;
private java.util.List renderDeviceAttributes_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.passkit.grpc.Attributes.DeviceAttributes> renderDeviceAttributes_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.passkit.grpc.Attributes.DeviceAttributes>() {
public com.passkit.grpc.Attributes.DeviceAttributes convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
com.passkit.grpc.Attributes.DeviceAttributes result = com.passkit.grpc.Attributes.DeviceAttributes.valueOf(from);
return result == null ? com.passkit.grpc.Attributes.DeviceAttributes.UNRECOGNIZED : result;
}
};
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @return A list containing the renderDeviceAttributes.
*/
@java.lang.Override
public java.util.List getRenderDeviceAttributesList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.passkit.grpc.Attributes.DeviceAttributes>(renderDeviceAttributes_, renderDeviceAttributes_converter_);
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @return The count of renderDeviceAttributes.
*/
@java.lang.Override
public int getRenderDeviceAttributesCount() {
return renderDeviceAttributes_.size();
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @param index The index of the element to return.
* @return The renderDeviceAttributes at the given index.
*/
@java.lang.Override
public com.passkit.grpc.Attributes.DeviceAttributes getRenderDeviceAttributes(int index) {
return renderDeviceAttributes_converter_.convert(renderDeviceAttributes_.get(index));
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @return A list containing the enum numeric values on the wire for renderDeviceAttributes.
*/
@java.lang.Override
public java.util.List
getRenderDeviceAttributesValueList() {
return renderDeviceAttributes_;
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of renderDeviceAttributes at the given index.
*/
@java.lang.Override
public int getRenderDeviceAttributesValue(int index) {
return renderDeviceAttributes_.get(index);
}
private int renderDeviceAttributesMemoizedSerializedSize;
public static final int ISSUEAT_FIELD_NUMBER = 13;
private com.google.protobuf.Timestamp issueAt_;
/**
*
* Date the pass record was created. Not Writable.
*
*
* .google.protobuf.Timestamp issueAt = 13;
* @return Whether the issueAt field is set.
*/
@java.lang.Override
public boolean hasIssueAt() {
return issueAt_ != null;
}
/**
*
* Date the pass record was created. Not Writable.
*
*
* .google.protobuf.Timestamp issueAt = 13;
* @return The issueAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getIssueAt() {
return issueAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : issueAt_;
}
/**
*
* Date the pass record was created. Not Writable.
*
*
* .google.protobuf.Timestamp issueAt = 13;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getIssueAtOrBuilder() {
return getIssueAt();
}
public static final int RENDEREDAT_FIELD_NUMBER = 14;
private com.google.protobuf.Timestamp renderedAt_;
/**
*
* Date the pass was first displayed to the user to install. Not Writable.
*
*
* .google.protobuf.Timestamp renderedAt = 14;
* @return Whether the renderedAt field is set.
*/
@java.lang.Override
public boolean hasRenderedAt() {
return renderedAt_ != null;
}
/**
*
* Date the pass was first displayed to the user to install. Not Writable.
*
*
* .google.protobuf.Timestamp renderedAt = 14;
* @return The renderedAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getRenderedAt() {
return renderedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : renderedAt_;
}
/**
*
* Date the pass was first displayed to the user to install. Not Writable.
*
*
* .google.protobuf.Timestamp renderedAt = 14;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getRenderedAtOrBuilder() {
return getRenderedAt();
}
public static final int FIRSTINSTALLEDAT_FIELD_NUMBER = 15;
private com.google.protobuf.Timestamp firstInstalledAt_;
/**
*
* Date the pass was first installed in a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp firstInstalledAt = 15;
* @return Whether the firstInstalledAt field is set.
*/
@java.lang.Override
public boolean hasFirstInstalledAt() {
return firstInstalledAt_ != null;
}
/**
*
* Date the pass was first installed in a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp firstInstalledAt = 15;
* @return The firstInstalledAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getFirstInstalledAt() {
return firstInstalledAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : firstInstalledAt_;
}
/**
*
* Date the pass was first installed in a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp firstInstalledAt = 15;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getFirstInstalledAtOrBuilder() {
return getFirstInstalledAt();
}
public static final int LASTINSTALLEDAT_FIELD_NUMBER = 16;
private com.google.protobuf.Timestamp lastInstalledAt_;
/**
*
* Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
*
*
* .google.protobuf.Timestamp lastInstalledAt = 16;
* @return Whether the lastInstalledAt field is set.
*/
@java.lang.Override
public boolean hasLastInstalledAt() {
return lastInstalledAt_ != null;
}
/**
*
* Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
*
*
* .google.protobuf.Timestamp lastInstalledAt = 16;
* @return The lastInstalledAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getLastInstalledAt() {
return lastInstalledAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastInstalledAt_;
}
/**
*
* Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
*
*
* .google.protobuf.Timestamp lastInstalledAt = 16;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getLastInstalledAtOrBuilder() {
return getLastInstalledAt();
}
public static final int FIRSTUNINSTALLEDAT_FIELD_NUMBER = 17;
private com.google.protobuf.Timestamp firstUninstalledAt_;
/**
*
* Date the pass was first uninstalled from a mobile wallet. For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
*
*
* .google.protobuf.Timestamp firstUninstalledAt = 17;
* @return Whether the firstUninstalledAt field is set.
*/
@java.lang.Override
public boolean hasFirstUninstalledAt() {
return firstUninstalledAt_ != null;
}
/**
*
* Date the pass was first uninstalled from a mobile wallet. For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
*
*
* .google.protobuf.Timestamp firstUninstalledAt = 17;
* @return The firstUninstalledAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getFirstUninstalledAt() {
return firstUninstalledAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : firstUninstalledAt_;
}
/**
*
* Date the pass was first uninstalled from a mobile wallet. For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
*
*
* .google.protobuf.Timestamp firstUninstalledAt = 17;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getFirstUninstalledAtOrBuilder() {
return getFirstUninstalledAt();
}
public static final int LASTUNINSTALLEDAT_FIELD_NUMBER = 18;
private com.google.protobuf.Timestamp lastUninstalledAt_;
/**
*
* Date the pass was last uninstalled from a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp lastUninstalledAt = 18;
* @return Whether the lastUninstalledAt field is set.
*/
@java.lang.Override
public boolean hasLastUninstalledAt() {
return lastUninstalledAt_ != null;
}
/**
*
* Date the pass was last uninstalled from a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp lastUninstalledAt = 18;
* @return The lastUninstalledAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getLastUninstalledAt() {
return lastUninstalledAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUninstalledAt_;
}
/**
*
* Date the pass was last uninstalled from a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp lastUninstalledAt = 18;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getLastUninstalledAtOrBuilder() {
return getLastUninstalledAt();
}
public static final int INVALIDATEDAT_FIELD_NUMBER = 19;
private com.google.protobuf.Timestamp invalidatedAt_;
/**
*
* Date the pass was invalidated. Not Writable.
*
*
* .google.protobuf.Timestamp invalidatedAt = 19;
* @return Whether the invalidatedAt field is set.
*/
@java.lang.Override
public boolean hasInvalidatedAt() {
return invalidatedAt_ != null;
}
/**
*
* Date the pass was invalidated. Not Writable.
*
*
* .google.protobuf.Timestamp invalidatedAt = 19;
* @return The invalidatedAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getInvalidatedAt() {
return invalidatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : invalidatedAt_;
}
/**
*
* Date the pass was invalidated. Not Writable.
*
*
* .google.protobuf.Timestamp invalidatedAt = 19;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getInvalidatedAtOrBuilder() {
return getInvalidatedAt();
}
public static final int LASTUPDATEDAT_FIELD_NUMBER = 20;
private com.google.protobuf.Timestamp lastUpdatedAt_;
/**
*
* Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
*
*
* .google.protobuf.Timestamp lastUpdatedAt = 20;
* @return Whether the lastUpdatedAt field is set.
*/
@java.lang.Override
public boolean hasLastUpdatedAt() {
return lastUpdatedAt_ != null;
}
/**
*
* Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
*
*
* .google.protobuf.Timestamp lastUpdatedAt = 20;
* @return The lastUpdatedAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getLastUpdatedAt() {
return lastUpdatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdatedAt_;
}
/**
*
* Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
*
*
* .google.protobuf.Timestamp lastUpdatedAt = 20;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getLastUpdatedAtOrBuilder() {
return getLastUpdatedAt();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (status_ != com.passkit.grpc.MetricsOuterClass.Status.PASS_ISSUED.getNumber()) {
output.writeEnum(1, status_);
}
if (getLifecycleEventsList().size() > 0) {
output.writeUInt32NoTag(18);
output.writeUInt32NoTag(lifecycleEventsMemoizedSerializedSize);
}
for (int i = 0; i < lifecycleEvents_.size(); i++) {
output.writeEnumNoTag(lifecycleEvents_.get(i));
}
if (utm_ != null) {
output.writeMessage(3, getUtm());
}
if (!getAltIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, altId_);
}
if (!getIssueIpAddressBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, issueIpAddress_);
}
if (!getInstallIpAddressBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, installIpAddress_);
}
if (renderLocation_ != null) {
output.writeMessage(7, getRenderLocation());
}
if (!getRenderIpAddressBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, renderIpAddress_);
}
if (!getInstallUserAgentBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, installUserAgent_);
}
if (!getRenderUserAgentBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, renderUserAgent_);
}
if (getInstallDeviceAttributesList().size() > 0) {
output.writeUInt32NoTag(90);
output.writeUInt32NoTag(installDeviceAttributesMemoizedSerializedSize);
}
for (int i = 0; i < installDeviceAttributes_.size(); i++) {
output.writeEnumNoTag(installDeviceAttributes_.get(i));
}
if (getRenderDeviceAttributesList().size() > 0) {
output.writeUInt32NoTag(98);
output.writeUInt32NoTag(renderDeviceAttributesMemoizedSerializedSize);
}
for (int i = 0; i < renderDeviceAttributes_.size(); i++) {
output.writeEnumNoTag(renderDeviceAttributes_.get(i));
}
if (issueAt_ != null) {
output.writeMessage(13, getIssueAt());
}
if (renderedAt_ != null) {
output.writeMessage(14, getRenderedAt());
}
if (firstInstalledAt_ != null) {
output.writeMessage(15, getFirstInstalledAt());
}
if (lastInstalledAt_ != null) {
output.writeMessage(16, getLastInstalledAt());
}
if (firstUninstalledAt_ != null) {
output.writeMessage(17, getFirstUninstalledAt());
}
if (lastUninstalledAt_ != null) {
output.writeMessage(18, getLastUninstalledAt());
}
if (invalidatedAt_ != null) {
output.writeMessage(19, getInvalidatedAt());
}
if (lastUpdatedAt_ != null) {
output.writeMessage(20, getLastUpdatedAt());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (status_ != com.passkit.grpc.MetricsOuterClass.Status.PASS_ISSUED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, status_);
}
{
int dataSize = 0;
for (int i = 0; i < lifecycleEvents_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(lifecycleEvents_.get(i));
}
size += dataSize;
if (!getLifecycleEventsList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}lifecycleEventsMemoizedSerializedSize = dataSize;
}
if (utm_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getUtm());
}
if (!getAltIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, altId_);
}
if (!getIssueIpAddressBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, issueIpAddress_);
}
if (!getInstallIpAddressBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, installIpAddress_);
}
if (renderLocation_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getRenderLocation());
}
if (!getRenderIpAddressBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, renderIpAddress_);
}
if (!getInstallUserAgentBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, installUserAgent_);
}
if (!getRenderUserAgentBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, renderUserAgent_);
}
{
int dataSize = 0;
for (int i = 0; i < installDeviceAttributes_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(installDeviceAttributes_.get(i));
}
size += dataSize;
if (!getInstallDeviceAttributesList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}installDeviceAttributesMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < renderDeviceAttributes_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(renderDeviceAttributes_.get(i));
}
size += dataSize;
if (!getRenderDeviceAttributesList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}renderDeviceAttributesMemoizedSerializedSize = dataSize;
}
if (issueAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getIssueAt());
}
if (renderedAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, getRenderedAt());
}
if (firstInstalledAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getFirstInstalledAt());
}
if (lastInstalledAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, getLastInstalledAt());
}
if (firstUninstalledAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getFirstUninstalledAt());
}
if (lastUninstalledAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, getLastUninstalledAt());
}
if (invalidatedAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, getInvalidatedAt());
}
if (lastUpdatedAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, getLastUpdatedAt());
}
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.MetricsOuterClass.Metadata)) {
return super.equals(obj);
}
com.passkit.grpc.MetricsOuterClass.Metadata other = (com.passkit.grpc.MetricsOuterClass.Metadata) obj;
if (status_ != other.status_) return false;
if (!lifecycleEvents_.equals(other.lifecycleEvents_)) return false;
if (hasUtm() != other.hasUtm()) return false;
if (hasUtm()) {
if (!getUtm()
.equals(other.getUtm())) return false;
}
if (!getAltId()
.equals(other.getAltId())) return false;
if (!getIssueIpAddress()
.equals(other.getIssueIpAddress())) return false;
if (!getInstallIpAddress()
.equals(other.getInstallIpAddress())) return false;
if (hasRenderLocation() != other.hasRenderLocation()) return false;
if (hasRenderLocation()) {
if (!getRenderLocation()
.equals(other.getRenderLocation())) return false;
}
if (!getRenderIpAddress()
.equals(other.getRenderIpAddress())) return false;
if (!getInstallUserAgent()
.equals(other.getInstallUserAgent())) return false;
if (!getRenderUserAgent()
.equals(other.getRenderUserAgent())) return false;
if (!installDeviceAttributes_.equals(other.installDeviceAttributes_)) return false;
if (!renderDeviceAttributes_.equals(other.renderDeviceAttributes_)) return false;
if (hasIssueAt() != other.hasIssueAt()) return false;
if (hasIssueAt()) {
if (!getIssueAt()
.equals(other.getIssueAt())) return false;
}
if (hasRenderedAt() != other.hasRenderedAt()) return false;
if (hasRenderedAt()) {
if (!getRenderedAt()
.equals(other.getRenderedAt())) return false;
}
if (hasFirstInstalledAt() != other.hasFirstInstalledAt()) return false;
if (hasFirstInstalledAt()) {
if (!getFirstInstalledAt()
.equals(other.getFirstInstalledAt())) return false;
}
if (hasLastInstalledAt() != other.hasLastInstalledAt()) return false;
if (hasLastInstalledAt()) {
if (!getLastInstalledAt()
.equals(other.getLastInstalledAt())) return false;
}
if (hasFirstUninstalledAt() != other.hasFirstUninstalledAt()) return false;
if (hasFirstUninstalledAt()) {
if (!getFirstUninstalledAt()
.equals(other.getFirstUninstalledAt())) return false;
}
if (hasLastUninstalledAt() != other.hasLastUninstalledAt()) return false;
if (hasLastUninstalledAt()) {
if (!getLastUninstalledAt()
.equals(other.getLastUninstalledAt())) return false;
}
if (hasInvalidatedAt() != other.hasInvalidatedAt()) return false;
if (hasInvalidatedAt()) {
if (!getInvalidatedAt()
.equals(other.getInvalidatedAt())) return false;
}
if (hasLastUpdatedAt() != other.hasLastUpdatedAt()) return false;
if (hasLastUpdatedAt()) {
if (!getLastUpdatedAt()
.equals(other.getLastUpdatedAt())) 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) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
if (getLifecycleEventsCount() > 0) {
hash = (37 * hash) + LIFECYCLEEVENTS_FIELD_NUMBER;
hash = (53 * hash) + lifecycleEvents_.hashCode();
}
if (hasUtm()) {
hash = (37 * hash) + UTM_FIELD_NUMBER;
hash = (53 * hash) + getUtm().hashCode();
}
hash = (37 * hash) + ALTID_FIELD_NUMBER;
hash = (53 * hash) + getAltId().hashCode();
hash = (37 * hash) + ISSUEIPADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getIssueIpAddress().hashCode();
hash = (37 * hash) + INSTALLIPADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getInstallIpAddress().hashCode();
if (hasRenderLocation()) {
hash = (37 * hash) + RENDERLOCATION_FIELD_NUMBER;
hash = (53 * hash) + getRenderLocation().hashCode();
}
hash = (37 * hash) + RENDERIPADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getRenderIpAddress().hashCode();
hash = (37 * hash) + INSTALLUSERAGENT_FIELD_NUMBER;
hash = (53 * hash) + getInstallUserAgent().hashCode();
hash = (37 * hash) + RENDERUSERAGENT_FIELD_NUMBER;
hash = (53 * hash) + getRenderUserAgent().hashCode();
if (getInstallDeviceAttributesCount() > 0) {
hash = (37 * hash) + INSTALLDEVICEATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + installDeviceAttributes_.hashCode();
}
if (getRenderDeviceAttributesCount() > 0) {
hash = (37 * hash) + RENDERDEVICEATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + renderDeviceAttributes_.hashCode();
}
if (hasIssueAt()) {
hash = (37 * hash) + ISSUEAT_FIELD_NUMBER;
hash = (53 * hash) + getIssueAt().hashCode();
}
if (hasRenderedAt()) {
hash = (37 * hash) + RENDEREDAT_FIELD_NUMBER;
hash = (53 * hash) + getRenderedAt().hashCode();
}
if (hasFirstInstalledAt()) {
hash = (37 * hash) + FIRSTINSTALLEDAT_FIELD_NUMBER;
hash = (53 * hash) + getFirstInstalledAt().hashCode();
}
if (hasLastInstalledAt()) {
hash = (37 * hash) + LASTINSTALLEDAT_FIELD_NUMBER;
hash = (53 * hash) + getLastInstalledAt().hashCode();
}
if (hasFirstUninstalledAt()) {
hash = (37 * hash) + FIRSTUNINSTALLEDAT_FIELD_NUMBER;
hash = (53 * hash) + getFirstUninstalledAt().hashCode();
}
if (hasLastUninstalledAt()) {
hash = (37 * hash) + LASTUNINSTALLEDAT_FIELD_NUMBER;
hash = (53 * hash) + getLastUninstalledAt().hashCode();
}
if (hasInvalidatedAt()) {
hash = (37 * hash) + INVALIDATEDAT_FIELD_NUMBER;
hash = (53 * hash) + getInvalidatedAt().hashCode();
}
if (hasLastUpdatedAt()) {
hash = (37 * hash) + LASTUPDATEDAT_FIELD_NUMBER;
hash = (53 * hash) + getLastUpdatedAt().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.MetricsOuterClass.Metadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.MetricsOuterClass.Metadata 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.MetricsOuterClass.Metadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.MetricsOuterClass.Metadata 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.MetricsOuterClass.Metadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.MetricsOuterClass.Metadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.MetricsOuterClass.Metadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.MetricsOuterClass.Metadata 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.MetricsOuterClass.Metadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.MetricsOuterClass.Metadata 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.MetricsOuterClass.Metadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.MetricsOuterClass.Metadata 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.MetricsOuterClass.Metadata 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;
}
/**
*
* Additional data relating to the pass. Metadata can be provided with a create pass request. The only writeable field is UTM. All other fields are system generated.
*
*
* Protobuf type {@code io.Metadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.Metadata)
com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_Metadata_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_Metadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.MetricsOuterClass.Metadata.class, com.passkit.grpc.MetricsOuterClass.Metadata.Builder.class);
}
// Construct using com.passkit.grpc.MetricsOuterClass.Metadata.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();
status_ = 0;
lifecycleEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
if (utmBuilder_ == null) {
utm_ = null;
} else {
utm_ = null;
utmBuilder_ = null;
}
altId_ = "";
issueIpAddress_ = "";
installIpAddress_ = "";
if (renderLocationBuilder_ == null) {
renderLocation_ = null;
} else {
renderLocation_ = null;
renderLocationBuilder_ = null;
}
renderIpAddress_ = "";
installUserAgent_ = "";
renderUserAgent_ = "";
installDeviceAttributes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
renderDeviceAttributes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
if (issueAtBuilder_ == null) {
issueAt_ = null;
} else {
issueAt_ = null;
issueAtBuilder_ = null;
}
if (renderedAtBuilder_ == null) {
renderedAt_ = null;
} else {
renderedAt_ = null;
renderedAtBuilder_ = null;
}
if (firstInstalledAtBuilder_ == null) {
firstInstalledAt_ = null;
} else {
firstInstalledAt_ = null;
firstInstalledAtBuilder_ = null;
}
if (lastInstalledAtBuilder_ == null) {
lastInstalledAt_ = null;
} else {
lastInstalledAt_ = null;
lastInstalledAtBuilder_ = null;
}
if (firstUninstalledAtBuilder_ == null) {
firstUninstalledAt_ = null;
} else {
firstUninstalledAt_ = null;
firstUninstalledAtBuilder_ = null;
}
if (lastUninstalledAtBuilder_ == null) {
lastUninstalledAt_ = null;
} else {
lastUninstalledAt_ = null;
lastUninstalledAtBuilder_ = null;
}
if (invalidatedAtBuilder_ == null) {
invalidatedAt_ = null;
} else {
invalidatedAt_ = null;
invalidatedAtBuilder_ = null;
}
if (lastUpdatedAtBuilder_ == null) {
lastUpdatedAt_ = null;
} else {
lastUpdatedAt_ = null;
lastUpdatedAtBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.MetricsOuterClass.internal_static_io_Metadata_descriptor;
}
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.Metadata getDefaultInstanceForType() {
return com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.Metadata build() {
com.passkit.grpc.MetricsOuterClass.Metadata result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.Metadata buildPartial() {
com.passkit.grpc.MetricsOuterClass.Metadata result = new com.passkit.grpc.MetricsOuterClass.Metadata(this);
int from_bitField0_ = bitField0_;
result.status_ = status_;
if (((bitField0_ & 0x00000001) != 0)) {
lifecycleEvents_ = java.util.Collections.unmodifiableList(lifecycleEvents_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.lifecycleEvents_ = lifecycleEvents_;
if (utmBuilder_ == null) {
result.utm_ = utm_;
} else {
result.utm_ = utmBuilder_.build();
}
result.altId_ = altId_;
result.issueIpAddress_ = issueIpAddress_;
result.installIpAddress_ = installIpAddress_;
if (renderLocationBuilder_ == null) {
result.renderLocation_ = renderLocation_;
} else {
result.renderLocation_ = renderLocationBuilder_.build();
}
result.renderIpAddress_ = renderIpAddress_;
result.installUserAgent_ = installUserAgent_;
result.renderUserAgent_ = renderUserAgent_;
if (((bitField0_ & 0x00000002) != 0)) {
installDeviceAttributes_ = java.util.Collections.unmodifiableList(installDeviceAttributes_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.installDeviceAttributes_ = installDeviceAttributes_;
if (((bitField0_ & 0x00000004) != 0)) {
renderDeviceAttributes_ = java.util.Collections.unmodifiableList(renderDeviceAttributes_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.renderDeviceAttributes_ = renderDeviceAttributes_;
if (issueAtBuilder_ == null) {
result.issueAt_ = issueAt_;
} else {
result.issueAt_ = issueAtBuilder_.build();
}
if (renderedAtBuilder_ == null) {
result.renderedAt_ = renderedAt_;
} else {
result.renderedAt_ = renderedAtBuilder_.build();
}
if (firstInstalledAtBuilder_ == null) {
result.firstInstalledAt_ = firstInstalledAt_;
} else {
result.firstInstalledAt_ = firstInstalledAtBuilder_.build();
}
if (lastInstalledAtBuilder_ == null) {
result.lastInstalledAt_ = lastInstalledAt_;
} else {
result.lastInstalledAt_ = lastInstalledAtBuilder_.build();
}
if (firstUninstalledAtBuilder_ == null) {
result.firstUninstalledAt_ = firstUninstalledAt_;
} else {
result.firstUninstalledAt_ = firstUninstalledAtBuilder_.build();
}
if (lastUninstalledAtBuilder_ == null) {
result.lastUninstalledAt_ = lastUninstalledAt_;
} else {
result.lastUninstalledAt_ = lastUninstalledAtBuilder_.build();
}
if (invalidatedAtBuilder_ == null) {
result.invalidatedAt_ = invalidatedAt_;
} else {
result.invalidatedAt_ = invalidatedAtBuilder_.build();
}
if (lastUpdatedAtBuilder_ == null) {
result.lastUpdatedAt_ = lastUpdatedAt_;
} else {
result.lastUpdatedAt_ = lastUpdatedAtBuilder_.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.MetricsOuterClass.Metadata) {
return mergeFrom((com.passkit.grpc.MetricsOuterClass.Metadata)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.MetricsOuterClass.Metadata other) {
if (other == com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance()) return this;
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
if (!other.lifecycleEvents_.isEmpty()) {
if (lifecycleEvents_.isEmpty()) {
lifecycleEvents_ = other.lifecycleEvents_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLifecycleEventsIsMutable();
lifecycleEvents_.addAll(other.lifecycleEvents_);
}
onChanged();
}
if (other.hasUtm()) {
mergeUtm(other.getUtm());
}
if (!other.getAltId().isEmpty()) {
altId_ = other.altId_;
onChanged();
}
if (!other.getIssueIpAddress().isEmpty()) {
issueIpAddress_ = other.issueIpAddress_;
onChanged();
}
if (!other.getInstallIpAddress().isEmpty()) {
installIpAddress_ = other.installIpAddress_;
onChanged();
}
if (other.hasRenderLocation()) {
mergeRenderLocation(other.getRenderLocation());
}
if (!other.getRenderIpAddress().isEmpty()) {
renderIpAddress_ = other.renderIpAddress_;
onChanged();
}
if (!other.getInstallUserAgent().isEmpty()) {
installUserAgent_ = other.installUserAgent_;
onChanged();
}
if (!other.getRenderUserAgent().isEmpty()) {
renderUserAgent_ = other.renderUserAgent_;
onChanged();
}
if (!other.installDeviceAttributes_.isEmpty()) {
if (installDeviceAttributes_.isEmpty()) {
installDeviceAttributes_ = other.installDeviceAttributes_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureInstallDeviceAttributesIsMutable();
installDeviceAttributes_.addAll(other.installDeviceAttributes_);
}
onChanged();
}
if (!other.renderDeviceAttributes_.isEmpty()) {
if (renderDeviceAttributes_.isEmpty()) {
renderDeviceAttributes_ = other.renderDeviceAttributes_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureRenderDeviceAttributesIsMutable();
renderDeviceAttributes_.addAll(other.renderDeviceAttributes_);
}
onChanged();
}
if (other.hasIssueAt()) {
mergeIssueAt(other.getIssueAt());
}
if (other.hasRenderedAt()) {
mergeRenderedAt(other.getRenderedAt());
}
if (other.hasFirstInstalledAt()) {
mergeFirstInstalledAt(other.getFirstInstalledAt());
}
if (other.hasLastInstalledAt()) {
mergeLastInstalledAt(other.getLastInstalledAt());
}
if (other.hasFirstUninstalledAt()) {
mergeFirstUninstalledAt(other.getFirstUninstalledAt());
}
if (other.hasLastUninstalledAt()) {
mergeLastUninstalledAt(other.getLastUninstalledAt());
}
if (other.hasInvalidatedAt()) {
mergeInvalidatedAt(other.getInvalidatedAt());
}
if (other.hasLastUpdatedAt()) {
mergeLastUpdatedAt(other.getLastUpdatedAt());
}
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.MetricsOuterClass.Metadata parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.MetricsOuterClass.Metadata) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int status_ = 0;
/**
*
* Current status of the pass. Not Writable.
*
*
* .io.Status status = 1;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
*
* Current status of the pass. Not Writable.
*
*
* .io.Status status = 1;
* @param value The enum numeric value on the wire for status to set.
* @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
status_ = value;
onChanged();
return this;
}
/**
*
* Current status of the pass. Not Writable.
*
*
* .io.Status status = 1;
* @return The status.
*/
@java.lang.Override
public com.passkit.grpc.MetricsOuterClass.Status getStatus() {
@SuppressWarnings("deprecation")
com.passkit.grpc.MetricsOuterClass.Status result = com.passkit.grpc.MetricsOuterClass.Status.valueOf(status_);
return result == null ? com.passkit.grpc.MetricsOuterClass.Status.UNRECOGNIZED : result;
}
/**
*
* Current status of the pass. Not Writable.
*
*
* .io.Status status = 1;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(com.passkit.grpc.MetricsOuterClass.Status value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Current status of the pass. Not Writable.
*
*
* .io.Status status = 1;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = 0;
onChanged();
return this;
}
private java.util.List lifecycleEvents_ =
java.util.Collections.emptyList();
private void ensureLifecycleEventsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
lifecycleEvents_ = new java.util.ArrayList(lifecycleEvents_);
bitField0_ |= 0x00000001;
}
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @return A list containing the lifecycleEvents.
*/
public java.util.List getLifecycleEventsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.passkit.grpc.MetricsOuterClass.LifecycleEvents>(lifecycleEvents_, lifecycleEvents_converter_);
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @return The count of lifecycleEvents.
*/
public int getLifecycleEventsCount() {
return lifecycleEvents_.size();
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @param index The index of the element to return.
* @return The lifecycleEvents at the given index.
*/
public com.passkit.grpc.MetricsOuterClass.LifecycleEvents getLifecycleEvents(int index) {
return lifecycleEvents_converter_.convert(lifecycleEvents_.get(index));
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @param index The index to set the value at.
* @param value The lifecycleEvents to set.
* @return This builder for chaining.
*/
public Builder setLifecycleEvents(
int index, com.passkit.grpc.MetricsOuterClass.LifecycleEvents value) {
if (value == null) {
throw new NullPointerException();
}
ensureLifecycleEventsIsMutable();
lifecycleEvents_.set(index, value.getNumber());
onChanged();
return this;
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @param value The lifecycleEvents to add.
* @return This builder for chaining.
*/
public Builder addLifecycleEvents(com.passkit.grpc.MetricsOuterClass.LifecycleEvents value) {
if (value == null) {
throw new NullPointerException();
}
ensureLifecycleEventsIsMutable();
lifecycleEvents_.add(value.getNumber());
onChanged();
return this;
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @param values The lifecycleEvents to add.
* @return This builder for chaining.
*/
public Builder addAllLifecycleEvents(
java.lang.Iterable extends com.passkit.grpc.MetricsOuterClass.LifecycleEvents> values) {
ensureLifecycleEventsIsMutable();
for (com.passkit.grpc.MetricsOuterClass.LifecycleEvents value : values) {
lifecycleEvents_.add(value.getNumber());
}
onChanged();
return this;
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @return This builder for chaining.
*/
public Builder clearLifecycleEvents() {
lifecycleEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @return A list containing the enum numeric values on the wire for lifecycleEvents.
*/
public java.util.List
getLifecycleEventsValueList() {
return java.util.Collections.unmodifiableList(lifecycleEvents_);
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of lifecycleEvents at the given index.
*/
public int getLifecycleEventsValue(int index) {
return lifecycleEvents_.get(index);
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of lifecycleEvents at the given index.
* @return This builder for chaining.
*/
public Builder setLifecycleEventsValue(
int index, int value) {
ensureLifecycleEventsIsMutable();
lifecycleEvents_.set(index, value);
onChanged();
return this;
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @param value The enum numeric value on the wire for lifecycleEvents to add.
* @return This builder for chaining.
*/
public Builder addLifecycleEventsValue(int value) {
ensureLifecycleEventsIsMutable();
lifecycleEvents_.add(value);
onChanged();
return this;
}
/**
*
* Events that the pass has attained. Not Writable.
*
*
* repeated .io.LifecycleEvents lifecycleEvents = 2;
* @param values The enum numeric values on the wire for lifecycleEvents to add.
* @return This builder for chaining.
*/
public Builder addAllLifecycleEventsValue(
java.lang.Iterable values) {
ensureLifecycleEventsIsMutable();
for (int value : values) {
lifecycleEvents_.add(value);
}
onChanged();
return this;
}
private com.passkit.grpc.MetricsOuterClass.UTM utm_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.MetricsOuterClass.UTM, com.passkit.grpc.MetricsOuterClass.UTM.Builder, com.passkit.grpc.MetricsOuterClass.UTMOrBuilder> utmBuilder_;
/**
*
* Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
*
*
* .io.UTM utm = 3;
* @return Whether the utm field is set.
*/
public boolean hasUtm() {
return utmBuilder_ != null || utm_ != null;
}
/**
*
* Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
*
*
* .io.UTM utm = 3;
* @return The utm.
*/
public com.passkit.grpc.MetricsOuterClass.UTM getUtm() {
if (utmBuilder_ == null) {
return utm_ == null ? com.passkit.grpc.MetricsOuterClass.UTM.getDefaultInstance() : utm_;
} else {
return utmBuilder_.getMessage();
}
}
/**
*
* Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
*
*
* .io.UTM utm = 3;
*/
public Builder setUtm(com.passkit.grpc.MetricsOuterClass.UTM value) {
if (utmBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
utm_ = value;
onChanged();
} else {
utmBuilder_.setMessage(value);
}
return this;
}
/**
*
* Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
*
*
* .io.UTM utm = 3;
*/
public Builder setUtm(
com.passkit.grpc.MetricsOuterClass.UTM.Builder builderForValue) {
if (utmBuilder_ == null) {
utm_ = builderForValue.build();
onChanged();
} else {
utmBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
*
*
* .io.UTM utm = 3;
*/
public Builder mergeUtm(com.passkit.grpc.MetricsOuterClass.UTM value) {
if (utmBuilder_ == null) {
if (utm_ != null) {
utm_ =
com.passkit.grpc.MetricsOuterClass.UTM.newBuilder(utm_).mergeFrom(value).buildPartial();
} else {
utm_ = value;
}
onChanged();
} else {
utmBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
*
*
* .io.UTM utm = 3;
*/
public Builder clearUtm() {
if (utmBuilder_ == null) {
utm_ = null;
onChanged();
} else {
utm_ = null;
utmBuilder_ = null;
}
return this;
}
/**
*
* Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
*
*
* .io.UTM utm = 3;
*/
public com.passkit.grpc.MetricsOuterClass.UTM.Builder getUtmBuilder() {
onChanged();
return getUtmFieldBuilder().getBuilder();
}
/**
*
* Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
*
*
* .io.UTM utm = 3;
*/
public com.passkit.grpc.MetricsOuterClass.UTMOrBuilder getUtmOrBuilder() {
if (utmBuilder_ != null) {
return utmBuilder_.getMessageOrBuilder();
} else {
return utm_ == null ?
com.passkit.grpc.MetricsOuterClass.UTM.getDefaultInstance() : utm_;
}
}
/**
*
* Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
*
*
* .io.UTM utm = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.MetricsOuterClass.UTM, com.passkit.grpc.MetricsOuterClass.UTM.Builder, com.passkit.grpc.MetricsOuterClass.UTMOrBuilder>
getUtmFieldBuilder() {
if (utmBuilder_ == null) {
utmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.MetricsOuterClass.UTM, com.passkit.grpc.MetricsOuterClass.UTM.Builder, com.passkit.grpc.MetricsOuterClass.UTMOrBuilder>(
getUtm(),
getParentForChildren(),
isClean());
utm_ = null;
}
return utmBuilder_;
}
private java.lang.Object altId_ = "";
/**
*
* Id of the physical pass. Not Writeable
*
*
* string altId = 4;
* @return The altId.
*/
public java.lang.String getAltId() {
java.lang.Object ref = altId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
altId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Id of the physical pass. Not Writeable
*
*
* string altId = 4;
* @return The bytes for altId.
*/
public com.google.protobuf.ByteString
getAltIdBytes() {
java.lang.Object ref = altId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
altId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Id of the physical pass. Not Writeable
*
*
* string altId = 4;
* @param value The altId to set.
* @return This builder for chaining.
*/
public Builder setAltId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
altId_ = value;
onChanged();
return this;
}
/**
*
* Id of the physical pass. Not Writeable
*
*
* string altId = 4;
* @return This builder for chaining.
*/
public Builder clearAltId() {
altId_ = getDefaultInstance().getAltId();
onChanged();
return this;
}
/**
*
* Id of the physical pass. Not Writeable
*
*
* string altId = 4;
* @param value The bytes for altId to set.
* @return This builder for chaining.
*/
public Builder setAltIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
altId_ = value;
onChanged();
return this;
}
private java.lang.Object issueIpAddress_ = "";
/**
*
* IP address of the pass issue. Not Writeable
*
*
* string issueIpAddress = 5;
* @return The issueIpAddress.
*/
public java.lang.String getIssueIpAddress() {
java.lang.Object ref = issueIpAddress_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
issueIpAddress_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* IP address of the pass issue. Not Writeable
*
*
* string issueIpAddress = 5;
* @return The bytes for issueIpAddress.
*/
public com.google.protobuf.ByteString
getIssueIpAddressBytes() {
java.lang.Object ref = issueIpAddress_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
issueIpAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* IP address of the pass issue. Not Writeable
*
*
* string issueIpAddress = 5;
* @param value The issueIpAddress to set.
* @return This builder for chaining.
*/
public Builder setIssueIpAddress(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
issueIpAddress_ = value;
onChanged();
return this;
}
/**
*
* IP address of the pass issue. Not Writeable
*
*
* string issueIpAddress = 5;
* @return This builder for chaining.
*/
public Builder clearIssueIpAddress() {
issueIpAddress_ = getDefaultInstance().getIssueIpAddress();
onChanged();
return this;
}
/**
*
* IP address of the pass issue. Not Writeable
*
*
* string issueIpAddress = 5;
* @param value The bytes for issueIpAddress to set.
* @return This builder for chaining.
*/
public Builder setIssueIpAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
issueIpAddress_ = value;
onChanged();
return this;
}
private java.lang.Object installIpAddress_ = "";
/**
*
* IP address of the device where the pass was installed on. Not Writeable.
*
*
* string installIpAddress = 6;
* @return The installIpAddress.
*/
public java.lang.String getInstallIpAddress() {
java.lang.Object ref = installIpAddress_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
installIpAddress_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* IP address of the device where the pass was installed on. Not Writeable.
*
*
* string installIpAddress = 6;
* @return The bytes for installIpAddress.
*/
public com.google.protobuf.ByteString
getInstallIpAddressBytes() {
java.lang.Object ref = installIpAddress_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
installIpAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* IP address of the device where the pass was installed on. Not Writeable.
*
*
* string installIpAddress = 6;
* @param value The installIpAddress to set.
* @return This builder for chaining.
*/
public Builder setInstallIpAddress(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
installIpAddress_ = value;
onChanged();
return this;
}
/**
*
* IP address of the device where the pass was installed on. Not Writeable.
*
*
* string installIpAddress = 6;
* @return This builder for chaining.
*/
public Builder clearInstallIpAddress() {
installIpAddress_ = getDefaultInstance().getInstallIpAddress();
onChanged();
return this;
}
/**
*
* IP address of the device where the pass was installed on. Not Writeable.
*
*
* string installIpAddress = 6;
* @param value The bytes for installIpAddress to set.
* @return This builder for chaining.
*/
public Builder setInstallIpAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
installIpAddress_ = value;
onChanged();
return this;
}
private com.passkit.grpc.MetricsOuterClass.MetaLocation renderLocation_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.MetricsOuterClass.MetaLocation, com.passkit.grpc.MetricsOuterClass.MetaLocation.Builder, com.passkit.grpc.MetricsOuterClass.MetaLocationOrBuilder> renderLocationBuilder_;
/**
*
* Location information based of the where the pass landing page was rendered. Not Writeable
*
*
* .io.MetaLocation renderLocation = 7;
* @return Whether the renderLocation field is set.
*/
public boolean hasRenderLocation() {
return renderLocationBuilder_ != null || renderLocation_ != null;
}
/**
*
* Location information based of the where the pass landing page was rendered. Not Writeable
*
*
* .io.MetaLocation renderLocation = 7;
* @return The renderLocation.
*/
public com.passkit.grpc.MetricsOuterClass.MetaLocation getRenderLocation() {
if (renderLocationBuilder_ == null) {
return renderLocation_ == null ? com.passkit.grpc.MetricsOuterClass.MetaLocation.getDefaultInstance() : renderLocation_;
} else {
return renderLocationBuilder_.getMessage();
}
}
/**
*
* Location information based of the where the pass landing page was rendered. Not Writeable
*
*
* .io.MetaLocation renderLocation = 7;
*/
public Builder setRenderLocation(com.passkit.grpc.MetricsOuterClass.MetaLocation value) {
if (renderLocationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
renderLocation_ = value;
onChanged();
} else {
renderLocationBuilder_.setMessage(value);
}
return this;
}
/**
*
* Location information based of the where the pass landing page was rendered. Not Writeable
*
*
* .io.MetaLocation renderLocation = 7;
*/
public Builder setRenderLocation(
com.passkit.grpc.MetricsOuterClass.MetaLocation.Builder builderForValue) {
if (renderLocationBuilder_ == null) {
renderLocation_ = builderForValue.build();
onChanged();
} else {
renderLocationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Location information based of the where the pass landing page was rendered. Not Writeable
*
*
* .io.MetaLocation renderLocation = 7;
*/
public Builder mergeRenderLocation(com.passkit.grpc.MetricsOuterClass.MetaLocation value) {
if (renderLocationBuilder_ == null) {
if (renderLocation_ != null) {
renderLocation_ =
com.passkit.grpc.MetricsOuterClass.MetaLocation.newBuilder(renderLocation_).mergeFrom(value).buildPartial();
} else {
renderLocation_ = value;
}
onChanged();
} else {
renderLocationBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Location information based of the where the pass landing page was rendered. Not Writeable
*
*
* .io.MetaLocation renderLocation = 7;
*/
public Builder clearRenderLocation() {
if (renderLocationBuilder_ == null) {
renderLocation_ = null;
onChanged();
} else {
renderLocation_ = null;
renderLocationBuilder_ = null;
}
return this;
}
/**
*
* Location information based of the where the pass landing page was rendered. Not Writeable
*
*
* .io.MetaLocation renderLocation = 7;
*/
public com.passkit.grpc.MetricsOuterClass.MetaLocation.Builder getRenderLocationBuilder() {
onChanged();
return getRenderLocationFieldBuilder().getBuilder();
}
/**
*
* Location information based of the where the pass landing page was rendered. Not Writeable
*
*
* .io.MetaLocation renderLocation = 7;
*/
public com.passkit.grpc.MetricsOuterClass.MetaLocationOrBuilder getRenderLocationOrBuilder() {
if (renderLocationBuilder_ != null) {
return renderLocationBuilder_.getMessageOrBuilder();
} else {
return renderLocation_ == null ?
com.passkit.grpc.MetricsOuterClass.MetaLocation.getDefaultInstance() : renderLocation_;
}
}
/**
*
* Location information based of the where the pass landing page was rendered. Not Writeable
*
*
* .io.MetaLocation renderLocation = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.MetricsOuterClass.MetaLocation, com.passkit.grpc.MetricsOuterClass.MetaLocation.Builder, com.passkit.grpc.MetricsOuterClass.MetaLocationOrBuilder>
getRenderLocationFieldBuilder() {
if (renderLocationBuilder_ == null) {
renderLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.MetricsOuterClass.MetaLocation, com.passkit.grpc.MetricsOuterClass.MetaLocation.Builder, com.passkit.grpc.MetricsOuterClass.MetaLocationOrBuilder>(
getRenderLocation(),
getParentForChildren(),
isClean());
renderLocation_ = null;
}
return renderLocationBuilder_;
}
private java.lang.Object renderIpAddress_ = "";
/**
*
* IP address of the device where the pass landing page was rendered on. Not Writeable.
*
*
* string renderIpAddress = 8;
* @return The renderIpAddress.
*/
public java.lang.String getRenderIpAddress() {
java.lang.Object ref = renderIpAddress_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
renderIpAddress_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* IP address of the device where the pass landing page was rendered on. Not Writeable.
*
*
* string renderIpAddress = 8;
* @return The bytes for renderIpAddress.
*/
public com.google.protobuf.ByteString
getRenderIpAddressBytes() {
java.lang.Object ref = renderIpAddress_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
renderIpAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* IP address of the device where the pass landing page was rendered on. Not Writeable.
*
*
* string renderIpAddress = 8;
* @param value The renderIpAddress to set.
* @return This builder for chaining.
*/
public Builder setRenderIpAddress(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
renderIpAddress_ = value;
onChanged();
return this;
}
/**
*
* IP address of the device where the pass landing page was rendered on. Not Writeable.
*
*
* string renderIpAddress = 8;
* @return This builder for chaining.
*/
public Builder clearRenderIpAddress() {
renderIpAddress_ = getDefaultInstance().getRenderIpAddress();
onChanged();
return this;
}
/**
*
* IP address of the device where the pass landing page was rendered on. Not Writeable.
*
*
* string renderIpAddress = 8;
* @param value The bytes for renderIpAddress to set.
* @return This builder for chaining.
*/
public Builder setRenderIpAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
renderIpAddress_ = value;
onChanged();
return this;
}
private java.lang.Object installUserAgent_ = "";
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* string installUserAgent = 9;
* @return The installUserAgent.
*/
public java.lang.String getInstallUserAgent() {
java.lang.Object ref = installUserAgent_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
installUserAgent_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* string installUserAgent = 9;
* @return The bytes for installUserAgent.
*/
public com.google.protobuf.ByteString
getInstallUserAgentBytes() {
java.lang.Object ref = installUserAgent_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
installUserAgent_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* string installUserAgent = 9;
* @param value The installUserAgent to set.
* @return This builder for chaining.
*/
public Builder setInstallUserAgent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
installUserAgent_ = value;
onChanged();
return this;
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* string installUserAgent = 9;
* @return This builder for chaining.
*/
public Builder clearInstallUserAgent() {
installUserAgent_ = getDefaultInstance().getInstallUserAgent();
onChanged();
return this;
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* string installUserAgent = 9;
* @param value The bytes for installUserAgent to set.
* @return This builder for chaining.
*/
public Builder setInstallUserAgentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
installUserAgent_ = value;
onChanged();
return this;
}
private java.lang.Object renderUserAgent_ = "";
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* string renderUserAgent = 10;
* @return The renderUserAgent.
*/
public java.lang.String getRenderUserAgent() {
java.lang.Object ref = renderUserAgent_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
renderUserAgent_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* string renderUserAgent = 10;
* @return The bytes for renderUserAgent.
*/
public com.google.protobuf.ByteString
getRenderUserAgentBytes() {
java.lang.Object ref = renderUserAgent_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
renderUserAgent_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* string renderUserAgent = 10;
* @param value The renderUserAgent to set.
* @return This builder for chaining.
*/
public Builder setRenderUserAgent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
renderUserAgent_ = value;
onChanged();
return this;
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* string renderUserAgent = 10;
* @return This builder for chaining.
*/
public Builder clearRenderUserAgent() {
renderUserAgent_ = getDefaultInstance().getRenderUserAgent();
onChanged();
return this;
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* string renderUserAgent = 10;
* @param value The bytes for renderUserAgent to set.
* @return This builder for chaining.
*/
public Builder setRenderUserAgentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
renderUserAgent_ = value;
onChanged();
return this;
}
private java.util.List installDeviceAttributes_ =
java.util.Collections.emptyList();
private void ensureInstallDeviceAttributesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
installDeviceAttributes_ = new java.util.ArrayList(installDeviceAttributes_);
bitField0_ |= 0x00000002;
}
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @return A list containing the installDeviceAttributes.
*/
public java.util.List getInstallDeviceAttributesList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.passkit.grpc.Attributes.DeviceAttributes>(installDeviceAttributes_, installDeviceAttributes_converter_);
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @return The count of installDeviceAttributes.
*/
public int getInstallDeviceAttributesCount() {
return installDeviceAttributes_.size();
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @param index The index of the element to return.
* @return The installDeviceAttributes at the given index.
*/
public com.passkit.grpc.Attributes.DeviceAttributes getInstallDeviceAttributes(int index) {
return installDeviceAttributes_converter_.convert(installDeviceAttributes_.get(index));
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @param index The index to set the value at.
* @param value The installDeviceAttributes to set.
* @return This builder for chaining.
*/
public Builder setInstallDeviceAttributes(
int index, com.passkit.grpc.Attributes.DeviceAttributes value) {
if (value == null) {
throw new NullPointerException();
}
ensureInstallDeviceAttributesIsMutable();
installDeviceAttributes_.set(index, value.getNumber());
onChanged();
return this;
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @param value The installDeviceAttributes to add.
* @return This builder for chaining.
*/
public Builder addInstallDeviceAttributes(com.passkit.grpc.Attributes.DeviceAttributes value) {
if (value == null) {
throw new NullPointerException();
}
ensureInstallDeviceAttributesIsMutable();
installDeviceAttributes_.add(value.getNumber());
onChanged();
return this;
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @param values The installDeviceAttributes to add.
* @return This builder for chaining.
*/
public Builder addAllInstallDeviceAttributes(
java.lang.Iterable extends com.passkit.grpc.Attributes.DeviceAttributes> values) {
ensureInstallDeviceAttributesIsMutable();
for (com.passkit.grpc.Attributes.DeviceAttributes value : values) {
installDeviceAttributes_.add(value.getNumber());
}
onChanged();
return this;
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @return This builder for chaining.
*/
public Builder clearInstallDeviceAttributes() {
installDeviceAttributes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @return A list containing the enum numeric values on the wire for installDeviceAttributes.
*/
public java.util.List
getInstallDeviceAttributesValueList() {
return java.util.Collections.unmodifiableList(installDeviceAttributes_);
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of installDeviceAttributes at the given index.
*/
public int getInstallDeviceAttributesValue(int index) {
return installDeviceAttributes_.get(index);
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of installDeviceAttributes at the given index.
* @return This builder for chaining.
*/
public Builder setInstallDeviceAttributesValue(
int index, int value) {
ensureInstallDeviceAttributesIsMutable();
installDeviceAttributes_.set(index, value);
onChanged();
return this;
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @param value The enum numeric value on the wire for installDeviceAttributes to add.
* @return This builder for chaining.
*/
public Builder addInstallDeviceAttributesValue(int value) {
ensureInstallDeviceAttributesIsMutable();
installDeviceAttributes_.add(value);
onChanged();
return this;
}
/**
*
* User agent provided by the Wallet Application. Not Writable.
*
*
* repeated .io.DeviceAttributes installDeviceAttributes = 11;
* @param values The enum numeric values on the wire for installDeviceAttributes to add.
* @return This builder for chaining.
*/
public Builder addAllInstallDeviceAttributesValue(
java.lang.Iterable values) {
ensureInstallDeviceAttributesIsMutable();
for (int value : values) {
installDeviceAttributes_.add(value);
}
onChanged();
return this;
}
private java.util.List renderDeviceAttributes_ =
java.util.Collections.emptyList();
private void ensureRenderDeviceAttributesIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
renderDeviceAttributes_ = new java.util.ArrayList(renderDeviceAttributes_);
bitField0_ |= 0x00000004;
}
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @return A list containing the renderDeviceAttributes.
*/
public java.util.List getRenderDeviceAttributesList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.passkit.grpc.Attributes.DeviceAttributes>(renderDeviceAttributes_, renderDeviceAttributes_converter_);
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @return The count of renderDeviceAttributes.
*/
public int getRenderDeviceAttributesCount() {
return renderDeviceAttributes_.size();
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @param index The index of the element to return.
* @return The renderDeviceAttributes at the given index.
*/
public com.passkit.grpc.Attributes.DeviceAttributes getRenderDeviceAttributes(int index) {
return renderDeviceAttributes_converter_.convert(renderDeviceAttributes_.get(index));
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @param index The index to set the value at.
* @param value The renderDeviceAttributes to set.
* @return This builder for chaining.
*/
public Builder setRenderDeviceAttributes(
int index, com.passkit.grpc.Attributes.DeviceAttributes value) {
if (value == null) {
throw new NullPointerException();
}
ensureRenderDeviceAttributesIsMutable();
renderDeviceAttributes_.set(index, value.getNumber());
onChanged();
return this;
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @param value The renderDeviceAttributes to add.
* @return This builder for chaining.
*/
public Builder addRenderDeviceAttributes(com.passkit.grpc.Attributes.DeviceAttributes value) {
if (value == null) {
throw new NullPointerException();
}
ensureRenderDeviceAttributesIsMutable();
renderDeviceAttributes_.add(value.getNumber());
onChanged();
return this;
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @param values The renderDeviceAttributes to add.
* @return This builder for chaining.
*/
public Builder addAllRenderDeviceAttributes(
java.lang.Iterable extends com.passkit.grpc.Attributes.DeviceAttributes> values) {
ensureRenderDeviceAttributesIsMutable();
for (com.passkit.grpc.Attributes.DeviceAttributes value : values) {
renderDeviceAttributes_.add(value.getNumber());
}
onChanged();
return this;
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @return This builder for chaining.
*/
public Builder clearRenderDeviceAttributes() {
renderDeviceAttributes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @return A list containing the enum numeric values on the wire for renderDeviceAttributes.
*/
public java.util.List
getRenderDeviceAttributesValueList() {
return java.util.Collections.unmodifiableList(renderDeviceAttributes_);
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of renderDeviceAttributes at the given index.
*/
public int getRenderDeviceAttributesValue(int index) {
return renderDeviceAttributes_.get(index);
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of renderDeviceAttributes at the given index.
* @return This builder for chaining.
*/
public Builder setRenderDeviceAttributesValue(
int index, int value) {
ensureRenderDeviceAttributesIsMutable();
renderDeviceAttributes_.set(index, value);
onChanged();
return this;
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @param value The enum numeric value on the wire for renderDeviceAttributes to add.
* @return This builder for chaining.
*/
public Builder addRenderDeviceAttributesValue(int value) {
ensureRenderDeviceAttributesIsMutable();
renderDeviceAttributes_.add(value);
onChanged();
return this;
}
/**
*
* User agent where the landing page was rendered on. Not Writable.
*
*
* repeated .io.DeviceAttributes renderDeviceAttributes = 12;
* @param values The enum numeric values on the wire for renderDeviceAttributes to add.
* @return This builder for chaining.
*/
public Builder addAllRenderDeviceAttributesValue(
java.lang.Iterable values) {
ensureRenderDeviceAttributesIsMutable();
for (int value : values) {
renderDeviceAttributes_.add(value);
}
onChanged();
return this;
}
private com.google.protobuf.Timestamp issueAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> issueAtBuilder_;
/**
*
* Date the pass record was created. Not Writable.
*
*
* .google.protobuf.Timestamp issueAt = 13;
* @return Whether the issueAt field is set.
*/
public boolean hasIssueAt() {
return issueAtBuilder_ != null || issueAt_ != null;
}
/**
*
* Date the pass record was created. Not Writable.
*
*
* .google.protobuf.Timestamp issueAt = 13;
* @return The issueAt.
*/
public com.google.protobuf.Timestamp getIssueAt() {
if (issueAtBuilder_ == null) {
return issueAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : issueAt_;
} else {
return issueAtBuilder_.getMessage();
}
}
/**
*
* Date the pass record was created. Not Writable.
*
*
* .google.protobuf.Timestamp issueAt = 13;
*/
public Builder setIssueAt(com.google.protobuf.Timestamp value) {
if (issueAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
issueAt_ = value;
onChanged();
} else {
issueAtBuilder_.setMessage(value);
}
return this;
}
/**
*
* Date the pass record was created. Not Writable.
*
*
* .google.protobuf.Timestamp issueAt = 13;
*/
public Builder setIssueAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (issueAtBuilder_ == null) {
issueAt_ = builderForValue.build();
onChanged();
} else {
issueAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Date the pass record was created. Not Writable.
*
*
* .google.protobuf.Timestamp issueAt = 13;
*/
public Builder mergeIssueAt(com.google.protobuf.Timestamp value) {
if (issueAtBuilder_ == null) {
if (issueAt_ != null) {
issueAt_ =
com.google.protobuf.Timestamp.newBuilder(issueAt_).mergeFrom(value).buildPartial();
} else {
issueAt_ = value;
}
onChanged();
} else {
issueAtBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Date the pass record was created. Not Writable.
*
*
* .google.protobuf.Timestamp issueAt = 13;
*/
public Builder clearIssueAt() {
if (issueAtBuilder_ == null) {
issueAt_ = null;
onChanged();
} else {
issueAt_ = null;
issueAtBuilder_ = null;
}
return this;
}
/**
*
* Date the pass record was created. Not Writable.
*
*
* .google.protobuf.Timestamp issueAt = 13;
*/
public com.google.protobuf.Timestamp.Builder getIssueAtBuilder() {
onChanged();
return getIssueAtFieldBuilder().getBuilder();
}
/**
*
* Date the pass record was created. Not Writable.
*
*
* .google.protobuf.Timestamp issueAt = 13;
*/
public com.google.protobuf.TimestampOrBuilder getIssueAtOrBuilder() {
if (issueAtBuilder_ != null) {
return issueAtBuilder_.getMessageOrBuilder();
} else {
return issueAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : issueAt_;
}
}
/**
*
* Date the pass record was created. Not Writable.
*
*
* .google.protobuf.Timestamp issueAt = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getIssueAtFieldBuilder() {
if (issueAtBuilder_ == null) {
issueAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getIssueAt(),
getParentForChildren(),
isClean());
issueAt_ = null;
}
return issueAtBuilder_;
}
private com.google.protobuf.Timestamp renderedAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> renderedAtBuilder_;
/**
*
* Date the pass was first displayed to the user to install. Not Writable.
*
*
* .google.protobuf.Timestamp renderedAt = 14;
* @return Whether the renderedAt field is set.
*/
public boolean hasRenderedAt() {
return renderedAtBuilder_ != null || renderedAt_ != null;
}
/**
*
* Date the pass was first displayed to the user to install. Not Writable.
*
*
* .google.protobuf.Timestamp renderedAt = 14;
* @return The renderedAt.
*/
public com.google.protobuf.Timestamp getRenderedAt() {
if (renderedAtBuilder_ == null) {
return renderedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : renderedAt_;
} else {
return renderedAtBuilder_.getMessage();
}
}
/**
*
* Date the pass was first displayed to the user to install. Not Writable.
*
*
* .google.protobuf.Timestamp renderedAt = 14;
*/
public Builder setRenderedAt(com.google.protobuf.Timestamp value) {
if (renderedAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
renderedAt_ = value;
onChanged();
} else {
renderedAtBuilder_.setMessage(value);
}
return this;
}
/**
*
* Date the pass was first displayed to the user to install. Not Writable.
*
*
* .google.protobuf.Timestamp renderedAt = 14;
*/
public Builder setRenderedAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (renderedAtBuilder_ == null) {
renderedAt_ = builderForValue.build();
onChanged();
} else {
renderedAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Date the pass was first displayed to the user to install. Not Writable.
*
*
* .google.protobuf.Timestamp renderedAt = 14;
*/
public Builder mergeRenderedAt(com.google.protobuf.Timestamp value) {
if (renderedAtBuilder_ == null) {
if (renderedAt_ != null) {
renderedAt_ =
com.google.protobuf.Timestamp.newBuilder(renderedAt_).mergeFrom(value).buildPartial();
} else {
renderedAt_ = value;
}
onChanged();
} else {
renderedAtBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Date the pass was first displayed to the user to install. Not Writable.
*
*
* .google.protobuf.Timestamp renderedAt = 14;
*/
public Builder clearRenderedAt() {
if (renderedAtBuilder_ == null) {
renderedAt_ = null;
onChanged();
} else {
renderedAt_ = null;
renderedAtBuilder_ = null;
}
return this;
}
/**
*
* Date the pass was first displayed to the user to install. Not Writable.
*
*
* .google.protobuf.Timestamp renderedAt = 14;
*/
public com.google.protobuf.Timestamp.Builder getRenderedAtBuilder() {
onChanged();
return getRenderedAtFieldBuilder().getBuilder();
}
/**
*
* Date the pass was first displayed to the user to install. Not Writable.
*
*
* .google.protobuf.Timestamp renderedAt = 14;
*/
public com.google.protobuf.TimestampOrBuilder getRenderedAtOrBuilder() {
if (renderedAtBuilder_ != null) {
return renderedAtBuilder_.getMessageOrBuilder();
} else {
return renderedAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : renderedAt_;
}
}
/**
*
* Date the pass was first displayed to the user to install. Not Writable.
*
*
* .google.protobuf.Timestamp renderedAt = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getRenderedAtFieldBuilder() {
if (renderedAtBuilder_ == null) {
renderedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getRenderedAt(),
getParentForChildren(),
isClean());
renderedAt_ = null;
}
return renderedAtBuilder_;
}
private com.google.protobuf.Timestamp firstInstalledAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> firstInstalledAtBuilder_;
/**
*
* Date the pass was first installed in a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp firstInstalledAt = 15;
* @return Whether the firstInstalledAt field is set.
*/
public boolean hasFirstInstalledAt() {
return firstInstalledAtBuilder_ != null || firstInstalledAt_ != null;
}
/**
*
* Date the pass was first installed in a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp firstInstalledAt = 15;
* @return The firstInstalledAt.
*/
public com.google.protobuf.Timestamp getFirstInstalledAt() {
if (firstInstalledAtBuilder_ == null) {
return firstInstalledAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : firstInstalledAt_;
} else {
return firstInstalledAtBuilder_.getMessage();
}
}
/**
*
* Date the pass was first installed in a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp firstInstalledAt = 15;
*/
public Builder setFirstInstalledAt(com.google.protobuf.Timestamp value) {
if (firstInstalledAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
firstInstalledAt_ = value;
onChanged();
} else {
firstInstalledAtBuilder_.setMessage(value);
}
return this;
}
/**
*
* Date the pass was first installed in a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp firstInstalledAt = 15;
*/
public Builder setFirstInstalledAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (firstInstalledAtBuilder_ == null) {
firstInstalledAt_ = builderForValue.build();
onChanged();
} else {
firstInstalledAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Date the pass was first installed in a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp firstInstalledAt = 15;
*/
public Builder mergeFirstInstalledAt(com.google.protobuf.Timestamp value) {
if (firstInstalledAtBuilder_ == null) {
if (firstInstalledAt_ != null) {
firstInstalledAt_ =
com.google.protobuf.Timestamp.newBuilder(firstInstalledAt_).mergeFrom(value).buildPartial();
} else {
firstInstalledAt_ = value;
}
onChanged();
} else {
firstInstalledAtBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Date the pass was first installed in a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp firstInstalledAt = 15;
*/
public Builder clearFirstInstalledAt() {
if (firstInstalledAtBuilder_ == null) {
firstInstalledAt_ = null;
onChanged();
} else {
firstInstalledAt_ = null;
firstInstalledAtBuilder_ = null;
}
return this;
}
/**
*
* Date the pass was first installed in a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp firstInstalledAt = 15;
*/
public com.google.protobuf.Timestamp.Builder getFirstInstalledAtBuilder() {
onChanged();
return getFirstInstalledAtFieldBuilder().getBuilder();
}
/**
*
* Date the pass was first installed in a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp firstInstalledAt = 15;
*/
public com.google.protobuf.TimestampOrBuilder getFirstInstalledAtOrBuilder() {
if (firstInstalledAtBuilder_ != null) {
return firstInstalledAtBuilder_.getMessageOrBuilder();
} else {
return firstInstalledAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : firstInstalledAt_;
}
}
/**
*
* Date the pass was first installed in a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp firstInstalledAt = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getFirstInstalledAtFieldBuilder() {
if (firstInstalledAtBuilder_ == null) {
firstInstalledAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getFirstInstalledAt(),
getParentForChildren(),
isClean());
firstInstalledAt_ = null;
}
return firstInstalledAtBuilder_;
}
private com.google.protobuf.Timestamp lastInstalledAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastInstalledAtBuilder_;
/**
*
* Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
*
*
* .google.protobuf.Timestamp lastInstalledAt = 16;
* @return Whether the lastInstalledAt field is set.
*/
public boolean hasLastInstalledAt() {
return lastInstalledAtBuilder_ != null || lastInstalledAt_ != null;
}
/**
*
* Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
*
*
* .google.protobuf.Timestamp lastInstalledAt = 16;
* @return The lastInstalledAt.
*/
public com.google.protobuf.Timestamp getLastInstalledAt() {
if (lastInstalledAtBuilder_ == null) {
return lastInstalledAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastInstalledAt_;
} else {
return lastInstalledAtBuilder_.getMessage();
}
}
/**
*
* Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
*
*
* .google.protobuf.Timestamp lastInstalledAt = 16;
*/
public Builder setLastInstalledAt(com.google.protobuf.Timestamp value) {
if (lastInstalledAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lastInstalledAt_ = value;
onChanged();
} else {
lastInstalledAtBuilder_.setMessage(value);
}
return this;
}
/**
*
* Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
*
*
* .google.protobuf.Timestamp lastInstalledAt = 16;
*/
public Builder setLastInstalledAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (lastInstalledAtBuilder_ == null) {
lastInstalledAt_ = builderForValue.build();
onChanged();
} else {
lastInstalledAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
*
*
* .google.protobuf.Timestamp lastInstalledAt = 16;
*/
public Builder mergeLastInstalledAt(com.google.protobuf.Timestamp value) {
if (lastInstalledAtBuilder_ == null) {
if (lastInstalledAt_ != null) {
lastInstalledAt_ =
com.google.protobuf.Timestamp.newBuilder(lastInstalledAt_).mergeFrom(value).buildPartial();
} else {
lastInstalledAt_ = value;
}
onChanged();
} else {
lastInstalledAtBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
*
*
* .google.protobuf.Timestamp lastInstalledAt = 16;
*/
public Builder clearLastInstalledAt() {
if (lastInstalledAtBuilder_ == null) {
lastInstalledAt_ = null;
onChanged();
} else {
lastInstalledAt_ = null;
lastInstalledAtBuilder_ = null;
}
return this;
}
/**
*
* Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
*
*
* .google.protobuf.Timestamp lastInstalledAt = 16;
*/
public com.google.protobuf.Timestamp.Builder getLastInstalledAtBuilder() {
onChanged();
return getLastInstalledAtFieldBuilder().getBuilder();
}
/**
*
* Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
*
*
* .google.protobuf.Timestamp lastInstalledAt = 16;
*/
public com.google.protobuf.TimestampOrBuilder getLastInstalledAtOrBuilder() {
if (lastInstalledAtBuilder_ != null) {
return lastInstalledAtBuilder_.getMessageOrBuilder();
} else {
return lastInstalledAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : lastInstalledAt_;
}
}
/**
*
* Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
*
*
* .google.protobuf.Timestamp lastInstalledAt = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getLastInstalledAtFieldBuilder() {
if (lastInstalledAtBuilder_ == null) {
lastInstalledAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getLastInstalledAt(),
getParentForChildren(),
isClean());
lastInstalledAt_ = null;
}
return lastInstalledAtBuilder_;
}
private com.google.protobuf.Timestamp firstUninstalledAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> firstUninstalledAtBuilder_;
/**
*
* Date the pass was first uninstalled from a mobile wallet. For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
*
*
* .google.protobuf.Timestamp firstUninstalledAt = 17;
* @return Whether the firstUninstalledAt field is set.
*/
public boolean hasFirstUninstalledAt() {
return firstUninstalledAtBuilder_ != null || firstUninstalledAt_ != null;
}
/**
*
* Date the pass was first uninstalled from a mobile wallet. For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
*
*
* .google.protobuf.Timestamp firstUninstalledAt = 17;
* @return The firstUninstalledAt.
*/
public com.google.protobuf.Timestamp getFirstUninstalledAt() {
if (firstUninstalledAtBuilder_ == null) {
return firstUninstalledAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : firstUninstalledAt_;
} else {
return firstUninstalledAtBuilder_.getMessage();
}
}
/**
*
* Date the pass was first uninstalled from a mobile wallet. For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
*
*
* .google.protobuf.Timestamp firstUninstalledAt = 17;
*/
public Builder setFirstUninstalledAt(com.google.protobuf.Timestamp value) {
if (firstUninstalledAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
firstUninstalledAt_ = value;
onChanged();
} else {
firstUninstalledAtBuilder_.setMessage(value);
}
return this;
}
/**
*
* Date the pass was first uninstalled from a mobile wallet. For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
*
*
* .google.protobuf.Timestamp firstUninstalledAt = 17;
*/
public Builder setFirstUninstalledAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (firstUninstalledAtBuilder_ == null) {
firstUninstalledAt_ = builderForValue.build();
onChanged();
} else {
firstUninstalledAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Date the pass was first uninstalled from a mobile wallet. For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
*
*
* .google.protobuf.Timestamp firstUninstalledAt = 17;
*/
public Builder mergeFirstUninstalledAt(com.google.protobuf.Timestamp value) {
if (firstUninstalledAtBuilder_ == null) {
if (firstUninstalledAt_ != null) {
firstUninstalledAt_ =
com.google.protobuf.Timestamp.newBuilder(firstUninstalledAt_).mergeFrom(value).buildPartial();
} else {
firstUninstalledAt_ = value;
}
onChanged();
} else {
firstUninstalledAtBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Date the pass was first uninstalled from a mobile wallet. For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
*
*
* .google.protobuf.Timestamp firstUninstalledAt = 17;
*/
public Builder clearFirstUninstalledAt() {
if (firstUninstalledAtBuilder_ == null) {
firstUninstalledAt_ = null;
onChanged();
} else {
firstUninstalledAt_ = null;
firstUninstalledAtBuilder_ = null;
}
return this;
}
/**
*
* Date the pass was first uninstalled from a mobile wallet. For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
*
*
* .google.protobuf.Timestamp firstUninstalledAt = 17;
*/
public com.google.protobuf.Timestamp.Builder getFirstUninstalledAtBuilder() {
onChanged();
return getFirstUninstalledAtFieldBuilder().getBuilder();
}
/**
*
* Date the pass was first uninstalled from a mobile wallet. For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
*
*
* .google.protobuf.Timestamp firstUninstalledAt = 17;
*/
public com.google.protobuf.TimestampOrBuilder getFirstUninstalledAtOrBuilder() {
if (firstUninstalledAtBuilder_ != null) {
return firstUninstalledAtBuilder_.getMessageOrBuilder();
} else {
return firstUninstalledAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : firstUninstalledAt_;
}
}
/**
*
* Date the pass was first uninstalled from a mobile wallet. For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
*
*
* .google.protobuf.Timestamp firstUninstalledAt = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getFirstUninstalledAtFieldBuilder() {
if (firstUninstalledAtBuilder_ == null) {
firstUninstalledAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getFirstUninstalledAt(),
getParentForChildren(),
isClean());
firstUninstalledAt_ = null;
}
return firstUninstalledAtBuilder_;
}
private com.google.protobuf.Timestamp lastUninstalledAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUninstalledAtBuilder_;
/**
*
* Date the pass was last uninstalled from a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp lastUninstalledAt = 18;
* @return Whether the lastUninstalledAt field is set.
*/
public boolean hasLastUninstalledAt() {
return lastUninstalledAtBuilder_ != null || lastUninstalledAt_ != null;
}
/**
*
* Date the pass was last uninstalled from a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp lastUninstalledAt = 18;
* @return The lastUninstalledAt.
*/
public com.google.protobuf.Timestamp getLastUninstalledAt() {
if (lastUninstalledAtBuilder_ == null) {
return lastUninstalledAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUninstalledAt_;
} else {
return lastUninstalledAtBuilder_.getMessage();
}
}
/**
*
* Date the pass was last uninstalled from a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp lastUninstalledAt = 18;
*/
public Builder setLastUninstalledAt(com.google.protobuf.Timestamp value) {
if (lastUninstalledAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lastUninstalledAt_ = value;
onChanged();
} else {
lastUninstalledAtBuilder_.setMessage(value);
}
return this;
}
/**
*
* Date the pass was last uninstalled from a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp lastUninstalledAt = 18;
*/
public Builder setLastUninstalledAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (lastUninstalledAtBuilder_ == null) {
lastUninstalledAt_ = builderForValue.build();
onChanged();
} else {
lastUninstalledAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Date the pass was last uninstalled from a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp lastUninstalledAt = 18;
*/
public Builder mergeLastUninstalledAt(com.google.protobuf.Timestamp value) {
if (lastUninstalledAtBuilder_ == null) {
if (lastUninstalledAt_ != null) {
lastUninstalledAt_ =
com.google.protobuf.Timestamp.newBuilder(lastUninstalledAt_).mergeFrom(value).buildPartial();
} else {
lastUninstalledAt_ = value;
}
onChanged();
} else {
lastUninstalledAtBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Date the pass was last uninstalled from a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp lastUninstalledAt = 18;
*/
public Builder clearLastUninstalledAt() {
if (lastUninstalledAtBuilder_ == null) {
lastUninstalledAt_ = null;
onChanged();
} else {
lastUninstalledAt_ = null;
lastUninstalledAtBuilder_ = null;
}
return this;
}
/**
*
* Date the pass was last uninstalled from a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp lastUninstalledAt = 18;
*/
public com.google.protobuf.Timestamp.Builder getLastUninstalledAtBuilder() {
onChanged();
return getLastUninstalledAtFieldBuilder().getBuilder();
}
/**
*
* Date the pass was last uninstalled from a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp lastUninstalledAt = 18;
*/
public com.google.protobuf.TimestampOrBuilder getLastUninstalledAtOrBuilder() {
if (lastUninstalledAtBuilder_ != null) {
return lastUninstalledAtBuilder_.getMessageOrBuilder();
} else {
return lastUninstalledAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : lastUninstalledAt_;
}
}
/**
*
* Date the pass was last uninstalled from a mobile wallet. Not Writable.
*
*
* .google.protobuf.Timestamp lastUninstalledAt = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getLastUninstalledAtFieldBuilder() {
if (lastUninstalledAtBuilder_ == null) {
lastUninstalledAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getLastUninstalledAt(),
getParentForChildren(),
isClean());
lastUninstalledAt_ = null;
}
return lastUninstalledAtBuilder_;
}
private com.google.protobuf.Timestamp invalidatedAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> invalidatedAtBuilder_;
/**
*
* Date the pass was invalidated. Not Writable.
*
*
* .google.protobuf.Timestamp invalidatedAt = 19;
* @return Whether the invalidatedAt field is set.
*/
public boolean hasInvalidatedAt() {
return invalidatedAtBuilder_ != null || invalidatedAt_ != null;
}
/**
*
* Date the pass was invalidated. Not Writable.
*
*
* .google.protobuf.Timestamp invalidatedAt = 19;
* @return The invalidatedAt.
*/
public com.google.protobuf.Timestamp getInvalidatedAt() {
if (invalidatedAtBuilder_ == null) {
return invalidatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : invalidatedAt_;
} else {
return invalidatedAtBuilder_.getMessage();
}
}
/**
*
* Date the pass was invalidated. Not Writable.
*
*
* .google.protobuf.Timestamp invalidatedAt = 19;
*/
public Builder setInvalidatedAt(com.google.protobuf.Timestamp value) {
if (invalidatedAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
invalidatedAt_ = value;
onChanged();
} else {
invalidatedAtBuilder_.setMessage(value);
}
return this;
}
/**
*
* Date the pass was invalidated. Not Writable.
*
*
* .google.protobuf.Timestamp invalidatedAt = 19;
*/
public Builder setInvalidatedAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (invalidatedAtBuilder_ == null) {
invalidatedAt_ = builderForValue.build();
onChanged();
} else {
invalidatedAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Date the pass was invalidated. Not Writable.
*
*
* .google.protobuf.Timestamp invalidatedAt = 19;
*/
public Builder mergeInvalidatedAt(com.google.protobuf.Timestamp value) {
if (invalidatedAtBuilder_ == null) {
if (invalidatedAt_ != null) {
invalidatedAt_ =
com.google.protobuf.Timestamp.newBuilder(invalidatedAt_).mergeFrom(value).buildPartial();
} else {
invalidatedAt_ = value;
}
onChanged();
} else {
invalidatedAtBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Date the pass was invalidated. Not Writable.
*
*
* .google.protobuf.Timestamp invalidatedAt = 19;
*/
public Builder clearInvalidatedAt() {
if (invalidatedAtBuilder_ == null) {
invalidatedAt_ = null;
onChanged();
} else {
invalidatedAt_ = null;
invalidatedAtBuilder_ = null;
}
return this;
}
/**
*
* Date the pass was invalidated. Not Writable.
*
*
* .google.protobuf.Timestamp invalidatedAt = 19;
*/
public com.google.protobuf.Timestamp.Builder getInvalidatedAtBuilder() {
onChanged();
return getInvalidatedAtFieldBuilder().getBuilder();
}
/**
*
* Date the pass was invalidated. Not Writable.
*
*
* .google.protobuf.Timestamp invalidatedAt = 19;
*/
public com.google.protobuf.TimestampOrBuilder getInvalidatedAtOrBuilder() {
if (invalidatedAtBuilder_ != null) {
return invalidatedAtBuilder_.getMessageOrBuilder();
} else {
return invalidatedAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : invalidatedAt_;
}
}
/**
*
* Date the pass was invalidated. Not Writable.
*
*
* .google.protobuf.Timestamp invalidatedAt = 19;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getInvalidatedAtFieldBuilder() {
if (invalidatedAtBuilder_ == null) {
invalidatedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getInvalidatedAt(),
getParentForChildren(),
isClean());
invalidatedAt_ = null;
}
return invalidatedAtBuilder_;
}
private com.google.protobuf.Timestamp lastUpdatedAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdatedAtBuilder_;
/**
*
* Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
*
*
* .google.protobuf.Timestamp lastUpdatedAt = 20;
* @return Whether the lastUpdatedAt field is set.
*/
public boolean hasLastUpdatedAt() {
return lastUpdatedAtBuilder_ != null || lastUpdatedAt_ != null;
}
/**
*
* Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
*
*
* .google.protobuf.Timestamp lastUpdatedAt = 20;
* @return The lastUpdatedAt.
*/
public com.google.protobuf.Timestamp getLastUpdatedAt() {
if (lastUpdatedAtBuilder_ == null) {
return lastUpdatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdatedAt_;
} else {
return lastUpdatedAtBuilder_.getMessage();
}
}
/**
*
* Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
*
*
* .google.protobuf.Timestamp lastUpdatedAt = 20;
*/
public Builder setLastUpdatedAt(com.google.protobuf.Timestamp value) {
if (lastUpdatedAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lastUpdatedAt_ = value;
onChanged();
} else {
lastUpdatedAtBuilder_.setMessage(value);
}
return this;
}
/**
*
* Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
*
*
* .google.protobuf.Timestamp lastUpdatedAt = 20;
*/
public Builder setLastUpdatedAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (lastUpdatedAtBuilder_ == null) {
lastUpdatedAt_ = builderForValue.build();
onChanged();
} else {
lastUpdatedAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
*
*
* .google.protobuf.Timestamp lastUpdatedAt = 20;
*/
public Builder mergeLastUpdatedAt(com.google.protobuf.Timestamp value) {
if (lastUpdatedAtBuilder_ == null) {
if (lastUpdatedAt_ != null) {
lastUpdatedAt_ =
com.google.protobuf.Timestamp.newBuilder(lastUpdatedAt_).mergeFrom(value).buildPartial();
} else {
lastUpdatedAt_ = value;
}
onChanged();
} else {
lastUpdatedAtBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
*
*
* .google.protobuf.Timestamp lastUpdatedAt = 20;
*/
public Builder clearLastUpdatedAt() {
if (lastUpdatedAtBuilder_ == null) {
lastUpdatedAt_ = null;
onChanged();
} else {
lastUpdatedAt_ = null;
lastUpdatedAtBuilder_ = null;
}
return this;
}
/**
*
* Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
*
*
* .google.protobuf.Timestamp lastUpdatedAt = 20;
*/
public com.google.protobuf.Timestamp.Builder getLastUpdatedAtBuilder() {
onChanged();
return getLastUpdatedAtFieldBuilder().getBuilder();
}
/**
*
* Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
*
*
* .google.protobuf.Timestamp lastUpdatedAt = 20;
*/
public com.google.protobuf.TimestampOrBuilder getLastUpdatedAtOrBuilder() {
if (lastUpdatedAtBuilder_ != null) {
return lastUpdatedAtBuilder_.getMessageOrBuilder();
} else {
return lastUpdatedAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdatedAt_;
}
}
/**
*
* Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
*
*
* .google.protobuf.Timestamp lastUpdatedAt = 20;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getLastUpdatedAtFieldBuilder() {
if (lastUpdatedAtBuilder_ == null) {
lastUpdatedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getLastUpdatedAt(),
getParentForChildren(),
isClean());
lastUpdatedAt_ = null;
}
return lastUpdatedAtBuilder_;
}
@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:io.Metadata)
}
// @@protoc_insertion_point(class_scope:io.Metadata)
private static final com.passkit.grpc.MetricsOuterClass.Metadata DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.MetricsOuterClass.Metadata();
}
public static com.passkit.grpc.MetricsOuterClass.Metadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Metadata parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Metadata(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.MetricsOuterClass.Metadata getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_Metrics_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_Metrics_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_UTM_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_UTM_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_MetaLocation_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_MetaLocation_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_Metadata_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_Metadata_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\027io/common/metrics.proto\022\002io\032\037google/pr" +
"otobuf/timestamp.proto\032\032io/common/attrib" +
"utes.proto\"\253\002\n\007Metrics\022\017\n\007created\030\001 \001(\004\022" +
"\033\n\023appleWalletInstalls\030\002 \001(\004\022\031\n\021googlePa" +
"yInstalls\030\003 \001(\004\022\034\n\024otherAndroidInstalls\030" +
"\004 \001(\004\022\035\n\025appleWalletUninstalls\030\013 \001(\004\022\033\n\023" +
"googlePayUninstalls\030\014 \001(\004\022\036\n\026otherAndroi" +
"dUninstalls\030\r \001(\004\022\025\n\rinvalidations\030\024 \001(\004" +
"J\004\010\005\020\006J\004\010\006\020\007J\004\010\007\020\010J\004\010\010\020\tJ\004\010\t\020\nJ\004\010\n\020\013J\004\010\016" +
"\020\017J\004\010\017\020\020J\004\010\020\020\021J\004\010\021\020\022J\004\010\022\020\023J\004\010\023\020\024\"R\n\003UTM\022" +
"\016\n\006source\030\001 \001(\t\022\016\n\006medium\030\002 \001(\t\022\014\n\004name\030" +
"\003 \001(\t\022\014\n\004term\030\004 \001(\t\022\017\n\007content\030\005 \001(\t\"a\n\014" +
"MetaLocation\022\017\n\007country\030\001 \001(\t\022\014\n\004city\030\002 " +
"\001(\t\022\r\n\005state\030\003 \001(\t\022\020\n\010latitude\030\004 \001(\001\022\021\n\t" +
"longitude\030\005 \001(\001\"\253\006\n\010Metadata\022\032\n\006status\030\001" +
" \001(\0162\n.io.Status\022,\n\017lifecycleEvents\030\002 \003(" +
"\0162\023.io.LifecycleEvents\022\024\n\003utm\030\003 \001(\0132\007.io" +
".UTM\022\r\n\005altId\030\004 \001(\t\022\026\n\016issueIpAddress\030\005 " +
"\001(\t\022\030\n\020installIpAddress\030\006 \001(\t\022(\n\016renderL" +
"ocation\030\007 \001(\0132\020.io.MetaLocation\022\027\n\017rende" +
"rIpAddress\030\010 \001(\t\022\030\n\020installUserAgent\030\t \001" +
"(\t\022\027\n\017renderUserAgent\030\n \001(\t\0225\n\027installDe" +
"viceAttributes\030\013 \003(\0162\024.io.DeviceAttribut" +
"es\0224\n\026renderDeviceAttributes\030\014 \003(\0162\024.io." +
"DeviceAttributes\022+\n\007issueAt\030\r \001(\0132\032.goog" +
"le.protobuf.Timestamp\022.\n\nrenderedAt\030\016 \001(" +
"\0132\032.google.protobuf.Timestamp\0224\n\020firstIn" +
"stalledAt\030\017 \001(\0132\032.google.protobuf.Timest" +
"amp\0223\n\017lastInstalledAt\030\020 \001(\0132\032.google.pr" +
"otobuf.Timestamp\0226\n\022firstUninstalledAt\030\021" +
" \001(\0132\032.google.protobuf.Timestamp\0225\n\021last" +
"UninstalledAt\030\022 \001(\0132\032.google.protobuf.Ti" +
"mestamp\0221\n\rinvalidatedAt\030\023 \001(\0132\032.google." +
"protobuf.Timestamp\0221\n\rlastUpdatedAt\030\024 \001(" +
"\0132\032.google.protobuf.Timestamp*\271\002\n\017Lifecy" +
"cleEvents\022\r\n\tNO_STATUS\020\000\022\014\n\010RENDERED\020\001\022\023" +
"\n\017INSTALLED_APPLE\020\002\022\024\n\020INSTALLED_GOOGLE\020" +
"\004\022\033\n\027INSTALLED_ANDROID_OTHER\020\010\022\026\n\021UNINST" +
"ALLED_APPLE\020\200\010\022\027\n\022UNINSTALLED_GOOGLE\020\200\020\022" +
"\036\n\031UNINSTALLED_ANDROID_OTHER\020\200 \022\027\n\022APPLE" +
"_PASS_CREATED\020\200@\022\037\n\031GOOGLE_PAY_RECORD_CR" +
"EATED\020\200\200\001\022\032\n\024INVALIDATE_REQUESTED\020\200\200\020\022\032\n" +
"\024INVALIDATE_CONFIRMED\020\200\200 *Y\n\006Status\022\017\n\013P" +
"ASS_ISSUED\020\000\022\022\n\016PASS_INSTALLED\020\001\022\024\n\020PASS" +
"_UNINSTALLED\020\002\022\024\n\020PASS_INVALIDATED\020\003BG\n\020" +
"com.passkit.grpcZ$stash.passkit.com/io/m" +
"odel/sdk/go/io\252\002\014PassKit.Grpcb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.TimestampProto.getDescriptor(),
com.passkit.grpc.Attributes.getDescriptor(),
});
internal_static_io_Metrics_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_io_Metrics_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_Metrics_descriptor,
new java.lang.String[] { "Created", "AppleWalletInstalls", "GooglePayInstalls", "OtherAndroidInstalls", "AppleWalletUninstalls", "GooglePayUninstalls", "OtherAndroidUninstalls", "Invalidations", });
internal_static_io_UTM_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_io_UTM_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_UTM_descriptor,
new java.lang.String[] { "Source", "Medium", "Name", "Term", "Content", });
internal_static_io_MetaLocation_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_io_MetaLocation_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_MetaLocation_descriptor,
new java.lang.String[] { "Country", "City", "State", "Latitude", "Longitude", });
internal_static_io_Metadata_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_io_Metadata_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_Metadata_descriptor,
new java.lang.String[] { "Status", "LifecycleEvents", "Utm", "AltId", "IssueIpAddress", "InstallIpAddress", "RenderLocation", "RenderIpAddress", "InstallUserAgent", "RenderUserAgent", "InstallDeviceAttributes", "RenderDeviceAttributes", "IssueAt", "RenderedAt", "FirstInstalledAt", "LastInstalledAt", "FirstUninstalledAt", "LastUninstalledAt", "InvalidatedAt", "LastUpdatedAt", });
com.google.protobuf.TimestampProto.getDescriptor();
com.passkit.grpc.Attributes.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}