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

com.passkit.grpc.Members.MemberOuterClass 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.proto

package com.passkit.grpc.Members;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * 
   * List of allowed member statuses
   * 
* * Protobuf enum {@code members.MemberStatus} */ public enum MemberStatus implements com.google.protobuf.ProtocolMessageEnum { /** *
     * Member has successfully enrolled in the program.
     * 
* * ENROLLED = 0; */ ENROLLED(0), /** *
     * Member is active.
     * 
* * ACTIVE = 1; */ ACTIVE(1), /** *
     * Member is checked in.
     * 
* * CHECKED_IN = 2; */ CHECKED_IN(2), /** *
     * For expired members.
     * 
* * EXPIRED = 3; */ EXPIRED(3), /** *
     * Member is checked out.
     * 
* * CHECKED_OUT = 4; */ CHECKED_OUT(4), /** *
     * For members who's records have been deleted.
     * 
* * DELETED = 5; */ DELETED(5), UNRECOGNIZED(-1), ; /** *
     * Member has successfully enrolled in the program.
     * 
* * ENROLLED = 0; */ public static final int ENROLLED_VALUE = 0; /** *
     * Member is active.
     * 
* * ACTIVE = 1; */ public static final int ACTIVE_VALUE = 1; /** *
     * Member is checked in.
     * 
* * CHECKED_IN = 2; */ public static final int CHECKED_IN_VALUE = 2; /** *
     * For expired members.
     * 
* * EXPIRED = 3; */ public static final int EXPIRED_VALUE = 3; /** *
     * Member is checked out.
     * 
* * CHECKED_OUT = 4; */ public static final int CHECKED_OUT_VALUE = 4; /** *
     * For members who's records have been deleted.
     * 
* * DELETED = 5; */ public static final int DELETED_VALUE = 5; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static MemberStatus 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 MemberStatus forNumber(int value) { switch (value) { case 0: return ENROLLED; case 1: return ACTIVE; case 2: return CHECKED_IN; case 3: return EXPIRED; case 4: return CHECKED_OUT; case 5: return DELETED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< MemberStatus> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public MemberStatus findValueByNumber(int number) { return MemberStatus.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.MemberOuterClass.getDescriptor().getEnumTypes().get(0); } private static final MemberStatus[] VALUES = values(); public static MemberStatus 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 MemberStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:members.MemberStatus) } public interface MemberOrBuilder extends // @@protoc_insertion_point(interface_extends:members.Member) 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(); /** *
     * Any other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
     * 
* * map<string, string> metaData = 7; */ int getMetaDataCount(); /** *
     * Any other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
     * 
* * map<string, string> metaData = 7; */ boolean containsMetaData( java.lang.String key); /** * Use {@link #getMetaDataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetaData(); /** *
     * Any other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
     * 
* * map<string, string> metaData = 7; */ java.util.Map getMetaDataMap(); /** *
     * Any other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
     * 
* * map<string, string> metaData = 7; */ java.lang.String getMetaDataOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * Any other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
     * 
* * map<string, string> metaData = 7; */ java.lang.String getMetaDataOrThrow( java.lang.String key); /** *
     * Indicates if the member opted out to receive marketing promotions (defaults to false).
     * 
* * bool optOut = 13; * @return The optOut. */ boolean getOptOut(); /** *
     * Points is formatted differently based on what is set on a program level. Program points.balance field can be set to: `int`, `double` or `money`.
     * 
* * float points = 14; * @return The points. */ float getPoints(); /** *
     * Secondary Points is formatted differently based on what is set on a program level. Program secondaryPoints.balance field can be set to: `int`, `double` or `money`. Field can be utilised if your program tracks two points, i.e. loyalty point balance, and pre-paid cash balance.
     * 
* * float secondaryPoints = 15; * @return The secondaryPoints. */ float getSecondaryPoints(); /** *
     * Tier points can be set for programs that award tiers based on dedicated tier points. Tier points indicates the current amount of tier points someone has, and can be used by a member to check how many more tier points are required to switch to the next tier.
     * 
* * uint32 tierPoints = 16; * @return The tierPoints. */ int getTierPoints(); /** *
     * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 18; * @return Whether the expiryDate field is set. */ boolean hasExpiryDate(); /** *
     * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 18; * @return The expiryDate. */ com.google.protobuf.Timestamp getExpiryDate(); /** *
     * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 18; */ com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder(); /** *
     * Member status.
     * 
* * .members.MemberStatus status = 19; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** *
     * Member status.
     * 
* * .members.MemberStatus status = 19; * @return The status. */ com.passkit.grpc.Members.MemberOuterClass.MemberStatus getStatus(); /** *
     * Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 20; * @return Whether the passOverrides field is set. */ boolean hasPassOverrides(); /** *
     * Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 20; * @return The passOverrides. */ com.passkit.grpc.PassOuterClass.PassOverrides getPassOverrides(); /** *
     * Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 20; */ com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder getPassOverridesOrBuilder(); /** *
     * Pass Metadata.
     * 
* * .io.Metadata passMetaData = 21; * @return Whether the passMetaData field is set. */ boolean hasPassMetaData(); /** *
     * Pass Metadata.
     * 
* * .io.Metadata passMetaData = 21; * @return The passMetaData. */ com.passkit.grpc.MetricsOuterClass.Metadata getPassMetaData(); /** *
     * Pass Metadata.
     * 
* * .io.Metadata passMetaData = 21; */ com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder getPassMetaDataOrBuilder(); /** *
     * placeholder for notes.
     * 
* * repeated .io.Note notes = 26; */ java.util.List getNotesList(); /** *
     * placeholder for notes.
     * 
* * repeated .io.Note notes = 26; */ com.passkit.grpc.NoteOuterClass.Note getNotes(int index); /** *
     * placeholder for notes.
     * 
* * repeated .io.Note notes = 26; */ int getNotesCount(); /** *
     * placeholder for notes.
     * 
* * repeated .io.Note notes = 26; */ java.util.List getNotesOrBuilderList(); /** *
     * placeholder for notes.
     * 
* * repeated .io.Note notes = 26; */ com.passkit.grpc.NoteOuterClass.NoteOrBuilder getNotesOrBuilder( int index); /** *
     * The date the current tier was awarded.
     * 
* * .google.protobuf.Timestamp currentTierAwarded = 27; * @return Whether the currentTierAwarded field is set. */ boolean hasCurrentTierAwarded(); /** *
     * The date the current tier was awarded.
     * 
* * .google.protobuf.Timestamp currentTierAwarded = 27; * @return The currentTierAwarded. */ com.google.protobuf.Timestamp getCurrentTierAwarded(); /** *
     * The date the current tier was awarded.
     * 
* * .google.protobuf.Timestamp currentTierAwarded = 27; */ com.google.protobuf.TimestampOrBuilder getCurrentTierAwardedOrBuilder(); /** *
     * The date the current tier expires.
     * 
* * .google.protobuf.Timestamp currentTierExpires = 28; * @return Whether the currentTierExpires field is set. */ boolean hasCurrentTierExpires(); /** *
     * The date the current tier expires.
     * 
* * .google.protobuf.Timestamp currentTierExpires = 28; * @return The currentTierExpires. */ com.google.protobuf.Timestamp getCurrentTierExpires(); /** *
     * The date the current tier expires.
     * 
* * .google.protobuf.Timestamp currentTierExpires = 28; */ com.google.protobuf.TimestampOrBuilder getCurrentTierExpiresOrBuilder(); /** *
     * The date the member was created in the PassKit system.
     * 
* * .google.protobuf.Timestamp created = 29; * @return Whether the created field is set. */ boolean hasCreated(); /** *
     * The date the member was created in the PassKit system.
     * 
* * .google.protobuf.Timestamp created = 29; * @return The created. */ com.google.protobuf.Timestamp getCreated(); /** *
     * The date the member was created in the PassKit system.
     * 
* * .google.protobuf.Timestamp created = 29; */ com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder(); /** *
     * The date the member was last updated in the PassKit system.
     * 
* * .google.protobuf.Timestamp updated = 30; * @return Whether the updated field is set. */ boolean hasUpdated(); /** *
     * The date the member was last updated in the PassKit system.
     * 
* * .google.protobuf.Timestamp updated = 30; * @return The updated. */ com.google.protobuf.Timestamp getUpdated(); /** *
     * The date the member was last updated in the PassKit system.
     * 
* * .google.protobuf.Timestamp updated = 30; */ com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder(); /** *
     * Optional field that holds the member profile image. Can either be an image URL or base64 image string.
     * 
* * string profileImage = 31; * @return The profileImage. */ java.lang.String getProfileImage(); /** *
     * Optional field that holds the member profile image. Can either be an image URL or base64 image string.
     * 
* * string profileImage = 31; * @return The bytes for profileImage. */ com.google.protobuf.ByteString getProfileImageBytes(); } /** *
   * The member record
   * 
* * Protobuf type {@code members.Member} */ public static final class Member extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:members.Member) MemberOrBuilder { private static final long serialVersionUID = 0L; // Use Member.newBuilder() to construct. private Member(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Member() { id_ = ""; externalId_ = ""; groupingIdentifier_ = ""; tierId_ = ""; programId_ = ""; status_ = 0; notes_ = java.util.Collections.emptyList(); profileImage_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Member(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Member( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); id_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); 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; } case 58: { 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 104: { optOut_ = input.readBool(); break; } case 117: { points_ = input.readFloat(); break; } case 125: { secondaryPoints_ = input.readFloat(); break; } case 128: { tierPoints_ = input.readUInt32(); break; } case 146: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (expiryDate_ != null) { subBuilder = expiryDate_.toBuilder(); } expiryDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(expiryDate_); expiryDate_ = subBuilder.buildPartial(); } break; } case 152: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 162: { com.passkit.grpc.PassOuterClass.PassOverrides.Builder subBuilder = null; if (passOverrides_ != null) { subBuilder = passOverrides_.toBuilder(); } passOverrides_ = input.readMessage(com.passkit.grpc.PassOuterClass.PassOverrides.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(passOverrides_); passOverrides_ = subBuilder.buildPartial(); } break; } case 170: { com.passkit.grpc.MetricsOuterClass.Metadata.Builder subBuilder = null; if (passMetaData_ != null) { subBuilder = passMetaData_.toBuilder(); } passMetaData_ = input.readMessage(com.passkit.grpc.MetricsOuterClass.Metadata.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(passMetaData_); passMetaData_ = subBuilder.buildPartial(); } break; } case 210: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { notes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } notes_.add( input.readMessage(com.passkit.grpc.NoteOuterClass.Note.parser(), extensionRegistry)); break; } case 218: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (currentTierAwarded_ != null) { subBuilder = currentTierAwarded_.toBuilder(); } currentTierAwarded_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(currentTierAwarded_); currentTierAwarded_ = subBuilder.buildPartial(); } break; } case 226: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (currentTierExpires_ != null) { subBuilder = currentTierExpires_.toBuilder(); } currentTierExpires_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(currentTierExpires_); currentTierExpires_ = subBuilder.buildPartial(); } break; } case 234: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (created_ != null) { subBuilder = created_.toBuilder(); } created_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(created_); created_ = subBuilder.buildPartial(); } break; } case 242: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (updated_ != null) { subBuilder = updated_.toBuilder(); } updated_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(updated_); updated_ = subBuilder.buildPartial(); } break; } case 250: { java.lang.String s = input.readStringRequireUtf8(); profileImage_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { notes_ = java.util.Collections.unmodifiableList(notes_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_Member_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 7: 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.MemberOuterClass.internal_static_members_Member_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.Member.class, com.passkit.grpc.Members.MemberOuterClass.Member.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(); } public static final int METADATA_FIELD_NUMBER = 7; 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.MemberOuterClass.internal_static_members_Member_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 other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
     * 
* * map<string, string> metaData = 7; */ @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 other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
     * 
* * map<string, string> metaData = 7; */ @java.lang.Override public java.util.Map getMetaDataMap() { return internalGetMetaData().getMap(); } /** *
     * Any other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
     * 
* * map<string, string> metaData = 7; */ @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 other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
     * 
* * map<string, string> metaData = 7; */ @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 OPTOUT_FIELD_NUMBER = 13; private boolean optOut_; /** *
     * Indicates if the member opted out to receive marketing promotions (defaults to false).
     * 
* * bool optOut = 13; * @return The optOut. */ @java.lang.Override public boolean getOptOut() { return optOut_; } public static final int POINTS_FIELD_NUMBER = 14; private float points_; /** *
     * Points is formatted differently based on what is set on a program level. Program points.balance field can be set to: `int`, `double` or `money`.
     * 
* * float points = 14; * @return The points. */ @java.lang.Override public float getPoints() { return points_; } public static final int SECONDARYPOINTS_FIELD_NUMBER = 15; private float secondaryPoints_; /** *
     * Secondary Points is formatted differently based on what is set on a program level. Program secondaryPoints.balance field can be set to: `int`, `double` or `money`. Field can be utilised if your program tracks two points, i.e. loyalty point balance, and pre-paid cash balance.
     * 
* * float secondaryPoints = 15; * @return The secondaryPoints. */ @java.lang.Override public float getSecondaryPoints() { return secondaryPoints_; } public static final int TIERPOINTS_FIELD_NUMBER = 16; private int tierPoints_; /** *
     * Tier points can be set for programs that award tiers based on dedicated tier points. Tier points indicates the current amount of tier points someone has, and can be used by a member to check how many more tier points are required to switch to the next tier.
     * 
* * uint32 tierPoints = 16; * @return The tierPoints. */ @java.lang.Override public int getTierPoints() { return tierPoints_; } public static final int EXPIRYDATE_FIELD_NUMBER = 18; private com.google.protobuf.Timestamp expiryDate_; /** *
     * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 18; * @return Whether the expiryDate field is set. */ @java.lang.Override public boolean hasExpiryDate() { return expiryDate_ != null; } /** *
     * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 18; * @return The expiryDate. */ @java.lang.Override public com.google.protobuf.Timestamp getExpiryDate() { return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_; } /** *
     * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 18; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder() { return getExpiryDate(); } public static final int STATUS_FIELD_NUMBER = 19; private int status_; /** *
     * Member status.
     * 
* * .members.MemberStatus status = 19; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
     * Member status.
     * 
* * .members.MemberStatus status = 19; * @return The status. */ @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberStatus getStatus() { @SuppressWarnings("deprecation") com.passkit.grpc.Members.MemberOuterClass.MemberStatus result = com.passkit.grpc.Members.MemberOuterClass.MemberStatus.valueOf(status_); return result == null ? com.passkit.grpc.Members.MemberOuterClass.MemberStatus.UNRECOGNIZED : result; } public static final int PASSOVERRIDES_FIELD_NUMBER = 20; private com.passkit.grpc.PassOuterClass.PassOverrides passOverrides_; /** *
     * Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 20; * @return Whether the passOverrides field is set. */ @java.lang.Override public boolean hasPassOverrides() { return passOverrides_ != null; } /** *
     * Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 20; * @return The passOverrides. */ @java.lang.Override public com.passkit.grpc.PassOuterClass.PassOverrides getPassOverrides() { return passOverrides_ == null ? com.passkit.grpc.PassOuterClass.PassOverrides.getDefaultInstance() : passOverrides_; } /** *
     * Pass level overrides for proximity & images.
     * 
* * .io.PassOverrides passOverrides = 20; */ @java.lang.Override public com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder getPassOverridesOrBuilder() { return getPassOverrides(); } public static final int PASSMETADATA_FIELD_NUMBER = 21; private com.passkit.grpc.MetricsOuterClass.Metadata passMetaData_; /** *
     * Pass Metadata.
     * 
* * .io.Metadata passMetaData = 21; * @return Whether the passMetaData field is set. */ @java.lang.Override public boolean hasPassMetaData() { return passMetaData_ != null; } /** *
     * Pass Metadata.
     * 
* * .io.Metadata passMetaData = 21; * @return The passMetaData. */ @java.lang.Override public com.passkit.grpc.MetricsOuterClass.Metadata getPassMetaData() { return passMetaData_ == null ? com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance() : passMetaData_; } /** *
     * Pass Metadata.
     * 
* * .io.Metadata passMetaData = 21; */ @java.lang.Override public com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder getPassMetaDataOrBuilder() { return getPassMetaData(); } public static final int NOTES_FIELD_NUMBER = 26; private java.util.List notes_; /** *
     * placeholder for notes.
     * 
* * repeated .io.Note notes = 26; */ @java.lang.Override public java.util.List getNotesList() { return notes_; } /** *
     * placeholder for notes.
     * 
* * repeated .io.Note notes = 26; */ @java.lang.Override public java.util.List getNotesOrBuilderList() { return notes_; } /** *
     * placeholder for notes.
     * 
* * repeated .io.Note notes = 26; */ @java.lang.Override public int getNotesCount() { return notes_.size(); } /** *
     * placeholder for notes.
     * 
* * repeated .io.Note notes = 26; */ @java.lang.Override public com.passkit.grpc.NoteOuterClass.Note getNotes(int index) { return notes_.get(index); } /** *
     * placeholder for notes.
     * 
* * repeated .io.Note notes = 26; */ @java.lang.Override public com.passkit.grpc.NoteOuterClass.NoteOrBuilder getNotesOrBuilder( int index) { return notes_.get(index); } public static final int CURRENTTIERAWARDED_FIELD_NUMBER = 27; private com.google.protobuf.Timestamp currentTierAwarded_; /** *
     * The date the current tier was awarded.
     * 
* * .google.protobuf.Timestamp currentTierAwarded = 27; * @return Whether the currentTierAwarded field is set. */ @java.lang.Override public boolean hasCurrentTierAwarded() { return currentTierAwarded_ != null; } /** *
     * The date the current tier was awarded.
     * 
* * .google.protobuf.Timestamp currentTierAwarded = 27; * @return The currentTierAwarded. */ @java.lang.Override public com.google.protobuf.Timestamp getCurrentTierAwarded() { return currentTierAwarded_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : currentTierAwarded_; } /** *
     * The date the current tier was awarded.
     * 
* * .google.protobuf.Timestamp currentTierAwarded = 27; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCurrentTierAwardedOrBuilder() { return getCurrentTierAwarded(); } public static final int CURRENTTIEREXPIRES_FIELD_NUMBER = 28; private com.google.protobuf.Timestamp currentTierExpires_; /** *
     * The date the current tier expires.
     * 
* * .google.protobuf.Timestamp currentTierExpires = 28; * @return Whether the currentTierExpires field is set. */ @java.lang.Override public boolean hasCurrentTierExpires() { return currentTierExpires_ != null; } /** *
     * The date the current tier expires.
     * 
* * .google.protobuf.Timestamp currentTierExpires = 28; * @return The currentTierExpires. */ @java.lang.Override public com.google.protobuf.Timestamp getCurrentTierExpires() { return currentTierExpires_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : currentTierExpires_; } /** *
     * The date the current tier expires.
     * 
* * .google.protobuf.Timestamp currentTierExpires = 28; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCurrentTierExpiresOrBuilder() { return getCurrentTierExpires(); } public static final int CREATED_FIELD_NUMBER = 29; private com.google.protobuf.Timestamp created_; /** *
     * The date the member was created in the PassKit system.
     * 
* * .google.protobuf.Timestamp created = 29; * @return Whether the created field is set. */ @java.lang.Override public boolean hasCreated() { return created_ != null; } /** *
     * The date the member was created in the PassKit system.
     * 
* * .google.protobuf.Timestamp created = 29; * @return The created. */ @java.lang.Override public com.google.protobuf.Timestamp getCreated() { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } /** *
     * The date the member was created in the PassKit system.
     * 
* * .google.protobuf.Timestamp created = 29; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() { return getCreated(); } public static final int UPDATED_FIELD_NUMBER = 30; private com.google.protobuf.Timestamp updated_; /** *
     * The date the member was last updated in the PassKit system.
     * 
* * .google.protobuf.Timestamp updated = 30; * @return Whether the updated field is set. */ @java.lang.Override public boolean hasUpdated() { return updated_ != null; } /** *
     * The date the member was last updated in the PassKit system.
     * 
* * .google.protobuf.Timestamp updated = 30; * @return The updated. */ @java.lang.Override public com.google.protobuf.Timestamp getUpdated() { return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_; } /** *
     * The date the member was last updated in the PassKit system.
     * 
* * .google.protobuf.Timestamp updated = 30; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder() { return getUpdated(); } public static final int PROFILEIMAGE_FIELD_NUMBER = 31; private volatile java.lang.Object profileImage_; /** *
     * Optional field that holds the member profile image. Can either be an image URL or base64 image string.
     * 
* * string profileImage = 31; * @return The profileImage. */ @java.lang.Override public java.lang.String getProfileImage() { java.lang.Object ref = profileImage_; 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(); profileImage_ = s; return s; } } /** *
     * Optional field that holds the member profile image. Can either be an image URL or base64 image string.
     * 
* * string profileImage = 31; * @return The bytes for profileImage. */ @java.lang.Override public com.google.protobuf.ByteString getProfileImageBytes() { java.lang.Object ref = profileImage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); profileImage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!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()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetaData(), MetaDataDefaultEntryHolder.defaultEntry, 7); if (optOut_ != false) { output.writeBool(13, optOut_); } if (points_ != 0F) { output.writeFloat(14, points_); } if (secondaryPoints_ != 0F) { output.writeFloat(15, secondaryPoints_); } if (tierPoints_ != 0) { output.writeUInt32(16, tierPoints_); } if (expiryDate_ != null) { output.writeMessage(18, getExpiryDate()); } if (status_ != com.passkit.grpc.Members.MemberOuterClass.MemberStatus.ENROLLED.getNumber()) { output.writeEnum(19, status_); } if (passOverrides_ != null) { output.writeMessage(20, getPassOverrides()); } if (passMetaData_ != null) { output.writeMessage(21, getPassMetaData()); } for (int i = 0; i < notes_.size(); i++) { output.writeMessage(26, notes_.get(i)); } if (currentTierAwarded_ != null) { output.writeMessage(27, getCurrentTierAwarded()); } if (currentTierExpires_ != null) { output.writeMessage(28, getCurrentTierExpires()); } if (created_ != null) { output.writeMessage(29, getCreated()); } if (updated_ != null) { output.writeMessage(30, getUpdated()); } if (!getProfileImageBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 31, profileImage_); } 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()); } 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(7, metaData__); } if (optOut_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(13, optOut_); } if (points_ != 0F) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(14, points_); } if (secondaryPoints_ != 0F) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(15, secondaryPoints_); } if (tierPoints_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(16, tierPoints_); } if (expiryDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, getExpiryDate()); } if (status_ != com.passkit.grpc.Members.MemberOuterClass.MemberStatus.ENROLLED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(19, status_); } if (passOverrides_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, getPassOverrides()); } if (passMetaData_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, getPassMetaData()); } for (int i = 0; i < notes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(26, notes_.get(i)); } if (currentTierAwarded_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(27, getCurrentTierAwarded()); } if (currentTierExpires_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(28, getCurrentTierExpires()); } if (created_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(29, getCreated()); } if (updated_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(30, getUpdated()); } if (!getProfileImageBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, profileImage_); } 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.MemberOuterClass.Member)) { return super.equals(obj); } com.passkit.grpc.Members.MemberOuterClass.Member other = (com.passkit.grpc.Members.MemberOuterClass.Member) 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 (!internalGetMetaData().equals( other.internalGetMetaData())) return false; if (getOptOut() != other.getOptOut()) return false; if (java.lang.Float.floatToIntBits(getPoints()) != java.lang.Float.floatToIntBits( other.getPoints())) return false; if (java.lang.Float.floatToIntBits(getSecondaryPoints()) != java.lang.Float.floatToIntBits( other.getSecondaryPoints())) return false; if (getTierPoints() != other.getTierPoints()) return false; if (hasExpiryDate() != other.hasExpiryDate()) return false; if (hasExpiryDate()) { if (!getExpiryDate() .equals(other.getExpiryDate())) return false; } if (status_ != other.status_) return false; if (hasPassOverrides() != other.hasPassOverrides()) return false; if (hasPassOverrides()) { if (!getPassOverrides() .equals(other.getPassOverrides())) return false; } if (hasPassMetaData() != other.hasPassMetaData()) return false; if (hasPassMetaData()) { if (!getPassMetaData() .equals(other.getPassMetaData())) return false; } if (!getNotesList() .equals(other.getNotesList())) return false; if (hasCurrentTierAwarded() != other.hasCurrentTierAwarded()) return false; if (hasCurrentTierAwarded()) { if (!getCurrentTierAwarded() .equals(other.getCurrentTierAwarded())) return false; } if (hasCurrentTierExpires() != other.hasCurrentTierExpires()) return false; if (hasCurrentTierExpires()) { if (!getCurrentTierExpires() .equals(other.getCurrentTierExpires())) return false; } if (hasCreated() != other.hasCreated()) return false; if (hasCreated()) { if (!getCreated() .equals(other.getCreated())) return false; } if (hasUpdated() != other.hasUpdated()) return false; if (hasUpdated()) { if (!getUpdated() .equals(other.getUpdated())) return false; } if (!getProfileImage() .equals(other.getProfileImage())) 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(); } if (!internalGetMetaData().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetaData().hashCode(); } hash = (37 * hash) + OPTOUT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOptOut()); hash = (37 * hash) + POINTS_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getPoints()); hash = (37 * hash) + SECONDARYPOINTS_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getSecondaryPoints()); hash = (37 * hash) + TIERPOINTS_FIELD_NUMBER; hash = (53 * hash) + getTierPoints(); if (hasExpiryDate()) { hash = (37 * hash) + EXPIRYDATE_FIELD_NUMBER; hash = (53 * hash) + getExpiryDate().hashCode(); } hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; if (hasPassOverrides()) { hash = (37 * hash) + PASSOVERRIDES_FIELD_NUMBER; hash = (53 * hash) + getPassOverrides().hashCode(); } if (hasPassMetaData()) { hash = (37 * hash) + PASSMETADATA_FIELD_NUMBER; hash = (53 * hash) + getPassMetaData().hashCode(); } if (getNotesCount() > 0) { hash = (37 * hash) + NOTES_FIELD_NUMBER; hash = (53 * hash) + getNotesList().hashCode(); } if (hasCurrentTierAwarded()) { hash = (37 * hash) + CURRENTTIERAWARDED_FIELD_NUMBER; hash = (53 * hash) + getCurrentTierAwarded().hashCode(); } if (hasCurrentTierExpires()) { hash = (37 * hash) + CURRENTTIEREXPIRES_FIELD_NUMBER; hash = (53 * hash) + getCurrentTierExpires().hashCode(); } if (hasCreated()) { hash = (37 * hash) + CREATED_FIELD_NUMBER; hash = (53 * hash) + getCreated().hashCode(); } if (hasUpdated()) { hash = (37 * hash) + UPDATED_FIELD_NUMBER; hash = (53 * hash) + getUpdated().hashCode(); } hash = (37 * hash) + PROFILEIMAGE_FIELD_NUMBER; hash = (53 * hash) + getProfileImage().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Members.MemberOuterClass.Member parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.Member 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.MemberOuterClass.Member parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.Member 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.MemberOuterClass.Member parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.Member parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Members.MemberOuterClass.Member parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.Member 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.MemberOuterClass.Member parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.Member 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.MemberOuterClass.Member parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.Member 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.MemberOuterClass.Member 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 record
     * 
* * Protobuf type {@code members.Member} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:members.Member) com.passkit.grpc.Members.MemberOuterClass.MemberOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_Member_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 7: return internalGetMetaData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 7: 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.MemberOuterClass.internal_static_members_Member_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.Member.class, com.passkit.grpc.Members.MemberOuterClass.Member.Builder.class); } // Construct using com.passkit.grpc.Members.MemberOuterClass.Member.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getNotesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); id_ = ""; externalId_ = ""; groupingIdentifier_ = ""; tierId_ = ""; programId_ = ""; if (personBuilder_ == null) { person_ = null; } else { person_ = null; personBuilder_ = null; } internalGetMutableMetaData().clear(); optOut_ = false; points_ = 0F; secondaryPoints_ = 0F; tierPoints_ = 0; if (expiryDateBuilder_ == null) { expiryDate_ = null; } else { expiryDate_ = null; expiryDateBuilder_ = null; } status_ = 0; if (passOverridesBuilder_ == null) { passOverrides_ = null; } else { passOverrides_ = null; passOverridesBuilder_ = null; } if (passMetaDataBuilder_ == null) { passMetaData_ = null; } else { passMetaData_ = null; passMetaDataBuilder_ = null; } if (notesBuilder_ == null) { notes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { notesBuilder_.clear(); } if (currentTierAwardedBuilder_ == null) { currentTierAwarded_ = null; } else { currentTierAwarded_ = null; currentTierAwardedBuilder_ = null; } if (currentTierExpiresBuilder_ == null) { currentTierExpires_ = null; } else { currentTierExpires_ = null; currentTierExpiresBuilder_ = null; } if (createdBuilder_ == null) { created_ = null; } else { created_ = null; createdBuilder_ = null; } if (updatedBuilder_ == null) { updated_ = null; } else { updated_ = null; updatedBuilder_ = null; } profileImage_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_Member_descriptor; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.Member getDefaultInstanceForType() { return com.passkit.grpc.Members.MemberOuterClass.Member.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.Member build() { com.passkit.grpc.Members.MemberOuterClass.Member result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.Member buildPartial() { com.passkit.grpc.Members.MemberOuterClass.Member result = new com.passkit.grpc.Members.MemberOuterClass.Member(this); int from_bitField0_ = bitField0_; 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(); } result.metaData_ = internalGetMetaData(); result.metaData_.makeImmutable(); result.optOut_ = optOut_; result.points_ = points_; result.secondaryPoints_ = secondaryPoints_; result.tierPoints_ = tierPoints_; if (expiryDateBuilder_ == null) { result.expiryDate_ = expiryDate_; } else { result.expiryDate_ = expiryDateBuilder_.build(); } result.status_ = status_; if (passOverridesBuilder_ == null) { result.passOverrides_ = passOverrides_; } else { result.passOverrides_ = passOverridesBuilder_.build(); } if (passMetaDataBuilder_ == null) { result.passMetaData_ = passMetaData_; } else { result.passMetaData_ = passMetaDataBuilder_.build(); } if (notesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { notes_ = java.util.Collections.unmodifiableList(notes_); bitField0_ = (bitField0_ & ~0x00000002); } result.notes_ = notes_; } else { result.notes_ = notesBuilder_.build(); } if (currentTierAwardedBuilder_ == null) { result.currentTierAwarded_ = currentTierAwarded_; } else { result.currentTierAwarded_ = currentTierAwardedBuilder_.build(); } if (currentTierExpiresBuilder_ == null) { result.currentTierExpires_ = currentTierExpires_; } else { result.currentTierExpires_ = currentTierExpiresBuilder_.build(); } if (createdBuilder_ == null) { result.created_ = created_; } else { result.created_ = createdBuilder_.build(); } if (updatedBuilder_ == null) { result.updated_ = updated_; } else { result.updated_ = updatedBuilder_.build(); } result.profileImage_ = profileImage_; 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.MemberOuterClass.Member) { return mergeFrom((com.passkit.grpc.Members.MemberOuterClass.Member)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Members.MemberOuterClass.Member other) { if (other == com.passkit.grpc.Members.MemberOuterClass.Member.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()); } internalGetMutableMetaData().mergeFrom( other.internalGetMetaData()); if (other.getOptOut() != false) { setOptOut(other.getOptOut()); } if (other.getPoints() != 0F) { setPoints(other.getPoints()); } if (other.getSecondaryPoints() != 0F) { setSecondaryPoints(other.getSecondaryPoints()); } if (other.getTierPoints() != 0) { setTierPoints(other.getTierPoints()); } if (other.hasExpiryDate()) { mergeExpiryDate(other.getExpiryDate()); } if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (other.hasPassOverrides()) { mergePassOverrides(other.getPassOverrides()); } if (other.hasPassMetaData()) { mergePassMetaData(other.getPassMetaData()); } if (notesBuilder_ == null) { if (!other.notes_.isEmpty()) { if (notes_.isEmpty()) { notes_ = other.notes_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureNotesIsMutable(); notes_.addAll(other.notes_); } onChanged(); } } else { if (!other.notes_.isEmpty()) { if (notesBuilder_.isEmpty()) { notesBuilder_.dispose(); notesBuilder_ = null; notes_ = other.notes_; bitField0_ = (bitField0_ & ~0x00000002); notesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getNotesFieldBuilder() : null; } else { notesBuilder_.addAllMessages(other.notes_); } } } if (other.hasCurrentTierAwarded()) { mergeCurrentTierAwarded(other.getCurrentTierAwarded()); } if (other.hasCurrentTierExpires()) { mergeCurrentTierExpires(other.getCurrentTierExpires()); } if (other.hasCreated()) { mergeCreated(other.getCreated()); } if (other.hasUpdated()) { mergeUpdated(other.getUpdated()); } if (!other.getProfileImage().isEmpty()) { profileImage_ = other.profileImage_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.passkit.grpc.Members.MemberOuterClass.Member parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Members.MemberOuterClass.Member) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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_; } 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 other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
       * 
* * map<string, string> metaData = 7; */ @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 other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
       * 
* * map<string, string> metaData = 7; */ @java.lang.Override public java.util.Map getMetaDataMap() { return internalGetMetaData().getMap(); } /** *
       * Any other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
       * 
* * map<string, string> metaData = 7; */ @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 other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
       * 
* * map<string, string> metaData = 7; */ @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 other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
       * 
* * map<string, string> metaData = 7; */ 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 other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
       * 
* * map<string, string> metaData = 7; */ 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 other meta fields for the member that are not covered in the protocol (i.e. you might want to captures sign-up location, and favorite coffee, for segmenting later on).
       * 
* * map<string, string> metaData = 7; */ public Builder putAllMetaData( java.util.Map values) { internalGetMutableMetaData().getMutableMap() .putAll(values); return this; } private boolean optOut_ ; /** *
       * Indicates if the member opted out to receive marketing promotions (defaults to false).
       * 
* * bool optOut = 13; * @return The optOut. */ @java.lang.Override public boolean getOptOut() { return optOut_; } /** *
       * Indicates if the member opted out to receive marketing promotions (defaults to false).
       * 
* * bool optOut = 13; * @param value The optOut to set. * @return This builder for chaining. */ public Builder setOptOut(boolean value) { optOut_ = value; onChanged(); return this; } /** *
       * Indicates if the member opted out to receive marketing promotions (defaults to false).
       * 
* * bool optOut = 13; * @return This builder for chaining. */ public Builder clearOptOut() { optOut_ = false; onChanged(); return this; } private float points_ ; /** *
       * Points is formatted differently based on what is set on a program level. Program points.balance field can be set to: `int`, `double` or `money`.
       * 
* * float points = 14; * @return The points. */ @java.lang.Override public float getPoints() { return points_; } /** *
       * Points is formatted differently based on what is set on a program level. Program points.balance field can be set to: `int`, `double` or `money`.
       * 
* * float points = 14; * @param value The points to set. * @return This builder for chaining. */ public Builder setPoints(float value) { points_ = value; onChanged(); return this; } /** *
       * Points is formatted differently based on what is set on a program level. Program points.balance field can be set to: `int`, `double` or `money`.
       * 
* * float points = 14; * @return This builder for chaining. */ public Builder clearPoints() { points_ = 0F; onChanged(); return this; } private float secondaryPoints_ ; /** *
       * Secondary Points is formatted differently based on what is set on a program level. Program secondaryPoints.balance field can be set to: `int`, `double` or `money`. Field can be utilised if your program tracks two points, i.e. loyalty point balance, and pre-paid cash balance.
       * 
* * float secondaryPoints = 15; * @return The secondaryPoints. */ @java.lang.Override public float getSecondaryPoints() { return secondaryPoints_; } /** *
       * Secondary Points is formatted differently based on what is set on a program level. Program secondaryPoints.balance field can be set to: `int`, `double` or `money`. Field can be utilised if your program tracks two points, i.e. loyalty point balance, and pre-paid cash balance.
       * 
* * float secondaryPoints = 15; * @param value The secondaryPoints to set. * @return This builder for chaining. */ public Builder setSecondaryPoints(float value) { secondaryPoints_ = value; onChanged(); return this; } /** *
       * Secondary Points is formatted differently based on what is set on a program level. Program secondaryPoints.balance field can be set to: `int`, `double` or `money`. Field can be utilised if your program tracks two points, i.e. loyalty point balance, and pre-paid cash balance.
       * 
* * float secondaryPoints = 15; * @return This builder for chaining. */ public Builder clearSecondaryPoints() { secondaryPoints_ = 0F; onChanged(); return this; } private int tierPoints_ ; /** *
       * Tier points can be set for programs that award tiers based on dedicated tier points. Tier points indicates the current amount of tier points someone has, and can be used by a member to check how many more tier points are required to switch to the next tier.
       * 
* * uint32 tierPoints = 16; * @return The tierPoints. */ @java.lang.Override public int getTierPoints() { return tierPoints_; } /** *
       * Tier points can be set for programs that award tiers based on dedicated tier points. Tier points indicates the current amount of tier points someone has, and can be used by a member to check how many more tier points are required to switch to the next tier.
       * 
* * uint32 tierPoints = 16; * @param value The tierPoints to set. * @return This builder for chaining. */ public Builder setTierPoints(int value) { tierPoints_ = value; onChanged(); return this; } /** *
       * Tier points can be set for programs that award tiers based on dedicated tier points. Tier points indicates the current amount of tier points someone has, and can be used by a member to check how many more tier points are required to switch to the next tier.
       * 
* * uint32 tierPoints = 16; * @return This builder for chaining. */ public Builder clearTierPoints() { tierPoints_ = 0; onChanged(); return this; } private com.google.protobuf.Timestamp expiryDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiryDateBuilder_; /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 18; * @return Whether the expiryDate field is set. */ public boolean hasExpiryDate() { return expiryDateBuilder_ != null || expiryDate_ != null; } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 18; * @return The expiryDate. */ public com.google.protobuf.Timestamp getExpiryDate() { if (expiryDateBuilder_ == null) { return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_; } else { return expiryDateBuilder_.getMessage(); } } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 18; */ public Builder setExpiryDate(com.google.protobuf.Timestamp value) { if (expiryDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expiryDate_ = value; onChanged(); } else { expiryDateBuilder_.setMessage(value); } return this; } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 18; */ public Builder setExpiryDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (expiryDateBuilder_ == null) { expiryDate_ = builderForValue.build(); onChanged(); } else { expiryDateBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 18; */ public Builder mergeExpiryDate(com.google.protobuf.Timestamp value) { if (expiryDateBuilder_ == null) { if (expiryDate_ != null) { expiryDate_ = com.google.protobuf.Timestamp.newBuilder(expiryDate_).mergeFrom(value).buildPartial(); } else { expiryDate_ = value; } onChanged(); } else { expiryDateBuilder_.mergeFrom(value); } return this; } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 18; */ public Builder clearExpiryDate() { if (expiryDateBuilder_ == null) { expiryDate_ = null; onChanged(); } else { expiryDate_ = null; expiryDateBuilder_ = null; } return this; } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 18; */ public com.google.protobuf.Timestamp.Builder getExpiryDateBuilder() { onChanged(); return getExpiryDateFieldBuilder().getBuilder(); } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 18; */ public com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder() { if (expiryDateBuilder_ != null) { return expiryDateBuilder_.getMessageOrBuilder(); } else { return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_; } } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 18; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpiryDateFieldBuilder() { if (expiryDateBuilder_ == null) { expiryDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getExpiryDate(), getParentForChildren(), isClean()); expiryDate_ = null; } return expiryDateBuilder_; } private int status_ = 0; /** *
       * Member status.
       * 
* * .members.MemberStatus status = 19; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
       * Member status.
       * 
* * .members.MemberStatus status = 19; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /** *
       * Member status.
       * 
* * .members.MemberStatus status = 19; * @return The status. */ @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberStatus getStatus() { @SuppressWarnings("deprecation") com.passkit.grpc.Members.MemberOuterClass.MemberStatus result = com.passkit.grpc.Members.MemberOuterClass.MemberStatus.valueOf(status_); return result == null ? com.passkit.grpc.Members.MemberOuterClass.MemberStatus.UNRECOGNIZED : result; } /** *
       * Member status.
       * 
* * .members.MemberStatus status = 19; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(com.passkit.grpc.Members.MemberOuterClass.MemberStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** *
       * Member status.
       * 
* * .members.MemberStatus status = 19; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } private com.passkit.grpc.PassOuterClass.PassOverrides passOverrides_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PassOuterClass.PassOverrides, com.passkit.grpc.PassOuterClass.PassOverrides.Builder, com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder> passOverridesBuilder_; /** *
       * Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 20; * @return Whether the passOverrides field is set. */ public boolean hasPassOverrides() { return passOverridesBuilder_ != null || passOverrides_ != null; } /** *
       * Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 20; * @return The passOverrides. */ public com.passkit.grpc.PassOuterClass.PassOverrides getPassOverrides() { if (passOverridesBuilder_ == null) { return passOverrides_ == null ? com.passkit.grpc.PassOuterClass.PassOverrides.getDefaultInstance() : passOverrides_; } else { return passOverridesBuilder_.getMessage(); } } /** *
       * Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 20; */ public Builder setPassOverrides(com.passkit.grpc.PassOuterClass.PassOverrides value) { if (passOverridesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } passOverrides_ = value; onChanged(); } else { passOverridesBuilder_.setMessage(value); } return this; } /** *
       * Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 20; */ public Builder setPassOverrides( com.passkit.grpc.PassOuterClass.PassOverrides.Builder builderForValue) { if (passOverridesBuilder_ == null) { passOverrides_ = builderForValue.build(); onChanged(); } else { passOverridesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 20; */ public Builder mergePassOverrides(com.passkit.grpc.PassOuterClass.PassOverrides value) { if (passOverridesBuilder_ == null) { if (passOverrides_ != null) { passOverrides_ = com.passkit.grpc.PassOuterClass.PassOverrides.newBuilder(passOverrides_).mergeFrom(value).buildPartial(); } else { passOverrides_ = value; } onChanged(); } else { passOverridesBuilder_.mergeFrom(value); } return this; } /** *
       * Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 20; */ public Builder clearPassOverrides() { if (passOverridesBuilder_ == null) { passOverrides_ = null; onChanged(); } else { passOverrides_ = null; passOverridesBuilder_ = null; } return this; } /** *
       * Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 20; */ public com.passkit.grpc.PassOuterClass.PassOverrides.Builder getPassOverridesBuilder() { onChanged(); return getPassOverridesFieldBuilder().getBuilder(); } /** *
       * Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 20; */ public com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder getPassOverridesOrBuilder() { if (passOverridesBuilder_ != null) { return passOverridesBuilder_.getMessageOrBuilder(); } else { return passOverrides_ == null ? com.passkit.grpc.PassOuterClass.PassOverrides.getDefaultInstance() : passOverrides_; } } /** *
       * Pass level overrides for proximity & images.
       * 
* * .io.PassOverrides passOverrides = 20; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PassOuterClass.PassOverrides, com.passkit.grpc.PassOuterClass.PassOverrides.Builder, com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder> getPassOverridesFieldBuilder() { if (passOverridesBuilder_ == null) { passOverridesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PassOuterClass.PassOverrides, com.passkit.grpc.PassOuterClass.PassOverrides.Builder, com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder>( getPassOverrides(), getParentForChildren(), isClean()); passOverrides_ = null; } return passOverridesBuilder_; } private com.passkit.grpc.MetricsOuterClass.Metadata passMetaData_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.MetricsOuterClass.Metadata, com.passkit.grpc.MetricsOuterClass.Metadata.Builder, com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder> passMetaDataBuilder_; /** *
       * Pass Metadata.
       * 
* * .io.Metadata passMetaData = 21; * @return Whether the passMetaData field is set. */ public boolean hasPassMetaData() { return passMetaDataBuilder_ != null || passMetaData_ != null; } /** *
       * Pass Metadata.
       * 
* * .io.Metadata passMetaData = 21; * @return The passMetaData. */ public com.passkit.grpc.MetricsOuterClass.Metadata getPassMetaData() { if (passMetaDataBuilder_ == null) { return passMetaData_ == null ? com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance() : passMetaData_; } else { return passMetaDataBuilder_.getMessage(); } } /** *
       * Pass Metadata.
       * 
* * .io.Metadata passMetaData = 21; */ public Builder setPassMetaData(com.passkit.grpc.MetricsOuterClass.Metadata value) { if (passMetaDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } passMetaData_ = value; onChanged(); } else { passMetaDataBuilder_.setMessage(value); } return this; } /** *
       * Pass Metadata.
       * 
* * .io.Metadata passMetaData = 21; */ public Builder setPassMetaData( com.passkit.grpc.MetricsOuterClass.Metadata.Builder builderForValue) { if (passMetaDataBuilder_ == null) { passMetaData_ = builderForValue.build(); onChanged(); } else { passMetaDataBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Pass Metadata.
       * 
* * .io.Metadata passMetaData = 21; */ public Builder mergePassMetaData(com.passkit.grpc.MetricsOuterClass.Metadata value) { if (passMetaDataBuilder_ == null) { if (passMetaData_ != null) { passMetaData_ = com.passkit.grpc.MetricsOuterClass.Metadata.newBuilder(passMetaData_).mergeFrom(value).buildPartial(); } else { passMetaData_ = value; } onChanged(); } else { passMetaDataBuilder_.mergeFrom(value); } return this; } /** *
       * Pass Metadata.
       * 
* * .io.Metadata passMetaData = 21; */ public Builder clearPassMetaData() { if (passMetaDataBuilder_ == null) { passMetaData_ = null; onChanged(); } else { passMetaData_ = null; passMetaDataBuilder_ = null; } return this; } /** *
       * Pass Metadata.
       * 
* * .io.Metadata passMetaData = 21; */ public com.passkit.grpc.MetricsOuterClass.Metadata.Builder getPassMetaDataBuilder() { onChanged(); return getPassMetaDataFieldBuilder().getBuilder(); } /** *
       * Pass Metadata.
       * 
* * .io.Metadata passMetaData = 21; */ public com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder getPassMetaDataOrBuilder() { if (passMetaDataBuilder_ != null) { return passMetaDataBuilder_.getMessageOrBuilder(); } else { return passMetaData_ == null ? com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance() : passMetaData_; } } /** *
       * Pass Metadata.
       * 
* * .io.Metadata passMetaData = 21; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.MetricsOuterClass.Metadata, com.passkit.grpc.MetricsOuterClass.Metadata.Builder, com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder> getPassMetaDataFieldBuilder() { if (passMetaDataBuilder_ == null) { passMetaDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.MetricsOuterClass.Metadata, com.passkit.grpc.MetricsOuterClass.Metadata.Builder, com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder>( getPassMetaData(), getParentForChildren(), isClean()); passMetaData_ = null; } return passMetaDataBuilder_; } private java.util.List notes_ = java.util.Collections.emptyList(); private void ensureNotesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { notes_ = new java.util.ArrayList(notes_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.NoteOuterClass.Note, com.passkit.grpc.NoteOuterClass.Note.Builder, com.passkit.grpc.NoteOuterClass.NoteOrBuilder> notesBuilder_; /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public java.util.List getNotesList() { if (notesBuilder_ == null) { return java.util.Collections.unmodifiableList(notes_); } else { return notesBuilder_.getMessageList(); } } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public int getNotesCount() { if (notesBuilder_ == null) { return notes_.size(); } else { return notesBuilder_.getCount(); } } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public com.passkit.grpc.NoteOuterClass.Note getNotes(int index) { if (notesBuilder_ == null) { return notes_.get(index); } else { return notesBuilder_.getMessage(index); } } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public Builder setNotes( int index, com.passkit.grpc.NoteOuterClass.Note value) { if (notesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNotesIsMutable(); notes_.set(index, value); onChanged(); } else { notesBuilder_.setMessage(index, value); } return this; } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public Builder setNotes( int index, com.passkit.grpc.NoteOuterClass.Note.Builder builderForValue) { if (notesBuilder_ == null) { ensureNotesIsMutable(); notes_.set(index, builderForValue.build()); onChanged(); } else { notesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public Builder addNotes(com.passkit.grpc.NoteOuterClass.Note value) { if (notesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNotesIsMutable(); notes_.add(value); onChanged(); } else { notesBuilder_.addMessage(value); } return this; } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public Builder addNotes( int index, com.passkit.grpc.NoteOuterClass.Note value) { if (notesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNotesIsMutable(); notes_.add(index, value); onChanged(); } else { notesBuilder_.addMessage(index, value); } return this; } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public Builder addNotes( com.passkit.grpc.NoteOuterClass.Note.Builder builderForValue) { if (notesBuilder_ == null) { ensureNotesIsMutable(); notes_.add(builderForValue.build()); onChanged(); } else { notesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public Builder addNotes( int index, com.passkit.grpc.NoteOuterClass.Note.Builder builderForValue) { if (notesBuilder_ == null) { ensureNotesIsMutable(); notes_.add(index, builderForValue.build()); onChanged(); } else { notesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public Builder addAllNotes( java.lang.Iterable values) { if (notesBuilder_ == null) { ensureNotesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notes_); onChanged(); } else { notesBuilder_.addAllMessages(values); } return this; } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public Builder clearNotes() { if (notesBuilder_ == null) { notes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { notesBuilder_.clear(); } return this; } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public Builder removeNotes(int index) { if (notesBuilder_ == null) { ensureNotesIsMutable(); notes_.remove(index); onChanged(); } else { notesBuilder_.remove(index); } return this; } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public com.passkit.grpc.NoteOuterClass.Note.Builder getNotesBuilder( int index) { return getNotesFieldBuilder().getBuilder(index); } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public com.passkit.grpc.NoteOuterClass.NoteOrBuilder getNotesOrBuilder( int index) { if (notesBuilder_ == null) { return notes_.get(index); } else { return notesBuilder_.getMessageOrBuilder(index); } } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public java.util.List getNotesOrBuilderList() { if (notesBuilder_ != null) { return notesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(notes_); } } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public com.passkit.grpc.NoteOuterClass.Note.Builder addNotesBuilder() { return getNotesFieldBuilder().addBuilder( com.passkit.grpc.NoteOuterClass.Note.getDefaultInstance()); } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public com.passkit.grpc.NoteOuterClass.Note.Builder addNotesBuilder( int index) { return getNotesFieldBuilder().addBuilder( index, com.passkit.grpc.NoteOuterClass.Note.getDefaultInstance()); } /** *
       * placeholder for notes.
       * 
* * repeated .io.Note notes = 26; */ public java.util.List getNotesBuilderList() { return getNotesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.NoteOuterClass.Note, com.passkit.grpc.NoteOuterClass.Note.Builder, com.passkit.grpc.NoteOuterClass.NoteOrBuilder> getNotesFieldBuilder() { if (notesBuilder_ == null) { notesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.NoteOuterClass.Note, com.passkit.grpc.NoteOuterClass.Note.Builder, com.passkit.grpc.NoteOuterClass.NoteOrBuilder>( notes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); notes_ = null; } return notesBuilder_; } private com.google.protobuf.Timestamp currentTierAwarded_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> currentTierAwardedBuilder_; /** *
       * The date the current tier was awarded.
       * 
* * .google.protobuf.Timestamp currentTierAwarded = 27; * @return Whether the currentTierAwarded field is set. */ public boolean hasCurrentTierAwarded() { return currentTierAwardedBuilder_ != null || currentTierAwarded_ != null; } /** *
       * The date the current tier was awarded.
       * 
* * .google.protobuf.Timestamp currentTierAwarded = 27; * @return The currentTierAwarded. */ public com.google.protobuf.Timestamp getCurrentTierAwarded() { if (currentTierAwardedBuilder_ == null) { return currentTierAwarded_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : currentTierAwarded_; } else { return currentTierAwardedBuilder_.getMessage(); } } /** *
       * The date the current tier was awarded.
       * 
* * .google.protobuf.Timestamp currentTierAwarded = 27; */ public Builder setCurrentTierAwarded(com.google.protobuf.Timestamp value) { if (currentTierAwardedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } currentTierAwarded_ = value; onChanged(); } else { currentTierAwardedBuilder_.setMessage(value); } return this; } /** *
       * The date the current tier was awarded.
       * 
* * .google.protobuf.Timestamp currentTierAwarded = 27; */ public Builder setCurrentTierAwarded( com.google.protobuf.Timestamp.Builder builderForValue) { if (currentTierAwardedBuilder_ == null) { currentTierAwarded_ = builderForValue.build(); onChanged(); } else { currentTierAwardedBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the current tier was awarded.
       * 
* * .google.protobuf.Timestamp currentTierAwarded = 27; */ public Builder mergeCurrentTierAwarded(com.google.protobuf.Timestamp value) { if (currentTierAwardedBuilder_ == null) { if (currentTierAwarded_ != null) { currentTierAwarded_ = com.google.protobuf.Timestamp.newBuilder(currentTierAwarded_).mergeFrom(value).buildPartial(); } else { currentTierAwarded_ = value; } onChanged(); } else { currentTierAwardedBuilder_.mergeFrom(value); } return this; } /** *
       * The date the current tier was awarded.
       * 
* * .google.protobuf.Timestamp currentTierAwarded = 27; */ public Builder clearCurrentTierAwarded() { if (currentTierAwardedBuilder_ == null) { currentTierAwarded_ = null; onChanged(); } else { currentTierAwarded_ = null; currentTierAwardedBuilder_ = null; } return this; } /** *
       * The date the current tier was awarded.
       * 
* * .google.protobuf.Timestamp currentTierAwarded = 27; */ public com.google.protobuf.Timestamp.Builder getCurrentTierAwardedBuilder() { onChanged(); return getCurrentTierAwardedFieldBuilder().getBuilder(); } /** *
       * The date the current tier was awarded.
       * 
* * .google.protobuf.Timestamp currentTierAwarded = 27; */ public com.google.protobuf.TimestampOrBuilder getCurrentTierAwardedOrBuilder() { if (currentTierAwardedBuilder_ != null) { return currentTierAwardedBuilder_.getMessageOrBuilder(); } else { return currentTierAwarded_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : currentTierAwarded_; } } /** *
       * The date the current tier was awarded.
       * 
* * .google.protobuf.Timestamp currentTierAwarded = 27; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCurrentTierAwardedFieldBuilder() { if (currentTierAwardedBuilder_ == null) { currentTierAwardedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCurrentTierAwarded(), getParentForChildren(), isClean()); currentTierAwarded_ = null; } return currentTierAwardedBuilder_; } private com.google.protobuf.Timestamp currentTierExpires_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> currentTierExpiresBuilder_; /** *
       * The date the current tier expires.
       * 
* * .google.protobuf.Timestamp currentTierExpires = 28; * @return Whether the currentTierExpires field is set. */ public boolean hasCurrentTierExpires() { return currentTierExpiresBuilder_ != null || currentTierExpires_ != null; } /** *
       * The date the current tier expires.
       * 
* * .google.protobuf.Timestamp currentTierExpires = 28; * @return The currentTierExpires. */ public com.google.protobuf.Timestamp getCurrentTierExpires() { if (currentTierExpiresBuilder_ == null) { return currentTierExpires_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : currentTierExpires_; } else { return currentTierExpiresBuilder_.getMessage(); } } /** *
       * The date the current tier expires.
       * 
* * .google.protobuf.Timestamp currentTierExpires = 28; */ public Builder setCurrentTierExpires(com.google.protobuf.Timestamp value) { if (currentTierExpiresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } currentTierExpires_ = value; onChanged(); } else { currentTierExpiresBuilder_.setMessage(value); } return this; } /** *
       * The date the current tier expires.
       * 
* * .google.protobuf.Timestamp currentTierExpires = 28; */ public Builder setCurrentTierExpires( com.google.protobuf.Timestamp.Builder builderForValue) { if (currentTierExpiresBuilder_ == null) { currentTierExpires_ = builderForValue.build(); onChanged(); } else { currentTierExpiresBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the current tier expires.
       * 
* * .google.protobuf.Timestamp currentTierExpires = 28; */ public Builder mergeCurrentTierExpires(com.google.protobuf.Timestamp value) { if (currentTierExpiresBuilder_ == null) { if (currentTierExpires_ != null) { currentTierExpires_ = com.google.protobuf.Timestamp.newBuilder(currentTierExpires_).mergeFrom(value).buildPartial(); } else { currentTierExpires_ = value; } onChanged(); } else { currentTierExpiresBuilder_.mergeFrom(value); } return this; } /** *
       * The date the current tier expires.
       * 
* * .google.protobuf.Timestamp currentTierExpires = 28; */ public Builder clearCurrentTierExpires() { if (currentTierExpiresBuilder_ == null) { currentTierExpires_ = null; onChanged(); } else { currentTierExpires_ = null; currentTierExpiresBuilder_ = null; } return this; } /** *
       * The date the current tier expires.
       * 
* * .google.protobuf.Timestamp currentTierExpires = 28; */ public com.google.protobuf.Timestamp.Builder getCurrentTierExpiresBuilder() { onChanged(); return getCurrentTierExpiresFieldBuilder().getBuilder(); } /** *
       * The date the current tier expires.
       * 
* * .google.protobuf.Timestamp currentTierExpires = 28; */ public com.google.protobuf.TimestampOrBuilder getCurrentTierExpiresOrBuilder() { if (currentTierExpiresBuilder_ != null) { return currentTierExpiresBuilder_.getMessageOrBuilder(); } else { return currentTierExpires_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : currentTierExpires_; } } /** *
       * The date the current tier expires.
       * 
* * .google.protobuf.Timestamp currentTierExpires = 28; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCurrentTierExpiresFieldBuilder() { if (currentTierExpiresBuilder_ == null) { currentTierExpiresBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCurrentTierExpires(), getParentForChildren(), isClean()); currentTierExpires_ = null; } return currentTierExpiresBuilder_; } 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 member was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 29; * @return Whether the created field is set. */ public boolean hasCreated() { return createdBuilder_ != null || created_ != null; } /** *
       * The date the member was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 29; * @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 member was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 29; */ 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 member was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 29; */ 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 member was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 29; */ 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 member was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 29; */ public Builder clearCreated() { if (createdBuilder_ == null) { created_ = null; onChanged(); } else { created_ = null; createdBuilder_ = null; } return this; } /** *
       * The date the member was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 29; */ public com.google.protobuf.Timestamp.Builder getCreatedBuilder() { onChanged(); return getCreatedFieldBuilder().getBuilder(); } /** *
       * The date the member was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 29; */ 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 member was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 29; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreatedFieldBuilder() { if (createdBuilder_ == null) { createdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCreated(), getParentForChildren(), isClean()); created_ = null; } return createdBuilder_; } private com.google.protobuf.Timestamp updated_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedBuilder_; /** *
       * The date the member was last updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 30; * @return Whether the updated field is set. */ public boolean hasUpdated() { return updatedBuilder_ != null || updated_ != null; } /** *
       * The date the member was last updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 30; * @return The updated. */ public com.google.protobuf.Timestamp getUpdated() { if (updatedBuilder_ == null) { return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_; } else { return updatedBuilder_.getMessage(); } } /** *
       * The date the member was last updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 30; */ public Builder setUpdated(com.google.protobuf.Timestamp value) { if (updatedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } updated_ = value; onChanged(); } else { updatedBuilder_.setMessage(value); } return this; } /** *
       * The date the member was last updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 30; */ public Builder setUpdated( com.google.protobuf.Timestamp.Builder builderForValue) { if (updatedBuilder_ == null) { updated_ = builderForValue.build(); onChanged(); } else { updatedBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the member was last updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 30; */ public Builder mergeUpdated(com.google.protobuf.Timestamp value) { if (updatedBuilder_ == null) { if (updated_ != null) { updated_ = com.google.protobuf.Timestamp.newBuilder(updated_).mergeFrom(value).buildPartial(); } else { updated_ = value; } onChanged(); } else { updatedBuilder_.mergeFrom(value); } return this; } /** *
       * The date the member was last updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 30; */ public Builder clearUpdated() { if (updatedBuilder_ == null) { updated_ = null; onChanged(); } else { updated_ = null; updatedBuilder_ = null; } return this; } /** *
       * The date the member was last updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 30; */ public com.google.protobuf.Timestamp.Builder getUpdatedBuilder() { onChanged(); return getUpdatedFieldBuilder().getBuilder(); } /** *
       * The date the member was last updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 30; */ public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder() { if (updatedBuilder_ != null) { return updatedBuilder_.getMessageOrBuilder(); } else { return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_; } } /** *
       * The date the member was last updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 30; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdatedFieldBuilder() { if (updatedBuilder_ == null) { updatedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getUpdated(), getParentForChildren(), isClean()); updated_ = null; } return updatedBuilder_; } private java.lang.Object profileImage_ = ""; /** *
       * Optional field that holds the member profile image. Can either be an image URL or base64 image string.
       * 
* * string profileImage = 31; * @return The profileImage. */ public java.lang.String getProfileImage() { java.lang.Object ref = profileImage_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); profileImage_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional field that holds the member profile image. Can either be an image URL or base64 image string.
       * 
* * string profileImage = 31; * @return The bytes for profileImage. */ public com.google.protobuf.ByteString getProfileImageBytes() { java.lang.Object ref = profileImage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); profileImage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional field that holds the member profile image. Can either be an image URL or base64 image string.
       * 
* * string profileImage = 31; * @param value The profileImage to set. * @return This builder for chaining. */ public Builder setProfileImage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } profileImage_ = value; onChanged(); return this; } /** *
       * Optional field that holds the member profile image. Can either be an image URL or base64 image string.
       * 
* * string profileImage = 31; * @return This builder for chaining. */ public Builder clearProfileImage() { profileImage_ = getDefaultInstance().getProfileImage(); onChanged(); return this; } /** *
       * Optional field that holds the member profile image. Can either be an image URL or base64 image string.
       * 
* * string profileImage = 31; * @param value The bytes for profileImage to set. * @return This builder for chaining. */ public Builder setProfileImageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); profileImage_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:members.Member) } // @@protoc_insertion_point(class_scope:members.Member) private static final com.passkit.grpc.Members.MemberOuterClass.Member DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Members.MemberOuterClass.Member(); } public static com.passkit.grpc.Members.MemberOuterClass.Member getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Member parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Member(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.MemberOuterClass.Member getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MemberRecordByExternalIdRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:members.MemberRecordByExternalIdRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Program ID.
     * 
* * string programId = 1; * @return The programId. */ java.lang.String getProgramId(); /** *
     * Program ID.
     * 
* * string programId = 1; * @return The bytes for programId. */ com.google.protobuf.ByteString getProgramIdBytes(); /** *
     * External ID.
     * 
* * string externalId = 2; * @return The externalId. */ java.lang.String getExternalId(); /** *
     * External ID.
     * 
* * string externalId = 2; * @return The bytes for externalId. */ com.google.protobuf.ByteString getExternalIdBytes(); } /** *
   * Used to request a digital membership pass by PassKit ID.
   * 
* * Protobuf type {@code members.MemberRecordByExternalIdRequest} */ public static final class MemberRecordByExternalIdRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:members.MemberRecordByExternalIdRequest) MemberRecordByExternalIdRequestOrBuilder { private static final long serialVersionUID = 0L; // Use MemberRecordByExternalIdRequest.newBuilder() to construct. private MemberRecordByExternalIdRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MemberRecordByExternalIdRequest() { programId_ = ""; externalId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MemberRecordByExternalIdRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MemberRecordByExternalIdRequest( 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(); programId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); externalId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberRecordByExternalIdRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberRecordByExternalIdRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest.class, com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest.Builder.class); } public static final int PROGRAMID_FIELD_NUMBER = 1; private volatile java.lang.Object programId_; /** *
     * Program ID.
     * 
* * string programId = 1; * @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; } } /** *
     * Program ID.
     * 
* * string programId = 1; * @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 EXTERNALID_FIELD_NUMBER = 2; private volatile java.lang.Object externalId_; /** *
     * External ID.
     * 
* * 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; } } /** *
     * External ID.
     * 
* * 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; } } 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 (!getProgramIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, programId_); } if (!getExternalIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, externalId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getProgramIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, programId_); } if (!getExternalIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, externalId_); } 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.MemberOuterClass.MemberRecordByExternalIdRequest)) { return super.equals(obj); } com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest other = (com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest) obj; if (!getProgramId() .equals(other.getProgramId())) return false; if (!getExternalId() .equals(other.getExternalId())) 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) + PROGRAMID_FIELD_NUMBER; hash = (53 * hash) + getProgramId().hashCode(); hash = (37 * hash) + EXTERNALID_FIELD_NUMBER; hash = (53 * hash) + getExternalId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest 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.MemberOuterClass.MemberRecordByExternalIdRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest 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.MemberOuterClass.MemberRecordByExternalIdRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest 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.MemberOuterClass.MemberRecordByExternalIdRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest 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.MemberOuterClass.MemberRecordByExternalIdRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest 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.MemberOuterClass.MemberRecordByExternalIdRequest 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; } /** *
     * Used to request a digital membership pass by PassKit ID.
     * 
* * Protobuf type {@code members.MemberRecordByExternalIdRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:members.MemberRecordByExternalIdRequest) com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberRecordByExternalIdRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberRecordByExternalIdRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest.class, com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest.Builder.class); } // Construct using com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest.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(); programId_ = ""; externalId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberRecordByExternalIdRequest_descriptor; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest getDefaultInstanceForType() { return com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest build() { com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest buildPartial() { com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest result = new com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest(this); result.programId_ = programId_; result.externalId_ = externalId_; 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.MemberOuterClass.MemberRecordByExternalIdRequest) { return mergeFrom((com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest other) { if (other == com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest.getDefaultInstance()) return this; if (!other.getProgramId().isEmpty()) { programId_ = other.programId_; onChanged(); } if (!other.getExternalId().isEmpty()) { externalId_ = other.externalId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object programId_ = ""; /** *
       * Program ID.
       * 
* * string programId = 1; * @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; } } /** *
       * Program ID.
       * 
* * string programId = 1; * @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; } } /** *
       * Program ID.
       * 
* * string programId = 1; * @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; } /** *
       * Program ID.
       * 
* * string programId = 1; * @return This builder for chaining. */ public Builder clearProgramId() { programId_ = getDefaultInstance().getProgramId(); onChanged(); return this; } /** *
       * Program ID.
       * 
* * string programId = 1; * @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 java.lang.Object externalId_ = ""; /** *
       * External ID.
       * 
* * 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; } } /** *
       * External ID.
       * 
* * 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; } } /** *
       * External ID.
       * 
* * 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; } /** *
       * External ID.
       * 
* * string externalId = 2; * @return This builder for chaining. */ public Builder clearExternalId() { externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** *
       * External ID.
       * 
* * 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; } @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.MemberRecordByExternalIdRequest) } // @@protoc_insertion_point(class_scope:members.MemberRecordByExternalIdRequest) private static final com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest(); } public static com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MemberRecordByExternalIdRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MemberRecordByExternalIdRequest(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.MemberOuterClass.MemberRecordByExternalIdRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MemberSegmentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:members.MemberSegmentRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Optional filter object; defines the segment.
     * 
* * .io.Filter filter = 1; * @return Whether the filter field is set. */ boolean hasFilter(); /** *
     * Optional filter object; defines the segment.
     * 
* * .io.Filter filter = 1; * @return The filter. */ com.passkit.grpc.PaginationOuterClass.Filter getFilter(); /** *
     * Optional filter object; defines the segment.
     * 
* * .io.Filter filter = 1; */ com.passkit.grpc.PaginationOuterClass.FilterOrBuilder getFilterOrBuilder(); /** *
     * Contains fields to update (optional: if used in update context).
     * 
* * .members.Member newValues = 2; * @return Whether the newValues field is set. */ boolean hasNewValues(); /** *
     * Contains fields to update (optional: if used in update context).
     * 
* * .members.Member newValues = 2; * @return The newValues. */ com.passkit.grpc.Members.MemberOuterClass.Member getNewValues(); /** *
     * Contains fields to update (optional: if used in update context).
     * 
* * .members.Member newValues = 2; */ com.passkit.grpc.Members.MemberOuterClass.MemberOrBuilder getNewValuesOrBuilder(); } /** *
   * Member segment allows us to segment members for listing or updating
   * 
* * Protobuf type {@code members.MemberSegmentRequest} */ public static final class MemberSegmentRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:members.MemberSegmentRequest) MemberSegmentRequestOrBuilder { private static final long serialVersionUID = 0L; // Use MemberSegmentRequest.newBuilder() to construct. private MemberSegmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MemberSegmentRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MemberSegmentRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MemberSegmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.passkit.grpc.PaginationOuterClass.Filter.Builder subBuilder = null; if (filter_ != null) { subBuilder = filter_.toBuilder(); } filter_ = input.readMessage(com.passkit.grpc.PaginationOuterClass.Filter.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(filter_); filter_ = subBuilder.buildPartial(); } break; } case 18: { com.passkit.grpc.Members.MemberOuterClass.Member.Builder subBuilder = null; if (newValues_ != null) { subBuilder = newValues_.toBuilder(); } newValues_ = input.readMessage(com.passkit.grpc.Members.MemberOuterClass.Member.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(newValues_); newValues_ = 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.MemberOuterClass.internal_static_members_MemberSegmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberSegmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest.class, com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest.Builder.class); } public static final int FILTER_FIELD_NUMBER = 1; private com.passkit.grpc.PaginationOuterClass.Filter filter_; /** *
     * Optional filter object; defines the segment.
     * 
* * .io.Filter filter = 1; * @return Whether the filter field is set. */ @java.lang.Override public boolean hasFilter() { return filter_ != null; } /** *
     * Optional filter object; defines the segment.
     * 
* * .io.Filter filter = 1; * @return The filter. */ @java.lang.Override public com.passkit.grpc.PaginationOuterClass.Filter getFilter() { return filter_ == null ? com.passkit.grpc.PaginationOuterClass.Filter.getDefaultInstance() : filter_; } /** *
     * Optional filter object; defines the segment.
     * 
* * .io.Filter filter = 1; */ @java.lang.Override public com.passkit.grpc.PaginationOuterClass.FilterOrBuilder getFilterOrBuilder() { return getFilter(); } public static final int NEWVALUES_FIELD_NUMBER = 2; private com.passkit.grpc.Members.MemberOuterClass.Member newValues_; /** *
     * Contains fields to update (optional: if used in update context).
     * 
* * .members.Member newValues = 2; * @return Whether the newValues field is set. */ @java.lang.Override public boolean hasNewValues() { return newValues_ != null; } /** *
     * Contains fields to update (optional: if used in update context).
     * 
* * .members.Member newValues = 2; * @return The newValues. */ @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.Member getNewValues() { return newValues_ == null ? com.passkit.grpc.Members.MemberOuterClass.Member.getDefaultInstance() : newValues_; } /** *
     * Contains fields to update (optional: if used in update context).
     * 
* * .members.Member newValues = 2; */ @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberOrBuilder getNewValuesOrBuilder() { return getNewValues(); } 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 (filter_ != null) { output.writeMessage(1, getFilter()); } if (newValues_ != null) { output.writeMessage(2, getNewValues()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (filter_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getFilter()); } if (newValues_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getNewValues()); } 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.MemberOuterClass.MemberSegmentRequest)) { return super.equals(obj); } com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest other = (com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest) obj; if (hasFilter() != other.hasFilter()) return false; if (hasFilter()) { if (!getFilter() .equals(other.getFilter())) return false; } if (hasNewValues() != other.hasNewValues()) return false; if (hasNewValues()) { if (!getNewValues() .equals(other.getNewValues())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasFilter()) { hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); } if (hasNewValues()) { hash = (37 * hash) + NEWVALUES_FIELD_NUMBER; hash = (53 * hash) + getNewValues().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest 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.MemberOuterClass.MemberSegmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest 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.MemberOuterClass.MemberSegmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest 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.MemberOuterClass.MemberSegmentRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest 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.MemberOuterClass.MemberSegmentRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest 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.MemberOuterClass.MemberSegmentRequest 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; } /** *
     * Member segment allows us to segment members for listing or updating
     * 
* * Protobuf type {@code members.MemberSegmentRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:members.MemberSegmentRequest) com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberSegmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberSegmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest.class, com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest.Builder.class); } // Construct using com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (filterBuilder_ == null) { filter_ = null; } else { filter_ = null; filterBuilder_ = null; } if (newValuesBuilder_ == null) { newValues_ = null; } else { newValues_ = null; newValuesBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberSegmentRequest_descriptor; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest getDefaultInstanceForType() { return com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest build() { com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest buildPartial() { com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest result = new com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest(this); if (filterBuilder_ == null) { result.filter_ = filter_; } else { result.filter_ = filterBuilder_.build(); } if (newValuesBuilder_ == null) { result.newValues_ = newValues_; } else { result.newValues_ = newValuesBuilder_.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.MemberOuterClass.MemberSegmentRequest) { return mergeFrom((com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest other) { if (other == com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest.getDefaultInstance()) return this; if (other.hasFilter()) { mergeFilter(other.getFilter()); } if (other.hasNewValues()) { mergeNewValues(other.getNewValues()); } 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.MemberOuterClass.MemberSegmentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.passkit.grpc.PaginationOuterClass.Filter filter_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PaginationOuterClass.Filter, com.passkit.grpc.PaginationOuterClass.Filter.Builder, com.passkit.grpc.PaginationOuterClass.FilterOrBuilder> filterBuilder_; /** *
       * Optional filter object; defines the segment.
       * 
* * .io.Filter filter = 1; * @return Whether the filter field is set. */ public boolean hasFilter() { return filterBuilder_ != null || filter_ != null; } /** *
       * Optional filter object; defines the segment.
       * 
* * .io.Filter filter = 1; * @return The filter. */ public com.passkit.grpc.PaginationOuterClass.Filter getFilter() { if (filterBuilder_ == null) { return filter_ == null ? com.passkit.grpc.PaginationOuterClass.Filter.getDefaultInstance() : filter_; } else { return filterBuilder_.getMessage(); } } /** *
       * Optional filter object; defines the segment.
       * 
* * .io.Filter filter = 1; */ public Builder setFilter(com.passkit.grpc.PaginationOuterClass.Filter value) { if (filterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); } else { filterBuilder_.setMessage(value); } return this; } /** *
       * Optional filter object; defines the segment.
       * 
* * .io.Filter filter = 1; */ public Builder setFilter( com.passkit.grpc.PaginationOuterClass.Filter.Builder builderForValue) { if (filterBuilder_ == null) { filter_ = builderForValue.build(); onChanged(); } else { filterBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Optional filter object; defines the segment.
       * 
* * .io.Filter filter = 1; */ public Builder mergeFilter(com.passkit.grpc.PaginationOuterClass.Filter value) { if (filterBuilder_ == null) { if (filter_ != null) { filter_ = com.passkit.grpc.PaginationOuterClass.Filter.newBuilder(filter_).mergeFrom(value).buildPartial(); } else { filter_ = value; } onChanged(); } else { filterBuilder_.mergeFrom(value); } return this; } /** *
       * Optional filter object; defines the segment.
       * 
* * .io.Filter filter = 1; */ public Builder clearFilter() { if (filterBuilder_ == null) { filter_ = null; onChanged(); } else { filter_ = null; filterBuilder_ = null; } return this; } /** *
       * Optional filter object; defines the segment.
       * 
* * .io.Filter filter = 1; */ public com.passkit.grpc.PaginationOuterClass.Filter.Builder getFilterBuilder() { onChanged(); return getFilterFieldBuilder().getBuilder(); } /** *
       * Optional filter object; defines the segment.
       * 
* * .io.Filter filter = 1; */ public com.passkit.grpc.PaginationOuterClass.FilterOrBuilder getFilterOrBuilder() { if (filterBuilder_ != null) { return filterBuilder_.getMessageOrBuilder(); } else { return filter_ == null ? com.passkit.grpc.PaginationOuterClass.Filter.getDefaultInstance() : filter_; } } /** *
       * Optional filter object; defines the segment.
       * 
* * .io.Filter filter = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PaginationOuterClass.Filter, com.passkit.grpc.PaginationOuterClass.Filter.Builder, com.passkit.grpc.PaginationOuterClass.FilterOrBuilder> getFilterFieldBuilder() { if (filterBuilder_ == null) { filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PaginationOuterClass.Filter, com.passkit.grpc.PaginationOuterClass.Filter.Builder, com.passkit.grpc.PaginationOuterClass.FilterOrBuilder>( getFilter(), getParentForChildren(), isClean()); filter_ = null; } return filterBuilder_; } private com.passkit.grpc.Members.MemberOuterClass.Member newValues_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Members.MemberOuterClass.Member, com.passkit.grpc.Members.MemberOuterClass.Member.Builder, com.passkit.grpc.Members.MemberOuterClass.MemberOrBuilder> newValuesBuilder_; /** *
       * Contains fields to update (optional: if used in update context).
       * 
* * .members.Member newValues = 2; * @return Whether the newValues field is set. */ public boolean hasNewValues() { return newValuesBuilder_ != null || newValues_ != null; } /** *
       * Contains fields to update (optional: if used in update context).
       * 
* * .members.Member newValues = 2; * @return The newValues. */ public com.passkit.grpc.Members.MemberOuterClass.Member getNewValues() { if (newValuesBuilder_ == null) { return newValues_ == null ? com.passkit.grpc.Members.MemberOuterClass.Member.getDefaultInstance() : newValues_; } else { return newValuesBuilder_.getMessage(); } } /** *
       * Contains fields to update (optional: if used in update context).
       * 
* * .members.Member newValues = 2; */ public Builder setNewValues(com.passkit.grpc.Members.MemberOuterClass.Member value) { if (newValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } newValues_ = value; onChanged(); } else { newValuesBuilder_.setMessage(value); } return this; } /** *
       * Contains fields to update (optional: if used in update context).
       * 
* * .members.Member newValues = 2; */ public Builder setNewValues( com.passkit.grpc.Members.MemberOuterClass.Member.Builder builderForValue) { if (newValuesBuilder_ == null) { newValues_ = builderForValue.build(); onChanged(); } else { newValuesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Contains fields to update (optional: if used in update context).
       * 
* * .members.Member newValues = 2; */ public Builder mergeNewValues(com.passkit.grpc.Members.MemberOuterClass.Member value) { if (newValuesBuilder_ == null) { if (newValues_ != null) { newValues_ = com.passkit.grpc.Members.MemberOuterClass.Member.newBuilder(newValues_).mergeFrom(value).buildPartial(); } else { newValues_ = value; } onChanged(); } else { newValuesBuilder_.mergeFrom(value); } return this; } /** *
       * Contains fields to update (optional: if used in update context).
       * 
* * .members.Member newValues = 2; */ public Builder clearNewValues() { if (newValuesBuilder_ == null) { newValues_ = null; onChanged(); } else { newValues_ = null; newValuesBuilder_ = null; } return this; } /** *
       * Contains fields to update (optional: if used in update context).
       * 
* * .members.Member newValues = 2; */ public com.passkit.grpc.Members.MemberOuterClass.Member.Builder getNewValuesBuilder() { onChanged(); return getNewValuesFieldBuilder().getBuilder(); } /** *
       * Contains fields to update (optional: if used in update context).
       * 
* * .members.Member newValues = 2; */ public com.passkit.grpc.Members.MemberOuterClass.MemberOrBuilder getNewValuesOrBuilder() { if (newValuesBuilder_ != null) { return newValuesBuilder_.getMessageOrBuilder(); } else { return newValues_ == null ? com.passkit.grpc.Members.MemberOuterClass.Member.getDefaultInstance() : newValues_; } } /** *
       * Contains fields to update (optional: if used in update context).
       * 
* * .members.Member newValues = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Members.MemberOuterClass.Member, com.passkit.grpc.Members.MemberOuterClass.Member.Builder, com.passkit.grpc.Members.MemberOuterClass.MemberOrBuilder> getNewValuesFieldBuilder() { if (newValuesBuilder_ == null) { newValuesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Members.MemberOuterClass.Member, com.passkit.grpc.Members.MemberOuterClass.Member.Builder, com.passkit.grpc.Members.MemberOuterClass.MemberOrBuilder>( getNewValues(), getParentForChildren(), isClean()); newValues_ = null; } return newValuesBuilder_; } @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.MemberSegmentRequest) } // @@protoc_insertion_point(class_scope:members.MemberSegmentRequest) private static final com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest(); } public static com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MemberSegmentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MemberSegmentRequest(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.MemberOuterClass.MemberSegmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpdateExpiryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:members.UpdateExpiryRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Indicates the ID of the program.
     * 
* * string programId = 1; * @return The programId. */ java.lang.String getProgramId(); /** *
     * Indicates the ID of the program.
     * 
* * string programId = 1; * @return The bytes for programId. */ com.google.protobuf.ByteString getProgramIdBytes(); /** *
     * Indicates the ID of the tier.
     * 
* * string tierId = 2; * @return The tierId. */ java.lang.String getTierId(); /** *
     * Indicates the ID of the tier.
     * 
* * string tierId = 2; * @return The bytes for tierId. */ com.google.protobuf.ByteString getTierIdBytes(); /** *
     * Expiry date setting you want to apply for this update.
     * 
* * .io.ExpirySettings expirySettings = 3; * @return Whether the expirySettings field is set. */ boolean hasExpirySettings(); /** *
     * Expiry date setting you want to apply for this update.
     * 
* * .io.ExpirySettings expirySettings = 3; * @return The expirySettings. */ com.passkit.grpc.Expiry.ExpirySettings getExpirySettings(); /** *
     * Expiry date setting you want to apply for this update.
     * 
* * .io.ExpirySettings expirySettings = 3; */ com.passkit.grpc.Expiry.ExpirySettingsOrBuilder getExpirySettingsOrBuilder(); /** *
     * Timezone string in IANA timezone format applied for EXPIRE_ON_FIXED_DATE. If not provided Tier timezone is applied.
     * 
* * string timezone = 4; * @return The timezone. */ java.lang.String getTimezone(); /** *
     * Timezone string in IANA timezone format applied for EXPIRE_ON_FIXED_DATE. If not provided Tier timezone is applied.
     * 
* * string timezone = 4; * @return The bytes for timezone. */ com.google.protobuf.ByteString getTimezoneBytes(); } /** *
   * Used to set new expiry dates for all of active members in the tier.
   * 
* * Protobuf type {@code members.UpdateExpiryRequest} */ public static final class UpdateExpiryRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:members.UpdateExpiryRequest) UpdateExpiryRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateExpiryRequest.newBuilder() to construct. private UpdateExpiryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateExpiryRequest() { programId_ = ""; tierId_ = ""; timezone_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateExpiryRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpdateExpiryRequest( 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(); programId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); tierId_ = s; break; } case 26: { com.passkit.grpc.Expiry.ExpirySettings.Builder subBuilder = null; if (expirySettings_ != null) { subBuilder = expirySettings_.toBuilder(); } expirySettings_ = input.readMessage(com.passkit.grpc.Expiry.ExpirySettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(expirySettings_); expirySettings_ = subBuilder.buildPartial(); } break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); timezone_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_UpdateExpiryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_UpdateExpiryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest.class, com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest.Builder.class); } public static final int PROGRAMID_FIELD_NUMBER = 1; private volatile java.lang.Object programId_; /** *
     * Indicates the ID of the program.
     * 
* * string programId = 1; * @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.
     * 
* * string programId = 1; * @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 TIERID_FIELD_NUMBER = 2; private volatile java.lang.Object tierId_; /** *
     * Indicates the ID of the tier.
     * 
* * string tierId = 2; * @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.
     * 
* * string tierId = 2; * @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 EXPIRYSETTINGS_FIELD_NUMBER = 3; private com.passkit.grpc.Expiry.ExpirySettings expirySettings_; /** *
     * Expiry date setting you want to apply for this update.
     * 
* * .io.ExpirySettings expirySettings = 3; * @return Whether the expirySettings field is set. */ @java.lang.Override public boolean hasExpirySettings() { return expirySettings_ != null; } /** *
     * Expiry date setting you want to apply for this update.
     * 
* * .io.ExpirySettings expirySettings = 3; * @return The expirySettings. */ @java.lang.Override public com.passkit.grpc.Expiry.ExpirySettings getExpirySettings() { return expirySettings_ == null ? com.passkit.grpc.Expiry.ExpirySettings.getDefaultInstance() : expirySettings_; } /** *
     * Expiry date setting you want to apply for this update.
     * 
* * .io.ExpirySettings expirySettings = 3; */ @java.lang.Override public com.passkit.grpc.Expiry.ExpirySettingsOrBuilder getExpirySettingsOrBuilder() { return getExpirySettings(); } public static final int TIMEZONE_FIELD_NUMBER = 4; private volatile java.lang.Object timezone_; /** *
     * Timezone string in IANA timezone format applied for EXPIRE_ON_FIXED_DATE. If not provided Tier timezone is applied.
     * 
* * string timezone = 4; * @return The timezone. */ @java.lang.Override public java.lang.String getTimezone() { java.lang.Object ref = timezone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timezone_ = s; return s; } } /** *
     * Timezone string in IANA timezone format applied for EXPIRE_ON_FIXED_DATE. If not provided Tier timezone is applied.
     * 
* * string timezone = 4; * @return The bytes for timezone. */ @java.lang.Override public com.google.protobuf.ByteString getTimezoneBytes() { java.lang.Object ref = timezone_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timezone_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!getProgramIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, programId_); } if (!getTierIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tierId_); } if (expirySettings_ != null) { output.writeMessage(3, getExpirySettings()); } if (!getTimezoneBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, timezone_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getProgramIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, programId_); } if (!getTierIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tierId_); } if (expirySettings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getExpirySettings()); } if (!getTimezoneBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, timezone_); } 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.MemberOuterClass.UpdateExpiryRequest)) { return super.equals(obj); } com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest other = (com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest) obj; if (!getProgramId() .equals(other.getProgramId())) return false; if (!getTierId() .equals(other.getTierId())) return false; if (hasExpirySettings() != other.hasExpirySettings()) return false; if (hasExpirySettings()) { if (!getExpirySettings() .equals(other.getExpirySettings())) return false; } if (!getTimezone() .equals(other.getTimezone())) 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) + PROGRAMID_FIELD_NUMBER; hash = (53 * hash) + getProgramId().hashCode(); hash = (37 * hash) + TIERID_FIELD_NUMBER; hash = (53 * hash) + getTierId().hashCode(); if (hasExpirySettings()) { hash = (37 * hash) + EXPIRYSETTINGS_FIELD_NUMBER; hash = (53 * hash) + getExpirySettings().hashCode(); } hash = (37 * hash) + TIMEZONE_FIELD_NUMBER; hash = (53 * hash) + getTimezone().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest 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.MemberOuterClass.UpdateExpiryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest 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.MemberOuterClass.UpdateExpiryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest 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.MemberOuterClass.UpdateExpiryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest 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.MemberOuterClass.UpdateExpiryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest 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.MemberOuterClass.UpdateExpiryRequest 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; } /** *
     * Used to set new expiry dates for all of active members in the tier.
     * 
* * Protobuf type {@code members.UpdateExpiryRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:members.UpdateExpiryRequest) com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_UpdateExpiryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_UpdateExpiryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest.class, com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest.Builder.class); } // Construct using com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest.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(); programId_ = ""; tierId_ = ""; if (expirySettingsBuilder_ == null) { expirySettings_ = null; } else { expirySettings_ = null; expirySettingsBuilder_ = null; } timezone_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_UpdateExpiryRequest_descriptor; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest getDefaultInstanceForType() { return com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest build() { com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest buildPartial() { com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest result = new com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest(this); result.programId_ = programId_; result.tierId_ = tierId_; if (expirySettingsBuilder_ == null) { result.expirySettings_ = expirySettings_; } else { result.expirySettings_ = expirySettingsBuilder_.build(); } result.timezone_ = timezone_; 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.MemberOuterClass.UpdateExpiryRequest) { return mergeFrom((com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest other) { if (other == com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest.getDefaultInstance()) return this; if (!other.getProgramId().isEmpty()) { programId_ = other.programId_; onChanged(); } if (!other.getTierId().isEmpty()) { tierId_ = other.tierId_; onChanged(); } if (other.hasExpirySettings()) { mergeExpirySettings(other.getExpirySettings()); } if (!other.getTimezone().isEmpty()) { timezone_ = other.timezone_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object programId_ = ""; /** *
       * Indicates the ID of the program.
       * 
* * string programId = 1; * @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.
       * 
* * string programId = 1; * @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.
       * 
* * string programId = 1; * @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.
       * 
* * string programId = 1; * @return This builder for chaining. */ public Builder clearProgramId() { programId_ = getDefaultInstance().getProgramId(); onChanged(); return this; } /** *
       * Indicates the ID of the program.
       * 
* * string programId = 1; * @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 java.lang.Object tierId_ = ""; /** *
       * Indicates the ID of the tier.
       * 
* * string tierId = 2; * @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.
       * 
* * string tierId = 2; * @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.
       * 
* * string tierId = 2; * @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.
       * 
* * string tierId = 2; * @return This builder for chaining. */ public Builder clearTierId() { tierId_ = getDefaultInstance().getTierId(); onChanged(); return this; } /** *
       * Indicates the ID of the tier.
       * 
* * string tierId = 2; * @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 com.passkit.grpc.Expiry.ExpirySettings expirySettings_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Expiry.ExpirySettings, com.passkit.grpc.Expiry.ExpirySettings.Builder, com.passkit.grpc.Expiry.ExpirySettingsOrBuilder> expirySettingsBuilder_; /** *
       * Expiry date setting you want to apply for this update.
       * 
* * .io.ExpirySettings expirySettings = 3; * @return Whether the expirySettings field is set. */ public boolean hasExpirySettings() { return expirySettingsBuilder_ != null || expirySettings_ != null; } /** *
       * Expiry date setting you want to apply for this update.
       * 
* * .io.ExpirySettings expirySettings = 3; * @return The expirySettings. */ public com.passkit.grpc.Expiry.ExpirySettings getExpirySettings() { if (expirySettingsBuilder_ == null) { return expirySettings_ == null ? com.passkit.grpc.Expiry.ExpirySettings.getDefaultInstance() : expirySettings_; } else { return expirySettingsBuilder_.getMessage(); } } /** *
       * Expiry date setting you want to apply for this update.
       * 
* * .io.ExpirySettings expirySettings = 3; */ public Builder setExpirySettings(com.passkit.grpc.Expiry.ExpirySettings value) { if (expirySettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expirySettings_ = value; onChanged(); } else { expirySettingsBuilder_.setMessage(value); } return this; } /** *
       * Expiry date setting you want to apply for this update.
       * 
* * .io.ExpirySettings expirySettings = 3; */ public Builder setExpirySettings( com.passkit.grpc.Expiry.ExpirySettings.Builder builderForValue) { if (expirySettingsBuilder_ == null) { expirySettings_ = builderForValue.build(); onChanged(); } else { expirySettingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Expiry date setting you want to apply for this update.
       * 
* * .io.ExpirySettings expirySettings = 3; */ public Builder mergeExpirySettings(com.passkit.grpc.Expiry.ExpirySettings value) { if (expirySettingsBuilder_ == null) { if (expirySettings_ != null) { expirySettings_ = com.passkit.grpc.Expiry.ExpirySettings.newBuilder(expirySettings_).mergeFrom(value).buildPartial(); } else { expirySettings_ = value; } onChanged(); } else { expirySettingsBuilder_.mergeFrom(value); } return this; } /** *
       * Expiry date setting you want to apply for this update.
       * 
* * .io.ExpirySettings expirySettings = 3; */ public Builder clearExpirySettings() { if (expirySettingsBuilder_ == null) { expirySettings_ = null; onChanged(); } else { expirySettings_ = null; expirySettingsBuilder_ = null; } return this; } /** *
       * Expiry date setting you want to apply for this update.
       * 
* * .io.ExpirySettings expirySettings = 3; */ public com.passkit.grpc.Expiry.ExpirySettings.Builder getExpirySettingsBuilder() { onChanged(); return getExpirySettingsFieldBuilder().getBuilder(); } /** *
       * Expiry date setting you want to apply for this update.
       * 
* * .io.ExpirySettings expirySettings = 3; */ public com.passkit.grpc.Expiry.ExpirySettingsOrBuilder getExpirySettingsOrBuilder() { if (expirySettingsBuilder_ != null) { return expirySettingsBuilder_.getMessageOrBuilder(); } else { return expirySettings_ == null ? com.passkit.grpc.Expiry.ExpirySettings.getDefaultInstance() : expirySettings_; } } /** *
       * Expiry date setting you want to apply for this update.
       * 
* * .io.ExpirySettings expirySettings = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Expiry.ExpirySettings, com.passkit.grpc.Expiry.ExpirySettings.Builder, com.passkit.grpc.Expiry.ExpirySettingsOrBuilder> getExpirySettingsFieldBuilder() { if (expirySettingsBuilder_ == null) { expirySettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Expiry.ExpirySettings, com.passkit.grpc.Expiry.ExpirySettings.Builder, com.passkit.grpc.Expiry.ExpirySettingsOrBuilder>( getExpirySettings(), getParentForChildren(), isClean()); expirySettings_ = null; } return expirySettingsBuilder_; } private java.lang.Object timezone_ = ""; /** *
       * Timezone string in IANA timezone format applied for EXPIRE_ON_FIXED_DATE. If not provided Tier timezone is applied.
       * 
* * string timezone = 4; * @return The timezone. */ public java.lang.String getTimezone() { java.lang.Object ref = timezone_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timezone_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Timezone string in IANA timezone format applied for EXPIRE_ON_FIXED_DATE. If not provided Tier timezone is applied.
       * 
* * string timezone = 4; * @return The bytes for timezone. */ public com.google.protobuf.ByteString getTimezoneBytes() { java.lang.Object ref = timezone_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timezone_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Timezone string in IANA timezone format applied for EXPIRE_ON_FIXED_DATE. If not provided Tier timezone is applied.
       * 
* * string timezone = 4; * @param value The timezone to set. * @return This builder for chaining. */ public Builder setTimezone( java.lang.String value) { if (value == null) { throw new NullPointerException(); } timezone_ = value; onChanged(); return this; } /** *
       * Timezone string in IANA timezone format applied for EXPIRE_ON_FIXED_DATE. If not provided Tier timezone is applied.
       * 
* * string timezone = 4; * @return This builder for chaining. */ public Builder clearTimezone() { timezone_ = getDefaultInstance().getTimezone(); onChanged(); return this; } /** *
       * Timezone string in IANA timezone format applied for EXPIRE_ON_FIXED_DATE. If not provided Tier timezone is applied.
       * 
* * string timezone = 4; * @param value The bytes for timezone to set. * @return This builder for chaining. */ public Builder setTimezoneBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); timezone_ = value; onChanged(); return this; } @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.UpdateExpiryRequest) } // @@protoc_insertion_point(class_scope:members.UpdateExpiryRequest) private static final com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest(); } public static com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateExpiryRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpdateExpiryRequest(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.MemberOuterClass.UpdateExpiryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MemberExpiryOrBuilder extends // @@protoc_insertion_point(interface_extends:members.MemberExpiry) com.google.protobuf.MessageOrBuilder { /** *
     * Internal PassKit ID.
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * Internal PassKit ID.
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * External member ID.
     * 
* * string externalId = 2; * @return The externalId. */ java.lang.String getExternalId(); /** *
     * External member ID.
     * 
* * string externalId = 2; * @return The bytes for externalId. */ com.google.protobuf.ByteString getExternalIdBytes(); /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @return The programId. */ java.lang.String getProgramId(); /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @return The bytes for programId. */ com.google.protobuf.ByteString getProgramIdBytes(); /** *
     * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 4; * @return Whether the expiryDate field is set. */ boolean hasExpiryDate(); /** *
     * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 4; * @return The expiryDate. */ com.google.protobuf.Timestamp getExpiryDate(); /** *
     * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 4; */ com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder(); } /** *
   * Used to update the expiry date of a member.
   * 
* * Protobuf type {@code members.MemberExpiry} */ public static final class MemberExpiry extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:members.MemberExpiry) MemberExpiryOrBuilder { private static final long serialVersionUID = 0L; // Use MemberExpiry.newBuilder() to construct. private MemberExpiry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MemberExpiry() { id_ = ""; externalId_ = ""; programId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MemberExpiry(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MemberExpiry( 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(); programId_ = s; break; } case 34: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (expiryDate_ != null) { subBuilder = expiryDate_.toBuilder(); } expiryDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(expiryDate_); expiryDate_ = 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.MemberOuterClass.internal_static_members_MemberExpiry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberExpiry_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.MemberExpiry.class, com.passkit.grpc.Members.MemberOuterClass.MemberExpiry.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * Internal PassKit ID.
     * 
* * 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; } } /** *
     * Internal PassKit ID.
     * 
* * 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_; /** *
     * External member ID.
     * 
* * 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; } } /** *
     * External member ID.
     * 
* * 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 PROGRAMID_FIELD_NUMBER = 3; private volatile java.lang.Object programId_; /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @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; } } /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @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 EXPIRYDATE_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp expiryDate_; /** *
     * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 4; * @return Whether the expiryDate field is set. */ @java.lang.Override public boolean hasExpiryDate() { return expiryDate_ != null; } /** *
     * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 4; * @return The expiryDate. */ @java.lang.Override public com.google.protobuf.Timestamp getExpiryDate() { return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_; } /** *
     * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
     * 
* * .google.protobuf.Timestamp expiryDate = 4; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder() { return getExpiryDate(); } 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 (!getProgramIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, programId_); } if (expiryDate_ != null) { output.writeMessage(4, getExpiryDate()); } 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 (!getProgramIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, programId_); } if (expiryDate_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getExpiryDate()); } 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.MemberOuterClass.MemberExpiry)) { return super.equals(obj); } com.passkit.grpc.Members.MemberOuterClass.MemberExpiry other = (com.passkit.grpc.Members.MemberOuterClass.MemberExpiry) obj; if (!getId() .equals(other.getId())) return false; if (!getExternalId() .equals(other.getExternalId())) return false; if (!getProgramId() .equals(other.getProgramId())) return false; if (hasExpiryDate() != other.hasExpiryDate()) return false; if (hasExpiryDate()) { if (!getExpiryDate() .equals(other.getExpiryDate())) 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) + PROGRAMID_FIELD_NUMBER; hash = (53 * hash) + getProgramId().hashCode(); if (hasExpiryDate()) { hash = (37 * hash) + EXPIRYDATE_FIELD_NUMBER; hash = (53 * hash) + getExpiryDate().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Members.MemberOuterClass.MemberExpiry parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.MemberExpiry 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.MemberOuterClass.MemberExpiry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.MemberExpiry 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.MemberOuterClass.MemberExpiry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.MemberExpiry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Members.MemberOuterClass.MemberExpiry parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.MemberExpiry 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.MemberOuterClass.MemberExpiry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.MemberExpiry 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.MemberOuterClass.MemberExpiry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.MemberExpiry 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.MemberOuterClass.MemberExpiry 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; } /** *
     * Used to update the expiry date of a member.
     * 
* * Protobuf type {@code members.MemberExpiry} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:members.MemberExpiry) com.passkit.grpc.Members.MemberOuterClass.MemberExpiryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberExpiry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberExpiry_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.MemberExpiry.class, com.passkit.grpc.Members.MemberOuterClass.MemberExpiry.Builder.class); } // Construct using com.passkit.grpc.Members.MemberOuterClass.MemberExpiry.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_ = ""; programId_ = ""; if (expiryDateBuilder_ == null) { expiryDate_ = null; } else { expiryDate_ = null; expiryDateBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberExpiry_descriptor; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberExpiry getDefaultInstanceForType() { return com.passkit.grpc.Members.MemberOuterClass.MemberExpiry.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberExpiry build() { com.passkit.grpc.Members.MemberOuterClass.MemberExpiry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberExpiry buildPartial() { com.passkit.grpc.Members.MemberOuterClass.MemberExpiry result = new com.passkit.grpc.Members.MemberOuterClass.MemberExpiry(this); result.id_ = id_; result.externalId_ = externalId_; result.programId_ = programId_; if (expiryDateBuilder_ == null) { result.expiryDate_ = expiryDate_; } else { result.expiryDate_ = expiryDateBuilder_.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.MemberOuterClass.MemberExpiry) { return mergeFrom((com.passkit.grpc.Members.MemberOuterClass.MemberExpiry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Members.MemberOuterClass.MemberExpiry other) { if (other == com.passkit.grpc.Members.MemberOuterClass.MemberExpiry.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getExternalId().isEmpty()) { externalId_ = other.externalId_; onChanged(); } if (!other.getProgramId().isEmpty()) { programId_ = other.programId_; onChanged(); } if (other.hasExpiryDate()) { mergeExpiryDate(other.getExpiryDate()); } 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.MemberOuterClass.MemberExpiry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Members.MemberOuterClass.MemberExpiry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object id_ = ""; /** *
       * Internal PassKit ID.
       * 
* * 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; } } /** *
       * Internal PassKit ID.
       * 
* * 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; } } /** *
       * Internal PassKit ID.
       * 
* * 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; } /** *
       * Internal PassKit ID.
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * Internal PassKit ID.
       * 
* * 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_ = ""; /** *
       * External member ID.
       * 
* * 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; } } /** *
       * External member ID.
       * 
* * 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; } } /** *
       * External member ID.
       * 
* * 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; } /** *
       * External member ID.
       * 
* * string externalId = 2; * @return This builder for chaining. */ public Builder clearExternalId() { externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** *
       * External member ID.
       * 
* * 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 programId_ = ""; /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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; } } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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; } } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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; } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @return This builder for chaining. */ public Builder clearProgramId() { programId_ = getDefaultInstance().getProgramId(); onChanged(); return this; } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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.google.protobuf.Timestamp expiryDate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiryDateBuilder_; /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 4; * @return Whether the expiryDate field is set. */ public boolean hasExpiryDate() { return expiryDateBuilder_ != null || expiryDate_ != null; } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 4; * @return The expiryDate. */ public com.google.protobuf.Timestamp getExpiryDate() { if (expiryDateBuilder_ == null) { return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_; } else { return expiryDateBuilder_.getMessage(); } } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 4; */ public Builder setExpiryDate(com.google.protobuf.Timestamp value) { if (expiryDateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expiryDate_ = value; onChanged(); } else { expiryDateBuilder_.setMessage(value); } return this; } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 4; */ public Builder setExpiryDate( com.google.protobuf.Timestamp.Builder builderForValue) { if (expiryDateBuilder_ == null) { expiryDate_ = builderForValue.build(); onChanged(); } else { expiryDateBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 4; */ public Builder mergeExpiryDate(com.google.protobuf.Timestamp value) { if (expiryDateBuilder_ == null) { if (expiryDate_ != null) { expiryDate_ = com.google.protobuf.Timestamp.newBuilder(expiryDate_).mergeFrom(value).buildPartial(); } else { expiryDate_ = value; } onChanged(); } else { expiryDateBuilder_.mergeFrom(value); } return this; } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 4; */ public Builder clearExpiryDate() { if (expiryDateBuilder_ == null) { expiryDate_ = null; onChanged(); } else { expiryDate_ = null; expiryDateBuilder_ = null; } return this; } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 4; */ public com.google.protobuf.Timestamp.Builder getExpiryDateBuilder() { onChanged(); return getExpiryDateFieldBuilder().getBuilder(); } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 4; */ public com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder() { if (expiryDateBuilder_ != null) { return expiryDateBuilder_.getMessageOrBuilder(); } else { return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_; } } /** *
       * Indicates when the membership card expires. When the expiry date hits, it will automatically gray out the barcode.
       * 
* * .google.protobuf.Timestamp expiryDate = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpiryDateFieldBuilder() { if (expiryDateBuilder_ == null) { expiryDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getExpiryDate(), getParentForChildren(), isClean()); expiryDate_ = null; } return expiryDateBuilder_; } @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.MemberExpiry) } // @@protoc_insertion_point(class_scope:members.MemberExpiry) private static final com.passkit.grpc.Members.MemberOuterClass.MemberExpiry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Members.MemberOuterClass.MemberExpiry(); } public static com.passkit.grpc.Members.MemberOuterClass.MemberExpiry getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MemberExpiry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MemberExpiry(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.MemberOuterClass.MemberExpiry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MemberPointsOrBuilder extends // @@protoc_insertion_point(interface_extends:members.MemberPoints) com.google.protobuf.MessageOrBuilder { /** *
     * Internal PassKit ID.
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * Internal PassKit ID.
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * External member ID.
     * 
* * string externalId = 2; * @return The externalId. */ java.lang.String getExternalId(); /** *
     * External member ID.
     * 
* * string externalId = 2; * @return The bytes for externalId. */ com.google.protobuf.ByteString getExternalIdBytes(); /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @return The programId. */ java.lang.String getProgramId(); /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @return The bytes for programId. */ com.google.protobuf.ByteString getProgramIdBytes(); /** *
     * The latest point balance.
     * 
* * float points = 4; * @return The points. */ float getPoints(); /** *
     * The latest secondary point balance.
     * 
* * float secondaryPoints = 5; * @return The secondaryPoints. */ float getSecondaryPoints(); /** *
     * The latest tier point balance.
     * 
* * uint32 tierPoints = 6; * @return The tierPoints. */ int getTierPoints(); } /** * Protobuf type {@code members.MemberPoints} */ public static final class MemberPoints extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:members.MemberPoints) MemberPointsOrBuilder { private static final long serialVersionUID = 0L; // Use MemberPoints.newBuilder() to construct. private MemberPoints(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MemberPoints() { id_ = ""; externalId_ = ""; programId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MemberPoints(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MemberPoints( 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(); programId_ = s; break; } case 37: { points_ = input.readFloat(); break; } case 45: { secondaryPoints_ = input.readFloat(); break; } case 48: { tierPoints_ = input.readUInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberPoints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberPoints_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.MemberPoints.class, com.passkit.grpc.Members.MemberOuterClass.MemberPoints.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * Internal PassKit ID.
     * 
* * 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; } } /** *
     * Internal PassKit ID.
     * 
* * 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_; /** *
     * External member ID.
     * 
* * 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; } } /** *
     * External member ID.
     * 
* * 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 PROGRAMID_FIELD_NUMBER = 3; private volatile java.lang.Object programId_; /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @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; } } /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @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 POINTS_FIELD_NUMBER = 4; private float points_; /** *
     * The latest point balance.
     * 
* * float points = 4; * @return The points. */ @java.lang.Override public float getPoints() { return points_; } public static final int SECONDARYPOINTS_FIELD_NUMBER = 5; private float secondaryPoints_; /** *
     * The latest secondary point balance.
     * 
* * float secondaryPoints = 5; * @return The secondaryPoints. */ @java.lang.Override public float getSecondaryPoints() { return secondaryPoints_; } public static final int TIERPOINTS_FIELD_NUMBER = 6; private int tierPoints_; /** *
     * The latest tier point balance.
     * 
* * uint32 tierPoints = 6; * @return The tierPoints. */ @java.lang.Override public int getTierPoints() { return tierPoints_; } 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 (!getProgramIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, programId_); } if (points_ != 0F) { output.writeFloat(4, points_); } if (secondaryPoints_ != 0F) { output.writeFloat(5, secondaryPoints_); } if (tierPoints_ != 0) { output.writeUInt32(6, tierPoints_); } 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 (!getProgramIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, programId_); } if (points_ != 0F) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(4, points_); } if (secondaryPoints_ != 0F) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(5, secondaryPoints_); } if (tierPoints_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, tierPoints_); } 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.MemberOuterClass.MemberPoints)) { return super.equals(obj); } com.passkit.grpc.Members.MemberOuterClass.MemberPoints other = (com.passkit.grpc.Members.MemberOuterClass.MemberPoints) obj; if (!getId() .equals(other.getId())) return false; if (!getExternalId() .equals(other.getExternalId())) return false; if (!getProgramId() .equals(other.getProgramId())) return false; if (java.lang.Float.floatToIntBits(getPoints()) != java.lang.Float.floatToIntBits( other.getPoints())) return false; if (java.lang.Float.floatToIntBits(getSecondaryPoints()) != java.lang.Float.floatToIntBits( other.getSecondaryPoints())) return false; if (getTierPoints() != other.getTierPoints()) 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) + PROGRAMID_FIELD_NUMBER; hash = (53 * hash) + getProgramId().hashCode(); hash = (37 * hash) + POINTS_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getPoints()); hash = (37 * hash) + SECONDARYPOINTS_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getSecondaryPoints()); hash = (37 * hash) + TIERPOINTS_FIELD_NUMBER; hash = (53 * hash) + getTierPoints(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Members.MemberOuterClass.MemberPoints parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.MemberPoints 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.MemberOuterClass.MemberPoints parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.MemberPoints 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.MemberOuterClass.MemberPoints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.MemberPoints parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Members.MemberOuterClass.MemberPoints parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.MemberPoints 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.MemberOuterClass.MemberPoints parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.MemberPoints 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.MemberOuterClass.MemberPoints parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.MemberPoints 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.MemberOuterClass.MemberPoints 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.MemberPoints} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:members.MemberPoints) com.passkit.grpc.Members.MemberOuterClass.MemberPointsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberPoints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberPoints_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.MemberPoints.class, com.passkit.grpc.Members.MemberOuterClass.MemberPoints.Builder.class); } // Construct using com.passkit.grpc.Members.MemberOuterClass.MemberPoints.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_ = ""; programId_ = ""; points_ = 0F; secondaryPoints_ = 0F; tierPoints_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberPoints_descriptor; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberPoints getDefaultInstanceForType() { return com.passkit.grpc.Members.MemberOuterClass.MemberPoints.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberPoints build() { com.passkit.grpc.Members.MemberOuterClass.MemberPoints result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberPoints buildPartial() { com.passkit.grpc.Members.MemberOuterClass.MemberPoints result = new com.passkit.grpc.Members.MemberOuterClass.MemberPoints(this); result.id_ = id_; result.externalId_ = externalId_; result.programId_ = programId_; result.points_ = points_; result.secondaryPoints_ = secondaryPoints_; result.tierPoints_ = tierPoints_; 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.MemberOuterClass.MemberPoints) { return mergeFrom((com.passkit.grpc.Members.MemberOuterClass.MemberPoints)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Members.MemberOuterClass.MemberPoints other) { if (other == com.passkit.grpc.Members.MemberOuterClass.MemberPoints.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getExternalId().isEmpty()) { externalId_ = other.externalId_; onChanged(); } if (!other.getProgramId().isEmpty()) { programId_ = other.programId_; onChanged(); } if (other.getPoints() != 0F) { setPoints(other.getPoints()); } if (other.getSecondaryPoints() != 0F) { setSecondaryPoints(other.getSecondaryPoints()); } if (other.getTierPoints() != 0) { setTierPoints(other.getTierPoints()); } 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.MemberOuterClass.MemberPoints parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Members.MemberOuterClass.MemberPoints) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object id_ = ""; /** *
       * Internal PassKit ID.
       * 
* * 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; } } /** *
       * Internal PassKit ID.
       * 
* * 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; } } /** *
       * Internal PassKit ID.
       * 
* * 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; } /** *
       * Internal PassKit ID.
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * Internal PassKit ID.
       * 
* * 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_ = ""; /** *
       * External member ID.
       * 
* * 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; } } /** *
       * External member ID.
       * 
* * 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; } } /** *
       * External member ID.
       * 
* * 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; } /** *
       * External member ID.
       * 
* * string externalId = 2; * @return This builder for chaining. */ public Builder clearExternalId() { externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** *
       * External member ID.
       * 
* * 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 programId_ = ""; /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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; } } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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; } } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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; } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @return This builder for chaining. */ public Builder clearProgramId() { programId_ = getDefaultInstance().getProgramId(); onChanged(); return this; } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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 float points_ ; /** *
       * The latest point balance.
       * 
* * float points = 4; * @return The points. */ @java.lang.Override public float getPoints() { return points_; } /** *
       * The latest point balance.
       * 
* * float points = 4; * @param value The points to set. * @return This builder for chaining. */ public Builder setPoints(float value) { points_ = value; onChanged(); return this; } /** *
       * The latest point balance.
       * 
* * float points = 4; * @return This builder for chaining. */ public Builder clearPoints() { points_ = 0F; onChanged(); return this; } private float secondaryPoints_ ; /** *
       * The latest secondary point balance.
       * 
* * float secondaryPoints = 5; * @return The secondaryPoints. */ @java.lang.Override public float getSecondaryPoints() { return secondaryPoints_; } /** *
       * The latest secondary point balance.
       * 
* * float secondaryPoints = 5; * @param value The secondaryPoints to set. * @return This builder for chaining. */ public Builder setSecondaryPoints(float value) { secondaryPoints_ = value; onChanged(); return this; } /** *
       * The latest secondary point balance.
       * 
* * float secondaryPoints = 5; * @return This builder for chaining. */ public Builder clearSecondaryPoints() { secondaryPoints_ = 0F; onChanged(); return this; } private int tierPoints_ ; /** *
       * The latest tier point balance.
       * 
* * uint32 tierPoints = 6; * @return The tierPoints. */ @java.lang.Override public int getTierPoints() { return tierPoints_; } /** *
       * The latest tier point balance.
       * 
* * uint32 tierPoints = 6; * @param value The tierPoints to set. * @return This builder for chaining. */ public Builder setTierPoints(int value) { tierPoints_ = value; onChanged(); return this; } /** *
       * The latest tier point balance.
       * 
* * uint32 tierPoints = 6; * @return This builder for chaining. */ public Builder clearTierPoints() { tierPoints_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:members.MemberPoints) } // @@protoc_insertion_point(class_scope:members.MemberPoints) private static final com.passkit.grpc.Members.MemberOuterClass.MemberPoints DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Members.MemberOuterClass.MemberPoints(); } public static com.passkit.grpc.Members.MemberOuterClass.MemberPoints getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MemberPoints parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MemberPoints(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.MemberOuterClass.MemberPoints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EarnBurnPointsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:members.EarnBurnPointsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Internal PassKit ID.
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * Internal PassKit ID.
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * External member ID.
     * 
* * string externalId = 2; * @return The externalId. */ java.lang.String getExternalId(); /** *
     * External member ID.
     * 
* * string externalId = 2; * @return The bytes for externalId. */ com.google.protobuf.ByteString getExternalIdBytes(); /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @return The programId. */ java.lang.String getProgramId(); /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @return The bytes for programId. */ com.google.protobuf.ByteString getProgramIdBytes(); /** *
     * The amount of primary points earned or burnt. The amount needs to be greater than or equal to 0.
     * 
* * float points = 4; * @return The points. */ float getPoints(); /** *
     * The amount of secondary points earned or burnt. The amount needs to be greater than or equal to 0.
     * 
* * float secondaryPoints = 5; * @return The secondaryPoints. */ float getSecondaryPoints(); /** *
     * The amount of tier points earned or burnt. The amount needs to be greater than or equal to 0.
     * 
* * uint32 tierPoints = 6; * @return The tierPoints. */ int getTierPoints(); } /** * Protobuf type {@code members.EarnBurnPointsRequest} */ public static final class EarnBurnPointsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:members.EarnBurnPointsRequest) EarnBurnPointsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use EarnBurnPointsRequest.newBuilder() to construct. private EarnBurnPointsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EarnBurnPointsRequest() { id_ = ""; externalId_ = ""; programId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EarnBurnPointsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EarnBurnPointsRequest( 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(); programId_ = s; break; } case 37: { points_ = input.readFloat(); break; } case 45: { secondaryPoints_ = input.readFloat(); break; } case 48: { tierPoints_ = input.readUInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_EarnBurnPointsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_EarnBurnPointsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest.class, com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * Internal PassKit ID.
     * 
* * 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; } } /** *
     * Internal PassKit ID.
     * 
* * 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_; /** *
     * External member ID.
     * 
* * 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; } } /** *
     * External member ID.
     * 
* * 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 PROGRAMID_FIELD_NUMBER = 3; private volatile java.lang.Object programId_; /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @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; } } /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @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 POINTS_FIELD_NUMBER = 4; private float points_; /** *
     * The amount of primary points earned or burnt. The amount needs to be greater than or equal to 0.
     * 
* * float points = 4; * @return The points. */ @java.lang.Override public float getPoints() { return points_; } public static final int SECONDARYPOINTS_FIELD_NUMBER = 5; private float secondaryPoints_; /** *
     * The amount of secondary points earned or burnt. The amount needs to be greater than or equal to 0.
     * 
* * float secondaryPoints = 5; * @return The secondaryPoints. */ @java.lang.Override public float getSecondaryPoints() { return secondaryPoints_; } public static final int TIERPOINTS_FIELD_NUMBER = 6; private int tierPoints_; /** *
     * The amount of tier points earned or burnt. The amount needs to be greater than or equal to 0.
     * 
* * uint32 tierPoints = 6; * @return The tierPoints. */ @java.lang.Override public int getTierPoints() { return tierPoints_; } 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 (!getProgramIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, programId_); } if (points_ != 0F) { output.writeFloat(4, points_); } if (secondaryPoints_ != 0F) { output.writeFloat(5, secondaryPoints_); } if (tierPoints_ != 0) { output.writeUInt32(6, tierPoints_); } 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 (!getProgramIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, programId_); } if (points_ != 0F) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(4, points_); } if (secondaryPoints_ != 0F) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(5, secondaryPoints_); } if (tierPoints_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, tierPoints_); } 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.MemberOuterClass.EarnBurnPointsRequest)) { return super.equals(obj); } com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest other = (com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest) obj; if (!getId() .equals(other.getId())) return false; if (!getExternalId() .equals(other.getExternalId())) return false; if (!getProgramId() .equals(other.getProgramId())) return false; if (java.lang.Float.floatToIntBits(getPoints()) != java.lang.Float.floatToIntBits( other.getPoints())) return false; if (java.lang.Float.floatToIntBits(getSecondaryPoints()) != java.lang.Float.floatToIntBits( other.getSecondaryPoints())) return false; if (getTierPoints() != other.getTierPoints()) 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) + PROGRAMID_FIELD_NUMBER; hash = (53 * hash) + getProgramId().hashCode(); hash = (37 * hash) + POINTS_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getPoints()); hash = (37 * hash) + SECONDARYPOINTS_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getSecondaryPoints()); hash = (37 * hash) + TIERPOINTS_FIELD_NUMBER; hash = (53 * hash) + getTierPoints(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest 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.MemberOuterClass.EarnBurnPointsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest 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.MemberOuterClass.EarnBurnPointsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest 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.MemberOuterClass.EarnBurnPointsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest 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.MemberOuterClass.EarnBurnPointsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest 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.MemberOuterClass.EarnBurnPointsRequest 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.EarnBurnPointsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:members.EarnBurnPointsRequest) com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_EarnBurnPointsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_EarnBurnPointsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest.class, com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest.Builder.class); } // Construct using com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest.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_ = ""; programId_ = ""; points_ = 0F; secondaryPoints_ = 0F; tierPoints_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_EarnBurnPointsRequest_descriptor; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest getDefaultInstanceForType() { return com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest build() { com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest buildPartial() { com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest result = new com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest(this); result.id_ = id_; result.externalId_ = externalId_; result.programId_ = programId_; result.points_ = points_; result.secondaryPoints_ = secondaryPoints_; result.tierPoints_ = tierPoints_; 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.MemberOuterClass.EarnBurnPointsRequest) { return mergeFrom((com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest other) { if (other == com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getExternalId().isEmpty()) { externalId_ = other.externalId_; onChanged(); } if (!other.getProgramId().isEmpty()) { programId_ = other.programId_; onChanged(); } if (other.getPoints() != 0F) { setPoints(other.getPoints()); } if (other.getSecondaryPoints() != 0F) { setSecondaryPoints(other.getSecondaryPoints()); } if (other.getTierPoints() != 0) { setTierPoints(other.getTierPoints()); } 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.MemberOuterClass.EarnBurnPointsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object id_ = ""; /** *
       * Internal PassKit ID.
       * 
* * 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; } } /** *
       * Internal PassKit ID.
       * 
* * 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; } } /** *
       * Internal PassKit ID.
       * 
* * 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; } /** *
       * Internal PassKit ID.
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * Internal PassKit ID.
       * 
* * 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_ = ""; /** *
       * External member ID.
       * 
* * 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; } } /** *
       * External member ID.
       * 
* * 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; } } /** *
       * External member ID.
       * 
* * 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; } /** *
       * External member ID.
       * 
* * string externalId = 2; * @return This builder for chaining. */ public Builder clearExternalId() { externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** *
       * External member ID.
       * 
* * 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 programId_ = ""; /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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; } } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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; } } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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; } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @return This builder for chaining. */ public Builder clearProgramId() { programId_ = getDefaultInstance().getProgramId(); onChanged(); return this; } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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 float points_ ; /** *
       * The amount of primary points earned or burnt. The amount needs to be greater than or equal to 0.
       * 
* * float points = 4; * @return The points. */ @java.lang.Override public float getPoints() { return points_; } /** *
       * The amount of primary points earned or burnt. The amount needs to be greater than or equal to 0.
       * 
* * float points = 4; * @param value The points to set. * @return This builder for chaining. */ public Builder setPoints(float value) { points_ = value; onChanged(); return this; } /** *
       * The amount of primary points earned or burnt. The amount needs to be greater than or equal to 0.
       * 
* * float points = 4; * @return This builder for chaining. */ public Builder clearPoints() { points_ = 0F; onChanged(); return this; } private float secondaryPoints_ ; /** *
       * The amount of secondary points earned or burnt. The amount needs to be greater than or equal to 0.
       * 
* * float secondaryPoints = 5; * @return The secondaryPoints. */ @java.lang.Override public float getSecondaryPoints() { return secondaryPoints_; } /** *
       * The amount of secondary points earned or burnt. The amount needs to be greater than or equal to 0.
       * 
* * float secondaryPoints = 5; * @param value The secondaryPoints to set. * @return This builder for chaining. */ public Builder setSecondaryPoints(float value) { secondaryPoints_ = value; onChanged(); return this; } /** *
       * The amount of secondary points earned or burnt. The amount needs to be greater than or equal to 0.
       * 
* * float secondaryPoints = 5; * @return This builder for chaining. */ public Builder clearSecondaryPoints() { secondaryPoints_ = 0F; onChanged(); return this; } private int tierPoints_ ; /** *
       * The amount of tier points earned or burnt. The amount needs to be greater than or equal to 0.
       * 
* * uint32 tierPoints = 6; * @return The tierPoints. */ @java.lang.Override public int getTierPoints() { return tierPoints_; } /** *
       * The amount of tier points earned or burnt. The amount needs to be greater than or equal to 0.
       * 
* * uint32 tierPoints = 6; * @param value The tierPoints to set. * @return This builder for chaining. */ public Builder setTierPoints(int value) { tierPoints_ = value; onChanged(); return this; } /** *
       * The amount of tier points earned or burnt. The amount needs to be greater than or equal to 0.
       * 
* * uint32 tierPoints = 6; * @return This builder for chaining. */ public Builder clearTierPoints() { tierPoints_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:members.EarnBurnPointsRequest) } // @@protoc_insertion_point(class_scope:members.EarnBurnPointsRequest) private static final com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest(); } public static com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EarnBurnPointsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EarnBurnPointsRequest(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.MemberOuterClass.EarnBurnPointsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SetPointsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:members.SetPointsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Internal PassKit ID.
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * Internal PassKit ID.
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * External member ID.
     * 
* * string externalId = 2; * @return The externalId. */ java.lang.String getExternalId(); /** *
     * External member ID.
     * 
* * string externalId = 2; * @return The bytes for externalId. */ com.google.protobuf.ByteString getExternalIdBytes(); /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @return The programId. */ java.lang.String getProgramId(); /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @return The bytes for programId. */ com.google.protobuf.ByteString getProgramIdBytes(); /** *
     * The latest point balance.
     * 
* * float points = 4; * @return The points. */ float getPoints(); /** *
     * The latest secondary point balance.
     * 
* * float secondaryPoints = 5; * @return The secondaryPoints. */ float getSecondaryPoints(); /** *
     * The latest tier point balance.
     * 
* * uint32 tierPoints = 6; * @return The tierPoints. */ int getTierPoints(); /** *
     * Reset the point balance. If set true, the point balance will be 0. The default is false.
     * 
* * bool resetPoints = 7; * @return The resetPoints. */ boolean getResetPoints(); /** *
     * Reset the secondary points. If set true, the secondary point balance will be 0. The default is false.
     * 
* * bool resetSecondaryPoints = 8; * @return The resetSecondaryPoints. */ boolean getResetSecondaryPoints(); /** *
     * Reset the tier points. If set true, the tier point balance will be 0. The default is false.
     * 
* * bool resetTierPoints = 9; * @return The resetTierPoints. */ boolean getResetTierPoints(); } /** * Protobuf type {@code members.SetPointsRequest} */ public static final class SetPointsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:members.SetPointsRequest) SetPointsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SetPointsRequest.newBuilder() to construct. private SetPointsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SetPointsRequest() { id_ = ""; externalId_ = ""; programId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SetPointsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SetPointsRequest( 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(); programId_ = s; break; } case 37: { points_ = input.readFloat(); break; } case 45: { secondaryPoints_ = input.readFloat(); break; } case 48: { tierPoints_ = input.readUInt32(); break; } case 56: { resetPoints_ = input.readBool(); break; } case 64: { resetSecondaryPoints_ = input.readBool(); break; } case 72: { resetTierPoints_ = input.readBool(); 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.MemberOuterClass.internal_static_members_SetPointsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_SetPointsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest.class, com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * Internal PassKit ID.
     * 
* * 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; } } /** *
     * Internal PassKit ID.
     * 
* * 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_; /** *
     * External member ID.
     * 
* * 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; } } /** *
     * External member ID.
     * 
* * 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 PROGRAMID_FIELD_NUMBER = 3; private volatile java.lang.Object programId_; /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @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; } } /** *
     * Required if externalId is set.
     * 
* * string programId = 3; * @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 POINTS_FIELD_NUMBER = 4; private float points_; /** *
     * The latest point balance.
     * 
* * float points = 4; * @return The points. */ @java.lang.Override public float getPoints() { return points_; } public static final int SECONDARYPOINTS_FIELD_NUMBER = 5; private float secondaryPoints_; /** *
     * The latest secondary point balance.
     * 
* * float secondaryPoints = 5; * @return The secondaryPoints. */ @java.lang.Override public float getSecondaryPoints() { return secondaryPoints_; } public static final int TIERPOINTS_FIELD_NUMBER = 6; private int tierPoints_; /** *
     * The latest tier point balance.
     * 
* * uint32 tierPoints = 6; * @return The tierPoints. */ @java.lang.Override public int getTierPoints() { return tierPoints_; } public static final int RESETPOINTS_FIELD_NUMBER = 7; private boolean resetPoints_; /** *
     * Reset the point balance. If set true, the point balance will be 0. The default is false.
     * 
* * bool resetPoints = 7; * @return The resetPoints. */ @java.lang.Override public boolean getResetPoints() { return resetPoints_; } public static final int RESETSECONDARYPOINTS_FIELD_NUMBER = 8; private boolean resetSecondaryPoints_; /** *
     * Reset the secondary points. If set true, the secondary point balance will be 0. The default is false.
     * 
* * bool resetSecondaryPoints = 8; * @return The resetSecondaryPoints. */ @java.lang.Override public boolean getResetSecondaryPoints() { return resetSecondaryPoints_; } public static final int RESETTIERPOINTS_FIELD_NUMBER = 9; private boolean resetTierPoints_; /** *
     * Reset the tier points. If set true, the tier point balance will be 0. The default is false.
     * 
* * bool resetTierPoints = 9; * @return The resetTierPoints. */ @java.lang.Override public boolean getResetTierPoints() { return resetTierPoints_; } 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 (!getProgramIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, programId_); } if (points_ != 0F) { output.writeFloat(4, points_); } if (secondaryPoints_ != 0F) { output.writeFloat(5, secondaryPoints_); } if (tierPoints_ != 0) { output.writeUInt32(6, tierPoints_); } if (resetPoints_ != false) { output.writeBool(7, resetPoints_); } if (resetSecondaryPoints_ != false) { output.writeBool(8, resetSecondaryPoints_); } if (resetTierPoints_ != false) { output.writeBool(9, resetTierPoints_); } 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 (!getProgramIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, programId_); } if (points_ != 0F) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(4, points_); } if (secondaryPoints_ != 0F) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(5, secondaryPoints_); } if (tierPoints_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, tierPoints_); } if (resetPoints_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, resetPoints_); } if (resetSecondaryPoints_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, resetSecondaryPoints_); } if (resetTierPoints_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, resetTierPoints_); } 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.MemberOuterClass.SetPointsRequest)) { return super.equals(obj); } com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest other = (com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest) obj; if (!getId() .equals(other.getId())) return false; if (!getExternalId() .equals(other.getExternalId())) return false; if (!getProgramId() .equals(other.getProgramId())) return false; if (java.lang.Float.floatToIntBits(getPoints()) != java.lang.Float.floatToIntBits( other.getPoints())) return false; if (java.lang.Float.floatToIntBits(getSecondaryPoints()) != java.lang.Float.floatToIntBits( other.getSecondaryPoints())) return false; if (getTierPoints() != other.getTierPoints()) return false; if (getResetPoints() != other.getResetPoints()) return false; if (getResetSecondaryPoints() != other.getResetSecondaryPoints()) return false; if (getResetTierPoints() != other.getResetTierPoints()) 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) + PROGRAMID_FIELD_NUMBER; hash = (53 * hash) + getProgramId().hashCode(); hash = (37 * hash) + POINTS_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getPoints()); hash = (37 * hash) + SECONDARYPOINTS_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getSecondaryPoints()); hash = (37 * hash) + TIERPOINTS_FIELD_NUMBER; hash = (53 * hash) + getTierPoints(); hash = (37 * hash) + RESETPOINTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getResetPoints()); hash = (37 * hash) + RESETSECONDARYPOINTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getResetSecondaryPoints()); hash = (37 * hash) + RESETTIERPOINTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getResetTierPoints()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest 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.MemberOuterClass.SetPointsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest 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.MemberOuterClass.SetPointsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest 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.MemberOuterClass.SetPointsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest 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.MemberOuterClass.SetPointsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest 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.MemberOuterClass.SetPointsRequest 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.SetPointsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:members.SetPointsRequest) com.passkit.grpc.Members.MemberOuterClass.SetPointsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_SetPointsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_SetPointsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest.class, com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest.Builder.class); } // Construct using com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest.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_ = ""; programId_ = ""; points_ = 0F; secondaryPoints_ = 0F; tierPoints_ = 0; resetPoints_ = false; resetSecondaryPoints_ = false; resetTierPoints_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_SetPointsRequest_descriptor; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest getDefaultInstanceForType() { return com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest build() { com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest buildPartial() { com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest result = new com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest(this); result.id_ = id_; result.externalId_ = externalId_; result.programId_ = programId_; result.points_ = points_; result.secondaryPoints_ = secondaryPoints_; result.tierPoints_ = tierPoints_; result.resetPoints_ = resetPoints_; result.resetSecondaryPoints_ = resetSecondaryPoints_; result.resetTierPoints_ = resetTierPoints_; 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.MemberOuterClass.SetPointsRequest) { return mergeFrom((com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest other) { if (other == com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getExternalId().isEmpty()) { externalId_ = other.externalId_; onChanged(); } if (!other.getProgramId().isEmpty()) { programId_ = other.programId_; onChanged(); } if (other.getPoints() != 0F) { setPoints(other.getPoints()); } if (other.getSecondaryPoints() != 0F) { setSecondaryPoints(other.getSecondaryPoints()); } if (other.getTierPoints() != 0) { setTierPoints(other.getTierPoints()); } if (other.getResetPoints() != false) { setResetPoints(other.getResetPoints()); } if (other.getResetSecondaryPoints() != false) { setResetSecondaryPoints(other.getResetSecondaryPoints()); } if (other.getResetTierPoints() != false) { setResetTierPoints(other.getResetTierPoints()); } 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.MemberOuterClass.SetPointsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object id_ = ""; /** *
       * Internal PassKit ID.
       * 
* * 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; } } /** *
       * Internal PassKit ID.
       * 
* * 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; } } /** *
       * Internal PassKit ID.
       * 
* * 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; } /** *
       * Internal PassKit ID.
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * Internal PassKit ID.
       * 
* * 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_ = ""; /** *
       * External member ID.
       * 
* * 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; } } /** *
       * External member ID.
       * 
* * 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; } } /** *
       * External member ID.
       * 
* * 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; } /** *
       * External member ID.
       * 
* * string externalId = 2; * @return This builder for chaining. */ public Builder clearExternalId() { externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** *
       * External member ID.
       * 
* * 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 programId_ = ""; /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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; } } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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; } } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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; } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @return This builder for chaining. */ public Builder clearProgramId() { programId_ = getDefaultInstance().getProgramId(); onChanged(); return this; } /** *
       * Required if externalId is set.
       * 
* * string programId = 3; * @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 float points_ ; /** *
       * The latest point balance.
       * 
* * float points = 4; * @return The points. */ @java.lang.Override public float getPoints() { return points_; } /** *
       * The latest point balance.
       * 
* * float points = 4; * @param value The points to set. * @return This builder for chaining. */ public Builder setPoints(float value) { points_ = value; onChanged(); return this; } /** *
       * The latest point balance.
       * 
* * float points = 4; * @return This builder for chaining. */ public Builder clearPoints() { points_ = 0F; onChanged(); return this; } private float secondaryPoints_ ; /** *
       * The latest secondary point balance.
       * 
* * float secondaryPoints = 5; * @return The secondaryPoints. */ @java.lang.Override public float getSecondaryPoints() { return secondaryPoints_; } /** *
       * The latest secondary point balance.
       * 
* * float secondaryPoints = 5; * @param value The secondaryPoints to set. * @return This builder for chaining. */ public Builder setSecondaryPoints(float value) { secondaryPoints_ = value; onChanged(); return this; } /** *
       * The latest secondary point balance.
       * 
* * float secondaryPoints = 5; * @return This builder for chaining. */ public Builder clearSecondaryPoints() { secondaryPoints_ = 0F; onChanged(); return this; } private int tierPoints_ ; /** *
       * The latest tier point balance.
       * 
* * uint32 tierPoints = 6; * @return The tierPoints. */ @java.lang.Override public int getTierPoints() { return tierPoints_; } /** *
       * The latest tier point balance.
       * 
* * uint32 tierPoints = 6; * @param value The tierPoints to set. * @return This builder for chaining. */ public Builder setTierPoints(int value) { tierPoints_ = value; onChanged(); return this; } /** *
       * The latest tier point balance.
       * 
* * uint32 tierPoints = 6; * @return This builder for chaining. */ public Builder clearTierPoints() { tierPoints_ = 0; onChanged(); return this; } private boolean resetPoints_ ; /** *
       * Reset the point balance. If set true, the point balance will be 0. The default is false.
       * 
* * bool resetPoints = 7; * @return The resetPoints. */ @java.lang.Override public boolean getResetPoints() { return resetPoints_; } /** *
       * Reset the point balance. If set true, the point balance will be 0. The default is false.
       * 
* * bool resetPoints = 7; * @param value The resetPoints to set. * @return This builder for chaining. */ public Builder setResetPoints(boolean value) { resetPoints_ = value; onChanged(); return this; } /** *
       * Reset the point balance. If set true, the point balance will be 0. The default is false.
       * 
* * bool resetPoints = 7; * @return This builder for chaining. */ public Builder clearResetPoints() { resetPoints_ = false; onChanged(); return this; } private boolean resetSecondaryPoints_ ; /** *
       * Reset the secondary points. If set true, the secondary point balance will be 0. The default is false.
       * 
* * bool resetSecondaryPoints = 8; * @return The resetSecondaryPoints. */ @java.lang.Override public boolean getResetSecondaryPoints() { return resetSecondaryPoints_; } /** *
       * Reset the secondary points. If set true, the secondary point balance will be 0. The default is false.
       * 
* * bool resetSecondaryPoints = 8; * @param value The resetSecondaryPoints to set. * @return This builder for chaining. */ public Builder setResetSecondaryPoints(boolean value) { resetSecondaryPoints_ = value; onChanged(); return this; } /** *
       * Reset the secondary points. If set true, the secondary point balance will be 0. The default is false.
       * 
* * bool resetSecondaryPoints = 8; * @return This builder for chaining. */ public Builder clearResetSecondaryPoints() { resetSecondaryPoints_ = false; onChanged(); return this; } private boolean resetTierPoints_ ; /** *
       * Reset the tier points. If set true, the tier point balance will be 0. The default is false.
       * 
* * bool resetTierPoints = 9; * @return The resetTierPoints. */ @java.lang.Override public boolean getResetTierPoints() { return resetTierPoints_; } /** *
       * Reset the tier points. If set true, the tier point balance will be 0. The default is false.
       * 
* * bool resetTierPoints = 9; * @param value The resetTierPoints to set. * @return This builder for chaining. */ public Builder setResetTierPoints(boolean value) { resetTierPoints_ = value; onChanged(); return this; } /** *
       * Reset the tier points. If set true, the tier point balance will be 0. The default is false.
       * 
* * bool resetTierPoints = 9; * @return This builder for chaining. */ public Builder clearResetTierPoints() { resetTierPoints_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:members.SetPointsRequest) } // @@protoc_insertion_point(class_scope:members.SetPointsRequest) private static final com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest(); } public static com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SetPointsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SetPointsRequest(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.MemberOuterClass.SetPointsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MemberCheckInOutRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:members.MemberCheckInOutRequest) com.google.protobuf.MessageOrBuilder { /** *
     * PassKit generated member ID (22 characters). Required if externalMemberId and programId are not provided.
     * 
* * string memberId = 1; * @return The memberId. */ java.lang.String getMemberId(); /** *
     * PassKit generated member ID (22 characters). Required if externalMemberId and programId are not provided.
     * 
* * string memberId = 1; * @return The bytes for memberId. */ com.google.protobuf.ByteString getMemberIdBytes(); /** *
     * External member ID. Required if id is not provided.
     * 
* * string externalMemberId = 2; * @return The externalMemberId. */ java.lang.String getExternalMemberId(); /** *
     * External member ID. Required if id is not provided.
     * 
* * string externalMemberId = 2; * @return The bytes for externalMemberId. */ com.google.protobuf.ByteString getExternalMemberIdBytes(); /** *
     * Program ID which member belongs to. Required if id is not provided.
     * 
* * string programId = 3; * @return The programId. */ java.lang.String getProgramId(); /** *
     * Program ID which member belongs to. Required if id is not provided.
     * 
* * string programId = 3; * @return The bytes for programId. */ com.google.protobuf.ByteString getProgramIdBytes(); /** *
     * 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 externalEventId = 8; * @return The externalEventId. */ java.lang.String getExternalEventId(); /** *
     * External unique ID of the event.
     * 
* * string externalEventId = 8; * @return The bytes for externalEventId. */ com.google.protobuf.ByteString getExternalEventIdBytes(); /** *
     * External device ID of the device that was used to capture the event (for example when using an external scanning app).
     * 
* * string externalDeviceId = 9; * @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 = 9; * @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 = 10; * @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 = 10; * @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 = 11; */ 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 = 11; */ 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 = 11; */ 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 = 11; */ 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 = 11; */ java.lang.String getMetaDataOrThrow( java.lang.String key); /** *
     * Any relevant notes for the event.
     * 
* * string notes = 12; * @return The notes. */ java.lang.String getNotes(); /** *
     * Any relevant notes for the event.
     * 
* * string notes = 12; * @return The bytes for notes. */ com.google.protobuf.ByteString getNotesBytes(); } /** * Protobuf type {@code members.MemberCheckInOutRequest} */ public static final class MemberCheckInOutRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:members.MemberCheckInOutRequest) MemberCheckInOutRequestOrBuilder { private static final long serialVersionUID = 0L; // Use MemberCheckInOutRequest.newBuilder() to construct. private MemberCheckInOutRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MemberCheckInOutRequest() { memberId_ = ""; externalMemberId_ = ""; programId_ = ""; address_ = ""; externalEventId_ = ""; externalDeviceId_ = ""; externalServiceId_ = ""; notes_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MemberCheckInOutRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MemberCheckInOutRequest( 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(); memberId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); externalMemberId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); programId_ = s; 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(); externalEventId_ = s; break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); externalDeviceId_ = s; break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); externalServiceId_ = s; break; } case 90: { 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 98: { java.lang.String s = input.readStringRequireUtf8(); notes_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberCheckInOutRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 11: 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.MemberOuterClass.internal_static_members_MemberCheckInOutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest.class, com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest.Builder.class); } public static final int MEMBERID_FIELD_NUMBER = 1; private volatile java.lang.Object memberId_; /** *
     * PassKit generated member ID (22 characters). Required if externalMemberId and programId are not provided.
     * 
* * string memberId = 1; * @return The memberId. */ @java.lang.Override public java.lang.String getMemberId() { java.lang.Object ref = memberId_; 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(); memberId_ = s; return s; } } /** *
     * PassKit generated member ID (22 characters). Required if externalMemberId and programId are not provided.
     * 
* * string memberId = 1; * @return The bytes for memberId. */ @java.lang.Override public com.google.protobuf.ByteString getMemberIdBytes() { java.lang.Object ref = memberId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); memberId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXTERNALMEMBERID_FIELD_NUMBER = 2; private volatile java.lang.Object externalMemberId_; /** *
     * External member ID. Required if id is not provided.
     * 
* * string externalMemberId = 2; * @return The externalMemberId. */ @java.lang.Override public java.lang.String getExternalMemberId() { java.lang.Object ref = externalMemberId_; 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(); externalMemberId_ = s; return s; } } /** *
     * External member ID. Required if id is not provided.
     * 
* * string externalMemberId = 2; * @return The bytes for externalMemberId. */ @java.lang.Override public com.google.protobuf.ByteString getExternalMemberIdBytes() { java.lang.Object ref = externalMemberId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalMemberId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROGRAMID_FIELD_NUMBER = 3; private volatile java.lang.Object programId_; /** *
     * Program ID which member belongs to. Required if id is not provided.
     * 
* * string programId = 3; * @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; } } /** *
     * Program ID which member belongs to. Required if id is not provided.
     * 
* * string programId = 3; * @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 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 EXTERNALEVENTID_FIELD_NUMBER = 8; private volatile java.lang.Object externalEventId_; /** *
     * External unique ID of the event.
     * 
* * string externalEventId = 8; * @return The externalEventId. */ @java.lang.Override public java.lang.String getExternalEventId() { java.lang.Object ref = externalEventId_; 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(); externalEventId_ = s; return s; } } /** *
     * External unique ID of the event.
     * 
* * string externalEventId = 8; * @return The bytes for externalEventId. */ @java.lang.Override public com.google.protobuf.ByteString getExternalEventIdBytes() { java.lang.Object ref = externalEventId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalEventId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXTERNALDEVICEID_FIELD_NUMBER = 9; 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 = 9; * @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 = 9; * @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 = 10; 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 = 10; * @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 = 10; * @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 = 11; 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.MemberOuterClass.internal_static_members_MemberCheckInOutRequest_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 = 11; */ @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 = 11; */ @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 = 11; */ @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 = 11; */ @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 = 12; private volatile java.lang.Object notes_; /** *
     * Any relevant notes for the event.
     * 
* * string notes = 12; * @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 = 12; * @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; } } 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 (!getMemberIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, memberId_); } if (!getExternalMemberIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, externalMemberId_); } if (!getProgramIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, programId_); } 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 (!getExternalEventIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, externalEventId_); } if (!getExternalDeviceIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, externalDeviceId_); } if (!getExternalServiceIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, externalServiceId_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetaData(), MetaDataDefaultEntryHolder.defaultEntry, 11); if (!getNotesBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, notes_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getMemberIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, memberId_); } if (!getExternalMemberIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, externalMemberId_); } if (!getProgramIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, programId_); } 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 (!getExternalEventIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, externalEventId_); } if (!getExternalDeviceIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, externalDeviceId_); } if (!getExternalServiceIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, 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(11, metaData__); } if (!getNotesBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, notes_); } 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.MemberOuterClass.MemberCheckInOutRequest)) { return super.equals(obj); } com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest other = (com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest) obj; if (!getMemberId() .equals(other.getMemberId())) return false; if (!getExternalMemberId() .equals(other.getExternalMemberId())) return false; if (!getProgramId() .equals(other.getProgramId())) 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 (!getExternalEventId() .equals(other.getExternalEventId())) 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 (!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) + MEMBERID_FIELD_NUMBER; hash = (53 * hash) + getMemberId().hashCode(); hash = (37 * hash) + EXTERNALMEMBERID_FIELD_NUMBER; hash = (53 * hash) + getExternalMemberId().hashCode(); hash = (37 * hash) + PROGRAMID_FIELD_NUMBER; hash = (53 * hash) + getProgramId().hashCode(); 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) + EXTERNALEVENTID_FIELD_NUMBER; hash = (53 * hash) + getExternalEventId().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(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest 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.MemberOuterClass.MemberCheckInOutRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest 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.MemberOuterClass.MemberCheckInOutRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest 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.MemberOuterClass.MemberCheckInOutRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest 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.MemberOuterClass.MemberCheckInOutRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest 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.MemberOuterClass.MemberCheckInOutRequest 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.MemberCheckInOutRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:members.MemberCheckInOutRequest) com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberCheckInOutRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 11: return internalGetMetaData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 11: 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.MemberOuterClass.internal_static_members_MemberCheckInOutRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest.class, com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest.Builder.class); } // Construct using com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest.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(); memberId_ = ""; externalMemberId_ = ""; programId_ = ""; address_ = ""; lat_ = 0D; lon_ = 0D; alt_ = 0; externalEventId_ = ""; externalDeviceId_ = ""; externalServiceId_ = ""; internalGetMutableMetaData().clear(); notes_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_MemberCheckInOutRequest_descriptor; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest getDefaultInstanceForType() { return com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest build() { com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest buildPartial() { com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest result = new com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest(this); int from_bitField0_ = bitField0_; result.memberId_ = memberId_; result.externalMemberId_ = externalMemberId_; result.programId_ = programId_; result.address_ = address_; result.lat_ = lat_; result.lon_ = lon_; result.alt_ = alt_; result.externalEventId_ = externalEventId_; result.externalDeviceId_ = externalDeviceId_; result.externalServiceId_ = externalServiceId_; result.metaData_ = internalGetMetaData(); result.metaData_.makeImmutable(); result.notes_ = notes_; 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.MemberOuterClass.MemberCheckInOutRequest) { return mergeFrom((com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest other) { if (other == com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest.getDefaultInstance()) return this; if (!other.getMemberId().isEmpty()) { memberId_ = other.memberId_; onChanged(); } if (!other.getExternalMemberId().isEmpty()) { externalMemberId_ = other.externalMemberId_; onChanged(); } if (!other.getProgramId().isEmpty()) { programId_ = other.programId_; onChanged(); } 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.getExternalEventId().isEmpty()) { externalEventId_ = other.externalEventId_; 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(); } 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.MemberOuterClass.MemberCheckInOutRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object memberId_ = ""; /** *
       * PassKit generated member ID (22 characters). Required if externalMemberId and programId are not provided.
       * 
* * string memberId = 1; * @return The memberId. */ public java.lang.String getMemberId() { java.lang.Object ref = memberId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); memberId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * PassKit generated member ID (22 characters). Required if externalMemberId and programId are not provided.
       * 
* * string memberId = 1; * @return The bytes for memberId. */ public com.google.protobuf.ByteString getMemberIdBytes() { java.lang.Object ref = memberId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); memberId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * PassKit generated member ID (22 characters). Required if externalMemberId and programId are not provided.
       * 
* * string memberId = 1; * @param value The memberId to set. * @return This builder for chaining. */ public Builder setMemberId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } memberId_ = value; onChanged(); return this; } /** *
       * PassKit generated member ID (22 characters). Required if externalMemberId and programId are not provided.
       * 
* * string memberId = 1; * @return This builder for chaining. */ public Builder clearMemberId() { memberId_ = getDefaultInstance().getMemberId(); onChanged(); return this; } /** *
       * PassKit generated member ID (22 characters). Required if externalMemberId and programId are not provided.
       * 
* * string memberId = 1; * @param value The bytes for memberId to set. * @return This builder for chaining. */ public Builder setMemberIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); memberId_ = value; onChanged(); return this; } private java.lang.Object externalMemberId_ = ""; /** *
       * External member ID. Required if id is not provided.
       * 
* * string externalMemberId = 2; * @return The externalMemberId. */ public java.lang.String getExternalMemberId() { java.lang.Object ref = externalMemberId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalMemberId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * External member ID. Required if id is not provided.
       * 
* * string externalMemberId = 2; * @return The bytes for externalMemberId. */ public com.google.protobuf.ByteString getExternalMemberIdBytes() { java.lang.Object ref = externalMemberId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalMemberId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * External member ID. Required if id is not provided.
       * 
* * string externalMemberId = 2; * @param value The externalMemberId to set. * @return This builder for chaining. */ public Builder setExternalMemberId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } externalMemberId_ = value; onChanged(); return this; } /** *
       * External member ID. Required if id is not provided.
       * 
* * string externalMemberId = 2; * @return This builder for chaining. */ public Builder clearExternalMemberId() { externalMemberId_ = getDefaultInstance().getExternalMemberId(); onChanged(); return this; } /** *
       * External member ID. Required if id is not provided.
       * 
* * string externalMemberId = 2; * @param value The bytes for externalMemberId to set. * @return This builder for chaining. */ public Builder setExternalMemberIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); externalMemberId_ = value; onChanged(); return this; } private java.lang.Object programId_ = ""; /** *
       * Program ID which member belongs to. Required if id is not provided.
       * 
* * string programId = 3; * @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; } } /** *
       * Program ID which member belongs to. Required if id is not provided.
       * 
* * string programId = 3; * @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; } } /** *
       * Program ID which member belongs to. Required if id is not provided.
       * 
* * string programId = 3; * @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; } /** *
       * Program ID which member belongs to. Required if id is not provided.
       * 
* * string programId = 3; * @return This builder for chaining. */ public Builder clearProgramId() { programId_ = getDefaultInstance().getProgramId(); onChanged(); return this; } /** *
       * Program ID which member belongs to. Required if id is not provided.
       * 
* * string programId = 3; * @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 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 externalEventId_ = ""; /** *
       * External unique ID of the event.
       * 
* * string externalEventId = 8; * @return The externalEventId. */ public java.lang.String getExternalEventId() { java.lang.Object ref = externalEventId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalEventId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * External unique ID of the event.
       * 
* * string externalEventId = 8; * @return The bytes for externalEventId. */ public com.google.protobuf.ByteString getExternalEventIdBytes() { java.lang.Object ref = externalEventId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalEventId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * External unique ID of the event.
       * 
* * string externalEventId = 8; * @param value The externalEventId to set. * @return This builder for chaining. */ public Builder setExternalEventId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } externalEventId_ = value; onChanged(); return this; } /** *
       * External unique ID of the event.
       * 
* * string externalEventId = 8; * @return This builder for chaining. */ public Builder clearExternalEventId() { externalEventId_ = getDefaultInstance().getExternalEventId(); onChanged(); return this; } /** *
       * External unique ID of the event.
       * 
* * string externalEventId = 8; * @param value The bytes for externalEventId to set. * @return This builder for chaining. */ public Builder setExternalEventIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); externalEventId_ = 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 = 9; * @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 = 9; * @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 = 9; * @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 = 9; * @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 = 9; * @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 = 10; * @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 = 10; * @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 = 10; * @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 = 10; * @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 = 10; * @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 = 11; */ @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 = 11; */ @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 = 11; */ @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 = 11; */ @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 = 11; */ 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 = 11; */ 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 = 11; */ 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 = 12; * @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 = 12; * @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 = 12; * @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 = 12; * @return This builder for chaining. */ public Builder clearNotes() { notes_ = getDefaultInstance().getNotes(); onChanged(); return this; } /** *
       * Any relevant notes for the event.
       * 
* * string notes = 12; * @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; } @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.MemberCheckInOutRequest) } // @@protoc_insertion_point(class_scope:members.MemberCheckInOutRequest) private static final com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest(); } public static com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MemberCheckInOutRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MemberCheckInOutRequest(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.MemberOuterClass.MemberCheckInOutRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListRequestDeprecatedOrBuilder extends // @@protoc_insertion_point(interface_extends:members.ListRequestDeprecated) com.google.protobuf.MessageOrBuilder { /** * string programId = 1; * @return The programId. */ java.lang.String getProgramId(); /** * string programId = 1; * @return The bytes for programId. */ com.google.protobuf.ByteString getProgramIdBytes(); /** * .io.Pagination pagination = 2; * @return Whether the pagination field is set. */ boolean hasPagination(); /** * .io.Pagination pagination = 2; * @return The pagination. */ com.passkit.grpc.PaginationOuterClass.Pagination getPagination(); /** * .io.Pagination pagination = 2; */ com.passkit.grpc.PaginationOuterClass.PaginationOrBuilder getPaginationOrBuilder(); } /** * Protobuf type {@code members.ListRequestDeprecated} */ public static final class ListRequestDeprecated extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:members.ListRequestDeprecated) ListRequestDeprecatedOrBuilder { private static final long serialVersionUID = 0L; // Use ListRequestDeprecated.newBuilder() to construct. private ListRequestDeprecated(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListRequestDeprecated() { programId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListRequestDeprecated(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListRequestDeprecated( 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(); programId_ = s; break; } case 18: { com.passkit.grpc.PaginationOuterClass.Pagination.Builder subBuilder = null; if (pagination_ != null) { subBuilder = pagination_.toBuilder(); } pagination_ = input.readMessage(com.passkit.grpc.PaginationOuterClass.Pagination.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pagination_); pagination_ = 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.MemberOuterClass.internal_static_members_ListRequestDeprecated_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_ListRequestDeprecated_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated.class, com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated.Builder.class); } public static final int PROGRAMID_FIELD_NUMBER = 1; private volatile java.lang.Object programId_; /** * string programId = 1; * @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; } } /** * string programId = 1; * @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 PAGINATION_FIELD_NUMBER = 2; private com.passkit.grpc.PaginationOuterClass.Pagination pagination_; /** * .io.Pagination pagination = 2; * @return Whether the pagination field is set. */ @java.lang.Override public boolean hasPagination() { return pagination_ != null; } /** * .io.Pagination pagination = 2; * @return The pagination. */ @java.lang.Override public com.passkit.grpc.PaginationOuterClass.Pagination getPagination() { return pagination_ == null ? com.passkit.grpc.PaginationOuterClass.Pagination.getDefaultInstance() : pagination_; } /** * .io.Pagination pagination = 2; */ @java.lang.Override public com.passkit.grpc.PaginationOuterClass.PaginationOrBuilder getPaginationOrBuilder() { return getPagination(); } 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 (!getProgramIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, programId_); } if (pagination_ != null) { output.writeMessage(2, getPagination()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getProgramIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, programId_); } if (pagination_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPagination()); } 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.MemberOuterClass.ListRequestDeprecated)) { return super.equals(obj); } com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated other = (com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated) obj; if (!getProgramId() .equals(other.getProgramId())) return false; if (hasPagination() != other.hasPagination()) return false; if (hasPagination()) { if (!getPagination() .equals(other.getPagination())) 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) + PROGRAMID_FIELD_NUMBER; hash = (53 * hash) + getProgramId().hashCode(); if (hasPagination()) { hash = (37 * hash) + PAGINATION_FIELD_NUMBER; hash = (53 * hash) + getPagination().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated 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.MemberOuterClass.ListRequestDeprecated parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated 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.MemberOuterClass.ListRequestDeprecated parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated 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.MemberOuterClass.ListRequestDeprecated parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated 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.MemberOuterClass.ListRequestDeprecated parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated 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.MemberOuterClass.ListRequestDeprecated 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.ListRequestDeprecated} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:members.ListRequestDeprecated) com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecatedOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_ListRequestDeprecated_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_ListRequestDeprecated_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated.class, com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated.Builder.class); } // Construct using com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated.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(); programId_ = ""; if (paginationBuilder_ == null) { pagination_ = null; } else { pagination_ = null; paginationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_ListRequestDeprecated_descriptor; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated getDefaultInstanceForType() { return com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated build() { com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated buildPartial() { com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated result = new com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated(this); result.programId_ = programId_; if (paginationBuilder_ == null) { result.pagination_ = pagination_; } else { result.pagination_ = paginationBuilder_.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.MemberOuterClass.ListRequestDeprecated) { return mergeFrom((com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated other) { if (other == com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated.getDefaultInstance()) return this; if (!other.getProgramId().isEmpty()) { programId_ = other.programId_; onChanged(); } if (other.hasPagination()) { mergePagination(other.getPagination()); } 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.MemberOuterClass.ListRequestDeprecated parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object programId_ = ""; /** * string programId = 1; * @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; } } /** * string programId = 1; * @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; } } /** * string programId = 1; * @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; } /** * string programId = 1; * @return This builder for chaining. */ public Builder clearProgramId() { programId_ = getDefaultInstance().getProgramId(); onChanged(); return this; } /** * string programId = 1; * @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.PaginationOuterClass.Pagination pagination_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PaginationOuterClass.Pagination, com.passkit.grpc.PaginationOuterClass.Pagination.Builder, com.passkit.grpc.PaginationOuterClass.PaginationOrBuilder> paginationBuilder_; /** * .io.Pagination pagination = 2; * @return Whether the pagination field is set. */ public boolean hasPagination() { return paginationBuilder_ != null || pagination_ != null; } /** * .io.Pagination pagination = 2; * @return The pagination. */ public com.passkit.grpc.PaginationOuterClass.Pagination getPagination() { if (paginationBuilder_ == null) { return pagination_ == null ? com.passkit.grpc.PaginationOuterClass.Pagination.getDefaultInstance() : pagination_; } else { return paginationBuilder_.getMessage(); } } /** * .io.Pagination pagination = 2; */ public Builder setPagination(com.passkit.grpc.PaginationOuterClass.Pagination value) { if (paginationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pagination_ = value; onChanged(); } else { paginationBuilder_.setMessage(value); } return this; } /** * .io.Pagination pagination = 2; */ public Builder setPagination( com.passkit.grpc.PaginationOuterClass.Pagination.Builder builderForValue) { if (paginationBuilder_ == null) { pagination_ = builderForValue.build(); onChanged(); } else { paginationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .io.Pagination pagination = 2; */ public Builder mergePagination(com.passkit.grpc.PaginationOuterClass.Pagination value) { if (paginationBuilder_ == null) { if (pagination_ != null) { pagination_ = com.passkit.grpc.PaginationOuterClass.Pagination.newBuilder(pagination_).mergeFrom(value).buildPartial(); } else { pagination_ = value; } onChanged(); } else { paginationBuilder_.mergeFrom(value); } return this; } /** * .io.Pagination pagination = 2; */ public Builder clearPagination() { if (paginationBuilder_ == null) { pagination_ = null; onChanged(); } else { pagination_ = null; paginationBuilder_ = null; } return this; } /** * .io.Pagination pagination = 2; */ public com.passkit.grpc.PaginationOuterClass.Pagination.Builder getPaginationBuilder() { onChanged(); return getPaginationFieldBuilder().getBuilder(); } /** * .io.Pagination pagination = 2; */ public com.passkit.grpc.PaginationOuterClass.PaginationOrBuilder getPaginationOrBuilder() { if (paginationBuilder_ != null) { return paginationBuilder_.getMessageOrBuilder(); } else { return pagination_ == null ? com.passkit.grpc.PaginationOuterClass.Pagination.getDefaultInstance() : pagination_; } } /** * .io.Pagination pagination = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PaginationOuterClass.Pagination, com.passkit.grpc.PaginationOuterClass.Pagination.Builder, com.passkit.grpc.PaginationOuterClass.PaginationOrBuilder> getPaginationFieldBuilder() { if (paginationBuilder_ == null) { paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.PaginationOuterClass.Pagination, com.passkit.grpc.PaginationOuterClass.Pagination.Builder, com.passkit.grpc.PaginationOuterClass.PaginationOrBuilder>( getPagination(), getParentForChildren(), isClean()); pagination_ = null; } return paginationBuilder_; } @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.ListRequestDeprecated) } // @@protoc_insertion_point(class_scope:members.ListRequestDeprecated) private static final com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated(); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListRequestDeprecated parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListRequestDeprecated(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.MemberOuterClass.ListRequestDeprecated getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:members.ListRequest) com.google.protobuf.MessageOrBuilder { /** * string programId = 1; * @return The programId. */ java.lang.String getProgramId(); /** * string programId = 1; * @return The bytes for programId. */ com.google.protobuf.ByteString getProgramIdBytes(); /** * .io.Filters filters = 2; * @return Whether the filters field is set. */ boolean hasFilters(); /** * .io.Filters filters = 2; * @return The filters. */ com.passkit.grpc.Filter.Filters getFilters(); /** * .io.Filters filters = 2; */ com.passkit.grpc.Filter.FiltersOrBuilder getFiltersOrBuilder(); /** * bool emailAsCsv = 3; * @return The emailAsCsv. */ boolean getEmailAsCsv(); } /** * Protobuf type {@code members.ListRequest} */ public static final class ListRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:members.ListRequest) ListRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListRequest.newBuilder() to construct. private ListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListRequest() { programId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListRequest( 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(); programId_ = s; break; } case 18: { com.passkit.grpc.Filter.Filters.Builder subBuilder = null; if (filters_ != null) { subBuilder = filters_.toBuilder(); } filters_ = input.readMessage(com.passkit.grpc.Filter.Filters.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(filters_); filters_ = subBuilder.buildPartial(); } break; } case 24: { emailAsCsv_ = input.readBool(); 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.MemberOuterClass.internal_static_members_ListRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_ListRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.ListRequest.class, com.passkit.grpc.Members.MemberOuterClass.ListRequest.Builder.class); } public static final int PROGRAMID_FIELD_NUMBER = 1; private volatile java.lang.Object programId_; /** * string programId = 1; * @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; } } /** * string programId = 1; * @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 FILTERS_FIELD_NUMBER = 2; private com.passkit.grpc.Filter.Filters filters_; /** * .io.Filters filters = 2; * @return Whether the filters field is set. */ @java.lang.Override public boolean hasFilters() { return filters_ != null; } /** * .io.Filters filters = 2; * @return The filters. */ @java.lang.Override public com.passkit.grpc.Filter.Filters getFilters() { return filters_ == null ? com.passkit.grpc.Filter.Filters.getDefaultInstance() : filters_; } /** * .io.Filters filters = 2; */ @java.lang.Override public com.passkit.grpc.Filter.FiltersOrBuilder getFiltersOrBuilder() { return getFilters(); } public static final int EMAILASCSV_FIELD_NUMBER = 3; private boolean emailAsCsv_; /** * bool emailAsCsv = 3; * @return The emailAsCsv. */ @java.lang.Override public boolean getEmailAsCsv() { return emailAsCsv_; } 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 (!getProgramIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, programId_); } if (filters_ != null) { output.writeMessage(2, getFilters()); } if (emailAsCsv_ != false) { output.writeBool(3, emailAsCsv_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getProgramIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, programId_); } if (filters_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getFilters()); } if (emailAsCsv_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, emailAsCsv_); } 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.MemberOuterClass.ListRequest)) { return super.equals(obj); } com.passkit.grpc.Members.MemberOuterClass.ListRequest other = (com.passkit.grpc.Members.MemberOuterClass.ListRequest) obj; if (!getProgramId() .equals(other.getProgramId())) return false; if (hasFilters() != other.hasFilters()) return false; if (hasFilters()) { if (!getFilters() .equals(other.getFilters())) return false; } if (getEmailAsCsv() != other.getEmailAsCsv()) 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) + PROGRAMID_FIELD_NUMBER; hash = (53 * hash) + getProgramId().hashCode(); if (hasFilters()) { hash = (37 * hash) + FILTERS_FIELD_NUMBER; hash = (53 * hash) + getFilters().hashCode(); } hash = (37 * hash) + EMAILASCSV_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEmailAsCsv()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.Members.MemberOuterClass.ListRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequest 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.MemberOuterClass.ListRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequest 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.MemberOuterClass.ListRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequest 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.MemberOuterClass.ListRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequest 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.MemberOuterClass.ListRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequest 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.MemberOuterClass.ListRequest 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.ListRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:members.ListRequest) com.passkit.grpc.Members.MemberOuterClass.ListRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_ListRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_ListRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.Members.MemberOuterClass.ListRequest.class, com.passkit.grpc.Members.MemberOuterClass.ListRequest.Builder.class); } // Construct using com.passkit.grpc.Members.MemberOuterClass.ListRequest.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(); programId_ = ""; if (filtersBuilder_ == null) { filters_ = null; } else { filters_ = null; filtersBuilder_ = null; } emailAsCsv_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.Members.MemberOuterClass.internal_static_members_ListRequest_descriptor; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.ListRequest getDefaultInstanceForType() { return com.passkit.grpc.Members.MemberOuterClass.ListRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.ListRequest build() { com.passkit.grpc.Members.MemberOuterClass.ListRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.Members.MemberOuterClass.ListRequest buildPartial() { com.passkit.grpc.Members.MemberOuterClass.ListRequest result = new com.passkit.grpc.Members.MemberOuterClass.ListRequest(this); result.programId_ = programId_; if (filtersBuilder_ == null) { result.filters_ = filters_; } else { result.filters_ = filtersBuilder_.build(); } result.emailAsCsv_ = emailAsCsv_; 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.MemberOuterClass.ListRequest) { return mergeFrom((com.passkit.grpc.Members.MemberOuterClass.ListRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.Members.MemberOuterClass.ListRequest other) { if (other == com.passkit.grpc.Members.MemberOuterClass.ListRequest.getDefaultInstance()) return this; if (!other.getProgramId().isEmpty()) { programId_ = other.programId_; onChanged(); } if (other.hasFilters()) { mergeFilters(other.getFilters()); } if (other.getEmailAsCsv() != false) { setEmailAsCsv(other.getEmailAsCsv()); } 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.MemberOuterClass.ListRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.Members.MemberOuterClass.ListRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object programId_ = ""; /** * string programId = 1; * @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; } } /** * string programId = 1; * @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; } } /** * string programId = 1; * @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; } /** * string programId = 1; * @return This builder for chaining. */ public Builder clearProgramId() { programId_ = getDefaultInstance().getProgramId(); onChanged(); return this; } /** * string programId = 1; * @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.Filter.Filters filters_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Filter.Filters, com.passkit.grpc.Filter.Filters.Builder, com.passkit.grpc.Filter.FiltersOrBuilder> filtersBuilder_; /** * .io.Filters filters = 2; * @return Whether the filters field is set. */ public boolean hasFilters() { return filtersBuilder_ != null || filters_ != null; } /** * .io.Filters filters = 2; * @return The filters. */ public com.passkit.grpc.Filter.Filters getFilters() { if (filtersBuilder_ == null) { return filters_ == null ? com.passkit.grpc.Filter.Filters.getDefaultInstance() : filters_; } else { return filtersBuilder_.getMessage(); } } /** * .io.Filters filters = 2; */ public Builder setFilters(com.passkit.grpc.Filter.Filters value) { if (filtersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filters_ = value; onChanged(); } else { filtersBuilder_.setMessage(value); } return this; } /** * .io.Filters filters = 2; */ public Builder setFilters( com.passkit.grpc.Filter.Filters.Builder builderForValue) { if (filtersBuilder_ == null) { filters_ = builderForValue.build(); onChanged(); } else { filtersBuilder_.setMessage(builderForValue.build()); } return this; } /** * .io.Filters filters = 2; */ public Builder mergeFilters(com.passkit.grpc.Filter.Filters value) { if (filtersBuilder_ == null) { if (filters_ != null) { filters_ = com.passkit.grpc.Filter.Filters.newBuilder(filters_).mergeFrom(value).buildPartial(); } else { filters_ = value; } onChanged(); } else { filtersBuilder_.mergeFrom(value); } return this; } /** * .io.Filters filters = 2; */ public Builder clearFilters() { if (filtersBuilder_ == null) { filters_ = null; onChanged(); } else { filters_ = null; filtersBuilder_ = null; } return this; } /** * .io.Filters filters = 2; */ public com.passkit.grpc.Filter.Filters.Builder getFiltersBuilder() { onChanged(); return getFiltersFieldBuilder().getBuilder(); } /** * .io.Filters filters = 2; */ public com.passkit.grpc.Filter.FiltersOrBuilder getFiltersOrBuilder() { if (filtersBuilder_ != null) { return filtersBuilder_.getMessageOrBuilder(); } else { return filters_ == null ? com.passkit.grpc.Filter.Filters.getDefaultInstance() : filters_; } } /** * .io.Filters filters = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Filter.Filters, com.passkit.grpc.Filter.Filters.Builder, com.passkit.grpc.Filter.FiltersOrBuilder> getFiltersFieldBuilder() { if (filtersBuilder_ == null) { filtersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Filter.Filters, com.passkit.grpc.Filter.Filters.Builder, com.passkit.grpc.Filter.FiltersOrBuilder>( getFilters(), getParentForChildren(), isClean()); filters_ = null; } return filtersBuilder_; } private boolean emailAsCsv_ ; /** * bool emailAsCsv = 3; * @return The emailAsCsv. */ @java.lang.Override public boolean getEmailAsCsv() { return emailAsCsv_; } /** * bool emailAsCsv = 3; * @param value The emailAsCsv to set. * @return This builder for chaining. */ public Builder setEmailAsCsv(boolean value) { emailAsCsv_ = value; onChanged(); return this; } /** * bool emailAsCsv = 3; * @return This builder for chaining. */ public Builder clearEmailAsCsv() { emailAsCsv_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:members.ListRequest) } // @@protoc_insertion_point(class_scope:members.ListRequest) private static final com.passkit.grpc.Members.MemberOuterClass.ListRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.Members.MemberOuterClass.ListRequest(); } public static com.passkit.grpc.Members.MemberOuterClass.ListRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListRequest(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.MemberOuterClass.ListRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_Member_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_Member_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_Member_MetaDataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_Member_MetaDataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_MemberRecordByExternalIdRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_MemberRecordByExternalIdRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_MemberSegmentRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_MemberSegmentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_UpdateExpiryRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_UpdateExpiryRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_MemberExpiry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_MemberExpiry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_MemberPoints_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_MemberPoints_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_EarnBurnPointsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_EarnBurnPointsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_SetPointsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_SetPointsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_MemberCheckInOutRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_MemberCheckInOutRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_MemberCheckInOutRequest_MetaDataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_MemberCheckInOutRequest_MetaDataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_ListRequestDeprecated_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_ListRequestDeprecated_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_members_ListRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_members_ListRequest_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\026io/member/member.proto\022\007members\032\037googl" + "e/protobuf/timestamp.proto\032\031io/common/pr" + "oximity.proto\032\027io/common/message.proto\032\027" + "io/common/metrics.proto\032\024io/common/note." + "proto\032\032io/common/pagination.proto\032\026io/co" + "mmon/filter.proto\032\024io/common/pass.proto\032" + "\030io/common/personal.proto\032\026io/common/exp" + "iry.proto\032.protoc-gen-openapiv2/options/" + "annotations.proto\"\264\007\n\006Member\022\n\n\002id\030\001 \001(\t" + "\022\022\n\nexternalId\030\002 \001(\t\022\032\n\022groupingIdentifi" + "er\030\003 \001(\t\022\016\n\006tierId\030\004 \001(\t\022\021\n\tprogramId\030\005 " + "\001(\t\022\032\n\006person\030\006 \001(\0132\n.io.Person\022/\n\010metaD" + "ata\030\007 \003(\0132\035.members.Member.MetaDataEntry" + "\022\016\n\006optOut\030\r \001(\010\022\016\n\006points\030\016 \001(\002\022\027\n\017seco" + "ndaryPoints\030\017 \001(\002\022\022\n\ntierPoints\030\020 \001(\r\022.\n" + "\nexpiryDate\030\022 \001(\0132\032.google.protobuf.Time" + "stamp\022%\n\006status\030\023 \001(\0162\025.members.MemberSt" + "atus\022(\n\rpassOverrides\030\024 \001(\0132\021.io.PassOve" + "rrides\022\"\n\014passMetaData\030\025 \001(\0132\014.io.Metada" + "ta\022\027\n\005notes\030\032 \003(\0132\010.io.Note\0226\n\022currentTi" + "erAwarded\030\033 \001(\0132\032.google.protobuf.Timest" + "amp\0226\n\022currentTierExpires\030\034 \001(\0132\032.google" + ".protobuf.Timestamp\022+\n\007created\030\035 \001(\0132\032.g" + "oogle.protobuf.Timestamp\022+\n\007updated\030\036 \001(" + "\0132\032.google.protobuf.Timestamp\022\024\n\014profile" + "Image\030\037 \001(\t\032/\n\rMetaDataEntry\022\013\n\003key\030\001 \001(" + "\t\022\r\n\005value\030\002 \001(\t:\0028\001:\253\001\222A\247\001\n\244\001*\006Member2\204" + "\001Basic member information needs to be pr" + "ovided. Member information is deleted or" + " rendered unusable once the member recor" + "d is deleted.\322\001\006tierId\322\001\tprogramIdJ\004\010\010\020\t" + "J\004\010\t\020\nJ\004\010\n\020\013J\004\010\013\020\014J\004\010\014\020\rJ\004\010\026\020\027J\004\010\027\020\030J\004\010\030" + "\020\031J\004\010\031\020\032\"H\n\037MemberRecordByExternalIdRequ" + "est\022\021\n\tprogramId\030\001 \001(\t\022\022\n\nexternalId\030\002 \001" + "(\t\"V\n\024MemberSegmentRequest\022\032\n\006filter\030\001 \001" + "(\0132\n.io.Filter\022\"\n\tnewValues\030\002 \001(\0132\017.memb" + "ers.Member\"v\n\023UpdateExpiryRequest\022\021\n\tpro" + "gramId\030\001 \001(\t\022\016\n\006tierId\030\002 \001(\t\022*\n\016expirySe" + "ttings\030\003 \001(\0132\022.io.ExpirySettings\022\020\n\010time" + "zone\030\004 \001(\t\"q\n\014MemberExpiry\022\n\n\002id\030\001 \001(\t\022\022" + "\n\nexternalId\030\002 \001(\t\022\021\n\tprogramId\030\003 \001(\t\022.\n" + "\nexpiryDate\030\004 \001(\0132\032.google.protobuf.Time" + "stamp\"~\n\014MemberPoints\022\n\n\002id\030\001 \001(\t\022\022\n\next" + "ernalId\030\002 \001(\t\022\021\n\tprogramId\030\003 \001(\t\022\016\n\006poin" + "ts\030\004 \001(\002\022\027\n\017secondaryPoints\030\005 \001(\002\022\022\n\ntie" + "rPoints\030\006 \001(\r\"\207\001\n\025EarnBurnPointsRequest\022" + "\n\n\002id\030\001 \001(\t\022\022\n\nexternalId\030\002 \001(\t\022\021\n\tprogr" + "amId\030\003 \001(\t\022\016\n\006points\030\004 \001(\002\022\027\n\017secondaryP" + "oints\030\005 \001(\002\022\022\n\ntierPoints\030\006 \001(\r\"\316\001\n\020SetP" + "ointsRequest\022\n\n\002id\030\001 \001(\t\022\022\n\nexternalId\030\002" + " \001(\t\022\021\n\tprogramId\030\003 \001(\t\022\016\n\006points\030\004 \001(\002\022" + "\027\n\017secondaryPoints\030\005 \001(\002\022\022\n\ntierPoints\030\006" + " \001(\r\022\023\n\013resetPoints\030\007 \001(\010\022\034\n\024resetSecond" + "aryPoints\030\010 \001(\010\022\027\n\017resetTierPoints\030\t \001(\010" + "\"\340\002\n\027MemberCheckInOutRequest\022\020\n\010memberId" + "\030\001 \001(\t\022\030\n\020externalMemberId\030\002 \001(\t\022\021\n\tprog" + "ramId\030\003 \001(\t\022\017\n\007address\030\004 \001(\t\022\013\n\003lat\030\005 \001(" + "\001\022\013\n\003lon\030\006 \001(\001\022\013\n\003alt\030\007 \001(\005\022\027\n\017externalE" + "ventId\030\010 \001(\t\022\030\n\020externalDeviceId\030\t \001(\t\022\031" + "\n\021externalServiceId\030\n \001(\t\022@\n\010metaData\030\013 " + "\003(\0132..members.MemberCheckInOutRequest.Me" + "taDataEntry\022\r\n\005notes\030\014 \001(\t\032/\n\rMetaDataEn" + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"N\n\025L" + "istRequestDeprecated\022\021\n\tprogramId\030\001 \001(\t\022" + "\"\n\npagination\030\002 \001(\0132\016.io.Pagination\"R\n\013L" + "istRequest\022\021\n\tprogramId\030\001 \001(\t\022\034\n\007filters" + "\030\002 \001(\0132\013.io.Filters\022\022\n\nemailAsCsv\030\003 \001(\010*" + "c\n\014MemberStatus\022\014\n\010ENROLLED\020\000\022\n\n\006ACTIVE\020" + "\001\022\016\n\nCHECKED_IN\020\002\022\013\n\007EXPIRED\020\003\022\017\n\013CHECKE" + "D_OUT\020\004\022\013\n\007DELETED\020\005B_\n\030com.passkit.grpc" + ".MembersZ,stash.passkit.com/io/model/sdk" + "/go/io/members\252\002\024PassKit.Grpc.Membersb\006p" + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.TimestampProto.getDescriptor(), com.passkit.grpc.Proximity.getDescriptor(), com.passkit.grpc.MessageOuterClass.getDescriptor(), com.passkit.grpc.MetricsOuterClass.getDescriptor(), com.passkit.grpc.NoteOuterClass.getDescriptor(), com.passkit.grpc.PaginationOuterClass.getDescriptor(), com.passkit.grpc.Filter.getDescriptor(), com.passkit.grpc.PassOuterClass.getDescriptor(), com.passkit.grpc.Personal.getDescriptor(), com.passkit.grpc.Expiry.getDescriptor(), grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(), }); internal_static_members_Member_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_members_Member_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_Member_descriptor, new java.lang.String[] { "Id", "ExternalId", "GroupingIdentifier", "TierId", "ProgramId", "Person", "MetaData", "OptOut", "Points", "SecondaryPoints", "TierPoints", "ExpiryDate", "Status", "PassOverrides", "PassMetaData", "Notes", "CurrentTierAwarded", "CurrentTierExpires", "Created", "Updated", "ProfileImage", }); internal_static_members_Member_MetaDataEntry_descriptor = internal_static_members_Member_descriptor.getNestedTypes().get(0); internal_static_members_Member_MetaDataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_Member_MetaDataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_members_MemberRecordByExternalIdRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_members_MemberRecordByExternalIdRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_MemberRecordByExternalIdRequest_descriptor, new java.lang.String[] { "ProgramId", "ExternalId", }); internal_static_members_MemberSegmentRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_members_MemberSegmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_MemberSegmentRequest_descriptor, new java.lang.String[] { "Filter", "NewValues", }); internal_static_members_UpdateExpiryRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_members_UpdateExpiryRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_UpdateExpiryRequest_descriptor, new java.lang.String[] { "ProgramId", "TierId", "ExpirySettings", "Timezone", }); internal_static_members_MemberExpiry_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_members_MemberExpiry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_MemberExpiry_descriptor, new java.lang.String[] { "Id", "ExternalId", "ProgramId", "ExpiryDate", }); internal_static_members_MemberPoints_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_members_MemberPoints_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_MemberPoints_descriptor, new java.lang.String[] { "Id", "ExternalId", "ProgramId", "Points", "SecondaryPoints", "TierPoints", }); internal_static_members_EarnBurnPointsRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_members_EarnBurnPointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_EarnBurnPointsRequest_descriptor, new java.lang.String[] { "Id", "ExternalId", "ProgramId", "Points", "SecondaryPoints", "TierPoints", }); internal_static_members_SetPointsRequest_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_members_SetPointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_SetPointsRequest_descriptor, new java.lang.String[] { "Id", "ExternalId", "ProgramId", "Points", "SecondaryPoints", "TierPoints", "ResetPoints", "ResetSecondaryPoints", "ResetTierPoints", }); internal_static_members_MemberCheckInOutRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_members_MemberCheckInOutRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_MemberCheckInOutRequest_descriptor, new java.lang.String[] { "MemberId", "ExternalMemberId", "ProgramId", "Address", "Lat", "Lon", "Alt", "ExternalEventId", "ExternalDeviceId", "ExternalServiceId", "MetaData", "Notes", }); internal_static_members_MemberCheckInOutRequest_MetaDataEntry_descriptor = internal_static_members_MemberCheckInOutRequest_descriptor.getNestedTypes().get(0); internal_static_members_MemberCheckInOutRequest_MetaDataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_MemberCheckInOutRequest_MetaDataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_members_ListRequestDeprecated_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_members_ListRequestDeprecated_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_ListRequestDeprecated_descriptor, new java.lang.String[] { "ProgramId", "Pagination", }); internal_static_members_ListRequest_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_members_ListRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_members_ListRequest_descriptor, new java.lang.String[] { "ProgramId", "Filters", "EmailAsCsv", }); 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.Proximity.getDescriptor(); com.passkit.grpc.MessageOuterClass.getDescriptor(); com.passkit.grpc.MetricsOuterClass.getDescriptor(); com.passkit.grpc.NoteOuterClass.getDescriptor(); com.passkit.grpc.PaginationOuterClass.getDescriptor(); com.passkit.grpc.Filter.getDescriptor(); com.passkit.grpc.PassOuterClass.getDescriptor(); com.passkit.grpc.Personal.getDescriptor(); com.passkit.grpc.Expiry.getDescriptor(); grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy