com.passkit.grpc.Tracking 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/tracking.proto
package com.passkit.grpc;
public final class Tracking {
private Tracking() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
*
* Standard Facebook Pixel events that we support
*
*
* Protobuf enum {@code io.FbPixelStandardEvent}
*/
public enum FbPixelStandardEvent
implements com.google.protobuf.ProtocolMessageEnum {
/**
* FBP_STANDARD_EVENT_DO_NOT_USE = 0;
*/
FBP_STANDARD_EVENT_DO_NOT_USE(0),
/**
*
* This is the default pixel tracking page visits.
*
*
* FBP_STANDARD_EVENT_PAGE_VIEW = 1;
*/
FBP_STANDARD_EVENT_PAGE_VIEW(1),
/**
*
* When a registration form is completed.
*
*
* FBP_STANDARD_EVENT_COMPLETE_REGISTRATION = 2;
*/
FBP_STANDARD_EVENT_COMPLETE_REGISTRATION(2),
/**
*
* When a sign up is completed.
*
*
* FBP_STANDARD_EVENT_LEAD = 3;
*/
FBP_STANDARD_EVENT_LEAD(3),
/**
*
* When a purchase is made or checkout flow is completed.
*
*
* FBP_STANDARD_EVENT_PURCHASE = 4;
*/
FBP_STANDARD_EVENT_PURCHASE(4),
/**
*
* When a person books an appointment to visit one of your locations.
*
*
* FBP_STANDARD_EVENT_SCHEDULE = 5;
*/
FBP_STANDARD_EVENT_SCHEDULE(5),
/**
*
* When a person starts a free trial of a product or service you offer.
*
*
* FBP_STANDARD_EVENT_START_TRIAL = 6;
*/
FBP_STANDARD_EVENT_START_TRIAL(6),
/**
*
* When a person applies for a product, service, or program you offer.
*
*
* FBP_STANDARD_EVENT_SUBMIT_APPLICATION = 7;
*/
FBP_STANDARD_EVENT_SUBMIT_APPLICATION(7),
/**
*
* When a person applies to a start a paid subscription for a product or service you offer.
*
*
* FBP_STANDARD_EVENT_SUBSCRIBE = 8;
*/
FBP_STANDARD_EVENT_SUBSCRIBE(8),
/**
*
* A visit to a web page you care about (for example, a product page or landing page). ViewContent tells you if someone visits a web page's URL, but not what they see or do on that page.
*
*
* FBP_STANDARD_EVENT_VIEW_CONTENT = 9;
*/
FBP_STANDARD_EVENT_VIEW_CONTENT(9),
UNRECOGNIZED(-1),
;
/**
* FBP_STANDARD_EVENT_DO_NOT_USE = 0;
*/
public static final int FBP_STANDARD_EVENT_DO_NOT_USE_VALUE = 0;
/**
*
* This is the default pixel tracking page visits.
*
*
* FBP_STANDARD_EVENT_PAGE_VIEW = 1;
*/
public static final int FBP_STANDARD_EVENT_PAGE_VIEW_VALUE = 1;
/**
*
* When a registration form is completed.
*
*
* FBP_STANDARD_EVENT_COMPLETE_REGISTRATION = 2;
*/
public static final int FBP_STANDARD_EVENT_COMPLETE_REGISTRATION_VALUE = 2;
/**
*
* When a sign up is completed.
*
*
* FBP_STANDARD_EVENT_LEAD = 3;
*/
public static final int FBP_STANDARD_EVENT_LEAD_VALUE = 3;
/**
*
* When a purchase is made or checkout flow is completed.
*
*
* FBP_STANDARD_EVENT_PURCHASE = 4;
*/
public static final int FBP_STANDARD_EVENT_PURCHASE_VALUE = 4;
/**
*
* When a person books an appointment to visit one of your locations.
*
*
* FBP_STANDARD_EVENT_SCHEDULE = 5;
*/
public static final int FBP_STANDARD_EVENT_SCHEDULE_VALUE = 5;
/**
*
* When a person starts a free trial of a product or service you offer.
*
*
* FBP_STANDARD_EVENT_START_TRIAL = 6;
*/
public static final int FBP_STANDARD_EVENT_START_TRIAL_VALUE = 6;
/**
*
* When a person applies for a product, service, or program you offer.
*
*
* FBP_STANDARD_EVENT_SUBMIT_APPLICATION = 7;
*/
public static final int FBP_STANDARD_EVENT_SUBMIT_APPLICATION_VALUE = 7;
/**
*
* When a person applies to a start a paid subscription for a product or service you offer.
*
*
* FBP_STANDARD_EVENT_SUBSCRIBE = 8;
*/
public static final int FBP_STANDARD_EVENT_SUBSCRIBE_VALUE = 8;
/**
*
* A visit to a web page you care about (for example, a product page or landing page). ViewContent tells you if someone visits a web page's URL, but not what they see or do on that page.
*
*
* FBP_STANDARD_EVENT_VIEW_CONTENT = 9;
*/
public static final int FBP_STANDARD_EVENT_VIEW_CONTENT_VALUE = 9;
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 FbPixelStandardEvent 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 FbPixelStandardEvent forNumber(int value) {
switch (value) {
case 0: return FBP_STANDARD_EVENT_DO_NOT_USE;
case 1: return FBP_STANDARD_EVENT_PAGE_VIEW;
case 2: return FBP_STANDARD_EVENT_COMPLETE_REGISTRATION;
case 3: return FBP_STANDARD_EVENT_LEAD;
case 4: return FBP_STANDARD_EVENT_PURCHASE;
case 5: return FBP_STANDARD_EVENT_SCHEDULE;
case 6: return FBP_STANDARD_EVENT_START_TRIAL;
case 7: return FBP_STANDARD_EVENT_SUBMIT_APPLICATION;
case 8: return FBP_STANDARD_EVENT_SUBSCRIBE;
case 9: return FBP_STANDARD_EVENT_VIEW_CONTENT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
FbPixelStandardEvent> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public FbPixelStandardEvent findValueByNumber(int number) {
return FbPixelStandardEvent.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.Tracking.getDescriptor().getEnumTypes().get(0);
}
private static final FbPixelStandardEvent[] VALUES = values();
public static FbPixelStandardEvent 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 FbPixelStandardEvent(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:io.FbPixelStandardEvent)
}
/**
* Protobuf enum {@code io.GoogleAnalyticsDataCollectionPageEvent}
*/
public enum GoogleAnalyticsDataCollectionPageEvent
implements com.google.protobuf.ProtocolMessageEnum {
/**
* GA_DC_EVENT_DO_NOT_USE = 0;
*/
GA_DC_EVENT_DO_NOT_USE(0),
/**
*
* This is the default GA even tracking page visits.
*
*
* GA_DC_EVENT_PAGE_VIEW = 1;
*/
GA_DC_EVENT_PAGE_VIEW(1),
/**
*
* When a user submits the data collection form.
*
*
* GA_DC_EVENT_SUBMIT_FORM = 2;
*/
GA_DC_EVENT_SUBMIT_FORM(2),
UNRECOGNIZED(-1),
;
/**
* GA_DC_EVENT_DO_NOT_USE = 0;
*/
public static final int GA_DC_EVENT_DO_NOT_USE_VALUE = 0;
/**
*
* This is the default GA even tracking page visits.
*
*
* GA_DC_EVENT_PAGE_VIEW = 1;
*/
public static final int GA_DC_EVENT_PAGE_VIEW_VALUE = 1;
/**
*
* When a user submits the data collection form.
*
*
* GA_DC_EVENT_SUBMIT_FORM = 2;
*/
public static final int GA_DC_EVENT_SUBMIT_FORM_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static GoogleAnalyticsDataCollectionPageEvent 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 GoogleAnalyticsDataCollectionPageEvent forNumber(int value) {
switch (value) {
case 0: return GA_DC_EVENT_DO_NOT_USE;
case 1: return GA_DC_EVENT_PAGE_VIEW;
case 2: return GA_DC_EVENT_SUBMIT_FORM;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
GoogleAnalyticsDataCollectionPageEvent> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public GoogleAnalyticsDataCollectionPageEvent findValueByNumber(int number) {
return GoogleAnalyticsDataCollectionPageEvent.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.Tracking.getDescriptor().getEnumTypes().get(1);
}
private static final GoogleAnalyticsDataCollectionPageEvent[] VALUES = values();
public static GoogleAnalyticsDataCollectionPageEvent 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 GoogleAnalyticsDataCollectionPageEvent(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:io.GoogleAnalyticsDataCollectionPageEvent)
}
/**
* Protobuf enum {@code io.GoogleAnalyticsPassRenderPageEvent}
*/
public enum GoogleAnalyticsPassRenderPageEvent
implements com.google.protobuf.ProtocolMessageEnum {
/**
* GA_PP_EVENT_DO_NOT_USE = 0;
*/
GA_PP_EVENT_DO_NOT_USE(0),
/**
*
* This is the default GA event tracking page visits.
*
*
* GA_PP_EVENT_PAGE_VIEW = 1;
*/
GA_PP_EVENT_PAGE_VIEW(1),
/**
*
* When a user clicks the Add to Apple Wallet button.
*
*
* GA_PP_EVENT_ADD_TO_APPLE_WALLET_CLICK = 2;
*/
GA_PP_EVENT_ADD_TO_APPLE_WALLET_CLICK(2),
/**
*
* When a user clicks the view pass in Apple Wallet button.
*
*
* GA_PP_EVENT_VIEW_PASS_IN_APPLE_WALLET_CLICK = 3;
*/
GA_PP_EVENT_VIEW_PASS_IN_APPLE_WALLET_CLICK(3),
/**
*
* When a user clicks the Save to Google Pay button.
*
*
* GA_PP_EVENT_SAVE_TO_GOOGLE_PAY_CLICK = 4;
*/
GA_PP_EVENT_SAVE_TO_GOOGLE_PAY_CLICK(4),
/**
*
* When a user switches the language.
*
*
* GA_PP_EVENT_CHANGE_LANGUAGE = 5;
*/
GA_PP_EVENT_CHANGE_LANGUAGE(5),
UNRECOGNIZED(-1),
;
/**
* GA_PP_EVENT_DO_NOT_USE = 0;
*/
public static final int GA_PP_EVENT_DO_NOT_USE_VALUE = 0;
/**
*
* This is the default GA event tracking page visits.
*
*
* GA_PP_EVENT_PAGE_VIEW = 1;
*/
public static final int GA_PP_EVENT_PAGE_VIEW_VALUE = 1;
/**
*
* When a user clicks the Add to Apple Wallet button.
*
*
* GA_PP_EVENT_ADD_TO_APPLE_WALLET_CLICK = 2;
*/
public static final int GA_PP_EVENT_ADD_TO_APPLE_WALLET_CLICK_VALUE = 2;
/**
*
* When a user clicks the view pass in Apple Wallet button.
*
*
* GA_PP_EVENT_VIEW_PASS_IN_APPLE_WALLET_CLICK = 3;
*/
public static final int GA_PP_EVENT_VIEW_PASS_IN_APPLE_WALLET_CLICK_VALUE = 3;
/**
*
* When a user clicks the Save to Google Pay button.
*
*
* GA_PP_EVENT_SAVE_TO_GOOGLE_PAY_CLICK = 4;
*/
public static final int GA_PP_EVENT_SAVE_TO_GOOGLE_PAY_CLICK_VALUE = 4;
/**
*
* When a user switches the language.
*
*
* GA_PP_EVENT_CHANGE_LANGUAGE = 5;
*/
public static final int GA_PP_EVENT_CHANGE_LANGUAGE_VALUE = 5;
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 GoogleAnalyticsPassRenderPageEvent 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 GoogleAnalyticsPassRenderPageEvent forNumber(int value) {
switch (value) {
case 0: return GA_PP_EVENT_DO_NOT_USE;
case 1: return GA_PP_EVENT_PAGE_VIEW;
case 2: return GA_PP_EVENT_ADD_TO_APPLE_WALLET_CLICK;
case 3: return GA_PP_EVENT_VIEW_PASS_IN_APPLE_WALLET_CLICK;
case 4: return GA_PP_EVENT_SAVE_TO_GOOGLE_PAY_CLICK;
case 5: return GA_PP_EVENT_CHANGE_LANGUAGE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
GoogleAnalyticsPassRenderPageEvent> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public GoogleAnalyticsPassRenderPageEvent findValueByNumber(int number) {
return GoogleAnalyticsPassRenderPageEvent.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.Tracking.getDescriptor().getEnumTypes().get(2);
}
private static final GoogleAnalyticsPassRenderPageEvent[] VALUES = values();
public static GoogleAnalyticsPassRenderPageEvent 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 GoogleAnalyticsPassRenderPageEvent(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:io.GoogleAnalyticsPassRenderPageEvent)
}
/**
* Protobuf enum {@code io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent}
*/
public enum GoogleAnalyticsCustomerInitiatedRedemptionPageEvent
implements com.google.protobuf.ProtocolMessageEnum {
/**
* GA_CIRP_EVENT_DO_NOT_USE = 0;
*/
GA_CIRP_EVENT_DO_NOT_USE(0),
/**
*
* This is the default GA event tracking page visits.
*
*
* GA_CIRP_EVENT_PAGE_VIEW = 1;
*/
GA_CIRP_EVENT_PAGE_VIEW(1),
/**
*
* When a user redeems the coupon.
*
*
* GA_CIRP_EVENT_REDEEM = 2;
*/
GA_CIRP_EVENT_REDEEM(2),
UNRECOGNIZED(-1),
;
/**
* GA_CIRP_EVENT_DO_NOT_USE = 0;
*/
public static final int GA_CIRP_EVENT_DO_NOT_USE_VALUE = 0;
/**
*
* This is the default GA event tracking page visits.
*
*
* GA_CIRP_EVENT_PAGE_VIEW = 1;
*/
public static final int GA_CIRP_EVENT_PAGE_VIEW_VALUE = 1;
/**
*
* When a user redeems the coupon.
*
*
* GA_CIRP_EVENT_REDEEM = 2;
*/
public static final int GA_CIRP_EVENT_REDEEM_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static GoogleAnalyticsCustomerInitiatedRedemptionPageEvent 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 GoogleAnalyticsCustomerInitiatedRedemptionPageEvent forNumber(int value) {
switch (value) {
case 0: return GA_CIRP_EVENT_DO_NOT_USE;
case 1: return GA_CIRP_EVENT_PAGE_VIEW;
case 2: return GA_CIRP_EVENT_REDEEM;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
GoogleAnalyticsCustomerInitiatedRedemptionPageEvent> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public GoogleAnalyticsCustomerInitiatedRedemptionPageEvent findValueByNumber(int number) {
return GoogleAnalyticsCustomerInitiatedRedemptionPageEvent.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.Tracking.getDescriptor().getEnumTypes().get(3);
}
private static final GoogleAnalyticsCustomerInitiatedRedemptionPageEvent[] VALUES = values();
public static GoogleAnalyticsCustomerInitiatedRedemptionPageEvent 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 GoogleAnalyticsCustomerInitiatedRedemptionPageEvent(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent)
}
public interface FacebookPixelSettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.FacebookPixelSettings)
com.google.protobuf.MessageOrBuilder {
/**
*
* The Facebook Pixel ID of the account.
*
*
* string pixelId = 1;
* @return The pixelId.
*/
java.lang.String getPixelId();
/**
*
* The Facebook Pixel ID of the account.
*
*
* string pixelId = 1;
* @return The bytes for pixelId.
*/
com.google.protobuf.ByteString
getPixelIdBytes();
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
java.util.List
getDataCollectionPageStandardEventsList();
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
com.passkit.grpc.Tracking.StandardEvent getDataCollectionPageStandardEvents(int index);
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
int getDataCollectionPageStandardEventsCount();
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
java.util.List extends com.passkit.grpc.Tracking.StandardEventOrBuilder>
getDataCollectionPageStandardEventsOrBuilderList();
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
com.passkit.grpc.Tracking.StandardEventOrBuilder getDataCollectionPageStandardEventsOrBuilder(
int index);
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
java.util.List
getDataCollectionPageCustomEventsList();
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
com.passkit.grpc.Tracking.CustomEvent getDataCollectionPageCustomEvents(int index);
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
int getDataCollectionPageCustomEventsCount();
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
java.util.List extends com.passkit.grpc.Tracking.CustomEventOrBuilder>
getDataCollectionPageCustomEventsOrBuilderList();
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
com.passkit.grpc.Tracking.CustomEventOrBuilder getDataCollectionPageCustomEventsOrBuilder(
int index);
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
java.util.List
getPassPageStandardEventsList();
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
com.passkit.grpc.Tracking.StandardEvent getPassPageStandardEvents(int index);
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
int getPassPageStandardEventsCount();
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
java.util.List extends com.passkit.grpc.Tracking.StandardEventOrBuilder>
getPassPageStandardEventsOrBuilderList();
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
com.passkit.grpc.Tracking.StandardEventOrBuilder getPassPageStandardEventsOrBuilder(
int index);
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
java.util.List
getPassPageCustomEventsList();
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
com.passkit.grpc.Tracking.CustomEvent getPassPageCustomEvents(int index);
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
int getPassPageCustomEventsCount();
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
java.util.List extends com.passkit.grpc.Tracking.CustomEventOrBuilder>
getPassPageCustomEventsOrBuilderList();
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
com.passkit.grpc.Tracking.CustomEventOrBuilder getPassPageCustomEventsOrBuilder(
int index);
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
java.util.List
getCustomerInitiatedRedemptionPageStandardEventsList();
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
com.passkit.grpc.Tracking.StandardEvent getCustomerInitiatedRedemptionPageStandardEvents(int index);
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
int getCustomerInitiatedRedemptionPageStandardEventsCount();
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
java.util.List extends com.passkit.grpc.Tracking.StandardEventOrBuilder>
getCustomerInitiatedRedemptionPageStandardEventsOrBuilderList();
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
com.passkit.grpc.Tracking.StandardEventOrBuilder getCustomerInitiatedRedemptionPageStandardEventsOrBuilder(
int index);
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
java.util.List
getCustomerInitiatedRedemptionPageCustomEventsList();
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
com.passkit.grpc.Tracking.CustomEvent getCustomerInitiatedRedemptionPageCustomEvents(int index);
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
int getCustomerInitiatedRedemptionPageCustomEventsCount();
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
java.util.List extends com.passkit.grpc.Tracking.CustomEventOrBuilder>
getCustomerInitiatedRedemptionPageCustomEventsOrBuilderList();
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
com.passkit.grpc.Tracking.CustomEventOrBuilder getCustomerInitiatedRedemptionPageCustomEventsOrBuilder(
int index);
}
/**
* Protobuf type {@code io.FacebookPixelSettings}
*/
public static final class FacebookPixelSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.FacebookPixelSettings)
FacebookPixelSettingsOrBuilder {
private static final long serialVersionUID = 0L;
// Use FacebookPixelSettings.newBuilder() to construct.
private FacebookPixelSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FacebookPixelSettings() {
pixelId_ = "";
dataCollectionPageStandardEvents_ = java.util.Collections.emptyList();
dataCollectionPageCustomEvents_ = java.util.Collections.emptyList();
passPageStandardEvents_ = java.util.Collections.emptyList();
passPageCustomEvents_ = java.util.Collections.emptyList();
customerInitiatedRedemptionPageStandardEvents_ = java.util.Collections.emptyList();
customerInitiatedRedemptionPageCustomEvents_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FacebookPixelSettings();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FacebookPixelSettings(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
pixelId_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
dataCollectionPageStandardEvents_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
dataCollectionPageStandardEvents_.add(
input.readMessage(com.passkit.grpc.Tracking.StandardEvent.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
dataCollectionPageCustomEvents_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
dataCollectionPageCustomEvents_.add(
input.readMessage(com.passkit.grpc.Tracking.CustomEvent.parser(), extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
passPageStandardEvents_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
passPageStandardEvents_.add(
input.readMessage(com.passkit.grpc.Tracking.StandardEvent.parser(), extensionRegistry));
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
passPageCustomEvents_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
passPageCustomEvents_.add(
input.readMessage(com.passkit.grpc.Tracking.CustomEvent.parser(), extensionRegistry));
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000010) != 0)) {
customerInitiatedRedemptionPageStandardEvents_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
customerInitiatedRedemptionPageStandardEvents_.add(
input.readMessage(com.passkit.grpc.Tracking.StandardEvent.parser(), extensionRegistry));
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000020) != 0)) {
customerInitiatedRedemptionPageCustomEvents_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
customerInitiatedRedemptionPageCustomEvents_.add(
input.readMessage(com.passkit.grpc.Tracking.CustomEvent.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
dataCollectionPageStandardEvents_ = java.util.Collections.unmodifiableList(dataCollectionPageStandardEvents_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
dataCollectionPageCustomEvents_ = java.util.Collections.unmodifiableList(dataCollectionPageCustomEvents_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
passPageStandardEvents_ = java.util.Collections.unmodifiableList(passPageStandardEvents_);
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
passPageCustomEvents_ = java.util.Collections.unmodifiableList(passPageCustomEvents_);
}
if (((mutable_bitField0_ & 0x00000010) != 0)) {
customerInitiatedRedemptionPageStandardEvents_ = java.util.Collections.unmodifiableList(customerInitiatedRedemptionPageStandardEvents_);
}
if (((mutable_bitField0_ & 0x00000020) != 0)) {
customerInitiatedRedemptionPageCustomEvents_ = java.util.Collections.unmodifiableList(customerInitiatedRedemptionPageCustomEvents_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Tracking.internal_static_io_FacebookPixelSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Tracking.internal_static_io_FacebookPixelSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Tracking.FacebookPixelSettings.class, com.passkit.grpc.Tracking.FacebookPixelSettings.Builder.class);
}
public static final int PIXELID_FIELD_NUMBER = 1;
private volatile java.lang.Object pixelId_;
/**
*
* The Facebook Pixel ID of the account.
*
*
* string pixelId = 1;
* @return The pixelId.
*/
@java.lang.Override
public java.lang.String getPixelId() {
java.lang.Object ref = pixelId_;
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();
pixelId_ = s;
return s;
}
}
/**
*
* The Facebook Pixel ID of the account.
*
*
* string pixelId = 1;
* @return The bytes for pixelId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPixelIdBytes() {
java.lang.Object ref = pixelId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pixelId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATACOLLECTIONPAGESTANDARDEVENTS_FIELD_NUMBER = 2;
private java.util.List dataCollectionPageStandardEvents_;
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
@java.lang.Override
public java.util.List getDataCollectionPageStandardEventsList() {
return dataCollectionPageStandardEvents_;
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
@java.lang.Override
public java.util.List extends com.passkit.grpc.Tracking.StandardEventOrBuilder>
getDataCollectionPageStandardEventsOrBuilderList() {
return dataCollectionPageStandardEvents_;
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
@java.lang.Override
public int getDataCollectionPageStandardEventsCount() {
return dataCollectionPageStandardEvents_.size();
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
@java.lang.Override
public com.passkit.grpc.Tracking.StandardEvent getDataCollectionPageStandardEvents(int index) {
return dataCollectionPageStandardEvents_.get(index);
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
@java.lang.Override
public com.passkit.grpc.Tracking.StandardEventOrBuilder getDataCollectionPageStandardEventsOrBuilder(
int index) {
return dataCollectionPageStandardEvents_.get(index);
}
public static final int DATACOLLECTIONPAGECUSTOMEVENTS_FIELD_NUMBER = 3;
private java.util.List dataCollectionPageCustomEvents_;
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
@java.lang.Override
public java.util.List getDataCollectionPageCustomEventsList() {
return dataCollectionPageCustomEvents_;
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
@java.lang.Override
public java.util.List extends com.passkit.grpc.Tracking.CustomEventOrBuilder>
getDataCollectionPageCustomEventsOrBuilderList() {
return dataCollectionPageCustomEvents_;
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
@java.lang.Override
public int getDataCollectionPageCustomEventsCount() {
return dataCollectionPageCustomEvents_.size();
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
@java.lang.Override
public com.passkit.grpc.Tracking.CustomEvent getDataCollectionPageCustomEvents(int index) {
return dataCollectionPageCustomEvents_.get(index);
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
@java.lang.Override
public com.passkit.grpc.Tracking.CustomEventOrBuilder getDataCollectionPageCustomEventsOrBuilder(
int index) {
return dataCollectionPageCustomEvents_.get(index);
}
public static final int PASSPAGESTANDARDEVENTS_FIELD_NUMBER = 4;
private java.util.List passPageStandardEvents_;
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
@java.lang.Override
public java.util.List getPassPageStandardEventsList() {
return passPageStandardEvents_;
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
@java.lang.Override
public java.util.List extends com.passkit.grpc.Tracking.StandardEventOrBuilder>
getPassPageStandardEventsOrBuilderList() {
return passPageStandardEvents_;
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
@java.lang.Override
public int getPassPageStandardEventsCount() {
return passPageStandardEvents_.size();
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
@java.lang.Override
public com.passkit.grpc.Tracking.StandardEvent getPassPageStandardEvents(int index) {
return passPageStandardEvents_.get(index);
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
@java.lang.Override
public com.passkit.grpc.Tracking.StandardEventOrBuilder getPassPageStandardEventsOrBuilder(
int index) {
return passPageStandardEvents_.get(index);
}
public static final int PASSPAGECUSTOMEVENTS_FIELD_NUMBER = 5;
private java.util.List passPageCustomEvents_;
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
@java.lang.Override
public java.util.List getPassPageCustomEventsList() {
return passPageCustomEvents_;
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
@java.lang.Override
public java.util.List extends com.passkit.grpc.Tracking.CustomEventOrBuilder>
getPassPageCustomEventsOrBuilderList() {
return passPageCustomEvents_;
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
@java.lang.Override
public int getPassPageCustomEventsCount() {
return passPageCustomEvents_.size();
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
@java.lang.Override
public com.passkit.grpc.Tracking.CustomEvent getPassPageCustomEvents(int index) {
return passPageCustomEvents_.get(index);
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
@java.lang.Override
public com.passkit.grpc.Tracking.CustomEventOrBuilder getPassPageCustomEventsOrBuilder(
int index) {
return passPageCustomEvents_.get(index);
}
public static final int CUSTOMERINITIATEDREDEMPTIONPAGESTANDARDEVENTS_FIELD_NUMBER = 6;
private java.util.List customerInitiatedRedemptionPageStandardEvents_;
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
@java.lang.Override
public java.util.List getCustomerInitiatedRedemptionPageStandardEventsList() {
return customerInitiatedRedemptionPageStandardEvents_;
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
@java.lang.Override
public java.util.List extends com.passkit.grpc.Tracking.StandardEventOrBuilder>
getCustomerInitiatedRedemptionPageStandardEventsOrBuilderList() {
return customerInitiatedRedemptionPageStandardEvents_;
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
@java.lang.Override
public int getCustomerInitiatedRedemptionPageStandardEventsCount() {
return customerInitiatedRedemptionPageStandardEvents_.size();
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
@java.lang.Override
public com.passkit.grpc.Tracking.StandardEvent getCustomerInitiatedRedemptionPageStandardEvents(int index) {
return customerInitiatedRedemptionPageStandardEvents_.get(index);
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
@java.lang.Override
public com.passkit.grpc.Tracking.StandardEventOrBuilder getCustomerInitiatedRedemptionPageStandardEventsOrBuilder(
int index) {
return customerInitiatedRedemptionPageStandardEvents_.get(index);
}
public static final int CUSTOMERINITIATEDREDEMPTIONPAGECUSTOMEVENTS_FIELD_NUMBER = 7;
private java.util.List customerInitiatedRedemptionPageCustomEvents_;
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
@java.lang.Override
public java.util.List getCustomerInitiatedRedemptionPageCustomEventsList() {
return customerInitiatedRedemptionPageCustomEvents_;
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
@java.lang.Override
public java.util.List extends com.passkit.grpc.Tracking.CustomEventOrBuilder>
getCustomerInitiatedRedemptionPageCustomEventsOrBuilderList() {
return customerInitiatedRedemptionPageCustomEvents_;
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
@java.lang.Override
public int getCustomerInitiatedRedemptionPageCustomEventsCount() {
return customerInitiatedRedemptionPageCustomEvents_.size();
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
@java.lang.Override
public com.passkit.grpc.Tracking.CustomEvent getCustomerInitiatedRedemptionPageCustomEvents(int index) {
return customerInitiatedRedemptionPageCustomEvents_.get(index);
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
@java.lang.Override
public com.passkit.grpc.Tracking.CustomEventOrBuilder getCustomerInitiatedRedemptionPageCustomEventsOrBuilder(
int index) {
return customerInitiatedRedemptionPageCustomEvents_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getPixelIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pixelId_);
}
for (int i = 0; i < dataCollectionPageStandardEvents_.size(); i++) {
output.writeMessage(2, dataCollectionPageStandardEvents_.get(i));
}
for (int i = 0; i < dataCollectionPageCustomEvents_.size(); i++) {
output.writeMessage(3, dataCollectionPageCustomEvents_.get(i));
}
for (int i = 0; i < passPageStandardEvents_.size(); i++) {
output.writeMessage(4, passPageStandardEvents_.get(i));
}
for (int i = 0; i < passPageCustomEvents_.size(); i++) {
output.writeMessage(5, passPageCustomEvents_.get(i));
}
for (int i = 0; i < customerInitiatedRedemptionPageStandardEvents_.size(); i++) {
output.writeMessage(6, customerInitiatedRedemptionPageStandardEvents_.get(i));
}
for (int i = 0; i < customerInitiatedRedemptionPageCustomEvents_.size(); i++) {
output.writeMessage(7, customerInitiatedRedemptionPageCustomEvents_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getPixelIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pixelId_);
}
for (int i = 0; i < dataCollectionPageStandardEvents_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, dataCollectionPageStandardEvents_.get(i));
}
for (int i = 0; i < dataCollectionPageCustomEvents_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, dataCollectionPageCustomEvents_.get(i));
}
for (int i = 0; i < passPageStandardEvents_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, passPageStandardEvents_.get(i));
}
for (int i = 0; i < passPageCustomEvents_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, passPageCustomEvents_.get(i));
}
for (int i = 0; i < customerInitiatedRedemptionPageStandardEvents_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, customerInitiatedRedemptionPageStandardEvents_.get(i));
}
for (int i = 0; i < customerInitiatedRedemptionPageCustomEvents_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, customerInitiatedRedemptionPageCustomEvents_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.passkit.grpc.Tracking.FacebookPixelSettings)) {
return super.equals(obj);
}
com.passkit.grpc.Tracking.FacebookPixelSettings other = (com.passkit.grpc.Tracking.FacebookPixelSettings) obj;
if (!getPixelId()
.equals(other.getPixelId())) return false;
if (!getDataCollectionPageStandardEventsList()
.equals(other.getDataCollectionPageStandardEventsList())) return false;
if (!getDataCollectionPageCustomEventsList()
.equals(other.getDataCollectionPageCustomEventsList())) return false;
if (!getPassPageStandardEventsList()
.equals(other.getPassPageStandardEventsList())) return false;
if (!getPassPageCustomEventsList()
.equals(other.getPassPageCustomEventsList())) return false;
if (!getCustomerInitiatedRedemptionPageStandardEventsList()
.equals(other.getCustomerInitiatedRedemptionPageStandardEventsList())) return false;
if (!getCustomerInitiatedRedemptionPageCustomEventsList()
.equals(other.getCustomerInitiatedRedemptionPageCustomEventsList())) 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) + PIXELID_FIELD_NUMBER;
hash = (53 * hash) + getPixelId().hashCode();
if (getDataCollectionPageStandardEventsCount() > 0) {
hash = (37 * hash) + DATACOLLECTIONPAGESTANDARDEVENTS_FIELD_NUMBER;
hash = (53 * hash) + getDataCollectionPageStandardEventsList().hashCode();
}
if (getDataCollectionPageCustomEventsCount() > 0) {
hash = (37 * hash) + DATACOLLECTIONPAGECUSTOMEVENTS_FIELD_NUMBER;
hash = (53 * hash) + getDataCollectionPageCustomEventsList().hashCode();
}
if (getPassPageStandardEventsCount() > 0) {
hash = (37 * hash) + PASSPAGESTANDARDEVENTS_FIELD_NUMBER;
hash = (53 * hash) + getPassPageStandardEventsList().hashCode();
}
if (getPassPageCustomEventsCount() > 0) {
hash = (37 * hash) + PASSPAGECUSTOMEVENTS_FIELD_NUMBER;
hash = (53 * hash) + getPassPageCustomEventsList().hashCode();
}
if (getCustomerInitiatedRedemptionPageStandardEventsCount() > 0) {
hash = (37 * hash) + CUSTOMERINITIATEDREDEMPTIONPAGESTANDARDEVENTS_FIELD_NUMBER;
hash = (53 * hash) + getCustomerInitiatedRedemptionPageStandardEventsList().hashCode();
}
if (getCustomerInitiatedRedemptionPageCustomEventsCount() > 0) {
hash = (37 * hash) + CUSTOMERINITIATEDREDEMPTIONPAGECUSTOMEVENTS_FIELD_NUMBER;
hash = (53 * hash) + getCustomerInitiatedRedemptionPageCustomEventsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.Tracking.FacebookPixelSettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Tracking.FacebookPixelSettings 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.Tracking.FacebookPixelSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Tracking.FacebookPixelSettings 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.Tracking.FacebookPixelSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Tracking.FacebookPixelSettings parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Tracking.FacebookPixelSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Tracking.FacebookPixelSettings 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.Tracking.FacebookPixelSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.Tracking.FacebookPixelSettings 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.Tracking.FacebookPixelSettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Tracking.FacebookPixelSettings 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.Tracking.FacebookPixelSettings 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.FacebookPixelSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.FacebookPixelSettings)
com.passkit.grpc.Tracking.FacebookPixelSettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Tracking.internal_static_io_FacebookPixelSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Tracking.internal_static_io_FacebookPixelSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Tracking.FacebookPixelSettings.class, com.passkit.grpc.Tracking.FacebookPixelSettings.Builder.class);
}
// Construct using com.passkit.grpc.Tracking.FacebookPixelSettings.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDataCollectionPageStandardEventsFieldBuilder();
getDataCollectionPageCustomEventsFieldBuilder();
getPassPageStandardEventsFieldBuilder();
getPassPageCustomEventsFieldBuilder();
getCustomerInitiatedRedemptionPageStandardEventsFieldBuilder();
getCustomerInitiatedRedemptionPageCustomEventsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
pixelId_ = "";
if (dataCollectionPageStandardEventsBuilder_ == null) {
dataCollectionPageStandardEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
dataCollectionPageStandardEventsBuilder_.clear();
}
if (dataCollectionPageCustomEventsBuilder_ == null) {
dataCollectionPageCustomEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
dataCollectionPageCustomEventsBuilder_.clear();
}
if (passPageStandardEventsBuilder_ == null) {
passPageStandardEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
passPageStandardEventsBuilder_.clear();
}
if (passPageCustomEventsBuilder_ == null) {
passPageCustomEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
passPageCustomEventsBuilder_.clear();
}
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
customerInitiatedRedemptionPageStandardEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
customerInitiatedRedemptionPageStandardEventsBuilder_.clear();
}
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
customerInitiatedRedemptionPageCustomEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
customerInitiatedRedemptionPageCustomEventsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.Tracking.internal_static_io_FacebookPixelSettings_descriptor;
}
@java.lang.Override
public com.passkit.grpc.Tracking.FacebookPixelSettings getDefaultInstanceForType() {
return com.passkit.grpc.Tracking.FacebookPixelSettings.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.Tracking.FacebookPixelSettings build() {
com.passkit.grpc.Tracking.FacebookPixelSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.Tracking.FacebookPixelSettings buildPartial() {
com.passkit.grpc.Tracking.FacebookPixelSettings result = new com.passkit.grpc.Tracking.FacebookPixelSettings(this);
int from_bitField0_ = bitField0_;
result.pixelId_ = pixelId_;
if (dataCollectionPageStandardEventsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
dataCollectionPageStandardEvents_ = java.util.Collections.unmodifiableList(dataCollectionPageStandardEvents_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.dataCollectionPageStandardEvents_ = dataCollectionPageStandardEvents_;
} else {
result.dataCollectionPageStandardEvents_ = dataCollectionPageStandardEventsBuilder_.build();
}
if (dataCollectionPageCustomEventsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
dataCollectionPageCustomEvents_ = java.util.Collections.unmodifiableList(dataCollectionPageCustomEvents_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.dataCollectionPageCustomEvents_ = dataCollectionPageCustomEvents_;
} else {
result.dataCollectionPageCustomEvents_ = dataCollectionPageCustomEventsBuilder_.build();
}
if (passPageStandardEventsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
passPageStandardEvents_ = java.util.Collections.unmodifiableList(passPageStandardEvents_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.passPageStandardEvents_ = passPageStandardEvents_;
} else {
result.passPageStandardEvents_ = passPageStandardEventsBuilder_.build();
}
if (passPageCustomEventsBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
passPageCustomEvents_ = java.util.Collections.unmodifiableList(passPageCustomEvents_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.passPageCustomEvents_ = passPageCustomEvents_;
} else {
result.passPageCustomEvents_ = passPageCustomEventsBuilder_.build();
}
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
customerInitiatedRedemptionPageStandardEvents_ = java.util.Collections.unmodifiableList(customerInitiatedRedemptionPageStandardEvents_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.customerInitiatedRedemptionPageStandardEvents_ = customerInitiatedRedemptionPageStandardEvents_;
} else {
result.customerInitiatedRedemptionPageStandardEvents_ = customerInitiatedRedemptionPageStandardEventsBuilder_.build();
}
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0)) {
customerInitiatedRedemptionPageCustomEvents_ = java.util.Collections.unmodifiableList(customerInitiatedRedemptionPageCustomEvents_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.customerInitiatedRedemptionPageCustomEvents_ = customerInitiatedRedemptionPageCustomEvents_;
} else {
result.customerInitiatedRedemptionPageCustomEvents_ = customerInitiatedRedemptionPageCustomEventsBuilder_.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.Tracking.FacebookPixelSettings) {
return mergeFrom((com.passkit.grpc.Tracking.FacebookPixelSettings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.Tracking.FacebookPixelSettings other) {
if (other == com.passkit.grpc.Tracking.FacebookPixelSettings.getDefaultInstance()) return this;
if (!other.getPixelId().isEmpty()) {
pixelId_ = other.pixelId_;
onChanged();
}
if (dataCollectionPageStandardEventsBuilder_ == null) {
if (!other.dataCollectionPageStandardEvents_.isEmpty()) {
if (dataCollectionPageStandardEvents_.isEmpty()) {
dataCollectionPageStandardEvents_ = other.dataCollectionPageStandardEvents_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDataCollectionPageStandardEventsIsMutable();
dataCollectionPageStandardEvents_.addAll(other.dataCollectionPageStandardEvents_);
}
onChanged();
}
} else {
if (!other.dataCollectionPageStandardEvents_.isEmpty()) {
if (dataCollectionPageStandardEventsBuilder_.isEmpty()) {
dataCollectionPageStandardEventsBuilder_.dispose();
dataCollectionPageStandardEventsBuilder_ = null;
dataCollectionPageStandardEvents_ = other.dataCollectionPageStandardEvents_;
bitField0_ = (bitField0_ & ~0x00000001);
dataCollectionPageStandardEventsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDataCollectionPageStandardEventsFieldBuilder() : null;
} else {
dataCollectionPageStandardEventsBuilder_.addAllMessages(other.dataCollectionPageStandardEvents_);
}
}
}
if (dataCollectionPageCustomEventsBuilder_ == null) {
if (!other.dataCollectionPageCustomEvents_.isEmpty()) {
if (dataCollectionPageCustomEvents_.isEmpty()) {
dataCollectionPageCustomEvents_ = other.dataCollectionPageCustomEvents_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureDataCollectionPageCustomEventsIsMutable();
dataCollectionPageCustomEvents_.addAll(other.dataCollectionPageCustomEvents_);
}
onChanged();
}
} else {
if (!other.dataCollectionPageCustomEvents_.isEmpty()) {
if (dataCollectionPageCustomEventsBuilder_.isEmpty()) {
dataCollectionPageCustomEventsBuilder_.dispose();
dataCollectionPageCustomEventsBuilder_ = null;
dataCollectionPageCustomEvents_ = other.dataCollectionPageCustomEvents_;
bitField0_ = (bitField0_ & ~0x00000002);
dataCollectionPageCustomEventsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDataCollectionPageCustomEventsFieldBuilder() : null;
} else {
dataCollectionPageCustomEventsBuilder_.addAllMessages(other.dataCollectionPageCustomEvents_);
}
}
}
if (passPageStandardEventsBuilder_ == null) {
if (!other.passPageStandardEvents_.isEmpty()) {
if (passPageStandardEvents_.isEmpty()) {
passPageStandardEvents_ = other.passPageStandardEvents_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensurePassPageStandardEventsIsMutable();
passPageStandardEvents_.addAll(other.passPageStandardEvents_);
}
onChanged();
}
} else {
if (!other.passPageStandardEvents_.isEmpty()) {
if (passPageStandardEventsBuilder_.isEmpty()) {
passPageStandardEventsBuilder_.dispose();
passPageStandardEventsBuilder_ = null;
passPageStandardEvents_ = other.passPageStandardEvents_;
bitField0_ = (bitField0_ & ~0x00000004);
passPageStandardEventsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPassPageStandardEventsFieldBuilder() : null;
} else {
passPageStandardEventsBuilder_.addAllMessages(other.passPageStandardEvents_);
}
}
}
if (passPageCustomEventsBuilder_ == null) {
if (!other.passPageCustomEvents_.isEmpty()) {
if (passPageCustomEvents_.isEmpty()) {
passPageCustomEvents_ = other.passPageCustomEvents_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensurePassPageCustomEventsIsMutable();
passPageCustomEvents_.addAll(other.passPageCustomEvents_);
}
onChanged();
}
} else {
if (!other.passPageCustomEvents_.isEmpty()) {
if (passPageCustomEventsBuilder_.isEmpty()) {
passPageCustomEventsBuilder_.dispose();
passPageCustomEventsBuilder_ = null;
passPageCustomEvents_ = other.passPageCustomEvents_;
bitField0_ = (bitField0_ & ~0x00000008);
passPageCustomEventsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPassPageCustomEventsFieldBuilder() : null;
} else {
passPageCustomEventsBuilder_.addAllMessages(other.passPageCustomEvents_);
}
}
}
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
if (!other.customerInitiatedRedemptionPageStandardEvents_.isEmpty()) {
if (customerInitiatedRedemptionPageStandardEvents_.isEmpty()) {
customerInitiatedRedemptionPageStandardEvents_ = other.customerInitiatedRedemptionPageStandardEvents_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureCustomerInitiatedRedemptionPageStandardEventsIsMutable();
customerInitiatedRedemptionPageStandardEvents_.addAll(other.customerInitiatedRedemptionPageStandardEvents_);
}
onChanged();
}
} else {
if (!other.customerInitiatedRedemptionPageStandardEvents_.isEmpty()) {
if (customerInitiatedRedemptionPageStandardEventsBuilder_.isEmpty()) {
customerInitiatedRedemptionPageStandardEventsBuilder_.dispose();
customerInitiatedRedemptionPageStandardEventsBuilder_ = null;
customerInitiatedRedemptionPageStandardEvents_ = other.customerInitiatedRedemptionPageStandardEvents_;
bitField0_ = (bitField0_ & ~0x00000010);
customerInitiatedRedemptionPageStandardEventsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getCustomerInitiatedRedemptionPageStandardEventsFieldBuilder() : null;
} else {
customerInitiatedRedemptionPageStandardEventsBuilder_.addAllMessages(other.customerInitiatedRedemptionPageStandardEvents_);
}
}
}
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
if (!other.customerInitiatedRedemptionPageCustomEvents_.isEmpty()) {
if (customerInitiatedRedemptionPageCustomEvents_.isEmpty()) {
customerInitiatedRedemptionPageCustomEvents_ = other.customerInitiatedRedemptionPageCustomEvents_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureCustomerInitiatedRedemptionPageCustomEventsIsMutable();
customerInitiatedRedemptionPageCustomEvents_.addAll(other.customerInitiatedRedemptionPageCustomEvents_);
}
onChanged();
}
} else {
if (!other.customerInitiatedRedemptionPageCustomEvents_.isEmpty()) {
if (customerInitiatedRedemptionPageCustomEventsBuilder_.isEmpty()) {
customerInitiatedRedemptionPageCustomEventsBuilder_.dispose();
customerInitiatedRedemptionPageCustomEventsBuilder_ = null;
customerInitiatedRedemptionPageCustomEvents_ = other.customerInitiatedRedemptionPageCustomEvents_;
bitField0_ = (bitField0_ & ~0x00000020);
customerInitiatedRedemptionPageCustomEventsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getCustomerInitiatedRedemptionPageCustomEventsFieldBuilder() : null;
} else {
customerInitiatedRedemptionPageCustomEventsBuilder_.addAllMessages(other.customerInitiatedRedemptionPageCustomEvents_);
}
}
}
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.Tracking.FacebookPixelSettings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.Tracking.FacebookPixelSettings) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object pixelId_ = "";
/**
*
* The Facebook Pixel ID of the account.
*
*
* string pixelId = 1;
* @return The pixelId.
*/
public java.lang.String getPixelId() {
java.lang.Object ref = pixelId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pixelId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The Facebook Pixel ID of the account.
*
*
* string pixelId = 1;
* @return The bytes for pixelId.
*/
public com.google.protobuf.ByteString
getPixelIdBytes() {
java.lang.Object ref = pixelId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pixelId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The Facebook Pixel ID of the account.
*
*
* string pixelId = 1;
* @param value The pixelId to set.
* @return This builder for chaining.
*/
public Builder setPixelId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
pixelId_ = value;
onChanged();
return this;
}
/**
*
* The Facebook Pixel ID of the account.
*
*
* string pixelId = 1;
* @return This builder for chaining.
*/
public Builder clearPixelId() {
pixelId_ = getDefaultInstance().getPixelId();
onChanged();
return this;
}
/**
*
* The Facebook Pixel ID of the account.
*
*
* string pixelId = 1;
* @param value The bytes for pixelId to set.
* @return This builder for chaining.
*/
public Builder setPixelIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
pixelId_ = value;
onChanged();
return this;
}
private java.util.List dataCollectionPageStandardEvents_ =
java.util.Collections.emptyList();
private void ensureDataCollectionPageStandardEventsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
dataCollectionPageStandardEvents_ = new java.util.ArrayList(dataCollectionPageStandardEvents_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.StandardEvent, com.passkit.grpc.Tracking.StandardEvent.Builder, com.passkit.grpc.Tracking.StandardEventOrBuilder> dataCollectionPageStandardEventsBuilder_;
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public java.util.List getDataCollectionPageStandardEventsList() {
if (dataCollectionPageStandardEventsBuilder_ == null) {
return java.util.Collections.unmodifiableList(dataCollectionPageStandardEvents_);
} else {
return dataCollectionPageStandardEventsBuilder_.getMessageList();
}
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public int getDataCollectionPageStandardEventsCount() {
if (dataCollectionPageStandardEventsBuilder_ == null) {
return dataCollectionPageStandardEvents_.size();
} else {
return dataCollectionPageStandardEventsBuilder_.getCount();
}
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public com.passkit.grpc.Tracking.StandardEvent getDataCollectionPageStandardEvents(int index) {
if (dataCollectionPageStandardEventsBuilder_ == null) {
return dataCollectionPageStandardEvents_.get(index);
} else {
return dataCollectionPageStandardEventsBuilder_.getMessage(index);
}
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public Builder setDataCollectionPageStandardEvents(
int index, com.passkit.grpc.Tracking.StandardEvent value) {
if (dataCollectionPageStandardEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataCollectionPageStandardEventsIsMutable();
dataCollectionPageStandardEvents_.set(index, value);
onChanged();
} else {
dataCollectionPageStandardEventsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public Builder setDataCollectionPageStandardEvents(
int index, com.passkit.grpc.Tracking.StandardEvent.Builder builderForValue) {
if (dataCollectionPageStandardEventsBuilder_ == null) {
ensureDataCollectionPageStandardEventsIsMutable();
dataCollectionPageStandardEvents_.set(index, builderForValue.build());
onChanged();
} else {
dataCollectionPageStandardEventsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public Builder addDataCollectionPageStandardEvents(com.passkit.grpc.Tracking.StandardEvent value) {
if (dataCollectionPageStandardEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataCollectionPageStandardEventsIsMutable();
dataCollectionPageStandardEvents_.add(value);
onChanged();
} else {
dataCollectionPageStandardEventsBuilder_.addMessage(value);
}
return this;
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public Builder addDataCollectionPageStandardEvents(
int index, com.passkit.grpc.Tracking.StandardEvent value) {
if (dataCollectionPageStandardEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataCollectionPageStandardEventsIsMutable();
dataCollectionPageStandardEvents_.add(index, value);
onChanged();
} else {
dataCollectionPageStandardEventsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public Builder addDataCollectionPageStandardEvents(
com.passkit.grpc.Tracking.StandardEvent.Builder builderForValue) {
if (dataCollectionPageStandardEventsBuilder_ == null) {
ensureDataCollectionPageStandardEventsIsMutable();
dataCollectionPageStandardEvents_.add(builderForValue.build());
onChanged();
} else {
dataCollectionPageStandardEventsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public Builder addDataCollectionPageStandardEvents(
int index, com.passkit.grpc.Tracking.StandardEvent.Builder builderForValue) {
if (dataCollectionPageStandardEventsBuilder_ == null) {
ensureDataCollectionPageStandardEventsIsMutable();
dataCollectionPageStandardEvents_.add(index, builderForValue.build());
onChanged();
} else {
dataCollectionPageStandardEventsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public Builder addAllDataCollectionPageStandardEvents(
java.lang.Iterable extends com.passkit.grpc.Tracking.StandardEvent> values) {
if (dataCollectionPageStandardEventsBuilder_ == null) {
ensureDataCollectionPageStandardEventsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dataCollectionPageStandardEvents_);
onChanged();
} else {
dataCollectionPageStandardEventsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public Builder clearDataCollectionPageStandardEvents() {
if (dataCollectionPageStandardEventsBuilder_ == null) {
dataCollectionPageStandardEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
dataCollectionPageStandardEventsBuilder_.clear();
}
return this;
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public Builder removeDataCollectionPageStandardEvents(int index) {
if (dataCollectionPageStandardEventsBuilder_ == null) {
ensureDataCollectionPageStandardEventsIsMutable();
dataCollectionPageStandardEvents_.remove(index);
onChanged();
} else {
dataCollectionPageStandardEventsBuilder_.remove(index);
}
return this;
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public com.passkit.grpc.Tracking.StandardEvent.Builder getDataCollectionPageStandardEventsBuilder(
int index) {
return getDataCollectionPageStandardEventsFieldBuilder().getBuilder(index);
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public com.passkit.grpc.Tracking.StandardEventOrBuilder getDataCollectionPageStandardEventsOrBuilder(
int index) {
if (dataCollectionPageStandardEventsBuilder_ == null) {
return dataCollectionPageStandardEvents_.get(index); } else {
return dataCollectionPageStandardEventsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public java.util.List extends com.passkit.grpc.Tracking.StandardEventOrBuilder>
getDataCollectionPageStandardEventsOrBuilderList() {
if (dataCollectionPageStandardEventsBuilder_ != null) {
return dataCollectionPageStandardEventsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(dataCollectionPageStandardEvents_);
}
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public com.passkit.grpc.Tracking.StandardEvent.Builder addDataCollectionPageStandardEventsBuilder() {
return getDataCollectionPageStandardEventsFieldBuilder().addBuilder(
com.passkit.grpc.Tracking.StandardEvent.getDefaultInstance());
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public com.passkit.grpc.Tracking.StandardEvent.Builder addDataCollectionPageStandardEventsBuilder(
int index) {
return getDataCollectionPageStandardEventsFieldBuilder().addBuilder(
index, com.passkit.grpc.Tracking.StandardEvent.getDefaultInstance());
}
/**
*
* List of standard events for the data collection page
*
*
* repeated .io.StandardEvent dataCollectionPageStandardEvents = 2;
*/
public java.util.List
getDataCollectionPageStandardEventsBuilderList() {
return getDataCollectionPageStandardEventsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.StandardEvent, com.passkit.grpc.Tracking.StandardEvent.Builder, com.passkit.grpc.Tracking.StandardEventOrBuilder>
getDataCollectionPageStandardEventsFieldBuilder() {
if (dataCollectionPageStandardEventsBuilder_ == null) {
dataCollectionPageStandardEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.StandardEvent, com.passkit.grpc.Tracking.StandardEvent.Builder, com.passkit.grpc.Tracking.StandardEventOrBuilder>(
dataCollectionPageStandardEvents_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
dataCollectionPageStandardEvents_ = null;
}
return dataCollectionPageStandardEventsBuilder_;
}
private java.util.List dataCollectionPageCustomEvents_ =
java.util.Collections.emptyList();
private void ensureDataCollectionPageCustomEventsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
dataCollectionPageCustomEvents_ = new java.util.ArrayList(dataCollectionPageCustomEvents_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.CustomEvent, com.passkit.grpc.Tracking.CustomEvent.Builder, com.passkit.grpc.Tracking.CustomEventOrBuilder> dataCollectionPageCustomEventsBuilder_;
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public java.util.List getDataCollectionPageCustomEventsList() {
if (dataCollectionPageCustomEventsBuilder_ == null) {
return java.util.Collections.unmodifiableList(dataCollectionPageCustomEvents_);
} else {
return dataCollectionPageCustomEventsBuilder_.getMessageList();
}
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public int getDataCollectionPageCustomEventsCount() {
if (dataCollectionPageCustomEventsBuilder_ == null) {
return dataCollectionPageCustomEvents_.size();
} else {
return dataCollectionPageCustomEventsBuilder_.getCount();
}
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public com.passkit.grpc.Tracking.CustomEvent getDataCollectionPageCustomEvents(int index) {
if (dataCollectionPageCustomEventsBuilder_ == null) {
return dataCollectionPageCustomEvents_.get(index);
} else {
return dataCollectionPageCustomEventsBuilder_.getMessage(index);
}
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public Builder setDataCollectionPageCustomEvents(
int index, com.passkit.grpc.Tracking.CustomEvent value) {
if (dataCollectionPageCustomEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataCollectionPageCustomEventsIsMutable();
dataCollectionPageCustomEvents_.set(index, value);
onChanged();
} else {
dataCollectionPageCustomEventsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public Builder setDataCollectionPageCustomEvents(
int index, com.passkit.grpc.Tracking.CustomEvent.Builder builderForValue) {
if (dataCollectionPageCustomEventsBuilder_ == null) {
ensureDataCollectionPageCustomEventsIsMutable();
dataCollectionPageCustomEvents_.set(index, builderForValue.build());
onChanged();
} else {
dataCollectionPageCustomEventsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public Builder addDataCollectionPageCustomEvents(com.passkit.grpc.Tracking.CustomEvent value) {
if (dataCollectionPageCustomEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataCollectionPageCustomEventsIsMutable();
dataCollectionPageCustomEvents_.add(value);
onChanged();
} else {
dataCollectionPageCustomEventsBuilder_.addMessage(value);
}
return this;
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public Builder addDataCollectionPageCustomEvents(
int index, com.passkit.grpc.Tracking.CustomEvent value) {
if (dataCollectionPageCustomEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataCollectionPageCustomEventsIsMutable();
dataCollectionPageCustomEvents_.add(index, value);
onChanged();
} else {
dataCollectionPageCustomEventsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public Builder addDataCollectionPageCustomEvents(
com.passkit.grpc.Tracking.CustomEvent.Builder builderForValue) {
if (dataCollectionPageCustomEventsBuilder_ == null) {
ensureDataCollectionPageCustomEventsIsMutable();
dataCollectionPageCustomEvents_.add(builderForValue.build());
onChanged();
} else {
dataCollectionPageCustomEventsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public Builder addDataCollectionPageCustomEvents(
int index, com.passkit.grpc.Tracking.CustomEvent.Builder builderForValue) {
if (dataCollectionPageCustomEventsBuilder_ == null) {
ensureDataCollectionPageCustomEventsIsMutable();
dataCollectionPageCustomEvents_.add(index, builderForValue.build());
onChanged();
} else {
dataCollectionPageCustomEventsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public Builder addAllDataCollectionPageCustomEvents(
java.lang.Iterable extends com.passkit.grpc.Tracking.CustomEvent> values) {
if (dataCollectionPageCustomEventsBuilder_ == null) {
ensureDataCollectionPageCustomEventsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dataCollectionPageCustomEvents_);
onChanged();
} else {
dataCollectionPageCustomEventsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public Builder clearDataCollectionPageCustomEvents() {
if (dataCollectionPageCustomEventsBuilder_ == null) {
dataCollectionPageCustomEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
dataCollectionPageCustomEventsBuilder_.clear();
}
return this;
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public Builder removeDataCollectionPageCustomEvents(int index) {
if (dataCollectionPageCustomEventsBuilder_ == null) {
ensureDataCollectionPageCustomEventsIsMutable();
dataCollectionPageCustomEvents_.remove(index);
onChanged();
} else {
dataCollectionPageCustomEventsBuilder_.remove(index);
}
return this;
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public com.passkit.grpc.Tracking.CustomEvent.Builder getDataCollectionPageCustomEventsBuilder(
int index) {
return getDataCollectionPageCustomEventsFieldBuilder().getBuilder(index);
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public com.passkit.grpc.Tracking.CustomEventOrBuilder getDataCollectionPageCustomEventsOrBuilder(
int index) {
if (dataCollectionPageCustomEventsBuilder_ == null) {
return dataCollectionPageCustomEvents_.get(index); } else {
return dataCollectionPageCustomEventsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public java.util.List extends com.passkit.grpc.Tracking.CustomEventOrBuilder>
getDataCollectionPageCustomEventsOrBuilderList() {
if (dataCollectionPageCustomEventsBuilder_ != null) {
return dataCollectionPageCustomEventsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(dataCollectionPageCustomEvents_);
}
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public com.passkit.grpc.Tracking.CustomEvent.Builder addDataCollectionPageCustomEventsBuilder() {
return getDataCollectionPageCustomEventsFieldBuilder().addBuilder(
com.passkit.grpc.Tracking.CustomEvent.getDefaultInstance());
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public com.passkit.grpc.Tracking.CustomEvent.Builder addDataCollectionPageCustomEventsBuilder(
int index) {
return getDataCollectionPageCustomEventsFieldBuilder().addBuilder(
index, com.passkit.grpc.Tracking.CustomEvent.getDefaultInstance());
}
/**
*
* List of custom events for the data collection page
*
*
* repeated .io.CustomEvent dataCollectionPageCustomEvents = 3;
*/
public java.util.List
getDataCollectionPageCustomEventsBuilderList() {
return getDataCollectionPageCustomEventsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.CustomEvent, com.passkit.grpc.Tracking.CustomEvent.Builder, com.passkit.grpc.Tracking.CustomEventOrBuilder>
getDataCollectionPageCustomEventsFieldBuilder() {
if (dataCollectionPageCustomEventsBuilder_ == null) {
dataCollectionPageCustomEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.CustomEvent, com.passkit.grpc.Tracking.CustomEvent.Builder, com.passkit.grpc.Tracking.CustomEventOrBuilder>(
dataCollectionPageCustomEvents_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
dataCollectionPageCustomEvents_ = null;
}
return dataCollectionPageCustomEventsBuilder_;
}
private java.util.List passPageStandardEvents_ =
java.util.Collections.emptyList();
private void ensurePassPageStandardEventsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
passPageStandardEvents_ = new java.util.ArrayList(passPageStandardEvents_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.StandardEvent, com.passkit.grpc.Tracking.StandardEvent.Builder, com.passkit.grpc.Tracking.StandardEventOrBuilder> passPageStandardEventsBuilder_;
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public java.util.List getPassPageStandardEventsList() {
if (passPageStandardEventsBuilder_ == null) {
return java.util.Collections.unmodifiableList(passPageStandardEvents_);
} else {
return passPageStandardEventsBuilder_.getMessageList();
}
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public int getPassPageStandardEventsCount() {
if (passPageStandardEventsBuilder_ == null) {
return passPageStandardEvents_.size();
} else {
return passPageStandardEventsBuilder_.getCount();
}
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public com.passkit.grpc.Tracking.StandardEvent getPassPageStandardEvents(int index) {
if (passPageStandardEventsBuilder_ == null) {
return passPageStandardEvents_.get(index);
} else {
return passPageStandardEventsBuilder_.getMessage(index);
}
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public Builder setPassPageStandardEvents(
int index, com.passkit.grpc.Tracking.StandardEvent value) {
if (passPageStandardEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePassPageStandardEventsIsMutable();
passPageStandardEvents_.set(index, value);
onChanged();
} else {
passPageStandardEventsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public Builder setPassPageStandardEvents(
int index, com.passkit.grpc.Tracking.StandardEvent.Builder builderForValue) {
if (passPageStandardEventsBuilder_ == null) {
ensurePassPageStandardEventsIsMutable();
passPageStandardEvents_.set(index, builderForValue.build());
onChanged();
} else {
passPageStandardEventsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public Builder addPassPageStandardEvents(com.passkit.grpc.Tracking.StandardEvent value) {
if (passPageStandardEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePassPageStandardEventsIsMutable();
passPageStandardEvents_.add(value);
onChanged();
} else {
passPageStandardEventsBuilder_.addMessage(value);
}
return this;
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public Builder addPassPageStandardEvents(
int index, com.passkit.grpc.Tracking.StandardEvent value) {
if (passPageStandardEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePassPageStandardEventsIsMutable();
passPageStandardEvents_.add(index, value);
onChanged();
} else {
passPageStandardEventsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public Builder addPassPageStandardEvents(
com.passkit.grpc.Tracking.StandardEvent.Builder builderForValue) {
if (passPageStandardEventsBuilder_ == null) {
ensurePassPageStandardEventsIsMutable();
passPageStandardEvents_.add(builderForValue.build());
onChanged();
} else {
passPageStandardEventsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public Builder addPassPageStandardEvents(
int index, com.passkit.grpc.Tracking.StandardEvent.Builder builderForValue) {
if (passPageStandardEventsBuilder_ == null) {
ensurePassPageStandardEventsIsMutable();
passPageStandardEvents_.add(index, builderForValue.build());
onChanged();
} else {
passPageStandardEventsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public Builder addAllPassPageStandardEvents(
java.lang.Iterable extends com.passkit.grpc.Tracking.StandardEvent> values) {
if (passPageStandardEventsBuilder_ == null) {
ensurePassPageStandardEventsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, passPageStandardEvents_);
onChanged();
} else {
passPageStandardEventsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public Builder clearPassPageStandardEvents() {
if (passPageStandardEventsBuilder_ == null) {
passPageStandardEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
passPageStandardEventsBuilder_.clear();
}
return this;
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public Builder removePassPageStandardEvents(int index) {
if (passPageStandardEventsBuilder_ == null) {
ensurePassPageStandardEventsIsMutable();
passPageStandardEvents_.remove(index);
onChanged();
} else {
passPageStandardEventsBuilder_.remove(index);
}
return this;
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public com.passkit.grpc.Tracking.StandardEvent.Builder getPassPageStandardEventsBuilder(
int index) {
return getPassPageStandardEventsFieldBuilder().getBuilder(index);
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public com.passkit.grpc.Tracking.StandardEventOrBuilder getPassPageStandardEventsOrBuilder(
int index) {
if (passPageStandardEventsBuilder_ == null) {
return passPageStandardEvents_.get(index); } else {
return passPageStandardEventsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public java.util.List extends com.passkit.grpc.Tracking.StandardEventOrBuilder>
getPassPageStandardEventsOrBuilderList() {
if (passPageStandardEventsBuilder_ != null) {
return passPageStandardEventsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(passPageStandardEvents_);
}
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public com.passkit.grpc.Tracking.StandardEvent.Builder addPassPageStandardEventsBuilder() {
return getPassPageStandardEventsFieldBuilder().addBuilder(
com.passkit.grpc.Tracking.StandardEvent.getDefaultInstance());
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public com.passkit.grpc.Tracking.StandardEvent.Builder addPassPageStandardEventsBuilder(
int index) {
return getPassPageStandardEventsFieldBuilder().addBuilder(
index, com.passkit.grpc.Tracking.StandardEvent.getDefaultInstance());
}
/**
*
* List of standard events for the pass render page
*
*
* repeated .io.StandardEvent passPageStandardEvents = 4;
*/
public java.util.List
getPassPageStandardEventsBuilderList() {
return getPassPageStandardEventsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.StandardEvent, com.passkit.grpc.Tracking.StandardEvent.Builder, com.passkit.grpc.Tracking.StandardEventOrBuilder>
getPassPageStandardEventsFieldBuilder() {
if (passPageStandardEventsBuilder_ == null) {
passPageStandardEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.StandardEvent, com.passkit.grpc.Tracking.StandardEvent.Builder, com.passkit.grpc.Tracking.StandardEventOrBuilder>(
passPageStandardEvents_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
passPageStandardEvents_ = null;
}
return passPageStandardEventsBuilder_;
}
private java.util.List passPageCustomEvents_ =
java.util.Collections.emptyList();
private void ensurePassPageCustomEventsIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
passPageCustomEvents_ = new java.util.ArrayList(passPageCustomEvents_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.CustomEvent, com.passkit.grpc.Tracking.CustomEvent.Builder, com.passkit.grpc.Tracking.CustomEventOrBuilder> passPageCustomEventsBuilder_;
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public java.util.List getPassPageCustomEventsList() {
if (passPageCustomEventsBuilder_ == null) {
return java.util.Collections.unmodifiableList(passPageCustomEvents_);
} else {
return passPageCustomEventsBuilder_.getMessageList();
}
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public int getPassPageCustomEventsCount() {
if (passPageCustomEventsBuilder_ == null) {
return passPageCustomEvents_.size();
} else {
return passPageCustomEventsBuilder_.getCount();
}
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public com.passkit.grpc.Tracking.CustomEvent getPassPageCustomEvents(int index) {
if (passPageCustomEventsBuilder_ == null) {
return passPageCustomEvents_.get(index);
} else {
return passPageCustomEventsBuilder_.getMessage(index);
}
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public Builder setPassPageCustomEvents(
int index, com.passkit.grpc.Tracking.CustomEvent value) {
if (passPageCustomEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePassPageCustomEventsIsMutable();
passPageCustomEvents_.set(index, value);
onChanged();
} else {
passPageCustomEventsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public Builder setPassPageCustomEvents(
int index, com.passkit.grpc.Tracking.CustomEvent.Builder builderForValue) {
if (passPageCustomEventsBuilder_ == null) {
ensurePassPageCustomEventsIsMutable();
passPageCustomEvents_.set(index, builderForValue.build());
onChanged();
} else {
passPageCustomEventsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public Builder addPassPageCustomEvents(com.passkit.grpc.Tracking.CustomEvent value) {
if (passPageCustomEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePassPageCustomEventsIsMutable();
passPageCustomEvents_.add(value);
onChanged();
} else {
passPageCustomEventsBuilder_.addMessage(value);
}
return this;
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public Builder addPassPageCustomEvents(
int index, com.passkit.grpc.Tracking.CustomEvent value) {
if (passPageCustomEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePassPageCustomEventsIsMutable();
passPageCustomEvents_.add(index, value);
onChanged();
} else {
passPageCustomEventsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public Builder addPassPageCustomEvents(
com.passkit.grpc.Tracking.CustomEvent.Builder builderForValue) {
if (passPageCustomEventsBuilder_ == null) {
ensurePassPageCustomEventsIsMutable();
passPageCustomEvents_.add(builderForValue.build());
onChanged();
} else {
passPageCustomEventsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public Builder addPassPageCustomEvents(
int index, com.passkit.grpc.Tracking.CustomEvent.Builder builderForValue) {
if (passPageCustomEventsBuilder_ == null) {
ensurePassPageCustomEventsIsMutable();
passPageCustomEvents_.add(index, builderForValue.build());
onChanged();
} else {
passPageCustomEventsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public Builder addAllPassPageCustomEvents(
java.lang.Iterable extends com.passkit.grpc.Tracking.CustomEvent> values) {
if (passPageCustomEventsBuilder_ == null) {
ensurePassPageCustomEventsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, passPageCustomEvents_);
onChanged();
} else {
passPageCustomEventsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public Builder clearPassPageCustomEvents() {
if (passPageCustomEventsBuilder_ == null) {
passPageCustomEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
passPageCustomEventsBuilder_.clear();
}
return this;
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public Builder removePassPageCustomEvents(int index) {
if (passPageCustomEventsBuilder_ == null) {
ensurePassPageCustomEventsIsMutable();
passPageCustomEvents_.remove(index);
onChanged();
} else {
passPageCustomEventsBuilder_.remove(index);
}
return this;
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public com.passkit.grpc.Tracking.CustomEvent.Builder getPassPageCustomEventsBuilder(
int index) {
return getPassPageCustomEventsFieldBuilder().getBuilder(index);
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public com.passkit.grpc.Tracking.CustomEventOrBuilder getPassPageCustomEventsOrBuilder(
int index) {
if (passPageCustomEventsBuilder_ == null) {
return passPageCustomEvents_.get(index); } else {
return passPageCustomEventsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public java.util.List extends com.passkit.grpc.Tracking.CustomEventOrBuilder>
getPassPageCustomEventsOrBuilderList() {
if (passPageCustomEventsBuilder_ != null) {
return passPageCustomEventsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(passPageCustomEvents_);
}
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public com.passkit.grpc.Tracking.CustomEvent.Builder addPassPageCustomEventsBuilder() {
return getPassPageCustomEventsFieldBuilder().addBuilder(
com.passkit.grpc.Tracking.CustomEvent.getDefaultInstance());
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public com.passkit.grpc.Tracking.CustomEvent.Builder addPassPageCustomEventsBuilder(
int index) {
return getPassPageCustomEventsFieldBuilder().addBuilder(
index, com.passkit.grpc.Tracking.CustomEvent.getDefaultInstance());
}
/**
*
* List of custom events for the pass render page
*
*
* repeated .io.CustomEvent passPageCustomEvents = 5;
*/
public java.util.List
getPassPageCustomEventsBuilderList() {
return getPassPageCustomEventsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.CustomEvent, com.passkit.grpc.Tracking.CustomEvent.Builder, com.passkit.grpc.Tracking.CustomEventOrBuilder>
getPassPageCustomEventsFieldBuilder() {
if (passPageCustomEventsBuilder_ == null) {
passPageCustomEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.CustomEvent, com.passkit.grpc.Tracking.CustomEvent.Builder, com.passkit.grpc.Tracking.CustomEventOrBuilder>(
passPageCustomEvents_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
passPageCustomEvents_ = null;
}
return passPageCustomEventsBuilder_;
}
private java.util.List customerInitiatedRedemptionPageStandardEvents_ =
java.util.Collections.emptyList();
private void ensureCustomerInitiatedRedemptionPageStandardEventsIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
customerInitiatedRedemptionPageStandardEvents_ = new java.util.ArrayList(customerInitiatedRedemptionPageStandardEvents_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.StandardEvent, com.passkit.grpc.Tracking.StandardEvent.Builder, com.passkit.grpc.Tracking.StandardEventOrBuilder> customerInitiatedRedemptionPageStandardEventsBuilder_;
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public java.util.List getCustomerInitiatedRedemptionPageStandardEventsList() {
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
return java.util.Collections.unmodifiableList(customerInitiatedRedemptionPageStandardEvents_);
} else {
return customerInitiatedRedemptionPageStandardEventsBuilder_.getMessageList();
}
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public int getCustomerInitiatedRedemptionPageStandardEventsCount() {
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
return customerInitiatedRedemptionPageStandardEvents_.size();
} else {
return customerInitiatedRedemptionPageStandardEventsBuilder_.getCount();
}
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public com.passkit.grpc.Tracking.StandardEvent getCustomerInitiatedRedemptionPageStandardEvents(int index) {
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
return customerInitiatedRedemptionPageStandardEvents_.get(index);
} else {
return customerInitiatedRedemptionPageStandardEventsBuilder_.getMessage(index);
}
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public Builder setCustomerInitiatedRedemptionPageStandardEvents(
int index, com.passkit.grpc.Tracking.StandardEvent value) {
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCustomerInitiatedRedemptionPageStandardEventsIsMutable();
customerInitiatedRedemptionPageStandardEvents_.set(index, value);
onChanged();
} else {
customerInitiatedRedemptionPageStandardEventsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public Builder setCustomerInitiatedRedemptionPageStandardEvents(
int index, com.passkit.grpc.Tracking.StandardEvent.Builder builderForValue) {
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
ensureCustomerInitiatedRedemptionPageStandardEventsIsMutable();
customerInitiatedRedemptionPageStandardEvents_.set(index, builderForValue.build());
onChanged();
} else {
customerInitiatedRedemptionPageStandardEventsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public Builder addCustomerInitiatedRedemptionPageStandardEvents(com.passkit.grpc.Tracking.StandardEvent value) {
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCustomerInitiatedRedemptionPageStandardEventsIsMutable();
customerInitiatedRedemptionPageStandardEvents_.add(value);
onChanged();
} else {
customerInitiatedRedemptionPageStandardEventsBuilder_.addMessage(value);
}
return this;
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public Builder addCustomerInitiatedRedemptionPageStandardEvents(
int index, com.passkit.grpc.Tracking.StandardEvent value) {
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCustomerInitiatedRedemptionPageStandardEventsIsMutable();
customerInitiatedRedemptionPageStandardEvents_.add(index, value);
onChanged();
} else {
customerInitiatedRedemptionPageStandardEventsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public Builder addCustomerInitiatedRedemptionPageStandardEvents(
com.passkit.grpc.Tracking.StandardEvent.Builder builderForValue) {
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
ensureCustomerInitiatedRedemptionPageStandardEventsIsMutable();
customerInitiatedRedemptionPageStandardEvents_.add(builderForValue.build());
onChanged();
} else {
customerInitiatedRedemptionPageStandardEventsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public Builder addCustomerInitiatedRedemptionPageStandardEvents(
int index, com.passkit.grpc.Tracking.StandardEvent.Builder builderForValue) {
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
ensureCustomerInitiatedRedemptionPageStandardEventsIsMutable();
customerInitiatedRedemptionPageStandardEvents_.add(index, builderForValue.build());
onChanged();
} else {
customerInitiatedRedemptionPageStandardEventsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public Builder addAllCustomerInitiatedRedemptionPageStandardEvents(
java.lang.Iterable extends com.passkit.grpc.Tracking.StandardEvent> values) {
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
ensureCustomerInitiatedRedemptionPageStandardEventsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, customerInitiatedRedemptionPageStandardEvents_);
onChanged();
} else {
customerInitiatedRedemptionPageStandardEventsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public Builder clearCustomerInitiatedRedemptionPageStandardEvents() {
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
customerInitiatedRedemptionPageStandardEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
customerInitiatedRedemptionPageStandardEventsBuilder_.clear();
}
return this;
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public Builder removeCustomerInitiatedRedemptionPageStandardEvents(int index) {
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
ensureCustomerInitiatedRedemptionPageStandardEventsIsMutable();
customerInitiatedRedemptionPageStandardEvents_.remove(index);
onChanged();
} else {
customerInitiatedRedemptionPageStandardEventsBuilder_.remove(index);
}
return this;
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public com.passkit.grpc.Tracking.StandardEvent.Builder getCustomerInitiatedRedemptionPageStandardEventsBuilder(
int index) {
return getCustomerInitiatedRedemptionPageStandardEventsFieldBuilder().getBuilder(index);
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public com.passkit.grpc.Tracking.StandardEventOrBuilder getCustomerInitiatedRedemptionPageStandardEventsOrBuilder(
int index) {
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
return customerInitiatedRedemptionPageStandardEvents_.get(index); } else {
return customerInitiatedRedemptionPageStandardEventsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public java.util.List extends com.passkit.grpc.Tracking.StandardEventOrBuilder>
getCustomerInitiatedRedemptionPageStandardEventsOrBuilderList() {
if (customerInitiatedRedemptionPageStandardEventsBuilder_ != null) {
return customerInitiatedRedemptionPageStandardEventsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(customerInitiatedRedemptionPageStandardEvents_);
}
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public com.passkit.grpc.Tracking.StandardEvent.Builder addCustomerInitiatedRedemptionPageStandardEventsBuilder() {
return getCustomerInitiatedRedemptionPageStandardEventsFieldBuilder().addBuilder(
com.passkit.grpc.Tracking.StandardEvent.getDefaultInstance());
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public com.passkit.grpc.Tracking.StandardEvent.Builder addCustomerInitiatedRedemptionPageStandardEventsBuilder(
int index) {
return getCustomerInitiatedRedemptionPageStandardEventsFieldBuilder().addBuilder(
index, com.passkit.grpc.Tracking.StandardEvent.getDefaultInstance());
}
/**
*
* List of standard events for the coupon customer initiated redemption page
*
*
* repeated .io.StandardEvent customerInitiatedRedemptionPageStandardEvents = 6;
*/
public java.util.List
getCustomerInitiatedRedemptionPageStandardEventsBuilderList() {
return getCustomerInitiatedRedemptionPageStandardEventsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.StandardEvent, com.passkit.grpc.Tracking.StandardEvent.Builder, com.passkit.grpc.Tracking.StandardEventOrBuilder>
getCustomerInitiatedRedemptionPageStandardEventsFieldBuilder() {
if (customerInitiatedRedemptionPageStandardEventsBuilder_ == null) {
customerInitiatedRedemptionPageStandardEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.StandardEvent, com.passkit.grpc.Tracking.StandardEvent.Builder, com.passkit.grpc.Tracking.StandardEventOrBuilder>(
customerInitiatedRedemptionPageStandardEvents_,
((bitField0_ & 0x00000010) != 0),
getParentForChildren(),
isClean());
customerInitiatedRedemptionPageStandardEvents_ = null;
}
return customerInitiatedRedemptionPageStandardEventsBuilder_;
}
private java.util.List customerInitiatedRedemptionPageCustomEvents_ =
java.util.Collections.emptyList();
private void ensureCustomerInitiatedRedemptionPageCustomEventsIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
customerInitiatedRedemptionPageCustomEvents_ = new java.util.ArrayList(customerInitiatedRedemptionPageCustomEvents_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.CustomEvent, com.passkit.grpc.Tracking.CustomEvent.Builder, com.passkit.grpc.Tracking.CustomEventOrBuilder> customerInitiatedRedemptionPageCustomEventsBuilder_;
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public java.util.List getCustomerInitiatedRedemptionPageCustomEventsList() {
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
return java.util.Collections.unmodifiableList(customerInitiatedRedemptionPageCustomEvents_);
} else {
return customerInitiatedRedemptionPageCustomEventsBuilder_.getMessageList();
}
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public int getCustomerInitiatedRedemptionPageCustomEventsCount() {
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
return customerInitiatedRedemptionPageCustomEvents_.size();
} else {
return customerInitiatedRedemptionPageCustomEventsBuilder_.getCount();
}
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public com.passkit.grpc.Tracking.CustomEvent getCustomerInitiatedRedemptionPageCustomEvents(int index) {
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
return customerInitiatedRedemptionPageCustomEvents_.get(index);
} else {
return customerInitiatedRedemptionPageCustomEventsBuilder_.getMessage(index);
}
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public Builder setCustomerInitiatedRedemptionPageCustomEvents(
int index, com.passkit.grpc.Tracking.CustomEvent value) {
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCustomerInitiatedRedemptionPageCustomEventsIsMutable();
customerInitiatedRedemptionPageCustomEvents_.set(index, value);
onChanged();
} else {
customerInitiatedRedemptionPageCustomEventsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public Builder setCustomerInitiatedRedemptionPageCustomEvents(
int index, com.passkit.grpc.Tracking.CustomEvent.Builder builderForValue) {
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
ensureCustomerInitiatedRedemptionPageCustomEventsIsMutable();
customerInitiatedRedemptionPageCustomEvents_.set(index, builderForValue.build());
onChanged();
} else {
customerInitiatedRedemptionPageCustomEventsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public Builder addCustomerInitiatedRedemptionPageCustomEvents(com.passkit.grpc.Tracking.CustomEvent value) {
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCustomerInitiatedRedemptionPageCustomEventsIsMutable();
customerInitiatedRedemptionPageCustomEvents_.add(value);
onChanged();
} else {
customerInitiatedRedemptionPageCustomEventsBuilder_.addMessage(value);
}
return this;
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public Builder addCustomerInitiatedRedemptionPageCustomEvents(
int index, com.passkit.grpc.Tracking.CustomEvent value) {
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCustomerInitiatedRedemptionPageCustomEventsIsMutable();
customerInitiatedRedemptionPageCustomEvents_.add(index, value);
onChanged();
} else {
customerInitiatedRedemptionPageCustomEventsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public Builder addCustomerInitiatedRedemptionPageCustomEvents(
com.passkit.grpc.Tracking.CustomEvent.Builder builderForValue) {
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
ensureCustomerInitiatedRedemptionPageCustomEventsIsMutable();
customerInitiatedRedemptionPageCustomEvents_.add(builderForValue.build());
onChanged();
} else {
customerInitiatedRedemptionPageCustomEventsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public Builder addCustomerInitiatedRedemptionPageCustomEvents(
int index, com.passkit.grpc.Tracking.CustomEvent.Builder builderForValue) {
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
ensureCustomerInitiatedRedemptionPageCustomEventsIsMutable();
customerInitiatedRedemptionPageCustomEvents_.add(index, builderForValue.build());
onChanged();
} else {
customerInitiatedRedemptionPageCustomEventsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public Builder addAllCustomerInitiatedRedemptionPageCustomEvents(
java.lang.Iterable extends com.passkit.grpc.Tracking.CustomEvent> values) {
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
ensureCustomerInitiatedRedemptionPageCustomEventsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, customerInitiatedRedemptionPageCustomEvents_);
onChanged();
} else {
customerInitiatedRedemptionPageCustomEventsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public Builder clearCustomerInitiatedRedemptionPageCustomEvents() {
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
customerInitiatedRedemptionPageCustomEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
customerInitiatedRedemptionPageCustomEventsBuilder_.clear();
}
return this;
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public Builder removeCustomerInitiatedRedemptionPageCustomEvents(int index) {
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
ensureCustomerInitiatedRedemptionPageCustomEventsIsMutable();
customerInitiatedRedemptionPageCustomEvents_.remove(index);
onChanged();
} else {
customerInitiatedRedemptionPageCustomEventsBuilder_.remove(index);
}
return this;
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public com.passkit.grpc.Tracking.CustomEvent.Builder getCustomerInitiatedRedemptionPageCustomEventsBuilder(
int index) {
return getCustomerInitiatedRedemptionPageCustomEventsFieldBuilder().getBuilder(index);
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public com.passkit.grpc.Tracking.CustomEventOrBuilder getCustomerInitiatedRedemptionPageCustomEventsOrBuilder(
int index) {
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
return customerInitiatedRedemptionPageCustomEvents_.get(index); } else {
return customerInitiatedRedemptionPageCustomEventsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public java.util.List extends com.passkit.grpc.Tracking.CustomEventOrBuilder>
getCustomerInitiatedRedemptionPageCustomEventsOrBuilderList() {
if (customerInitiatedRedemptionPageCustomEventsBuilder_ != null) {
return customerInitiatedRedemptionPageCustomEventsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(customerInitiatedRedemptionPageCustomEvents_);
}
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public com.passkit.grpc.Tracking.CustomEvent.Builder addCustomerInitiatedRedemptionPageCustomEventsBuilder() {
return getCustomerInitiatedRedemptionPageCustomEventsFieldBuilder().addBuilder(
com.passkit.grpc.Tracking.CustomEvent.getDefaultInstance());
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public com.passkit.grpc.Tracking.CustomEvent.Builder addCustomerInitiatedRedemptionPageCustomEventsBuilder(
int index) {
return getCustomerInitiatedRedemptionPageCustomEventsFieldBuilder().addBuilder(
index, com.passkit.grpc.Tracking.CustomEvent.getDefaultInstance());
}
/**
*
* List of custom events for the coupon customer initiated redemption page
*
*
* repeated .io.CustomEvent customerInitiatedRedemptionPageCustomEvents = 7;
*/
public java.util.List
getCustomerInitiatedRedemptionPageCustomEventsBuilderList() {
return getCustomerInitiatedRedemptionPageCustomEventsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.CustomEvent, com.passkit.grpc.Tracking.CustomEvent.Builder, com.passkit.grpc.Tracking.CustomEventOrBuilder>
getCustomerInitiatedRedemptionPageCustomEventsFieldBuilder() {
if (customerInitiatedRedemptionPageCustomEventsBuilder_ == null) {
customerInitiatedRedemptionPageCustomEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Tracking.CustomEvent, com.passkit.grpc.Tracking.CustomEvent.Builder, com.passkit.grpc.Tracking.CustomEventOrBuilder>(
customerInitiatedRedemptionPageCustomEvents_,
((bitField0_ & 0x00000020) != 0),
getParentForChildren(),
isClean());
customerInitiatedRedemptionPageCustomEvents_ = null;
}
return customerInitiatedRedemptionPageCustomEventsBuilder_;
}
@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.FacebookPixelSettings)
}
// @@protoc_insertion_point(class_scope:io.FacebookPixelSettings)
private static final com.passkit.grpc.Tracking.FacebookPixelSettings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.Tracking.FacebookPixelSettings();
}
public static com.passkit.grpc.Tracking.FacebookPixelSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FacebookPixelSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FacebookPixelSettings(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.Tracking.FacebookPixelSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StandardEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.StandardEvent)
com.google.protobuf.MessageOrBuilder {
/**
*
* Standard event
*
*
* .io.FbPixelStandardEvent event = 1;
* @return The enum numeric value on the wire for event.
*/
int getEventValue();
/**
*
* Standard event
*
*
* .io.FbPixelStandardEvent event = 1;
* @return The event.
*/
com.passkit.grpc.Tracking.FbPixelStandardEvent getEvent();
/**
*
* Optional event properties
*
*
* string properties = 3;
* @return The properties.
*/
java.lang.String getProperties();
/**
*
* Optional event properties
*
*
* string properties = 3;
* @return The bytes for properties.
*/
com.google.protobuf.ByteString
getPropertiesBytes();
}
/**
* Protobuf type {@code io.StandardEvent}
*/
public static final class StandardEvent extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.StandardEvent)
StandardEventOrBuilder {
private static final long serialVersionUID = 0L;
// Use StandardEvent.newBuilder() to construct.
private StandardEvent(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StandardEvent() {
event_ = 0;
properties_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StandardEvent();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StandardEvent(
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: {
int rawValue = input.readEnum();
event_ = rawValue;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
properties_ = 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.Tracking.internal_static_io_StandardEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Tracking.internal_static_io_StandardEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Tracking.StandardEvent.class, com.passkit.grpc.Tracking.StandardEvent.Builder.class);
}
public static final int EVENT_FIELD_NUMBER = 1;
private int event_;
/**
*
* Standard event
*
*
* .io.FbPixelStandardEvent event = 1;
* @return The enum numeric value on the wire for event.
*/
@java.lang.Override public int getEventValue() {
return event_;
}
/**
*
* Standard event
*
*
* .io.FbPixelStandardEvent event = 1;
* @return The event.
*/
@java.lang.Override public com.passkit.grpc.Tracking.FbPixelStandardEvent getEvent() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Tracking.FbPixelStandardEvent result = com.passkit.grpc.Tracking.FbPixelStandardEvent.valueOf(event_);
return result == null ? com.passkit.grpc.Tracking.FbPixelStandardEvent.UNRECOGNIZED : result;
}
public static final int PROPERTIES_FIELD_NUMBER = 3;
private volatile java.lang.Object properties_;
/**
*
* Optional event properties
*
*
* string properties = 3;
* @return The properties.
*/
@java.lang.Override
public java.lang.String getProperties() {
java.lang.Object ref = properties_;
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();
properties_ = s;
return s;
}
}
/**
*
* Optional event properties
*
*
* string properties = 3;
* @return The bytes for properties.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPropertiesBytes() {
java.lang.Object ref = properties_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
properties_ = 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 (event_ != com.passkit.grpc.Tracking.FbPixelStandardEvent.FBP_STANDARD_EVENT_DO_NOT_USE.getNumber()) {
output.writeEnum(1, event_);
}
if (!getPropertiesBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, properties_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (event_ != com.passkit.grpc.Tracking.FbPixelStandardEvent.FBP_STANDARD_EVENT_DO_NOT_USE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, event_);
}
if (!getPropertiesBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, properties_);
}
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.Tracking.StandardEvent)) {
return super.equals(obj);
}
com.passkit.grpc.Tracking.StandardEvent other = (com.passkit.grpc.Tracking.StandardEvent) obj;
if (event_ != other.event_) return false;
if (!getProperties()
.equals(other.getProperties())) 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) + EVENT_FIELD_NUMBER;
hash = (53 * hash) + event_;
hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
hash = (53 * hash) + getProperties().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.Tracking.StandardEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Tracking.StandardEvent 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.Tracking.StandardEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Tracking.StandardEvent 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.Tracking.StandardEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Tracking.StandardEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Tracking.StandardEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Tracking.StandardEvent 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.Tracking.StandardEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.Tracking.StandardEvent 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.Tracking.StandardEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Tracking.StandardEvent 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.Tracking.StandardEvent 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.StandardEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.StandardEvent)
com.passkit.grpc.Tracking.StandardEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Tracking.internal_static_io_StandardEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Tracking.internal_static_io_StandardEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Tracking.StandardEvent.class, com.passkit.grpc.Tracking.StandardEvent.Builder.class);
}
// Construct using com.passkit.grpc.Tracking.StandardEvent.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();
event_ = 0;
properties_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.Tracking.internal_static_io_StandardEvent_descriptor;
}
@java.lang.Override
public com.passkit.grpc.Tracking.StandardEvent getDefaultInstanceForType() {
return com.passkit.grpc.Tracking.StandardEvent.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.Tracking.StandardEvent build() {
com.passkit.grpc.Tracking.StandardEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.Tracking.StandardEvent buildPartial() {
com.passkit.grpc.Tracking.StandardEvent result = new com.passkit.grpc.Tracking.StandardEvent(this);
result.event_ = event_;
result.properties_ = properties_;
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.Tracking.StandardEvent) {
return mergeFrom((com.passkit.grpc.Tracking.StandardEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.Tracking.StandardEvent other) {
if (other == com.passkit.grpc.Tracking.StandardEvent.getDefaultInstance()) return this;
if (other.event_ != 0) {
setEventValue(other.getEventValue());
}
if (!other.getProperties().isEmpty()) {
properties_ = other.properties_;
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.Tracking.StandardEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.Tracking.StandardEvent) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int event_ = 0;
/**
*
* Standard event
*
*
* .io.FbPixelStandardEvent event = 1;
* @return The enum numeric value on the wire for event.
*/
@java.lang.Override public int getEventValue() {
return event_;
}
/**
*
* Standard event
*
*
* .io.FbPixelStandardEvent event = 1;
* @param value The enum numeric value on the wire for event to set.
* @return This builder for chaining.
*/
public Builder setEventValue(int value) {
event_ = value;
onChanged();
return this;
}
/**
*
* Standard event
*
*
* .io.FbPixelStandardEvent event = 1;
* @return The event.
*/
@java.lang.Override
public com.passkit.grpc.Tracking.FbPixelStandardEvent getEvent() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Tracking.FbPixelStandardEvent result = com.passkit.grpc.Tracking.FbPixelStandardEvent.valueOf(event_);
return result == null ? com.passkit.grpc.Tracking.FbPixelStandardEvent.UNRECOGNIZED : result;
}
/**
*
* Standard event
*
*
* .io.FbPixelStandardEvent event = 1;
* @param value The event to set.
* @return This builder for chaining.
*/
public Builder setEvent(com.passkit.grpc.Tracking.FbPixelStandardEvent value) {
if (value == null) {
throw new NullPointerException();
}
event_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Standard event
*
*
* .io.FbPixelStandardEvent event = 1;
* @return This builder for chaining.
*/
public Builder clearEvent() {
event_ = 0;
onChanged();
return this;
}
private java.lang.Object properties_ = "";
/**
*
* Optional event properties
*
*
* string properties = 3;
* @return The properties.
*/
public java.lang.String getProperties() {
java.lang.Object ref = properties_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
properties_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Optional event properties
*
*
* string properties = 3;
* @return The bytes for properties.
*/
public com.google.protobuf.ByteString
getPropertiesBytes() {
java.lang.Object ref = properties_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
properties_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Optional event properties
*
*
* string properties = 3;
* @param value The properties to set.
* @return This builder for chaining.
*/
public Builder setProperties(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
properties_ = value;
onChanged();
return this;
}
/**
*
* Optional event properties
*
*
* string properties = 3;
* @return This builder for chaining.
*/
public Builder clearProperties() {
properties_ = getDefaultInstance().getProperties();
onChanged();
return this;
}
/**
*
* Optional event properties
*
*
* string properties = 3;
* @param value The bytes for properties to set.
* @return This builder for chaining.
*/
public Builder setPropertiesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
properties_ = 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.StandardEvent)
}
// @@protoc_insertion_point(class_scope:io.StandardEvent)
private static final com.passkit.grpc.Tracking.StandardEvent DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.Tracking.StandardEvent();
}
public static com.passkit.grpc.Tracking.StandardEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StandardEvent parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StandardEvent(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.Tracking.StandardEvent getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CustomEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.CustomEvent)
com.google.protobuf.MessageOrBuilder {
/**
*
* Custom event name
*
*
* string event = 1;
* @return The event.
*/
java.lang.String getEvent();
/**
*
* Custom event name
*
*
* string event = 1;
* @return The bytes for event.
*/
com.google.protobuf.ByteString
getEventBytes();
/**
*
* Optional event properties
*
*
* string properties = 3;
* @return The properties.
*/
java.lang.String getProperties();
/**
*
* Optional event properties
*
*
* string properties = 3;
* @return The bytes for properties.
*/
com.google.protobuf.ByteString
getPropertiesBytes();
}
/**
* Protobuf type {@code io.CustomEvent}
*/
public static final class CustomEvent extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.CustomEvent)
CustomEventOrBuilder {
private static final long serialVersionUID = 0L;
// Use CustomEvent.newBuilder() to construct.
private CustomEvent(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CustomEvent() {
event_ = "";
properties_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CustomEvent();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CustomEvent(
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();
event_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
properties_ = 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.Tracking.internal_static_io_CustomEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Tracking.internal_static_io_CustomEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Tracking.CustomEvent.class, com.passkit.grpc.Tracking.CustomEvent.Builder.class);
}
public static final int EVENT_FIELD_NUMBER = 1;
private volatile java.lang.Object event_;
/**
*
* Custom event name
*
*
* string event = 1;
* @return The event.
*/
@java.lang.Override
public java.lang.String getEvent() {
java.lang.Object ref = event_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
event_ = s;
return s;
}
}
/**
*
* Custom event name
*
*
* string event = 1;
* @return The bytes for event.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEventBytes() {
java.lang.Object ref = event_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
event_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROPERTIES_FIELD_NUMBER = 3;
private volatile java.lang.Object properties_;
/**
*
* Optional event properties
*
*
* string properties = 3;
* @return The properties.
*/
@java.lang.Override
public java.lang.String getProperties() {
java.lang.Object ref = properties_;
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();
properties_ = s;
return s;
}
}
/**
*
* Optional event properties
*
*
* string properties = 3;
* @return The bytes for properties.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPropertiesBytes() {
java.lang.Object ref = properties_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
properties_ = 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 (!getEventBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, event_);
}
if (!getPropertiesBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, properties_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getEventBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, event_);
}
if (!getPropertiesBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, properties_);
}
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.Tracking.CustomEvent)) {
return super.equals(obj);
}
com.passkit.grpc.Tracking.CustomEvent other = (com.passkit.grpc.Tracking.CustomEvent) obj;
if (!getEvent()
.equals(other.getEvent())) return false;
if (!getProperties()
.equals(other.getProperties())) 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) + EVENT_FIELD_NUMBER;
hash = (53 * hash) + getEvent().hashCode();
hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
hash = (53 * hash) + getProperties().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.Tracking.CustomEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Tracking.CustomEvent 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.Tracking.CustomEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Tracking.CustomEvent 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.Tracking.CustomEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Tracking.CustomEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Tracking.CustomEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Tracking.CustomEvent 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.Tracking.CustomEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.Tracking.CustomEvent 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.Tracking.CustomEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Tracking.CustomEvent 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.Tracking.CustomEvent 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.CustomEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.CustomEvent)
com.passkit.grpc.Tracking.CustomEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Tracking.internal_static_io_CustomEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Tracking.internal_static_io_CustomEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Tracking.CustomEvent.class, com.passkit.grpc.Tracking.CustomEvent.Builder.class);
}
// Construct using com.passkit.grpc.Tracking.CustomEvent.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();
event_ = "";
properties_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.Tracking.internal_static_io_CustomEvent_descriptor;
}
@java.lang.Override
public com.passkit.grpc.Tracking.CustomEvent getDefaultInstanceForType() {
return com.passkit.grpc.Tracking.CustomEvent.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.Tracking.CustomEvent build() {
com.passkit.grpc.Tracking.CustomEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.Tracking.CustomEvent buildPartial() {
com.passkit.grpc.Tracking.CustomEvent result = new com.passkit.grpc.Tracking.CustomEvent(this);
result.event_ = event_;
result.properties_ = properties_;
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.Tracking.CustomEvent) {
return mergeFrom((com.passkit.grpc.Tracking.CustomEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.Tracking.CustomEvent other) {
if (other == com.passkit.grpc.Tracking.CustomEvent.getDefaultInstance()) return this;
if (!other.getEvent().isEmpty()) {
event_ = other.event_;
onChanged();
}
if (!other.getProperties().isEmpty()) {
properties_ = other.properties_;
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.Tracking.CustomEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.Tracking.CustomEvent) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object event_ = "";
/**
*
* Custom event name
*
*
* string event = 1;
* @return The event.
*/
public java.lang.String getEvent() {
java.lang.Object ref = event_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
event_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Custom event name
*
*
* string event = 1;
* @return The bytes for event.
*/
public com.google.protobuf.ByteString
getEventBytes() {
java.lang.Object ref = event_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
event_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Custom event name
*
*
* string event = 1;
* @param value The event to set.
* @return This builder for chaining.
*/
public Builder setEvent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
event_ = value;
onChanged();
return this;
}
/**
*
* Custom event name
*
*
* string event = 1;
* @return This builder for chaining.
*/
public Builder clearEvent() {
event_ = getDefaultInstance().getEvent();
onChanged();
return this;
}
/**
*
* Custom event name
*
*
* string event = 1;
* @param value The bytes for event to set.
* @return This builder for chaining.
*/
public Builder setEventBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
event_ = value;
onChanged();
return this;
}
private java.lang.Object properties_ = "";
/**
*
* Optional event properties
*
*
* string properties = 3;
* @return The properties.
*/
public java.lang.String getProperties() {
java.lang.Object ref = properties_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
properties_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Optional event properties
*
*
* string properties = 3;
* @return The bytes for properties.
*/
public com.google.protobuf.ByteString
getPropertiesBytes() {
java.lang.Object ref = properties_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
properties_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Optional event properties
*
*
* string properties = 3;
* @param value The properties to set.
* @return This builder for chaining.
*/
public Builder setProperties(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
properties_ = value;
onChanged();
return this;
}
/**
*
* Optional event properties
*
*
* string properties = 3;
* @return This builder for chaining.
*/
public Builder clearProperties() {
properties_ = getDefaultInstance().getProperties();
onChanged();
return this;
}
/**
*
* Optional event properties
*
*
* string properties = 3;
* @param value The bytes for properties to set.
* @return This builder for chaining.
*/
public Builder setPropertiesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
properties_ = 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.CustomEvent)
}
// @@protoc_insertion_point(class_scope:io.CustomEvent)
private static final com.passkit.grpc.Tracking.CustomEvent DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.Tracking.CustomEvent();
}
public static com.passkit.grpc.Tracking.CustomEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CustomEvent parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CustomEvent(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.Tracking.CustomEvent getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GoogleAnalyticsSettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.GoogleAnalyticsSettings)
com.google.protobuf.MessageOrBuilder {
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @return A list containing the trackingIds.
*/
java.util.List
getTrackingIdsList();
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @return The count of trackingIds.
*/
int getTrackingIdsCount();
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @param index The index of the element to return.
* @return The trackingIds at the given index.
*/
java.lang.String getTrackingIds(int index);
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @param index The index of the value to return.
* @return The bytes of the trackingIds at the given index.
*/
com.google.protobuf.ByteString
getTrackingIdsBytes(int index);
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @return A list containing the dataCollectionPageEvents.
*/
java.util.List getDataCollectionPageEventsList();
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @return The count of dataCollectionPageEvents.
*/
int getDataCollectionPageEventsCount();
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @param index The index of the element to return.
* @return The dataCollectionPageEvents at the given index.
*/
com.passkit.grpc.Tracking.GoogleAnalyticsDataCollectionPageEvent getDataCollectionPageEvents(int index);
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @return A list containing the enum numeric values on the wire for dataCollectionPageEvents.
*/
java.util.List
getDataCollectionPageEventsValueList();
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of dataCollectionPageEvents at the given index.
*/
int getDataCollectionPageEventsValue(int index);
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @return A list containing the passRenderPageEvents.
*/
java.util.List getPassRenderPageEventsList();
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @return The count of passRenderPageEvents.
*/
int getPassRenderPageEventsCount();
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @param index The index of the element to return.
* @return The passRenderPageEvents at the given index.
*/
com.passkit.grpc.Tracking.GoogleAnalyticsPassRenderPageEvent getPassRenderPageEvents(int index);
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @return A list containing the enum numeric values on the wire for passRenderPageEvents.
*/
java.util.List
getPassRenderPageEventsValueList();
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of passRenderPageEvents at the given index.
*/
int getPassRenderPageEventsValue(int index);
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @return A list containing the customerInitiatedRedemption.
*/
java.util.List getCustomerInitiatedRedemptionList();
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @return The count of customerInitiatedRedemption.
*/
int getCustomerInitiatedRedemptionCount();
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @param index The index of the element to return.
* @return The customerInitiatedRedemption at the given index.
*/
com.passkit.grpc.Tracking.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent getCustomerInitiatedRedemption(int index);
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @return A list containing the enum numeric values on the wire for customerInitiatedRedemption.
*/
java.util.List
getCustomerInitiatedRedemptionValueList();
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of customerInitiatedRedemption at the given index.
*/
int getCustomerInitiatedRedemptionValue(int index);
}
/**
* Protobuf type {@code io.GoogleAnalyticsSettings}
*/
public static final class GoogleAnalyticsSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.GoogleAnalyticsSettings)
GoogleAnalyticsSettingsOrBuilder {
private static final long serialVersionUID = 0L;
// Use GoogleAnalyticsSettings.newBuilder() to construct.
private GoogleAnalyticsSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GoogleAnalyticsSettings() {
trackingIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
dataCollectionPageEvents_ = java.util.Collections.emptyList();
passRenderPageEvents_ = java.util.Collections.emptyList();
customerInitiatedRedemption_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GoogleAnalyticsSettings();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GoogleAnalyticsSettings(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
trackingIds_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
trackingIds_.add(s);
break;
}
case 16: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
dataCollectionPageEvents_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
dataCollectionPageEvents_.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_ & 0x00000002) != 0)) {
dataCollectionPageEvents_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
dataCollectionPageEvents_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 24: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
passRenderPageEvents_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
passRenderPageEvents_.add(rawValue);
break;
}
case 26: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
passRenderPageEvents_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
passRenderPageEvents_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 32: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
customerInitiatedRedemption_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
customerInitiatedRedemption_.add(rawValue);
break;
}
case 34: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
customerInitiatedRedemption_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
customerInitiatedRedemption_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
trackingIds_ = trackingIds_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
dataCollectionPageEvents_ = java.util.Collections.unmodifiableList(dataCollectionPageEvents_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
passRenderPageEvents_ = java.util.Collections.unmodifiableList(passRenderPageEvents_);
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
customerInitiatedRedemption_ = java.util.Collections.unmodifiableList(customerInitiatedRedemption_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Tracking.internal_static_io_GoogleAnalyticsSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Tracking.internal_static_io_GoogleAnalyticsSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Tracking.GoogleAnalyticsSettings.class, com.passkit.grpc.Tracking.GoogleAnalyticsSettings.Builder.class);
}
public static final int TRACKINGIDS_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList trackingIds_;
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @return A list containing the trackingIds.
*/
public com.google.protobuf.ProtocolStringList
getTrackingIdsList() {
return trackingIds_;
}
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @return The count of trackingIds.
*/
public int getTrackingIdsCount() {
return trackingIds_.size();
}
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @param index The index of the element to return.
* @return The trackingIds at the given index.
*/
public java.lang.String getTrackingIds(int index) {
return trackingIds_.get(index);
}
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @param index The index of the value to return.
* @return The bytes of the trackingIds at the given index.
*/
public com.google.protobuf.ByteString
getTrackingIdsBytes(int index) {
return trackingIds_.getByteString(index);
}
public static final int DATACOLLECTIONPAGEEVENTS_FIELD_NUMBER = 2;
private java.util.List dataCollectionPageEvents_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.passkit.grpc.Tracking.GoogleAnalyticsDataCollectionPageEvent> dataCollectionPageEvents_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.passkit.grpc.Tracking.GoogleAnalyticsDataCollectionPageEvent>() {
public com.passkit.grpc.Tracking.GoogleAnalyticsDataCollectionPageEvent convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
com.passkit.grpc.Tracking.GoogleAnalyticsDataCollectionPageEvent result = com.passkit.grpc.Tracking.GoogleAnalyticsDataCollectionPageEvent.valueOf(from);
return result == null ? com.passkit.grpc.Tracking.GoogleAnalyticsDataCollectionPageEvent.UNRECOGNIZED : result;
}
};
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @return A list containing the dataCollectionPageEvents.
*/
@java.lang.Override
public java.util.List getDataCollectionPageEventsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.passkit.grpc.Tracking.GoogleAnalyticsDataCollectionPageEvent>(dataCollectionPageEvents_, dataCollectionPageEvents_converter_);
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @return The count of dataCollectionPageEvents.
*/
@java.lang.Override
public int getDataCollectionPageEventsCount() {
return dataCollectionPageEvents_.size();
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @param index The index of the element to return.
* @return The dataCollectionPageEvents at the given index.
*/
@java.lang.Override
public com.passkit.grpc.Tracking.GoogleAnalyticsDataCollectionPageEvent getDataCollectionPageEvents(int index) {
return dataCollectionPageEvents_converter_.convert(dataCollectionPageEvents_.get(index));
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @return A list containing the enum numeric values on the wire for dataCollectionPageEvents.
*/
@java.lang.Override
public java.util.List
getDataCollectionPageEventsValueList() {
return dataCollectionPageEvents_;
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of dataCollectionPageEvents at the given index.
*/
@java.lang.Override
public int getDataCollectionPageEventsValue(int index) {
return dataCollectionPageEvents_.get(index);
}
private int dataCollectionPageEventsMemoizedSerializedSize;
public static final int PASSRENDERPAGEEVENTS_FIELD_NUMBER = 3;
private java.util.List passRenderPageEvents_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.passkit.grpc.Tracking.GoogleAnalyticsPassRenderPageEvent> passRenderPageEvents_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.passkit.grpc.Tracking.GoogleAnalyticsPassRenderPageEvent>() {
public com.passkit.grpc.Tracking.GoogleAnalyticsPassRenderPageEvent convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
com.passkit.grpc.Tracking.GoogleAnalyticsPassRenderPageEvent result = com.passkit.grpc.Tracking.GoogleAnalyticsPassRenderPageEvent.valueOf(from);
return result == null ? com.passkit.grpc.Tracking.GoogleAnalyticsPassRenderPageEvent.UNRECOGNIZED : result;
}
};
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @return A list containing the passRenderPageEvents.
*/
@java.lang.Override
public java.util.List getPassRenderPageEventsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.passkit.grpc.Tracking.GoogleAnalyticsPassRenderPageEvent>(passRenderPageEvents_, passRenderPageEvents_converter_);
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @return The count of passRenderPageEvents.
*/
@java.lang.Override
public int getPassRenderPageEventsCount() {
return passRenderPageEvents_.size();
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @param index The index of the element to return.
* @return The passRenderPageEvents at the given index.
*/
@java.lang.Override
public com.passkit.grpc.Tracking.GoogleAnalyticsPassRenderPageEvent getPassRenderPageEvents(int index) {
return passRenderPageEvents_converter_.convert(passRenderPageEvents_.get(index));
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @return A list containing the enum numeric values on the wire for passRenderPageEvents.
*/
@java.lang.Override
public java.util.List
getPassRenderPageEventsValueList() {
return passRenderPageEvents_;
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of passRenderPageEvents at the given index.
*/
@java.lang.Override
public int getPassRenderPageEventsValue(int index) {
return passRenderPageEvents_.get(index);
}
private int passRenderPageEventsMemoizedSerializedSize;
public static final int CUSTOMERINITIATEDREDEMPTION_FIELD_NUMBER = 4;
private java.util.List customerInitiatedRedemption_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.passkit.grpc.Tracking.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent> customerInitiatedRedemption_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.passkit.grpc.Tracking.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent>() {
public com.passkit.grpc.Tracking.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
com.passkit.grpc.Tracking.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent result = com.passkit.grpc.Tracking.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent.valueOf(from);
return result == null ? com.passkit.grpc.Tracking.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent.UNRECOGNIZED : result;
}
};
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @return A list containing the customerInitiatedRedemption.
*/
@java.lang.Override
public java.util.List getCustomerInitiatedRedemptionList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.passkit.grpc.Tracking.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent>(customerInitiatedRedemption_, customerInitiatedRedemption_converter_);
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @return The count of customerInitiatedRedemption.
*/
@java.lang.Override
public int getCustomerInitiatedRedemptionCount() {
return customerInitiatedRedemption_.size();
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @param index The index of the element to return.
* @return The customerInitiatedRedemption at the given index.
*/
@java.lang.Override
public com.passkit.grpc.Tracking.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent getCustomerInitiatedRedemption(int index) {
return customerInitiatedRedemption_converter_.convert(customerInitiatedRedemption_.get(index));
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @return A list containing the enum numeric values on the wire for customerInitiatedRedemption.
*/
@java.lang.Override
public java.util.List
getCustomerInitiatedRedemptionValueList() {
return customerInitiatedRedemption_;
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of customerInitiatedRedemption at the given index.
*/
@java.lang.Override
public int getCustomerInitiatedRedemptionValue(int index) {
return customerInitiatedRedemption_.get(index);
}
private int customerInitiatedRedemptionMemoizedSerializedSize;
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();
for (int i = 0; i < trackingIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, trackingIds_.getRaw(i));
}
if (getDataCollectionPageEventsList().size() > 0) {
output.writeUInt32NoTag(18);
output.writeUInt32NoTag(dataCollectionPageEventsMemoizedSerializedSize);
}
for (int i = 0; i < dataCollectionPageEvents_.size(); i++) {
output.writeEnumNoTag(dataCollectionPageEvents_.get(i));
}
if (getPassRenderPageEventsList().size() > 0) {
output.writeUInt32NoTag(26);
output.writeUInt32NoTag(passRenderPageEventsMemoizedSerializedSize);
}
for (int i = 0; i < passRenderPageEvents_.size(); i++) {
output.writeEnumNoTag(passRenderPageEvents_.get(i));
}
if (getCustomerInitiatedRedemptionList().size() > 0) {
output.writeUInt32NoTag(34);
output.writeUInt32NoTag(customerInitiatedRedemptionMemoizedSerializedSize);
}
for (int i = 0; i < customerInitiatedRedemption_.size(); i++) {
output.writeEnumNoTag(customerInitiatedRedemption_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < trackingIds_.size(); i++) {
dataSize += computeStringSizeNoTag(trackingIds_.getRaw(i));
}
size += dataSize;
size += 1 * getTrackingIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < dataCollectionPageEvents_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(dataCollectionPageEvents_.get(i));
}
size += dataSize;
if (!getDataCollectionPageEventsList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}dataCollectionPageEventsMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < passRenderPageEvents_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(passRenderPageEvents_.get(i));
}
size += dataSize;
if (!getPassRenderPageEventsList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}passRenderPageEventsMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < customerInitiatedRedemption_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(customerInitiatedRedemption_.get(i));
}
size += dataSize;
if (!getCustomerInitiatedRedemptionList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}customerInitiatedRedemptionMemoizedSerializedSize = dataSize;
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.passkit.grpc.Tracking.GoogleAnalyticsSettings)) {
return super.equals(obj);
}
com.passkit.grpc.Tracking.GoogleAnalyticsSettings other = (com.passkit.grpc.Tracking.GoogleAnalyticsSettings) obj;
if (!getTrackingIdsList()
.equals(other.getTrackingIdsList())) return false;
if (!dataCollectionPageEvents_.equals(other.dataCollectionPageEvents_)) return false;
if (!passRenderPageEvents_.equals(other.passRenderPageEvents_)) return false;
if (!customerInitiatedRedemption_.equals(other.customerInitiatedRedemption_)) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getTrackingIdsCount() > 0) {
hash = (37 * hash) + TRACKINGIDS_FIELD_NUMBER;
hash = (53 * hash) + getTrackingIdsList().hashCode();
}
if (getDataCollectionPageEventsCount() > 0) {
hash = (37 * hash) + DATACOLLECTIONPAGEEVENTS_FIELD_NUMBER;
hash = (53 * hash) + dataCollectionPageEvents_.hashCode();
}
if (getPassRenderPageEventsCount() > 0) {
hash = (37 * hash) + PASSRENDERPAGEEVENTS_FIELD_NUMBER;
hash = (53 * hash) + passRenderPageEvents_.hashCode();
}
if (getCustomerInitiatedRedemptionCount() > 0) {
hash = (37 * hash) + CUSTOMERINITIATEDREDEMPTION_FIELD_NUMBER;
hash = (53 * hash) + customerInitiatedRedemption_.hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.Tracking.GoogleAnalyticsSettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Tracking.GoogleAnalyticsSettings 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.Tracking.GoogleAnalyticsSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Tracking.GoogleAnalyticsSettings 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.Tracking.GoogleAnalyticsSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Tracking.GoogleAnalyticsSettings parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Tracking.GoogleAnalyticsSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Tracking.GoogleAnalyticsSettings 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.Tracking.GoogleAnalyticsSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.Tracking.GoogleAnalyticsSettings 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.Tracking.GoogleAnalyticsSettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Tracking.GoogleAnalyticsSettings 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.Tracking.GoogleAnalyticsSettings 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.GoogleAnalyticsSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.GoogleAnalyticsSettings)
com.passkit.grpc.Tracking.GoogleAnalyticsSettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Tracking.internal_static_io_GoogleAnalyticsSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Tracking.internal_static_io_GoogleAnalyticsSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Tracking.GoogleAnalyticsSettings.class, com.passkit.grpc.Tracking.GoogleAnalyticsSettings.Builder.class);
}
// Construct using com.passkit.grpc.Tracking.GoogleAnalyticsSettings.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();
trackingIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
dataCollectionPageEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
passRenderPageEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
customerInitiatedRedemption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.Tracking.internal_static_io_GoogleAnalyticsSettings_descriptor;
}
@java.lang.Override
public com.passkit.grpc.Tracking.GoogleAnalyticsSettings getDefaultInstanceForType() {
return com.passkit.grpc.Tracking.GoogleAnalyticsSettings.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.Tracking.GoogleAnalyticsSettings build() {
com.passkit.grpc.Tracking.GoogleAnalyticsSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.Tracking.GoogleAnalyticsSettings buildPartial() {
com.passkit.grpc.Tracking.GoogleAnalyticsSettings result = new com.passkit.grpc.Tracking.GoogleAnalyticsSettings(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
trackingIds_ = trackingIds_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.trackingIds_ = trackingIds_;
if (((bitField0_ & 0x00000002) != 0)) {
dataCollectionPageEvents_ = java.util.Collections.unmodifiableList(dataCollectionPageEvents_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.dataCollectionPageEvents_ = dataCollectionPageEvents_;
if (((bitField0_ & 0x00000004) != 0)) {
passRenderPageEvents_ = java.util.Collections.unmodifiableList(passRenderPageEvents_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.passRenderPageEvents_ = passRenderPageEvents_;
if (((bitField0_ & 0x00000008) != 0)) {
customerInitiatedRedemption_ = java.util.Collections.unmodifiableList(customerInitiatedRedemption_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.customerInitiatedRedemption_ = customerInitiatedRedemption_;
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.Tracking.GoogleAnalyticsSettings) {
return mergeFrom((com.passkit.grpc.Tracking.GoogleAnalyticsSettings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.Tracking.GoogleAnalyticsSettings other) {
if (other == com.passkit.grpc.Tracking.GoogleAnalyticsSettings.getDefaultInstance()) return this;
if (!other.trackingIds_.isEmpty()) {
if (trackingIds_.isEmpty()) {
trackingIds_ = other.trackingIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTrackingIdsIsMutable();
trackingIds_.addAll(other.trackingIds_);
}
onChanged();
}
if (!other.dataCollectionPageEvents_.isEmpty()) {
if (dataCollectionPageEvents_.isEmpty()) {
dataCollectionPageEvents_ = other.dataCollectionPageEvents_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureDataCollectionPageEventsIsMutable();
dataCollectionPageEvents_.addAll(other.dataCollectionPageEvents_);
}
onChanged();
}
if (!other.passRenderPageEvents_.isEmpty()) {
if (passRenderPageEvents_.isEmpty()) {
passRenderPageEvents_ = other.passRenderPageEvents_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensurePassRenderPageEventsIsMutable();
passRenderPageEvents_.addAll(other.passRenderPageEvents_);
}
onChanged();
}
if (!other.customerInitiatedRedemption_.isEmpty()) {
if (customerInitiatedRedemption_.isEmpty()) {
customerInitiatedRedemption_ = other.customerInitiatedRedemption_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureCustomerInitiatedRedemptionIsMutable();
customerInitiatedRedemption_.addAll(other.customerInitiatedRedemption_);
}
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.Tracking.GoogleAnalyticsSettings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.Tracking.GoogleAnalyticsSettings) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList trackingIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTrackingIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
trackingIds_ = new com.google.protobuf.LazyStringArrayList(trackingIds_);
bitField0_ |= 0x00000001;
}
}
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @return A list containing the trackingIds.
*/
public com.google.protobuf.ProtocolStringList
getTrackingIdsList() {
return trackingIds_.getUnmodifiableView();
}
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @return The count of trackingIds.
*/
public int getTrackingIdsCount() {
return trackingIds_.size();
}
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @param index The index of the element to return.
* @return The trackingIds at the given index.
*/
public java.lang.String getTrackingIds(int index) {
return trackingIds_.get(index);
}
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @param index The index of the value to return.
* @return The bytes of the trackingIds at the given index.
*/
public com.google.protobuf.ByteString
getTrackingIdsBytes(int index) {
return trackingIds_.getByteString(index);
}
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @param index The index to set the value at.
* @param value The trackingIds to set.
* @return This builder for chaining.
*/
public Builder setTrackingIds(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTrackingIdsIsMutable();
trackingIds_.set(index, value);
onChanged();
return this;
}
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @param value The trackingIds to add.
* @return This builder for chaining.
*/
public Builder addTrackingIds(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTrackingIdsIsMutable();
trackingIds_.add(value);
onChanged();
return this;
}
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @param values The trackingIds to add.
* @return This builder for chaining.
*/
public Builder addAllTrackingIds(
java.lang.Iterable values) {
ensureTrackingIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, trackingIds_);
onChanged();
return this;
}
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @return This builder for chaining.
*/
public Builder clearTrackingIds() {
trackingIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
*
*
* repeated string trackingIds = 1;
* @param value The bytes of the trackingIds to add.
* @return This builder for chaining.
*/
public Builder addTrackingIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureTrackingIdsIsMutable();
trackingIds_.add(value);
onChanged();
return this;
}
private java.util.List dataCollectionPageEvents_ =
java.util.Collections.emptyList();
private void ensureDataCollectionPageEventsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
dataCollectionPageEvents_ = new java.util.ArrayList(dataCollectionPageEvents_);
bitField0_ |= 0x00000002;
}
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @return A list containing the dataCollectionPageEvents.
*/
public java.util.List getDataCollectionPageEventsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.passkit.grpc.Tracking.GoogleAnalyticsDataCollectionPageEvent>(dataCollectionPageEvents_, dataCollectionPageEvents_converter_);
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @return The count of dataCollectionPageEvents.
*/
public int getDataCollectionPageEventsCount() {
return dataCollectionPageEvents_.size();
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @param index The index of the element to return.
* @return The dataCollectionPageEvents at the given index.
*/
public com.passkit.grpc.Tracking.GoogleAnalyticsDataCollectionPageEvent getDataCollectionPageEvents(int index) {
return dataCollectionPageEvents_converter_.convert(dataCollectionPageEvents_.get(index));
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @param index The index to set the value at.
* @param value The dataCollectionPageEvents to set.
* @return This builder for chaining.
*/
public Builder setDataCollectionPageEvents(
int index, com.passkit.grpc.Tracking.GoogleAnalyticsDataCollectionPageEvent value) {
if (value == null) {
throw new NullPointerException();
}
ensureDataCollectionPageEventsIsMutable();
dataCollectionPageEvents_.set(index, value.getNumber());
onChanged();
return this;
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @param value The dataCollectionPageEvents to add.
* @return This builder for chaining.
*/
public Builder addDataCollectionPageEvents(com.passkit.grpc.Tracking.GoogleAnalyticsDataCollectionPageEvent value) {
if (value == null) {
throw new NullPointerException();
}
ensureDataCollectionPageEventsIsMutable();
dataCollectionPageEvents_.add(value.getNumber());
onChanged();
return this;
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @param values The dataCollectionPageEvents to add.
* @return This builder for chaining.
*/
public Builder addAllDataCollectionPageEvents(
java.lang.Iterable extends com.passkit.grpc.Tracking.GoogleAnalyticsDataCollectionPageEvent> values) {
ensureDataCollectionPageEventsIsMutable();
for (com.passkit.grpc.Tracking.GoogleAnalyticsDataCollectionPageEvent value : values) {
dataCollectionPageEvents_.add(value.getNumber());
}
onChanged();
return this;
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @return This builder for chaining.
*/
public Builder clearDataCollectionPageEvents() {
dataCollectionPageEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @return A list containing the enum numeric values on the wire for dataCollectionPageEvents.
*/
public java.util.List
getDataCollectionPageEventsValueList() {
return java.util.Collections.unmodifiableList(dataCollectionPageEvents_);
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of dataCollectionPageEvents at the given index.
*/
public int getDataCollectionPageEventsValue(int index) {
return dataCollectionPageEvents_.get(index);
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of dataCollectionPageEvents at the given index.
* @return This builder for chaining.
*/
public Builder setDataCollectionPageEventsValue(
int index, int value) {
ensureDataCollectionPageEventsIsMutable();
dataCollectionPageEvents_.set(index, value);
onChanged();
return this;
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @param value The enum numeric value on the wire for dataCollectionPageEvents to add.
* @return This builder for chaining.
*/
public Builder addDataCollectionPageEventsValue(int value) {
ensureDataCollectionPageEventsIsMutable();
dataCollectionPageEvents_.add(value);
onChanged();
return this;
}
/**
*
* Events to send to Google on the data collection page.
*
*
* repeated .io.GoogleAnalyticsDataCollectionPageEvent dataCollectionPageEvents = 2;
* @param values The enum numeric values on the wire for dataCollectionPageEvents to add.
* @return This builder for chaining.
*/
public Builder addAllDataCollectionPageEventsValue(
java.lang.Iterable values) {
ensureDataCollectionPageEventsIsMutable();
for (int value : values) {
dataCollectionPageEvents_.add(value);
}
onChanged();
return this;
}
private java.util.List passRenderPageEvents_ =
java.util.Collections.emptyList();
private void ensurePassRenderPageEventsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
passRenderPageEvents_ = new java.util.ArrayList(passRenderPageEvents_);
bitField0_ |= 0x00000004;
}
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @return A list containing the passRenderPageEvents.
*/
public java.util.List getPassRenderPageEventsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.passkit.grpc.Tracking.GoogleAnalyticsPassRenderPageEvent>(passRenderPageEvents_, passRenderPageEvents_converter_);
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @return The count of passRenderPageEvents.
*/
public int getPassRenderPageEventsCount() {
return passRenderPageEvents_.size();
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @param index The index of the element to return.
* @return The passRenderPageEvents at the given index.
*/
public com.passkit.grpc.Tracking.GoogleAnalyticsPassRenderPageEvent getPassRenderPageEvents(int index) {
return passRenderPageEvents_converter_.convert(passRenderPageEvents_.get(index));
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @param index The index to set the value at.
* @param value The passRenderPageEvents to set.
* @return This builder for chaining.
*/
public Builder setPassRenderPageEvents(
int index, com.passkit.grpc.Tracking.GoogleAnalyticsPassRenderPageEvent value) {
if (value == null) {
throw new NullPointerException();
}
ensurePassRenderPageEventsIsMutable();
passRenderPageEvents_.set(index, value.getNumber());
onChanged();
return this;
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @param value The passRenderPageEvents to add.
* @return This builder for chaining.
*/
public Builder addPassRenderPageEvents(com.passkit.grpc.Tracking.GoogleAnalyticsPassRenderPageEvent value) {
if (value == null) {
throw new NullPointerException();
}
ensurePassRenderPageEventsIsMutable();
passRenderPageEvents_.add(value.getNumber());
onChanged();
return this;
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @param values The passRenderPageEvents to add.
* @return This builder for chaining.
*/
public Builder addAllPassRenderPageEvents(
java.lang.Iterable extends com.passkit.grpc.Tracking.GoogleAnalyticsPassRenderPageEvent> values) {
ensurePassRenderPageEventsIsMutable();
for (com.passkit.grpc.Tracking.GoogleAnalyticsPassRenderPageEvent value : values) {
passRenderPageEvents_.add(value.getNumber());
}
onChanged();
return this;
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @return This builder for chaining.
*/
public Builder clearPassRenderPageEvents() {
passRenderPageEvents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @return A list containing the enum numeric values on the wire for passRenderPageEvents.
*/
public java.util.List
getPassRenderPageEventsValueList() {
return java.util.Collections.unmodifiableList(passRenderPageEvents_);
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of passRenderPageEvents at the given index.
*/
public int getPassRenderPageEventsValue(int index) {
return passRenderPageEvents_.get(index);
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of passRenderPageEvents at the given index.
* @return This builder for chaining.
*/
public Builder setPassRenderPageEventsValue(
int index, int value) {
ensurePassRenderPageEventsIsMutable();
passRenderPageEvents_.set(index, value);
onChanged();
return this;
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @param value The enum numeric value on the wire for passRenderPageEvents to add.
* @return This builder for chaining.
*/
public Builder addPassRenderPageEventsValue(int value) {
ensurePassRenderPageEventsIsMutable();
passRenderPageEvents_.add(value);
onChanged();
return this;
}
/**
*
* Events to send to Google on the pass render page.
*
*
* repeated .io.GoogleAnalyticsPassRenderPageEvent passRenderPageEvents = 3;
* @param values The enum numeric values on the wire for passRenderPageEvents to add.
* @return This builder for chaining.
*/
public Builder addAllPassRenderPageEventsValue(
java.lang.Iterable values) {
ensurePassRenderPageEventsIsMutable();
for (int value : values) {
passRenderPageEvents_.add(value);
}
onChanged();
return this;
}
private java.util.List customerInitiatedRedemption_ =
java.util.Collections.emptyList();
private void ensureCustomerInitiatedRedemptionIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
customerInitiatedRedemption_ = new java.util.ArrayList(customerInitiatedRedemption_);
bitField0_ |= 0x00000008;
}
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @return A list containing the customerInitiatedRedemption.
*/
public java.util.List getCustomerInitiatedRedemptionList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.passkit.grpc.Tracking.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent>(customerInitiatedRedemption_, customerInitiatedRedemption_converter_);
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @return The count of customerInitiatedRedemption.
*/
public int getCustomerInitiatedRedemptionCount() {
return customerInitiatedRedemption_.size();
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @param index The index of the element to return.
* @return The customerInitiatedRedemption at the given index.
*/
public com.passkit.grpc.Tracking.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent getCustomerInitiatedRedemption(int index) {
return customerInitiatedRedemption_converter_.convert(customerInitiatedRedemption_.get(index));
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @param index The index to set the value at.
* @param value The customerInitiatedRedemption to set.
* @return This builder for chaining.
*/
public Builder setCustomerInitiatedRedemption(
int index, com.passkit.grpc.Tracking.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent value) {
if (value == null) {
throw new NullPointerException();
}
ensureCustomerInitiatedRedemptionIsMutable();
customerInitiatedRedemption_.set(index, value.getNumber());
onChanged();
return this;
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @param value The customerInitiatedRedemption to add.
* @return This builder for chaining.
*/
public Builder addCustomerInitiatedRedemption(com.passkit.grpc.Tracking.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent value) {
if (value == null) {
throw new NullPointerException();
}
ensureCustomerInitiatedRedemptionIsMutable();
customerInitiatedRedemption_.add(value.getNumber());
onChanged();
return this;
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @param values The customerInitiatedRedemption to add.
* @return This builder for chaining.
*/
public Builder addAllCustomerInitiatedRedemption(
java.lang.Iterable extends com.passkit.grpc.Tracking.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent> values) {
ensureCustomerInitiatedRedemptionIsMutable();
for (com.passkit.grpc.Tracking.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent value : values) {
customerInitiatedRedemption_.add(value.getNumber());
}
onChanged();
return this;
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @return This builder for chaining.
*/
public Builder clearCustomerInitiatedRedemption() {
customerInitiatedRedemption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @return A list containing the enum numeric values on the wire for customerInitiatedRedemption.
*/
public java.util.List
getCustomerInitiatedRedemptionValueList() {
return java.util.Collections.unmodifiableList(customerInitiatedRedemption_);
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of customerInitiatedRedemption at the given index.
*/
public int getCustomerInitiatedRedemptionValue(int index) {
return customerInitiatedRedemption_.get(index);
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of customerInitiatedRedemption at the given index.
* @return This builder for chaining.
*/
public Builder setCustomerInitiatedRedemptionValue(
int index, int value) {
ensureCustomerInitiatedRedemptionIsMutable();
customerInitiatedRedemption_.set(index, value);
onChanged();
return this;
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @param value The enum numeric value on the wire for customerInitiatedRedemption to add.
* @return This builder for chaining.
*/
public Builder addCustomerInitiatedRedemptionValue(int value) {
ensureCustomerInitiatedRedemptionIsMutable();
customerInitiatedRedemption_.add(value);
onChanged();
return this;
}
/**
*
* Events to send to Google on the custom initiated redemption page.
*
*
* repeated .io.GoogleAnalyticsCustomerInitiatedRedemptionPageEvent customerInitiatedRedemption = 4;
* @param values The enum numeric values on the wire for customerInitiatedRedemption to add.
* @return This builder for chaining.
*/
public Builder addAllCustomerInitiatedRedemptionValue(
java.lang.Iterable values) {
ensureCustomerInitiatedRedemptionIsMutable();
for (int value : values) {
customerInitiatedRedemption_.add(value);
}
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:io.GoogleAnalyticsSettings)
}
// @@protoc_insertion_point(class_scope:io.GoogleAnalyticsSettings)
private static final com.passkit.grpc.Tracking.GoogleAnalyticsSettings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.Tracking.GoogleAnalyticsSettings();
}
public static com.passkit.grpc.Tracking.GoogleAnalyticsSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GoogleAnalyticsSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GoogleAnalyticsSettings(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.Tracking.GoogleAnalyticsSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TrackingSettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.TrackingSettings)
com.google.protobuf.MessageOrBuilder {
/**
*
* Facebook Pixel settings
*
*
* .io.FacebookPixelSettings facebookPixelSettings = 1;
* @return Whether the facebookPixelSettings field is set.
*/
boolean hasFacebookPixelSettings();
/**
*
* Facebook Pixel settings
*
*
* .io.FacebookPixelSettings facebookPixelSettings = 1;
* @return The facebookPixelSettings.
*/
com.passkit.grpc.Tracking.FacebookPixelSettings getFacebookPixelSettings();
/**
*
* Facebook Pixel settings
*
*
* .io.FacebookPixelSettings facebookPixelSettings = 1;
*/
com.passkit.grpc.Tracking.FacebookPixelSettingsOrBuilder getFacebookPixelSettingsOrBuilder();
/**
*
* Google Analytics settings
*
*
* .io.GoogleAnalyticsSettings googleAnalyticsSettings = 2;
* @return Whether the googleAnalyticsSettings field is set.
*/
boolean hasGoogleAnalyticsSettings();
/**
*
* Google Analytics settings
*
*
* .io.GoogleAnalyticsSettings googleAnalyticsSettings = 2;
* @return The googleAnalyticsSettings.
*/
com.passkit.grpc.Tracking.GoogleAnalyticsSettings getGoogleAnalyticsSettings();
/**
*
* Google Analytics settings
*
*
* .io.GoogleAnalyticsSettings googleAnalyticsSettings = 2;
*/
com.passkit.grpc.Tracking.GoogleAnalyticsSettingsOrBuilder getGoogleAnalyticsSettingsOrBuilder();
}
/**
* Protobuf type {@code io.TrackingSettings}
*/
public static final class TrackingSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.TrackingSettings)
TrackingSettingsOrBuilder {
private static final long serialVersionUID = 0L;
// Use TrackingSettings.newBuilder() to construct.
private TrackingSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TrackingSettings() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TrackingSettings();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TrackingSettings(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.passkit.grpc.Tracking.FacebookPixelSettings.Builder subBuilder = null;
if (facebookPixelSettings_ != null) {
subBuilder = facebookPixelSettings_.toBuilder();
}
facebookPixelSettings_ = input.readMessage(com.passkit.grpc.Tracking.FacebookPixelSettings.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(facebookPixelSettings_);
facebookPixelSettings_ = subBuilder.buildPartial();
}
break;
}
case 18: {
com.passkit.grpc.Tracking.GoogleAnalyticsSettings.Builder subBuilder = null;
if (googleAnalyticsSettings_ != null) {
subBuilder = googleAnalyticsSettings_.toBuilder();
}
googleAnalyticsSettings_ = input.readMessage(com.passkit.grpc.Tracking.GoogleAnalyticsSettings.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(googleAnalyticsSettings_);
googleAnalyticsSettings_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Tracking.internal_static_io_TrackingSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Tracking.internal_static_io_TrackingSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Tracking.TrackingSettings.class, com.passkit.grpc.Tracking.TrackingSettings.Builder.class);
}
public static final int FACEBOOKPIXELSETTINGS_FIELD_NUMBER = 1;
private com.passkit.grpc.Tracking.FacebookPixelSettings facebookPixelSettings_;
/**
*
* Facebook Pixel settings
*
*
* .io.FacebookPixelSettings facebookPixelSettings = 1;
* @return Whether the facebookPixelSettings field is set.
*/
@java.lang.Override
public boolean hasFacebookPixelSettings() {
return facebookPixelSettings_ != null;
}
/**
*
* Facebook Pixel settings
*
*
* .io.FacebookPixelSettings facebookPixelSettings = 1;
* @return The facebookPixelSettings.
*/
@java.lang.Override
public com.passkit.grpc.Tracking.FacebookPixelSettings getFacebookPixelSettings() {
return facebookPixelSettings_ == null ? com.passkit.grpc.Tracking.FacebookPixelSettings.getDefaultInstance() : facebookPixelSettings_;
}
/**
*
* Facebook Pixel settings
*
*
* .io.FacebookPixelSettings facebookPixelSettings = 1;
*/
@java.lang.Override
public com.passkit.grpc.Tracking.FacebookPixelSettingsOrBuilder getFacebookPixelSettingsOrBuilder() {
return getFacebookPixelSettings();
}
public static final int GOOGLEANALYTICSSETTINGS_FIELD_NUMBER = 2;
private com.passkit.grpc.Tracking.GoogleAnalyticsSettings googleAnalyticsSettings_;
/**
*
* Google Analytics settings
*
*
* .io.GoogleAnalyticsSettings googleAnalyticsSettings = 2;
* @return Whether the googleAnalyticsSettings field is set.
*/
@java.lang.Override
public boolean hasGoogleAnalyticsSettings() {
return googleAnalyticsSettings_ != null;
}
/**
*
* Google Analytics settings
*
*
* .io.GoogleAnalyticsSettings googleAnalyticsSettings = 2;
* @return The googleAnalyticsSettings.
*/
@java.lang.Override
public com.passkit.grpc.Tracking.GoogleAnalyticsSettings getGoogleAnalyticsSettings() {
return googleAnalyticsSettings_ == null ? com.passkit.grpc.Tracking.GoogleAnalyticsSettings.getDefaultInstance() : googleAnalyticsSettings_;
}
/**
*
* Google Analytics settings
*
*
* .io.GoogleAnalyticsSettings googleAnalyticsSettings = 2;
*/
@java.lang.Override
public com.passkit.grpc.Tracking.GoogleAnalyticsSettingsOrBuilder getGoogleAnalyticsSettingsOrBuilder() {
return getGoogleAnalyticsSettings();
}
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 (facebookPixelSettings_ != null) {
output.writeMessage(1, getFacebookPixelSettings());
}
if (googleAnalyticsSettings_ != null) {
output.writeMessage(2, getGoogleAnalyticsSettings());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (facebookPixelSettings_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getFacebookPixelSettings());
}
if (googleAnalyticsSettings_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getGoogleAnalyticsSettings());
}
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.Tracking.TrackingSettings)) {
return super.equals(obj);
}
com.passkit.grpc.Tracking.TrackingSettings other = (com.passkit.grpc.Tracking.TrackingSettings) obj;
if (hasFacebookPixelSettings() != other.hasFacebookPixelSettings()) return false;
if (hasFacebookPixelSettings()) {
if (!getFacebookPixelSettings()
.equals(other.getFacebookPixelSettings())) return false;
}
if (hasGoogleAnalyticsSettings() != other.hasGoogleAnalyticsSettings()) return false;
if (hasGoogleAnalyticsSettings()) {
if (!getGoogleAnalyticsSettings()
.equals(other.getGoogleAnalyticsSettings())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasFacebookPixelSettings()) {
hash = (37 * hash) + FACEBOOKPIXELSETTINGS_FIELD_NUMBER;
hash = (53 * hash) + getFacebookPixelSettings().hashCode();
}
if (hasGoogleAnalyticsSettings()) {
hash = (37 * hash) + GOOGLEANALYTICSSETTINGS_FIELD_NUMBER;
hash = (53 * hash) + getGoogleAnalyticsSettings().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.Tracking.TrackingSettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Tracking.TrackingSettings 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.Tracking.TrackingSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Tracking.TrackingSettings 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.Tracking.TrackingSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Tracking.TrackingSettings parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Tracking.TrackingSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Tracking.TrackingSettings 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.Tracking.TrackingSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.Tracking.TrackingSettings 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.Tracking.TrackingSettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Tracking.TrackingSettings 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.Tracking.TrackingSettings 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.TrackingSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.TrackingSettings)
com.passkit.grpc.Tracking.TrackingSettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Tracking.internal_static_io_TrackingSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Tracking.internal_static_io_TrackingSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Tracking.TrackingSettings.class, com.passkit.grpc.Tracking.TrackingSettings.Builder.class);
}
// Construct using com.passkit.grpc.Tracking.TrackingSettings.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (facebookPixelSettingsBuilder_ == null) {
facebookPixelSettings_ = null;
} else {
facebookPixelSettings_ = null;
facebookPixelSettingsBuilder_ = null;
}
if (googleAnalyticsSettingsBuilder_ == null) {
googleAnalyticsSettings_ = null;
} else {
googleAnalyticsSettings_ = null;
googleAnalyticsSettingsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.Tracking.internal_static_io_TrackingSettings_descriptor;
}
@java.lang.Override
public com.passkit.grpc.Tracking.TrackingSettings getDefaultInstanceForType() {
return com.passkit.grpc.Tracking.TrackingSettings.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.Tracking.TrackingSettings build() {
com.passkit.grpc.Tracking.TrackingSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.Tracking.TrackingSettings buildPartial() {
com.passkit.grpc.Tracking.TrackingSettings result = new com.passkit.grpc.Tracking.TrackingSettings(this);
if (facebookPixelSettingsBuilder_ == null) {
result.facebookPixelSettings_ = facebookPixelSettings_;
} else {
result.facebookPixelSettings_ = facebookPixelSettingsBuilder_.build();
}
if (googleAnalyticsSettingsBuilder_ == null) {
result.googleAnalyticsSettings_ = googleAnalyticsSettings_;
} else {
result.googleAnalyticsSettings_ = googleAnalyticsSettingsBuilder_.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.Tracking.TrackingSettings) {
return mergeFrom((com.passkit.grpc.Tracking.TrackingSettings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.Tracking.TrackingSettings other) {
if (other == com.passkit.grpc.Tracking.TrackingSettings.getDefaultInstance()) return this;
if (other.hasFacebookPixelSettings()) {
mergeFacebookPixelSettings(other.getFacebookPixelSettings());
}
if (other.hasGoogleAnalyticsSettings()) {
mergeGoogleAnalyticsSettings(other.getGoogleAnalyticsSettings());
}
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.Tracking.TrackingSettings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.Tracking.TrackingSettings) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.passkit.grpc.Tracking.FacebookPixelSettings facebookPixelSettings_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Tracking.FacebookPixelSettings, com.passkit.grpc.Tracking.FacebookPixelSettings.Builder, com.passkit.grpc.Tracking.FacebookPixelSettingsOrBuilder> facebookPixelSettingsBuilder_;
/**
*
* Facebook Pixel settings
*
*
* .io.FacebookPixelSettings facebookPixelSettings = 1;
* @return Whether the facebookPixelSettings field is set.
*/
public boolean hasFacebookPixelSettings() {
return facebookPixelSettingsBuilder_ != null || facebookPixelSettings_ != null;
}
/**
*
* Facebook Pixel settings
*
*
* .io.FacebookPixelSettings facebookPixelSettings = 1;
* @return The facebookPixelSettings.
*/
public com.passkit.grpc.Tracking.FacebookPixelSettings getFacebookPixelSettings() {
if (facebookPixelSettingsBuilder_ == null) {
return facebookPixelSettings_ == null ? com.passkit.grpc.Tracking.FacebookPixelSettings.getDefaultInstance() : facebookPixelSettings_;
} else {
return facebookPixelSettingsBuilder_.getMessage();
}
}
/**
*
* Facebook Pixel settings
*
*
* .io.FacebookPixelSettings facebookPixelSettings = 1;
*/
public Builder setFacebookPixelSettings(com.passkit.grpc.Tracking.FacebookPixelSettings value) {
if (facebookPixelSettingsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
facebookPixelSettings_ = value;
onChanged();
} else {
facebookPixelSettingsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Facebook Pixel settings
*
*
* .io.FacebookPixelSettings facebookPixelSettings = 1;
*/
public Builder setFacebookPixelSettings(
com.passkit.grpc.Tracking.FacebookPixelSettings.Builder builderForValue) {
if (facebookPixelSettingsBuilder_ == null) {
facebookPixelSettings_ = builderForValue.build();
onChanged();
} else {
facebookPixelSettingsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Facebook Pixel settings
*
*
* .io.FacebookPixelSettings facebookPixelSettings = 1;
*/
public Builder mergeFacebookPixelSettings(com.passkit.grpc.Tracking.FacebookPixelSettings value) {
if (facebookPixelSettingsBuilder_ == null) {
if (facebookPixelSettings_ != null) {
facebookPixelSettings_ =
com.passkit.grpc.Tracking.FacebookPixelSettings.newBuilder(facebookPixelSettings_).mergeFrom(value).buildPartial();
} else {
facebookPixelSettings_ = value;
}
onChanged();
} else {
facebookPixelSettingsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Facebook Pixel settings
*
*
* .io.FacebookPixelSettings facebookPixelSettings = 1;
*/
public Builder clearFacebookPixelSettings() {
if (facebookPixelSettingsBuilder_ == null) {
facebookPixelSettings_ = null;
onChanged();
} else {
facebookPixelSettings_ = null;
facebookPixelSettingsBuilder_ = null;
}
return this;
}
/**
*
* Facebook Pixel settings
*
*
* .io.FacebookPixelSettings facebookPixelSettings = 1;
*/
public com.passkit.grpc.Tracking.FacebookPixelSettings.Builder getFacebookPixelSettingsBuilder() {
onChanged();
return getFacebookPixelSettingsFieldBuilder().getBuilder();
}
/**
*
* Facebook Pixel settings
*
*
* .io.FacebookPixelSettings facebookPixelSettings = 1;
*/
public com.passkit.grpc.Tracking.FacebookPixelSettingsOrBuilder getFacebookPixelSettingsOrBuilder() {
if (facebookPixelSettingsBuilder_ != null) {
return facebookPixelSettingsBuilder_.getMessageOrBuilder();
} else {
return facebookPixelSettings_ == null ?
com.passkit.grpc.Tracking.FacebookPixelSettings.getDefaultInstance() : facebookPixelSettings_;
}
}
/**
*
* Facebook Pixel settings
*
*
* .io.FacebookPixelSettings facebookPixelSettings = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Tracking.FacebookPixelSettings, com.passkit.grpc.Tracking.FacebookPixelSettings.Builder, com.passkit.grpc.Tracking.FacebookPixelSettingsOrBuilder>
getFacebookPixelSettingsFieldBuilder() {
if (facebookPixelSettingsBuilder_ == null) {
facebookPixelSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Tracking.FacebookPixelSettings, com.passkit.grpc.Tracking.FacebookPixelSettings.Builder, com.passkit.grpc.Tracking.FacebookPixelSettingsOrBuilder>(
getFacebookPixelSettings(),
getParentForChildren(),
isClean());
facebookPixelSettings_ = null;
}
return facebookPixelSettingsBuilder_;
}
private com.passkit.grpc.Tracking.GoogleAnalyticsSettings googleAnalyticsSettings_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Tracking.GoogleAnalyticsSettings, com.passkit.grpc.Tracking.GoogleAnalyticsSettings.Builder, com.passkit.grpc.Tracking.GoogleAnalyticsSettingsOrBuilder> googleAnalyticsSettingsBuilder_;
/**
*
* Google Analytics settings
*
*
* .io.GoogleAnalyticsSettings googleAnalyticsSettings = 2;
* @return Whether the googleAnalyticsSettings field is set.
*/
public boolean hasGoogleAnalyticsSettings() {
return googleAnalyticsSettingsBuilder_ != null || googleAnalyticsSettings_ != null;
}
/**
*
* Google Analytics settings
*
*
* .io.GoogleAnalyticsSettings googleAnalyticsSettings = 2;
* @return The googleAnalyticsSettings.
*/
public com.passkit.grpc.Tracking.GoogleAnalyticsSettings getGoogleAnalyticsSettings() {
if (googleAnalyticsSettingsBuilder_ == null) {
return googleAnalyticsSettings_ == null ? com.passkit.grpc.Tracking.GoogleAnalyticsSettings.getDefaultInstance() : googleAnalyticsSettings_;
} else {
return googleAnalyticsSettingsBuilder_.getMessage();
}
}
/**
*
* Google Analytics settings
*
*
* .io.GoogleAnalyticsSettings googleAnalyticsSettings = 2;
*/
public Builder setGoogleAnalyticsSettings(com.passkit.grpc.Tracking.GoogleAnalyticsSettings value) {
if (googleAnalyticsSettingsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
googleAnalyticsSettings_ = value;
onChanged();
} else {
googleAnalyticsSettingsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Google Analytics settings
*
*
* .io.GoogleAnalyticsSettings googleAnalyticsSettings = 2;
*/
public Builder setGoogleAnalyticsSettings(
com.passkit.grpc.Tracking.GoogleAnalyticsSettings.Builder builderForValue) {
if (googleAnalyticsSettingsBuilder_ == null) {
googleAnalyticsSettings_ = builderForValue.build();
onChanged();
} else {
googleAnalyticsSettingsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Google Analytics settings
*
*
* .io.GoogleAnalyticsSettings googleAnalyticsSettings = 2;
*/
public Builder mergeGoogleAnalyticsSettings(com.passkit.grpc.Tracking.GoogleAnalyticsSettings value) {
if (googleAnalyticsSettingsBuilder_ == null) {
if (googleAnalyticsSettings_ != null) {
googleAnalyticsSettings_ =
com.passkit.grpc.Tracking.GoogleAnalyticsSettings.newBuilder(googleAnalyticsSettings_).mergeFrom(value).buildPartial();
} else {
googleAnalyticsSettings_ = value;
}
onChanged();
} else {
googleAnalyticsSettingsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Google Analytics settings
*
*
* .io.GoogleAnalyticsSettings googleAnalyticsSettings = 2;
*/
public Builder clearGoogleAnalyticsSettings() {
if (googleAnalyticsSettingsBuilder_ == null) {
googleAnalyticsSettings_ = null;
onChanged();
} else {
googleAnalyticsSettings_ = null;
googleAnalyticsSettingsBuilder_ = null;
}
return this;
}
/**
*
* Google Analytics settings
*
*
* .io.GoogleAnalyticsSettings googleAnalyticsSettings = 2;
*/
public com.passkit.grpc.Tracking.GoogleAnalyticsSettings.Builder getGoogleAnalyticsSettingsBuilder() {
onChanged();
return getGoogleAnalyticsSettingsFieldBuilder().getBuilder();
}
/**
*
* Google Analytics settings
*
*
* .io.GoogleAnalyticsSettings googleAnalyticsSettings = 2;
*/
public com.passkit.grpc.Tracking.GoogleAnalyticsSettingsOrBuilder getGoogleAnalyticsSettingsOrBuilder() {
if (googleAnalyticsSettingsBuilder_ != null) {
return googleAnalyticsSettingsBuilder_.getMessageOrBuilder();
} else {
return googleAnalyticsSettings_ == null ?
com.passkit.grpc.Tracking.GoogleAnalyticsSettings.getDefaultInstance() : googleAnalyticsSettings_;
}
}
/**
*
* Google Analytics settings
*
*
* .io.GoogleAnalyticsSettings googleAnalyticsSettings = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Tracking.GoogleAnalyticsSettings, com.passkit.grpc.Tracking.GoogleAnalyticsSettings.Builder, com.passkit.grpc.Tracking.GoogleAnalyticsSettingsOrBuilder>
getGoogleAnalyticsSettingsFieldBuilder() {
if (googleAnalyticsSettingsBuilder_ == null) {
googleAnalyticsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Tracking.GoogleAnalyticsSettings, com.passkit.grpc.Tracking.GoogleAnalyticsSettings.Builder, com.passkit.grpc.Tracking.GoogleAnalyticsSettingsOrBuilder>(
getGoogleAnalyticsSettings(),
getParentForChildren(),
isClean());
googleAnalyticsSettings_ = null;
}
return googleAnalyticsSettingsBuilder_;
}
@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.TrackingSettings)
}
// @@protoc_insertion_point(class_scope:io.TrackingSettings)
private static final com.passkit.grpc.Tracking.TrackingSettings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.Tracking.TrackingSettings();
}
public static com.passkit.grpc.Tracking.TrackingSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TrackingSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TrackingSettings(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.Tracking.TrackingSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_FacebookPixelSettings_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_FacebookPixelSettings_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_StandardEvent_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_StandardEvent_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_CustomEvent_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_CustomEvent_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_GoogleAnalyticsSettings_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_GoogleAnalyticsSettings_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_TrackingSettings_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_TrackingSettings_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\030io/common/tracking.proto\022\002io\"\220\003\n\025Faceb" +
"ookPixelSettings\022\017\n\007pixelId\030\001 \001(\t\022;\n dat" +
"aCollectionPageStandardEvents\030\002 \003(\0132\021.io" +
".StandardEvent\0227\n\036dataCollectionPageCust" +
"omEvents\030\003 \003(\0132\017.io.CustomEvent\0221\n\026passP" +
"ageStandardEvents\030\004 \003(\0132\021.io.StandardEve" +
"nt\022-\n\024passPageCustomEvents\030\005 \003(\0132\017.io.Cu" +
"stomEvent\022H\n-customerInitiatedRedemption" +
"PageStandardEvents\030\006 \003(\0132\021.io.StandardEv" +
"ent\022D\n+customerInitiatedRedemptionPageCu" +
"stomEvents\030\007 \003(\0132\017.io.CustomEvent\"R\n\rSta" +
"ndardEvent\022\'\n\005event\030\001 \001(\0162\030.io.FbPixelSt" +
"andardEvent\022\022\n\nproperties\030\003 \001(\tJ\004\010\002\020\003\"6\n" +
"\013CustomEvent\022\r\n\005event\030\001 \001(\t\022\022\n\npropertie" +
"s\030\003 \001(\tJ\004\010\002\020\003\"\240\002\n\027GoogleAnalyticsSetting" +
"s\022\023\n\013trackingIds\030\001 \003(\t\022L\n\030dataCollection" +
"PageEvents\030\002 \003(\0162*.io.GoogleAnalyticsDat" +
"aCollectionPageEvent\022D\n\024passRenderPageEv" +
"ents\030\003 \003(\0162&.io.GoogleAnalyticsPassRende" +
"rPageEvent\022\\\n\033customerInitiatedRedemptio" +
"n\030\004 \003(\01627.io.GoogleAnalyticsCustomerInit" +
"iatedRedemptionPageEvent\"\212\001\n\020TrackingSet" +
"tings\0228\n\025facebookPixelSettings\030\001 \001(\0132\031.i" +
"o.FacebookPixelSettings\022<\n\027googleAnalyti" +
"csSettings\030\002 \001(\0132\033.io.GoogleAnalyticsSet" +
"tings*\376\002\n\024FbPixelStandardEvent\022!\n\035FBP_ST" +
"ANDARD_EVENT_DO_NOT_USE\020\000\022 \n\034FBP_STANDAR" +
"D_EVENT_PAGE_VIEW\020\001\022,\n(FBP_STANDARD_EVEN" +
"T_COMPLETE_REGISTRATION\020\002\022\033\n\027FBP_STANDAR" +
"D_EVENT_LEAD\020\003\022\037\n\033FBP_STANDARD_EVENT_PUR" +
"CHASE\020\004\022\037\n\033FBP_STANDARD_EVENT_SCHEDULE\020\005" +
"\022\"\n\036FBP_STANDARD_EVENT_START_TRIAL\020\006\022)\n%" +
"FBP_STANDARD_EVENT_SUBMIT_APPLICATION\020\007\022" +
" \n\034FBP_STANDARD_EVENT_SUBSCRIBE\020\010\022#\n\037FBP" +
"_STANDARD_EVENT_VIEW_CONTENT\020\t*|\n&Google" +
"AnalyticsDataCollectionPageEvent\022\032\n\026GA_D" +
"C_EVENT_DO_NOT_USE\020\000\022\031\n\025GA_DC_EVENT_PAGE" +
"_VIEW\020\001\022\033\n\027GA_DC_EVENT_SUBMIT_FORM\020\002*\202\002\n" +
"\"GoogleAnalyticsPassRenderPageEvent\022\032\n\026G" +
"A_PP_EVENT_DO_NOT_USE\020\000\022\031\n\025GA_PP_EVENT_P" +
"AGE_VIEW\020\001\022)\n%GA_PP_EVENT_ADD_TO_APPLE_W" +
"ALLET_CLICK\020\002\022/\n+GA_PP_EVENT_VIEW_PASS_I" +
"N_APPLE_WALLET_CLICK\020\003\022(\n$GA_PP_EVENT_SA" +
"VE_TO_GOOGLE_PAY_CLICK\020\004\022\037\n\033GA_PP_EVENT_" +
"CHANGE_LANGUAGE\020\005*\212\001\n3GoogleAnalyticsCus" +
"tomerInitiatedRedemptionPageEvent\022\034\n\030GA_" +
"CIRP_EVENT_DO_NOT_USE\020\000\022\033\n\027GA_CIRP_EVENT" +
"_PAGE_VIEW\020\001\022\030\n\024GA_CIRP_EVENT_REDEEM\020\002BG" +
"\n\020com.passkit.grpcZ$stash.passkit.com/io" +
"/model/sdk/go/io\252\002\014PassKit.Grpcb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_io_FacebookPixelSettings_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_io_FacebookPixelSettings_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_FacebookPixelSettings_descriptor,
new java.lang.String[] { "PixelId", "DataCollectionPageStandardEvents", "DataCollectionPageCustomEvents", "PassPageStandardEvents", "PassPageCustomEvents", "CustomerInitiatedRedemptionPageStandardEvents", "CustomerInitiatedRedemptionPageCustomEvents", });
internal_static_io_StandardEvent_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_io_StandardEvent_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_StandardEvent_descriptor,
new java.lang.String[] { "Event", "Properties", });
internal_static_io_CustomEvent_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_io_CustomEvent_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_CustomEvent_descriptor,
new java.lang.String[] { "Event", "Properties", });
internal_static_io_GoogleAnalyticsSettings_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_io_GoogleAnalyticsSettings_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_GoogleAnalyticsSettings_descriptor,
new java.lang.String[] { "TrackingIds", "DataCollectionPageEvents", "PassRenderPageEvents", "CustomerInitiatedRedemption", });
internal_static_io_TrackingSettings_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_io_TrackingSettings_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_TrackingSettings_descriptor,
new java.lang.String[] { "FacebookPixelSettings", "GoogleAnalyticsSettings", });
}
// @@protoc_insertion_point(outer_class_scope)
}