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

com.passkit.grpc.Members.MemberEventsOuterClass 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/member/member_events.proto

package com.passkit.grpc.Members;

public final class MemberEventsOuterClass {
  private MemberEventsOuterClass() {}
  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 members.MemberEvents}
   */
  public enum MemberEvents
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * 
     * Do not use
     * 
* * EVENT_MEMBER_DO_NOT_USE = 0; */ EVENT_MEMBER_DO_NOT_USE(0), /** *
     * Used when a member is checked in by the checked in endpoint
     * 
* * EVENT_MEMBER_CHECKED_IN = 1; */ EVENT_MEMBER_CHECKED_IN(1), /** *
     * Used when a member is checked out by the checked out endpoint
     * 
* * EVENT_MEMBER_CHECKED_OUT = 2; */ EVENT_MEMBER_CHECKED_OUT(2), /** *
     * Used when a member is verified by the verify endpoint
     * 
* * EVENT_MEMBER_VERIFIED = 3; */ EVENT_MEMBER_VERIFIED(3), /** *
     * Used when points are earned by the earn points endpoints
     * 
* * EVENT_MEMBER_POINTS_EARNED = 4; */ EVENT_MEMBER_POINTS_EARNED(4), /** *
     * Used when points are added by the burn points endpoints
     * 
* * EVENT_MEMBER_POINTS_BURNED = 5; */ EVENT_MEMBER_POINTS_BURNED(5), /** *
     * Used when points are set by the set points endpoints
     * 
* * EVENT_MEMBER_POINTS_SET = 6; */ EVENT_MEMBER_POINTS_SET(6), /** *
     * Used when points the tier is changed
     * 
* * EVENT_MEMBER_TIER_CHANGED = 7; */ EVENT_MEMBER_TIER_CHANGED(7), UNRECOGNIZED(-1), ; /** *
     * Do not use
     * 
* * EVENT_MEMBER_DO_NOT_USE = 0; */ public static final int EVENT_MEMBER_DO_NOT_USE_VALUE = 0; /** *
     * Used when a member is checked in by the checked in endpoint
     * 
* * EVENT_MEMBER_CHECKED_IN = 1; */ public static final int EVENT_MEMBER_CHECKED_IN_VALUE = 1; /** *
     * Used when a member is checked out by the checked out endpoint
     * 
* * EVENT_MEMBER_CHECKED_OUT = 2; */ public static final int EVENT_MEMBER_CHECKED_OUT_VALUE = 2; /** *
     * Used when a member is verified by the verify endpoint
     * 
* * EVENT_MEMBER_VERIFIED = 3; */ public static final int EVENT_MEMBER_VERIFIED_VALUE = 3; /** *
     * Used when points are earned by the earn points endpoints
     * 
* * EVENT_MEMBER_POINTS_EARNED = 4; */ public static final int EVENT_MEMBER_POINTS_EARNED_VALUE = 4; /** *
     * Used when points are added by the burn points endpoints
     * 
* * EVENT_MEMBER_POINTS_BURNED = 5; */ public static final int EVENT_MEMBER_POINTS_BURNED_VALUE = 5; /** *
     * Used when points are set by the set points endpoints
     * 
* * EVENT_MEMBER_POINTS_SET = 6; */ public static final int EVENT_MEMBER_POINTS_SET_VALUE = 6; /** *
     * Used when points the tier is changed
     * 
* * EVENT_MEMBER_TIER_CHANGED = 7; */ public static final int EVENT_MEMBER_TIER_CHANGED_VALUE = 7; 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 MemberEvents 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 MemberEvents forNumber(int value) { switch (value) { case 0: return EVENT_MEMBER_DO_NOT_USE; case 1: return EVENT_MEMBER_CHECKED_IN; case 2: return EVENT_MEMBER_CHECKED_OUT; case 3: return EVENT_MEMBER_VERIFIED; case 4: return EVENT_MEMBER_POINTS_EARNED; case 5: return EVENT_MEMBER_POINTS_BURNED; case 6: return EVENT_MEMBER_POINTS_SET; case 7: return EVENT_MEMBER_TIER_CHANGED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< MemberEvents> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public MemberEvents findValueByNumber(int number) { return MemberEvents.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.Members.MemberEventsOuterClass.getDescriptor().getEnumTypes().get(0); } private static final MemberEvents[] VALUES = values(); public static MemberEvents 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 MemberEvents(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:members.MemberEvents) } public interface MemberEventOrBuilder extends // @@protoc_insertion_point(interface_extends:members.MemberEvent) com.google.protobuf.MessageOrBuilder { /** *
     * PassKit generated Event ID. Not writable.
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * PassKit generated Event ID. Not writable.
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * Member that the event belongs to. This does not contain the full member details, only the key data.
     * 
* * .members.MemberMininmal member = 2; * @return Whether the member field is set. */ boolean hasMember(); /** *
     * Member that the event belongs to. This does not contain the full member details, only the key data.
     * 
* * .members.MemberMininmal member = 2; * @return The member. */ com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal getMember(); /** *
     * Member that the event belongs to. This does not contain the full member details, only the key data.
     * 
* * .members.MemberMininmal member = 2; */ com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmalOrBuilder getMemberOrBuilder(); /** *
     * Event type.
     * 
* * .members.MemberEvents eventType = 3; * @return The enum numeric value on the wire for eventType. */ int getEventTypeValue(); /** *
     * Event type.
     * 
* * .members.MemberEvents eventType = 3; * @return The eventType. */ com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvents getEventType(); /** *
     * Address the event took place.
     * 
* * string address = 4; * @return The address. */ java.lang.String getAddress(); /** *
     * Address the event took place.
     * 
* * string address = 4; * @return The bytes for address. */ com.google.protobuf.ByteString getAddressBytes(); /** *
     * Latitude the event took place.
     * 
* * double lat = 5; * @return The lat. */ double getLat(); /** *
     * Longitude the event took place.
     * 
* * double lon = 6; * @return The lon. */ double getLon(); /** *
     * Altitude the event took place (in metres).
     * 
* * int32 alt = 7; * @return The alt. */ int getAlt(); /** *
     * External unique ID of the event.
     * 
* * string externalId = 8; * @return The externalId. */ java.lang.String getExternalId(); /** *
     * External unique ID of the event.
     * 
* * string externalId = 8; * @return The bytes for externalId. */ com.google.protobuf.ByteString getExternalIdBytes(); /** *
     * External user ID of the logged in user that captured the event (for example when using an external scanning app).
     * 
* * string externalUserId = 9; * @return The externalUserId. */ java.lang.String getExternalUserId(); /** *
     * External user ID of the logged in user that captured the event (for example when using an external scanning app).
     * 
* * string externalUserId = 9; * @return The bytes for externalUserId. */ com.google.protobuf.ByteString getExternalUserIdBytes(); /** *
     * External device ID of the device that was used to capture the event (for example when using an external scanning app).
     * 
* * string externalDeviceId = 10; * @return The externalDeviceId. */ java.lang.String getExternalDeviceId(); /** *
     * External device ID of the device that was used to capture the event (for example when using an external scanning app).
     * 
* * string externalDeviceId = 10; * @return The bytes for externalDeviceId. */ com.google.protobuf.ByteString getExternalDeviceIdBytes(); /** *
     * External service ID of the service that was used for capturing the event (for example when using an external scanning app).
     * 
* * string externalServiceId = 11; * @return The externalServiceId. */ java.lang.String getExternalServiceId(); /** *
     * External service ID of the service that was used for capturing the event (for example when using an external scanning app).
     * 
* * string externalServiceId = 11; * @return The bytes for externalServiceId. */ com.google.protobuf.ByteString getExternalServiceIdBytes(); /** *
     * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
     * 
* * map<string, string> metaData = 12; */ int getMetaDataCount(); /** *
     * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
     * 
* * map<string, string> metaData = 12; */ boolean containsMetaData( java.lang.String key); /** * Use {@link #getMetaDataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetaData(); /** *
     * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
     * 
* * map<string, string> metaData = 12; */ java.util.Map getMetaDataMap(); /** *
     * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
     * 
* * map<string, string> metaData = 12; */ java.lang.String getMetaDataOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
     * 
* * map<string, string> metaData = 12; */ java.lang.String getMetaDataOrThrow( java.lang.String key); /** *
     * Any relevant notes for the event.
     * 
* * string notes = 13; * @return The notes. */ java.lang.String getNotes(); /** *
     * Any relevant notes for the event.
     * 
* * string notes = 13; * @return The bytes for notes. */ com.google.protobuf.ByteString getNotesBytes(); /** *
     * The event date.
     * 
* * .google.protobuf.Timestamp date = 14; * @return Whether the date field is set. */ boolean hasDate(); /** *
     * The event date.
     * 
* * .google.protobuf.Timestamp date = 14; * @return The date. */ com.google.protobuf.Timestamp getDate(); /** *
     * The event date.
     * 
* * .google.protobuf.Timestamp date = 14; */ com.google.protobuf.TimestampOrBuilder getDateOrBuilder(); /** *
     * The date until the event is retained in the PassKit database.
     * 
* * .google.protobuf.Timestamp retainedUntilDate = 15; * @return Whether the retainedUntilDate field is set. */ boolean hasRetainedUntilDate(); /** *
     * The date until the event is retained in the PassKit database.
     * 
* * .google.protobuf.Timestamp retainedUntilDate = 15; * @return The retainedUntilDate. */ com.google.protobuf.Timestamp getRetainedUntilDate(); /** *
     * The date until the event is retained in the PassKit database.
     * 
* * .google.protobuf.Timestamp retainedUntilDate = 15; */ com.google.protobuf.TimestampOrBuilder getRetainedUntilDateOrBuilder(); /** *
     * The date the event record was created in the PassKit database.
     * 
* * .google.protobuf.Timestamp created = 16; * @return Whether the created field is set. */ boolean hasCreated(); /** *
     * The date the event record was created in the PassKit database.
     * 
* * .google.protobuf.Timestamp created = 16; * @return The created. */ com.google.protobuf.Timestamp getCreated(); /** *
     * The date the event record was created in the PassKit database.
     * 
* * .google.protobuf.Timestamp created = 16; */ com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder(); } /** *
   * The Member Event record
   * 
* * Protobuf type {@code members.MemberEvent} */ public static final class MemberEvent extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:members.MemberEvent) MemberEventOrBuilder { private static final long serialVersionUID = 0L; // Use MemberEvent.newBuilder() to construct. private MemberEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MemberEvent() { id_ = ""; eventType_ = 0; address_ = ""; externalId_ = ""; externalUserId_ = ""; externalDeviceId_ = ""; externalServiceId_ = ""; notes_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MemberEvent(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MemberEvent( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); id_ = s; break; } case 18: { com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.Builder subBuilder = null; if (member_ != null) { subBuilder = member_.toBuilder(); } member_ = input.readMessage(com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(member_); member_ = subBuilder.buildPartial(); } break; } case 24: { int rawValue = input.readEnum(); eventType_ = rawValue; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); address_ = s; break; } case 41: { lat_ = input.readDouble(); break; } case 49: { lon_ = input.readDouble(); break; } case 56: { alt_ = input.readInt32(); break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); externalId_ = s; break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); externalUserId_ = s; break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); externalDeviceId_ = s; break; } case 90: { java.lang.String s = input.readStringRequireUtf8(); externalServiceId_ = s; break; } case 98: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metaData_ = com.google.protobuf.MapField.newMapField( MetaDataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metaData__ = input.readMessage( MetaDataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metaData_.getMutableMap().put( metaData__.getKey(), metaData__.getValue()); break; } case 106: { java.lang.String s = input.readStringRequireUtf8(); notes_ = s; break; } case 114: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (date_ != null) { subBuilder = date_.toBuilder(); } date_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(date_); date_ = subBuilder.buildPartial(); } break; } case 122: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (retainedUntilDate_ != null) { subBuilder = retainedUntilDate_.toBuilder(); } retainedUntilDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(retainedUntilDate_); retainedUntilDate_ = subBuilder.buildPartial(); } break; } case 130: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (created_ != null) { subBuilder = created_.toBuilder(); } created_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(created_); created_ = subBuilder.buildPartial(); } break; } 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.Members.MemberEventsOuterClass.internal_static_members_MemberEvent_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 12: return internalGetMetaData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberEventsOuterClass.internal_static_members_MemberEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent.class, com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * PassKit generated Event ID. Not writable.
     * 
* * string id = 1; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** *
     * PassKit generated Event ID. Not writable.
     * 
* * string id = 1; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MEMBER_FIELD_NUMBER = 2; private com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal member_; /** *
     * Member that the event belongs to. This does not contain the full member details, only the key data.
     * 
* * .members.MemberMininmal member = 2; * @return Whether the member field is set. */ @java.lang.Override public boolean hasMember() { return member_ != null; } /** *
     * Member that the event belongs to. This does not contain the full member details, only the key data.
     * 
* * .members.MemberMininmal member = 2; * @return The member. */ @java.lang.Override public com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal getMember() { return member_ == null ? com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.getDefaultInstance() : member_; } /** *
     * Member that the event belongs to. This does not contain the full member details, only the key data.
     * 
* * .members.MemberMininmal member = 2; */ @java.lang.Override public com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmalOrBuilder getMemberOrBuilder() { return getMember(); } public static final int EVENTTYPE_FIELD_NUMBER = 3; private int eventType_; /** *
     * Event type.
     * 
* * .members.MemberEvents eventType = 3; * @return The enum numeric value on the wire for eventType. */ @java.lang.Override public int getEventTypeValue() { return eventType_; } /** *
     * Event type.
     * 
* * .members.MemberEvents eventType = 3; * @return The eventType. */ @java.lang.Override public com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvents getEventType() { @SuppressWarnings("deprecation") com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvents result = com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvents.valueOf(eventType_); return result == null ? com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvents.UNRECOGNIZED : result; } public static final int ADDRESS_FIELD_NUMBER = 4; private volatile java.lang.Object address_; /** *
     * Address the event took place.
     * 
* * string address = 4; * @return The address. */ @java.lang.Override public java.lang.String getAddress() { java.lang.Object ref = address_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; } } /** *
     * Address the event took place.
     * 
* * string address = 4; * @return The bytes for address. */ @java.lang.Override public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); address_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LAT_FIELD_NUMBER = 5; private double lat_; /** *
     * Latitude the event took place.
     * 
* * double lat = 5; * @return The lat. */ @java.lang.Override public double getLat() { return lat_; } public static final int LON_FIELD_NUMBER = 6; private double lon_; /** *
     * Longitude the event took place.
     * 
* * double lon = 6; * @return The lon. */ @java.lang.Override public double getLon() { return lon_; } public static final int ALT_FIELD_NUMBER = 7; private int alt_; /** *
     * Altitude the event took place (in metres).
     * 
* * int32 alt = 7; * @return The alt. */ @java.lang.Override public int getAlt() { return alt_; } public static final int EXTERNALID_FIELD_NUMBER = 8; private volatile java.lang.Object externalId_; /** *
     * External unique ID of the event.
     * 
* * string externalId = 8; * @return The externalId. */ @java.lang.Override public java.lang.String getExternalId() { java.lang.Object ref = externalId_; 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(); externalId_ = s; return s; } } /** *
     * External unique ID of the event.
     * 
* * string externalId = 8; * @return The bytes for externalId. */ @java.lang.Override public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXTERNALUSERID_FIELD_NUMBER = 9; private volatile java.lang.Object externalUserId_; /** *
     * External user ID of the logged in user that captured the event (for example when using an external scanning app).
     * 
* * string externalUserId = 9; * @return The externalUserId. */ @java.lang.Override public java.lang.String getExternalUserId() { java.lang.Object ref = externalUserId_; 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(); externalUserId_ = s; return s; } } /** *
     * External user ID of the logged in user that captured the event (for example when using an external scanning app).
     * 
* * string externalUserId = 9; * @return The bytes for externalUserId. */ @java.lang.Override public com.google.protobuf.ByteString getExternalUserIdBytes() { java.lang.Object ref = externalUserId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalUserId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXTERNALDEVICEID_FIELD_NUMBER = 10; private volatile java.lang.Object externalDeviceId_; /** *
     * External device ID of the device that was used to capture the event (for example when using an external scanning app).
     * 
* * string externalDeviceId = 10; * @return The externalDeviceId. */ @java.lang.Override public java.lang.String getExternalDeviceId() { java.lang.Object ref = externalDeviceId_; 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(); externalDeviceId_ = s; return s; } } /** *
     * External device ID of the device that was used to capture the event (for example when using an external scanning app).
     * 
* * string externalDeviceId = 10; * @return The bytes for externalDeviceId. */ @java.lang.Override public com.google.protobuf.ByteString getExternalDeviceIdBytes() { java.lang.Object ref = externalDeviceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalDeviceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXTERNALSERVICEID_FIELD_NUMBER = 11; private volatile java.lang.Object externalServiceId_; /** *
     * External service ID of the service that was used for capturing the event (for example when using an external scanning app).
     * 
* * string externalServiceId = 11; * @return The externalServiceId. */ @java.lang.Override public java.lang.String getExternalServiceId() { java.lang.Object ref = externalServiceId_; 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(); externalServiceId_ = s; return s; } } /** *
     * External service ID of the service that was used for capturing the event (for example when using an external scanning app).
     * 
* * string externalServiceId = 11; * @return The bytes for externalServiceId. */ @java.lang.Override public com.google.protobuf.ByteString getExternalServiceIdBytes() { java.lang.Object ref = externalServiceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalServiceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int METADATA_FIELD_NUMBER = 12; private static final class MetaDataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.passkit.grpc.Members.MemberEventsOuterClass.internal_static_members_MemberEvent_MetaDataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metaData_; private com.google.protobuf.MapField internalGetMetaData() { if (metaData_ == null) { return com.google.protobuf.MapField.emptyMapField( MetaDataDefaultEntryHolder.defaultEntry); } return metaData_; } public int getMetaDataCount() { return internalGetMetaData().getMap().size(); } /** *
     * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
     * 
* * map<string, string> metaData = 12; */ @java.lang.Override public boolean containsMetaData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMetaData().getMap().containsKey(key); } /** * Use {@link #getMetaDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetaData() { return getMetaDataMap(); } /** *
     * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
     * 
* * map<string, string> metaData = 12; */ @java.lang.Override public java.util.Map getMetaDataMap() { return internalGetMetaData().getMap(); } /** *
     * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
     * 
* * map<string, string> metaData = 12; */ @java.lang.Override public java.lang.String getMetaDataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
     * 
* * map<string, string> metaData = 12; */ @java.lang.Override public java.lang.String getMetaDataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int NOTES_FIELD_NUMBER = 13; private volatile java.lang.Object notes_; /** *
     * Any relevant notes for the event.
     * 
* * string notes = 13; * @return The notes. */ @java.lang.Override public java.lang.String getNotes() { java.lang.Object ref = notes_; 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(); notes_ = s; return s; } } /** *
     * Any relevant notes for the event.
     * 
* * string notes = 13; * @return The bytes for notes. */ @java.lang.Override public com.google.protobuf.ByteString getNotesBytes() { java.lang.Object ref = notes_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); notes_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATE_FIELD_NUMBER = 14; private com.google.protobuf.Timestamp date_; /** *
     * The event date.
     * 
* * .google.protobuf.Timestamp date = 14; * @return Whether the date field is set. */ @java.lang.Override public boolean hasDate() { return date_ != null; } /** *
     * The event date.
     * 
* * .google.protobuf.Timestamp date = 14; * @return The date. */ @java.lang.Override public com.google.protobuf.Timestamp getDate() { return date_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : date_; } /** *
     * The event date.
     * 
* * .google.protobuf.Timestamp date = 14; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDateOrBuilder() { return getDate(); } public static final int RETAINEDUNTILDATE_FIELD_NUMBER = 15; private com.google.protobuf.Timestamp retainedUntilDate_; /** *
     * The date until the event is retained in the PassKit database.
     * 
* * .google.protobuf.Timestamp retainedUntilDate = 15; * @return Whether the retainedUntilDate field is set. */ @java.lang.Override public boolean hasRetainedUntilDate() { return retainedUntilDate_ != null; } /** *
     * The date until the event is retained in the PassKit database.
     * 
* * .google.protobuf.Timestamp retainedUntilDate = 15; * @return The retainedUntilDate. */ @java.lang.Override public com.google.protobuf.Timestamp getRetainedUntilDate() { return retainedUntilDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : retainedUntilDate_; } /** *
     * The date until the event is retained in the PassKit database.
     * 
* * .google.protobuf.Timestamp retainedUntilDate = 15; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRetainedUntilDateOrBuilder() { return getRetainedUntilDate(); } public static final int CREATED_FIELD_NUMBER = 16; private com.google.protobuf.Timestamp created_; /** *
     * The date the event record was created in the PassKit database.
     * 
* * .google.protobuf.Timestamp created = 16; * @return Whether the created field is set. */ @java.lang.Override public boolean hasCreated() { return created_ != null; } /** *
     * The date the event record was created in the PassKit database.
     * 
* * .google.protobuf.Timestamp created = 16; * @return The created. */ @java.lang.Override public com.google.protobuf.Timestamp getCreated() { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } /** *
     * The date the event record was created in the PassKit database.
     * 
* * .google.protobuf.Timestamp created = 16; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() { return getCreated(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (member_ != null) { output.writeMessage(2, getMember()); } if (eventType_ != com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvents.EVENT_MEMBER_DO_NOT_USE.getNumber()) { output.writeEnum(3, eventType_); } if (!getAddressBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, address_); } if (lat_ != 0D) { output.writeDouble(5, lat_); } if (lon_ != 0D) { output.writeDouble(6, lon_); } if (alt_ != 0) { output.writeInt32(7, alt_); } if (!getExternalIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, externalId_); } if (!getExternalUserIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, externalUserId_); } if (!getExternalDeviceIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, externalDeviceId_); } if (!getExternalServiceIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, externalServiceId_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetaData(), MetaDataDefaultEntryHolder.defaultEntry, 12); if (!getNotesBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, notes_); } if (date_ != null) { output.writeMessage(14, getDate()); } if (retainedUntilDate_ != null) { output.writeMessage(15, getRetainedUntilDate()); } if (created_ != null) { output.writeMessage(16, getCreated()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (member_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getMember()); } if (eventType_ != com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvents.EVENT_MEMBER_DO_NOT_USE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, eventType_); } if (!getAddressBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, address_); } if (lat_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, lat_); } if (lon_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(6, lon_); } if (alt_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, alt_); } if (!getExternalIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, externalId_); } if (!getExternalUserIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, externalUserId_); } if (!getExternalDeviceIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, externalDeviceId_); } if (!getExternalServiceIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, externalServiceId_); } for (java.util.Map.Entry entry : internalGetMetaData().getMap().entrySet()) { com.google.protobuf.MapEntry metaData__ = MetaDataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, metaData__); } if (!getNotesBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, notes_); } if (date_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getDate()); } if (retainedUntilDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getRetainedUntilDate()); } if (created_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getCreated()); } 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.Members.MemberEventsOuterClass.MemberEvent)) { return super.equals(obj); } com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent other = (com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent) obj; if (!getId() .equals(other.getId())) return false; if (hasMember() != other.hasMember()) return false; if (hasMember()) { if (!getMember() .equals(other.getMember())) return false; } if (eventType_ != other.eventType_) return false; if (!getAddress() .equals(other.getAddress())) return false; if (java.lang.Double.doubleToLongBits(getLat()) != java.lang.Double.doubleToLongBits( other.getLat())) return false; if (java.lang.Double.doubleToLongBits(getLon()) != java.lang.Double.doubleToLongBits( other.getLon())) return false; if (getAlt() != other.getAlt()) return false; if (!getExternalId() .equals(other.getExternalId())) return false; if (!getExternalUserId() .equals(other.getExternalUserId())) return false; if (!getExternalDeviceId() .equals(other.getExternalDeviceId())) return false; if (!getExternalServiceId() .equals(other.getExternalServiceId())) return false; if (!internalGetMetaData().equals( other.internalGetMetaData())) return false; if (!getNotes() .equals(other.getNotes())) return false; if (hasDate() != other.hasDate()) return false; if (hasDate()) { if (!getDate() .equals(other.getDate())) return false; } if (hasRetainedUntilDate() != other.hasRetainedUntilDate()) return false; if (hasRetainedUntilDate()) { if (!getRetainedUntilDate() .equals(other.getRetainedUntilDate())) return false; } if (hasCreated() != other.hasCreated()) return false; if (hasCreated()) { if (!getCreated() .equals(other.getCreated())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); if (hasMember()) { hash = (37 * hash) + MEMBER_FIELD_NUMBER; hash = (53 * hash) + getMember().hashCode(); } hash = (37 * hash) + EVENTTYPE_FIELD_NUMBER; hash = (53 * hash) + eventType_; hash = (37 * hash) + ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getAddress().hashCode(); hash = (37 * hash) + LAT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLat())); hash = (37 * hash) + LON_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLon())); hash = (37 * hash) + ALT_FIELD_NUMBER; hash = (53 * hash) + getAlt(); hash = (37 * hash) + EXTERNALID_FIELD_NUMBER; hash = (53 * hash) + getExternalId().hashCode(); hash = (37 * hash) + EXTERNALUSERID_FIELD_NUMBER; hash = (53 * hash) + getExternalUserId().hashCode(); hash = (37 * hash) + EXTERNALDEVICEID_FIELD_NUMBER; hash = (53 * hash) + getExternalDeviceId().hashCode(); hash = (37 * hash) + EXTERNALSERVICEID_FIELD_NUMBER; hash = (53 * hash) + getExternalServiceId().hashCode(); if (!internalGetMetaData().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetaData().hashCode(); } hash = (37 * hash) + NOTES_FIELD_NUMBER; hash = (53 * hash) + getNotes().hashCode(); if (hasDate()) { hash = (37 * hash) + DATE_FIELD_NUMBER; hash = (53 * hash) + getDate().hashCode(); } if (hasRetainedUntilDate()) { hash = (37 * hash) + RETAINEDUNTILDATE_FIELD_NUMBER; hash = (53 * hash) + getRetainedUntilDate().hashCode(); } if (hasCreated()) { hash = (37 * hash) + CREATED_FIELD_NUMBER; hash = (53 * hash) + getCreated().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent 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.Members.MemberEventsOuterClass.MemberEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent 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.Members.MemberEventsOuterClass.MemberEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent 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.Members.MemberEventsOuterClass.MemberEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent 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.Members.MemberEventsOuterClass.MemberEvent parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent 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.Members.MemberEventsOuterClass.MemberEvent 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; } /** *
     * The Member Event record
     * 
* * Protobuf type {@code members.MemberEvent} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:members.MemberEvent) com.passkit.grpc.Members.MemberEventsOuterClass.MemberEventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberEventsOuterClass.internal_static_members_MemberEvent_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 12: return internalGetMetaData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 12: return internalGetMutableMetaData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberEventsOuterClass.internal_static_members_MemberEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent.class, com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent.Builder.class); } // Construct using com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); id_ = ""; if (memberBuilder_ == null) { member_ = null; } else { member_ = null; memberBuilder_ = null; } eventType_ = 0; address_ = ""; lat_ = 0D; lon_ = 0D; alt_ = 0; externalId_ = ""; externalUserId_ = ""; externalDeviceId_ = ""; externalServiceId_ = ""; internalGetMutableMetaData().clear(); notes_ = ""; if (dateBuilder_ == null) { date_ = null; } else { date_ = null; dateBuilder_ = null; } if (retainedUntilDateBuilder_ == null) { retainedUntilDate_ = null; } else { retainedUntilDate_ = null; retainedUntilDateBuilder_ = null; } if (createdBuilder_ == null) { created_ = null; } else { created_ = null; createdBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Members.MemberEventsOuterClass.internal_static_members_MemberEvent_descriptor; } @java.lang.Override public com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent getDefaultInstanceForType() { return com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent build() { com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent buildPartial() { com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent result = new com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent(this); int from_bitField0_ = bitField0_; result.id_ = id_; if (memberBuilder_ == null) { result.member_ = member_; } else { result.member_ = memberBuilder_.build(); } result.eventType_ = eventType_; result.address_ = address_; result.lat_ = lat_; result.lon_ = lon_; result.alt_ = alt_; result.externalId_ = externalId_; result.externalUserId_ = externalUserId_; result.externalDeviceId_ = externalDeviceId_; result.externalServiceId_ = externalServiceId_; result.metaData_ = internalGetMetaData(); result.metaData_.makeImmutable(); result.notes_ = notes_; if (dateBuilder_ == null) { result.date_ = date_; } else { result.date_ = dateBuilder_.build(); } if (retainedUntilDateBuilder_ == null) { result.retainedUntilDate_ = retainedUntilDate_; } else { result.retainedUntilDate_ = retainedUntilDateBuilder_.build(); } if (createdBuilder_ == null) { result.created_ = created_; } else { result.created_ = createdBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent) { return mergeFrom((com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent other) { if (other == com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (other.hasMember()) { mergeMember(other.getMember()); } if (other.eventType_ != 0) { setEventTypeValue(other.getEventTypeValue()); } if (!other.getAddress().isEmpty()) { address_ = other.address_; onChanged(); } if (other.getLat() != 0D) { setLat(other.getLat()); } if (other.getLon() != 0D) { setLon(other.getLon()); } if (other.getAlt() != 0) { setAlt(other.getAlt()); } if (!other.getExternalId().isEmpty()) { externalId_ = other.externalId_; onChanged(); } if (!other.getExternalUserId().isEmpty()) { externalUserId_ = other.externalUserId_; onChanged(); } if (!other.getExternalDeviceId().isEmpty()) { externalDeviceId_ = other.externalDeviceId_; onChanged(); } if (!other.getExternalServiceId().isEmpty()) { externalServiceId_ = other.externalServiceId_; onChanged(); } internalGetMutableMetaData().mergeFrom( other.internalGetMetaData()); if (!other.getNotes().isEmpty()) { notes_ = other.notes_; onChanged(); } if (other.hasDate()) { mergeDate(other.getDate()); } if (other.hasRetainedUntilDate()) { mergeRetainedUntilDate(other.getRetainedUntilDate()); } if (other.hasCreated()) { mergeCreated(other.getCreated()); } 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.Members.MemberEventsOuterClass.MemberEvent parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object id_ = ""; /** *
       * PassKit generated Event ID. Not writable.
       * 
* * string id = 1; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * PassKit generated Event ID. Not writable.
       * 
* * string id = 1; * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * PassKit generated Event ID. Not writable.
       * 
* * string id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /** *
       * PassKit generated Event ID. Not writable.
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * PassKit generated Event ID. Not writable.
       * 
* * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; onChanged(); return this; } private com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal member_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal, com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.Builder, com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmalOrBuilder> memberBuilder_; /** *
       * Member that the event belongs to. This does not contain the full member details, only the key data.
       * 
* * .members.MemberMininmal member = 2; * @return Whether the member field is set. */ public boolean hasMember() { return memberBuilder_ != null || member_ != null; } /** *
       * Member that the event belongs to. This does not contain the full member details, only the key data.
       * 
* * .members.MemberMininmal member = 2; * @return The member. */ public com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal getMember() { if (memberBuilder_ == null) { return member_ == null ? com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.getDefaultInstance() : member_; } else { return memberBuilder_.getMessage(); } } /** *
       * Member that the event belongs to. This does not contain the full member details, only the key data.
       * 
* * .members.MemberMininmal member = 2; */ public Builder setMember(com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal value) { if (memberBuilder_ == null) { if (value == null) { throw new NullPointerException(); } member_ = value; onChanged(); } else { memberBuilder_.setMessage(value); } return this; } /** *
       * Member that the event belongs to. This does not contain the full member details, only the key data.
       * 
* * .members.MemberMininmal member = 2; */ public Builder setMember( com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.Builder builderForValue) { if (memberBuilder_ == null) { member_ = builderForValue.build(); onChanged(); } else { memberBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Member that the event belongs to. This does not contain the full member details, only the key data.
       * 
* * .members.MemberMininmal member = 2; */ public Builder mergeMember(com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal value) { if (memberBuilder_ == null) { if (member_ != null) { member_ = com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.newBuilder(member_).mergeFrom(value).buildPartial(); } else { member_ = value; } onChanged(); } else { memberBuilder_.mergeFrom(value); } return this; } /** *
       * Member that the event belongs to. This does not contain the full member details, only the key data.
       * 
* * .members.MemberMininmal member = 2; */ public Builder clearMember() { if (memberBuilder_ == null) { member_ = null; onChanged(); } else { member_ = null; memberBuilder_ = null; } return this; } /** *
       * Member that the event belongs to. This does not contain the full member details, only the key data.
       * 
* * .members.MemberMininmal member = 2; */ public com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.Builder getMemberBuilder() { onChanged(); return getMemberFieldBuilder().getBuilder(); } /** *
       * Member that the event belongs to. This does not contain the full member details, only the key data.
       * 
* * .members.MemberMininmal member = 2; */ public com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmalOrBuilder getMemberOrBuilder() { if (memberBuilder_ != null) { return memberBuilder_.getMessageOrBuilder(); } else { return member_ == null ? com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.getDefaultInstance() : member_; } } /** *
       * Member that the event belongs to. This does not contain the full member details, only the key data.
       * 
* * .members.MemberMininmal member = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal, com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.Builder, com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmalOrBuilder> getMemberFieldBuilder() { if (memberBuilder_ == null) { memberBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal, com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.Builder, com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmalOrBuilder>( getMember(), getParentForChildren(), isClean()); member_ = null; } return memberBuilder_; } private int eventType_ = 0; /** *
       * Event type.
       * 
* * .members.MemberEvents eventType = 3; * @return The enum numeric value on the wire for eventType. */ @java.lang.Override public int getEventTypeValue() { return eventType_; } /** *
       * Event type.
       * 
* * .members.MemberEvents eventType = 3; * @param value The enum numeric value on the wire for eventType to set. * @return This builder for chaining. */ public Builder setEventTypeValue(int value) { eventType_ = value; onChanged(); return this; } /** *
       * Event type.
       * 
* * .members.MemberEvents eventType = 3; * @return The eventType. */ @java.lang.Override public com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvents getEventType() { @SuppressWarnings("deprecation") com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvents result = com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvents.valueOf(eventType_); return result == null ? com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvents.UNRECOGNIZED : result; } /** *
       * Event type.
       * 
* * .members.MemberEvents eventType = 3; * @param value The eventType to set. * @return This builder for chaining. */ public Builder setEventType(com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvents value) { if (value == null) { throw new NullPointerException(); } eventType_ = value.getNumber(); onChanged(); return this; } /** *
       * Event type.
       * 
* * .members.MemberEvents eventType = 3; * @return This builder for chaining. */ public Builder clearEventType() { eventType_ = 0; onChanged(); return this; } private java.lang.Object address_ = ""; /** *
       * Address the event took place.
       * 
* * string address = 4; * @return The address. */ public java.lang.String getAddress() { java.lang.Object ref = address_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Address the event took place.
       * 
* * string address = 4; * @return The bytes for address. */ public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); address_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Address the event took place.
       * 
* * string address = 4; * @param value The address to set. * @return This builder for chaining. */ public Builder setAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } address_ = value; onChanged(); return this; } /** *
       * Address the event took place.
       * 
* * string address = 4; * @return This builder for chaining. */ public Builder clearAddress() { address_ = getDefaultInstance().getAddress(); onChanged(); return this; } /** *
       * Address the event took place.
       * 
* * string address = 4; * @param value The bytes for address to set. * @return This builder for chaining. */ public Builder setAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); address_ = value; onChanged(); return this; } private double lat_ ; /** *
       * Latitude the event took place.
       * 
* * double lat = 5; * @return The lat. */ @java.lang.Override public double getLat() { return lat_; } /** *
       * Latitude the event took place.
       * 
* * double lat = 5; * @param value The lat to set. * @return This builder for chaining. */ public Builder setLat(double value) { lat_ = value; onChanged(); return this; } /** *
       * Latitude the event took place.
       * 
* * double lat = 5; * @return This builder for chaining. */ public Builder clearLat() { lat_ = 0D; onChanged(); return this; } private double lon_ ; /** *
       * Longitude the event took place.
       * 
* * double lon = 6; * @return The lon. */ @java.lang.Override public double getLon() { return lon_; } /** *
       * Longitude the event took place.
       * 
* * double lon = 6; * @param value The lon to set. * @return This builder for chaining. */ public Builder setLon(double value) { lon_ = value; onChanged(); return this; } /** *
       * Longitude the event took place.
       * 
* * double lon = 6; * @return This builder for chaining. */ public Builder clearLon() { lon_ = 0D; onChanged(); return this; } private int alt_ ; /** *
       * Altitude the event took place (in metres).
       * 
* * int32 alt = 7; * @return The alt. */ @java.lang.Override public int getAlt() { return alt_; } /** *
       * Altitude the event took place (in metres).
       * 
* * int32 alt = 7; * @param value The alt to set. * @return This builder for chaining. */ public Builder setAlt(int value) { alt_ = value; onChanged(); return this; } /** *
       * Altitude the event took place (in metres).
       * 
* * int32 alt = 7; * @return This builder for chaining. */ public Builder clearAlt() { alt_ = 0; onChanged(); return this; } private java.lang.Object externalId_ = ""; /** *
       * External unique ID of the event.
       * 
* * string externalId = 8; * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * External unique ID of the event.
       * 
* * string externalId = 8; * @return The bytes for externalId. */ public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * External unique ID of the event.
       * 
* * string externalId = 8; * @param value The externalId to set. * @return This builder for chaining. */ public Builder setExternalId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } externalId_ = value; onChanged(); return this; } /** *
       * External unique ID of the event.
       * 
* * string externalId = 8; * @return This builder for chaining. */ public Builder clearExternalId() { externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** *
       * External unique ID of the event.
       * 
* * string externalId = 8; * @param value The bytes for externalId to set. * @return This builder for chaining. */ public Builder setExternalIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); externalId_ = value; onChanged(); return this; } private java.lang.Object externalUserId_ = ""; /** *
       * External user ID of the logged in user that captured the event (for example when using an external scanning app).
       * 
* * string externalUserId = 9; * @return The externalUserId. */ public java.lang.String getExternalUserId() { java.lang.Object ref = externalUserId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalUserId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * External user ID of the logged in user that captured the event (for example when using an external scanning app).
       * 
* * string externalUserId = 9; * @return The bytes for externalUserId. */ public com.google.protobuf.ByteString getExternalUserIdBytes() { java.lang.Object ref = externalUserId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalUserId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * External user ID of the logged in user that captured the event (for example when using an external scanning app).
       * 
* * string externalUserId = 9; * @param value The externalUserId to set. * @return This builder for chaining. */ public Builder setExternalUserId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } externalUserId_ = value; onChanged(); return this; } /** *
       * External user ID of the logged in user that captured the event (for example when using an external scanning app).
       * 
* * string externalUserId = 9; * @return This builder for chaining. */ public Builder clearExternalUserId() { externalUserId_ = getDefaultInstance().getExternalUserId(); onChanged(); return this; } /** *
       * External user ID of the logged in user that captured the event (for example when using an external scanning app).
       * 
* * string externalUserId = 9; * @param value The bytes for externalUserId to set. * @return This builder for chaining. */ public Builder setExternalUserIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); externalUserId_ = value; onChanged(); return this; } private java.lang.Object externalDeviceId_ = ""; /** *
       * External device ID of the device that was used to capture the event (for example when using an external scanning app).
       * 
* * string externalDeviceId = 10; * @return The externalDeviceId. */ public java.lang.String getExternalDeviceId() { java.lang.Object ref = externalDeviceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalDeviceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * External device ID of the device that was used to capture the event (for example when using an external scanning app).
       * 
* * string externalDeviceId = 10; * @return The bytes for externalDeviceId. */ public com.google.protobuf.ByteString getExternalDeviceIdBytes() { java.lang.Object ref = externalDeviceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalDeviceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * External device ID of the device that was used to capture the event (for example when using an external scanning app).
       * 
* * string externalDeviceId = 10; * @param value The externalDeviceId to set. * @return This builder for chaining. */ public Builder setExternalDeviceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } externalDeviceId_ = value; onChanged(); return this; } /** *
       * External device ID of the device that was used to capture the event (for example when using an external scanning app).
       * 
* * string externalDeviceId = 10; * @return This builder for chaining. */ public Builder clearExternalDeviceId() { externalDeviceId_ = getDefaultInstance().getExternalDeviceId(); onChanged(); return this; } /** *
       * External device ID of the device that was used to capture the event (for example when using an external scanning app).
       * 
* * string externalDeviceId = 10; * @param value The bytes for externalDeviceId to set. * @return This builder for chaining. */ public Builder setExternalDeviceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); externalDeviceId_ = value; onChanged(); return this; } private java.lang.Object externalServiceId_ = ""; /** *
       * External service ID of the service that was used for capturing the event (for example when using an external scanning app).
       * 
* * string externalServiceId = 11; * @return The externalServiceId. */ public java.lang.String getExternalServiceId() { java.lang.Object ref = externalServiceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalServiceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * External service ID of the service that was used for capturing the event (for example when using an external scanning app).
       * 
* * string externalServiceId = 11; * @return The bytes for externalServiceId. */ public com.google.protobuf.ByteString getExternalServiceIdBytes() { java.lang.Object ref = externalServiceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalServiceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * External service ID of the service that was used for capturing the event (for example when using an external scanning app).
       * 
* * string externalServiceId = 11; * @param value The externalServiceId to set. * @return This builder for chaining. */ public Builder setExternalServiceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } externalServiceId_ = value; onChanged(); return this; } /** *
       * External service ID of the service that was used for capturing the event (for example when using an external scanning app).
       * 
* * string externalServiceId = 11; * @return This builder for chaining. */ public Builder clearExternalServiceId() { externalServiceId_ = getDefaultInstance().getExternalServiceId(); onChanged(); return this; } /** *
       * External service ID of the service that was used for capturing the event (for example when using an external scanning app).
       * 
* * string externalServiceId = 11; * @param value The bytes for externalServiceId to set. * @return This builder for chaining. */ public Builder setExternalServiceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); externalServiceId_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metaData_; private com.google.protobuf.MapField internalGetMetaData() { if (metaData_ == null) { return com.google.protobuf.MapField.emptyMapField( MetaDataDefaultEntryHolder.defaultEntry); } return metaData_; } private com.google.protobuf.MapField internalGetMutableMetaData() { onChanged();; if (metaData_ == null) { metaData_ = com.google.protobuf.MapField.newMapField( MetaDataDefaultEntryHolder.defaultEntry); } if (!metaData_.isMutable()) { metaData_ = metaData_.copy(); } return metaData_; } public int getMetaDataCount() { return internalGetMetaData().getMap().size(); } /** *
       * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
       * 
* * map<string, string> metaData = 12; */ @java.lang.Override public boolean containsMetaData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMetaData().getMap().containsKey(key); } /** * Use {@link #getMetaDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetaData() { return getMetaDataMap(); } /** *
       * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
       * 
* * map<string, string> metaData = 12; */ @java.lang.Override public java.util.Map getMetaDataMap() { return internalGetMetaData().getMap(); } /** *
       * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
       * 
* * map<string, string> metaData = 12; */ @java.lang.Override public java.lang.String getMetaDataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
       * 
* * map<string, string> metaData = 12; */ @java.lang.Override public java.lang.String getMetaDataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetaData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetaData() { internalGetMutableMetaData().getMutableMap() .clear(); return this; } /** *
       * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
       * 
* * map<string, string> metaData = 12; */ public Builder removeMetaData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableMetaData().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetaData() { return internalGetMutableMetaData().getMutableMap(); } /** *
       * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
       * 
* * map<string, string> metaData = 12; */ public Builder putMetaData( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableMetaData().getMutableMap() .put(key, value); return this; } /** *
       * Any meta data (for example gathered on scanning) that is relevant to the event (# of points earner, bill spent, device meta-data, etc).
       * 
* * map<string, string> metaData = 12; */ public Builder putAllMetaData( java.util.Map values) { internalGetMutableMetaData().getMutableMap() .putAll(values); return this; } private java.lang.Object notes_ = ""; /** *
       * Any relevant notes for the event.
       * 
* * string notes = 13; * @return The notes. */ public java.lang.String getNotes() { java.lang.Object ref = notes_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); notes_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Any relevant notes for the event.
       * 
* * string notes = 13; * @return The bytes for notes. */ public com.google.protobuf.ByteString getNotesBytes() { java.lang.Object ref = notes_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); notes_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Any relevant notes for the event.
       * 
* * string notes = 13; * @param value The notes to set. * @return This builder for chaining. */ public Builder setNotes( java.lang.String value) { if (value == null) { throw new NullPointerException(); } notes_ = value; onChanged(); return this; } /** *
       * Any relevant notes for the event.
       * 
* * string notes = 13; * @return This builder for chaining. */ public Builder clearNotes() { notes_ = getDefaultInstance().getNotes(); onChanged(); return this; } /** *
       * Any relevant notes for the event.
       * 
* * string notes = 13; * @param value The bytes for notes to set. * @return This builder for chaining. */ public Builder setNotesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); notes_ = value; onChanged(); return this; } private com.google.protobuf.Timestamp date_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dateBuilder_; /** *
       * The event date.
       * 
* * .google.protobuf.Timestamp date = 14; * @return Whether the date field is set. */ public boolean hasDate() { return dateBuilder_ != null || date_ != null; } /** *
       * The event date.
       * 
* * .google.protobuf.Timestamp date = 14; * @return The date. */ public com.google.protobuf.Timestamp getDate() { if (dateBuilder_ == null) { return date_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : date_; } else { return dateBuilder_.getMessage(); } } /** *
       * The event date.
       * 
* * .google.protobuf.Timestamp date = 14; */ public Builder setDate(com.google.protobuf.Timestamp value) { if (dateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } date_ = value; onChanged(); } else { dateBuilder_.setMessage(value); } return this; } /** *
       * The event date.
       * 
* * .google.protobuf.Timestamp date = 14; */ public Builder setDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (dateBuilder_ == null) { date_ = builderForValue.build(); onChanged(); } else { dateBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The event date.
       * 
* * .google.protobuf.Timestamp date = 14; */ public Builder mergeDate(com.google.protobuf.Timestamp value) { if (dateBuilder_ == null) { if (date_ != null) { date_ = com.google.protobuf.Timestamp.newBuilder(date_).mergeFrom(value).buildPartial(); } else { date_ = value; } onChanged(); } else { dateBuilder_.mergeFrom(value); } return this; } /** *
       * The event date.
       * 
* * .google.protobuf.Timestamp date = 14; */ public Builder clearDate() { if (dateBuilder_ == null) { date_ = null; onChanged(); } else { date_ = null; dateBuilder_ = null; } return this; } /** *
       * The event date.
       * 
* * .google.protobuf.Timestamp date = 14; */ public com.google.protobuf.Timestamp.Builder getDateBuilder() { onChanged(); return getDateFieldBuilder().getBuilder(); } /** *
       * The event date.
       * 
* * .google.protobuf.Timestamp date = 14; */ public com.google.protobuf.TimestampOrBuilder getDateOrBuilder() { if (dateBuilder_ != null) { return dateBuilder_.getMessageOrBuilder(); } else { return date_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : date_; } } /** *
       * The event date.
       * 
* * .google.protobuf.Timestamp date = 14; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getDateFieldBuilder() { if (dateBuilder_ == null) { dateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getDate(), getParentForChildren(), isClean()); date_ = null; } return dateBuilder_; } private com.google.protobuf.Timestamp retainedUntilDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> retainedUntilDateBuilder_; /** *
       * The date until the event is retained in the PassKit database.
       * 
* * .google.protobuf.Timestamp retainedUntilDate = 15; * @return Whether the retainedUntilDate field is set. */ public boolean hasRetainedUntilDate() { return retainedUntilDateBuilder_ != null || retainedUntilDate_ != null; } /** *
       * The date until the event is retained in the PassKit database.
       * 
* * .google.protobuf.Timestamp retainedUntilDate = 15; * @return The retainedUntilDate. */ public com.google.protobuf.Timestamp getRetainedUntilDate() { if (retainedUntilDateBuilder_ == null) { return retainedUntilDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : retainedUntilDate_; } else { return retainedUntilDateBuilder_.getMessage(); } } /** *
       * The date until the event is retained in the PassKit database.
       * 
* * .google.protobuf.Timestamp retainedUntilDate = 15; */ public Builder setRetainedUntilDate(com.google.protobuf.Timestamp value) { if (retainedUntilDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } retainedUntilDate_ = value; onChanged(); } else { retainedUntilDateBuilder_.setMessage(value); } return this; } /** *
       * The date until the event is retained in the PassKit database.
       * 
* * .google.protobuf.Timestamp retainedUntilDate = 15; */ public Builder setRetainedUntilDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (retainedUntilDateBuilder_ == null) { retainedUntilDate_ = builderForValue.build(); onChanged(); } else { retainedUntilDateBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date until the event is retained in the PassKit database.
       * 
* * .google.protobuf.Timestamp retainedUntilDate = 15; */ public Builder mergeRetainedUntilDate(com.google.protobuf.Timestamp value) { if (retainedUntilDateBuilder_ == null) { if (retainedUntilDate_ != null) { retainedUntilDate_ = com.google.protobuf.Timestamp.newBuilder(retainedUntilDate_).mergeFrom(value).buildPartial(); } else { retainedUntilDate_ = value; } onChanged(); } else { retainedUntilDateBuilder_.mergeFrom(value); } return this; } /** *
       * The date until the event is retained in the PassKit database.
       * 
* * .google.protobuf.Timestamp retainedUntilDate = 15; */ public Builder clearRetainedUntilDate() { if (retainedUntilDateBuilder_ == null) { retainedUntilDate_ = null; onChanged(); } else { retainedUntilDate_ = null; retainedUntilDateBuilder_ = null; } return this; } /** *
       * The date until the event is retained in the PassKit database.
       * 
* * .google.protobuf.Timestamp retainedUntilDate = 15; */ public com.google.protobuf.Timestamp.Builder getRetainedUntilDateBuilder() { onChanged(); return getRetainedUntilDateFieldBuilder().getBuilder(); } /** *
       * The date until the event is retained in the PassKit database.
       * 
* * .google.protobuf.Timestamp retainedUntilDate = 15; */ public com.google.protobuf.TimestampOrBuilder getRetainedUntilDateOrBuilder() { if (retainedUntilDateBuilder_ != null) { return retainedUntilDateBuilder_.getMessageOrBuilder(); } else { return retainedUntilDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : retainedUntilDate_; } } /** *
       * The date until the event is retained in the PassKit database.
       * 
* * .google.protobuf.Timestamp retainedUntilDate = 15; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRetainedUntilDateFieldBuilder() { if (retainedUntilDateBuilder_ == null) { retainedUntilDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getRetainedUntilDate(), getParentForChildren(), isClean()); retainedUntilDate_ = null; } return retainedUntilDateBuilder_; } private com.google.protobuf.Timestamp created_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdBuilder_; /** *
       * The date the event record was created in the PassKit database.
       * 
* * .google.protobuf.Timestamp created = 16; * @return Whether the created field is set. */ public boolean hasCreated() { return createdBuilder_ != null || created_ != null; } /** *
       * The date the event record was created in the PassKit database.
       * 
* * .google.protobuf.Timestamp created = 16; * @return The created. */ public com.google.protobuf.Timestamp getCreated() { if (createdBuilder_ == null) { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } else { return createdBuilder_.getMessage(); } } /** *
       * The date the event record was created in the PassKit database.
       * 
* * .google.protobuf.Timestamp created = 16; */ public Builder setCreated(com.google.protobuf.Timestamp value) { if (createdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } created_ = value; onChanged(); } else { createdBuilder_.setMessage(value); } return this; } /** *
       * The date the event record was created in the PassKit database.
       * 
* * .google.protobuf.Timestamp created = 16; */ public Builder setCreated( com.google.protobuf.Timestamp.Builder builderForValue) { if (createdBuilder_ == null) { created_ = builderForValue.build(); onChanged(); } else { createdBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the event record was created in the PassKit database.
       * 
* * .google.protobuf.Timestamp created = 16; */ public Builder mergeCreated(com.google.protobuf.Timestamp value) { if (createdBuilder_ == null) { if (created_ != null) { created_ = com.google.protobuf.Timestamp.newBuilder(created_).mergeFrom(value).buildPartial(); } else { created_ = value; } onChanged(); } else { createdBuilder_.mergeFrom(value); } return this; } /** *
       * The date the event record was created in the PassKit database.
       * 
* * .google.protobuf.Timestamp created = 16; */ public Builder clearCreated() { if (createdBuilder_ == null) { created_ = null; onChanged(); } else { created_ = null; createdBuilder_ = null; } return this; } /** *
       * The date the event record was created in the PassKit database.
       * 
* * .google.protobuf.Timestamp created = 16; */ public com.google.protobuf.Timestamp.Builder getCreatedBuilder() { onChanged(); return getCreatedFieldBuilder().getBuilder(); } /** *
       * The date the event record was created in the PassKit database.
       * 
* * .google.protobuf.Timestamp created = 16; */ public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() { if (createdBuilder_ != null) { return createdBuilder_.getMessageOrBuilder(); } else { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } } /** *
       * The date the event record was created in the PassKit database.
       * 
* * .google.protobuf.Timestamp created = 16; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreatedFieldBuilder() { if (createdBuilder_ == null) { createdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCreated(), getParentForChildren(), isClean()); created_ = null; } return createdBuilder_; } @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:members.MemberEvent) } // @@protoc_insertion_point(class_scope:members.MemberEvent) private static final com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent(); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MemberEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MemberEvent(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.Members.MemberEventsOuterClass.MemberEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MemberMininmalOrBuilder extends // @@protoc_insertion_point(interface_extends:members.MemberMininmal) com.google.protobuf.MessageOrBuilder { /** *
     * Id assigned by PassKit to represent the member record. It will be used as the serial number in Apple Wallet and as the Object identifier for Google Wallet. This field is not writable.
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * Id assigned by PassKit to represent the member record. It will be used as the serial number in Apple Wallet and as the Object identifier for Google Wallet. This field is not writable.
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * This can be used to set the 'external' ID of the member (i.e. the member ID as it's being used in your system). If provided then this can be used to query & update members. This field will be treated as unique within the program, and cannot be updated at a later stage.
     * 
* * string externalId = 2; * @return The externalId. */ java.lang.String getExternalId(); /** *
     * This can be used to set the 'external' ID of the member (i.e. the member ID as it's being used in your system). If provided then this can be used to query & update members. This field will be treated as unique within the program, and cannot be updated at a later stage.
     * 
* * string externalId = 2; * @return The bytes for externalId. */ com.google.protobuf.ByteString getExternalIdBytes(); /** *
     * Grouping Identifier can be used to group members under the same membership (i.e. couple).
     * 
* * string groupingIdentifier = 3; * @return The groupingIdentifier. */ java.lang.String getGroupingIdentifier(); /** *
     * Grouping Identifier can be used to group members under the same membership (i.e. couple).
     * 
* * string groupingIdentifier = 3; * @return The bytes for groupingIdentifier. */ com.google.protobuf.ByteString getGroupingIdentifierBytes(); /** *
     * Indicates the ID of the tier this member is in.
     * 
* * string tierId = 4; * @return The tierId. */ java.lang.String getTierId(); /** *
     * Indicates the ID of the tier this member is in.
     * 
* * string tierId = 4; * @return The bytes for tierId. */ com.google.protobuf.ByteString getTierIdBytes(); /** *
     * Indicates the ID of the program this member is in.
     * 
* * string programId = 5; * @return The programId. */ java.lang.String getProgramId(); /** *
     * Indicates the ID of the program this member is in.
     * 
* * string programId = 5; * @return The bytes for programId. */ com.google.protobuf.ByteString getProgramIdBytes(); /** *
     * Personal details of the member.
     * 
* * .io.Person person = 6; * @return Whether the person field is set. */ boolean hasPerson(); /** *
     * Personal details of the member.
     * 
* * .io.Person person = 6; * @return The person. */ com.passkit.grpc.Personal.Person getPerson(); /** *
     * Personal details of the member.
     * 
* * .io.Person person = 6; */ com.passkit.grpc.Personal.PersonOrBuilder getPersonOrBuilder(); } /** * Protobuf type {@code members.MemberMininmal} */ public static final class MemberMininmal extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:members.MemberMininmal) MemberMininmalOrBuilder { private static final long serialVersionUID = 0L; // Use MemberMininmal.newBuilder() to construct. private MemberMininmal(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MemberMininmal() { id_ = ""; externalId_ = ""; groupingIdentifier_ = ""; tierId_ = ""; programId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MemberMininmal(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MemberMininmal( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); id_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); externalId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); groupingIdentifier_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); tierId_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); programId_ = s; break; } case 50: { com.passkit.grpc.Personal.Person.Builder subBuilder = null; if (person_ != null) { subBuilder = person_.toBuilder(); } person_ = input.readMessage(com.passkit.grpc.Personal.Person.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(person_); person_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberEventsOuterClass.internal_static_members_MemberMininmal_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberEventsOuterClass.internal_static_members_MemberMininmal_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.class, com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * Id assigned by PassKit to represent the member record. It will be used as the serial number in Apple Wallet and as the Object identifier for Google Wallet. This field is not writable.
     * 
* * string id = 1; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** *
     * Id assigned by PassKit to represent the member record. It will be used as the serial number in Apple Wallet and as the Object identifier for Google Wallet. This field is not writable.
     * 
* * string id = 1; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXTERNALID_FIELD_NUMBER = 2; private volatile java.lang.Object externalId_; /** *
     * This can be used to set the 'external' ID of the member (i.e. the member ID as it's being used in your system). If provided then this can be used to query & update members. This field will be treated as unique within the program, and cannot be updated at a later stage.
     * 
* * string externalId = 2; * @return The externalId. */ @java.lang.Override public java.lang.String getExternalId() { java.lang.Object ref = externalId_; 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(); externalId_ = s; return s; } } /** *
     * This can be used to set the 'external' ID of the member (i.e. the member ID as it's being used in your system). If provided then this can be used to query & update members. This field will be treated as unique within the program, and cannot be updated at a later stage.
     * 
* * string externalId = 2; * @return The bytes for externalId. */ @java.lang.Override public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GROUPINGIDENTIFIER_FIELD_NUMBER = 3; private volatile java.lang.Object groupingIdentifier_; /** *
     * Grouping Identifier can be used to group members under the same membership (i.e. couple).
     * 
* * string groupingIdentifier = 3; * @return The groupingIdentifier. */ @java.lang.Override public java.lang.String getGroupingIdentifier() { java.lang.Object ref = groupingIdentifier_; 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(); groupingIdentifier_ = s; return s; } } /** *
     * Grouping Identifier can be used to group members under the same membership (i.e. couple).
     * 
* * string groupingIdentifier = 3; * @return The bytes for groupingIdentifier. */ @java.lang.Override public com.google.protobuf.ByteString getGroupingIdentifierBytes() { java.lang.Object ref = groupingIdentifier_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); groupingIdentifier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIERID_FIELD_NUMBER = 4; private volatile java.lang.Object tierId_; /** *
     * Indicates the ID of the tier this member is in.
     * 
* * string tierId = 4; * @return The tierId. */ @java.lang.Override public java.lang.String getTierId() { java.lang.Object ref = tierId_; 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(); tierId_ = s; return s; } } /** *
     * Indicates the ID of the tier this member is in.
     * 
* * string tierId = 4; * @return The bytes for tierId. */ @java.lang.Override public com.google.protobuf.ByteString getTierIdBytes() { java.lang.Object ref = tierId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tierId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROGRAMID_FIELD_NUMBER = 5; private volatile java.lang.Object programId_; /** *
     * Indicates the ID of the program this member is in.
     * 
* * string programId = 5; * @return The programId. */ @java.lang.Override public java.lang.String getProgramId() { java.lang.Object ref = programId_; 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(); programId_ = s; return s; } } /** *
     * Indicates the ID of the program this member is in.
     * 
* * string programId = 5; * @return The bytes for programId. */ @java.lang.Override public com.google.protobuf.ByteString getProgramIdBytes() { java.lang.Object ref = programId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); programId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PERSON_FIELD_NUMBER = 6; private com.passkit.grpc.Personal.Person person_; /** *
     * Personal details of the member.
     * 
* * .io.Person person = 6; * @return Whether the person field is set. */ @java.lang.Override public boolean hasPerson() { return person_ != null; } /** *
     * Personal details of the member.
     * 
* * .io.Person person = 6; * @return The person. */ @java.lang.Override public com.passkit.grpc.Personal.Person getPerson() { return person_ == null ? com.passkit.grpc.Personal.Person.getDefaultInstance() : person_; } /** *
     * Personal details of the member.
     * 
* * .io.Person person = 6; */ @java.lang.Override public com.passkit.grpc.Personal.PersonOrBuilder getPersonOrBuilder() { return getPerson(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!getExternalIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, externalId_); } if (!getGroupingIdentifierBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, groupingIdentifier_); } if (!getTierIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, tierId_); } if (!getProgramIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, programId_); } if (person_ != null) { output.writeMessage(6, getPerson()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (!getExternalIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, externalId_); } if (!getGroupingIdentifierBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, groupingIdentifier_); } if (!getTierIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, tierId_); } if (!getProgramIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, programId_); } if (person_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getPerson()); } 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.Members.MemberEventsOuterClass.MemberMininmal)) { return super.equals(obj); } com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal other = (com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal) obj; if (!getId() .equals(other.getId())) return false; if (!getExternalId() .equals(other.getExternalId())) return false; if (!getGroupingIdentifier() .equals(other.getGroupingIdentifier())) return false; if (!getTierId() .equals(other.getTierId())) return false; if (!getProgramId() .equals(other.getProgramId())) return false; if (hasPerson() != other.hasPerson()) return false; if (hasPerson()) { if (!getPerson() .equals(other.getPerson())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (37 * hash) + EXTERNALID_FIELD_NUMBER; hash = (53 * hash) + getExternalId().hashCode(); hash = (37 * hash) + GROUPINGIDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getGroupingIdentifier().hashCode(); hash = (37 * hash) + TIERID_FIELD_NUMBER; hash = (53 * hash) + getTierId().hashCode(); hash = (37 * hash) + PROGRAMID_FIELD_NUMBER; hash = (53 * hash) + getProgramId().hashCode(); if (hasPerson()) { hash = (37 * hash) + PERSON_FIELD_NUMBER; hash = (53 * hash) + getPerson().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal 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.Members.MemberEventsOuterClass.MemberMininmal parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal 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.Members.MemberEventsOuterClass.MemberMininmal parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal 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.Members.MemberEventsOuterClass.MemberMininmal parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal 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.Members.MemberEventsOuterClass.MemberMininmal parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal 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.Members.MemberEventsOuterClass.MemberMininmal 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 members.MemberMininmal} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:members.MemberMininmal) com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmalOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberEventsOuterClass.internal_static_members_MemberMininmal_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberEventsOuterClass.internal_static_members_MemberMininmal_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.class, com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.Builder.class); } // Construct using com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); id_ = ""; externalId_ = ""; groupingIdentifier_ = ""; tierId_ = ""; programId_ = ""; if (personBuilder_ == null) { person_ = null; } else { person_ = null; personBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Members.MemberEventsOuterClass.internal_static_members_MemberMininmal_descriptor; } @java.lang.Override public com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal getDefaultInstanceForType() { return com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal build() { com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal buildPartial() { com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal result = new com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal(this); result.id_ = id_; result.externalId_ = externalId_; result.groupingIdentifier_ = groupingIdentifier_; result.tierId_ = tierId_; result.programId_ = programId_; if (personBuilder_ == null) { result.person_ = person_; } else { result.person_ = personBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal) { return mergeFrom((com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal other) { if (other == com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getExternalId().isEmpty()) { externalId_ = other.externalId_; onChanged(); } if (!other.getGroupingIdentifier().isEmpty()) { groupingIdentifier_ = other.groupingIdentifier_; onChanged(); } if (!other.getTierId().isEmpty()) { tierId_ = other.tierId_; onChanged(); } if (!other.getProgramId().isEmpty()) { programId_ = other.programId_; onChanged(); } if (other.hasPerson()) { mergePerson(other.getPerson()); } 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.Members.MemberEventsOuterClass.MemberMininmal parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object id_ = ""; /** *
       * Id assigned by PassKit to represent the member record. It will be used as the serial number in Apple Wallet and as the Object identifier for Google Wallet. This field is not writable.
       * 
* * string id = 1; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Id assigned by PassKit to represent the member record. It will be used as the serial number in Apple Wallet and as the Object identifier for Google Wallet. This field is not writable.
       * 
* * string id = 1; * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Id assigned by PassKit to represent the member record. It will be used as the serial number in Apple Wallet and as the Object identifier for Google Wallet. This field is not writable.
       * 
* * string id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /** *
       * Id assigned by PassKit to represent the member record. It will be used as the serial number in Apple Wallet and as the Object identifier for Google Wallet. This field is not writable.
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * Id assigned by PassKit to represent the member record. It will be used as the serial number in Apple Wallet and as the Object identifier for Google Wallet. This field is not writable.
       * 
* * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; onChanged(); return this; } private java.lang.Object externalId_ = ""; /** *
       * This can be used to set the 'external' ID of the member (i.e. the member ID as it's being used in your system). If provided then this can be used to query & update members. This field will be treated as unique within the program, and cannot be updated at a later stage.
       * 
* * string externalId = 2; * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * This can be used to set the 'external' ID of the member (i.e. the member ID as it's being used in your system). If provided then this can be used to query & update members. This field will be treated as unique within the program, and cannot be updated at a later stage.
       * 
* * string externalId = 2; * @return The bytes for externalId. */ public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * This can be used to set the 'external' ID of the member (i.e. the member ID as it's being used in your system). If provided then this can be used to query & update members. This field will be treated as unique within the program, and cannot be updated at a later stage.
       * 
* * string externalId = 2; * @param value The externalId to set. * @return This builder for chaining. */ public Builder setExternalId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } externalId_ = value; onChanged(); return this; } /** *
       * This can be used to set the 'external' ID of the member (i.e. the member ID as it's being used in your system). If provided then this can be used to query & update members. This field will be treated as unique within the program, and cannot be updated at a later stage.
       * 
* * string externalId = 2; * @return This builder for chaining. */ public Builder clearExternalId() { externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** *
       * This can be used to set the 'external' ID of the member (i.e. the member ID as it's being used in your system). If provided then this can be used to query & update members. This field will be treated as unique within the program, and cannot be updated at a later stage.
       * 
* * string externalId = 2; * @param value The bytes for externalId to set. * @return This builder for chaining. */ public Builder setExternalIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); externalId_ = value; onChanged(); return this; } private java.lang.Object groupingIdentifier_ = ""; /** *
       * Grouping Identifier can be used to group members under the same membership (i.e. couple).
       * 
* * string groupingIdentifier = 3; * @return The groupingIdentifier. */ public java.lang.String getGroupingIdentifier() { java.lang.Object ref = groupingIdentifier_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupingIdentifier_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Grouping Identifier can be used to group members under the same membership (i.e. couple).
       * 
* * string groupingIdentifier = 3; * @return The bytes for groupingIdentifier. */ public com.google.protobuf.ByteString getGroupingIdentifierBytes() { java.lang.Object ref = groupingIdentifier_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); groupingIdentifier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Grouping Identifier can be used to group members under the same membership (i.e. couple).
       * 
* * string groupingIdentifier = 3; * @param value The groupingIdentifier to set. * @return This builder for chaining. */ public Builder setGroupingIdentifier( java.lang.String value) { if (value == null) { throw new NullPointerException(); } groupingIdentifier_ = value; onChanged(); return this; } /** *
       * Grouping Identifier can be used to group members under the same membership (i.e. couple).
       * 
* * string groupingIdentifier = 3; * @return This builder for chaining. */ public Builder clearGroupingIdentifier() { groupingIdentifier_ = getDefaultInstance().getGroupingIdentifier(); onChanged(); return this; } /** *
       * Grouping Identifier can be used to group members under the same membership (i.e. couple).
       * 
* * string groupingIdentifier = 3; * @param value The bytes for groupingIdentifier to set. * @return This builder for chaining. */ public Builder setGroupingIdentifierBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); groupingIdentifier_ = value; onChanged(); return this; } private java.lang.Object tierId_ = ""; /** *
       * Indicates the ID of the tier this member is in.
       * 
* * string tierId = 4; * @return The tierId. */ public java.lang.String getTierId() { java.lang.Object ref = tierId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tierId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Indicates the ID of the tier this member is in.
       * 
* * string tierId = 4; * @return The bytes for tierId. */ public com.google.protobuf.ByteString getTierIdBytes() { java.lang.Object ref = tierId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tierId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Indicates the ID of the tier this member is in.
       * 
* * string tierId = 4; * @param value The tierId to set. * @return This builder for chaining. */ public Builder setTierId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tierId_ = value; onChanged(); return this; } /** *
       * Indicates the ID of the tier this member is in.
       * 
* * string tierId = 4; * @return This builder for chaining. */ public Builder clearTierId() { tierId_ = getDefaultInstance().getTierId(); onChanged(); return this; } /** *
       * Indicates the ID of the tier this member is in.
       * 
* * string tierId = 4; * @param value The bytes for tierId to set. * @return This builder for chaining. */ public Builder setTierIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tierId_ = value; onChanged(); return this; } private java.lang.Object programId_ = ""; /** *
       * Indicates the ID of the program this member is in.
       * 
* * string programId = 5; * @return The programId. */ public java.lang.String getProgramId() { java.lang.Object ref = programId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); programId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Indicates the ID of the program this member is in.
       * 
* * string programId = 5; * @return The bytes for programId. */ public com.google.protobuf.ByteString getProgramIdBytes() { java.lang.Object ref = programId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); programId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Indicates the ID of the program this member is in.
       * 
* * string programId = 5; * @param value The programId to set. * @return This builder for chaining. */ public Builder setProgramId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } programId_ = value; onChanged(); return this; } /** *
       * Indicates the ID of the program this member is in.
       * 
* * string programId = 5; * @return This builder for chaining. */ public Builder clearProgramId() { programId_ = getDefaultInstance().getProgramId(); onChanged(); return this; } /** *
       * Indicates the ID of the program this member is in.
       * 
* * string programId = 5; * @param value The bytes for programId to set. * @return This builder for chaining. */ public Builder setProgramIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); programId_ = value; onChanged(); return this; } private com.passkit.grpc.Personal.Person person_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Person, com.passkit.grpc.Personal.Person.Builder, com.passkit.grpc.Personal.PersonOrBuilder> personBuilder_; /** *
       * Personal details of the member.
       * 
* * .io.Person person = 6; * @return Whether the person field is set. */ public boolean hasPerson() { return personBuilder_ != null || person_ != null; } /** *
       * Personal details of the member.
       * 
* * .io.Person person = 6; * @return The person. */ public com.passkit.grpc.Personal.Person getPerson() { if (personBuilder_ == null) { return person_ == null ? com.passkit.grpc.Personal.Person.getDefaultInstance() : person_; } else { return personBuilder_.getMessage(); } } /** *
       * Personal details of the member.
       * 
* * .io.Person person = 6; */ public Builder setPerson(com.passkit.grpc.Personal.Person value) { if (personBuilder_ == null) { if (value == null) { throw new NullPointerException(); } person_ = value; onChanged(); } else { personBuilder_.setMessage(value); } return this; } /** *
       * Personal details of the member.
       * 
* * .io.Person person = 6; */ public Builder setPerson( com.passkit.grpc.Personal.Person.Builder builderForValue) { if (personBuilder_ == null) { person_ = builderForValue.build(); onChanged(); } else { personBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Personal details of the member.
       * 
* * .io.Person person = 6; */ public Builder mergePerson(com.passkit.grpc.Personal.Person value) { if (personBuilder_ == null) { if (person_ != null) { person_ = com.passkit.grpc.Personal.Person.newBuilder(person_).mergeFrom(value).buildPartial(); } else { person_ = value; } onChanged(); } else { personBuilder_.mergeFrom(value); } return this; } /** *
       * Personal details of the member.
       * 
* * .io.Person person = 6; */ public Builder clearPerson() { if (personBuilder_ == null) { person_ = null; onChanged(); } else { person_ = null; personBuilder_ = null; } return this; } /** *
       * Personal details of the member.
       * 
* * .io.Person person = 6; */ public com.passkit.grpc.Personal.Person.Builder getPersonBuilder() { onChanged(); return getPersonFieldBuilder().getBuilder(); } /** *
       * Personal details of the member.
       * 
* * .io.Person person = 6; */ public com.passkit.grpc.Personal.PersonOrBuilder getPersonOrBuilder() { if (personBuilder_ != null) { return personBuilder_.getMessageOrBuilder(); } else { return person_ == null ? com.passkit.grpc.Personal.Person.getDefaultInstance() : person_; } } /** *
       * Personal details of the member.
       * 
* * .io.Person person = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Person, com.passkit.grpc.Personal.Person.Builder, com.passkit.grpc.Personal.PersonOrBuilder> getPersonFieldBuilder() { if (personBuilder_ == null) { personBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Person, com.passkit.grpc.Personal.Person.Builder, com.passkit.grpc.Personal.PersonOrBuilder>( getPerson(), getParentForChildren(), isClean()); person_ = null; } return personBuilder_; } @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:members.MemberMininmal) } // @@protoc_insertion_point(class_scope:members.MemberMininmal) private static final com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal(); } public static com.passkit.grpc.Members.MemberEventsOuterClass.MemberMininmal getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MemberMininmal parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MemberMininmal(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.Members.MemberEventsOuterClass.MemberMininmal getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_MemberEvent_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_MemberEvent_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_MemberEvent_MetaDataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_MemberEvent_MetaDataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_MemberMininmal_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_MemberMininmal_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\035io/member/member_events.proto\022\007members" + "\032\037google/protobuf/timestamp.proto\032\030io/co" + "mmon/personal.proto\032.protoc-gen-openapiv" + "2/options/annotations.proto\"\206\005\n\013MemberEv" + "ent\022\n\n\002id\030\001 \001(\t\022\'\n\006member\030\002 \001(\0132\027.member" + "s.MemberMininmal\022(\n\teventType\030\003 \001(\0162\025.me" + "mbers.MemberEvents\022\017\n\007address\030\004 \001(\t\022\013\n\003l" + "at\030\005 \001(\001\022\013\n\003lon\030\006 \001(\001\022\013\n\003alt\030\007 \001(\005\022\022\n\nex" + "ternalId\030\010 \001(\t\022\026\n\016externalUserId\030\t \001(\t\022\030" + "\n\020externalDeviceId\030\n \001(\t\022\031\n\021externalServ" + "iceId\030\013 \001(\t\0224\n\010metaData\030\014 \003(\0132\".members." + "MemberEvent.MetaDataEntry\022\r\n\005notes\030\r \001(\t" + "\022(\n\004date\030\016 \001(\0132\032.google.protobuf.Timesta" + "mp\0225\n\021retainedUntilDate\030\017 \001(\0132\032.google.p" + "rotobuf.Timestamp\022+\n\007created\030\020 \001(\0132\032.goo" + "gle.protobuf.Timestamp\032/\n\rMetaDataEntry\022" + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:{\222Ax\nv*\r" + "Member Events2eEvents that have happened" + " for a member. Events are generated by t" + "he Membership API and are immutable.\"\213\001\n" + "\016MemberMininmal\022\n\n\002id\030\001 \001(\t\022\022\n\nexternalI" + "d\030\002 \001(\t\022\032\n\022groupingIdentifier\030\003 \001(\t\022\016\n\006t" + "ierId\030\004 \001(\t\022\021\n\tprogramId\030\005 \001(\t\022\032\n\006person" + "\030\006 \001(\0132\n.io.Person*\375\001\n\014MemberEvents\022\033\n\027E" + "VENT_MEMBER_DO_NOT_USE\020\000\022\033\n\027EVENT_MEMBER" + "_CHECKED_IN\020\001\022\034\n\030EVENT_MEMBER_CHECKED_OU" + "T\020\002\022\031\n\025EVENT_MEMBER_VERIFIED\020\003\022\036\n\032EVENT_" + "MEMBER_POINTS_EARNED\020\004\022\036\n\032EVENT_MEMBER_P" + "OINTS_BURNED\020\005\022\033\n\027EVENT_MEMBER_POINTS_SE" + "T\020\006\022\035\n\031EVENT_MEMBER_TIER_CHANGED\020\007B_\n\030co" + "m.passkit.grpc.MembersZ,stash.passkit.co" + "m/io/model/sdk/go/io/members\252\002\024PassKit.G" + "rpc.Membersb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.TimestampProto.getDescriptor(), com.passkit.grpc.Personal.getDescriptor(), grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(), }); internal_static_members_MemberEvent_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_members_MemberEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_MemberEvent_descriptor, new java.lang.String[] { "Id", "Member", "EventType", "Address", "Lat", "Lon", "Alt", "ExternalId", "ExternalUserId", "ExternalDeviceId", "ExternalServiceId", "MetaData", "Notes", "Date", "RetainedUntilDate", "Created", }); internal_static_members_MemberEvent_MetaDataEntry_descriptor = internal_static_members_MemberEvent_descriptor.getNestedTypes().get(0); internal_static_members_MemberEvent_MetaDataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_MemberEvent_MetaDataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_members_MemberMininmal_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_members_MemberMininmal_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_MemberMininmal_descriptor, new java.lang.String[] { "Id", "ExternalId", "GroupingIdentifier", "TierId", "ProgramId", "Person", }); 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.google.protobuf.TimestampProto.getDescriptor(); com.passkit.grpc.Personal.getDescriptor(); grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy