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

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

Go to download

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

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

package com.passkit.grpc;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface PassOverridesOrBuilder extends
      // @@protoc_insertion_point(interface_extends:io.PassOverrides)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * Image ID's of images to override for this pass
     * 
* * .io.ImageIds imageIds = 1; * @return Whether the imageIds field is set. */ boolean hasImageIds(); /** *
     * Image ID's of images to override for this pass
     * 
* * .io.ImageIds imageIds = 1; * @return The imageIds. */ com.passkit.grpc.Image.ImageIds getImageIds(); /** *
     * Image ID's of images to override for this pass
     * 
* * .io.ImageIds imageIds = 1; */ com.passkit.grpc.Image.ImageIdsOrBuilder getImageIdsOrBuilder(); /** *
     * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ java.util.List getLocationsList(); /** *
     * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ com.passkit.grpc.Proximity.GPSLocation getLocations(int index); /** *
     * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ int getLocationsCount(); /** *
     * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ java.util.List getLocationsOrBuilderList(); /** *
     * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ com.passkit.grpc.Proximity.GPSLocationOrBuilder getLocationsOrBuilder( int index); /** *
     * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ java.util.List getBeaconsList(); /** *
     * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ com.passkit.grpc.Proximity.Beacon getBeacons(int index); /** *
     * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ int getBeaconsCount(); /** *
     * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ java.util.List getBeaconsOrBuilderList(); /** *
     * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ com.passkit.grpc.Proximity.BeaconOrBuilder getBeaconsOrBuilder( int index); /** *
     * A list of (personalized) links to be shown on the pass. Overrides any template level values.
     * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ java.util.List getLinksList(); /** *
     * A list of (personalized) links to be shown on the pass. Overrides any template level values.
     * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ com.passkit.grpc.Links.Link getLinks(int index); /** *
     * A list of (personalized) links to be shown on the pass. Overrides any template level values.
     * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ int getLinksCount(); /** *
     * A list of (personalized) links to be shown on the pass. Overrides any template level values.
     * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ java.util.List getLinksOrBuilderList(); /** *
     * A list of (personalized) links to be shown on the pass. Overrides any template level values.
     * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ com.passkit.grpc.Links.LinkOrBuilder getLinksOrBuilder( int index); /** *
     * stores custom pass colors
     * 
* * .io.Colors colors = 6; * @return Whether the colors field is set. */ boolean hasColors(); /** *
     * stores custom pass colors
     * 
* * .io.Colors colors = 6; * @return The colors. */ com.passkit.grpc.Template.Colors getColors(); /** *
     * stores custom pass colors
     * 
* * .io.Colors colors = 6; */ com.passkit.grpc.Template.ColorsOrBuilder getColorsOrBuilder(); } /** *
   * PassObject contains pass-object level details that are common across protocols.
   * 
* * Protobuf type {@code io.PassOverrides} */ public static final class PassOverrides extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.PassOverrides) PassOverridesOrBuilder { private static final long serialVersionUID = 0L; // Use PassOverrides.newBuilder() to construct. private PassOverrides(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PassOverrides() { locations_ = java.util.Collections.emptyList(); beacons_ = java.util.Collections.emptyList(); links_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PassOverrides(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PassOverrides( 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: { com.passkit.grpc.Image.ImageIds.Builder subBuilder = null; if (imageIds_ != null) { subBuilder = imageIds_.toBuilder(); } imageIds_ = input.readMessage(com.passkit.grpc.Image.ImageIds.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(imageIds_); imageIds_ = subBuilder.buildPartial(); } break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { locations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } locations_.add( input.readMessage(com.passkit.grpc.Proximity.GPSLocation.parser(), extensionRegistry)); break; } case 34: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { beacons_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } beacons_.add( input.readMessage(com.passkit.grpc.Proximity.Beacon.parser(), extensionRegistry)); break; } case 42: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { links_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } links_.add( input.readMessage(com.passkit.grpc.Links.Link.parser(), extensionRegistry)); break; } case 50: { com.passkit.grpc.Template.Colors.Builder subBuilder = null; if (colors_ != null) { subBuilder = colors_.toBuilder(); } colors_ = input.readMessage(com.passkit.grpc.Template.Colors.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(colors_); colors_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { locations_ = java.util.Collections.unmodifiableList(locations_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { beacons_ = java.util.Collections.unmodifiableList(beacons_); } if (((mutable_bitField0_ & 0x00000004) != 0)) { links_ = java.util.Collections.unmodifiableList(links_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.PassOuterClass.internal_static_io_PassOverrides_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.PassOuterClass.internal_static_io_PassOverrides_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.PassOuterClass.PassOverrides.class, com.passkit.grpc.PassOuterClass.PassOverrides.Builder.class); } public static final int IMAGEIDS_FIELD_NUMBER = 1; private com.passkit.grpc.Image.ImageIds imageIds_; /** *
     * Image ID's of images to override for this pass
     * 
* * .io.ImageIds imageIds = 1; * @return Whether the imageIds field is set. */ @java.lang.Override public boolean hasImageIds() { return imageIds_ != null; } /** *
     * Image ID's of images to override for this pass
     * 
* * .io.ImageIds imageIds = 1; * @return The imageIds. */ @java.lang.Override public com.passkit.grpc.Image.ImageIds getImageIds() { return imageIds_ == null ? com.passkit.grpc.Image.ImageIds.getDefaultInstance() : imageIds_; } /** *
     * Image ID's of images to override for this pass
     * 
* * .io.ImageIds imageIds = 1; */ @java.lang.Override public com.passkit.grpc.Image.ImageIdsOrBuilder getImageIdsOrBuilder() { return getImageIds(); } public static final int LOCATIONS_FIELD_NUMBER = 3; private java.util.List locations_; /** *
     * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public java.util.List getLocationsList() { return locations_; } /** *
     * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public java.util.List getLocationsOrBuilderList() { return locations_; } /** *
     * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public int getLocationsCount() { return locations_.size(); } /** *
     * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public com.passkit.grpc.Proximity.GPSLocation getLocations(int index) { return locations_.get(index); } /** *
     * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public com.passkit.grpc.Proximity.GPSLocationOrBuilder getLocationsOrBuilder( int index) { return locations_.get(index); } public static final int BEACONS_FIELD_NUMBER = 4; private java.util.List beacons_; /** *
     * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public java.util.List getBeaconsList() { return beacons_; } /** *
     * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public java.util.List getBeaconsOrBuilderList() { return beacons_; } /** *
     * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public int getBeaconsCount() { return beacons_.size(); } /** *
     * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public com.passkit.grpc.Proximity.Beacon getBeacons(int index) { return beacons_.get(index); } /** *
     * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
     * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public com.passkit.grpc.Proximity.BeaconOrBuilder getBeaconsOrBuilder( int index) { return beacons_.get(index); } public static final int LINKS_FIELD_NUMBER = 5; private java.util.List links_; /** *
     * A list of (personalized) links to be shown on the pass. Overrides any template level values.
     * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public java.util.List getLinksList() { return links_; } /** *
     * A list of (personalized) links to be shown on the pass. Overrides any template level values.
     * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public java.util.List getLinksOrBuilderList() { return links_; } /** *
     * A list of (personalized) links to be shown on the pass. Overrides any template level values.
     * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public int getLinksCount() { return links_.size(); } /** *
     * A list of (personalized) links to be shown on the pass. Overrides any template level values.
     * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public com.passkit.grpc.Links.Link getLinks(int index) { return links_.get(index); } /** *
     * A list of (personalized) links to be shown on the pass. Overrides any template level values.
     * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ @java.lang.Override public com.passkit.grpc.Links.LinkOrBuilder getLinksOrBuilder( int index) { return links_.get(index); } public static final int COLORS_FIELD_NUMBER = 6; private com.passkit.grpc.Template.Colors colors_; /** *
     * stores custom pass colors
     * 
* * .io.Colors colors = 6; * @return Whether the colors field is set. */ @java.lang.Override public boolean hasColors() { return colors_ != null; } /** *
     * stores custom pass colors
     * 
* * .io.Colors colors = 6; * @return The colors. */ @java.lang.Override public com.passkit.grpc.Template.Colors getColors() { return colors_ == null ? com.passkit.grpc.Template.Colors.getDefaultInstance() : colors_; } /** *
     * stores custom pass colors
     * 
* * .io.Colors colors = 6; */ @java.lang.Override public com.passkit.grpc.Template.ColorsOrBuilder getColorsOrBuilder() { return getColors(); } 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 (imageIds_ != null) { output.writeMessage(1, getImageIds()); } for (int i = 0; i < locations_.size(); i++) { output.writeMessage(3, locations_.get(i)); } for (int i = 0; i < beacons_.size(); i++) { output.writeMessage(4, beacons_.get(i)); } for (int i = 0; i < links_.size(); i++) { output.writeMessage(5, links_.get(i)); } if (colors_ != null) { output.writeMessage(6, getColors()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (imageIds_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getImageIds()); } for (int i = 0; i < locations_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, locations_.get(i)); } for (int i = 0; i < beacons_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, beacons_.get(i)); } for (int i = 0; i < links_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, links_.get(i)); } if (colors_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getColors()); } 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.PassOuterClass.PassOverrides)) { return super.equals(obj); } com.passkit.grpc.PassOuterClass.PassOverrides other = (com.passkit.grpc.PassOuterClass.PassOverrides) obj; if (hasImageIds() != other.hasImageIds()) return false; if (hasImageIds()) { if (!getImageIds() .equals(other.getImageIds())) return false; } if (!getLocationsList() .equals(other.getLocationsList())) return false; if (!getBeaconsList() .equals(other.getBeaconsList())) return false; if (!getLinksList() .equals(other.getLinksList())) return false; if (hasColors() != other.hasColors()) return false; if (hasColors()) { if (!getColors() .equals(other.getColors())) 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 (hasImageIds()) { hash = (37 * hash) + IMAGEIDS_FIELD_NUMBER; hash = (53 * hash) + getImageIds().hashCode(); } if (getLocationsCount() > 0) { hash = (37 * hash) + LOCATIONS_FIELD_NUMBER; hash = (53 * hash) + getLocationsList().hashCode(); } if (getBeaconsCount() > 0) { hash = (37 * hash) + BEACONS_FIELD_NUMBER; hash = (53 * hash) + getBeaconsList().hashCode(); } if (getLinksCount() > 0) { hash = (37 * hash) + LINKS_FIELD_NUMBER; hash = (53 * hash) + getLinksList().hashCode(); } if (hasColors()) { hash = (37 * hash) + COLORS_FIELD_NUMBER; hash = (53 * hash) + getColors().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.PassOuterClass.PassOverrides parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.PassOuterClass.PassOverrides 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.PassOuterClass.PassOverrides parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.PassOuterClass.PassOverrides 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.PassOuterClass.PassOverrides parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.PassOuterClass.PassOverrides parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.PassOuterClass.PassOverrides parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.PassOuterClass.PassOverrides 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.PassOuterClass.PassOverrides parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.PassOuterClass.PassOverrides 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.PassOuterClass.PassOverrides parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.PassOuterClass.PassOverrides 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.PassOuterClass.PassOverrides 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; } /** *
     * PassObject contains pass-object level details that are common across protocols.
     * 
* * Protobuf type {@code io.PassOverrides} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.PassOverrides) com.passkit.grpc.PassOuterClass.PassOverridesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.PassOuterClass.internal_static_io_PassOverrides_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.PassOuterClass.internal_static_io_PassOverrides_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.PassOuterClass.PassOverrides.class, com.passkit.grpc.PassOuterClass.PassOverrides.Builder.class); } // Construct using com.passkit.grpc.PassOuterClass.PassOverrides.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLocationsFieldBuilder(); getBeaconsFieldBuilder(); getLinksFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (imageIdsBuilder_ == null) { imageIds_ = null; } else { imageIds_ = null; imageIdsBuilder_ = null; } if (locationsBuilder_ == null) { locations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { locationsBuilder_.clear(); } if (beaconsBuilder_ == null) { beacons_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { beaconsBuilder_.clear(); } if (linksBuilder_ == null) { links_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { linksBuilder_.clear(); } if (colorsBuilder_ == null) { colors_ = null; } else { colors_ = null; colorsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.PassOuterClass.internal_static_io_PassOverrides_descriptor; } @java.lang.Override public com.passkit.grpc.PassOuterClass.PassOverrides getDefaultInstanceForType() { return com.passkit.grpc.PassOuterClass.PassOverrides.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.PassOuterClass.PassOverrides build() { com.passkit.grpc.PassOuterClass.PassOverrides result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.PassOuterClass.PassOverrides buildPartial() { com.passkit.grpc.PassOuterClass.PassOverrides result = new com.passkit.grpc.PassOuterClass.PassOverrides(this); int from_bitField0_ = bitField0_; if (imageIdsBuilder_ == null) { result.imageIds_ = imageIds_; } else { result.imageIds_ = imageIdsBuilder_.build(); } if (locationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { locations_ = java.util.Collections.unmodifiableList(locations_); bitField0_ = (bitField0_ & ~0x00000001); } result.locations_ = locations_; } else { result.locations_ = locationsBuilder_.build(); } if (beaconsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { beacons_ = java.util.Collections.unmodifiableList(beacons_); bitField0_ = (bitField0_ & ~0x00000002); } result.beacons_ = beacons_; } else { result.beacons_ = beaconsBuilder_.build(); } if (linksBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { links_ = java.util.Collections.unmodifiableList(links_); bitField0_ = (bitField0_ & ~0x00000004); } result.links_ = links_; } else { result.links_ = linksBuilder_.build(); } if (colorsBuilder_ == null) { result.colors_ = colors_; } else { result.colors_ = colorsBuilder_.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.PassOuterClass.PassOverrides) { return mergeFrom((com.passkit.grpc.PassOuterClass.PassOverrides)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.PassOuterClass.PassOverrides other) { if (other == com.passkit.grpc.PassOuterClass.PassOverrides.getDefaultInstance()) return this; if (other.hasImageIds()) { mergeImageIds(other.getImageIds()); } if (locationsBuilder_ == null) { if (!other.locations_.isEmpty()) { if (locations_.isEmpty()) { locations_ = other.locations_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLocationsIsMutable(); locations_.addAll(other.locations_); } onChanged(); } } else { if (!other.locations_.isEmpty()) { if (locationsBuilder_.isEmpty()) { locationsBuilder_.dispose(); locationsBuilder_ = null; locations_ = other.locations_; bitField0_ = (bitField0_ & ~0x00000001); locationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLocationsFieldBuilder() : null; } else { locationsBuilder_.addAllMessages(other.locations_); } } } if (beaconsBuilder_ == null) { if (!other.beacons_.isEmpty()) { if (beacons_.isEmpty()) { beacons_ = other.beacons_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureBeaconsIsMutable(); beacons_.addAll(other.beacons_); } onChanged(); } } else { if (!other.beacons_.isEmpty()) { if (beaconsBuilder_.isEmpty()) { beaconsBuilder_.dispose(); beaconsBuilder_ = null; beacons_ = other.beacons_; bitField0_ = (bitField0_ & ~0x00000002); beaconsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getBeaconsFieldBuilder() : null; } else { beaconsBuilder_.addAllMessages(other.beacons_); } } } if (linksBuilder_ == null) { if (!other.links_.isEmpty()) { if (links_.isEmpty()) { links_ = other.links_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureLinksIsMutable(); links_.addAll(other.links_); } onChanged(); } } else { if (!other.links_.isEmpty()) { if (linksBuilder_.isEmpty()) { linksBuilder_.dispose(); linksBuilder_ = null; links_ = other.links_; bitField0_ = (bitField0_ & ~0x00000004); linksBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLinksFieldBuilder() : null; } else { linksBuilder_.addAllMessages(other.links_); } } } if (other.hasColors()) { mergeColors(other.getColors()); } 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.PassOuterClass.PassOverrides parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.PassOuterClass.PassOverrides) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.passkit.grpc.Image.ImageIds imageIds_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Image.ImageIds, com.passkit.grpc.Image.ImageIds.Builder, com.passkit.grpc.Image.ImageIdsOrBuilder> imageIdsBuilder_; /** *
       * Image ID's of images to override for this pass
       * 
* * .io.ImageIds imageIds = 1; * @return Whether the imageIds field is set. */ public boolean hasImageIds() { return imageIdsBuilder_ != null || imageIds_ != null; } /** *
       * Image ID's of images to override for this pass
       * 
* * .io.ImageIds imageIds = 1; * @return The imageIds. */ public com.passkit.grpc.Image.ImageIds getImageIds() { if (imageIdsBuilder_ == null) { return imageIds_ == null ? com.passkit.grpc.Image.ImageIds.getDefaultInstance() : imageIds_; } else { return imageIdsBuilder_.getMessage(); } } /** *
       * Image ID's of images to override for this pass
       * 
* * .io.ImageIds imageIds = 1; */ public Builder setImageIds(com.passkit.grpc.Image.ImageIds value) { if (imageIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } imageIds_ = value; onChanged(); } else { imageIdsBuilder_.setMessage(value); } return this; } /** *
       * Image ID's of images to override for this pass
       * 
* * .io.ImageIds imageIds = 1; */ public Builder setImageIds( com.passkit.grpc.Image.ImageIds.Builder builderForValue) { if (imageIdsBuilder_ == null) { imageIds_ = builderForValue.build(); onChanged(); } else { imageIdsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Image ID's of images to override for this pass
       * 
* * .io.ImageIds imageIds = 1; */ public Builder mergeImageIds(com.passkit.grpc.Image.ImageIds value) { if (imageIdsBuilder_ == null) { if (imageIds_ != null) { imageIds_ = com.passkit.grpc.Image.ImageIds.newBuilder(imageIds_).mergeFrom(value).buildPartial(); } else { imageIds_ = value; } onChanged(); } else { imageIdsBuilder_.mergeFrom(value); } return this; } /** *
       * Image ID's of images to override for this pass
       * 
* * .io.ImageIds imageIds = 1; */ public Builder clearImageIds() { if (imageIdsBuilder_ == null) { imageIds_ = null; onChanged(); } else { imageIds_ = null; imageIdsBuilder_ = null; } return this; } /** *
       * Image ID's of images to override for this pass
       * 
* * .io.ImageIds imageIds = 1; */ public com.passkit.grpc.Image.ImageIds.Builder getImageIdsBuilder() { onChanged(); return getImageIdsFieldBuilder().getBuilder(); } /** *
       * Image ID's of images to override for this pass
       * 
* * .io.ImageIds imageIds = 1; */ public com.passkit.grpc.Image.ImageIdsOrBuilder getImageIdsOrBuilder() { if (imageIdsBuilder_ != null) { return imageIdsBuilder_.getMessageOrBuilder(); } else { return imageIds_ == null ? com.passkit.grpc.Image.ImageIds.getDefaultInstance() : imageIds_; } } /** *
       * Image ID's of images to override for this pass
       * 
* * .io.ImageIds imageIds = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Image.ImageIds, com.passkit.grpc.Image.ImageIds.Builder, com.passkit.grpc.Image.ImageIdsOrBuilder> getImageIdsFieldBuilder() { if (imageIdsBuilder_ == null) { imageIdsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Image.ImageIds, com.passkit.grpc.Image.ImageIds.Builder, com.passkit.grpc.Image.ImageIdsOrBuilder>( getImageIds(), getParentForChildren(), isClean()); imageIds_ = null; } return imageIdsBuilder_; } private java.util.List locations_ = java.util.Collections.emptyList(); private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new java.util.ArrayList(locations_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.Proximity.GPSLocation, com.passkit.grpc.Proximity.GPSLocation.Builder, com.passkit.grpc.Proximity.GPSLocationOrBuilder> locationsBuilder_; /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public java.util.List getLocationsList() { if (locationsBuilder_ == null) { return java.util.Collections.unmodifiableList(locations_); } else { return locationsBuilder_.getMessageList(); } } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public int getLocationsCount() { if (locationsBuilder_ == null) { return locations_.size(); } else { return locationsBuilder_.getCount(); } } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.passkit.grpc.Proximity.GPSLocation getLocations(int index) { if (locationsBuilder_ == null) { return locations_.get(index); } else { return locationsBuilder_.getMessage(index); } } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder setLocations( int index, com.passkit.grpc.Proximity.GPSLocation value) { if (locationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); } else { locationsBuilder_.setMessage(index, value); } return this; } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder setLocations( int index, com.passkit.grpc.Proximity.GPSLocation.Builder builderForValue) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); locations_.set(index, builderForValue.build()); onChanged(); } else { locationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder addLocations(com.passkit.grpc.Proximity.GPSLocation value) { if (locationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationsIsMutable(); locations_.add(value); onChanged(); } else { locationsBuilder_.addMessage(value); } return this; } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder addLocations( int index, com.passkit.grpc.Proximity.GPSLocation value) { if (locationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationsIsMutable(); locations_.add(index, value); onChanged(); } else { locationsBuilder_.addMessage(index, value); } return this; } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder addLocations( com.passkit.grpc.Proximity.GPSLocation.Builder builderForValue) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); locations_.add(builderForValue.build()); onChanged(); } else { locationsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder addLocations( int index, com.passkit.grpc.Proximity.GPSLocation.Builder builderForValue) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); locations_.add(index, builderForValue.build()); onChanged(); } else { locationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder addAllLocations( java.lang.Iterable values) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, locations_); onChanged(); } else { locationsBuilder_.addAllMessages(values); } return this; } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder clearLocations() { if (locationsBuilder_ == null) { locations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { locationsBuilder_.clear(); } return this; } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder removeLocations(int index) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); locations_.remove(index); onChanged(); } else { locationsBuilder_.remove(index); } return this; } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.passkit.grpc.Proximity.GPSLocation.Builder getLocationsBuilder( int index) { return getLocationsFieldBuilder().getBuilder(index); } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.passkit.grpc.Proximity.GPSLocationOrBuilder getLocationsOrBuilder( int index) { if (locationsBuilder_ == null) { return locations_.get(index); } else { return locationsBuilder_.getMessageOrBuilder(index); } } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public java.util.List getLocationsOrBuilderList() { if (locationsBuilder_ != null) { return locationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(locations_); } } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.passkit.grpc.Proximity.GPSLocation.Builder addLocationsBuilder() { return getLocationsFieldBuilder().addBuilder( com.passkit.grpc.Proximity.GPSLocation.getDefaultInstance()); } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.passkit.grpc.Proximity.GPSLocation.Builder addLocationsBuilder( int index) { return getLocationsFieldBuilder().addBuilder( index, com.passkit.grpc.Proximity.GPSLocation.getDefaultInstance()); } /** *
       * A list of up to 10 GPS locations where this pass should be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.GPSLocation locations = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public java.util.List getLocationsBuilderList() { return getLocationsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.Proximity.GPSLocation, com.passkit.grpc.Proximity.GPSLocation.Builder, com.passkit.grpc.Proximity.GPSLocationOrBuilder> getLocationsFieldBuilder() { if (locationsBuilder_ == null) { locationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.Proximity.GPSLocation, com.passkit.grpc.Proximity.GPSLocation.Builder, com.passkit.grpc.Proximity.GPSLocationOrBuilder>( locations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); locations_ = null; } return locationsBuilder_; } private java.util.List beacons_ = java.util.Collections.emptyList(); private void ensureBeaconsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { beacons_ = new java.util.ArrayList(beacons_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.Proximity.Beacon, com.passkit.grpc.Proximity.Beacon.Builder, com.passkit.grpc.Proximity.BeaconOrBuilder> beaconsBuilder_; /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public java.util.List getBeaconsList() { if (beaconsBuilder_ == null) { return java.util.Collections.unmodifiableList(beacons_); } else { return beaconsBuilder_.getMessageList(); } } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public int getBeaconsCount() { if (beaconsBuilder_ == null) { return beacons_.size(); } else { return beaconsBuilder_.getCount(); } } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.passkit.grpc.Proximity.Beacon getBeacons(int index) { if (beaconsBuilder_ == null) { return beacons_.get(index); } else { return beaconsBuilder_.getMessage(index); } } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder setBeacons( int index, com.passkit.grpc.Proximity.Beacon value) { if (beaconsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBeaconsIsMutable(); beacons_.set(index, value); onChanged(); } else { beaconsBuilder_.setMessage(index, value); } return this; } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder setBeacons( int index, com.passkit.grpc.Proximity.Beacon.Builder builderForValue) { if (beaconsBuilder_ == null) { ensureBeaconsIsMutable(); beacons_.set(index, builderForValue.build()); onChanged(); } else { beaconsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder addBeacons(com.passkit.grpc.Proximity.Beacon value) { if (beaconsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBeaconsIsMutable(); beacons_.add(value); onChanged(); } else { beaconsBuilder_.addMessage(value); } return this; } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder addBeacons( int index, com.passkit.grpc.Proximity.Beacon value) { if (beaconsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBeaconsIsMutable(); beacons_.add(index, value); onChanged(); } else { beaconsBuilder_.addMessage(index, value); } return this; } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder addBeacons( com.passkit.grpc.Proximity.Beacon.Builder builderForValue) { if (beaconsBuilder_ == null) { ensureBeaconsIsMutable(); beacons_.add(builderForValue.build()); onChanged(); } else { beaconsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder addBeacons( int index, com.passkit.grpc.Proximity.Beacon.Builder builderForValue) { if (beaconsBuilder_ == null) { ensureBeaconsIsMutable(); beacons_.add(index, builderForValue.build()); onChanged(); } else { beaconsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder addAllBeacons( java.lang.Iterable values) { if (beaconsBuilder_ == null) { ensureBeaconsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, beacons_); onChanged(); } else { beaconsBuilder_.addAllMessages(values); } return this; } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder clearBeacons() { if (beaconsBuilder_ == null) { beacons_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { beaconsBuilder_.clear(); } return this; } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder removeBeacons(int index) { if (beaconsBuilder_ == null) { ensureBeaconsIsMutable(); beacons_.remove(index); onChanged(); } else { beaconsBuilder_.remove(index); } return this; } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.passkit.grpc.Proximity.Beacon.Builder getBeaconsBuilder( int index) { return getBeaconsFieldBuilder().getBuilder(index); } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.passkit.grpc.Proximity.BeaconOrBuilder getBeaconsOrBuilder( int index) { if (beaconsBuilder_ == null) { return beacons_.get(index); } else { return beaconsBuilder_.getMessageOrBuilder(index); } } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public java.util.List getBeaconsOrBuilderList() { if (beaconsBuilder_ != null) { return beaconsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(beacons_); } } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.passkit.grpc.Proximity.Beacon.Builder addBeaconsBuilder() { return getBeaconsFieldBuilder().addBuilder( com.passkit.grpc.Proximity.Beacon.getDefaultInstance()); } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.passkit.grpc.Proximity.Beacon.Builder addBeaconsBuilder( int index) { return getBeaconsFieldBuilder().addBuilder( index, com.passkit.grpc.Proximity.Beacon.getDefaultInstance()); } /** *
       * A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen. Overrides any template level values.
       * 
* * repeated .io.Beacon beacons = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public java.util.List getBeaconsBuilderList() { return getBeaconsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.Proximity.Beacon, com.passkit.grpc.Proximity.Beacon.Builder, com.passkit.grpc.Proximity.BeaconOrBuilder> getBeaconsFieldBuilder() { if (beaconsBuilder_ == null) { beaconsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.Proximity.Beacon, com.passkit.grpc.Proximity.Beacon.Builder, com.passkit.grpc.Proximity.BeaconOrBuilder>( beacons_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); beacons_ = null; } return beaconsBuilder_; } private java.util.List links_ = java.util.Collections.emptyList(); private void ensureLinksIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { links_ = new java.util.ArrayList(links_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.Links.Link, com.passkit.grpc.Links.Link.Builder, com.passkit.grpc.Links.LinkOrBuilder> linksBuilder_; /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public java.util.List getLinksList() { if (linksBuilder_ == null) { return java.util.Collections.unmodifiableList(links_); } else { return linksBuilder_.getMessageList(); } } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public int getLinksCount() { if (linksBuilder_ == null) { return links_.size(); } else { return linksBuilder_.getCount(); } } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.passkit.grpc.Links.Link getLinks(int index) { if (linksBuilder_ == null) { return links_.get(index); } else { return linksBuilder_.getMessage(index); } } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder setLinks( int index, com.passkit.grpc.Links.Link value) { if (linksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLinksIsMutable(); links_.set(index, value); onChanged(); } else { linksBuilder_.setMessage(index, value); } return this; } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder setLinks( int index, com.passkit.grpc.Links.Link.Builder builderForValue) { if (linksBuilder_ == null) { ensureLinksIsMutable(); links_.set(index, builderForValue.build()); onChanged(); } else { linksBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder addLinks(com.passkit.grpc.Links.Link value) { if (linksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLinksIsMutable(); links_.add(value); onChanged(); } else { linksBuilder_.addMessage(value); } return this; } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder addLinks( int index, com.passkit.grpc.Links.Link value) { if (linksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLinksIsMutable(); links_.add(index, value); onChanged(); } else { linksBuilder_.addMessage(index, value); } return this; } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder addLinks( com.passkit.grpc.Links.Link.Builder builderForValue) { if (linksBuilder_ == null) { ensureLinksIsMutable(); links_.add(builderForValue.build()); onChanged(); } else { linksBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder addLinks( int index, com.passkit.grpc.Links.Link.Builder builderForValue) { if (linksBuilder_ == null) { ensureLinksIsMutable(); links_.add(index, builderForValue.build()); onChanged(); } else { linksBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder addAllLinks( java.lang.Iterable values) { if (linksBuilder_ == null) { ensureLinksIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, links_); onChanged(); } else { linksBuilder_.addAllMessages(values); } return this; } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder clearLinks() { if (linksBuilder_ == null) { links_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { linksBuilder_.clear(); } return this; } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public Builder removeLinks(int index) { if (linksBuilder_ == null) { ensureLinksIsMutable(); links_.remove(index); onChanged(); } else { linksBuilder_.remove(index); } return this; } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.passkit.grpc.Links.Link.Builder getLinksBuilder( int index) { return getLinksFieldBuilder().getBuilder(index); } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.passkit.grpc.Links.LinkOrBuilder getLinksOrBuilder( int index) { if (linksBuilder_ == null) { return links_.get(index); } else { return linksBuilder_.getMessageOrBuilder(index); } } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public java.util.List getLinksOrBuilderList() { if (linksBuilder_ != null) { return linksBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(links_); } } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.passkit.grpc.Links.Link.Builder addLinksBuilder() { return getLinksFieldBuilder().addBuilder( com.passkit.grpc.Links.Link.getDefaultInstance()); } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public com.passkit.grpc.Links.Link.Builder addLinksBuilder( int index) { return getLinksFieldBuilder().addBuilder( index, com.passkit.grpc.Links.Link.getDefaultInstance()); } /** *
       * A list of (personalized) links to be shown on the pass. Overrides any template level values.
       * 
* * repeated .io.Link links = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... } */ public java.util.List getLinksBuilderList() { return getLinksFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.Links.Link, com.passkit.grpc.Links.Link.Builder, com.passkit.grpc.Links.LinkOrBuilder> getLinksFieldBuilder() { if (linksBuilder_ == null) { linksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.passkit.grpc.Links.Link, com.passkit.grpc.Links.Link.Builder, com.passkit.grpc.Links.LinkOrBuilder>( links_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); links_ = null; } return linksBuilder_; } private com.passkit.grpc.Template.Colors colors_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Template.Colors, com.passkit.grpc.Template.Colors.Builder, com.passkit.grpc.Template.ColorsOrBuilder> colorsBuilder_; /** *
       * stores custom pass colors
       * 
* * .io.Colors colors = 6; * @return Whether the colors field is set. */ public boolean hasColors() { return colorsBuilder_ != null || colors_ != null; } /** *
       * stores custom pass colors
       * 
* * .io.Colors colors = 6; * @return The colors. */ public com.passkit.grpc.Template.Colors getColors() { if (colorsBuilder_ == null) { return colors_ == null ? com.passkit.grpc.Template.Colors.getDefaultInstance() : colors_; } else { return colorsBuilder_.getMessage(); } } /** *
       * stores custom pass colors
       * 
* * .io.Colors colors = 6; */ public Builder setColors(com.passkit.grpc.Template.Colors value) { if (colorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } colors_ = value; onChanged(); } else { colorsBuilder_.setMessage(value); } return this; } /** *
       * stores custom pass colors
       * 
* * .io.Colors colors = 6; */ public Builder setColors( com.passkit.grpc.Template.Colors.Builder builderForValue) { if (colorsBuilder_ == null) { colors_ = builderForValue.build(); onChanged(); } else { colorsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * stores custom pass colors
       * 
* * .io.Colors colors = 6; */ public Builder mergeColors(com.passkit.grpc.Template.Colors value) { if (colorsBuilder_ == null) { if (colors_ != null) { colors_ = com.passkit.grpc.Template.Colors.newBuilder(colors_).mergeFrom(value).buildPartial(); } else { colors_ = value; } onChanged(); } else { colorsBuilder_.mergeFrom(value); } return this; } /** *
       * stores custom pass colors
       * 
* * .io.Colors colors = 6; */ public Builder clearColors() { if (colorsBuilder_ == null) { colors_ = null; onChanged(); } else { colors_ = null; colorsBuilder_ = null; } return this; } /** *
       * stores custom pass colors
       * 
* * .io.Colors colors = 6; */ public com.passkit.grpc.Template.Colors.Builder getColorsBuilder() { onChanged(); return getColorsFieldBuilder().getBuilder(); } /** *
       * stores custom pass colors
       * 
* * .io.Colors colors = 6; */ public com.passkit.grpc.Template.ColorsOrBuilder getColorsOrBuilder() { if (colorsBuilder_ != null) { return colorsBuilder_.getMessageOrBuilder(); } else { return colors_ == null ? com.passkit.grpc.Template.Colors.getDefaultInstance() : colors_; } } /** *
       * stores custom pass colors
       * 
* * .io.Colors colors = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Template.Colors, com.passkit.grpc.Template.Colors.Builder, com.passkit.grpc.Template.ColorsOrBuilder> getColorsFieldBuilder() { if (colorsBuilder_ == null) { colorsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Template.Colors, com.passkit.grpc.Template.Colors.Builder, com.passkit.grpc.Template.ColorsOrBuilder>( getColors(), getParentForChildren(), isClean()); colors_ = null; } return colorsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:io.PassOverrides) } // @@protoc_insertion_point(class_scope:io.PassOverrides) private static final com.passkit.grpc.PassOuterClass.PassOverrides DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.PassOuterClass.PassOverrides(); } public static com.passkit.grpc.PassOuterClass.PassOverrides getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PassOverrides parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PassOverrides(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.PassOuterClass.PassOverrides getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PassOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:io.PassOptions) com.google.protobuf.MessageOrBuilder { /** * .io.AppleWalletSettings apple = 1; * @return Whether the apple field is set. */ boolean hasApple(); /** * .io.AppleWalletSettings apple = 1; * @return The apple. */ com.passkit.grpc.Template.AppleWalletSettings getApple(); /** * .io.AppleWalletSettings apple = 1; */ com.passkit.grpc.Template.AppleWalletSettingsOrBuilder getAppleOrBuilder(); /** * .io.GooglePaySettings google = 2; * @return Whether the google field is set. */ boolean hasGoogle(); /** * .io.GooglePaySettings google = 2; * @return The google. */ com.passkit.grpc.Template.GooglePaySettings getGoogle(); /** * .io.GooglePaySettings google = 2; */ com.passkit.grpc.Template.GooglePaySettingsOrBuilder getGoogleOrBuilder(); } /** * Protobuf type {@code io.PassOptions} */ public static final class PassOptions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.PassOptions) PassOptionsOrBuilder { private static final long serialVersionUID = 0L; // Use PassOptions.newBuilder() to construct. private PassOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PassOptions() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PassOptions(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PassOptions( 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.Template.AppleWalletSettings.Builder subBuilder = null; if (apple_ != null) { subBuilder = apple_.toBuilder(); } apple_ = input.readMessage(com.passkit.grpc.Template.AppleWalletSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(apple_); apple_ = subBuilder.buildPartial(); } break; } case 18: { com.passkit.grpc.Template.GooglePaySettings.Builder subBuilder = null; if (google_ != null) { subBuilder = google_.toBuilder(); } google_ = input.readMessage(com.passkit.grpc.Template.GooglePaySettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(google_); google_ = 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.PassOuterClass.internal_static_io_PassOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.PassOuterClass.internal_static_io_PassOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.PassOuterClass.PassOptions.class, com.passkit.grpc.PassOuterClass.PassOptions.Builder.class); } public static final int APPLE_FIELD_NUMBER = 1; private com.passkit.grpc.Template.AppleWalletSettings apple_; /** * .io.AppleWalletSettings apple = 1; * @return Whether the apple field is set. */ @java.lang.Override public boolean hasApple() { return apple_ != null; } /** * .io.AppleWalletSettings apple = 1; * @return The apple. */ @java.lang.Override public com.passkit.grpc.Template.AppleWalletSettings getApple() { return apple_ == null ? com.passkit.grpc.Template.AppleWalletSettings.getDefaultInstance() : apple_; } /** * .io.AppleWalletSettings apple = 1; */ @java.lang.Override public com.passkit.grpc.Template.AppleWalletSettingsOrBuilder getAppleOrBuilder() { return getApple(); } public static final int GOOGLE_FIELD_NUMBER = 2; private com.passkit.grpc.Template.GooglePaySettings google_; /** * .io.GooglePaySettings google = 2; * @return Whether the google field is set. */ @java.lang.Override public boolean hasGoogle() { return google_ != null; } /** * .io.GooglePaySettings google = 2; * @return The google. */ @java.lang.Override public com.passkit.grpc.Template.GooglePaySettings getGoogle() { return google_ == null ? com.passkit.grpc.Template.GooglePaySettings.getDefaultInstance() : google_; } /** * .io.GooglePaySettings google = 2; */ @java.lang.Override public com.passkit.grpc.Template.GooglePaySettingsOrBuilder getGoogleOrBuilder() { return getGoogle(); } 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 (apple_ != null) { output.writeMessage(1, getApple()); } if (google_ != null) { output.writeMessage(2, getGoogle()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (apple_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getApple()); } if (google_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getGoogle()); } 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.PassOuterClass.PassOptions)) { return super.equals(obj); } com.passkit.grpc.PassOuterClass.PassOptions other = (com.passkit.grpc.PassOuterClass.PassOptions) obj; if (hasApple() != other.hasApple()) return false; if (hasApple()) { if (!getApple() .equals(other.getApple())) return false; } if (hasGoogle() != other.hasGoogle()) return false; if (hasGoogle()) { if (!getGoogle() .equals(other.getGoogle())) 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 (hasApple()) { hash = (37 * hash) + APPLE_FIELD_NUMBER; hash = (53 * hash) + getApple().hashCode(); } if (hasGoogle()) { hash = (37 * hash) + GOOGLE_FIELD_NUMBER; hash = (53 * hash) + getGoogle().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.PassOuterClass.PassOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.PassOuterClass.PassOptions 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.PassOuterClass.PassOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.PassOuterClass.PassOptions 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.PassOuterClass.PassOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.PassOuterClass.PassOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.PassOuterClass.PassOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.PassOuterClass.PassOptions 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.PassOuterClass.PassOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.PassOuterClass.PassOptions 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.PassOuterClass.PassOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.PassOuterClass.PassOptions 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.PassOuterClass.PassOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io.PassOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.PassOptions) com.passkit.grpc.PassOuterClass.PassOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.PassOuterClass.internal_static_io_PassOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.PassOuterClass.internal_static_io_PassOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.PassOuterClass.PassOptions.class, com.passkit.grpc.PassOuterClass.PassOptions.Builder.class); } // Construct using com.passkit.grpc.PassOuterClass.PassOptions.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 (appleBuilder_ == null) { apple_ = null; } else { apple_ = null; appleBuilder_ = null; } if (googleBuilder_ == null) { google_ = null; } else { google_ = null; googleBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.PassOuterClass.internal_static_io_PassOptions_descriptor; } @java.lang.Override public com.passkit.grpc.PassOuterClass.PassOptions getDefaultInstanceForType() { return com.passkit.grpc.PassOuterClass.PassOptions.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.PassOuterClass.PassOptions build() { com.passkit.grpc.PassOuterClass.PassOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.PassOuterClass.PassOptions buildPartial() { com.passkit.grpc.PassOuterClass.PassOptions result = new com.passkit.grpc.PassOuterClass.PassOptions(this); if (appleBuilder_ == null) { result.apple_ = apple_; } else { result.apple_ = appleBuilder_.build(); } if (googleBuilder_ == null) { result.google_ = google_; } else { result.google_ = googleBuilder_.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.PassOuterClass.PassOptions) { return mergeFrom((com.passkit.grpc.PassOuterClass.PassOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.PassOuterClass.PassOptions other) { if (other == com.passkit.grpc.PassOuterClass.PassOptions.getDefaultInstance()) return this; if (other.hasApple()) { mergeApple(other.getApple()); } if (other.hasGoogle()) { mergeGoogle(other.getGoogle()); } 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.PassOuterClass.PassOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.PassOuterClass.PassOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.passkit.grpc.Template.AppleWalletSettings apple_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Template.AppleWalletSettings, com.passkit.grpc.Template.AppleWalletSettings.Builder, com.passkit.grpc.Template.AppleWalletSettingsOrBuilder> appleBuilder_; /** * .io.AppleWalletSettings apple = 1; * @return Whether the apple field is set. */ public boolean hasApple() { return appleBuilder_ != null || apple_ != null; } /** * .io.AppleWalletSettings apple = 1; * @return The apple. */ public com.passkit.grpc.Template.AppleWalletSettings getApple() { if (appleBuilder_ == null) { return apple_ == null ? com.passkit.grpc.Template.AppleWalletSettings.getDefaultInstance() : apple_; } else { return appleBuilder_.getMessage(); } } /** * .io.AppleWalletSettings apple = 1; */ public Builder setApple(com.passkit.grpc.Template.AppleWalletSettings value) { if (appleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } apple_ = value; onChanged(); } else { appleBuilder_.setMessage(value); } return this; } /** * .io.AppleWalletSettings apple = 1; */ public Builder setApple( com.passkit.grpc.Template.AppleWalletSettings.Builder builderForValue) { if (appleBuilder_ == null) { apple_ = builderForValue.build(); onChanged(); } else { appleBuilder_.setMessage(builderForValue.build()); } return this; } /** * .io.AppleWalletSettings apple = 1; */ public Builder mergeApple(com.passkit.grpc.Template.AppleWalletSettings value) { if (appleBuilder_ == null) { if (apple_ != null) { apple_ = com.passkit.grpc.Template.AppleWalletSettings.newBuilder(apple_).mergeFrom(value).buildPartial(); } else { apple_ = value; } onChanged(); } else { appleBuilder_.mergeFrom(value); } return this; } /** * .io.AppleWalletSettings apple = 1; */ public Builder clearApple() { if (appleBuilder_ == null) { apple_ = null; onChanged(); } else { apple_ = null; appleBuilder_ = null; } return this; } /** * .io.AppleWalletSettings apple = 1; */ public com.passkit.grpc.Template.AppleWalletSettings.Builder getAppleBuilder() { onChanged(); return getAppleFieldBuilder().getBuilder(); } /** * .io.AppleWalletSettings apple = 1; */ public com.passkit.grpc.Template.AppleWalletSettingsOrBuilder getAppleOrBuilder() { if (appleBuilder_ != null) { return appleBuilder_.getMessageOrBuilder(); } else { return apple_ == null ? com.passkit.grpc.Template.AppleWalletSettings.getDefaultInstance() : apple_; } } /** * .io.AppleWalletSettings apple = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Template.AppleWalletSettings, com.passkit.grpc.Template.AppleWalletSettings.Builder, com.passkit.grpc.Template.AppleWalletSettingsOrBuilder> getAppleFieldBuilder() { if (appleBuilder_ == null) { appleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Template.AppleWalletSettings, com.passkit.grpc.Template.AppleWalletSettings.Builder, com.passkit.grpc.Template.AppleWalletSettingsOrBuilder>( getApple(), getParentForChildren(), isClean()); apple_ = null; } return appleBuilder_; } private com.passkit.grpc.Template.GooglePaySettings google_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Template.GooglePaySettings, com.passkit.grpc.Template.GooglePaySettings.Builder, com.passkit.grpc.Template.GooglePaySettingsOrBuilder> googleBuilder_; /** * .io.GooglePaySettings google = 2; * @return Whether the google field is set. */ public boolean hasGoogle() { return googleBuilder_ != null || google_ != null; } /** * .io.GooglePaySettings google = 2; * @return The google. */ public com.passkit.grpc.Template.GooglePaySettings getGoogle() { if (googleBuilder_ == null) { return google_ == null ? com.passkit.grpc.Template.GooglePaySettings.getDefaultInstance() : google_; } else { return googleBuilder_.getMessage(); } } /** * .io.GooglePaySettings google = 2; */ public Builder setGoogle(com.passkit.grpc.Template.GooglePaySettings value) { if (googleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } google_ = value; onChanged(); } else { googleBuilder_.setMessage(value); } return this; } /** * .io.GooglePaySettings google = 2; */ public Builder setGoogle( com.passkit.grpc.Template.GooglePaySettings.Builder builderForValue) { if (googleBuilder_ == null) { google_ = builderForValue.build(); onChanged(); } else { googleBuilder_.setMessage(builderForValue.build()); } return this; } /** * .io.GooglePaySettings google = 2; */ public Builder mergeGoogle(com.passkit.grpc.Template.GooglePaySettings value) { if (googleBuilder_ == null) { if (google_ != null) { google_ = com.passkit.grpc.Template.GooglePaySettings.newBuilder(google_).mergeFrom(value).buildPartial(); } else { google_ = value; } onChanged(); } else { googleBuilder_.mergeFrom(value); } return this; } /** * .io.GooglePaySettings google = 2; */ public Builder clearGoogle() { if (googleBuilder_ == null) { google_ = null; onChanged(); } else { google_ = null; googleBuilder_ = null; } return this; } /** * .io.GooglePaySettings google = 2; */ public com.passkit.grpc.Template.GooglePaySettings.Builder getGoogleBuilder() { onChanged(); return getGoogleFieldBuilder().getBuilder(); } /** * .io.GooglePaySettings google = 2; */ public com.passkit.grpc.Template.GooglePaySettingsOrBuilder getGoogleOrBuilder() { if (googleBuilder_ != null) { return googleBuilder_.getMessageOrBuilder(); } else { return google_ == null ? com.passkit.grpc.Template.GooglePaySettings.getDefaultInstance() : google_; } } /** * .io.GooglePaySettings google = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Template.GooglePaySettings, com.passkit.grpc.Template.GooglePaySettings.Builder, com.passkit.grpc.Template.GooglePaySettingsOrBuilder> getGoogleFieldBuilder() { if (googleBuilder_ == null) { googleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Template.GooglePaySettings, com.passkit.grpc.Template.GooglePaySettings.Builder, com.passkit.grpc.Template.GooglePaySettingsOrBuilder>( getGoogle(), getParentForChildren(), isClean()); google_ = null; } return googleBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:io.PassOptions) } // @@protoc_insertion_point(class_scope:io.PassOptions) private static final com.passkit.grpc.PassOuterClass.PassOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.PassOuterClass.PassOptions(); } public static com.passkit.grpc.PassOuterClass.PassOptions getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PassOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PassOptions(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.PassOuterClass.PassOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PassOrBuilder extends // @@protoc_insertion_point(interface_extends:io.Pass) com.google.protobuf.MessageOrBuilder { /** *
     * The uuid of the pass.
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * The uuid of the pass.
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * The class id of the pass which it belongs to.
     * 
* * string classId = 2; * @return The classId. */ java.lang.String getClassId(); /** *
     * The class id of the pass which it belongs to.
     * 
* * string classId = 2; * @return The bytes for classId. */ com.google.protobuf.ByteString getClassIdBytes(); /** *
     * Protocol module which this pass was issued by.
     * 
* * .io.PassProtocol protocol = 3; * @return The enum numeric value on the wire for protocol. */ int getProtocolValue(); /** *
     * Protocol module which this pass was issued by.
     * 
* * .io.PassProtocol protocol = 3; * @return The protocol. */ com.passkit.grpc.Protocols.PassProtocol getProtocol(); /** *
     * PII data of pass holder.
     * 
* * .io.Person personDetails = 4; * @return Whether the personDetails field is set. */ boolean hasPersonDetails(); /** *
     * PII data of pass holder.
     * 
* * .io.Person personDetails = 4; * @return The personDetails. */ com.passkit.grpc.Personal.Person getPersonDetails(); /** *
     * PII data of pass holder.
     * 
* * .io.Person personDetails = 4; */ com.passkit.grpc.Personal.PersonOrBuilder getPersonDetailsOrBuilder(); /** *
     * Pass meta data such as install ip, user agent and other lifecycle data.
     * 
* * .io.Metadata metadata = 5; * @return Whether the metadata field is set. */ boolean hasMetadata(); /** *
     * Pass meta data such as install ip, user agent and other lifecycle data.
     * 
* * .io.Metadata metadata = 5; * @return The metadata. */ com.passkit.grpc.MetricsOuterClass.Metadata getMetadata(); /** *
     * Pass meta data such as install ip, user agent and other lifecycle data.
     * 
* * .io.Metadata metadata = 5; */ com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder getMetadataOrBuilder(); /** *
     * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
     * 
* * map<string, string> recordData = 6; */ int getRecordDataCount(); /** *
     * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
     * 
* * map<string, string> recordData = 6; */ boolean containsRecordData( java.lang.String key); /** * Use {@link #getRecordDataMap()} instead. */ @java.lang.Deprecated java.util.Map getRecordData(); /** *
     * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
     * 
* * map<string, string> recordData = 6; */ java.util.Map getRecordDataMap(); /** *
     * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
     * 
* * map<string, string> recordData = 6; */ java.lang.String getRecordDataOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
     * 
* * map<string, string> recordData = 6; */ java.lang.String getRecordDataOrThrow( java.lang.String key); /** *
     * Will hold the external id of the object (as set by protocol)
     * 
* * string externalId = 7; * @return The externalId. */ java.lang.String getExternalId(); /** *
     * Will hold the external id of the object (as set by protocol)
     * 
* * string externalId = 7; * @return The bytes for externalId. */ com.google.protobuf.ByteString getExternalIdBytes(); } /** *
   * Details of pass and pass holder.
   * 
* * Protobuf type {@code io.Pass} */ public static final class Pass extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.Pass) PassOrBuilder { private static final long serialVersionUID = 0L; // Use Pass.newBuilder() to construct. private Pass(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Pass() { id_ = ""; classId_ = ""; protocol_ = 0; externalId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Pass(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Pass( 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(); classId_ = s; break; } case 24: { int rawValue = input.readEnum(); protocol_ = rawValue; break; } case 34: { com.passkit.grpc.Personal.Person.Builder subBuilder = null; if (personDetails_ != null) { subBuilder = personDetails_.toBuilder(); } personDetails_ = input.readMessage(com.passkit.grpc.Personal.Person.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(personDetails_); personDetails_ = subBuilder.buildPartial(); } break; } case 42: { com.passkit.grpc.MetricsOuterClass.Metadata.Builder subBuilder = null; if (metadata_ != null) { subBuilder = metadata_.toBuilder(); } metadata_ = input.readMessage(com.passkit.grpc.MetricsOuterClass.Metadata.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(metadata_); metadata_ = subBuilder.buildPartial(); } break; } case 50: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { recordData_ = com.google.protobuf.MapField.newMapField( RecordDataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry recordData__ = input.readMessage( RecordDataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); recordData_.getMutableMap().put( recordData__.getKey(), recordData__.getValue()); break; } case 58: { 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.PassOuterClass.internal_static_io_Pass_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 6: return internalGetRecordData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.PassOuterClass.internal_static_io_Pass_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.PassOuterClass.Pass.class, com.passkit.grpc.PassOuterClass.Pass.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * The uuid of the pass.
     * 
* * 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; } } /** *
     * The uuid of the pass.
     * 
* * 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 CLASSID_FIELD_NUMBER = 2; private volatile java.lang.Object classId_; /** *
     * The class id of the pass which it belongs to.
     * 
* * string classId = 2; * @return The classId. */ @java.lang.Override public java.lang.String getClassId() { java.lang.Object ref = classId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); classId_ = s; return s; } } /** *
     * The class id of the pass which it belongs to.
     * 
* * string classId = 2; * @return The bytes for classId. */ @java.lang.Override public com.google.protobuf.ByteString getClassIdBytes() { java.lang.Object ref = classId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); classId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROTOCOL_FIELD_NUMBER = 3; private int protocol_; /** *
     * Protocol module which this pass was issued by.
     * 
* * .io.PassProtocol protocol = 3; * @return The enum numeric value on the wire for protocol. */ @java.lang.Override public int getProtocolValue() { return protocol_; } /** *
     * Protocol module which this pass was issued by.
     * 
* * .io.PassProtocol protocol = 3; * @return The protocol. */ @java.lang.Override public com.passkit.grpc.Protocols.PassProtocol getProtocol() { @SuppressWarnings("deprecation") com.passkit.grpc.Protocols.PassProtocol result = com.passkit.grpc.Protocols.PassProtocol.valueOf(protocol_); return result == null ? com.passkit.grpc.Protocols.PassProtocol.UNRECOGNIZED : result; } public static final int PERSONDETAILS_FIELD_NUMBER = 4; private com.passkit.grpc.Personal.Person personDetails_; /** *
     * PII data of pass holder.
     * 
* * .io.Person personDetails = 4; * @return Whether the personDetails field is set. */ @java.lang.Override public boolean hasPersonDetails() { return personDetails_ != null; } /** *
     * PII data of pass holder.
     * 
* * .io.Person personDetails = 4; * @return The personDetails. */ @java.lang.Override public com.passkit.grpc.Personal.Person getPersonDetails() { return personDetails_ == null ? com.passkit.grpc.Personal.Person.getDefaultInstance() : personDetails_; } /** *
     * PII data of pass holder.
     * 
* * .io.Person personDetails = 4; */ @java.lang.Override public com.passkit.grpc.Personal.PersonOrBuilder getPersonDetailsOrBuilder() { return getPersonDetails(); } public static final int METADATA_FIELD_NUMBER = 5; private com.passkit.grpc.MetricsOuterClass.Metadata metadata_; /** *
     * Pass meta data such as install ip, user agent and other lifecycle data.
     * 
* * .io.Metadata metadata = 5; * @return Whether the metadata field is set. */ @java.lang.Override public boolean hasMetadata() { return metadata_ != null; } /** *
     * Pass meta data such as install ip, user agent and other lifecycle data.
     * 
* * .io.Metadata metadata = 5; * @return The metadata. */ @java.lang.Override public com.passkit.grpc.MetricsOuterClass.Metadata getMetadata() { return metadata_ == null ? com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance() : metadata_; } /** *
     * Pass meta data such as install ip, user agent and other lifecycle data.
     * 
* * .io.Metadata metadata = 5; */ @java.lang.Override public com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder getMetadataOrBuilder() { return getMetadata(); } public static final int RECORDDATA_FIELD_NUMBER = 6; private static final class RecordDataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.passkit.grpc.PassOuterClass.internal_static_io_Pass_RecordDataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> recordData_; private com.google.protobuf.MapField internalGetRecordData() { if (recordData_ == null) { return com.google.protobuf.MapField.emptyMapField( RecordDataDefaultEntryHolder.defaultEntry); } return recordData_; } public int getRecordDataCount() { return internalGetRecordData().getMap().size(); } /** *
     * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
     * 
* * map<string, string> recordData = 6; */ @java.lang.Override public boolean containsRecordData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetRecordData().getMap().containsKey(key); } /** * Use {@link #getRecordDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getRecordData() { return getRecordDataMap(); } /** *
     * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
     * 
* * map<string, string> recordData = 6; */ @java.lang.Override public java.util.Map getRecordDataMap() { return internalGetRecordData().getMap(); } /** *
     * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
     * 
* * map<string, string> recordData = 6; */ @java.lang.Override public java.lang.String getRecordDataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetRecordData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
     * 
* * map<string, string> recordData = 6; */ @java.lang.Override public java.lang.String getRecordDataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetRecordData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int EXTERNALID_FIELD_NUMBER = 7; private volatile java.lang.Object externalId_; /** *
     * Will hold the external id of the object (as set by protocol)
     * 
* * string externalId = 7; * @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; } } /** *
     * Will hold the external id of the object (as set by protocol)
     * 
* * string externalId = 7; * @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 (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!getClassIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, classId_); } if (protocol_ != com.passkit.grpc.Protocols.PassProtocol.PASS_PROTOCOL_DO_NOT_USE.getNumber()) { output.writeEnum(3, protocol_); } if (personDetails_ != null) { output.writeMessage(4, getPersonDetails()); } if (metadata_ != null) { output.writeMessage(5, getMetadata()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetRecordData(), RecordDataDefaultEntryHolder.defaultEntry, 6); if (!getExternalIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, externalId_); } 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 (!getClassIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, classId_); } if (protocol_ != com.passkit.grpc.Protocols.PassProtocol.PASS_PROTOCOL_DO_NOT_USE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, protocol_); } if (personDetails_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getPersonDetails()); } if (metadata_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getMetadata()); } for (java.util.Map.Entry entry : internalGetRecordData().getMap().entrySet()) { com.google.protobuf.MapEntry recordData__ = RecordDataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, recordData__); } if (!getExternalIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, 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.PassOuterClass.Pass)) { return super.equals(obj); } com.passkit.grpc.PassOuterClass.Pass other = (com.passkit.grpc.PassOuterClass.Pass) obj; if (!getId() .equals(other.getId())) return false; if (!getClassId() .equals(other.getClassId())) return false; if (protocol_ != other.protocol_) return false; if (hasPersonDetails() != other.hasPersonDetails()) return false; if (hasPersonDetails()) { if (!getPersonDetails() .equals(other.getPersonDetails())) return false; } if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { if (!getMetadata() .equals(other.getMetadata())) return false; } if (!internalGetRecordData().equals( other.internalGetRecordData())) 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) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (37 * hash) + CLASSID_FIELD_NUMBER; hash = (53 * hash) + getClassId().hashCode(); hash = (37 * hash) + PROTOCOL_FIELD_NUMBER; hash = (53 * hash) + protocol_; if (hasPersonDetails()) { hash = (37 * hash) + PERSONDETAILS_FIELD_NUMBER; hash = (53 * hash) + getPersonDetails().hashCode(); } if (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } if (!internalGetRecordData().getMap().isEmpty()) { hash = (37 * hash) + RECORDDATA_FIELD_NUMBER; hash = (53 * hash) + internalGetRecordData().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.PassOuterClass.Pass parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.PassOuterClass.Pass 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.PassOuterClass.Pass parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.PassOuterClass.Pass 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.PassOuterClass.Pass parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.PassOuterClass.Pass parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.PassOuterClass.Pass parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.PassOuterClass.Pass 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.PassOuterClass.Pass parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.PassOuterClass.Pass 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.PassOuterClass.Pass parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.PassOuterClass.Pass 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.PassOuterClass.Pass 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; } /** *
     * Details of pass and pass holder.
     * 
* * Protobuf type {@code io.Pass} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.Pass) com.passkit.grpc.PassOuterClass.PassOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.PassOuterClass.internal_static_io_Pass_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 6: return internalGetRecordData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 6: return internalGetMutableRecordData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.PassOuterClass.internal_static_io_Pass_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.PassOuterClass.Pass.class, com.passkit.grpc.PassOuterClass.Pass.Builder.class); } // Construct using com.passkit.grpc.PassOuterClass.Pass.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_ = ""; classId_ = ""; protocol_ = 0; if (personDetailsBuilder_ == null) { personDetails_ = null; } else { personDetails_ = null; personDetailsBuilder_ = null; } if (metadataBuilder_ == null) { metadata_ = null; } else { metadata_ = null; metadataBuilder_ = null; } internalGetMutableRecordData().clear(); externalId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.PassOuterClass.internal_static_io_Pass_descriptor; } @java.lang.Override public com.passkit.grpc.PassOuterClass.Pass getDefaultInstanceForType() { return com.passkit.grpc.PassOuterClass.Pass.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.PassOuterClass.Pass build() { com.passkit.grpc.PassOuterClass.Pass result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.PassOuterClass.Pass buildPartial() { com.passkit.grpc.PassOuterClass.Pass result = new com.passkit.grpc.PassOuterClass.Pass(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.classId_ = classId_; result.protocol_ = protocol_; if (personDetailsBuilder_ == null) { result.personDetails_ = personDetails_; } else { result.personDetails_ = personDetailsBuilder_.build(); } if (metadataBuilder_ == null) { result.metadata_ = metadata_; } else { result.metadata_ = metadataBuilder_.build(); } result.recordData_ = internalGetRecordData(); result.recordData_.makeImmutable(); 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.PassOuterClass.Pass) { return mergeFrom((com.passkit.grpc.PassOuterClass.Pass)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.PassOuterClass.Pass other) { if (other == com.passkit.grpc.PassOuterClass.Pass.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getClassId().isEmpty()) { classId_ = other.classId_; onChanged(); } if (other.protocol_ != 0) { setProtocolValue(other.getProtocolValue()); } if (other.hasPersonDetails()) { mergePersonDetails(other.getPersonDetails()); } if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } internalGetMutableRecordData().mergeFrom( other.internalGetRecordData()); 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.PassOuterClass.Pass parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.PassOuterClass.Pass) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object id_ = ""; /** *
       * The uuid of the pass.
       * 
* * 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; } } /** *
       * The uuid of the pass.
       * 
* * 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; } } /** *
       * The uuid of the pass.
       * 
* * 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; } /** *
       * The uuid of the pass.
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * The uuid of the pass.
       * 
* * 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 classId_ = ""; /** *
       * The class id of the pass which it belongs to.
       * 
* * string classId = 2; * @return The classId. */ public java.lang.String getClassId() { java.lang.Object ref = classId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); classId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The class id of the pass which it belongs to.
       * 
* * string classId = 2; * @return The bytes for classId. */ public com.google.protobuf.ByteString getClassIdBytes() { java.lang.Object ref = classId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); classId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The class id of the pass which it belongs to.
       * 
* * string classId = 2; * @param value The classId to set. * @return This builder for chaining. */ public Builder setClassId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } classId_ = value; onChanged(); return this; } /** *
       * The class id of the pass which it belongs to.
       * 
* * string classId = 2; * @return This builder for chaining. */ public Builder clearClassId() { classId_ = getDefaultInstance().getClassId(); onChanged(); return this; } /** *
       * The class id of the pass which it belongs to.
       * 
* * string classId = 2; * @param value The bytes for classId to set. * @return This builder for chaining. */ public Builder setClassIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); classId_ = value; onChanged(); return this; } private int protocol_ = 0; /** *
       * Protocol module which this pass was issued by.
       * 
* * .io.PassProtocol protocol = 3; * @return The enum numeric value on the wire for protocol. */ @java.lang.Override public int getProtocolValue() { return protocol_; } /** *
       * Protocol module which this pass was issued by.
       * 
* * .io.PassProtocol protocol = 3; * @param value The enum numeric value on the wire for protocol to set. * @return This builder for chaining. */ public Builder setProtocolValue(int value) { protocol_ = value; onChanged(); return this; } /** *
       * Protocol module which this pass was issued by.
       * 
* * .io.PassProtocol protocol = 3; * @return The protocol. */ @java.lang.Override public com.passkit.grpc.Protocols.PassProtocol getProtocol() { @SuppressWarnings("deprecation") com.passkit.grpc.Protocols.PassProtocol result = com.passkit.grpc.Protocols.PassProtocol.valueOf(protocol_); return result == null ? com.passkit.grpc.Protocols.PassProtocol.UNRECOGNIZED : result; } /** *
       * Protocol module which this pass was issued by.
       * 
* * .io.PassProtocol protocol = 3; * @param value The protocol to set. * @return This builder for chaining. */ public Builder setProtocol(com.passkit.grpc.Protocols.PassProtocol value) { if (value == null) { throw new NullPointerException(); } protocol_ = value.getNumber(); onChanged(); return this; } /** *
       * Protocol module which this pass was issued by.
       * 
* * .io.PassProtocol protocol = 3; * @return This builder for chaining. */ public Builder clearProtocol() { protocol_ = 0; onChanged(); return this; } private com.passkit.grpc.Personal.Person personDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Person, com.passkit.grpc.Personal.Person.Builder, com.passkit.grpc.Personal.PersonOrBuilder> personDetailsBuilder_; /** *
       * PII data of pass holder.
       * 
* * .io.Person personDetails = 4; * @return Whether the personDetails field is set. */ public boolean hasPersonDetails() { return personDetailsBuilder_ != null || personDetails_ != null; } /** *
       * PII data of pass holder.
       * 
* * .io.Person personDetails = 4; * @return The personDetails. */ public com.passkit.grpc.Personal.Person getPersonDetails() { if (personDetailsBuilder_ == null) { return personDetails_ == null ? com.passkit.grpc.Personal.Person.getDefaultInstance() : personDetails_; } else { return personDetailsBuilder_.getMessage(); } } /** *
       * PII data of pass holder.
       * 
* * .io.Person personDetails = 4; */ public Builder setPersonDetails(com.passkit.grpc.Personal.Person value) { if (personDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } personDetails_ = value; onChanged(); } else { personDetailsBuilder_.setMessage(value); } return this; } /** *
       * PII data of pass holder.
       * 
* * .io.Person personDetails = 4; */ public Builder setPersonDetails( com.passkit.grpc.Personal.Person.Builder builderForValue) { if (personDetailsBuilder_ == null) { personDetails_ = builderForValue.build(); onChanged(); } else { personDetailsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * PII data of pass holder.
       * 
* * .io.Person personDetails = 4; */ public Builder mergePersonDetails(com.passkit.grpc.Personal.Person value) { if (personDetailsBuilder_ == null) { if (personDetails_ != null) { personDetails_ = com.passkit.grpc.Personal.Person.newBuilder(personDetails_).mergeFrom(value).buildPartial(); } else { personDetails_ = value; } onChanged(); } else { personDetailsBuilder_.mergeFrom(value); } return this; } /** *
       * PII data of pass holder.
       * 
* * .io.Person personDetails = 4; */ public Builder clearPersonDetails() { if (personDetailsBuilder_ == null) { personDetails_ = null; onChanged(); } else { personDetails_ = null; personDetailsBuilder_ = null; } return this; } /** *
       * PII data of pass holder.
       * 
* * .io.Person personDetails = 4; */ public com.passkit.grpc.Personal.Person.Builder getPersonDetailsBuilder() { onChanged(); return getPersonDetailsFieldBuilder().getBuilder(); } /** *
       * PII data of pass holder.
       * 
* * .io.Person personDetails = 4; */ public com.passkit.grpc.Personal.PersonOrBuilder getPersonDetailsOrBuilder() { if (personDetailsBuilder_ != null) { return personDetailsBuilder_.getMessageOrBuilder(); } else { return personDetails_ == null ? com.passkit.grpc.Personal.Person.getDefaultInstance() : personDetails_; } } /** *
       * PII data of pass holder.
       * 
* * .io.Person personDetails = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Person, com.passkit.grpc.Personal.Person.Builder, com.passkit.grpc.Personal.PersonOrBuilder> getPersonDetailsFieldBuilder() { if (personDetailsBuilder_ == null) { personDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.Personal.Person, com.passkit.grpc.Personal.Person.Builder, com.passkit.grpc.Personal.PersonOrBuilder>( getPersonDetails(), getParentForChildren(), isClean()); personDetails_ = null; } return personDetailsBuilder_; } private com.passkit.grpc.MetricsOuterClass.Metadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.MetricsOuterClass.Metadata, com.passkit.grpc.MetricsOuterClass.Metadata.Builder, com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder> metadataBuilder_; /** *
       * Pass meta data such as install ip, user agent and other lifecycle data.
       * 
* * .io.Metadata metadata = 5; * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** *
       * Pass meta data such as install ip, user agent and other lifecycle data.
       * 
* * .io.Metadata metadata = 5; * @return The metadata. */ public com.passkit.grpc.MetricsOuterClass.Metadata getMetadata() { if (metadataBuilder_ == null) { return metadata_ == null ? com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** *
       * Pass meta data such as install ip, user agent and other lifecycle data.
       * 
* * .io.Metadata metadata = 5; */ public Builder setMetadata(com.passkit.grpc.MetricsOuterClass.Metadata value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metadata_ = value; onChanged(); } else { metadataBuilder_.setMessage(value); } return this; } /** *
       * Pass meta data such as install ip, user agent and other lifecycle data.
       * 
* * .io.Metadata metadata = 5; */ public Builder setMetadata( com.passkit.grpc.MetricsOuterClass.Metadata.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); } else { metadataBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Pass meta data such as install ip, user agent and other lifecycle data.
       * 
* * .io.Metadata metadata = 5; */ public Builder mergeMetadata(com.passkit.grpc.MetricsOuterClass.Metadata value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = com.passkit.grpc.MetricsOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } onChanged(); } else { metadataBuilder_.mergeFrom(value); } return this; } /** *
       * Pass meta data such as install ip, user agent and other lifecycle data.
       * 
* * .io.Metadata metadata = 5; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { metadata_ = null; onChanged(); } else { metadata_ = null; metadataBuilder_ = null; } return this; } /** *
       * Pass meta data such as install ip, user agent and other lifecycle data.
       * 
* * .io.Metadata metadata = 5; */ public com.passkit.grpc.MetricsOuterClass.Metadata.Builder getMetadataBuilder() { onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** *
       * Pass meta data such as install ip, user agent and other lifecycle data.
       * 
* * .io.Metadata metadata = 5; */ public com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { return metadata_ == null ? com.passkit.grpc.MetricsOuterClass.Metadata.getDefaultInstance() : metadata_; } } /** *
       * Pass meta data such as install ip, user agent and other lifecycle data.
       * 
* * .io.Metadata metadata = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.MetricsOuterClass.Metadata, com.passkit.grpc.MetricsOuterClass.Metadata.Builder, com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.MetricsOuterClass.Metadata, com.passkit.grpc.MetricsOuterClass.Metadata.Builder, com.passkit.grpc.MetricsOuterClass.MetadataOrBuilder>( getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> recordData_; private com.google.protobuf.MapField internalGetRecordData() { if (recordData_ == null) { return com.google.protobuf.MapField.emptyMapField( RecordDataDefaultEntryHolder.defaultEntry); } return recordData_; } private com.google.protobuf.MapField internalGetMutableRecordData() { onChanged();; if (recordData_ == null) { recordData_ = com.google.protobuf.MapField.newMapField( RecordDataDefaultEntryHolder.defaultEntry); } if (!recordData_.isMutable()) { recordData_ = recordData_.copy(); } return recordData_; } public int getRecordDataCount() { return internalGetRecordData().getMap().size(); } /** *
       * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
       * 
* * map<string, string> recordData = 6; */ @java.lang.Override public boolean containsRecordData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetRecordData().getMap().containsKey(key); } /** * Use {@link #getRecordDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getRecordData() { return getRecordDataMap(); } /** *
       * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
       * 
* * map<string, string> recordData = 6; */ @java.lang.Override public java.util.Map getRecordDataMap() { return internalGetRecordData().getMap(); } /** *
       * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
       * 
* * map<string, string> recordData = 6; */ @java.lang.Override public java.lang.String getRecordDataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetRecordData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
       * 
* * map<string, string> recordData = 6; */ @java.lang.Override public java.lang.String getRecordDataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetRecordData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearRecordData() { internalGetMutableRecordData().getMutableMap() .clear(); return this; } /** *
       * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
       * 
* * map<string, string> recordData = 6; */ public Builder removeRecordData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableRecordData().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableRecordData() { return internalGetMutableRecordData().getMutableMap(); } /** *
       * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
       * 
* * map<string, string> recordData = 6; */ public Builder putRecordData( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableRecordData().getMutableMap() .put(key, value); return this; } /** *
       * Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
       * 
* * map<string, string> recordData = 6; */ public Builder putAllRecordData( java.util.Map values) { internalGetMutableRecordData().getMutableMap() .putAll(values); return this; } private java.lang.Object externalId_ = ""; /** *
       * Will hold the external id of the object (as set by protocol)
       * 
* * string externalId = 7; * @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; } } /** *
       * Will hold the external id of the object (as set by protocol)
       * 
* * string externalId = 7; * @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; } } /** *
       * Will hold the external id of the object (as set by protocol)
       * 
* * string externalId = 7; * @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; } /** *
       * Will hold the external id of the object (as set by protocol)
       * 
* * string externalId = 7; * @return This builder for chaining. */ public Builder clearExternalId() { externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** *
       * Will hold the external id of the object (as set by protocol)
       * 
* * string externalId = 7; * @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:io.Pass) } // @@protoc_insertion_point(class_scope:io.Pass) private static final com.passkit.grpc.PassOuterClass.Pass DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.PassOuterClass.Pass(); } public static com.passkit.grpc.PassOuterClass.Pass getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Pass parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Pass(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.PassOuterClass.Pass getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_PassOverrides_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_PassOverrides_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_PassOptions_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_PassOptions_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_Pass_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_Pass_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_Pass_RecordDataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_Pass_RecordDataEntry_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\024io/common/pass.proto\022\002io\032\024io/image/ima" + "ge.proto\032\025io/common/links.proto\032\027io/comm" + "on/metrics.proto\032\030io/common/personal.pro" + "to\032\031io/common/protocols.proto\032\031io/common" + "/proximity.proto\032\030io/common/template.pro" + "to\032.protoc-gen-openapiv2/options/annotat" + "ions.proto\"\303\001\n\rPassOverrides\022\036\n\010imageIds" + "\030\001 \001(\0132\014.io.ImageIds\022*\n\tlocations\030\003 \003(\0132" + "\017.io.GPSLocationB\006\222A\003\240\001\n\022#\n\007beacons\030\004 \003(" + "\0132\n.io.BeaconB\006\222A\003\240\001\n\022\037\n\005links\030\005 \003(\0132\010.i" + "o.LinkB\006\222A\003\240\001\n\022\032\n\006colors\030\006 \001(\0132\n.io.Colo" + "rsJ\004\010\002\020\003\"\\\n\013PassOptions\022&\n\005apple\030\001 \001(\0132\027" + ".io.AppleWalletSettings\022%\n\006google\030\002 \001(\0132" + "\025.io.GooglePaySettings\"\377\001\n\004Pass\022\n\n\002id\030\001 " + "\001(\t\022\017\n\007classId\030\002 \001(\t\022\"\n\010protocol\030\003 \001(\0162\020" + ".io.PassProtocol\022!\n\rpersonDetails\030\004 \001(\0132" + "\n.io.Person\022\036\n\010metadata\030\005 \001(\0132\014.io.Metad" + "ata\022,\n\nrecordData\030\006 \003(\0132\030.io.Pass.Record" + "DataEntry\022\022\n\nexternalId\030\007 \001(\t\0321\n\017RecordD" + "ataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + "BG\n\020com.passkit.grpcZ$stash.passkit.com/" + "io/model/sdk/go/io\252\002\014PassKit.Grpcb\006proto" + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.passkit.grpc.Image.getDescriptor(), com.passkit.grpc.Links.getDescriptor(), com.passkit.grpc.MetricsOuterClass.getDescriptor(), com.passkit.grpc.Personal.getDescriptor(), com.passkit.grpc.Protocols.getDescriptor(), com.passkit.grpc.Proximity.getDescriptor(), com.passkit.grpc.Template.getDescriptor(), grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(), }); internal_static_io_PassOverrides_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_io_PassOverrides_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_PassOverrides_descriptor, new java.lang.String[] { "ImageIds", "Locations", "Beacons", "Links", "Colors", }); internal_static_io_PassOptions_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_io_PassOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_PassOptions_descriptor, new java.lang.String[] { "Apple", "Google", }); internal_static_io_Pass_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_io_Pass_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_Pass_descriptor, new java.lang.String[] { "Id", "ClassId", "Protocol", "PersonDetails", "Metadata", "RecordData", "ExternalId", }); internal_static_io_Pass_RecordDataEntry_descriptor = internal_static_io_Pass_descriptor.getNestedTypes().get(0); internal_static_io_Pass_RecordDataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_Pass_RecordDataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(grpc.gateway.protoc_gen_openapiv2.options.Annotations.openapiv2Field); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.passkit.grpc.Image.getDescriptor(); com.passkit.grpc.Links.getDescriptor(); com.passkit.grpc.MetricsOuterClass.getDescriptor(); com.passkit.grpc.Personal.getDescriptor(); com.passkit.grpc.Protocols.getDescriptor(); com.passkit.grpc.Proximity.getDescriptor(); com.passkit.grpc.Template.getDescriptor(); grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy