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

com.passkit.grpc.Reporting Maven / Gradle / Ivy

Go to download

SDK for the PassKit gRPC API that can be used to create, configure and manage Membership, Loyalty, Event Ticket, Coupon, Transit and Boarding Pass content for mobile wallet applications, including Apple Pay and Google Pay.

There is a newer version: 1.1.97
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: io/common/reporting.proto

package com.passkit.grpc;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code io.Period}
   */
  public enum Period
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * 
     * Show individual data by day.
     * 
* * DAY = 0; */ DAY(0), /** *
     * Default response will be in months.
     * 
* * MONTH = 1; */ MONTH(1), /** *
     * Show individual data by year.
     * 
* * YEAR = 2; */ YEAR(2), UNRECOGNIZED(-1), ; /** *
     * Show individual data by day.
     * 
* * DAY = 0; */ public static final int DAY_VALUE = 0; /** *
     * Default response will be in months.
     * 
* * MONTH = 1; */ public static final int MONTH_VALUE = 1; /** *
     * Show individual data by year.
     * 
* * YEAR = 2; */ public static final int YEAR_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 Period 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 Period forNumber(int value) { switch (value) { case 0: return DAY; case 1: return MONTH; case 2: return YEAR; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Period> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Period findValueByNumber(int number) { return Period.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.Reporting.getDescriptor().getEnumTypes().get(0); } private static final Period[] VALUES = values(); public static Period 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 Period(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:io.Period) } public interface AnalyticsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:io.AnalyticsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The Period that the response data is grouped by by: per DAY, MONTH or YEAR.
     * 
* * .io.Period period = 1; * @return The enum numeric value on the wire for period. */ int getPeriodValue(); /** *
     * The Period that the response data is grouped by by: per DAY, MONTH or YEAR.
     * 
* * .io.Period period = 1; * @return The period. */ com.passkit.grpc.Reporting.Period getPeriod(); /** *
     * Total number of passes created during the requested period.
     * 
* * uint32 created = 2; * @return The created. */ int getCreated(); /** *
     * Total number of passes installed during the requested period.
     * 
* * uint32 installed = 3; * @return The installed. */ int getInstalled(); /** *
     * Total number of passes deleted during the requested period.
     * 
* * uint32 deleted = 4; * @return The deleted. */ int getDeleted(); /** *
     * Total number of passes invalidated during the requested period.
     * 
* * uint32 invalidated = 5; * @return The invalidated. */ int getInvalidated(); /** *
     * Total number of passes installed for each device type.
     * 
* * .io.DeviceBreakdown deviceBreakdown = 6; * @return Whether the deviceBreakdown field is set. */ boolean hasDeviceBreakdown(); /** *
     * Total number of passes installed for each device type.
     * 
* * .io.DeviceBreakdown deviceBreakdown = 6; * @return The deviceBreakdown. */ com.passkit.grpc.Reporting.DeviceBreakdown getDeviceBreakdown(); /** *
     * Total number of passes installed for each device type.
     * 
* * .io.DeviceBreakdown deviceBreakdown = 6; */ com.passkit.grpc.Reporting.DeviceBreakdownOrBuilder getDeviceBreakdownOrBuilder(); /** *
     * Total number of passes installed for each distribution source.
     * 
* * map<string, uint32> utmSourceBreakdown = 7; */ int getUtmSourceBreakdownCount(); /** *
     * Total number of passes installed for each distribution source.
     * 
* * map<string, uint32> utmSourceBreakdown = 7; */ boolean containsUtmSourceBreakdown( java.lang.String key); /** * Use {@link #getUtmSourceBreakdownMap()} instead. */ @java.lang.Deprecated java.util.Map getUtmSourceBreakdown(); /** *
     * Total number of passes installed for each distribution source.
     * 
* * map<string, uint32> utmSourceBreakdown = 7; */ java.util.Map getUtmSourceBreakdownMap(); /** *
     * Total number of passes installed for each distribution source.
     * 
* * map<string, uint32> utmSourceBreakdown = 7; */ int getUtmSourceBreakdownOrDefault( java.lang.String key, int defaultValue); /** *
     * Total number of passes installed for each distribution source.
     * 
* * map<string, uint32> utmSourceBreakdown = 7; */ int getUtmSourceBreakdownOrThrow( java.lang.String key); /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 8; */ java.util.List getDataList(); /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 8; */ com.passkit.grpc.Reporting.ChartDataPoints getData(int index); /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 8; */ int getDataCount(); /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 8; */ java.util.List getDataOrBuilderList(); /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 8; */ com.passkit.grpc.Reporting.ChartDataPointsOrBuilder getDataOrBuilder( int index); /** *
     * Breakdown of data by utm medium.
     * 
* * map<string, uint32> utmMediumBreakdown = 9; */ int getUtmMediumBreakdownCount(); /** *
     * Breakdown of data by utm medium.
     * 
* * map<string, uint32> utmMediumBreakdown = 9; */ boolean containsUtmMediumBreakdown( java.lang.String key); /** * Use {@link #getUtmMediumBreakdownMap()} instead. */ @java.lang.Deprecated java.util.Map getUtmMediumBreakdown(); /** *
     * Breakdown of data by utm medium.
     * 
* * map<string, uint32> utmMediumBreakdown = 9; */ java.util.Map getUtmMediumBreakdownMap(); /** *
     * Breakdown of data by utm medium.
     * 
* * map<string, uint32> utmMediumBreakdown = 9; */ int getUtmMediumBreakdownOrDefault( java.lang.String key, int defaultValue); /** *
     * Breakdown of data by utm medium.
     * 
* * map<string, uint32> utmMediumBreakdown = 9; */ int getUtmMediumBreakdownOrThrow( java.lang.String key); /** *
     * Breakdown of data by utm name.
     * 
* * map<string, uint32> utmNameBreakdown = 10; */ int getUtmNameBreakdownCount(); /** *
     * Breakdown of data by utm name.
     * 
* * map<string, uint32> utmNameBreakdown = 10; */ boolean containsUtmNameBreakdown( java.lang.String key); /** * Use {@link #getUtmNameBreakdownMap()} instead. */ @java.lang.Deprecated java.util.Map getUtmNameBreakdown(); /** *
     * Breakdown of data by utm name.
     * 
* * map<string, uint32> utmNameBreakdown = 10; */ java.util.Map getUtmNameBreakdownMap(); /** *
     * Breakdown of data by utm name.
     * 
* * map<string, uint32> utmNameBreakdown = 10; */ int getUtmNameBreakdownOrDefault( java.lang.String key, int defaultValue); /** *
     * Breakdown of data by utm name.
     * 
* * map<string, uint32> utmNameBreakdown = 10; */ int getUtmNameBreakdownOrThrow( java.lang.String key); /** *
     * Breakdown of data by utm term.
     * 
* * map<string, uint32> utmTermBreakdown = 11; */ int getUtmTermBreakdownCount(); /** *
     * Breakdown of data by utm term.
     * 
* * map<string, uint32> utmTermBreakdown = 11; */ boolean containsUtmTermBreakdown( java.lang.String key); /** * Use {@link #getUtmTermBreakdownMap()} instead. */ @java.lang.Deprecated java.util.Map getUtmTermBreakdown(); /** *
     * Breakdown of data by utm term.
     * 
* * map<string, uint32> utmTermBreakdown = 11; */ java.util.Map getUtmTermBreakdownMap(); /** *
     * Breakdown of data by utm term.
     * 
* * map<string, uint32> utmTermBreakdown = 11; */ int getUtmTermBreakdownOrDefault( java.lang.String key, int defaultValue); /** *
     * Breakdown of data by utm term.
     * 
* * map<string, uint32> utmTermBreakdown = 11; */ int getUtmTermBreakdownOrThrow( java.lang.String key); /** *
     * Breakdown of data by utm content.
     * 
* * map<string, uint32> utmContentBreakdown = 12; */ int getUtmContentBreakdownCount(); /** *
     * Breakdown of data by utm content.
     * 
* * map<string, uint32> utmContentBreakdown = 12; */ boolean containsUtmContentBreakdown( java.lang.String key); /** * Use {@link #getUtmContentBreakdownMap()} instead. */ @java.lang.Deprecated java.util.Map getUtmContentBreakdown(); /** *
     * Breakdown of data by utm content.
     * 
* * map<string, uint32> utmContentBreakdown = 12; */ java.util.Map getUtmContentBreakdownMap(); /** *
     * Breakdown of data by utm content.
     * 
* * map<string, uint32> utmContentBreakdown = 12; */ int getUtmContentBreakdownOrDefault( java.lang.String key, int defaultValue); /** *
     * Breakdown of data by utm content.
     * 
* * map<string, uint32> utmContentBreakdown = 12; */ int getUtmContentBreakdownOrThrow( java.lang.String key); } /** * Protobuf type {@code io.AnalyticsResponse} */ public static final class AnalyticsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.AnalyticsResponse) AnalyticsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use AnalyticsResponse.newBuilder() to construct. private AnalyticsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AnalyticsResponse() { period_ = 0; data_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AnalyticsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AnalyticsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); period_ = rawValue; break; } case 16: { created_ = input.readUInt32(); break; } case 24: { installed_ = input.readUInt32(); break; } case 32: { deleted_ = input.readUInt32(); break; } case 40: { invalidated_ = input.readUInt32(); break; } case 50: { com.passkit.grpc.Reporting.DeviceBreakdown.Builder subBuilder = null; if (deviceBreakdown_ != null) { subBuilder = deviceBreakdown_.toBuilder(); } deviceBreakdown_ = input.readMessage(com.passkit.grpc.Reporting.DeviceBreakdown.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(deviceBreakdown_); deviceBreakdown_ = subBuilder.buildPartial(); } break; } case 58: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { utmSourceBreakdown_ = com.google.protobuf.MapField.newMapField( UtmSourceBreakdownDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry utmSourceBreakdown__ = input.readMessage( UtmSourceBreakdownDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); utmSourceBreakdown_.getMutableMap().put( utmSourceBreakdown__.getKey(), utmSourceBreakdown__.getValue()); break; } case 66: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { data_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } data_.add( input.readMessage(com.passkit.grpc.Reporting.ChartDataPoints.parser(), extensionRegistry)); break; } case 74: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { utmMediumBreakdown_ = com.google.protobuf.MapField.newMapField( UtmMediumBreakdownDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000004; } com.google.protobuf.MapEntry utmMediumBreakdown__ = input.readMessage( UtmMediumBreakdownDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); utmMediumBreakdown_.getMutableMap().put( utmMediumBreakdown__.getKey(), utmMediumBreakdown__.getValue()); break; } case 82: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { utmNameBreakdown_ = com.google.protobuf.MapField.newMapField( UtmNameBreakdownDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000008; } com.google.protobuf.MapEntry utmNameBreakdown__ = input.readMessage( UtmNameBreakdownDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); utmNameBreakdown_.getMutableMap().put( utmNameBreakdown__.getKey(), utmNameBreakdown__.getValue()); break; } case 90: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { utmTermBreakdown_ = com.google.protobuf.MapField.newMapField( UtmTermBreakdownDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000010; } com.google.protobuf.MapEntry utmTermBreakdown__ = input.readMessage( UtmTermBreakdownDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); utmTermBreakdown_.getMutableMap().put( utmTermBreakdown__.getKey(), utmTermBreakdown__.getValue()); break; } case 98: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { utmContentBreakdown_ = com.google.protobuf.MapField.newMapField( UtmContentBreakdownDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000020; } com.google.protobuf.MapEntry utmContentBreakdown__ = input.readMessage( UtmContentBreakdownDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); utmContentBreakdown_.getMutableMap().put( utmContentBreakdown__.getKey(), utmContentBreakdown__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { data_ = java.util.Collections.unmodifiableList(data_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Reporting.internal_static_io_AnalyticsResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 7: return internalGetUtmSourceBreakdown(); case 9: return internalGetUtmMediumBreakdown(); case 10: return internalGetUtmNameBreakdown(); case 11: return internalGetUtmTermBreakdown(); case 12: return internalGetUtmContentBreakdown(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Reporting.internal_static_io_AnalyticsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Reporting.AnalyticsResponse.class, com.passkit.grpc.Reporting.AnalyticsResponse.Builder.class); } public static final int PERIOD_FIELD_NUMBER = 1; private int period_; /** *
     * The Period that the response data is grouped by by: per DAY, MONTH or YEAR.
     * 
* * .io.Period period = 1; * @return The enum numeric value on the wire for period. */ @java.lang.Override public int getPeriodValue() { return period_; } /** *
     * The Period that the response data is grouped by by: per DAY, MONTH or YEAR.
     * 
* * .io.Period period = 1; * @return The period. */ @java.lang.Override public com.passkit.grpc.Reporting.Period getPeriod() { @SuppressWarnings("deprecation") com.passkit.grpc.Reporting.Period result = com.passkit.grpc.Reporting.Period.valueOf(period_); return result == null ? com.passkit.grpc.Reporting.Period.UNRECOGNIZED : result; } public static final int CREATED_FIELD_NUMBER = 2; private int created_; /** *
     * Total number of passes created during the requested period.
     * 
* * uint32 created = 2; * @return The created. */ @java.lang.Override public int getCreated() { return created_; } public static final int INSTALLED_FIELD_NUMBER = 3; private int installed_; /** *
     * Total number of passes installed during the requested period.
     * 
* * uint32 installed = 3; * @return The installed. */ @java.lang.Override public int getInstalled() { return installed_; } public static final int DELETED_FIELD_NUMBER = 4; private int deleted_; /** *
     * Total number of passes deleted during the requested period.
     * 
* * uint32 deleted = 4; * @return The deleted. */ @java.lang.Override public int getDeleted() { return deleted_; } public static final int INVALIDATED_FIELD_NUMBER = 5; private int invalidated_; /** *
     * Total number of passes invalidated during the requested period.
     * 
* * uint32 invalidated = 5; * @return The invalidated. */ @java.lang.Override public int getInvalidated() { return invalidated_; } public static final int DEVICEBREAKDOWN_FIELD_NUMBER = 6; private com.passkit.grpc.Reporting.DeviceBreakdown deviceBreakdown_; /** *
     * Total number of passes installed for each device type.
     * 
* * .io.DeviceBreakdown deviceBreakdown = 6; * @return Whether the deviceBreakdown field is set. */ @java.lang.Override public boolean hasDeviceBreakdown() { return deviceBreakdown_ != null; } /** *
     * Total number of passes installed for each device type.
     * 
* * .io.DeviceBreakdown deviceBreakdown = 6; * @return The deviceBreakdown. */ @java.lang.Override public com.passkit.grpc.Reporting.DeviceBreakdown getDeviceBreakdown() { return deviceBreakdown_ == null ? com.passkit.grpc.Reporting.DeviceBreakdown.getDefaultInstance() : deviceBreakdown_; } /** *
     * Total number of passes installed for each device type.
     * 
* * .io.DeviceBreakdown deviceBreakdown = 6; */ @java.lang.Override public com.passkit.grpc.Reporting.DeviceBreakdownOrBuilder getDeviceBreakdownOrBuilder() { return getDeviceBreakdown(); } public static final int UTMSOURCEBREAKDOWN_FIELD_NUMBER = 7; private static final class UtmSourceBreakdownDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.Integer> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.passkit.grpc.Reporting.internal_static_io_AnalyticsResponse_UtmSourceBreakdownEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.UINT32, 0); } private com.google.protobuf.MapField< java.lang.String, java.lang.Integer> utmSourceBreakdown_; private com.google.protobuf.MapField internalGetUtmSourceBreakdown() { if (utmSourceBreakdown_ == null) { return com.google.protobuf.MapField.emptyMapField( UtmSourceBreakdownDefaultEntryHolder.defaultEntry); } return utmSourceBreakdown_; } public int getUtmSourceBreakdownCount() { return internalGetUtmSourceBreakdown().getMap().size(); } /** *
     * Total number of passes installed for each distribution source.
     * 
* * map<string, uint32> utmSourceBreakdown = 7; */ @java.lang.Override public boolean containsUtmSourceBreakdown( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetUtmSourceBreakdown().getMap().containsKey(key); } /** * Use {@link #getUtmSourceBreakdownMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getUtmSourceBreakdown() { return getUtmSourceBreakdownMap(); } /** *
     * Total number of passes installed for each distribution source.
     * 
* * map<string, uint32> utmSourceBreakdown = 7; */ @java.lang.Override public java.util.Map getUtmSourceBreakdownMap() { return internalGetUtmSourceBreakdown().getMap(); } /** *
     * Total number of passes installed for each distribution source.
     * 
* * map<string, uint32> utmSourceBreakdown = 7; */ @java.lang.Override public int getUtmSourceBreakdownOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmSourceBreakdown().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Total number of passes installed for each distribution source.
     * 
* * map<string, uint32> utmSourceBreakdown = 7; */ @java.lang.Override public int getUtmSourceBreakdownOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmSourceBreakdown().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int DATA_FIELD_NUMBER = 8; private java.util.List data_; /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 8; */ @java.lang.Override public java.util.List getDataList() { return data_; } /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 8; */ @java.lang.Override public java.util.List getDataOrBuilderList() { return data_; } /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 8; */ @java.lang.Override public int getDataCount() { return data_.size(); } /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 8; */ @java.lang.Override public com.passkit.grpc.Reporting.ChartDataPoints getData(int index) { return data_.get(index); } /** *
     * Breakdown of data by day, month or year.
     * 
* * repeated .io.ChartDataPoints data = 8; */ @java.lang.Override public com.passkit.grpc.Reporting.ChartDataPointsOrBuilder getDataOrBuilder( int index) { return data_.get(index); } public static final int UTMMEDIUMBREAKDOWN_FIELD_NUMBER = 9; private static final class UtmMediumBreakdownDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.Integer> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.passkit.grpc.Reporting.internal_static_io_AnalyticsResponse_UtmMediumBreakdownEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.UINT32, 0); } private com.google.protobuf.MapField< java.lang.String, java.lang.Integer> utmMediumBreakdown_; private com.google.protobuf.MapField internalGetUtmMediumBreakdown() { if (utmMediumBreakdown_ == null) { return com.google.protobuf.MapField.emptyMapField( UtmMediumBreakdownDefaultEntryHolder.defaultEntry); } return utmMediumBreakdown_; } public int getUtmMediumBreakdownCount() { return internalGetUtmMediumBreakdown().getMap().size(); } /** *
     * Breakdown of data by utm medium.
     * 
* * map<string, uint32> utmMediumBreakdown = 9; */ @java.lang.Override public boolean containsUtmMediumBreakdown( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetUtmMediumBreakdown().getMap().containsKey(key); } /** * Use {@link #getUtmMediumBreakdownMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getUtmMediumBreakdown() { return getUtmMediumBreakdownMap(); } /** *
     * Breakdown of data by utm medium.
     * 
* * map<string, uint32> utmMediumBreakdown = 9; */ @java.lang.Override public java.util.Map getUtmMediumBreakdownMap() { return internalGetUtmMediumBreakdown().getMap(); } /** *
     * Breakdown of data by utm medium.
     * 
* * map<string, uint32> utmMediumBreakdown = 9; */ @java.lang.Override public int getUtmMediumBreakdownOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmMediumBreakdown().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Breakdown of data by utm medium.
     * 
* * map<string, uint32> utmMediumBreakdown = 9; */ @java.lang.Override public int getUtmMediumBreakdownOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmMediumBreakdown().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int UTMNAMEBREAKDOWN_FIELD_NUMBER = 10; private static final class UtmNameBreakdownDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.Integer> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.passkit.grpc.Reporting.internal_static_io_AnalyticsResponse_UtmNameBreakdownEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.UINT32, 0); } private com.google.protobuf.MapField< java.lang.String, java.lang.Integer> utmNameBreakdown_; private com.google.protobuf.MapField internalGetUtmNameBreakdown() { if (utmNameBreakdown_ == null) { return com.google.protobuf.MapField.emptyMapField( UtmNameBreakdownDefaultEntryHolder.defaultEntry); } return utmNameBreakdown_; } public int getUtmNameBreakdownCount() { return internalGetUtmNameBreakdown().getMap().size(); } /** *
     * Breakdown of data by utm name.
     * 
* * map<string, uint32> utmNameBreakdown = 10; */ @java.lang.Override public boolean containsUtmNameBreakdown( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetUtmNameBreakdown().getMap().containsKey(key); } /** * Use {@link #getUtmNameBreakdownMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getUtmNameBreakdown() { return getUtmNameBreakdownMap(); } /** *
     * Breakdown of data by utm name.
     * 
* * map<string, uint32> utmNameBreakdown = 10; */ @java.lang.Override public java.util.Map getUtmNameBreakdownMap() { return internalGetUtmNameBreakdown().getMap(); } /** *
     * Breakdown of data by utm name.
     * 
* * map<string, uint32> utmNameBreakdown = 10; */ @java.lang.Override public int getUtmNameBreakdownOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmNameBreakdown().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Breakdown of data by utm name.
     * 
* * map<string, uint32> utmNameBreakdown = 10; */ @java.lang.Override public int getUtmNameBreakdownOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmNameBreakdown().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int UTMTERMBREAKDOWN_FIELD_NUMBER = 11; private static final class UtmTermBreakdownDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.Integer> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.passkit.grpc.Reporting.internal_static_io_AnalyticsResponse_UtmTermBreakdownEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.UINT32, 0); } private com.google.protobuf.MapField< java.lang.String, java.lang.Integer> utmTermBreakdown_; private com.google.protobuf.MapField internalGetUtmTermBreakdown() { if (utmTermBreakdown_ == null) { return com.google.protobuf.MapField.emptyMapField( UtmTermBreakdownDefaultEntryHolder.defaultEntry); } return utmTermBreakdown_; } public int getUtmTermBreakdownCount() { return internalGetUtmTermBreakdown().getMap().size(); } /** *
     * Breakdown of data by utm term.
     * 
* * map<string, uint32> utmTermBreakdown = 11; */ @java.lang.Override public boolean containsUtmTermBreakdown( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetUtmTermBreakdown().getMap().containsKey(key); } /** * Use {@link #getUtmTermBreakdownMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getUtmTermBreakdown() { return getUtmTermBreakdownMap(); } /** *
     * Breakdown of data by utm term.
     * 
* * map<string, uint32> utmTermBreakdown = 11; */ @java.lang.Override public java.util.Map getUtmTermBreakdownMap() { return internalGetUtmTermBreakdown().getMap(); } /** *
     * Breakdown of data by utm term.
     * 
* * map<string, uint32> utmTermBreakdown = 11; */ @java.lang.Override public int getUtmTermBreakdownOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmTermBreakdown().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Breakdown of data by utm term.
     * 
* * map<string, uint32> utmTermBreakdown = 11; */ @java.lang.Override public int getUtmTermBreakdownOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmTermBreakdown().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int UTMCONTENTBREAKDOWN_FIELD_NUMBER = 12; private static final class UtmContentBreakdownDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.Integer> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.passkit.grpc.Reporting.internal_static_io_AnalyticsResponse_UtmContentBreakdownEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.UINT32, 0); } private com.google.protobuf.MapField< java.lang.String, java.lang.Integer> utmContentBreakdown_; private com.google.protobuf.MapField internalGetUtmContentBreakdown() { if (utmContentBreakdown_ == null) { return com.google.protobuf.MapField.emptyMapField( UtmContentBreakdownDefaultEntryHolder.defaultEntry); } return utmContentBreakdown_; } public int getUtmContentBreakdownCount() { return internalGetUtmContentBreakdown().getMap().size(); } /** *
     * Breakdown of data by utm content.
     * 
* * map<string, uint32> utmContentBreakdown = 12; */ @java.lang.Override public boolean containsUtmContentBreakdown( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetUtmContentBreakdown().getMap().containsKey(key); } /** * Use {@link #getUtmContentBreakdownMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getUtmContentBreakdown() { return getUtmContentBreakdownMap(); } /** *
     * Breakdown of data by utm content.
     * 
* * map<string, uint32> utmContentBreakdown = 12; */ @java.lang.Override public java.util.Map getUtmContentBreakdownMap() { return internalGetUtmContentBreakdown().getMap(); } /** *
     * Breakdown of data by utm content.
     * 
* * map<string, uint32> utmContentBreakdown = 12; */ @java.lang.Override public int getUtmContentBreakdownOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmContentBreakdown().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Breakdown of data by utm content.
     * 
* * map<string, uint32> utmContentBreakdown = 12; */ @java.lang.Override public int getUtmContentBreakdownOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmContentBreakdown().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (period_ != com.passkit.grpc.Reporting.Period.DAY.getNumber()) { output.writeEnum(1, period_); } if (created_ != 0) { output.writeUInt32(2, created_); } if (installed_ != 0) { output.writeUInt32(3, installed_); } if (deleted_ != 0) { output.writeUInt32(4, deleted_); } if (invalidated_ != 0) { output.writeUInt32(5, invalidated_); } if (deviceBreakdown_ != null) { output.writeMessage(6, getDeviceBreakdown()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetUtmSourceBreakdown(), UtmSourceBreakdownDefaultEntryHolder.defaultEntry, 7); for (int i = 0; i < data_.size(); i++) { output.writeMessage(8, data_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetUtmMediumBreakdown(), UtmMediumBreakdownDefaultEntryHolder.defaultEntry, 9); com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetUtmNameBreakdown(), UtmNameBreakdownDefaultEntryHolder.defaultEntry, 10); com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetUtmTermBreakdown(), UtmTermBreakdownDefaultEntryHolder.defaultEntry, 11); com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetUtmContentBreakdown(), UtmContentBreakdownDefaultEntryHolder.defaultEntry, 12); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (period_ != com.passkit.grpc.Reporting.Period.DAY.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, period_); } if (created_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, created_); } if (installed_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, installed_); } if (deleted_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, deleted_); } if (invalidated_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, invalidated_); } if (deviceBreakdown_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getDeviceBreakdown()); } for (java.util.Map.Entry entry : internalGetUtmSourceBreakdown().getMap().entrySet()) { com.google.protobuf.MapEntry utmSourceBreakdown__ = UtmSourceBreakdownDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, utmSourceBreakdown__); } for (int i = 0; i < data_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, data_.get(i)); } for (java.util.Map.Entry entry : internalGetUtmMediumBreakdown().getMap().entrySet()) { com.google.protobuf.MapEntry utmMediumBreakdown__ = UtmMediumBreakdownDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, utmMediumBreakdown__); } for (java.util.Map.Entry entry : internalGetUtmNameBreakdown().getMap().entrySet()) { com.google.protobuf.MapEntry utmNameBreakdown__ = UtmNameBreakdownDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, utmNameBreakdown__); } for (java.util.Map.Entry entry : internalGetUtmTermBreakdown().getMap().entrySet()) { com.google.protobuf.MapEntry utmTermBreakdown__ = UtmTermBreakdownDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, utmTermBreakdown__); } for (java.util.Map.Entry entry : internalGetUtmContentBreakdown().getMap().entrySet()) { com.google.protobuf.MapEntry utmContentBreakdown__ = UtmContentBreakdownDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, utmContentBreakdown__); } 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.Reporting.AnalyticsResponse)) { return super.equals(obj); } com.passkit.grpc.Reporting.AnalyticsResponse other = (com.passkit.grpc.Reporting.AnalyticsResponse) obj; if (period_ != other.period_) return false; if (getCreated() != other.getCreated()) return false; if (getInstalled() != other.getInstalled()) return false; if (getDeleted() != other.getDeleted()) return false; if (getInvalidated() != other.getInvalidated()) return false; if (hasDeviceBreakdown() != other.hasDeviceBreakdown()) return false; if (hasDeviceBreakdown()) { if (!getDeviceBreakdown() .equals(other.getDeviceBreakdown())) return false; } if (!internalGetUtmSourceBreakdown().equals( other.internalGetUtmSourceBreakdown())) return false; if (!getDataList() .equals(other.getDataList())) return false; if (!internalGetUtmMediumBreakdown().equals( other.internalGetUtmMediumBreakdown())) return false; if (!internalGetUtmNameBreakdown().equals( other.internalGetUtmNameBreakdown())) return false; if (!internalGetUtmTermBreakdown().equals( other.internalGetUtmTermBreakdown())) return false; if (!internalGetUtmContentBreakdown().equals( other.internalGetUtmContentBreakdown())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PERIOD_FIELD_NUMBER; hash = (53 * hash) + period_; hash = (37 * hash) + CREATED_FIELD_NUMBER; hash = (53 * hash) + getCreated(); hash = (37 * hash) + INSTALLED_FIELD_NUMBER; hash = (53 * hash) + getInstalled(); hash = (37 * hash) + DELETED_FIELD_NUMBER; hash = (53 * hash) + getDeleted(); hash = (37 * hash) + INVALIDATED_FIELD_NUMBER; hash = (53 * hash) + getInvalidated(); if (hasDeviceBreakdown()) { hash = (37 * hash) + DEVICEBREAKDOWN_FIELD_NUMBER; hash = (53 * hash) + getDeviceBreakdown().hashCode(); } if (!internalGetUtmSourceBreakdown().getMap().isEmpty()) { hash = (37 * hash) + UTMSOURCEBREAKDOWN_FIELD_NUMBER; hash = (53 * hash) + internalGetUtmSourceBreakdown().hashCode(); } if (getDataCount() > 0) { hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getDataList().hashCode(); } if (!internalGetUtmMediumBreakdown().getMap().isEmpty()) { hash = (37 * hash) + UTMMEDIUMBREAKDOWN_FIELD_NUMBER; hash = (53 * hash) + internalGetUtmMediumBreakdown().hashCode(); } if (!internalGetUtmNameBreakdown().getMap().isEmpty()) { hash = (37 * hash) + UTMNAMEBREAKDOWN_FIELD_NUMBER; hash = (53 * hash) + internalGetUtmNameBreakdown().hashCode(); } if (!internalGetUtmTermBreakdown().getMap().isEmpty()) { hash = (37 * hash) + UTMTERMBREAKDOWN_FIELD_NUMBER; hash = (53 * hash) + internalGetUtmTermBreakdown().hashCode(); } if (!internalGetUtmContentBreakdown().getMap().isEmpty()) { hash = (37 * hash) + UTMCONTENTBREAKDOWN_FIELD_NUMBER; hash = (53 * hash) + internalGetUtmContentBreakdown().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Reporting.AnalyticsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.AnalyticsResponse 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.Reporting.AnalyticsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.AnalyticsResponse 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.Reporting.AnalyticsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.AnalyticsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Reporting.AnalyticsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.AnalyticsResponse 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.Reporting.AnalyticsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.AnalyticsResponse 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.Reporting.AnalyticsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.AnalyticsResponse 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.Reporting.AnalyticsResponse 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.AnalyticsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.AnalyticsResponse) com.passkit.grpc.Reporting.AnalyticsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Reporting.internal_static_io_AnalyticsResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 7: return internalGetUtmSourceBreakdown(); case 9: return internalGetUtmMediumBreakdown(); case 10: return internalGetUtmNameBreakdown(); case 11: return internalGetUtmTermBreakdown(); case 12: return internalGetUtmContentBreakdown(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 7: return internalGetMutableUtmSourceBreakdown(); case 9: return internalGetMutableUtmMediumBreakdown(); case 10: return internalGetMutableUtmNameBreakdown(); case 11: return internalGetMutableUtmTermBreakdown(); case 12: return internalGetMutableUtmContentBreakdown(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Reporting.internal_static_io_AnalyticsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Reporting.AnalyticsResponse.class, com.passkit.grpc.Reporting.AnalyticsResponse.Builder.class); } // Construct using com.passkit.grpc.Reporting.AnalyticsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDataFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); period_ = 0; created_ = 0; installed_ = 0; deleted_ = 0; invalidated_ = 0; if (deviceBreakdownBuilder_ == null) { deviceBreakdown_ = null; } else { deviceBreakdown_ = null; deviceBreakdownBuilder_ = null; } internalGetMutableUtmSourceBreakdown().clear(); if (dataBuilder_ == null) { data_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { dataBuilder_.clear(); } internalGetMutableUtmMediumBreakdown().clear(); internalGetMutableUtmNameBreakdown().clear(); internalGetMutableUtmTermBreakdown().clear(); internalGetMutableUtmContentBreakdown().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Reporting.internal_static_io_AnalyticsResponse_descriptor; } @java.lang.Override public com.passkit.grpc.Reporting.AnalyticsResponse getDefaultInstanceForType() { return com.passkit.grpc.Reporting.AnalyticsResponse.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Reporting.AnalyticsResponse build() { com.passkit.grpc.Reporting.AnalyticsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Reporting.AnalyticsResponse buildPartial() { com.passkit.grpc.Reporting.AnalyticsResponse result = new com.passkit.grpc.Reporting.AnalyticsResponse(this); int from_bitField0_ = bitField0_; result.period_ = period_; result.created_ = created_; result.installed_ = installed_; result.deleted_ = deleted_; result.invalidated_ = invalidated_; if (deviceBreakdownBuilder_ == null) { result.deviceBreakdown_ = deviceBreakdown_; } else { result.deviceBreakdown_ = deviceBreakdownBuilder_.build(); } result.utmSourceBreakdown_ = internalGetUtmSourceBreakdown(); result.utmSourceBreakdown_.makeImmutable(); if (dataBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { data_ = java.util.Collections.unmodifiableList(data_); bitField0_ = (bitField0_ & ~0x00000002); } result.data_ = data_; } else { result.data_ = dataBuilder_.build(); } result.utmMediumBreakdown_ = internalGetUtmMediumBreakdown(); result.utmMediumBreakdown_.makeImmutable(); result.utmNameBreakdown_ = internalGetUtmNameBreakdown(); result.utmNameBreakdown_.makeImmutable(); result.utmTermBreakdown_ = internalGetUtmTermBreakdown(); result.utmTermBreakdown_.makeImmutable(); result.utmContentBreakdown_ = internalGetUtmContentBreakdown(); result.utmContentBreakdown_.makeImmutable(); 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.Reporting.AnalyticsResponse) { return mergeFrom((com.passkit.grpc.Reporting.AnalyticsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Reporting.AnalyticsResponse other) { if (other == com.passkit.grpc.Reporting.AnalyticsResponse.getDefaultInstance()) return this; if (other.period_ != 0) { setPeriodValue(other.getPeriodValue()); } if (other.getCreated() != 0) { setCreated(other.getCreated()); } if (other.getInstalled() != 0) { setInstalled(other.getInstalled()); } if (other.getDeleted() != 0) { setDeleted(other.getDeleted()); } if (other.getInvalidated() != 0) { setInvalidated(other.getInvalidated()); } if (other.hasDeviceBreakdown()) { mergeDeviceBreakdown(other.getDeviceBreakdown()); } internalGetMutableUtmSourceBreakdown().mergeFrom( other.internalGetUtmSourceBreakdown()); if (dataBuilder_ == null) { if (!other.data_.isEmpty()) { if (data_.isEmpty()) { data_ = other.data_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureDataIsMutable(); data_.addAll(other.data_); } onChanged(); } } else { if (!other.data_.isEmpty()) { if (dataBuilder_.isEmpty()) { dataBuilder_.dispose(); dataBuilder_ = null; data_ = other.data_; bitField0_ = (bitField0_ & ~0x00000002); dataBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDataFieldBuilder() : null; } else { dataBuilder_.addAllMessages(other.data_); } } } internalGetMutableUtmMediumBreakdown().mergeFrom( other.internalGetUtmMediumBreakdown()); internalGetMutableUtmNameBreakdown().mergeFrom( other.internalGetUtmNameBreakdown()); internalGetMutableUtmTermBreakdown().mergeFrom( other.internalGetUtmTermBreakdown()); internalGetMutableUtmContentBreakdown().mergeFrom( other.internalGetUtmContentBreakdown()); 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.Reporting.AnalyticsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Reporting.AnalyticsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int period_ = 0; /** *
       * The Period that the response data is grouped by by: per DAY, MONTH or YEAR.
       * 
* * .io.Period period = 1; * @return The enum numeric value on the wire for period. */ @java.lang.Override public int getPeriodValue() { return period_; } /** *
       * The Period that the response data is grouped by by: per DAY, MONTH or YEAR.
       * 
* * .io.Period period = 1; * @param value The enum numeric value on the wire for period to set. * @return This builder for chaining. */ public Builder setPeriodValue(int value) { period_ = value; onChanged(); return this; } /** *
       * The Period that the response data is grouped by by: per DAY, MONTH or YEAR.
       * 
* * .io.Period period = 1; * @return The period. */ @java.lang.Override public com.passkit.grpc.Reporting.Period getPeriod() { @SuppressWarnings("deprecation") com.passkit.grpc.Reporting.Period result = com.passkit.grpc.Reporting.Period.valueOf(period_); return result == null ? com.passkit.grpc.Reporting.Period.UNRECOGNIZED : result; } /** *
       * The Period that the response data is grouped by by: per DAY, MONTH or YEAR.
       * 
* * .io.Period period = 1; * @param value The period to set. * @return This builder for chaining. */ public Builder setPeriod(com.passkit.grpc.Reporting.Period value) { if (value == null) { throw new NullPointerException(); } period_ = value.getNumber(); onChanged(); return this; } /** *
       * The Period that the response data is grouped by by: per DAY, MONTH or YEAR.
       * 
* * .io.Period period = 1; * @return This builder for chaining. */ public Builder clearPeriod() { period_ = 0; onChanged(); return this; } private int created_ ; /** *
       * Total number of passes created during the requested period.
       * 
* * uint32 created = 2; * @return The created. */ @java.lang.Override public int getCreated() { return created_; } /** *
       * Total number of passes created during the requested period.
       * 
* * uint32 created = 2; * @param value The created to set. * @return This builder for chaining. */ public Builder setCreated(int value) { created_ = value; onChanged(); return this; } /** *
       * Total number of passes created during the requested period.
       * 
* * uint32 created = 2; * @return This builder for chaining. */ public Builder clearCreated() { created_ = 0; onChanged(); return this; } private int installed_ ; /** *
       * Total number of passes installed during the requested period.
       * 
* * uint32 installed = 3; * @return The installed. */ @java.lang.Override public int getInstalled() { return installed_; } /** *
       * Total number of passes installed during the requested period.
       * 
* * uint32 installed = 3; * @param value The installed to set. * @return This builder for chaining. */ public Builder setInstalled(int value) { installed_ = value; onChanged(); return this; } /** *
       * Total number of passes installed during the requested period.
       * 
* * uint32 installed = 3; * @return This builder for chaining. */ public Builder clearInstalled() { installed_ = 0; onChanged(); return this; } private int deleted_ ; /** *
       * Total number of passes deleted during the requested period.
       * 
* * uint32 deleted = 4; * @return The deleted. */ @java.lang.Override public int getDeleted() { return deleted_; } /** *
       * Total number of passes deleted during the requested period.
       * 
* * uint32 deleted = 4; * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(int value) { deleted_ = value; onChanged(); return this; } /** *
       * Total number of passes deleted during the requested period.
       * 
* * uint32 deleted = 4; * @return This builder for chaining. */ public Builder clearDeleted() { deleted_ = 0; onChanged(); return this; } private int invalidated_ ; /** *
       * Total number of passes invalidated during the requested period.
       * 
* * uint32 invalidated = 5; * @return The invalidated. */ @java.lang.Override public int getInvalidated() { return invalidated_; } /** *
       * Total number of passes invalidated during the requested period.
       * 
* * uint32 invalidated = 5; * @param value The invalidated to set. * @return This builder for chaining. */ public Builder setInvalidated(int value) { invalidated_ = value; onChanged(); return this; } /** *
       * Total number of passes invalidated during the requested period.
       * 
* * uint32 invalidated = 5; * @return This builder for chaining. */ public Builder clearInvalidated() { invalidated_ = 0; onChanged(); return this; } private com.passkit.grpc.Reporting.DeviceBreakdown deviceBreakdown_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Reporting.DeviceBreakdown, com.passkit.grpc.Reporting.DeviceBreakdown.Builder, com.passkit.grpc.Reporting.DeviceBreakdownOrBuilder> deviceBreakdownBuilder_; /** *
       * Total number of passes installed for each device type.
       * 
* * .io.DeviceBreakdown deviceBreakdown = 6; * @return Whether the deviceBreakdown field is set. */ public boolean hasDeviceBreakdown() { return deviceBreakdownBuilder_ != null || deviceBreakdown_ != null; } /** *
       * Total number of passes installed for each device type.
       * 
* * .io.DeviceBreakdown deviceBreakdown = 6; * @return The deviceBreakdown. */ public com.passkit.grpc.Reporting.DeviceBreakdown getDeviceBreakdown() { if (deviceBreakdownBuilder_ == null) { return deviceBreakdown_ == null ? com.passkit.grpc.Reporting.DeviceBreakdown.getDefaultInstance() : deviceBreakdown_; } else { return deviceBreakdownBuilder_.getMessage(); } } /** *
       * Total number of passes installed for each device type.
       * 
* * .io.DeviceBreakdown deviceBreakdown = 6; */ public Builder setDeviceBreakdown(com.passkit.grpc.Reporting.DeviceBreakdown value) { if (deviceBreakdownBuilder_ == null) { if (value == null) { throw new NullPointerException(); } deviceBreakdown_ = value; onChanged(); } else { deviceBreakdownBuilder_.setMessage(value); } return this; } /** *
       * Total number of passes installed for each device type.
       * 
* * .io.DeviceBreakdown deviceBreakdown = 6; */ public Builder setDeviceBreakdown( com.passkit.grpc.Reporting.DeviceBreakdown.Builder builderForValue) { if (deviceBreakdownBuilder_ == null) { deviceBreakdown_ = builderForValue.build(); onChanged(); } else { deviceBreakdownBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Total number of passes installed for each device type.
       * 
* * .io.DeviceBreakdown deviceBreakdown = 6; */ public Builder mergeDeviceBreakdown(com.passkit.grpc.Reporting.DeviceBreakdown value) { if (deviceBreakdownBuilder_ == null) { if (deviceBreakdown_ != null) { deviceBreakdown_ = com.passkit.grpc.Reporting.DeviceBreakdown.newBuilder(deviceBreakdown_).mergeFrom(value).buildPartial(); } else { deviceBreakdown_ = value; } onChanged(); } else { deviceBreakdownBuilder_.mergeFrom(value); } return this; } /** *
       * Total number of passes installed for each device type.
       * 
* * .io.DeviceBreakdown deviceBreakdown = 6; */ public Builder clearDeviceBreakdown() { if (deviceBreakdownBuilder_ == null) { deviceBreakdown_ = null; onChanged(); } else { deviceBreakdown_ = null; deviceBreakdownBuilder_ = null; } return this; } /** *
       * Total number of passes installed for each device type.
       * 
* * .io.DeviceBreakdown deviceBreakdown = 6; */ public com.passkit.grpc.Reporting.DeviceBreakdown.Builder getDeviceBreakdownBuilder() { onChanged(); return getDeviceBreakdownFieldBuilder().getBuilder(); } /** *
       * Total number of passes installed for each device type.
       * 
* * .io.DeviceBreakdown deviceBreakdown = 6; */ public com.passkit.grpc.Reporting.DeviceBreakdownOrBuilder getDeviceBreakdownOrBuilder() { if (deviceBreakdownBuilder_ != null) { return deviceBreakdownBuilder_.getMessageOrBuilder(); } else { return deviceBreakdown_ == null ? com.passkit.grpc.Reporting.DeviceBreakdown.getDefaultInstance() : deviceBreakdown_; } } /** *
       * Total number of passes installed for each device type.
       * 
* * .io.DeviceBreakdown deviceBreakdown = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Reporting.DeviceBreakdown, com.passkit.grpc.Reporting.DeviceBreakdown.Builder, com.passkit.grpc.Reporting.DeviceBreakdownOrBuilder> getDeviceBreakdownFieldBuilder() { if (deviceBreakdownBuilder_ == null) { deviceBreakdownBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Reporting.DeviceBreakdown, com.passkit.grpc.Reporting.DeviceBreakdown.Builder, com.passkit.grpc.Reporting.DeviceBreakdownOrBuilder>( getDeviceBreakdown(), getParentForChildren(), isClean()); deviceBreakdown_ = null; } return deviceBreakdownBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.Integer> utmSourceBreakdown_; private com.google.protobuf.MapField internalGetUtmSourceBreakdown() { if (utmSourceBreakdown_ == null) { return com.google.protobuf.MapField.emptyMapField( UtmSourceBreakdownDefaultEntryHolder.defaultEntry); } return utmSourceBreakdown_; } private com.google.protobuf.MapField internalGetMutableUtmSourceBreakdown() { onChanged();; if (utmSourceBreakdown_ == null) { utmSourceBreakdown_ = com.google.protobuf.MapField.newMapField( UtmSourceBreakdownDefaultEntryHolder.defaultEntry); } if (!utmSourceBreakdown_.isMutable()) { utmSourceBreakdown_ = utmSourceBreakdown_.copy(); } return utmSourceBreakdown_; } public int getUtmSourceBreakdownCount() { return internalGetUtmSourceBreakdown().getMap().size(); } /** *
       * Total number of passes installed for each distribution source.
       * 
* * map<string, uint32> utmSourceBreakdown = 7; */ @java.lang.Override public boolean containsUtmSourceBreakdown( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetUtmSourceBreakdown().getMap().containsKey(key); } /** * Use {@link #getUtmSourceBreakdownMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getUtmSourceBreakdown() { return getUtmSourceBreakdownMap(); } /** *
       * Total number of passes installed for each distribution source.
       * 
* * map<string, uint32> utmSourceBreakdown = 7; */ @java.lang.Override public java.util.Map getUtmSourceBreakdownMap() { return internalGetUtmSourceBreakdown().getMap(); } /** *
       * Total number of passes installed for each distribution source.
       * 
* * map<string, uint32> utmSourceBreakdown = 7; */ @java.lang.Override public int getUtmSourceBreakdownOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmSourceBreakdown().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Total number of passes installed for each distribution source.
       * 
* * map<string, uint32> utmSourceBreakdown = 7; */ @java.lang.Override public int getUtmSourceBreakdownOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmSourceBreakdown().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearUtmSourceBreakdown() { internalGetMutableUtmSourceBreakdown().getMutableMap() .clear(); return this; } /** *
       * Total number of passes installed for each distribution source.
       * 
* * map<string, uint32> utmSourceBreakdown = 7; */ public Builder removeUtmSourceBreakdown( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableUtmSourceBreakdown().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableUtmSourceBreakdown() { return internalGetMutableUtmSourceBreakdown().getMutableMap(); } /** *
       * Total number of passes installed for each distribution source.
       * 
* * map<string, uint32> utmSourceBreakdown = 7; */ public Builder putUtmSourceBreakdown( java.lang.String key, int value) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableUtmSourceBreakdown().getMutableMap() .put(key, value); return this; } /** *
       * Total number of passes installed for each distribution source.
       * 
* * map<string, uint32> utmSourceBreakdown = 7; */ public Builder putAllUtmSourceBreakdown( java.util.Map values) { internalGetMutableUtmSourceBreakdown().getMutableMap() .putAll(values); return this; } private java.util.List data_ = java.util.Collections.emptyList(); private void ensureDataIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { data_ = new java.util.ArrayList(data_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.Reporting.ChartDataPoints, com.passkit.grpc.Reporting.ChartDataPoints.Builder, com.passkit.grpc.Reporting.ChartDataPointsOrBuilder> dataBuilder_; /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public java.util.List getDataList() { if (dataBuilder_ == null) { return java.util.Collections.unmodifiableList(data_); } else { return dataBuilder_.getMessageList(); } } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public int getDataCount() { if (dataBuilder_ == null) { return data_.size(); } else { return dataBuilder_.getCount(); } } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public com.passkit.grpc.Reporting.ChartDataPoints getData(int index) { if (dataBuilder_ == null) { return data_.get(index); } else { return dataBuilder_.getMessage(index); } } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public Builder setData( int index, com.passkit.grpc.Reporting.ChartDataPoints value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataIsMutable(); data_.set(index, value); onChanged(); } else { dataBuilder_.setMessage(index, value); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public Builder setData( int index, com.passkit.grpc.Reporting.ChartDataPoints.Builder builderForValue) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.set(index, builderForValue.build()); onChanged(); } else { dataBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public Builder addData(com.passkit.grpc.Reporting.ChartDataPoints value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataIsMutable(); data_.add(value); onChanged(); } else { dataBuilder_.addMessage(value); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public Builder addData( int index, com.passkit.grpc.Reporting.ChartDataPoints value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataIsMutable(); data_.add(index, value); onChanged(); } else { dataBuilder_.addMessage(index, value); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public Builder addData( com.passkit.grpc.Reporting.ChartDataPoints.Builder builderForValue) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.add(builderForValue.build()); onChanged(); } else { dataBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public Builder addData( int index, com.passkit.grpc.Reporting.ChartDataPoints.Builder builderForValue) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.add(index, builderForValue.build()); onChanged(); } else { dataBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public Builder addAllData( java.lang.Iterable values) { if (dataBuilder_ == null) { ensureDataIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, data_); onChanged(); } else { dataBuilder_.addAllMessages(values); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public Builder clearData() { if (dataBuilder_ == null) { data_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { dataBuilder_.clear(); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public Builder removeData(int index) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.remove(index); onChanged(); } else { dataBuilder_.remove(index); } return this; } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public com.passkit.grpc.Reporting.ChartDataPoints.Builder getDataBuilder( int index) { return getDataFieldBuilder().getBuilder(index); } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public com.passkit.grpc.Reporting.ChartDataPointsOrBuilder getDataOrBuilder( int index) { if (dataBuilder_ == null) { return data_.get(index); } else { return dataBuilder_.getMessageOrBuilder(index); } } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public java.util.List getDataOrBuilderList() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(data_); } } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public com.passkit.grpc.Reporting.ChartDataPoints.Builder addDataBuilder() { return getDataFieldBuilder().addBuilder( com.passkit.grpc.Reporting.ChartDataPoints.getDefaultInstance()); } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public com.passkit.grpc.Reporting.ChartDataPoints.Builder addDataBuilder( int index) { return getDataFieldBuilder().addBuilder( index, com.passkit.grpc.Reporting.ChartDataPoints.getDefaultInstance()); } /** *
       * Breakdown of data by day, month or year.
       * 
* * repeated .io.ChartDataPoints data = 8; */ public java.util.List getDataBuilderList() { return getDataFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.Reporting.ChartDataPoints, com.passkit.grpc.Reporting.ChartDataPoints.Builder, com.passkit.grpc.Reporting.ChartDataPointsOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.Reporting.ChartDataPoints, com.passkit.grpc.Reporting.ChartDataPoints.Builder, com.passkit.grpc.Reporting.ChartDataPointsOrBuilder>( data_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.Integer> utmMediumBreakdown_; private com.google.protobuf.MapField internalGetUtmMediumBreakdown() { if (utmMediumBreakdown_ == null) { return com.google.protobuf.MapField.emptyMapField( UtmMediumBreakdownDefaultEntryHolder.defaultEntry); } return utmMediumBreakdown_; } private com.google.protobuf.MapField internalGetMutableUtmMediumBreakdown() { onChanged();; if (utmMediumBreakdown_ == null) { utmMediumBreakdown_ = com.google.protobuf.MapField.newMapField( UtmMediumBreakdownDefaultEntryHolder.defaultEntry); } if (!utmMediumBreakdown_.isMutable()) { utmMediumBreakdown_ = utmMediumBreakdown_.copy(); } return utmMediumBreakdown_; } public int getUtmMediumBreakdownCount() { return internalGetUtmMediumBreakdown().getMap().size(); } /** *
       * Breakdown of data by utm medium.
       * 
* * map<string, uint32> utmMediumBreakdown = 9; */ @java.lang.Override public boolean containsUtmMediumBreakdown( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetUtmMediumBreakdown().getMap().containsKey(key); } /** * Use {@link #getUtmMediumBreakdownMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getUtmMediumBreakdown() { return getUtmMediumBreakdownMap(); } /** *
       * Breakdown of data by utm medium.
       * 
* * map<string, uint32> utmMediumBreakdown = 9; */ @java.lang.Override public java.util.Map getUtmMediumBreakdownMap() { return internalGetUtmMediumBreakdown().getMap(); } /** *
       * Breakdown of data by utm medium.
       * 
* * map<string, uint32> utmMediumBreakdown = 9; */ @java.lang.Override public int getUtmMediumBreakdownOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmMediumBreakdown().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Breakdown of data by utm medium.
       * 
* * map<string, uint32> utmMediumBreakdown = 9; */ @java.lang.Override public int getUtmMediumBreakdownOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmMediumBreakdown().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearUtmMediumBreakdown() { internalGetMutableUtmMediumBreakdown().getMutableMap() .clear(); return this; } /** *
       * Breakdown of data by utm medium.
       * 
* * map<string, uint32> utmMediumBreakdown = 9; */ public Builder removeUtmMediumBreakdown( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableUtmMediumBreakdown().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableUtmMediumBreakdown() { return internalGetMutableUtmMediumBreakdown().getMutableMap(); } /** *
       * Breakdown of data by utm medium.
       * 
* * map<string, uint32> utmMediumBreakdown = 9; */ public Builder putUtmMediumBreakdown( java.lang.String key, int value) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableUtmMediumBreakdown().getMutableMap() .put(key, value); return this; } /** *
       * Breakdown of data by utm medium.
       * 
* * map<string, uint32> utmMediumBreakdown = 9; */ public Builder putAllUtmMediumBreakdown( java.util.Map values) { internalGetMutableUtmMediumBreakdown().getMutableMap() .putAll(values); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.Integer> utmNameBreakdown_; private com.google.protobuf.MapField internalGetUtmNameBreakdown() { if (utmNameBreakdown_ == null) { return com.google.protobuf.MapField.emptyMapField( UtmNameBreakdownDefaultEntryHolder.defaultEntry); } return utmNameBreakdown_; } private com.google.protobuf.MapField internalGetMutableUtmNameBreakdown() { onChanged();; if (utmNameBreakdown_ == null) { utmNameBreakdown_ = com.google.protobuf.MapField.newMapField( UtmNameBreakdownDefaultEntryHolder.defaultEntry); } if (!utmNameBreakdown_.isMutable()) { utmNameBreakdown_ = utmNameBreakdown_.copy(); } return utmNameBreakdown_; } public int getUtmNameBreakdownCount() { return internalGetUtmNameBreakdown().getMap().size(); } /** *
       * Breakdown of data by utm name.
       * 
* * map<string, uint32> utmNameBreakdown = 10; */ @java.lang.Override public boolean containsUtmNameBreakdown( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetUtmNameBreakdown().getMap().containsKey(key); } /** * Use {@link #getUtmNameBreakdownMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getUtmNameBreakdown() { return getUtmNameBreakdownMap(); } /** *
       * Breakdown of data by utm name.
       * 
* * map<string, uint32> utmNameBreakdown = 10; */ @java.lang.Override public java.util.Map getUtmNameBreakdownMap() { return internalGetUtmNameBreakdown().getMap(); } /** *
       * Breakdown of data by utm name.
       * 
* * map<string, uint32> utmNameBreakdown = 10; */ @java.lang.Override public int getUtmNameBreakdownOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmNameBreakdown().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Breakdown of data by utm name.
       * 
* * map<string, uint32> utmNameBreakdown = 10; */ @java.lang.Override public int getUtmNameBreakdownOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmNameBreakdown().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearUtmNameBreakdown() { internalGetMutableUtmNameBreakdown().getMutableMap() .clear(); return this; } /** *
       * Breakdown of data by utm name.
       * 
* * map<string, uint32> utmNameBreakdown = 10; */ public Builder removeUtmNameBreakdown( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableUtmNameBreakdown().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableUtmNameBreakdown() { return internalGetMutableUtmNameBreakdown().getMutableMap(); } /** *
       * Breakdown of data by utm name.
       * 
* * map<string, uint32> utmNameBreakdown = 10; */ public Builder putUtmNameBreakdown( java.lang.String key, int value) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableUtmNameBreakdown().getMutableMap() .put(key, value); return this; } /** *
       * Breakdown of data by utm name.
       * 
* * map<string, uint32> utmNameBreakdown = 10; */ public Builder putAllUtmNameBreakdown( java.util.Map values) { internalGetMutableUtmNameBreakdown().getMutableMap() .putAll(values); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.Integer> utmTermBreakdown_; private com.google.protobuf.MapField internalGetUtmTermBreakdown() { if (utmTermBreakdown_ == null) { return com.google.protobuf.MapField.emptyMapField( UtmTermBreakdownDefaultEntryHolder.defaultEntry); } return utmTermBreakdown_; } private com.google.protobuf.MapField internalGetMutableUtmTermBreakdown() { onChanged();; if (utmTermBreakdown_ == null) { utmTermBreakdown_ = com.google.protobuf.MapField.newMapField( UtmTermBreakdownDefaultEntryHolder.defaultEntry); } if (!utmTermBreakdown_.isMutable()) { utmTermBreakdown_ = utmTermBreakdown_.copy(); } return utmTermBreakdown_; } public int getUtmTermBreakdownCount() { return internalGetUtmTermBreakdown().getMap().size(); } /** *
       * Breakdown of data by utm term.
       * 
* * map<string, uint32> utmTermBreakdown = 11; */ @java.lang.Override public boolean containsUtmTermBreakdown( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetUtmTermBreakdown().getMap().containsKey(key); } /** * Use {@link #getUtmTermBreakdownMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getUtmTermBreakdown() { return getUtmTermBreakdownMap(); } /** *
       * Breakdown of data by utm term.
       * 
* * map<string, uint32> utmTermBreakdown = 11; */ @java.lang.Override public java.util.Map getUtmTermBreakdownMap() { return internalGetUtmTermBreakdown().getMap(); } /** *
       * Breakdown of data by utm term.
       * 
* * map<string, uint32> utmTermBreakdown = 11; */ @java.lang.Override public int getUtmTermBreakdownOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmTermBreakdown().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Breakdown of data by utm term.
       * 
* * map<string, uint32> utmTermBreakdown = 11; */ @java.lang.Override public int getUtmTermBreakdownOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmTermBreakdown().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearUtmTermBreakdown() { internalGetMutableUtmTermBreakdown().getMutableMap() .clear(); return this; } /** *
       * Breakdown of data by utm term.
       * 
* * map<string, uint32> utmTermBreakdown = 11; */ public Builder removeUtmTermBreakdown( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableUtmTermBreakdown().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableUtmTermBreakdown() { return internalGetMutableUtmTermBreakdown().getMutableMap(); } /** *
       * Breakdown of data by utm term.
       * 
* * map<string, uint32> utmTermBreakdown = 11; */ public Builder putUtmTermBreakdown( java.lang.String key, int value) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableUtmTermBreakdown().getMutableMap() .put(key, value); return this; } /** *
       * Breakdown of data by utm term.
       * 
* * map<string, uint32> utmTermBreakdown = 11; */ public Builder putAllUtmTermBreakdown( java.util.Map values) { internalGetMutableUtmTermBreakdown().getMutableMap() .putAll(values); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.Integer> utmContentBreakdown_; private com.google.protobuf.MapField internalGetUtmContentBreakdown() { if (utmContentBreakdown_ == null) { return com.google.protobuf.MapField.emptyMapField( UtmContentBreakdownDefaultEntryHolder.defaultEntry); } return utmContentBreakdown_; } private com.google.protobuf.MapField internalGetMutableUtmContentBreakdown() { onChanged();; if (utmContentBreakdown_ == null) { utmContentBreakdown_ = com.google.protobuf.MapField.newMapField( UtmContentBreakdownDefaultEntryHolder.defaultEntry); } if (!utmContentBreakdown_.isMutable()) { utmContentBreakdown_ = utmContentBreakdown_.copy(); } return utmContentBreakdown_; } public int getUtmContentBreakdownCount() { return internalGetUtmContentBreakdown().getMap().size(); } /** *
       * Breakdown of data by utm content.
       * 
* * map<string, uint32> utmContentBreakdown = 12; */ @java.lang.Override public boolean containsUtmContentBreakdown( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetUtmContentBreakdown().getMap().containsKey(key); } /** * Use {@link #getUtmContentBreakdownMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getUtmContentBreakdown() { return getUtmContentBreakdownMap(); } /** *
       * Breakdown of data by utm content.
       * 
* * map<string, uint32> utmContentBreakdown = 12; */ @java.lang.Override public java.util.Map getUtmContentBreakdownMap() { return internalGetUtmContentBreakdown().getMap(); } /** *
       * Breakdown of data by utm content.
       * 
* * map<string, uint32> utmContentBreakdown = 12; */ @java.lang.Override public int getUtmContentBreakdownOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmContentBreakdown().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Breakdown of data by utm content.
       * 
* * map<string, uint32> utmContentBreakdown = 12; */ @java.lang.Override public int getUtmContentBreakdownOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUtmContentBreakdown().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearUtmContentBreakdown() { internalGetMutableUtmContentBreakdown().getMutableMap() .clear(); return this; } /** *
       * Breakdown of data by utm content.
       * 
* * map<string, uint32> utmContentBreakdown = 12; */ public Builder removeUtmContentBreakdown( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableUtmContentBreakdown().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableUtmContentBreakdown() { return internalGetMutableUtmContentBreakdown().getMutableMap(); } /** *
       * Breakdown of data by utm content.
       * 
* * map<string, uint32> utmContentBreakdown = 12; */ public Builder putUtmContentBreakdown( java.lang.String key, int value) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableUtmContentBreakdown().getMutableMap() .put(key, value); return this; } /** *
       * Breakdown of data by utm content.
       * 
* * map<string, uint32> utmContentBreakdown = 12; */ public Builder putAllUtmContentBreakdown( java.util.Map values) { internalGetMutableUtmContentBreakdown().getMutableMap() .putAll(values); 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.AnalyticsResponse) } // @@protoc_insertion_point(class_scope:io.AnalyticsResponse) private static final com.passkit.grpc.Reporting.AnalyticsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Reporting.AnalyticsResponse(); } public static com.passkit.grpc.Reporting.AnalyticsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AnalyticsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AnalyticsResponse(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.Reporting.AnalyticsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeviceBreakdownOrBuilder extends // @@protoc_insertion_point(interface_extends:io.DeviceBreakdown) com.google.protobuf.MessageOrBuilder { /** *
     * Total number of passes installed in Apple Wallet.
     * 
* * uint32 appleWallet = 1; * @return The appleWallet. */ int getAppleWallet(); /** *
     * Total number of passes installed in Google Pay.
     * 
* * uint32 googlePay = 2; * @return The googlePay. */ int getGooglePay(); /** *
     * Total number of passes installed in Other Wallet.
     * 
* * uint32 otherWallet = 3; * @return The otherWallet. */ int getOtherWallet(); } /** * Protobuf type {@code io.DeviceBreakdown} */ public static final class DeviceBreakdown extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.DeviceBreakdown) DeviceBreakdownOrBuilder { private static final long serialVersionUID = 0L; // Use DeviceBreakdown.newBuilder() to construct. private DeviceBreakdown(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeviceBreakdown() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeviceBreakdown(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeviceBreakdown( 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: { appleWallet_ = input.readUInt32(); break; } case 16: { googlePay_ = input.readUInt32(); break; } case 24: { otherWallet_ = input.readUInt32(); 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.Reporting.internal_static_io_DeviceBreakdown_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Reporting.internal_static_io_DeviceBreakdown_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Reporting.DeviceBreakdown.class, com.passkit.grpc.Reporting.DeviceBreakdown.Builder.class); } public static final int APPLEWALLET_FIELD_NUMBER = 1; private int appleWallet_; /** *
     * Total number of passes installed in Apple Wallet.
     * 
* * uint32 appleWallet = 1; * @return The appleWallet. */ @java.lang.Override public int getAppleWallet() { return appleWallet_; } public static final int GOOGLEPAY_FIELD_NUMBER = 2; private int googlePay_; /** *
     * Total number of passes installed in Google Pay.
     * 
* * uint32 googlePay = 2; * @return The googlePay. */ @java.lang.Override public int getGooglePay() { return googlePay_; } public static final int OTHERWALLET_FIELD_NUMBER = 3; private int otherWallet_; /** *
     * Total number of passes installed in Other Wallet.
     * 
* * uint32 otherWallet = 3; * @return The otherWallet. */ @java.lang.Override public int getOtherWallet() { return otherWallet_; } 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 (appleWallet_ != 0) { output.writeUInt32(1, appleWallet_); } if (googlePay_ != 0) { output.writeUInt32(2, googlePay_); } if (otherWallet_ != 0) { output.writeUInt32(3, otherWallet_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (appleWallet_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, appleWallet_); } if (googlePay_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, googlePay_); } if (otherWallet_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, otherWallet_); } 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.Reporting.DeviceBreakdown)) { return super.equals(obj); } com.passkit.grpc.Reporting.DeviceBreakdown other = (com.passkit.grpc.Reporting.DeviceBreakdown) obj; if (getAppleWallet() != other.getAppleWallet()) return false; if (getGooglePay() != other.getGooglePay()) return false; if (getOtherWallet() != other.getOtherWallet()) 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) + APPLEWALLET_FIELD_NUMBER; hash = (53 * hash) + getAppleWallet(); hash = (37 * hash) + GOOGLEPAY_FIELD_NUMBER; hash = (53 * hash) + getGooglePay(); hash = (37 * hash) + OTHERWALLET_FIELD_NUMBER; hash = (53 * hash) + getOtherWallet(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Reporting.DeviceBreakdown parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.DeviceBreakdown 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.Reporting.DeviceBreakdown parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.DeviceBreakdown 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.Reporting.DeviceBreakdown parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.DeviceBreakdown parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Reporting.DeviceBreakdown parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.DeviceBreakdown 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.Reporting.DeviceBreakdown parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.DeviceBreakdown 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.Reporting.DeviceBreakdown parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.DeviceBreakdown 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.Reporting.DeviceBreakdown 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.DeviceBreakdown} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.DeviceBreakdown) com.passkit.grpc.Reporting.DeviceBreakdownOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Reporting.internal_static_io_DeviceBreakdown_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Reporting.internal_static_io_DeviceBreakdown_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Reporting.DeviceBreakdown.class, com.passkit.grpc.Reporting.DeviceBreakdown.Builder.class); } // Construct using com.passkit.grpc.Reporting.DeviceBreakdown.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(); appleWallet_ = 0; googlePay_ = 0; otherWallet_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Reporting.internal_static_io_DeviceBreakdown_descriptor; } @java.lang.Override public com.passkit.grpc.Reporting.DeviceBreakdown getDefaultInstanceForType() { return com.passkit.grpc.Reporting.DeviceBreakdown.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Reporting.DeviceBreakdown build() { com.passkit.grpc.Reporting.DeviceBreakdown result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Reporting.DeviceBreakdown buildPartial() { com.passkit.grpc.Reporting.DeviceBreakdown result = new com.passkit.grpc.Reporting.DeviceBreakdown(this); result.appleWallet_ = appleWallet_; result.googlePay_ = googlePay_; result.otherWallet_ = otherWallet_; 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.Reporting.DeviceBreakdown) { return mergeFrom((com.passkit.grpc.Reporting.DeviceBreakdown)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Reporting.DeviceBreakdown other) { if (other == com.passkit.grpc.Reporting.DeviceBreakdown.getDefaultInstance()) return this; if (other.getAppleWallet() != 0) { setAppleWallet(other.getAppleWallet()); } if (other.getGooglePay() != 0) { setGooglePay(other.getGooglePay()); } if (other.getOtherWallet() != 0) { setOtherWallet(other.getOtherWallet()); } 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.Reporting.DeviceBreakdown parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Reporting.DeviceBreakdown) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int appleWallet_ ; /** *
       * Total number of passes installed in Apple Wallet.
       * 
* * uint32 appleWallet = 1; * @return The appleWallet. */ @java.lang.Override public int getAppleWallet() { return appleWallet_; } /** *
       * Total number of passes installed in Apple Wallet.
       * 
* * uint32 appleWallet = 1; * @param value The appleWallet to set. * @return This builder for chaining. */ public Builder setAppleWallet(int value) { appleWallet_ = value; onChanged(); return this; } /** *
       * Total number of passes installed in Apple Wallet.
       * 
* * uint32 appleWallet = 1; * @return This builder for chaining. */ public Builder clearAppleWallet() { appleWallet_ = 0; onChanged(); return this; } private int googlePay_ ; /** *
       * Total number of passes installed in Google Pay.
       * 
* * uint32 googlePay = 2; * @return The googlePay. */ @java.lang.Override public int getGooglePay() { return googlePay_; } /** *
       * Total number of passes installed in Google Pay.
       * 
* * uint32 googlePay = 2; * @param value The googlePay to set. * @return This builder for chaining. */ public Builder setGooglePay(int value) { googlePay_ = value; onChanged(); return this; } /** *
       * Total number of passes installed in Google Pay.
       * 
* * uint32 googlePay = 2; * @return This builder for chaining. */ public Builder clearGooglePay() { googlePay_ = 0; onChanged(); return this; } private int otherWallet_ ; /** *
       * Total number of passes installed in Other Wallet.
       * 
* * uint32 otherWallet = 3; * @return The otherWallet. */ @java.lang.Override public int getOtherWallet() { return otherWallet_; } /** *
       * Total number of passes installed in Other Wallet.
       * 
* * uint32 otherWallet = 3; * @param value The otherWallet to set. * @return This builder for chaining. */ public Builder setOtherWallet(int value) { otherWallet_ = value; onChanged(); return this; } /** *
       * Total number of passes installed in Other Wallet.
       * 
* * uint32 otherWallet = 3; * @return This builder for chaining. */ public Builder clearOtherWallet() { otherWallet_ = 0; 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.DeviceBreakdown) } // @@protoc_insertion_point(class_scope:io.DeviceBreakdown) private static final com.passkit.grpc.Reporting.DeviceBreakdown DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Reporting.DeviceBreakdown(); } public static com.passkit.grpc.Reporting.DeviceBreakdown getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeviceBreakdown parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeviceBreakdown(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.Reporting.DeviceBreakdown getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ChartDataPointsOrBuilder extends // @@protoc_insertion_point(interface_extends:io.ChartDataPoints) com.google.protobuf.MessageOrBuilder { /** *
     * ie. January, Monday
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * ie. January, Monday
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Daily, monthly or yearly total of pass created.
     * 
* * uint32 created = 2; * @return The created. */ int getCreated(); /** *
     * Daily, monthly or yearly total of pass installed.
     * 
* * uint32 installed = 3; * @return The installed. */ int getInstalled(); /** *
     * Daily, monthly or yearly total of pass updated.
     * 
* * uint32 updated = 4; * @return The updated. */ int getUpdated(); /** *
     * Daily, monthly or yearly total of pass deleted.
     * 
* * uint32 deleted = 5; * @return The deleted. */ int getDeleted(); /** *
     * Daily, monthly or yearly total of pass invalidated.
     * 
* * uint32 invalidated = 6; * @return The invalidated. */ int getInvalidated(); /** *
     * Daily, monthly or yearly total of custom data (in case this field used by a protocol; it can put whatever is preferred in here).
     * 
* * uint32 custom = 7; * @return The custom. */ int getCustom(); } /** * Protobuf type {@code io.ChartDataPoints} */ public static final class ChartDataPoints extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.ChartDataPoints) ChartDataPointsOrBuilder { private static final long serialVersionUID = 0L; // Use ChartDataPoints.newBuilder() to construct. private ChartDataPoints(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ChartDataPoints() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ChartDataPoints(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ChartDataPoints( 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(); name_ = s; break; } case 16: { created_ = input.readUInt32(); break; } case 24: { installed_ = input.readUInt32(); break; } case 32: { updated_ = input.readUInt32(); break; } case 40: { deleted_ = input.readUInt32(); break; } case 48: { invalidated_ = input.readUInt32(); break; } case 56: { custom_ = input.readUInt32(); 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.Reporting.internal_static_io_ChartDataPoints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Reporting.internal_static_io_ChartDataPoints_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Reporting.ChartDataPoints.class, com.passkit.grpc.Reporting.ChartDataPoints.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * ie. January, Monday
     * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * ie. January, Monday
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CREATED_FIELD_NUMBER = 2; private int created_; /** *
     * Daily, monthly or yearly total of pass created.
     * 
* * uint32 created = 2; * @return The created. */ @java.lang.Override public int getCreated() { return created_; } public static final int INSTALLED_FIELD_NUMBER = 3; private int installed_; /** *
     * Daily, monthly or yearly total of pass installed.
     * 
* * uint32 installed = 3; * @return The installed. */ @java.lang.Override public int getInstalled() { return installed_; } public static final int UPDATED_FIELD_NUMBER = 4; private int updated_; /** *
     * Daily, monthly or yearly total of pass updated.
     * 
* * uint32 updated = 4; * @return The updated. */ @java.lang.Override public int getUpdated() { return updated_; } public static final int DELETED_FIELD_NUMBER = 5; private int deleted_; /** *
     * Daily, monthly or yearly total of pass deleted.
     * 
* * uint32 deleted = 5; * @return The deleted. */ @java.lang.Override public int getDeleted() { return deleted_; } public static final int INVALIDATED_FIELD_NUMBER = 6; private int invalidated_; /** *
     * Daily, monthly or yearly total of pass invalidated.
     * 
* * uint32 invalidated = 6; * @return The invalidated. */ @java.lang.Override public int getInvalidated() { return invalidated_; } public static final int CUSTOM_FIELD_NUMBER = 7; private int custom_; /** *
     * Daily, monthly or yearly total of custom data (in case this field used by a protocol; it can put whatever is preferred in here).
     * 
* * uint32 custom = 7; * @return The custom. */ @java.lang.Override public int getCustom() { return custom_; } 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (created_ != 0) { output.writeUInt32(2, created_); } if (installed_ != 0) { output.writeUInt32(3, installed_); } if (updated_ != 0) { output.writeUInt32(4, updated_); } if (deleted_ != 0) { output.writeUInt32(5, deleted_); } if (invalidated_ != 0) { output.writeUInt32(6, invalidated_); } if (custom_ != 0) { output.writeUInt32(7, custom_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (created_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, created_); } if (installed_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, installed_); } if (updated_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, updated_); } if (deleted_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, deleted_); } if (invalidated_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, invalidated_); } if (custom_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, custom_); } 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.Reporting.ChartDataPoints)) { return super.equals(obj); } com.passkit.grpc.Reporting.ChartDataPoints other = (com.passkit.grpc.Reporting.ChartDataPoints) obj; if (!getName() .equals(other.getName())) return false; if (getCreated() != other.getCreated()) return false; if (getInstalled() != other.getInstalled()) return false; if (getUpdated() != other.getUpdated()) return false; if (getDeleted() != other.getDeleted()) return false; if (getInvalidated() != other.getInvalidated()) return false; if (getCustom() != other.getCustom()) 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) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + CREATED_FIELD_NUMBER; hash = (53 * hash) + getCreated(); hash = (37 * hash) + INSTALLED_FIELD_NUMBER; hash = (53 * hash) + getInstalled(); hash = (37 * hash) + UPDATED_FIELD_NUMBER; hash = (53 * hash) + getUpdated(); hash = (37 * hash) + DELETED_FIELD_NUMBER; hash = (53 * hash) + getDeleted(); hash = (37 * hash) + INVALIDATED_FIELD_NUMBER; hash = (53 * hash) + getInvalidated(); hash = (37 * hash) + CUSTOM_FIELD_NUMBER; hash = (53 * hash) + getCustom(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Reporting.ChartDataPoints parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.ChartDataPoints 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.Reporting.ChartDataPoints parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.ChartDataPoints 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.Reporting.ChartDataPoints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.ChartDataPoints parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Reporting.ChartDataPoints parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.ChartDataPoints 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.Reporting.ChartDataPoints parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.ChartDataPoints 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.Reporting.ChartDataPoints parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.ChartDataPoints 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.Reporting.ChartDataPoints 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.ChartDataPoints} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.ChartDataPoints) com.passkit.grpc.Reporting.ChartDataPointsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Reporting.internal_static_io_ChartDataPoints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Reporting.internal_static_io_ChartDataPoints_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Reporting.ChartDataPoints.class, com.passkit.grpc.Reporting.ChartDataPoints.Builder.class); } // Construct using com.passkit.grpc.Reporting.ChartDataPoints.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(); name_ = ""; created_ = 0; installed_ = 0; updated_ = 0; deleted_ = 0; invalidated_ = 0; custom_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Reporting.internal_static_io_ChartDataPoints_descriptor; } @java.lang.Override public com.passkit.grpc.Reporting.ChartDataPoints getDefaultInstanceForType() { return com.passkit.grpc.Reporting.ChartDataPoints.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Reporting.ChartDataPoints build() { com.passkit.grpc.Reporting.ChartDataPoints result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Reporting.ChartDataPoints buildPartial() { com.passkit.grpc.Reporting.ChartDataPoints result = new com.passkit.grpc.Reporting.ChartDataPoints(this); result.name_ = name_; result.created_ = created_; result.installed_ = installed_; result.updated_ = updated_; result.deleted_ = deleted_; result.invalidated_ = invalidated_; result.custom_ = custom_; 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.Reporting.ChartDataPoints) { return mergeFrom((com.passkit.grpc.Reporting.ChartDataPoints)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Reporting.ChartDataPoints other) { if (other == com.passkit.grpc.Reporting.ChartDataPoints.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.getCreated() != 0) { setCreated(other.getCreated()); } if (other.getInstalled() != 0) { setInstalled(other.getInstalled()); } if (other.getUpdated() != 0) { setUpdated(other.getUpdated()); } if (other.getDeleted() != 0) { setDeleted(other.getDeleted()); } if (other.getInvalidated() != 0) { setInvalidated(other.getInvalidated()); } if (other.getCustom() != 0) { setCustom(other.getCustom()); } 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.Reporting.ChartDataPoints parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Reporting.ChartDataPoints) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object name_ = ""; /** *
       * ie. January, Monday
       * 
* * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ie. January, Monday
       * 
* * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ie. January, Monday
       * 
* * string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * ie. January, Monday
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * ie. January, Monday
       * 
* * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private int created_ ; /** *
       * Daily, monthly or yearly total of pass created.
       * 
* * uint32 created = 2; * @return The created. */ @java.lang.Override public int getCreated() { return created_; } /** *
       * Daily, monthly or yearly total of pass created.
       * 
* * uint32 created = 2; * @param value The created to set. * @return This builder for chaining. */ public Builder setCreated(int value) { created_ = value; onChanged(); return this; } /** *
       * Daily, monthly or yearly total of pass created.
       * 
* * uint32 created = 2; * @return This builder for chaining. */ public Builder clearCreated() { created_ = 0; onChanged(); return this; } private int installed_ ; /** *
       * Daily, monthly or yearly total of pass installed.
       * 
* * uint32 installed = 3; * @return The installed. */ @java.lang.Override public int getInstalled() { return installed_; } /** *
       * Daily, monthly or yearly total of pass installed.
       * 
* * uint32 installed = 3; * @param value The installed to set. * @return This builder for chaining. */ public Builder setInstalled(int value) { installed_ = value; onChanged(); return this; } /** *
       * Daily, monthly or yearly total of pass installed.
       * 
* * uint32 installed = 3; * @return This builder for chaining. */ public Builder clearInstalled() { installed_ = 0; onChanged(); return this; } private int updated_ ; /** *
       * Daily, monthly or yearly total of pass updated.
       * 
* * uint32 updated = 4; * @return The updated. */ @java.lang.Override public int getUpdated() { return updated_; } /** *
       * Daily, monthly or yearly total of pass updated.
       * 
* * uint32 updated = 4; * @param value The updated to set. * @return This builder for chaining. */ public Builder setUpdated(int value) { updated_ = value; onChanged(); return this; } /** *
       * Daily, monthly or yearly total of pass updated.
       * 
* * uint32 updated = 4; * @return This builder for chaining. */ public Builder clearUpdated() { updated_ = 0; onChanged(); return this; } private int deleted_ ; /** *
       * Daily, monthly or yearly total of pass deleted.
       * 
* * uint32 deleted = 5; * @return The deleted. */ @java.lang.Override public int getDeleted() { return deleted_; } /** *
       * Daily, monthly or yearly total of pass deleted.
       * 
* * uint32 deleted = 5; * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(int value) { deleted_ = value; onChanged(); return this; } /** *
       * Daily, monthly or yearly total of pass deleted.
       * 
* * uint32 deleted = 5; * @return This builder for chaining. */ public Builder clearDeleted() { deleted_ = 0; onChanged(); return this; } private int invalidated_ ; /** *
       * Daily, monthly or yearly total of pass invalidated.
       * 
* * uint32 invalidated = 6; * @return The invalidated. */ @java.lang.Override public int getInvalidated() { return invalidated_; } /** *
       * Daily, monthly or yearly total of pass invalidated.
       * 
* * uint32 invalidated = 6; * @param value The invalidated to set. * @return This builder for chaining. */ public Builder setInvalidated(int value) { invalidated_ = value; onChanged(); return this; } /** *
       * Daily, monthly or yearly total of pass invalidated.
       * 
* * uint32 invalidated = 6; * @return This builder for chaining. */ public Builder clearInvalidated() { invalidated_ = 0; onChanged(); return this; } private int custom_ ; /** *
       * Daily, monthly or yearly total of custom data (in case this field used by a protocol; it can put whatever is preferred in here).
       * 
* * uint32 custom = 7; * @return The custom. */ @java.lang.Override public int getCustom() { return custom_; } /** *
       * Daily, monthly or yearly total of custom data (in case this field used by a protocol; it can put whatever is preferred in here).
       * 
* * uint32 custom = 7; * @param value The custom to set. * @return This builder for chaining. */ public Builder setCustom(int value) { custom_ = value; onChanged(); return this; } /** *
       * Daily, monthly or yearly total of custom data (in case this field used by a protocol; it can put whatever is preferred in here).
       * 
* * uint32 custom = 7; * @return This builder for chaining. */ public Builder clearCustom() { custom_ = 0; 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.ChartDataPoints) } // @@protoc_insertion_point(class_scope:io.ChartDataPoints) private static final com.passkit.grpc.Reporting.ChartDataPoints DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Reporting.ChartDataPoints(); } public static com.passkit.grpc.Reporting.ChartDataPoints getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ChartDataPoints parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ChartDataPoints(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.Reporting.ChartDataPoints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AnalyticsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:io.AnalyticsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The protocol that you are requesting analytics for, i.e. MEMBERSHIP, SINGLE_USE_COUPON, EVENT_TICKETS, FLIGHTS, etc.
     * 
* * .io.PassProtocol protocol = 1; * @return The enum numeric value on the wire for protocol. */ int getProtocolValue(); /** *
     * The protocol that you are requesting analytics for, i.e. MEMBERSHIP, SINGLE_USE_COUPON, EVENT_TICKETS, FLIGHTS, etc.
     * 
* * .io.PassProtocol protocol = 1; * @return The protocol. */ com.passkit.grpc.Protocols.PassProtocol getProtocol(); /** *
     * The ID of the highest level element in the protocol. For Membership this is the Program ID, for coupons this is the Campaign ID, For Event Tickets this is Production, For Flight this is CarrierCode.
     * 
* * string classId = 2; * @return The classId. */ java.lang.String getClassId(); /** *
     * The ID of the highest level element in the protocol. For Membership this is the Program ID, for coupons this is the Campaign ID, For Event Tickets this is Production, For Flight this is CarrierCode.
     * 
* * string classId = 2; * @return The bytes for classId. */ com.google.protobuf.ByteString getClassIdBytes(); /** *
     * The Period to group the response data by: per DAY, MONTH or YEAR.
     * 
* * .io.Period period = 3; * @return The enum numeric value on the wire for period. */ int getPeriodValue(); /** *
     * The Period to group the response data by: per DAY, MONTH or YEAR.
     * 
* * .io.Period period = 3; * @return The period. */ com.passkit.grpc.Reporting.Period getPeriod(); /** *
     * Start date sets the oldest date of the data to be shown.
     * 
* * string startDate = 4; * @return The startDate. */ java.lang.String getStartDate(); /** *
     * Start date sets the oldest date of the data to be shown.
     * 
* * string startDate = 4; * @return The bytes for startDate. */ com.google.protobuf.ByteString getStartDateBytes(); /** *
     * End date sets the latest date of the data to be shown.
     * 
* * string endDate = 5; * @return The endDate. */ java.lang.String getEndDate(); /** *
     * End date sets the latest date of the data to be shown.
     * 
* * string endDate = 5; * @return The bytes for endDate. */ com.google.protobuf.ByteString getEndDateBytes(); /** *
     * Timezone in IANA format; defaults to UTC if not provided.
     * 
* * string timezone = 6; * @return The timezone. */ java.lang.String getTimezone(); /** *
     * Timezone in IANA format; defaults to UTC if not provided.
     * 
* * string timezone = 6; * @return The bytes for timezone. */ com.google.protobuf.ByteString getTimezoneBytes(); /** * .io.CouponAnalyticsFilter coupon = 15; * @return Whether the coupon field is set. */ boolean hasCoupon(); /** * .io.CouponAnalyticsFilter coupon = 15; * @return The coupon. */ com.passkit.grpc.Reporting.CouponAnalyticsFilter getCoupon(); /** * .io.CouponAnalyticsFilter coupon = 15; */ com.passkit.grpc.Reporting.CouponAnalyticsFilterOrBuilder getCouponOrBuilder(); /** * .io.FlightAnalyticsFilter flight = 16; * @return Whether the flight field is set. */ boolean hasFlight(); /** * .io.FlightAnalyticsFilter flight = 16; * @return The flight. */ com.passkit.grpc.Reporting.FlightAnalyticsFilter getFlight(); /** * .io.FlightAnalyticsFilter flight = 16; */ com.passkit.grpc.Reporting.FlightAnalyticsFilterOrBuilder getFlightOrBuilder(); /** * .io.EventTicketAnalyticsFilter eventTicket = 17; * @return Whether the eventTicket field is set. */ boolean hasEventTicket(); /** * .io.EventTicketAnalyticsFilter eventTicket = 17; * @return The eventTicket. */ com.passkit.grpc.Reporting.EventTicketAnalyticsFilter getEventTicket(); /** * .io.EventTicketAnalyticsFilter eventTicket = 17; */ com.passkit.grpc.Reporting.EventTicketAnalyticsFilterOrBuilder getEventTicketOrBuilder(); public com.passkit.grpc.Reporting.AnalyticsRequest.FilterCase getFilterCase(); } /** * Protobuf type {@code io.AnalyticsRequest} */ public static final class AnalyticsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.AnalyticsRequest) AnalyticsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use AnalyticsRequest.newBuilder() to construct. private AnalyticsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AnalyticsRequest() { protocol_ = 0; classId_ = ""; period_ = 0; startDate_ = ""; endDate_ = ""; timezone_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AnalyticsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AnalyticsRequest( 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(); protocol_ = rawValue; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); classId_ = s; break; } case 24: { int rawValue = input.readEnum(); period_ = rawValue; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); startDate_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); endDate_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); timezone_ = s; break; } case 122: { com.passkit.grpc.Reporting.CouponAnalyticsFilter.Builder subBuilder = null; if (filterCase_ == 15) { subBuilder = ((com.passkit.grpc.Reporting.CouponAnalyticsFilter) filter_).toBuilder(); } filter_ = input.readMessage(com.passkit.grpc.Reporting.CouponAnalyticsFilter.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.passkit.grpc.Reporting.CouponAnalyticsFilter) filter_); filter_ = subBuilder.buildPartial(); } filterCase_ = 15; break; } case 130: { com.passkit.grpc.Reporting.FlightAnalyticsFilter.Builder subBuilder = null; if (filterCase_ == 16) { subBuilder = ((com.passkit.grpc.Reporting.FlightAnalyticsFilter) filter_).toBuilder(); } filter_ = input.readMessage(com.passkit.grpc.Reporting.FlightAnalyticsFilter.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.passkit.grpc.Reporting.FlightAnalyticsFilter) filter_); filter_ = subBuilder.buildPartial(); } filterCase_ = 16; break; } case 138: { com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.Builder subBuilder = null; if (filterCase_ == 17) { subBuilder = ((com.passkit.grpc.Reporting.EventTicketAnalyticsFilter) filter_).toBuilder(); } filter_ = input.readMessage(com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.passkit.grpc.Reporting.EventTicketAnalyticsFilter) filter_); filter_ = subBuilder.buildPartial(); } filterCase_ = 17; 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.Reporting.internal_static_io_AnalyticsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Reporting.internal_static_io_AnalyticsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Reporting.AnalyticsRequest.class, com.passkit.grpc.Reporting.AnalyticsRequest.Builder.class); } private int filterCase_ = 0; private java.lang.Object filter_; public enum FilterCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COUPON(15), FLIGHT(16), EVENTTICKET(17), FILTER_NOT_SET(0); private final int value; private FilterCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static FilterCase valueOf(int value) { return forNumber(value); } public static FilterCase forNumber(int value) { switch (value) { case 15: return COUPON; case 16: return FLIGHT; case 17: return EVENTTICKET; case 0: return FILTER_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public FilterCase getFilterCase() { return FilterCase.forNumber( filterCase_); } public static final int PROTOCOL_FIELD_NUMBER = 1; private int protocol_; /** *
     * The protocol that you are requesting analytics for, i.e. MEMBERSHIP, SINGLE_USE_COUPON, EVENT_TICKETS, FLIGHTS, etc.
     * 
* * .io.PassProtocol protocol = 1; * @return The enum numeric value on the wire for protocol. */ @java.lang.Override public int getProtocolValue() { return protocol_; } /** *
     * The protocol that you are requesting analytics for, i.e. MEMBERSHIP, SINGLE_USE_COUPON, EVENT_TICKETS, FLIGHTS, etc.
     * 
* * .io.PassProtocol protocol = 1; * @return The protocol. */ @java.lang.Override public com.passkit.grpc.Protocols.PassProtocol getProtocol() { @SuppressWarnings("deprecation") com.passkit.grpc.Protocols.PassProtocol result = com.passkit.grpc.Protocols.PassProtocol.valueOf(protocol_); return result == null ? com.passkit.grpc.Protocols.PassProtocol.UNRECOGNIZED : result; } public static final int CLASSID_FIELD_NUMBER = 2; private volatile java.lang.Object classId_; /** *
     * The ID of the highest level element in the protocol. For Membership this is the Program ID, for coupons this is the Campaign ID, For Event Tickets this is Production, For Flight this is CarrierCode.
     * 
* * string classId = 2; * @return The classId. */ @java.lang.Override public java.lang.String getClassId() { java.lang.Object ref = classId_; 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(); classId_ = s; return s; } } /** *
     * The ID of the highest level element in the protocol. For Membership this is the Program ID, for coupons this is the Campaign ID, For Event Tickets this is Production, For Flight this is CarrierCode.
     * 
* * string classId = 2; * @return The bytes for classId. */ @java.lang.Override public com.google.protobuf.ByteString getClassIdBytes() { java.lang.Object ref = classId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); classId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PERIOD_FIELD_NUMBER = 3; private int period_; /** *
     * The Period to group the response data by: per DAY, MONTH or YEAR.
     * 
* * .io.Period period = 3; * @return The enum numeric value on the wire for period. */ @java.lang.Override public int getPeriodValue() { return period_; } /** *
     * The Period to group the response data by: per DAY, MONTH or YEAR.
     * 
* * .io.Period period = 3; * @return The period. */ @java.lang.Override public com.passkit.grpc.Reporting.Period getPeriod() { @SuppressWarnings("deprecation") com.passkit.grpc.Reporting.Period result = com.passkit.grpc.Reporting.Period.valueOf(period_); return result == null ? com.passkit.grpc.Reporting.Period.UNRECOGNIZED : result; } public static final int STARTDATE_FIELD_NUMBER = 4; private volatile java.lang.Object startDate_; /** *
     * Start date sets the oldest date of the data to be shown.
     * 
* * string startDate = 4; * @return The startDate. */ @java.lang.Override public java.lang.String getStartDate() { java.lang.Object ref = startDate_; 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(); startDate_ = s; return s; } } /** *
     * Start date sets the oldest date of the data to be shown.
     * 
* * string startDate = 4; * @return The bytes for startDate. */ @java.lang.Override public com.google.protobuf.ByteString getStartDateBytes() { java.lang.Object ref = startDate_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); startDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENDDATE_FIELD_NUMBER = 5; private volatile java.lang.Object endDate_; /** *
     * End date sets the latest date of the data to be shown.
     * 
* * string endDate = 5; * @return The endDate. */ @java.lang.Override public java.lang.String getEndDate() { java.lang.Object ref = endDate_; 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(); endDate_ = s; return s; } } /** *
     * End date sets the latest date of the data to be shown.
     * 
* * string endDate = 5; * @return The bytes for endDate. */ @java.lang.Override public com.google.protobuf.ByteString getEndDateBytes() { java.lang.Object ref = endDate_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); endDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIMEZONE_FIELD_NUMBER = 6; private volatile java.lang.Object timezone_; /** *
     * Timezone in IANA format; defaults to UTC if not provided.
     * 
* * string timezone = 6; * @return The timezone. */ @java.lang.Override public java.lang.String getTimezone() { java.lang.Object ref = timezone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timezone_ = s; return s; } } /** *
     * Timezone in IANA format; defaults to UTC if not provided.
     * 
* * string timezone = 6; * @return The bytes for timezone. */ @java.lang.Override public com.google.protobuf.ByteString getTimezoneBytes() { java.lang.Object ref = timezone_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timezone_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COUPON_FIELD_NUMBER = 15; /** * .io.CouponAnalyticsFilter coupon = 15; * @return Whether the coupon field is set. */ @java.lang.Override public boolean hasCoupon() { return filterCase_ == 15; } /** * .io.CouponAnalyticsFilter coupon = 15; * @return The coupon. */ @java.lang.Override public com.passkit.grpc.Reporting.CouponAnalyticsFilter getCoupon() { if (filterCase_ == 15) { return (com.passkit.grpc.Reporting.CouponAnalyticsFilter) filter_; } return com.passkit.grpc.Reporting.CouponAnalyticsFilter.getDefaultInstance(); } /** * .io.CouponAnalyticsFilter coupon = 15; */ @java.lang.Override public com.passkit.grpc.Reporting.CouponAnalyticsFilterOrBuilder getCouponOrBuilder() { if (filterCase_ == 15) { return (com.passkit.grpc.Reporting.CouponAnalyticsFilter) filter_; } return com.passkit.grpc.Reporting.CouponAnalyticsFilter.getDefaultInstance(); } public static final int FLIGHT_FIELD_NUMBER = 16; /** * .io.FlightAnalyticsFilter flight = 16; * @return Whether the flight field is set. */ @java.lang.Override public boolean hasFlight() { return filterCase_ == 16; } /** * .io.FlightAnalyticsFilter flight = 16; * @return The flight. */ @java.lang.Override public com.passkit.grpc.Reporting.FlightAnalyticsFilter getFlight() { if (filterCase_ == 16) { return (com.passkit.grpc.Reporting.FlightAnalyticsFilter) filter_; } return com.passkit.grpc.Reporting.FlightAnalyticsFilter.getDefaultInstance(); } /** * .io.FlightAnalyticsFilter flight = 16; */ @java.lang.Override public com.passkit.grpc.Reporting.FlightAnalyticsFilterOrBuilder getFlightOrBuilder() { if (filterCase_ == 16) { return (com.passkit.grpc.Reporting.FlightAnalyticsFilter) filter_; } return com.passkit.grpc.Reporting.FlightAnalyticsFilter.getDefaultInstance(); } public static final int EVENTTICKET_FIELD_NUMBER = 17; /** * .io.EventTicketAnalyticsFilter eventTicket = 17; * @return Whether the eventTicket field is set. */ @java.lang.Override public boolean hasEventTicket() { return filterCase_ == 17; } /** * .io.EventTicketAnalyticsFilter eventTicket = 17; * @return The eventTicket. */ @java.lang.Override public com.passkit.grpc.Reporting.EventTicketAnalyticsFilter getEventTicket() { if (filterCase_ == 17) { return (com.passkit.grpc.Reporting.EventTicketAnalyticsFilter) filter_; } return com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.getDefaultInstance(); } /** * .io.EventTicketAnalyticsFilter eventTicket = 17; */ @java.lang.Override public com.passkit.grpc.Reporting.EventTicketAnalyticsFilterOrBuilder getEventTicketOrBuilder() { if (filterCase_ == 17) { return (com.passkit.grpc.Reporting.EventTicketAnalyticsFilter) filter_; } return com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.getDefaultInstance(); } 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 (protocol_ != com.passkit.grpc.Protocols.PassProtocol.PASS_PROTOCOL_DO_NOT_USE.getNumber()) { output.writeEnum(1, protocol_); } if (!getClassIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, classId_); } if (period_ != com.passkit.grpc.Reporting.Period.DAY.getNumber()) { output.writeEnum(3, period_); } if (!getStartDateBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, startDate_); } if (!getEndDateBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, endDate_); } if (!getTimezoneBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, timezone_); } if (filterCase_ == 15) { output.writeMessage(15, (com.passkit.grpc.Reporting.CouponAnalyticsFilter) filter_); } if (filterCase_ == 16) { output.writeMessage(16, (com.passkit.grpc.Reporting.FlightAnalyticsFilter) filter_); } if (filterCase_ == 17) { output.writeMessage(17, (com.passkit.grpc.Reporting.EventTicketAnalyticsFilter) filter_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (protocol_ != com.passkit.grpc.Protocols.PassProtocol.PASS_PROTOCOL_DO_NOT_USE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, protocol_); } if (!getClassIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, classId_); } if (period_ != com.passkit.grpc.Reporting.Period.DAY.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, period_); } if (!getStartDateBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, startDate_); } if (!getEndDateBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, endDate_); } if (!getTimezoneBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, timezone_); } if (filterCase_ == 15) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, (com.passkit.grpc.Reporting.CouponAnalyticsFilter) filter_); } if (filterCase_ == 16) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, (com.passkit.grpc.Reporting.FlightAnalyticsFilter) filter_); } if (filterCase_ == 17) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, (com.passkit.grpc.Reporting.EventTicketAnalyticsFilter) filter_); } 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.Reporting.AnalyticsRequest)) { return super.equals(obj); } com.passkit.grpc.Reporting.AnalyticsRequest other = (com.passkit.grpc.Reporting.AnalyticsRequest) obj; if (protocol_ != other.protocol_) return false; if (!getClassId() .equals(other.getClassId())) return false; if (period_ != other.period_) return false; if (!getStartDate() .equals(other.getStartDate())) return false; if (!getEndDate() .equals(other.getEndDate())) return false; if (!getTimezone() .equals(other.getTimezone())) return false; if (!getFilterCase().equals(other.getFilterCase())) return false; switch (filterCase_) { case 15: if (!getCoupon() .equals(other.getCoupon())) return false; break; case 16: if (!getFlight() .equals(other.getFlight())) return false; break; case 17: if (!getEventTicket() .equals(other.getEventTicket())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PROTOCOL_FIELD_NUMBER; hash = (53 * hash) + protocol_; hash = (37 * hash) + CLASSID_FIELD_NUMBER; hash = (53 * hash) + getClassId().hashCode(); hash = (37 * hash) + PERIOD_FIELD_NUMBER; hash = (53 * hash) + period_; hash = (37 * hash) + STARTDATE_FIELD_NUMBER; hash = (53 * hash) + getStartDate().hashCode(); hash = (37 * hash) + ENDDATE_FIELD_NUMBER; hash = (53 * hash) + getEndDate().hashCode(); hash = (37 * hash) + TIMEZONE_FIELD_NUMBER; hash = (53 * hash) + getTimezone().hashCode(); switch (filterCase_) { case 15: hash = (37 * hash) + COUPON_FIELD_NUMBER; hash = (53 * hash) + getCoupon().hashCode(); break; case 16: hash = (37 * hash) + FLIGHT_FIELD_NUMBER; hash = (53 * hash) + getFlight().hashCode(); break; case 17: hash = (37 * hash) + EVENTTICKET_FIELD_NUMBER; hash = (53 * hash) + getEventTicket().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Reporting.AnalyticsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.AnalyticsRequest 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.Reporting.AnalyticsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.AnalyticsRequest 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.Reporting.AnalyticsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.AnalyticsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Reporting.AnalyticsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.AnalyticsRequest 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.Reporting.AnalyticsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.AnalyticsRequest 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.Reporting.AnalyticsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.AnalyticsRequest 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.Reporting.AnalyticsRequest 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.AnalyticsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.AnalyticsRequest) com.passkit.grpc.Reporting.AnalyticsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Reporting.internal_static_io_AnalyticsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Reporting.internal_static_io_AnalyticsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Reporting.AnalyticsRequest.class, com.passkit.grpc.Reporting.AnalyticsRequest.Builder.class); } // Construct using com.passkit.grpc.Reporting.AnalyticsRequest.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(); protocol_ = 0; classId_ = ""; period_ = 0; startDate_ = ""; endDate_ = ""; timezone_ = ""; filterCase_ = 0; filter_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Reporting.internal_static_io_AnalyticsRequest_descriptor; } @java.lang.Override public com.passkit.grpc.Reporting.AnalyticsRequest getDefaultInstanceForType() { return com.passkit.grpc.Reporting.AnalyticsRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Reporting.AnalyticsRequest build() { com.passkit.grpc.Reporting.AnalyticsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Reporting.AnalyticsRequest buildPartial() { com.passkit.grpc.Reporting.AnalyticsRequest result = new com.passkit.grpc.Reporting.AnalyticsRequest(this); result.protocol_ = protocol_; result.classId_ = classId_; result.period_ = period_; result.startDate_ = startDate_; result.endDate_ = endDate_; result.timezone_ = timezone_; if (filterCase_ == 15) { if (couponBuilder_ == null) { result.filter_ = filter_; } else { result.filter_ = couponBuilder_.build(); } } if (filterCase_ == 16) { if (flightBuilder_ == null) { result.filter_ = filter_; } else { result.filter_ = flightBuilder_.build(); } } if (filterCase_ == 17) { if (eventTicketBuilder_ == null) { result.filter_ = filter_; } else { result.filter_ = eventTicketBuilder_.build(); } } result.filterCase_ = filterCase_; 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.Reporting.AnalyticsRequest) { return mergeFrom((com.passkit.grpc.Reporting.AnalyticsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Reporting.AnalyticsRequest other) { if (other == com.passkit.grpc.Reporting.AnalyticsRequest.getDefaultInstance()) return this; if (other.protocol_ != 0) { setProtocolValue(other.getProtocolValue()); } if (!other.getClassId().isEmpty()) { classId_ = other.classId_; onChanged(); } if (other.period_ != 0) { setPeriodValue(other.getPeriodValue()); } if (!other.getStartDate().isEmpty()) { startDate_ = other.startDate_; onChanged(); } if (!other.getEndDate().isEmpty()) { endDate_ = other.endDate_; onChanged(); } if (!other.getTimezone().isEmpty()) { timezone_ = other.timezone_; onChanged(); } switch (other.getFilterCase()) { case COUPON: { mergeCoupon(other.getCoupon()); break; } case FLIGHT: { mergeFlight(other.getFlight()); break; } case EVENTTICKET: { mergeEventTicket(other.getEventTicket()); break; } case FILTER_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.passkit.grpc.Reporting.AnalyticsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Reporting.AnalyticsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int filterCase_ = 0; private java.lang.Object filter_; public FilterCase getFilterCase() { return FilterCase.forNumber( filterCase_); } public Builder clearFilter() { filterCase_ = 0; filter_ = null; onChanged(); return this; } private int protocol_ = 0; /** *
       * The protocol that you are requesting analytics for, i.e. MEMBERSHIP, SINGLE_USE_COUPON, EVENT_TICKETS, FLIGHTS, etc.
       * 
* * .io.PassProtocol protocol = 1; * @return The enum numeric value on the wire for protocol. */ @java.lang.Override public int getProtocolValue() { return protocol_; } /** *
       * The protocol that you are requesting analytics for, i.e. MEMBERSHIP, SINGLE_USE_COUPON, EVENT_TICKETS, FLIGHTS, etc.
       * 
* * .io.PassProtocol protocol = 1; * @param value The enum numeric value on the wire for protocol to set. * @return This builder for chaining. */ public Builder setProtocolValue(int value) { protocol_ = value; onChanged(); return this; } /** *
       * The protocol that you are requesting analytics for, i.e. MEMBERSHIP, SINGLE_USE_COUPON, EVENT_TICKETS, FLIGHTS, etc.
       * 
* * .io.PassProtocol protocol = 1; * @return The protocol. */ @java.lang.Override public com.passkit.grpc.Protocols.PassProtocol getProtocol() { @SuppressWarnings("deprecation") com.passkit.grpc.Protocols.PassProtocol result = com.passkit.grpc.Protocols.PassProtocol.valueOf(protocol_); return result == null ? com.passkit.grpc.Protocols.PassProtocol.UNRECOGNIZED : result; } /** *
       * The protocol that you are requesting analytics for, i.e. MEMBERSHIP, SINGLE_USE_COUPON, EVENT_TICKETS, FLIGHTS, etc.
       * 
* * .io.PassProtocol protocol = 1; * @param value The protocol to set. * @return This builder for chaining. */ public Builder setProtocol(com.passkit.grpc.Protocols.PassProtocol value) { if (value == null) { throw new NullPointerException(); } protocol_ = value.getNumber(); onChanged(); return this; } /** *
       * The protocol that you are requesting analytics for, i.e. MEMBERSHIP, SINGLE_USE_COUPON, EVENT_TICKETS, FLIGHTS, etc.
       * 
* * .io.PassProtocol protocol = 1; * @return This builder for chaining. */ public Builder clearProtocol() { protocol_ = 0; onChanged(); return this; } private java.lang.Object classId_ = ""; /** *
       * The ID of the highest level element in the protocol. For Membership this is the Program ID, for coupons this is the Campaign ID, For Event Tickets this is Production, For Flight this is CarrierCode.
       * 
* * string classId = 2; * @return The classId. */ public java.lang.String getClassId() { java.lang.Object ref = classId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); classId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The ID of the highest level element in the protocol. For Membership this is the Program ID, for coupons this is the Campaign ID, For Event Tickets this is Production, For Flight this is CarrierCode.
       * 
* * string classId = 2; * @return The bytes for classId. */ public com.google.protobuf.ByteString getClassIdBytes() { java.lang.Object ref = classId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); classId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The ID of the highest level element in the protocol. For Membership this is the Program ID, for coupons this is the Campaign ID, For Event Tickets this is Production, For Flight this is CarrierCode.
       * 
* * string classId = 2; * @param value The classId to set. * @return This builder for chaining. */ public Builder setClassId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } classId_ = value; onChanged(); return this; } /** *
       * The ID of the highest level element in the protocol. For Membership this is the Program ID, for coupons this is the Campaign ID, For Event Tickets this is Production, For Flight this is CarrierCode.
       * 
* * string classId = 2; * @return This builder for chaining. */ public Builder clearClassId() { classId_ = getDefaultInstance().getClassId(); onChanged(); return this; } /** *
       * The ID of the highest level element in the protocol. For Membership this is the Program ID, for coupons this is the Campaign ID, For Event Tickets this is Production, For Flight this is CarrierCode.
       * 
* * string classId = 2; * @param value The bytes for classId to set. * @return This builder for chaining. */ public Builder setClassIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); classId_ = value; onChanged(); return this; } private int period_ = 0; /** *
       * The Period to group the response data by: per DAY, MONTH or YEAR.
       * 
* * .io.Period period = 3; * @return The enum numeric value on the wire for period. */ @java.lang.Override public int getPeriodValue() { return period_; } /** *
       * The Period to group the response data by: per DAY, MONTH or YEAR.
       * 
* * .io.Period period = 3; * @param value The enum numeric value on the wire for period to set. * @return This builder for chaining. */ public Builder setPeriodValue(int value) { period_ = value; onChanged(); return this; } /** *
       * The Period to group the response data by: per DAY, MONTH or YEAR.
       * 
* * .io.Period period = 3; * @return The period. */ @java.lang.Override public com.passkit.grpc.Reporting.Period getPeriod() { @SuppressWarnings("deprecation") com.passkit.grpc.Reporting.Period result = com.passkit.grpc.Reporting.Period.valueOf(period_); return result == null ? com.passkit.grpc.Reporting.Period.UNRECOGNIZED : result; } /** *
       * The Period to group the response data by: per DAY, MONTH or YEAR.
       * 
* * .io.Period period = 3; * @param value The period to set. * @return This builder for chaining. */ public Builder setPeriod(com.passkit.grpc.Reporting.Period value) { if (value == null) { throw new NullPointerException(); } period_ = value.getNumber(); onChanged(); return this; } /** *
       * The Period to group the response data by: per DAY, MONTH or YEAR.
       * 
* * .io.Period period = 3; * @return This builder for chaining. */ public Builder clearPeriod() { period_ = 0; onChanged(); return this; } private java.lang.Object startDate_ = ""; /** *
       * Start date sets the oldest date of the data to be shown.
       * 
* * string startDate = 4; * @return The startDate. */ public java.lang.String getStartDate() { java.lang.Object ref = startDate_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startDate_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Start date sets the oldest date of the data to be shown.
       * 
* * string startDate = 4; * @return The bytes for startDate. */ public com.google.protobuf.ByteString getStartDateBytes() { java.lang.Object ref = startDate_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); startDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Start date sets the oldest date of the data to be shown.
       * 
* * string startDate = 4; * @param value The startDate to set. * @return This builder for chaining. */ public Builder setStartDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } startDate_ = value; onChanged(); return this; } /** *
       * Start date sets the oldest date of the data to be shown.
       * 
* * string startDate = 4; * @return This builder for chaining. */ public Builder clearStartDate() { startDate_ = getDefaultInstance().getStartDate(); onChanged(); return this; } /** *
       * Start date sets the oldest date of the data to be shown.
       * 
* * string startDate = 4; * @param value The bytes for startDate to set. * @return This builder for chaining. */ public Builder setStartDateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); startDate_ = value; onChanged(); return this; } private java.lang.Object endDate_ = ""; /** *
       * End date sets the latest date of the data to be shown.
       * 
* * string endDate = 5; * @return The endDate. */ public java.lang.String getEndDate() { java.lang.Object ref = endDate_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endDate_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * End date sets the latest date of the data to be shown.
       * 
* * string endDate = 5; * @return The bytes for endDate. */ public com.google.protobuf.ByteString getEndDateBytes() { java.lang.Object ref = endDate_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); endDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * End date sets the latest date of the data to be shown.
       * 
* * string endDate = 5; * @param value The endDate to set. * @return This builder for chaining. */ public Builder setEndDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } endDate_ = value; onChanged(); return this; } /** *
       * End date sets the latest date of the data to be shown.
       * 
* * string endDate = 5; * @return This builder for chaining. */ public Builder clearEndDate() { endDate_ = getDefaultInstance().getEndDate(); onChanged(); return this; } /** *
       * End date sets the latest date of the data to be shown.
       * 
* * string endDate = 5; * @param value The bytes for endDate to set. * @return This builder for chaining. */ public Builder setEndDateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); endDate_ = value; onChanged(); return this; } private java.lang.Object timezone_ = ""; /** *
       * Timezone in IANA format; defaults to UTC if not provided.
       * 
* * string timezone = 6; * @return The timezone. */ public java.lang.String getTimezone() { java.lang.Object ref = timezone_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timezone_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Timezone in IANA format; defaults to UTC if not provided.
       * 
* * string timezone = 6; * @return The bytes for timezone. */ public com.google.protobuf.ByteString getTimezoneBytes() { java.lang.Object ref = timezone_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timezone_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Timezone in IANA format; defaults to UTC if not provided.
       * 
* * string timezone = 6; * @param value The timezone to set. * @return This builder for chaining. */ public Builder setTimezone( java.lang.String value) { if (value == null) { throw new NullPointerException(); } timezone_ = value; onChanged(); return this; } /** *
       * Timezone in IANA format; defaults to UTC if not provided.
       * 
* * string timezone = 6; * @return This builder for chaining. */ public Builder clearTimezone() { timezone_ = getDefaultInstance().getTimezone(); onChanged(); return this; } /** *
       * Timezone in IANA format; defaults to UTC if not provided.
       * 
* * string timezone = 6; * @param value The bytes for timezone to set. * @return This builder for chaining. */ public Builder setTimezoneBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); timezone_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Reporting.CouponAnalyticsFilter, com.passkit.grpc.Reporting.CouponAnalyticsFilter.Builder, com.passkit.grpc.Reporting.CouponAnalyticsFilterOrBuilder> couponBuilder_; /** * .io.CouponAnalyticsFilter coupon = 15; * @return Whether the coupon field is set. */ @java.lang.Override public boolean hasCoupon() { return filterCase_ == 15; } /** * .io.CouponAnalyticsFilter coupon = 15; * @return The coupon. */ @java.lang.Override public com.passkit.grpc.Reporting.CouponAnalyticsFilter getCoupon() { if (couponBuilder_ == null) { if (filterCase_ == 15) { return (com.passkit.grpc.Reporting.CouponAnalyticsFilter) filter_; } return com.passkit.grpc.Reporting.CouponAnalyticsFilter.getDefaultInstance(); } else { if (filterCase_ == 15) { return couponBuilder_.getMessage(); } return com.passkit.grpc.Reporting.CouponAnalyticsFilter.getDefaultInstance(); } } /** * .io.CouponAnalyticsFilter coupon = 15; */ public Builder setCoupon(com.passkit.grpc.Reporting.CouponAnalyticsFilter value) { if (couponBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); } else { couponBuilder_.setMessage(value); } filterCase_ = 15; return this; } /** * .io.CouponAnalyticsFilter coupon = 15; */ public Builder setCoupon( com.passkit.grpc.Reporting.CouponAnalyticsFilter.Builder builderForValue) { if (couponBuilder_ == null) { filter_ = builderForValue.build(); onChanged(); } else { couponBuilder_.setMessage(builderForValue.build()); } filterCase_ = 15; return this; } /** * .io.CouponAnalyticsFilter coupon = 15; */ public Builder mergeCoupon(com.passkit.grpc.Reporting.CouponAnalyticsFilter value) { if (couponBuilder_ == null) { if (filterCase_ == 15 && filter_ != com.passkit.grpc.Reporting.CouponAnalyticsFilter.getDefaultInstance()) { filter_ = com.passkit.grpc.Reporting.CouponAnalyticsFilter.newBuilder((com.passkit.grpc.Reporting.CouponAnalyticsFilter) filter_) .mergeFrom(value).buildPartial(); } else { filter_ = value; } onChanged(); } else { if (filterCase_ == 15) { couponBuilder_.mergeFrom(value); } couponBuilder_.setMessage(value); } filterCase_ = 15; return this; } /** * .io.CouponAnalyticsFilter coupon = 15; */ public Builder clearCoupon() { if (couponBuilder_ == null) { if (filterCase_ == 15) { filterCase_ = 0; filter_ = null; onChanged(); } } else { if (filterCase_ == 15) { filterCase_ = 0; filter_ = null; } couponBuilder_.clear(); } return this; } /** * .io.CouponAnalyticsFilter coupon = 15; */ public com.passkit.grpc.Reporting.CouponAnalyticsFilter.Builder getCouponBuilder() { return getCouponFieldBuilder().getBuilder(); } /** * .io.CouponAnalyticsFilter coupon = 15; */ @java.lang.Override public com.passkit.grpc.Reporting.CouponAnalyticsFilterOrBuilder getCouponOrBuilder() { if ((filterCase_ == 15) && (couponBuilder_ != null)) { return couponBuilder_.getMessageOrBuilder(); } else { if (filterCase_ == 15) { return (com.passkit.grpc.Reporting.CouponAnalyticsFilter) filter_; } return com.passkit.grpc.Reporting.CouponAnalyticsFilter.getDefaultInstance(); } } /** * .io.CouponAnalyticsFilter coupon = 15; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Reporting.CouponAnalyticsFilter, com.passkit.grpc.Reporting.CouponAnalyticsFilter.Builder, com.passkit.grpc.Reporting.CouponAnalyticsFilterOrBuilder> getCouponFieldBuilder() { if (couponBuilder_ == null) { if (!(filterCase_ == 15)) { filter_ = com.passkit.grpc.Reporting.CouponAnalyticsFilter.getDefaultInstance(); } couponBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Reporting.CouponAnalyticsFilter, com.passkit.grpc.Reporting.CouponAnalyticsFilter.Builder, com.passkit.grpc.Reporting.CouponAnalyticsFilterOrBuilder>( (com.passkit.grpc.Reporting.CouponAnalyticsFilter) filter_, getParentForChildren(), isClean()); filter_ = null; } filterCase_ = 15; onChanged();; return couponBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Reporting.FlightAnalyticsFilter, com.passkit.grpc.Reporting.FlightAnalyticsFilter.Builder, com.passkit.grpc.Reporting.FlightAnalyticsFilterOrBuilder> flightBuilder_; /** * .io.FlightAnalyticsFilter flight = 16; * @return Whether the flight field is set. */ @java.lang.Override public boolean hasFlight() { return filterCase_ == 16; } /** * .io.FlightAnalyticsFilter flight = 16; * @return The flight. */ @java.lang.Override public com.passkit.grpc.Reporting.FlightAnalyticsFilter getFlight() { if (flightBuilder_ == null) { if (filterCase_ == 16) { return (com.passkit.grpc.Reporting.FlightAnalyticsFilter) filter_; } return com.passkit.grpc.Reporting.FlightAnalyticsFilter.getDefaultInstance(); } else { if (filterCase_ == 16) { return flightBuilder_.getMessage(); } return com.passkit.grpc.Reporting.FlightAnalyticsFilter.getDefaultInstance(); } } /** * .io.FlightAnalyticsFilter flight = 16; */ public Builder setFlight(com.passkit.grpc.Reporting.FlightAnalyticsFilter value) { if (flightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); } else { flightBuilder_.setMessage(value); } filterCase_ = 16; return this; } /** * .io.FlightAnalyticsFilter flight = 16; */ public Builder setFlight( com.passkit.grpc.Reporting.FlightAnalyticsFilter.Builder builderForValue) { if (flightBuilder_ == null) { filter_ = builderForValue.build(); onChanged(); } else { flightBuilder_.setMessage(builderForValue.build()); } filterCase_ = 16; return this; } /** * .io.FlightAnalyticsFilter flight = 16; */ public Builder mergeFlight(com.passkit.grpc.Reporting.FlightAnalyticsFilter value) { if (flightBuilder_ == null) { if (filterCase_ == 16 && filter_ != com.passkit.grpc.Reporting.FlightAnalyticsFilter.getDefaultInstance()) { filter_ = com.passkit.grpc.Reporting.FlightAnalyticsFilter.newBuilder((com.passkit.grpc.Reporting.FlightAnalyticsFilter) filter_) .mergeFrom(value).buildPartial(); } else { filter_ = value; } onChanged(); } else { if (filterCase_ == 16) { flightBuilder_.mergeFrom(value); } flightBuilder_.setMessage(value); } filterCase_ = 16; return this; } /** * .io.FlightAnalyticsFilter flight = 16; */ public Builder clearFlight() { if (flightBuilder_ == null) { if (filterCase_ == 16) { filterCase_ = 0; filter_ = null; onChanged(); } } else { if (filterCase_ == 16) { filterCase_ = 0; filter_ = null; } flightBuilder_.clear(); } return this; } /** * .io.FlightAnalyticsFilter flight = 16; */ public com.passkit.grpc.Reporting.FlightAnalyticsFilter.Builder getFlightBuilder() { return getFlightFieldBuilder().getBuilder(); } /** * .io.FlightAnalyticsFilter flight = 16; */ @java.lang.Override public com.passkit.grpc.Reporting.FlightAnalyticsFilterOrBuilder getFlightOrBuilder() { if ((filterCase_ == 16) && (flightBuilder_ != null)) { return flightBuilder_.getMessageOrBuilder(); } else { if (filterCase_ == 16) { return (com.passkit.grpc.Reporting.FlightAnalyticsFilter) filter_; } return com.passkit.grpc.Reporting.FlightAnalyticsFilter.getDefaultInstance(); } } /** * .io.FlightAnalyticsFilter flight = 16; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Reporting.FlightAnalyticsFilter, com.passkit.grpc.Reporting.FlightAnalyticsFilter.Builder, com.passkit.grpc.Reporting.FlightAnalyticsFilterOrBuilder> getFlightFieldBuilder() { if (flightBuilder_ == null) { if (!(filterCase_ == 16)) { filter_ = com.passkit.grpc.Reporting.FlightAnalyticsFilter.getDefaultInstance(); } flightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Reporting.FlightAnalyticsFilter, com.passkit.grpc.Reporting.FlightAnalyticsFilter.Builder, com.passkit.grpc.Reporting.FlightAnalyticsFilterOrBuilder>( (com.passkit.grpc.Reporting.FlightAnalyticsFilter) filter_, getParentForChildren(), isClean()); filter_ = null; } filterCase_ = 16; onChanged();; return flightBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Reporting.EventTicketAnalyticsFilter, com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.Builder, com.passkit.grpc.Reporting.EventTicketAnalyticsFilterOrBuilder> eventTicketBuilder_; /** * .io.EventTicketAnalyticsFilter eventTicket = 17; * @return Whether the eventTicket field is set. */ @java.lang.Override public boolean hasEventTicket() { return filterCase_ == 17; } /** * .io.EventTicketAnalyticsFilter eventTicket = 17; * @return The eventTicket. */ @java.lang.Override public com.passkit.grpc.Reporting.EventTicketAnalyticsFilter getEventTicket() { if (eventTicketBuilder_ == null) { if (filterCase_ == 17) { return (com.passkit.grpc.Reporting.EventTicketAnalyticsFilter) filter_; } return com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.getDefaultInstance(); } else { if (filterCase_ == 17) { return eventTicketBuilder_.getMessage(); } return com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.getDefaultInstance(); } } /** * .io.EventTicketAnalyticsFilter eventTicket = 17; */ public Builder setEventTicket(com.passkit.grpc.Reporting.EventTicketAnalyticsFilter value) { if (eventTicketBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); } else { eventTicketBuilder_.setMessage(value); } filterCase_ = 17; return this; } /** * .io.EventTicketAnalyticsFilter eventTicket = 17; */ public Builder setEventTicket( com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.Builder builderForValue) { if (eventTicketBuilder_ == null) { filter_ = builderForValue.build(); onChanged(); } else { eventTicketBuilder_.setMessage(builderForValue.build()); } filterCase_ = 17; return this; } /** * .io.EventTicketAnalyticsFilter eventTicket = 17; */ public Builder mergeEventTicket(com.passkit.grpc.Reporting.EventTicketAnalyticsFilter value) { if (eventTicketBuilder_ == null) { if (filterCase_ == 17 && filter_ != com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.getDefaultInstance()) { filter_ = com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.newBuilder((com.passkit.grpc.Reporting.EventTicketAnalyticsFilter) filter_) .mergeFrom(value).buildPartial(); } else { filter_ = value; } onChanged(); } else { if (filterCase_ == 17) { eventTicketBuilder_.mergeFrom(value); } eventTicketBuilder_.setMessage(value); } filterCase_ = 17; return this; } /** * .io.EventTicketAnalyticsFilter eventTicket = 17; */ public Builder clearEventTicket() { if (eventTicketBuilder_ == null) { if (filterCase_ == 17) { filterCase_ = 0; filter_ = null; onChanged(); } } else { if (filterCase_ == 17) { filterCase_ = 0; filter_ = null; } eventTicketBuilder_.clear(); } return this; } /** * .io.EventTicketAnalyticsFilter eventTicket = 17; */ public com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.Builder getEventTicketBuilder() { return getEventTicketFieldBuilder().getBuilder(); } /** * .io.EventTicketAnalyticsFilter eventTicket = 17; */ @java.lang.Override public com.passkit.grpc.Reporting.EventTicketAnalyticsFilterOrBuilder getEventTicketOrBuilder() { if ((filterCase_ == 17) && (eventTicketBuilder_ != null)) { return eventTicketBuilder_.getMessageOrBuilder(); } else { if (filterCase_ == 17) { return (com.passkit.grpc.Reporting.EventTicketAnalyticsFilter) filter_; } return com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.getDefaultInstance(); } } /** * .io.EventTicketAnalyticsFilter eventTicket = 17; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Reporting.EventTicketAnalyticsFilter, com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.Builder, com.passkit.grpc.Reporting.EventTicketAnalyticsFilterOrBuilder> getEventTicketFieldBuilder() { if (eventTicketBuilder_ == null) { if (!(filterCase_ == 17)) { filter_ = com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.getDefaultInstance(); } eventTicketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Reporting.EventTicketAnalyticsFilter, com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.Builder, com.passkit.grpc.Reporting.EventTicketAnalyticsFilterOrBuilder>( (com.passkit.grpc.Reporting.EventTicketAnalyticsFilter) filter_, getParentForChildren(), isClean()); filter_ = null; } filterCase_ = 17; onChanged();; return eventTicketBuilder_; } @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.AnalyticsRequest) } // @@protoc_insertion_point(class_scope:io.AnalyticsRequest) private static final com.passkit.grpc.Reporting.AnalyticsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Reporting.AnalyticsRequest(); } public static com.passkit.grpc.Reporting.AnalyticsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AnalyticsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AnalyticsRequest(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.Reporting.AnalyticsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CouponAnalyticsFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:io.CouponAnalyticsFilter) com.google.protobuf.MessageOrBuilder { /** * string offerId = 1; * @return The offerId. */ java.lang.String getOfferId(); /** * string offerId = 1; * @return The bytes for offerId. */ com.google.protobuf.ByteString getOfferIdBytes(); } /** * Protobuf type {@code io.CouponAnalyticsFilter} */ public static final class CouponAnalyticsFilter extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.CouponAnalyticsFilter) CouponAnalyticsFilterOrBuilder { private static final long serialVersionUID = 0L; // Use CouponAnalyticsFilter.newBuilder() to construct. private CouponAnalyticsFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CouponAnalyticsFilter() { offerId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CouponAnalyticsFilter(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CouponAnalyticsFilter( 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(); offerId_ = 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.Reporting.internal_static_io_CouponAnalyticsFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Reporting.internal_static_io_CouponAnalyticsFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Reporting.CouponAnalyticsFilter.class, com.passkit.grpc.Reporting.CouponAnalyticsFilter.Builder.class); } public static final int OFFERID_FIELD_NUMBER = 1; private volatile java.lang.Object offerId_; /** * string offerId = 1; * @return The offerId. */ @java.lang.Override public java.lang.String getOfferId() { java.lang.Object ref = offerId_; 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(); offerId_ = s; return s; } } /** * string offerId = 1; * @return The bytes for offerId. */ @java.lang.Override public com.google.protobuf.ByteString getOfferIdBytes() { java.lang.Object ref = offerId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); offerId_ = 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 (!getOfferIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, offerId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getOfferIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, offerId_); } 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.Reporting.CouponAnalyticsFilter)) { return super.equals(obj); } com.passkit.grpc.Reporting.CouponAnalyticsFilter other = (com.passkit.grpc.Reporting.CouponAnalyticsFilter) obj; if (!getOfferId() .equals(other.getOfferId())) 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) + OFFERID_FIELD_NUMBER; hash = (53 * hash) + getOfferId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Reporting.CouponAnalyticsFilter parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.CouponAnalyticsFilter 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.Reporting.CouponAnalyticsFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.CouponAnalyticsFilter 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.Reporting.CouponAnalyticsFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.CouponAnalyticsFilter parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Reporting.CouponAnalyticsFilter parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.CouponAnalyticsFilter 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.Reporting.CouponAnalyticsFilter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.CouponAnalyticsFilter 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.Reporting.CouponAnalyticsFilter parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.CouponAnalyticsFilter 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.Reporting.CouponAnalyticsFilter 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.CouponAnalyticsFilter} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.CouponAnalyticsFilter) com.passkit.grpc.Reporting.CouponAnalyticsFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Reporting.internal_static_io_CouponAnalyticsFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Reporting.internal_static_io_CouponAnalyticsFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Reporting.CouponAnalyticsFilter.class, com.passkit.grpc.Reporting.CouponAnalyticsFilter.Builder.class); } // Construct using com.passkit.grpc.Reporting.CouponAnalyticsFilter.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(); offerId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Reporting.internal_static_io_CouponAnalyticsFilter_descriptor; } @java.lang.Override public com.passkit.grpc.Reporting.CouponAnalyticsFilter getDefaultInstanceForType() { return com.passkit.grpc.Reporting.CouponAnalyticsFilter.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Reporting.CouponAnalyticsFilter build() { com.passkit.grpc.Reporting.CouponAnalyticsFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Reporting.CouponAnalyticsFilter buildPartial() { com.passkit.grpc.Reporting.CouponAnalyticsFilter result = new com.passkit.grpc.Reporting.CouponAnalyticsFilter(this); result.offerId_ = offerId_; 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.Reporting.CouponAnalyticsFilter) { return mergeFrom((com.passkit.grpc.Reporting.CouponAnalyticsFilter)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Reporting.CouponAnalyticsFilter other) { if (other == com.passkit.grpc.Reporting.CouponAnalyticsFilter.getDefaultInstance()) return this; if (!other.getOfferId().isEmpty()) { offerId_ = other.offerId_; 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.Reporting.CouponAnalyticsFilter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Reporting.CouponAnalyticsFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object offerId_ = ""; /** * string offerId = 1; * @return The offerId. */ public java.lang.String getOfferId() { java.lang.Object ref = offerId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offerId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string offerId = 1; * @return The bytes for offerId. */ public com.google.protobuf.ByteString getOfferIdBytes() { java.lang.Object ref = offerId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); offerId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string offerId = 1; * @param value The offerId to set. * @return This builder for chaining. */ public Builder setOfferId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } offerId_ = value; onChanged(); return this; } /** * string offerId = 1; * @return This builder for chaining. */ public Builder clearOfferId() { offerId_ = getDefaultInstance().getOfferId(); onChanged(); return this; } /** * string offerId = 1; * @param value The bytes for offerId to set. * @return This builder for chaining. */ public Builder setOfferIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); offerId_ = 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.CouponAnalyticsFilter) } // @@protoc_insertion_point(class_scope:io.CouponAnalyticsFilter) private static final com.passkit.grpc.Reporting.CouponAnalyticsFilter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Reporting.CouponAnalyticsFilter(); } public static com.passkit.grpc.Reporting.CouponAnalyticsFilter getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CouponAnalyticsFilter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CouponAnalyticsFilter(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.Reporting.CouponAnalyticsFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FlightAnalyticsFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:io.FlightAnalyticsFilter) com.google.protobuf.MessageOrBuilder { /** * string flightNumber = 1; * @return The flightNumber. */ java.lang.String getFlightNumber(); /** * string flightNumber = 1; * @return The bytes for flightNumber. */ com.google.protobuf.ByteString getFlightNumberBytes(); /** * .io.Date departureDate = 2; * @return Whether the departureDate field is set. */ boolean hasDepartureDate(); /** * .io.Date departureDate = 2; * @return The departureDate. */ com.passkit.grpc.CommonObjects.Date getDepartureDate(); /** * .io.Date departureDate = 2; */ com.passkit.grpc.CommonObjects.DateOrBuilder getDepartureDateOrBuilder(); /** * string boardingPoint = 3; * @return The boardingPoint. */ java.lang.String getBoardingPoint(); /** * string boardingPoint = 3; * @return The bytes for boardingPoint. */ com.google.protobuf.ByteString getBoardingPointBytes(); /** * string deplaningPoint = 4; * @return The deplaningPoint. */ java.lang.String getDeplaningPoint(); /** * string deplaningPoint = 4; * @return The bytes for deplaningPoint. */ com.google.protobuf.ByteString getDeplaningPointBytes(); } /** *
   * FlightAnalyticsFilter filter analytics by flight or/and flight designator.
   * FlightNumber, departureDate, boardingPoint and deplaningPoint are required to filter by flight.
   * 
* * Protobuf type {@code io.FlightAnalyticsFilter} */ public static final class FlightAnalyticsFilter extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.FlightAnalyticsFilter) FlightAnalyticsFilterOrBuilder { private static final long serialVersionUID = 0L; // Use FlightAnalyticsFilter.newBuilder() to construct. private FlightAnalyticsFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FlightAnalyticsFilter() { flightNumber_ = ""; boardingPoint_ = ""; deplaningPoint_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FlightAnalyticsFilter(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FlightAnalyticsFilter( 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(); flightNumber_ = s; break; } case 18: { com.passkit.grpc.CommonObjects.Date.Builder subBuilder = null; if (departureDate_ != null) { subBuilder = departureDate_.toBuilder(); } departureDate_ = input.readMessage(com.passkit.grpc.CommonObjects.Date.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(departureDate_); departureDate_ = subBuilder.buildPartial(); } break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); boardingPoint_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); deplaningPoint_ = 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.Reporting.internal_static_io_FlightAnalyticsFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Reporting.internal_static_io_FlightAnalyticsFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Reporting.FlightAnalyticsFilter.class, com.passkit.grpc.Reporting.FlightAnalyticsFilter.Builder.class); } public static final int FLIGHTNUMBER_FIELD_NUMBER = 1; private volatile java.lang.Object flightNumber_; /** * string flightNumber = 1; * @return The flightNumber. */ @java.lang.Override public java.lang.String getFlightNumber() { java.lang.Object ref = flightNumber_; 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(); flightNumber_ = s; return s; } } /** * string flightNumber = 1; * @return The bytes for flightNumber. */ @java.lang.Override public com.google.protobuf.ByteString getFlightNumberBytes() { java.lang.Object ref = flightNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); flightNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEPARTUREDATE_FIELD_NUMBER = 2; private com.passkit.grpc.CommonObjects.Date departureDate_; /** * .io.Date departureDate = 2; * @return Whether the departureDate field is set. */ @java.lang.Override public boolean hasDepartureDate() { return departureDate_ != null; } /** * .io.Date departureDate = 2; * @return The departureDate. */ @java.lang.Override public com.passkit.grpc.CommonObjects.Date getDepartureDate() { return departureDate_ == null ? com.passkit.grpc.CommonObjects.Date.getDefaultInstance() : departureDate_; } /** * .io.Date departureDate = 2; */ @java.lang.Override public com.passkit.grpc.CommonObjects.DateOrBuilder getDepartureDateOrBuilder() { return getDepartureDate(); } public static final int BOARDINGPOINT_FIELD_NUMBER = 3; private volatile java.lang.Object boardingPoint_; /** * string boardingPoint = 3; * @return The boardingPoint. */ @java.lang.Override public java.lang.String getBoardingPoint() { java.lang.Object ref = boardingPoint_; 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(); boardingPoint_ = s; return s; } } /** * string boardingPoint = 3; * @return The bytes for boardingPoint. */ @java.lang.Override public com.google.protobuf.ByteString getBoardingPointBytes() { java.lang.Object ref = boardingPoint_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); boardingPoint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEPLANINGPOINT_FIELD_NUMBER = 4; private volatile java.lang.Object deplaningPoint_; /** * string deplaningPoint = 4; * @return The deplaningPoint. */ @java.lang.Override public java.lang.String getDeplaningPoint() { java.lang.Object ref = deplaningPoint_; 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(); deplaningPoint_ = s; return s; } } /** * string deplaningPoint = 4; * @return The bytes for deplaningPoint. */ @java.lang.Override public com.google.protobuf.ByteString getDeplaningPointBytes() { java.lang.Object ref = deplaningPoint_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deplaningPoint_ = 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 (!getFlightNumberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, flightNumber_); } if (departureDate_ != null) { output.writeMessage(2, getDepartureDate()); } if (!getBoardingPointBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, boardingPoint_); } if (!getDeplaningPointBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, deplaningPoint_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getFlightNumberBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, flightNumber_); } if (departureDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getDepartureDate()); } if (!getBoardingPointBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, boardingPoint_); } if (!getDeplaningPointBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, deplaningPoint_); } 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.Reporting.FlightAnalyticsFilter)) { return super.equals(obj); } com.passkit.grpc.Reporting.FlightAnalyticsFilter other = (com.passkit.grpc.Reporting.FlightAnalyticsFilter) obj; if (!getFlightNumber() .equals(other.getFlightNumber())) return false; if (hasDepartureDate() != other.hasDepartureDate()) return false; if (hasDepartureDate()) { if (!getDepartureDate() .equals(other.getDepartureDate())) return false; } if (!getBoardingPoint() .equals(other.getBoardingPoint())) return false; if (!getDeplaningPoint() .equals(other.getDeplaningPoint())) 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) + FLIGHTNUMBER_FIELD_NUMBER; hash = (53 * hash) + getFlightNumber().hashCode(); if (hasDepartureDate()) { hash = (37 * hash) + DEPARTUREDATE_FIELD_NUMBER; hash = (53 * hash) + getDepartureDate().hashCode(); } hash = (37 * hash) + BOARDINGPOINT_FIELD_NUMBER; hash = (53 * hash) + getBoardingPoint().hashCode(); hash = (37 * hash) + DEPLANINGPOINT_FIELD_NUMBER; hash = (53 * hash) + getDeplaningPoint().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Reporting.FlightAnalyticsFilter parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.FlightAnalyticsFilter 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.Reporting.FlightAnalyticsFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.FlightAnalyticsFilter 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.Reporting.FlightAnalyticsFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.FlightAnalyticsFilter parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Reporting.FlightAnalyticsFilter parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.FlightAnalyticsFilter 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.Reporting.FlightAnalyticsFilter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.FlightAnalyticsFilter 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.Reporting.FlightAnalyticsFilter parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.FlightAnalyticsFilter 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.Reporting.FlightAnalyticsFilter 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; } /** *
     * FlightAnalyticsFilter filter analytics by flight or/and flight designator.
     * FlightNumber, departureDate, boardingPoint and deplaningPoint are required to filter by flight.
     * 
* * Protobuf type {@code io.FlightAnalyticsFilter} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.FlightAnalyticsFilter) com.passkit.grpc.Reporting.FlightAnalyticsFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Reporting.internal_static_io_FlightAnalyticsFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Reporting.internal_static_io_FlightAnalyticsFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Reporting.FlightAnalyticsFilter.class, com.passkit.grpc.Reporting.FlightAnalyticsFilter.Builder.class); } // Construct using com.passkit.grpc.Reporting.FlightAnalyticsFilter.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(); flightNumber_ = ""; if (departureDateBuilder_ == null) { departureDate_ = null; } else { departureDate_ = null; departureDateBuilder_ = null; } boardingPoint_ = ""; deplaningPoint_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Reporting.internal_static_io_FlightAnalyticsFilter_descriptor; } @java.lang.Override public com.passkit.grpc.Reporting.FlightAnalyticsFilter getDefaultInstanceForType() { return com.passkit.grpc.Reporting.FlightAnalyticsFilter.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Reporting.FlightAnalyticsFilter build() { com.passkit.grpc.Reporting.FlightAnalyticsFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Reporting.FlightAnalyticsFilter buildPartial() { com.passkit.grpc.Reporting.FlightAnalyticsFilter result = new com.passkit.grpc.Reporting.FlightAnalyticsFilter(this); result.flightNumber_ = flightNumber_; if (departureDateBuilder_ == null) { result.departureDate_ = departureDate_; } else { result.departureDate_ = departureDateBuilder_.build(); } result.boardingPoint_ = boardingPoint_; result.deplaningPoint_ = deplaningPoint_; 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.Reporting.FlightAnalyticsFilter) { return mergeFrom((com.passkit.grpc.Reporting.FlightAnalyticsFilter)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Reporting.FlightAnalyticsFilter other) { if (other == com.passkit.grpc.Reporting.FlightAnalyticsFilter.getDefaultInstance()) return this; if (!other.getFlightNumber().isEmpty()) { flightNumber_ = other.flightNumber_; onChanged(); } if (other.hasDepartureDate()) { mergeDepartureDate(other.getDepartureDate()); } if (!other.getBoardingPoint().isEmpty()) { boardingPoint_ = other.boardingPoint_; onChanged(); } if (!other.getDeplaningPoint().isEmpty()) { deplaningPoint_ = other.deplaningPoint_; 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.Reporting.FlightAnalyticsFilter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Reporting.FlightAnalyticsFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object flightNumber_ = ""; /** * string flightNumber = 1; * @return The flightNumber. */ public java.lang.String getFlightNumber() { java.lang.Object ref = flightNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flightNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** * string flightNumber = 1; * @return The bytes for flightNumber. */ public com.google.protobuf.ByteString getFlightNumberBytes() { java.lang.Object ref = flightNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); flightNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string flightNumber = 1; * @param value The flightNumber to set. * @return This builder for chaining. */ public Builder setFlightNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } flightNumber_ = value; onChanged(); return this; } /** * string flightNumber = 1; * @return This builder for chaining. */ public Builder clearFlightNumber() { flightNumber_ = getDefaultInstance().getFlightNumber(); onChanged(); return this; } /** * string flightNumber = 1; * @param value The bytes for flightNumber to set. * @return This builder for chaining. */ public Builder setFlightNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); flightNumber_ = value; onChanged(); return this; } private com.passkit.grpc.CommonObjects.Date departureDate_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.CommonObjects.Date, com.passkit.grpc.CommonObjects.Date.Builder, com.passkit.grpc.CommonObjects.DateOrBuilder> departureDateBuilder_; /** * .io.Date departureDate = 2; * @return Whether the departureDate field is set. */ public boolean hasDepartureDate() { return departureDateBuilder_ != null || departureDate_ != null; } /** * .io.Date departureDate = 2; * @return The departureDate. */ public com.passkit.grpc.CommonObjects.Date getDepartureDate() { if (departureDateBuilder_ == null) { return departureDate_ == null ? com.passkit.grpc.CommonObjects.Date.getDefaultInstance() : departureDate_; } else { return departureDateBuilder_.getMessage(); } } /** * .io.Date departureDate = 2; */ public Builder setDepartureDate(com.passkit.grpc.CommonObjects.Date value) { if (departureDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } departureDate_ = value; onChanged(); } else { departureDateBuilder_.setMessage(value); } return this; } /** * .io.Date departureDate = 2; */ public Builder setDepartureDate( com.passkit.grpc.CommonObjects.Date.Builder builderForValue) { if (departureDateBuilder_ == null) { departureDate_ = builderForValue.build(); onChanged(); } else { departureDateBuilder_.setMessage(builderForValue.build()); } return this; } /** * .io.Date departureDate = 2; */ public Builder mergeDepartureDate(com.passkit.grpc.CommonObjects.Date value) { if (departureDateBuilder_ == null) { if (departureDate_ != null) { departureDate_ = com.passkit.grpc.CommonObjects.Date.newBuilder(departureDate_).mergeFrom(value).buildPartial(); } else { departureDate_ = value; } onChanged(); } else { departureDateBuilder_.mergeFrom(value); } return this; } /** * .io.Date departureDate = 2; */ public Builder clearDepartureDate() { if (departureDateBuilder_ == null) { departureDate_ = null; onChanged(); } else { departureDate_ = null; departureDateBuilder_ = null; } return this; } /** * .io.Date departureDate = 2; */ public com.passkit.grpc.CommonObjects.Date.Builder getDepartureDateBuilder() { onChanged(); return getDepartureDateFieldBuilder().getBuilder(); } /** * .io.Date departureDate = 2; */ public com.passkit.grpc.CommonObjects.DateOrBuilder getDepartureDateOrBuilder() { if (departureDateBuilder_ != null) { return departureDateBuilder_.getMessageOrBuilder(); } else { return departureDate_ == null ? com.passkit.grpc.CommonObjects.Date.getDefaultInstance() : departureDate_; } } /** * .io.Date departureDate = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.CommonObjects.Date, com.passkit.grpc.CommonObjects.Date.Builder, com.passkit.grpc.CommonObjects.DateOrBuilder> getDepartureDateFieldBuilder() { if (departureDateBuilder_ == null) { departureDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.CommonObjects.Date, com.passkit.grpc.CommonObjects.Date.Builder, com.passkit.grpc.CommonObjects.DateOrBuilder>( getDepartureDate(), getParentForChildren(), isClean()); departureDate_ = null; } return departureDateBuilder_; } private java.lang.Object boardingPoint_ = ""; /** * string boardingPoint = 3; * @return The boardingPoint. */ public java.lang.String getBoardingPoint() { java.lang.Object ref = boardingPoint_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); boardingPoint_ = s; return s; } else { return (java.lang.String) ref; } } /** * string boardingPoint = 3; * @return The bytes for boardingPoint. */ public com.google.protobuf.ByteString getBoardingPointBytes() { java.lang.Object ref = boardingPoint_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); boardingPoint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string boardingPoint = 3; * @param value The boardingPoint to set. * @return This builder for chaining. */ public Builder setBoardingPoint( java.lang.String value) { if (value == null) { throw new NullPointerException(); } boardingPoint_ = value; onChanged(); return this; } /** * string boardingPoint = 3; * @return This builder for chaining. */ public Builder clearBoardingPoint() { boardingPoint_ = getDefaultInstance().getBoardingPoint(); onChanged(); return this; } /** * string boardingPoint = 3; * @param value The bytes for boardingPoint to set. * @return This builder for chaining. */ public Builder setBoardingPointBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); boardingPoint_ = value; onChanged(); return this; } private java.lang.Object deplaningPoint_ = ""; /** * string deplaningPoint = 4; * @return The deplaningPoint. */ public java.lang.String getDeplaningPoint() { java.lang.Object ref = deplaningPoint_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deplaningPoint_ = s; return s; } else { return (java.lang.String) ref; } } /** * string deplaningPoint = 4; * @return The bytes for deplaningPoint. */ public com.google.protobuf.ByteString getDeplaningPointBytes() { java.lang.Object ref = deplaningPoint_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deplaningPoint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string deplaningPoint = 4; * @param value The deplaningPoint to set. * @return This builder for chaining. */ public Builder setDeplaningPoint( java.lang.String value) { if (value == null) { throw new NullPointerException(); } deplaningPoint_ = value; onChanged(); return this; } /** * string deplaningPoint = 4; * @return This builder for chaining. */ public Builder clearDeplaningPoint() { deplaningPoint_ = getDefaultInstance().getDeplaningPoint(); onChanged(); return this; } /** * string deplaningPoint = 4; * @param value The bytes for deplaningPoint to set. * @return This builder for chaining. */ public Builder setDeplaningPointBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); deplaningPoint_ = 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.FlightAnalyticsFilter) } // @@protoc_insertion_point(class_scope:io.FlightAnalyticsFilter) private static final com.passkit.grpc.Reporting.FlightAnalyticsFilter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Reporting.FlightAnalyticsFilter(); } public static com.passkit.grpc.Reporting.FlightAnalyticsFilter getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FlightAnalyticsFilter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FlightAnalyticsFilter(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.Reporting.FlightAnalyticsFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EventTicketAnalyticsFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:io.EventTicketAnalyticsFilter) com.google.protobuf.MessageOrBuilder { /** * string ticketTypeId = 1; * @return The ticketTypeId. */ java.lang.String getTicketTypeId(); /** * string ticketTypeId = 1; * @return The bytes for ticketTypeId. */ com.google.protobuf.ByteString getTicketTypeIdBytes(); /** * string ticketTypeUid = 2; * @return The ticketTypeUid. */ java.lang.String getTicketTypeUid(); /** * string ticketTypeUid = 2; * @return The bytes for ticketTypeUid. */ com.google.protobuf.ByteString getTicketTypeUidBytes(); /** * string venueId = 3; * @return The venueId. */ java.lang.String getVenueId(); /** * string venueId = 3; * @return The bytes for venueId. */ com.google.protobuf.ByteString getVenueIdBytes(); /** * string venueUid = 4; * @return The venueUid. */ java.lang.String getVenueUid(); /** * string venueUid = 4; * @return The bytes for venueUid. */ com.google.protobuf.ByteString getVenueUidBytes(); /** * string eventId = 5; * @return The eventId. */ java.lang.String getEventId(); /** * string eventId = 5; * @return The bytes for eventId. */ com.google.protobuf.ByteString getEventIdBytes(); } /** * Protobuf type {@code io.EventTicketAnalyticsFilter} */ public static final class EventTicketAnalyticsFilter extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.EventTicketAnalyticsFilter) EventTicketAnalyticsFilterOrBuilder { private static final long serialVersionUID = 0L; // Use EventTicketAnalyticsFilter.newBuilder() to construct. private EventTicketAnalyticsFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EventTicketAnalyticsFilter() { ticketTypeId_ = ""; ticketTypeUid_ = ""; venueId_ = ""; venueUid_ = ""; eventId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EventTicketAnalyticsFilter(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EventTicketAnalyticsFilter( 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(); ticketTypeId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); ticketTypeUid_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); venueId_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); venueUid_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); eventId_ = 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.Reporting.internal_static_io_EventTicketAnalyticsFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Reporting.internal_static_io_EventTicketAnalyticsFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.class, com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.Builder.class); } public static final int TICKETTYPEID_FIELD_NUMBER = 1; private volatile java.lang.Object ticketTypeId_; /** * string ticketTypeId = 1; * @return The ticketTypeId. */ @java.lang.Override public java.lang.String getTicketTypeId() { java.lang.Object ref = ticketTypeId_; 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(); ticketTypeId_ = s; return s; } } /** * string ticketTypeId = 1; * @return The bytes for ticketTypeId. */ @java.lang.Override public com.google.protobuf.ByteString getTicketTypeIdBytes() { java.lang.Object ref = ticketTypeId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketTypeId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TICKETTYPEUID_FIELD_NUMBER = 2; private volatile java.lang.Object ticketTypeUid_; /** * string ticketTypeUid = 2; * @return The ticketTypeUid. */ @java.lang.Override public java.lang.String getTicketTypeUid() { java.lang.Object ref = ticketTypeUid_; 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(); ticketTypeUid_ = s; return s; } } /** * string ticketTypeUid = 2; * @return The bytes for ticketTypeUid. */ @java.lang.Override public com.google.protobuf.ByteString getTicketTypeUidBytes() { java.lang.Object ref = ticketTypeUid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketTypeUid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VENUEID_FIELD_NUMBER = 3; private volatile java.lang.Object venueId_; /** * string venueId = 3; * @return The venueId. */ @java.lang.Override public java.lang.String getVenueId() { java.lang.Object ref = venueId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); venueId_ = s; return s; } } /** * string venueId = 3; * @return The bytes for venueId. */ @java.lang.Override public com.google.protobuf.ByteString getVenueIdBytes() { java.lang.Object ref = venueId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); venueId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VENUEUID_FIELD_NUMBER = 4; private volatile java.lang.Object venueUid_; /** * string venueUid = 4; * @return The venueUid. */ @java.lang.Override public java.lang.String getVenueUid() { java.lang.Object ref = venueUid_; 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(); venueUid_ = s; return s; } } /** * string venueUid = 4; * @return The bytes for venueUid. */ @java.lang.Override public com.google.protobuf.ByteString getVenueUidBytes() { java.lang.Object ref = venueUid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); venueUid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EVENTID_FIELD_NUMBER = 5; private volatile java.lang.Object eventId_; /** * string eventId = 5; * @return The eventId. */ @java.lang.Override public java.lang.String getEventId() { java.lang.Object ref = eventId_; 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(); eventId_ = s; return s; } } /** * string eventId = 5; * @return The bytes for eventId. */ @java.lang.Override public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); eventId_ = 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 (!getTicketTypeIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ticketTypeId_); } if (!getTicketTypeUidBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ticketTypeUid_); } if (!getVenueIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, venueId_); } if (!getVenueUidBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, venueUid_); } if (!getEventIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, eventId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getTicketTypeIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ticketTypeId_); } if (!getTicketTypeUidBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ticketTypeUid_); } if (!getVenueIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, venueId_); } if (!getVenueUidBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, venueUid_); } if (!getEventIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, eventId_); } 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.Reporting.EventTicketAnalyticsFilter)) { return super.equals(obj); } com.passkit.grpc.Reporting.EventTicketAnalyticsFilter other = (com.passkit.grpc.Reporting.EventTicketAnalyticsFilter) obj; if (!getTicketTypeId() .equals(other.getTicketTypeId())) return false; if (!getTicketTypeUid() .equals(other.getTicketTypeUid())) return false; if (!getVenueId() .equals(other.getVenueId())) return false; if (!getVenueUid() .equals(other.getVenueUid())) return false; if (!getEventId() .equals(other.getEventId())) 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) + TICKETTYPEID_FIELD_NUMBER; hash = (53 * hash) + getTicketTypeId().hashCode(); hash = (37 * hash) + TICKETTYPEUID_FIELD_NUMBER; hash = (53 * hash) + getTicketTypeUid().hashCode(); hash = (37 * hash) + VENUEID_FIELD_NUMBER; hash = (53 * hash) + getVenueId().hashCode(); hash = (37 * hash) + VENUEUID_FIELD_NUMBER; hash = (53 * hash) + getVenueUid().hashCode(); hash = (37 * hash) + EVENTID_FIELD_NUMBER; hash = (53 * hash) + getEventId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Reporting.EventTicketAnalyticsFilter parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.EventTicketAnalyticsFilter 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.Reporting.EventTicketAnalyticsFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.EventTicketAnalyticsFilter 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.Reporting.EventTicketAnalyticsFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Reporting.EventTicketAnalyticsFilter parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Reporting.EventTicketAnalyticsFilter parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.EventTicketAnalyticsFilter 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.Reporting.EventTicketAnalyticsFilter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.EventTicketAnalyticsFilter 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.Reporting.EventTicketAnalyticsFilter parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Reporting.EventTicketAnalyticsFilter 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.Reporting.EventTicketAnalyticsFilter 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.EventTicketAnalyticsFilter} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.EventTicketAnalyticsFilter) com.passkit.grpc.Reporting.EventTicketAnalyticsFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Reporting.internal_static_io_EventTicketAnalyticsFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Reporting.internal_static_io_EventTicketAnalyticsFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.class, com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.Builder.class); } // Construct using com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.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(); ticketTypeId_ = ""; ticketTypeUid_ = ""; venueId_ = ""; venueUid_ = ""; eventId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Reporting.internal_static_io_EventTicketAnalyticsFilter_descriptor; } @java.lang.Override public com.passkit.grpc.Reporting.EventTicketAnalyticsFilter getDefaultInstanceForType() { return com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Reporting.EventTicketAnalyticsFilter build() { com.passkit.grpc.Reporting.EventTicketAnalyticsFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Reporting.EventTicketAnalyticsFilter buildPartial() { com.passkit.grpc.Reporting.EventTicketAnalyticsFilter result = new com.passkit.grpc.Reporting.EventTicketAnalyticsFilter(this); result.ticketTypeId_ = ticketTypeId_; result.ticketTypeUid_ = ticketTypeUid_; result.venueId_ = venueId_; result.venueUid_ = venueUid_; result.eventId_ = eventId_; 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.Reporting.EventTicketAnalyticsFilter) { return mergeFrom((com.passkit.grpc.Reporting.EventTicketAnalyticsFilter)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Reporting.EventTicketAnalyticsFilter other) { if (other == com.passkit.grpc.Reporting.EventTicketAnalyticsFilter.getDefaultInstance()) return this; if (!other.getTicketTypeId().isEmpty()) { ticketTypeId_ = other.ticketTypeId_; onChanged(); } if (!other.getTicketTypeUid().isEmpty()) { ticketTypeUid_ = other.ticketTypeUid_; onChanged(); } if (!other.getVenueId().isEmpty()) { venueId_ = other.venueId_; onChanged(); } if (!other.getVenueUid().isEmpty()) { venueUid_ = other.venueUid_; onChanged(); } if (!other.getEventId().isEmpty()) { eventId_ = other.eventId_; 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.Reporting.EventTicketAnalyticsFilter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Reporting.EventTicketAnalyticsFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object ticketTypeId_ = ""; /** * string ticketTypeId = 1; * @return The ticketTypeId. */ public java.lang.String getTicketTypeId() { java.lang.Object ref = ticketTypeId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ticketTypeId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string ticketTypeId = 1; * @return The bytes for ticketTypeId. */ public com.google.protobuf.ByteString getTicketTypeIdBytes() { java.lang.Object ref = ticketTypeId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketTypeId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string ticketTypeId = 1; * @param value The ticketTypeId to set. * @return This builder for chaining. */ public Builder setTicketTypeId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ticketTypeId_ = value; onChanged(); return this; } /** * string ticketTypeId = 1; * @return This builder for chaining. */ public Builder clearTicketTypeId() { ticketTypeId_ = getDefaultInstance().getTicketTypeId(); onChanged(); return this; } /** * string ticketTypeId = 1; * @param value The bytes for ticketTypeId to set. * @return This builder for chaining. */ public Builder setTicketTypeIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ticketTypeId_ = value; onChanged(); return this; } private java.lang.Object ticketTypeUid_ = ""; /** * string ticketTypeUid = 2; * @return The ticketTypeUid. */ public java.lang.String getTicketTypeUid() { java.lang.Object ref = ticketTypeUid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ticketTypeUid_ = s; return s; } else { return (java.lang.String) ref; } } /** * string ticketTypeUid = 2; * @return The bytes for ticketTypeUid. */ public com.google.protobuf.ByteString getTicketTypeUidBytes() { java.lang.Object ref = ticketTypeUid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ticketTypeUid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string ticketTypeUid = 2; * @param value The ticketTypeUid to set. * @return This builder for chaining. */ public Builder setTicketTypeUid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ticketTypeUid_ = value; onChanged(); return this; } /** * string ticketTypeUid = 2; * @return This builder for chaining. */ public Builder clearTicketTypeUid() { ticketTypeUid_ = getDefaultInstance().getTicketTypeUid(); onChanged(); return this; } /** * string ticketTypeUid = 2; * @param value The bytes for ticketTypeUid to set. * @return This builder for chaining. */ public Builder setTicketTypeUidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ticketTypeUid_ = value; onChanged(); return this; } private java.lang.Object venueId_ = ""; /** * string venueId = 3; * @return The venueId. */ public java.lang.String getVenueId() { java.lang.Object ref = venueId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); venueId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string venueId = 3; * @return The bytes for venueId. */ public com.google.protobuf.ByteString getVenueIdBytes() { java.lang.Object ref = venueId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); venueId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string venueId = 3; * @param value The venueId to set. * @return This builder for chaining. */ public Builder setVenueId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } venueId_ = value; onChanged(); return this; } /** * string venueId = 3; * @return This builder for chaining. */ public Builder clearVenueId() { venueId_ = getDefaultInstance().getVenueId(); onChanged(); return this; } /** * string venueId = 3; * @param value The bytes for venueId to set. * @return This builder for chaining. */ public Builder setVenueIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); venueId_ = value; onChanged(); return this; } private java.lang.Object venueUid_ = ""; /** * string venueUid = 4; * @return The venueUid. */ public java.lang.String getVenueUid() { java.lang.Object ref = venueUid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); venueUid_ = s; return s; } else { return (java.lang.String) ref; } } /** * string venueUid = 4; * @return The bytes for venueUid. */ public com.google.protobuf.ByteString getVenueUidBytes() { java.lang.Object ref = venueUid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); venueUid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string venueUid = 4; * @param value The venueUid to set. * @return This builder for chaining. */ public Builder setVenueUid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } venueUid_ = value; onChanged(); return this; } /** * string venueUid = 4; * @return This builder for chaining. */ public Builder clearVenueUid() { venueUid_ = getDefaultInstance().getVenueUid(); onChanged(); return this; } /** * string venueUid = 4; * @param value The bytes for venueUid to set. * @return This builder for chaining. */ public Builder setVenueUidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); venueUid_ = value; onChanged(); return this; } private java.lang.Object eventId_ = ""; /** * string eventId = 5; * @return The eventId. */ public java.lang.String getEventId() { java.lang.Object ref = eventId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string eventId = 5; * @return The bytes for eventId. */ public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); eventId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string eventId = 5; * @param value The eventId to set. * @return This builder for chaining. */ public Builder setEventId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } eventId_ = value; onChanged(); return this; } /** * string eventId = 5; * @return This builder for chaining. */ public Builder clearEventId() { eventId_ = getDefaultInstance().getEventId(); onChanged(); return this; } /** * string eventId = 5; * @param value The bytes for eventId to set. * @return This builder for chaining. */ public Builder setEventIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); eventId_ = 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.EventTicketAnalyticsFilter) } // @@protoc_insertion_point(class_scope:io.EventTicketAnalyticsFilter) private static final com.passkit.grpc.Reporting.EventTicketAnalyticsFilter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Reporting.EventTicketAnalyticsFilter(); } public static com.passkit.grpc.Reporting.EventTicketAnalyticsFilter getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EventTicketAnalyticsFilter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EventTicketAnalyticsFilter(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.Reporting.EventTicketAnalyticsFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_AnalyticsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_AnalyticsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_AnalyticsResponse_UtmSourceBreakdownEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_AnalyticsResponse_UtmSourceBreakdownEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_AnalyticsResponse_UtmMediumBreakdownEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_AnalyticsResponse_UtmMediumBreakdownEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_AnalyticsResponse_UtmNameBreakdownEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_AnalyticsResponse_UtmNameBreakdownEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_AnalyticsResponse_UtmTermBreakdownEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_AnalyticsResponse_UtmTermBreakdownEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_AnalyticsResponse_UtmContentBreakdownEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_AnalyticsResponse_UtmContentBreakdownEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_DeviceBreakdown_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_DeviceBreakdown_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_ChartDataPoints_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_ChartDataPoints_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_AnalyticsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_AnalyticsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_CouponAnalyticsFilter_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_CouponAnalyticsFilter_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_FlightAnalyticsFilter_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_FlightAnalyticsFilter_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_EventTicketAnalyticsFilter_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_EventTicketAnalyticsFilter_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\031io/common/reporting.proto\022\002io\032\031io/comm" + "on/protocols.proto\032\036io/common/common_obj" + "ects.proto\032.protoc-gen-openapiv2/options" + "/annotations.proto\"\337\006\n\021AnalyticsResponse" + "\022\032\n\006period\030\001 \001(\0162\n.io.Period\022\017\n\007created\030" + "\002 \001(\r\022\021\n\tinstalled\030\003 \001(\r\022\017\n\007deleted\030\004 \001(" + "\r\022\023\n\013invalidated\030\005 \001(\r\022,\n\017deviceBreakdow" + "n\030\006 \001(\0132\023.io.DeviceBreakdown\022I\n\022utmSourc" + "eBreakdown\030\007 \003(\0132-.io.AnalyticsResponse." + "UtmSourceBreakdownEntry\022!\n\004data\030\010 \003(\0132\023." + "io.ChartDataPoints\022I\n\022utmMediumBreakdown" + "\030\t \003(\0132-.io.AnalyticsResponse.UtmMediumB" + "reakdownEntry\022E\n\020utmNameBreakdown\030\n \003(\0132" + "+.io.AnalyticsResponse.UtmNameBreakdownE" + "ntry\022E\n\020utmTermBreakdown\030\013 \003(\0132+.io.Anal" + "yticsResponse.UtmTermBreakdownEntry\022K\n\023u" + "tmContentBreakdown\030\014 \003(\0132..io.AnalyticsR" + "esponse.UtmContentBreakdownEntry\0329\n\027UtmS" + "ourceBreakdownEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + "e\030\002 \001(\r:\0028\001\0329\n\027UtmMediumBreakdownEntry\022\013" + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\r:\0028\001\0327\n\025UtmNam" + "eBreakdownEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + "\001(\r:\0028\001\0327\n\025UtmTermBreakdownEntry\022\013\n\003key\030" + "\001 \001(\t\022\r\n\005value\030\002 \001(\r:\0028\001\032:\n\030UtmContentBr" + "eakdownEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\r" + ":\0028\001\"N\n\017DeviceBreakdown\022\023\n\013appleWallet\030\001" + " \001(\r\022\021\n\tgooglePay\030\002 \001(\r\022\023\n\013otherWallet\030\003" + " \001(\r\"\212\001\n\017ChartDataPoints\022\014\n\004name\030\001 \001(\t\022\017" + "\n\007created\030\002 \001(\r\022\021\n\tinstalled\030\003 \001(\r\022\017\n\007up" + "dated\030\004 \001(\r\022\017\n\007deleted\030\005 \001(\r\022\023\n\013invalida" + "ted\030\006 \001(\r\022\016\n\006custom\030\007 \001(\r\"\244\003\n\020AnalyticsR" + "equest\022\"\n\010protocol\030\001 \001(\0162\020.io.PassProtoc" + "ol\022\017\n\007classId\030\002 \001(\t\022\032\n\006period\030\003 \001(\0162\n.io" + ".Period\022\021\n\tstartDate\030\004 \001(\t\022\017\n\007endDate\030\005 " + "\001(\t\022\020\n\010timezone\030\006 \001(\t\022+\n\006coupon\030\017 \001(\0132\031." + "io.CouponAnalyticsFilterH\000\022+\n\006flight\030\020 \001" + "(\0132\031.io.FlightAnalyticsFilterH\000\0225\n\013event" + "Ticket\030\021 \001(\0132\036.io.EventTicketAnalyticsFi" + "lterH\000:n\222Ak\ni*\021Analytics Request2?Retrie" + "ves pass created, installed, deleted, in" + "validated counts.\322\001\010protocol\322\001\007classIdB\010" + "\n\006filter\"(\n\025CouponAnalyticsFilter\022\017\n\007off" + "erId\030\001 \001(\t\"}\n\025FlightAnalyticsFilter\022\024\n\014f" + "lightNumber\030\001 \001(\t\022\037\n\rdepartureDate\030\002 \001(\013" + "2\010.io.Date\022\025\n\rboardingPoint\030\003 \001(\t\022\026\n\016dep" + "laningPoint\030\004 \001(\t\"}\n\032EventTicketAnalytic" + "sFilter\022\024\n\014ticketTypeId\030\001 \001(\t\022\025\n\rticketT" + "ypeUid\030\002 \001(\t\022\017\n\007venueId\030\003 \001(\t\022\020\n\010venueUi" + "d\030\004 \001(\t\022\017\n\007eventId\030\005 \001(\t*&\n\006Period\022\007\n\003DA" + "Y\020\000\022\t\n\005MONTH\020\001\022\010\n\004YEAR\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[] { com.passkit.grpc.Protocols.getDescriptor(), com.passkit.grpc.CommonObjects.getDescriptor(), grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(), }); internal_static_io_AnalyticsResponse_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_io_AnalyticsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_AnalyticsResponse_descriptor, new java.lang.String[] { "Period", "Created", "Installed", "Deleted", "Invalidated", "DeviceBreakdown", "UtmSourceBreakdown", "Data", "UtmMediumBreakdown", "UtmNameBreakdown", "UtmTermBreakdown", "UtmContentBreakdown", }); internal_static_io_AnalyticsResponse_UtmSourceBreakdownEntry_descriptor = internal_static_io_AnalyticsResponse_descriptor.getNestedTypes().get(0); internal_static_io_AnalyticsResponse_UtmSourceBreakdownEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_AnalyticsResponse_UtmSourceBreakdownEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_io_AnalyticsResponse_UtmMediumBreakdownEntry_descriptor = internal_static_io_AnalyticsResponse_descriptor.getNestedTypes().get(1); internal_static_io_AnalyticsResponse_UtmMediumBreakdownEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_AnalyticsResponse_UtmMediumBreakdownEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_io_AnalyticsResponse_UtmNameBreakdownEntry_descriptor = internal_static_io_AnalyticsResponse_descriptor.getNestedTypes().get(2); internal_static_io_AnalyticsResponse_UtmNameBreakdownEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_AnalyticsResponse_UtmNameBreakdownEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_io_AnalyticsResponse_UtmTermBreakdownEntry_descriptor = internal_static_io_AnalyticsResponse_descriptor.getNestedTypes().get(3); internal_static_io_AnalyticsResponse_UtmTermBreakdownEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_AnalyticsResponse_UtmTermBreakdownEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_io_AnalyticsResponse_UtmContentBreakdownEntry_descriptor = internal_static_io_AnalyticsResponse_descriptor.getNestedTypes().get(4); internal_static_io_AnalyticsResponse_UtmContentBreakdownEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_AnalyticsResponse_UtmContentBreakdownEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_io_DeviceBreakdown_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_io_DeviceBreakdown_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_DeviceBreakdown_descriptor, new java.lang.String[] { "AppleWallet", "GooglePay", "OtherWallet", }); internal_static_io_ChartDataPoints_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_io_ChartDataPoints_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_ChartDataPoints_descriptor, new java.lang.String[] { "Name", "Created", "Installed", "Updated", "Deleted", "Invalidated", "Custom", }); internal_static_io_AnalyticsRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_io_AnalyticsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_AnalyticsRequest_descriptor, new java.lang.String[] { "Protocol", "ClassId", "Period", "StartDate", "EndDate", "Timezone", "Coupon", "Flight", "EventTicket", "Filter", }); internal_static_io_CouponAnalyticsFilter_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_io_CouponAnalyticsFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_CouponAnalyticsFilter_descriptor, new java.lang.String[] { "OfferId", }); internal_static_io_FlightAnalyticsFilter_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_io_FlightAnalyticsFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_FlightAnalyticsFilter_descriptor, new java.lang.String[] { "FlightNumber", "DepartureDate", "BoardingPoint", "DeplaningPoint", }); internal_static_io_EventTicketAnalyticsFilter_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_io_EventTicketAnalyticsFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_EventTicketAnalyticsFilter_descriptor, new java.lang.String[] { "TicketTypeId", "TicketTypeUid", "VenueId", "VenueUid", "EventId", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(grpc.gateway.protoc_gen_openapiv2.options.Annotations.openapiv2Schema); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.passkit.grpc.Protocols.getDescriptor(); com.passkit.grpc.CommonObjects.getDescriptor(); grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy