com.passkit.grpc.Image Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
SDK for the PassKit gRPC API that can be used to create, configure and manage Membership, Loyalty, Event Ticket, Coupon, Transit and Boarding Pass content for mobile wallet applications, including Apple Pay and Google Pay.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: io/image/image.proto
package com.passkit.grpc;
public final class Image {
private Image() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code io.ImageUse}
*/
public enum ImageUse
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Mandatory icon, used in Apple Wallet lock screen (87px x 87px).
*
*
* icon = 0;
*/
icon(0),
/**
*
* Logo is circle-cropped by Google Pay, a 15% safety margin is recommended (660px x 660px).
*
*
* logo = 1;
*/
logo(1),
/**
*
* Apple logo can be used where a rectangular design is preferred for Apple Passes only. If omitted, the square
* logo image will be used. (<=480px x 150px).
*
*
* appleLogo = 2;
*/
appleLogo(2),
/**
*
* Hero is the Google Pay strip and is also used in the dialog box when installing (1032px x 336px).
*
*
* hero = 3;
*/
hero(3),
/**
*
* Apple Wallet strip image for EventTicket pass types (1125px x 294px).
*
*
* eventStrip = 4;
*/
eventStrip(4),
/**
*
* Apple Wallet strip image for other pass types with a strip image (1125px x 432px).
*
*
* strip = 5;
*/
strip(5),
/**
*
* Used on Membership passes and Apple event tickets with a background image
* (>=320 x >=320 in a ratio range of 2:3-3:2).
*
*
* thumbnail = 6;
*/
thumbnail(6),
/**
*
* used only be Apple Event Ticket designs, this image is blurred to form a background and so can be a low quality
* image. Note it may also be slightly cropped on some devices (180px x 220px).
*
*
* background = 7;
*/
background(7),
/**
*
* displays above the barcode for Apple Wallet Boarding pass tickets (858px x 45px).
*
*
* footer = 8;
*/
footer(8),
/**
*
* Google Pay - used to denote a security program on boarding pass types (E.g. TSA PreCheck®). Width of 1600px is.
* shared with the boarding privilege logo (<=1600px x 80px).
*
*
* security = 9;
*/
security(9),
/**
*
* Google Pay - used to denote a boarding privilege. Width of 1600px is shared with the security program logo.
* (<=1600px x 80px)
*
*
* privilege = 10;
*/
privilege(10),
/**
*
* Google Pay - used to denote airline alliance on boarding pass types (<=1600px x 80px).
*
*
* airlineAlliance = 11;
*/
airlineAlliance(11),
/**
*
* For Apple Pay NFC passes whitelisted for personalization. Image is displayed after terms are presented
* (<=450px x 120px).
*
*
* personalization = 12;
*/
personalization(12),
/**
*
* used on a landing page or email. Image has no size constraints and will be treated as @2x pixel density.
*
*
* banner = 13;
*/
banner(13),
/**
*
* used for Google Pay in wallet promotional messages - for Apple Pay, the message will be rendered on a mobile
* website (1860px x <=930px).
*
*
* message = 14;
*/
message(14),
/**
*
* used for user Profile images (300px x 300px).
*
*
* profile = 15;
*/
profile(15),
/**
*
* used for user App images in Google Pay (Google approval required, 300px x 300px).
*
*
* appImage = 16;
*/
appImage(16),
UNRECOGNIZED(-1),
;
/**
*
* Mandatory icon, used in Apple Wallet lock screen (87px x 87px).
*
*
* icon = 0;
*/
public static final int icon_VALUE = 0;
/**
*
* Logo is circle-cropped by Google Pay, a 15% safety margin is recommended (660px x 660px).
*
*
* logo = 1;
*/
public static final int logo_VALUE = 1;
/**
*
* Apple logo can be used where a rectangular design is preferred for Apple Passes only. If omitted, the square
* logo image will be used. (<=480px x 150px).
*
*
* appleLogo = 2;
*/
public static final int appleLogo_VALUE = 2;
/**
*
* Hero is the Google Pay strip and is also used in the dialog box when installing (1032px x 336px).
*
*
* hero = 3;
*/
public static final int hero_VALUE = 3;
/**
*
* Apple Wallet strip image for EventTicket pass types (1125px x 294px).
*
*
* eventStrip = 4;
*/
public static final int eventStrip_VALUE = 4;
/**
*
* Apple Wallet strip image for other pass types with a strip image (1125px x 432px).
*
*
* strip = 5;
*/
public static final int strip_VALUE = 5;
/**
*
* Used on Membership passes and Apple event tickets with a background image
* (>=320 x >=320 in a ratio range of 2:3-3:2).
*
*
* thumbnail = 6;
*/
public static final int thumbnail_VALUE = 6;
/**
*
* used only be Apple Event Ticket designs, this image is blurred to form a background and so can be a low quality
* image. Note it may also be slightly cropped on some devices (180px x 220px).
*
*
* background = 7;
*/
public static final int background_VALUE = 7;
/**
*
* displays above the barcode for Apple Wallet Boarding pass tickets (858px x 45px).
*
*
* footer = 8;
*/
public static final int footer_VALUE = 8;
/**
*
* Google Pay - used to denote a security program on boarding pass types (E.g. TSA PreCheck®). Width of 1600px is.
* shared with the boarding privilege logo (<=1600px x 80px).
*
*
* security = 9;
*/
public static final int security_VALUE = 9;
/**
*
* Google Pay - used to denote a boarding privilege. Width of 1600px is shared with the security program logo.
* (<=1600px x 80px)
*
*
* privilege = 10;
*/
public static final int privilege_VALUE = 10;
/**
*
* Google Pay - used to denote airline alliance on boarding pass types (<=1600px x 80px).
*
*
* airlineAlliance = 11;
*/
public static final int airlineAlliance_VALUE = 11;
/**
*
* For Apple Pay NFC passes whitelisted for personalization. Image is displayed after terms are presented
* (<=450px x 120px).
*
*
* personalization = 12;
*/
public static final int personalization_VALUE = 12;
/**
*
* used on a landing page or email. Image has no size constraints and will be treated as @2x pixel density.
*
*
* banner = 13;
*/
public static final int banner_VALUE = 13;
/**
*
* used for Google Pay in wallet promotional messages - for Apple Pay, the message will be rendered on a mobile
* website (1860px x <=930px).
*
*
* message = 14;
*/
public static final int message_VALUE = 14;
/**
*
* used for user Profile images (300px x 300px).
*
*
* profile = 15;
*/
public static final int profile_VALUE = 15;
/**
*
* used for user App images in Google Pay (Google approval required, 300px x 300px).
*
*
* appImage = 16;
*/
public static final int appImage_VALUE = 16;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ImageUse valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ImageUse forNumber(int value) {
switch (value) {
case 0: return icon;
case 1: return logo;
case 2: return appleLogo;
case 3: return hero;
case 4: return eventStrip;
case 5: return strip;
case 6: return thumbnail;
case 7: return background;
case 8: return footer;
case 9: return security;
case 10: return privilege;
case 11: return airlineAlliance;
case 12: return personalization;
case 13: return banner;
case 14: return message;
case 15: return profile;
case 16: return appImage;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ImageUse> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ImageUse findValueByNumber(int number) {
return ImageUse.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.passkit.grpc.Image.getDescriptor().getEnumTypes().get(0);
}
private static final ImageUse[] VALUES = values();
public static ImageUse valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ImageUse(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:io.ImageUse)
}
public interface ImageIdsOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.ImageIds)
com.google.protobuf.MessageOrBuilder {
/**
* string icon = 1;
* @return The icon.
*/
java.lang.String getIcon();
/**
* string icon = 1;
* @return The bytes for icon.
*/
com.google.protobuf.ByteString
getIconBytes();
/**
* string logo = 2;
* @return The logo.
*/
java.lang.String getLogo();
/**
* string logo = 2;
* @return The bytes for logo.
*/
com.google.protobuf.ByteString
getLogoBytes();
/**
* string appleLogo = 3;
* @return The appleLogo.
*/
java.lang.String getAppleLogo();
/**
* string appleLogo = 3;
* @return The bytes for appleLogo.
*/
com.google.protobuf.ByteString
getAppleLogoBytes();
/**
* string hero = 4;
* @return The hero.
*/
java.lang.String getHero();
/**
* string hero = 4;
* @return The bytes for hero.
*/
com.google.protobuf.ByteString
getHeroBytes();
/**
* string eventStrip = 5;
* @return The eventStrip.
*/
java.lang.String getEventStrip();
/**
* string eventStrip = 5;
* @return The bytes for eventStrip.
*/
com.google.protobuf.ByteString
getEventStripBytes();
/**
* string strip = 6;
* @return The strip.
*/
java.lang.String getStrip();
/**
* string strip = 6;
* @return The bytes for strip.
*/
com.google.protobuf.ByteString
getStripBytes();
/**
* string thumbnail = 7;
* @return The thumbnail.
*/
java.lang.String getThumbnail();
/**
* string thumbnail = 7;
* @return The bytes for thumbnail.
*/
com.google.protobuf.ByteString
getThumbnailBytes();
/**
* string background = 8;
* @return The background.
*/
java.lang.String getBackground();
/**
* string background = 8;
* @return The bytes for background.
*/
com.google.protobuf.ByteString
getBackgroundBytes();
/**
* string footer = 9;
* @return The footer.
*/
java.lang.String getFooter();
/**
* string footer = 9;
* @return The bytes for footer.
*/
com.google.protobuf.ByteString
getFooterBytes();
/**
* string security = 10;
* @return The security.
*/
java.lang.String getSecurity();
/**
* string security = 10;
* @return The bytes for security.
*/
com.google.protobuf.ByteString
getSecurityBytes();
/**
* string privilege = 11;
* @return The privilege.
*/
java.lang.String getPrivilege();
/**
* string privilege = 11;
* @return The bytes for privilege.
*/
com.google.protobuf.ByteString
getPrivilegeBytes();
/**
* string airlineAlliance = 12;
* @return The airlineAlliance.
*/
java.lang.String getAirlineAlliance();
/**
* string airlineAlliance = 12;
* @return The bytes for airlineAlliance.
*/
com.google.protobuf.ByteString
getAirlineAllianceBytes();
/**
* string personalization = 13;
* @return The personalization.
*/
java.lang.String getPersonalization();
/**
* string personalization = 13;
* @return The bytes for personalization.
*/
com.google.protobuf.ByteString
getPersonalizationBytes();
/**
* string banner = 14;
* @return The banner.
*/
java.lang.String getBanner();
/**
* string banner = 14;
* @return The bytes for banner.
*/
com.google.protobuf.ByteString
getBannerBytes();
/**
* string message = 15;
* @return The message.
*/
java.lang.String getMessage();
/**
* string message = 15;
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
/**
* string profile = 16;
* @return The profile.
*/
java.lang.String getProfile();
/**
* string profile = 16;
* @return The bytes for profile.
*/
com.google.protobuf.ByteString
getProfileBytes();
/**
* string appImage = 17;
* @return The appImage.
*/
java.lang.String getAppImage();
/**
* string appImage = 17;
* @return The bytes for appImage.
*/
com.google.protobuf.ByteString
getAppImageBytes();
}
/**
*
* See image 'Use' enum for descriptions and sizes.
*
*
* Protobuf type {@code io.ImageIds}
*/
public static final class ImageIds extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.ImageIds)
ImageIdsOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImageIds.newBuilder() to construct.
private ImageIds(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImageIds() {
icon_ = "";
logo_ = "";
appleLogo_ = "";
hero_ = "";
eventStrip_ = "";
strip_ = "";
thumbnail_ = "";
background_ = "";
footer_ = "";
security_ = "";
privilege_ = "";
airlineAlliance_ = "";
personalization_ = "";
banner_ = "";
message_ = "";
profile_ = "";
appImage_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImageIds();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImageIds(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
icon_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
logo_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
appleLogo_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
hero_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
eventStrip_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
strip_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
thumbnail_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
background_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
footer_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
security_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
privilege_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
airlineAlliance_ = s;
break;
}
case 106: {
java.lang.String s = input.readStringRequireUtf8();
personalization_ = s;
break;
}
case 114: {
java.lang.String s = input.readStringRequireUtf8();
banner_ = s;
break;
}
case 122: {
java.lang.String s = input.readStringRequireUtf8();
message_ = s;
break;
}
case 130: {
java.lang.String s = input.readStringRequireUtf8();
profile_ = s;
break;
}
case 138: {
java.lang.String s = input.readStringRequireUtf8();
appImage_ = 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.Image.internal_static_io_ImageIds_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_ImageIds_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.ImageIds.class, com.passkit.grpc.Image.ImageIds.Builder.class);
}
public static final int ICON_FIELD_NUMBER = 1;
private volatile java.lang.Object icon_;
/**
* string icon = 1;
* @return The icon.
*/
@java.lang.Override
public java.lang.String getIcon() {
java.lang.Object ref = icon_;
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();
icon_ = s;
return s;
}
}
/**
* string icon = 1;
* @return The bytes for icon.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIconBytes() {
java.lang.Object ref = icon_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
icon_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOGO_FIELD_NUMBER = 2;
private volatile java.lang.Object logo_;
/**
* string logo = 2;
* @return The logo.
*/
@java.lang.Override
public java.lang.String getLogo() {
java.lang.Object ref = logo_;
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();
logo_ = s;
return s;
}
}
/**
* string logo = 2;
* @return The bytes for logo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLogoBytes() {
java.lang.Object ref = logo_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int APPLELOGO_FIELD_NUMBER = 3;
private volatile java.lang.Object appleLogo_;
/**
* string appleLogo = 3;
* @return The appleLogo.
*/
@java.lang.Override
public java.lang.String getAppleLogo() {
java.lang.Object ref = appleLogo_;
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();
appleLogo_ = s;
return s;
}
}
/**
* string appleLogo = 3;
* @return The bytes for appleLogo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppleLogoBytes() {
java.lang.Object ref = appleLogo_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
appleLogo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HERO_FIELD_NUMBER = 4;
private volatile java.lang.Object hero_;
/**
* string hero = 4;
* @return The hero.
*/
@java.lang.Override
public java.lang.String getHero() {
java.lang.Object ref = hero_;
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();
hero_ = s;
return s;
}
}
/**
* string hero = 4;
* @return The bytes for hero.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHeroBytes() {
java.lang.Object ref = hero_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hero_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EVENTSTRIP_FIELD_NUMBER = 5;
private volatile java.lang.Object eventStrip_;
/**
* string eventStrip = 5;
* @return The eventStrip.
*/
@java.lang.Override
public java.lang.String getEventStrip() {
java.lang.Object ref = eventStrip_;
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();
eventStrip_ = s;
return s;
}
}
/**
* string eventStrip = 5;
* @return The bytes for eventStrip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEventStripBytes() {
java.lang.Object ref = eventStrip_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
eventStrip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STRIP_FIELD_NUMBER = 6;
private volatile java.lang.Object strip_;
/**
* string strip = 6;
* @return The strip.
*/
@java.lang.Override
public java.lang.String getStrip() {
java.lang.Object ref = strip_;
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();
strip_ = s;
return s;
}
}
/**
* string strip = 6;
* @return The bytes for strip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStripBytes() {
java.lang.Object ref = strip_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
strip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int THUMBNAIL_FIELD_NUMBER = 7;
private volatile java.lang.Object thumbnail_;
/**
* string thumbnail = 7;
* @return The thumbnail.
*/
@java.lang.Override
public java.lang.String getThumbnail() {
java.lang.Object ref = thumbnail_;
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();
thumbnail_ = s;
return s;
}
}
/**
* string thumbnail = 7;
* @return The bytes for thumbnail.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getThumbnailBytes() {
java.lang.Object ref = thumbnail_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
thumbnail_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BACKGROUND_FIELD_NUMBER = 8;
private volatile java.lang.Object background_;
/**
* string background = 8;
* @return The background.
*/
@java.lang.Override
public java.lang.String getBackground() {
java.lang.Object ref = background_;
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();
background_ = s;
return s;
}
}
/**
* string background = 8;
* @return The bytes for background.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBackgroundBytes() {
java.lang.Object ref = background_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
background_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FOOTER_FIELD_NUMBER = 9;
private volatile java.lang.Object footer_;
/**
* string footer = 9;
* @return The footer.
*/
@java.lang.Override
public java.lang.String getFooter() {
java.lang.Object ref = footer_;
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();
footer_ = s;
return s;
}
}
/**
* string footer = 9;
* @return The bytes for footer.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFooterBytes() {
java.lang.Object ref = footer_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
footer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SECURITY_FIELD_NUMBER = 10;
private volatile java.lang.Object security_;
/**
* string security = 10;
* @return The security.
*/
@java.lang.Override
public java.lang.String getSecurity() {
java.lang.Object ref = security_;
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();
security_ = s;
return s;
}
}
/**
* string security = 10;
* @return The bytes for security.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSecurityBytes() {
java.lang.Object ref = security_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
security_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRIVILEGE_FIELD_NUMBER = 11;
private volatile java.lang.Object privilege_;
/**
* string privilege = 11;
* @return The privilege.
*/
@java.lang.Override
public java.lang.String getPrivilege() {
java.lang.Object ref = privilege_;
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();
privilege_ = s;
return s;
}
}
/**
* string privilege = 11;
* @return The bytes for privilege.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPrivilegeBytes() {
java.lang.Object ref = privilege_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
privilege_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AIRLINEALLIANCE_FIELD_NUMBER = 12;
private volatile java.lang.Object airlineAlliance_;
/**
* string airlineAlliance = 12;
* @return The airlineAlliance.
*/
@java.lang.Override
public java.lang.String getAirlineAlliance() {
java.lang.Object ref = airlineAlliance_;
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();
airlineAlliance_ = s;
return s;
}
}
/**
* string airlineAlliance = 12;
* @return The bytes for airlineAlliance.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAirlineAllianceBytes() {
java.lang.Object ref = airlineAlliance_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
airlineAlliance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PERSONALIZATION_FIELD_NUMBER = 13;
private volatile java.lang.Object personalization_;
/**
* string personalization = 13;
* @return The personalization.
*/
@java.lang.Override
public java.lang.String getPersonalization() {
java.lang.Object ref = personalization_;
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();
personalization_ = s;
return s;
}
}
/**
* string personalization = 13;
* @return The bytes for personalization.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPersonalizationBytes() {
java.lang.Object ref = personalization_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
personalization_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BANNER_FIELD_NUMBER = 14;
private volatile java.lang.Object banner_;
/**
* string banner = 14;
* @return The banner.
*/
@java.lang.Override
public java.lang.String getBanner() {
java.lang.Object ref = banner_;
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();
banner_ = s;
return s;
}
}
/**
* string banner = 14;
* @return The bytes for banner.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBannerBytes() {
java.lang.Object ref = banner_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
banner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MESSAGE_FIELD_NUMBER = 15;
private volatile java.lang.Object message_;
/**
* string message = 15;
* @return The message.
*/
@java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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();
message_ = s;
return s;
}
}
/**
* string message = 15;
* @return The bytes for message.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROFILE_FIELD_NUMBER = 16;
private volatile java.lang.Object profile_;
/**
* string profile = 16;
* @return The profile.
*/
@java.lang.Override
public java.lang.String getProfile() {
java.lang.Object ref = profile_;
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();
profile_ = s;
return s;
}
}
/**
* string profile = 16;
* @return The bytes for profile.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProfileBytes() {
java.lang.Object ref = profile_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
profile_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int APPIMAGE_FIELD_NUMBER = 17;
private volatile java.lang.Object appImage_;
/**
* string appImage = 17;
* @return The appImage.
*/
@java.lang.Override
public java.lang.String getAppImage() {
java.lang.Object ref = appImage_;
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();
appImage_ = s;
return s;
}
}
/**
* string appImage = 17;
* @return The bytes for appImage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppImageBytes() {
java.lang.Object ref = appImage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
appImage_ = 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 (!getIconBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, icon_);
}
if (!getLogoBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, logo_);
}
if (!getAppleLogoBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, appleLogo_);
}
if (!getHeroBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, hero_);
}
if (!getEventStripBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, eventStrip_);
}
if (!getStripBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, strip_);
}
if (!getThumbnailBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, thumbnail_);
}
if (!getBackgroundBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, background_);
}
if (!getFooterBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, footer_);
}
if (!getSecurityBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, security_);
}
if (!getPrivilegeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, privilege_);
}
if (!getAirlineAllianceBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, airlineAlliance_);
}
if (!getPersonalizationBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, personalization_);
}
if (!getBannerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, banner_);
}
if (!getMessageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, message_);
}
if (!getProfileBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 16, profile_);
}
if (!getAppImageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 17, appImage_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getIconBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, icon_);
}
if (!getLogoBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, logo_);
}
if (!getAppleLogoBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, appleLogo_);
}
if (!getHeroBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, hero_);
}
if (!getEventStripBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, eventStrip_);
}
if (!getStripBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, strip_);
}
if (!getThumbnailBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, thumbnail_);
}
if (!getBackgroundBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, background_);
}
if (!getFooterBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, footer_);
}
if (!getSecurityBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, security_);
}
if (!getPrivilegeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, privilege_);
}
if (!getAirlineAllianceBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, airlineAlliance_);
}
if (!getPersonalizationBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, personalization_);
}
if (!getBannerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, banner_);
}
if (!getMessageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, message_);
}
if (!getProfileBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, profile_);
}
if (!getAppImageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, appImage_);
}
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.Image.ImageIds)) {
return super.equals(obj);
}
com.passkit.grpc.Image.ImageIds other = (com.passkit.grpc.Image.ImageIds) obj;
if (!getIcon()
.equals(other.getIcon())) return false;
if (!getLogo()
.equals(other.getLogo())) return false;
if (!getAppleLogo()
.equals(other.getAppleLogo())) return false;
if (!getHero()
.equals(other.getHero())) return false;
if (!getEventStrip()
.equals(other.getEventStrip())) return false;
if (!getStrip()
.equals(other.getStrip())) return false;
if (!getThumbnail()
.equals(other.getThumbnail())) return false;
if (!getBackground()
.equals(other.getBackground())) return false;
if (!getFooter()
.equals(other.getFooter())) return false;
if (!getSecurity()
.equals(other.getSecurity())) return false;
if (!getPrivilege()
.equals(other.getPrivilege())) return false;
if (!getAirlineAlliance()
.equals(other.getAirlineAlliance())) return false;
if (!getPersonalization()
.equals(other.getPersonalization())) return false;
if (!getBanner()
.equals(other.getBanner())) return false;
if (!getMessage()
.equals(other.getMessage())) return false;
if (!getProfile()
.equals(other.getProfile())) return false;
if (!getAppImage()
.equals(other.getAppImage())) 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) + ICON_FIELD_NUMBER;
hash = (53 * hash) + getIcon().hashCode();
hash = (37 * hash) + LOGO_FIELD_NUMBER;
hash = (53 * hash) + getLogo().hashCode();
hash = (37 * hash) + APPLELOGO_FIELD_NUMBER;
hash = (53 * hash) + getAppleLogo().hashCode();
hash = (37 * hash) + HERO_FIELD_NUMBER;
hash = (53 * hash) + getHero().hashCode();
hash = (37 * hash) + EVENTSTRIP_FIELD_NUMBER;
hash = (53 * hash) + getEventStrip().hashCode();
hash = (37 * hash) + STRIP_FIELD_NUMBER;
hash = (53 * hash) + getStrip().hashCode();
hash = (37 * hash) + THUMBNAIL_FIELD_NUMBER;
hash = (53 * hash) + getThumbnail().hashCode();
hash = (37 * hash) + BACKGROUND_FIELD_NUMBER;
hash = (53 * hash) + getBackground().hashCode();
hash = (37 * hash) + FOOTER_FIELD_NUMBER;
hash = (53 * hash) + getFooter().hashCode();
hash = (37 * hash) + SECURITY_FIELD_NUMBER;
hash = (53 * hash) + getSecurity().hashCode();
hash = (37 * hash) + PRIVILEGE_FIELD_NUMBER;
hash = (53 * hash) + getPrivilege().hashCode();
hash = (37 * hash) + AIRLINEALLIANCE_FIELD_NUMBER;
hash = (53 * hash) + getAirlineAlliance().hashCode();
hash = (37 * hash) + PERSONALIZATION_FIELD_NUMBER;
hash = (53 * hash) + getPersonalization().hashCode();
hash = (37 * hash) + BANNER_FIELD_NUMBER;
hash = (53 * hash) + getBanner().hashCode();
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
hash = (37 * hash) + PROFILE_FIELD_NUMBER;
hash = (53 * hash) + getProfile().hashCode();
hash = (37 * hash) + APPIMAGE_FIELD_NUMBER;
hash = (53 * hash) + getAppImage().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.Image.ImageIds parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.ImageIds 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.Image.ImageIds parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.ImageIds 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.Image.ImageIds parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.ImageIds parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Image.ImageIds parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.ImageIds 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.Image.ImageIds parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.ImageIds 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.Image.ImageIds parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.ImageIds 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.Image.ImageIds 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;
}
/**
*
* See image 'Use' enum for descriptions and sizes.
*
*
* Protobuf type {@code io.ImageIds}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.ImageIds)
com.passkit.grpc.Image.ImageIdsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Image.internal_static_io_ImageIds_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_ImageIds_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.ImageIds.class, com.passkit.grpc.Image.ImageIds.Builder.class);
}
// Construct using com.passkit.grpc.Image.ImageIds.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();
icon_ = "";
logo_ = "";
appleLogo_ = "";
hero_ = "";
eventStrip_ = "";
strip_ = "";
thumbnail_ = "";
background_ = "";
footer_ = "";
security_ = "";
privilege_ = "";
airlineAlliance_ = "";
personalization_ = "";
banner_ = "";
message_ = "";
profile_ = "";
appImage_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.Image.internal_static_io_ImageIds_descriptor;
}
@java.lang.Override
public com.passkit.grpc.Image.ImageIds getDefaultInstanceForType() {
return com.passkit.grpc.Image.ImageIds.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.Image.ImageIds build() {
com.passkit.grpc.Image.ImageIds result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.Image.ImageIds buildPartial() {
com.passkit.grpc.Image.ImageIds result = new com.passkit.grpc.Image.ImageIds(this);
result.icon_ = icon_;
result.logo_ = logo_;
result.appleLogo_ = appleLogo_;
result.hero_ = hero_;
result.eventStrip_ = eventStrip_;
result.strip_ = strip_;
result.thumbnail_ = thumbnail_;
result.background_ = background_;
result.footer_ = footer_;
result.security_ = security_;
result.privilege_ = privilege_;
result.airlineAlliance_ = airlineAlliance_;
result.personalization_ = personalization_;
result.banner_ = banner_;
result.message_ = message_;
result.profile_ = profile_;
result.appImage_ = appImage_;
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.Image.ImageIds) {
return mergeFrom((com.passkit.grpc.Image.ImageIds)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.Image.ImageIds other) {
if (other == com.passkit.grpc.Image.ImageIds.getDefaultInstance()) return this;
if (!other.getIcon().isEmpty()) {
icon_ = other.icon_;
onChanged();
}
if (!other.getLogo().isEmpty()) {
logo_ = other.logo_;
onChanged();
}
if (!other.getAppleLogo().isEmpty()) {
appleLogo_ = other.appleLogo_;
onChanged();
}
if (!other.getHero().isEmpty()) {
hero_ = other.hero_;
onChanged();
}
if (!other.getEventStrip().isEmpty()) {
eventStrip_ = other.eventStrip_;
onChanged();
}
if (!other.getStrip().isEmpty()) {
strip_ = other.strip_;
onChanged();
}
if (!other.getThumbnail().isEmpty()) {
thumbnail_ = other.thumbnail_;
onChanged();
}
if (!other.getBackground().isEmpty()) {
background_ = other.background_;
onChanged();
}
if (!other.getFooter().isEmpty()) {
footer_ = other.footer_;
onChanged();
}
if (!other.getSecurity().isEmpty()) {
security_ = other.security_;
onChanged();
}
if (!other.getPrivilege().isEmpty()) {
privilege_ = other.privilege_;
onChanged();
}
if (!other.getAirlineAlliance().isEmpty()) {
airlineAlliance_ = other.airlineAlliance_;
onChanged();
}
if (!other.getPersonalization().isEmpty()) {
personalization_ = other.personalization_;
onChanged();
}
if (!other.getBanner().isEmpty()) {
banner_ = other.banner_;
onChanged();
}
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
onChanged();
}
if (!other.getProfile().isEmpty()) {
profile_ = other.profile_;
onChanged();
}
if (!other.getAppImage().isEmpty()) {
appImage_ = other.appImage_;
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.Image.ImageIds parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.Image.ImageIds) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object icon_ = "";
/**
* string icon = 1;
* @return The icon.
*/
public java.lang.String getIcon() {
java.lang.Object ref = icon_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
icon_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string icon = 1;
* @return The bytes for icon.
*/
public com.google.protobuf.ByteString
getIconBytes() {
java.lang.Object ref = icon_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
icon_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string icon = 1;
* @param value The icon to set.
* @return This builder for chaining.
*/
public Builder setIcon(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
icon_ = value;
onChanged();
return this;
}
/**
* string icon = 1;
* @return This builder for chaining.
*/
public Builder clearIcon() {
icon_ = getDefaultInstance().getIcon();
onChanged();
return this;
}
/**
* string icon = 1;
* @param value The bytes for icon to set.
* @return This builder for chaining.
*/
public Builder setIconBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
icon_ = value;
onChanged();
return this;
}
private java.lang.Object logo_ = "";
/**
* string logo = 2;
* @return The logo.
*/
public java.lang.String getLogo() {
java.lang.Object ref = logo_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
logo_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string logo = 2;
* @return The bytes for logo.
*/
public com.google.protobuf.ByteString
getLogoBytes() {
java.lang.Object ref = logo_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string logo = 2;
* @param value The logo to set.
* @return This builder for chaining.
*/
public Builder setLogo(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
logo_ = value;
onChanged();
return this;
}
/**
* string logo = 2;
* @return This builder for chaining.
*/
public Builder clearLogo() {
logo_ = getDefaultInstance().getLogo();
onChanged();
return this;
}
/**
* string logo = 2;
* @param value The bytes for logo to set.
* @return This builder for chaining.
*/
public Builder setLogoBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
logo_ = value;
onChanged();
return this;
}
private java.lang.Object appleLogo_ = "";
/**
* string appleLogo = 3;
* @return The appleLogo.
*/
public java.lang.String getAppleLogo() {
java.lang.Object ref = appleLogo_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
appleLogo_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string appleLogo = 3;
* @return The bytes for appleLogo.
*/
public com.google.protobuf.ByteString
getAppleLogoBytes() {
java.lang.Object ref = appleLogo_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
appleLogo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string appleLogo = 3;
* @param value The appleLogo to set.
* @return This builder for chaining.
*/
public Builder setAppleLogo(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
appleLogo_ = value;
onChanged();
return this;
}
/**
* string appleLogo = 3;
* @return This builder for chaining.
*/
public Builder clearAppleLogo() {
appleLogo_ = getDefaultInstance().getAppleLogo();
onChanged();
return this;
}
/**
* string appleLogo = 3;
* @param value The bytes for appleLogo to set.
* @return This builder for chaining.
*/
public Builder setAppleLogoBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
appleLogo_ = value;
onChanged();
return this;
}
private java.lang.Object hero_ = "";
/**
* string hero = 4;
* @return The hero.
*/
public java.lang.String getHero() {
java.lang.Object ref = hero_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hero_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string hero = 4;
* @return The bytes for hero.
*/
public com.google.protobuf.ByteString
getHeroBytes() {
java.lang.Object ref = hero_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hero_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string hero = 4;
* @param value The hero to set.
* @return This builder for chaining.
*/
public Builder setHero(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
hero_ = value;
onChanged();
return this;
}
/**
* string hero = 4;
* @return This builder for chaining.
*/
public Builder clearHero() {
hero_ = getDefaultInstance().getHero();
onChanged();
return this;
}
/**
* string hero = 4;
* @param value The bytes for hero to set.
* @return This builder for chaining.
*/
public Builder setHeroBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
hero_ = value;
onChanged();
return this;
}
private java.lang.Object eventStrip_ = "";
/**
* string eventStrip = 5;
* @return The eventStrip.
*/
public java.lang.String getEventStrip() {
java.lang.Object ref = eventStrip_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
eventStrip_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string eventStrip = 5;
* @return The bytes for eventStrip.
*/
public com.google.protobuf.ByteString
getEventStripBytes() {
java.lang.Object ref = eventStrip_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
eventStrip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string eventStrip = 5;
* @param value The eventStrip to set.
* @return This builder for chaining.
*/
public Builder setEventStrip(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
eventStrip_ = value;
onChanged();
return this;
}
/**
* string eventStrip = 5;
* @return This builder for chaining.
*/
public Builder clearEventStrip() {
eventStrip_ = getDefaultInstance().getEventStrip();
onChanged();
return this;
}
/**
* string eventStrip = 5;
* @param value The bytes for eventStrip to set.
* @return This builder for chaining.
*/
public Builder setEventStripBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
eventStrip_ = value;
onChanged();
return this;
}
private java.lang.Object strip_ = "";
/**
* string strip = 6;
* @return The strip.
*/
public java.lang.String getStrip() {
java.lang.Object ref = strip_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
strip_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string strip = 6;
* @return The bytes for strip.
*/
public com.google.protobuf.ByteString
getStripBytes() {
java.lang.Object ref = strip_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
strip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string strip = 6;
* @param value The strip to set.
* @return This builder for chaining.
*/
public Builder setStrip(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
strip_ = value;
onChanged();
return this;
}
/**
* string strip = 6;
* @return This builder for chaining.
*/
public Builder clearStrip() {
strip_ = getDefaultInstance().getStrip();
onChanged();
return this;
}
/**
* string strip = 6;
* @param value The bytes for strip to set.
* @return This builder for chaining.
*/
public Builder setStripBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
strip_ = value;
onChanged();
return this;
}
private java.lang.Object thumbnail_ = "";
/**
* string thumbnail = 7;
* @return The thumbnail.
*/
public java.lang.String getThumbnail() {
java.lang.Object ref = thumbnail_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
thumbnail_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string thumbnail = 7;
* @return The bytes for thumbnail.
*/
public com.google.protobuf.ByteString
getThumbnailBytes() {
java.lang.Object ref = thumbnail_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
thumbnail_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string thumbnail = 7;
* @param value The thumbnail to set.
* @return This builder for chaining.
*/
public Builder setThumbnail(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
thumbnail_ = value;
onChanged();
return this;
}
/**
* string thumbnail = 7;
* @return This builder for chaining.
*/
public Builder clearThumbnail() {
thumbnail_ = getDefaultInstance().getThumbnail();
onChanged();
return this;
}
/**
* string thumbnail = 7;
* @param value The bytes for thumbnail to set.
* @return This builder for chaining.
*/
public Builder setThumbnailBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
thumbnail_ = value;
onChanged();
return this;
}
private java.lang.Object background_ = "";
/**
* string background = 8;
* @return The background.
*/
public java.lang.String getBackground() {
java.lang.Object ref = background_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
background_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string background = 8;
* @return The bytes for background.
*/
public com.google.protobuf.ByteString
getBackgroundBytes() {
java.lang.Object ref = background_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
background_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string background = 8;
* @param value The background to set.
* @return This builder for chaining.
*/
public Builder setBackground(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
background_ = value;
onChanged();
return this;
}
/**
* string background = 8;
* @return This builder for chaining.
*/
public Builder clearBackground() {
background_ = getDefaultInstance().getBackground();
onChanged();
return this;
}
/**
* string background = 8;
* @param value The bytes for background to set.
* @return This builder for chaining.
*/
public Builder setBackgroundBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
background_ = value;
onChanged();
return this;
}
private java.lang.Object footer_ = "";
/**
* string footer = 9;
* @return The footer.
*/
public java.lang.String getFooter() {
java.lang.Object ref = footer_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
footer_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string footer = 9;
* @return The bytes for footer.
*/
public com.google.protobuf.ByteString
getFooterBytes() {
java.lang.Object ref = footer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
footer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string footer = 9;
* @param value The footer to set.
* @return This builder for chaining.
*/
public Builder setFooter(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
footer_ = value;
onChanged();
return this;
}
/**
* string footer = 9;
* @return This builder for chaining.
*/
public Builder clearFooter() {
footer_ = getDefaultInstance().getFooter();
onChanged();
return this;
}
/**
* string footer = 9;
* @param value The bytes for footer to set.
* @return This builder for chaining.
*/
public Builder setFooterBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
footer_ = value;
onChanged();
return this;
}
private java.lang.Object security_ = "";
/**
* string security = 10;
* @return The security.
*/
public java.lang.String getSecurity() {
java.lang.Object ref = security_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
security_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string security = 10;
* @return The bytes for security.
*/
public com.google.protobuf.ByteString
getSecurityBytes() {
java.lang.Object ref = security_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
security_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string security = 10;
* @param value The security to set.
* @return This builder for chaining.
*/
public Builder setSecurity(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
security_ = value;
onChanged();
return this;
}
/**
* string security = 10;
* @return This builder for chaining.
*/
public Builder clearSecurity() {
security_ = getDefaultInstance().getSecurity();
onChanged();
return this;
}
/**
* string security = 10;
* @param value The bytes for security to set.
* @return This builder for chaining.
*/
public Builder setSecurityBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
security_ = value;
onChanged();
return this;
}
private java.lang.Object privilege_ = "";
/**
* string privilege = 11;
* @return The privilege.
*/
public java.lang.String getPrivilege() {
java.lang.Object ref = privilege_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
privilege_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string privilege = 11;
* @return The bytes for privilege.
*/
public com.google.protobuf.ByteString
getPrivilegeBytes() {
java.lang.Object ref = privilege_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
privilege_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string privilege = 11;
* @param value The privilege to set.
* @return This builder for chaining.
*/
public Builder setPrivilege(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
privilege_ = value;
onChanged();
return this;
}
/**
* string privilege = 11;
* @return This builder for chaining.
*/
public Builder clearPrivilege() {
privilege_ = getDefaultInstance().getPrivilege();
onChanged();
return this;
}
/**
* string privilege = 11;
* @param value The bytes for privilege to set.
* @return This builder for chaining.
*/
public Builder setPrivilegeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
privilege_ = value;
onChanged();
return this;
}
private java.lang.Object airlineAlliance_ = "";
/**
* string airlineAlliance = 12;
* @return The airlineAlliance.
*/
public java.lang.String getAirlineAlliance() {
java.lang.Object ref = airlineAlliance_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
airlineAlliance_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string airlineAlliance = 12;
* @return The bytes for airlineAlliance.
*/
public com.google.protobuf.ByteString
getAirlineAllianceBytes() {
java.lang.Object ref = airlineAlliance_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
airlineAlliance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string airlineAlliance = 12;
* @param value The airlineAlliance to set.
* @return This builder for chaining.
*/
public Builder setAirlineAlliance(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
airlineAlliance_ = value;
onChanged();
return this;
}
/**
* string airlineAlliance = 12;
* @return This builder for chaining.
*/
public Builder clearAirlineAlliance() {
airlineAlliance_ = getDefaultInstance().getAirlineAlliance();
onChanged();
return this;
}
/**
* string airlineAlliance = 12;
* @param value The bytes for airlineAlliance to set.
* @return This builder for chaining.
*/
public Builder setAirlineAllianceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
airlineAlliance_ = value;
onChanged();
return this;
}
private java.lang.Object personalization_ = "";
/**
* string personalization = 13;
* @return The personalization.
*/
public java.lang.String getPersonalization() {
java.lang.Object ref = personalization_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
personalization_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string personalization = 13;
* @return The bytes for personalization.
*/
public com.google.protobuf.ByteString
getPersonalizationBytes() {
java.lang.Object ref = personalization_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
personalization_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string personalization = 13;
* @param value The personalization to set.
* @return This builder for chaining.
*/
public Builder setPersonalization(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
personalization_ = value;
onChanged();
return this;
}
/**
* string personalization = 13;
* @return This builder for chaining.
*/
public Builder clearPersonalization() {
personalization_ = getDefaultInstance().getPersonalization();
onChanged();
return this;
}
/**
* string personalization = 13;
* @param value The bytes for personalization to set.
* @return This builder for chaining.
*/
public Builder setPersonalizationBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
personalization_ = value;
onChanged();
return this;
}
private java.lang.Object banner_ = "";
/**
* string banner = 14;
* @return The banner.
*/
public java.lang.String getBanner() {
java.lang.Object ref = banner_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
banner_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string banner = 14;
* @return The bytes for banner.
*/
public com.google.protobuf.ByteString
getBannerBytes() {
java.lang.Object ref = banner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
banner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string banner = 14;
* @param value The banner to set.
* @return This builder for chaining.
*/
public Builder setBanner(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
banner_ = value;
onChanged();
return this;
}
/**
* string banner = 14;
* @return This builder for chaining.
*/
public Builder clearBanner() {
banner_ = getDefaultInstance().getBanner();
onChanged();
return this;
}
/**
* string banner = 14;
* @param value The bytes for banner to set.
* @return This builder for chaining.
*/
public Builder setBannerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
banner_ = value;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
* string message = 15;
* @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string message = 15;
* @return The bytes for message.
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string message = 15;
* @param value The message to set.
* @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
message_ = value;
onChanged();
return this;
}
/**
* string message = 15;
* @return This builder for chaining.
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
* string message = 15;
* @param value The bytes for message to set.
* @return This builder for chaining.
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
message_ = value;
onChanged();
return this;
}
private java.lang.Object profile_ = "";
/**
* string profile = 16;
* @return The profile.
*/
public java.lang.String getProfile() {
java.lang.Object ref = profile_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
profile_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string profile = 16;
* @return The bytes for profile.
*/
public com.google.protobuf.ByteString
getProfileBytes() {
java.lang.Object ref = profile_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
profile_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string profile = 16;
* @param value The profile to set.
* @return This builder for chaining.
*/
public Builder setProfile(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
profile_ = value;
onChanged();
return this;
}
/**
* string profile = 16;
* @return This builder for chaining.
*/
public Builder clearProfile() {
profile_ = getDefaultInstance().getProfile();
onChanged();
return this;
}
/**
* string profile = 16;
* @param value The bytes for profile to set.
* @return This builder for chaining.
*/
public Builder setProfileBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
profile_ = value;
onChanged();
return this;
}
private java.lang.Object appImage_ = "";
/**
* string appImage = 17;
* @return The appImage.
*/
public java.lang.String getAppImage() {
java.lang.Object ref = appImage_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
appImage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string appImage = 17;
* @return The bytes for appImage.
*/
public com.google.protobuf.ByteString
getAppImageBytes() {
java.lang.Object ref = appImage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
appImage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string appImage = 17;
* @param value The appImage to set.
* @return This builder for chaining.
*/
public Builder setAppImage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
appImage_ = value;
onChanged();
return this;
}
/**
* string appImage = 17;
* @return This builder for chaining.
*/
public Builder clearAppImage() {
appImage_ = getDefaultInstance().getAppImage();
onChanged();
return this;
}
/**
* string appImage = 17;
* @param value The bytes for appImage to set.
* @return This builder for chaining.
*/
public Builder setAppImageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
appImage_ = 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.ImageIds)
}
// @@protoc_insertion_point(class_scope:io.ImageIds)
private static final com.passkit.grpc.Image.ImageIds DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.Image.ImageIds();
}
public static com.passkit.grpc.Image.ImageIds getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImageIds parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImageIds(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.Image.ImageIds getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ImageDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.ImageData)
com.google.protobuf.MessageOrBuilder {
/**
*
* Mandatory icon, used in Apple Wallet lock screen (87px x 87px).
*
*
* string icon = 1;
* @return The icon.
*/
java.lang.String getIcon();
/**
*
* Mandatory icon, used in Apple Wallet lock screen (87px x 87px).
*
*
* string icon = 1;
* @return The bytes for icon.
*/
com.google.protobuf.ByteString
getIconBytes();
/**
*
* Logo is circle-cropped by Google Pay, a 15% safety margin is recommended (660px x 660px).
*
*
* string logo = 2;
* @return The logo.
*/
java.lang.String getLogo();
/**
*
* Logo is circle-cropped by Google Pay, a 15% safety margin is recommended (660px x 660px).
*
*
* string logo = 2;
* @return The bytes for logo.
*/
com.google.protobuf.ByteString
getLogoBytes();
/**
*
* Apple logo can be used where a rectangular design is preferred for Apple Passes only. If ommitted, the square logo image will be used. (<=480px x 150px).
*
*
* string appleLogo = 3;
* @return The appleLogo.
*/
java.lang.String getAppleLogo();
/**
*
* Apple logo can be used where a rectangular design is preferred for Apple Passes only. If ommitted, the square logo image will be used. (<=480px x 150px).
*
*
* string appleLogo = 3;
* @return The bytes for appleLogo.
*/
com.google.protobuf.ByteString
getAppleLogoBytes();
/**
*
* Hero is the Google Pay strip and is also used in the dialog box when installing (1032px x 336px).
*
*
* string hero = 4;
* @return The hero.
*/
java.lang.String getHero();
/**
*
* Hero is the Google Pay strip and is also used in the dialog box when installing (1032px x 336px).
*
*
* string hero = 4;
* @return The bytes for hero.
*/
com.google.protobuf.ByteString
getHeroBytes();
/**
*
* Apple Wallet strip image for EventTicket pass types (1125px x 294px).
*
*
* string eventStrip = 5;
* @return The eventStrip.
*/
java.lang.String getEventStrip();
/**
*
* Apple Wallet strip image for EventTicket pass types (1125px x 294px).
*
*
* string eventStrip = 5;
* @return The bytes for eventStrip.
*/
com.google.protobuf.ByteString
getEventStripBytes();
/**
*
* Apple Wallet strip image for other pass types with a strip image (1125px x 432px).
*
*
* string strip = 6;
* @return The strip.
*/
java.lang.String getStrip();
/**
*
* Apple Wallet strip image for other pass types with a strip image (1125px x 432px).
*
*
* string strip = 6;
* @return The bytes for strip.
*/
com.google.protobuf.ByteString
getStripBytes();
/**
*
* Used on Membership passes and Apple event tickets with a background image (>=270px x >=270px in a ratio range of 2:3-3:2).
*
*
* string thumbnail = 7;
* @return The thumbnail.
*/
java.lang.String getThumbnail();
/**
*
* Used on Membership passes and Apple event tickets with a background image (>=270px x >=270px in a ratio range of 2:3-3:2).
*
*
* string thumbnail = 7;
* @return The bytes for thumbnail.
*/
com.google.protobuf.ByteString
getThumbnailBytes();
/**
*
* Used only be Apple Event Ticket designs, this image is blurred to form a background and so can be a low quality image. Note it may also be slightly cropped on some devices (180px x 220px).
*
*
* string background = 8;
* @return The background.
*/
java.lang.String getBackground();
/**
*
* Used only be Apple Event Ticket designs, this image is blurred to form a background and so can be a low quality image. Note it may also be slightly cropped on some devices (180px x 220px).
*
*
* string background = 8;
* @return The bytes for background.
*/
com.google.protobuf.ByteString
getBackgroundBytes();
/**
*
* Displays above the barcode for Apple Wallet Boarding pass tickets (858px x 45px)
*
*
* string footer = 9;
* @return The footer.
*/
java.lang.String getFooter();
/**
*
* Displays above the barcode for Apple Wallet Boarding pass tickets (858px x 45px)
*
*
* string footer = 9;
* @return The bytes for footer.
*/
com.google.protobuf.ByteString
getFooterBytes();
/**
*
* Google Pay - used to denote a security program on boarding pass types (E.g. TSA PreCheck®). Width of 1600px is shared with the boarding privilege logo (<=1600px x 80px).
*
*
* string security = 10;
* @return The security.
*/
java.lang.String getSecurity();
/**
*
* Google Pay - used to denote a security program on boarding pass types (E.g. TSA PreCheck®). Width of 1600px is shared with the boarding privilege logo (<=1600px x 80px).
*
*
* string security = 10;
* @return The bytes for security.
*/
com.google.protobuf.ByteString
getSecurityBytes();
/**
*
* Google Pay - used to denote a boarding privilege. Width of 1600px is shared with the security program logo (<=1600px x 80px).
*
*
* string privilege = 11;
* @return The privilege.
*/
java.lang.String getPrivilege();
/**
*
* Google Pay - used to denote a boarding privilege. Width of 1600px is shared with the security program logo (<=1600px x 80px).
*
*
* string privilege = 11;
* @return The bytes for privilege.
*/
com.google.protobuf.ByteString
getPrivilegeBytes();
/**
*
* Google Pay - used to denote airline alliance on boarding pass types (<=1600px x 80px).
*
*
* string airlineAlliance = 12;
* @return The airlineAlliance.
*/
java.lang.String getAirlineAlliance();
/**
*
* Google Pay - used to denote airline alliance on boarding pass types (<=1600px x 80px).
*
*
* string airlineAlliance = 12;
* @return The bytes for airlineAlliance.
*/
com.google.protobuf.ByteString
getAirlineAllianceBytes();
/**
*
* For Apple Pay NFC passes whitelisted for personalization. Image is displayed after terms are presented (<=450px x 120px).
*
*
* string personalization = 13;
* @return The personalization.
*/
java.lang.String getPersonalization();
/**
*
* For Apple Pay NFC passes whitelisted for personalization. Image is displayed after terms are presented (<=450px x 120px).
*
*
* string personalization = 13;
* @return The bytes for personalization.
*/
com.google.protobuf.ByteString
getPersonalizationBytes();
/**
*
* Used on a landing page or email. Image has no size constraints and will be treated as @2x pixel density.
*
*
* string banner = 14;
* @return The banner.
*/
java.lang.String getBanner();
/**
*
* Used on a landing page or email. Image has no size constraints and will be treated as @2x pixel density.
*
*
* string banner = 14;
* @return The bytes for banner.
*/
com.google.protobuf.ByteString
getBannerBytes();
/**
*
* Used for Google Pay in wallet promotional messages - for Apple Pay, the message will be rendered on a mobile website (1860px x <=930px).
*
*
* string message = 15;
* @return The message.
*/
java.lang.String getMessage();
/**
*
* Used for Google Pay in wallet promotional messages - for Apple Pay, the message will be rendered on a mobile website (1860px x <=930px).
*
*
* string message = 15;
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
/**
*
* Used for user Profile images (300px x 300px). Cannot be localized.
*
*
* string profile = 16;
* @return The profile.
*/
java.lang.String getProfile();
/**
*
* Used for user Profile images (300px x 300px). Cannot be localized.
*
*
* string profile = 16;
* @return The bytes for profile.
*/
com.google.protobuf.ByteString
getProfileBytes();
/**
*
* Used for user app images in Google Pay Passes (300px x 300px). Cannot be localized.
*
*
* string appImage = 17;
* @return The appImage.
*/
java.lang.String getAppImage();
/**
*
* Used for user app images in Google Pay Passes (300px x 300px). Cannot be localized.
*
*
* string appImage = 17;
* @return The bytes for appImage.
*/
com.google.protobuf.ByteString
getAppImageBytes();
/**
*
* Sets different icon images for non-default languages.
*
*
* .io.LocalizedString localizedIcon = 31;
* @return Whether the localizedIcon field is set.
*/
boolean hasLocalizedIcon();
/**
*
* Sets different icon images for non-default languages.
*
*
* .io.LocalizedString localizedIcon = 31;
* @return The localizedIcon.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedIcon();
/**
*
* Sets different icon images for non-default languages.
*
*
* .io.LocalizedString localizedIcon = 31;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedIconOrBuilder();
/**
*
* Sets different logo images for non-default languages.
*
*
* .io.LocalizedString localizedLogo = 32;
* @return Whether the localizedLogo field is set.
*/
boolean hasLocalizedLogo();
/**
*
* Sets different logo images for non-default languages.
*
*
* .io.LocalizedString localizedLogo = 32;
* @return The localizedLogo.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedLogo();
/**
*
* Sets different logo images for non-default languages.
*
*
* .io.LocalizedString localizedLogo = 32;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedLogoOrBuilder();
/**
*
* Sets different Apple Logo images for non-default languages.
*
*
* .io.LocalizedString localizedAppleLogo = 33;
* @return Whether the localizedAppleLogo field is set.
*/
boolean hasLocalizedAppleLogo();
/**
*
* Sets different Apple Logo images for non-default languages.
*
*
* .io.LocalizedString localizedAppleLogo = 33;
* @return The localizedAppleLogo.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedAppleLogo();
/**
*
* Sets different Apple Logo images for non-default languages.
*
*
* .io.LocalizedString localizedAppleLogo = 33;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedAppleLogoOrBuilder();
/**
*
* Sets different hero images for non-default languages.
*
*
* .io.LocalizedString localizedHero = 34;
* @return Whether the localizedHero field is set.
*/
boolean hasLocalizedHero();
/**
*
* Sets different hero images for non-default languages.
*
*
* .io.LocalizedString localizedHero = 34;
* @return The localizedHero.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedHero();
/**
*
* Sets different hero images for non-default languages.
*
*
* .io.LocalizedString localizedHero = 34;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedHeroOrBuilder();
/**
*
* Sets different event strip images for non-default languages.
*
*
* .io.LocalizedString localizedEventStrip = 35;
* @return Whether the localizedEventStrip field is set.
*/
boolean hasLocalizedEventStrip();
/**
*
* Sets different event strip images for non-default languages.
*
*
* .io.LocalizedString localizedEventStrip = 35;
* @return The localizedEventStrip.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedEventStrip();
/**
*
* Sets different event strip images for non-default languages.
*
*
* .io.LocalizedString localizedEventStrip = 35;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedEventStripOrBuilder();
/**
*
* Sets different strip images for non-default languages.
*
*
* .io.LocalizedString localizedStrip = 36;
* @return Whether the localizedStrip field is set.
*/
boolean hasLocalizedStrip();
/**
*
* Sets different strip images for non-default languages.
*
*
* .io.LocalizedString localizedStrip = 36;
* @return The localizedStrip.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedStrip();
/**
*
* Sets different strip images for non-default languages.
*
*
* .io.LocalizedString localizedStrip = 36;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedStripOrBuilder();
/**
*
* Sets different thumbnail images for non-default languages.
*
*
* .io.LocalizedString localizedThumbnail = 37;
* @return Whether the localizedThumbnail field is set.
*/
boolean hasLocalizedThumbnail();
/**
*
* Sets different thumbnail images for non-default languages.
*
*
* .io.LocalizedString localizedThumbnail = 37;
* @return The localizedThumbnail.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedThumbnail();
/**
*
* Sets different thumbnail images for non-default languages.
*
*
* .io.LocalizedString localizedThumbnail = 37;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedThumbnailOrBuilder();
/**
*
* Sets different background images for non-default languages.
*
*
* .io.LocalizedString localizedBackground = 38;
* @return Whether the localizedBackground field is set.
*/
boolean hasLocalizedBackground();
/**
*
* Sets different background images for non-default languages.
*
*
* .io.LocalizedString localizedBackground = 38;
* @return The localizedBackground.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedBackground();
/**
*
* Sets different background images for non-default languages.
*
*
* .io.LocalizedString localizedBackground = 38;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedBackgroundOrBuilder();
/**
*
* Sets different footer images for non-default languages.
*
*
* .io.LocalizedString localizedFooter = 39;
* @return Whether the localizedFooter field is set.
*/
boolean hasLocalizedFooter();
/**
*
* Sets different footer images for non-default languages.
*
*
* .io.LocalizedString localizedFooter = 39;
* @return The localizedFooter.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedFooter();
/**
*
* Sets different footer images for non-default languages.
*
*
* .io.LocalizedString localizedFooter = 39;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedFooterOrBuilder();
/**
*
* Sets different security images for non-default languages.
*
*
* .io.LocalizedString localizedSecurity = 40;
* @return Whether the localizedSecurity field is set.
*/
boolean hasLocalizedSecurity();
/**
*
* Sets different security images for non-default languages.
*
*
* .io.LocalizedString localizedSecurity = 40;
* @return The localizedSecurity.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedSecurity();
/**
*
* Sets different security images for non-default languages.
*
*
* .io.LocalizedString localizedSecurity = 40;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedSecurityOrBuilder();
/**
*
* Sets different privilege images for non-default languages.
*
*
* .io.LocalizedString localizedPrivilege = 41;
* @return Whether the localizedPrivilege field is set.
*/
boolean hasLocalizedPrivilege();
/**
*
* Sets different privilege images for non-default languages.
*
*
* .io.LocalizedString localizedPrivilege = 41;
* @return The localizedPrivilege.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedPrivilege();
/**
*
* Sets different privilege images for non-default languages.
*
*
* .io.LocalizedString localizedPrivilege = 41;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedPrivilegeOrBuilder();
/**
*
* Sets different airline alliance images for non-default languages.
*
*
* .io.LocalizedString localizedAirlineAlliance = 42;
* @return Whether the localizedAirlineAlliance field is set.
*/
boolean hasLocalizedAirlineAlliance();
/**
*
* Sets different airline alliance images for non-default languages.
*
*
* .io.LocalizedString localizedAirlineAlliance = 42;
* @return The localizedAirlineAlliance.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedAirlineAlliance();
/**
*
* Sets different airline alliance images for non-default languages.
*
*
* .io.LocalizedString localizedAirlineAlliance = 42;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedAirlineAllianceOrBuilder();
/**
*
* Sets different personalized images for non-default languages.
*
*
* .io.LocalizedString localizedPersonalization = 43;
* @return Whether the localizedPersonalization field is set.
*/
boolean hasLocalizedPersonalization();
/**
*
* Sets different personalized images for non-default languages.
*
*
* .io.LocalizedString localizedPersonalization = 43;
* @return The localizedPersonalization.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedPersonalization();
/**
*
* Sets different personalized images for non-default languages.
*
*
* .io.LocalizedString localizedPersonalization = 43;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedPersonalizationOrBuilder();
/**
*
* Sets different banner images for non-default languages.
*
*
* .io.LocalizedString localizedBanner = 44;
* @return Whether the localizedBanner field is set.
*/
boolean hasLocalizedBanner();
/**
*
* Sets different banner images for non-default languages.
*
*
* .io.LocalizedString localizedBanner = 44;
* @return The localizedBanner.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedBanner();
/**
*
* Sets different banner images for non-default languages.
*
*
* .io.LocalizedString localizedBanner = 44;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedBannerOrBuilder();
/**
*
* Sets different message images for non-default languages.
*
*
* .io.LocalizedString localizedMessage = 45;
* @return Whether the localizedMessage field is set.
*/
boolean hasLocalizedMessage();
/**
*
* Sets different message images for non-default languages.
*
*
* .io.LocalizedString localizedMessage = 45;
* @return The localizedMessage.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedMessage();
/**
*
* Sets different message images for non-default languages.
*
*
* .io.LocalizedString localizedMessage = 45;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedMessageOrBuilder();
}
/**
*
* Images strings can be either a base64 image or a url. See image 'Use' enum for descriptions and sizes.
*
*
* Protobuf type {@code io.ImageData}
*/
public static final class ImageData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.ImageData)
ImageDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImageData.newBuilder() to construct.
private ImageData(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImageData() {
icon_ = "";
logo_ = "";
appleLogo_ = "";
hero_ = "";
eventStrip_ = "";
strip_ = "";
thumbnail_ = "";
background_ = "";
footer_ = "";
security_ = "";
privilege_ = "";
airlineAlliance_ = "";
personalization_ = "";
banner_ = "";
message_ = "";
profile_ = "";
appImage_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImageData();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImageData(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
icon_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
logo_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
appleLogo_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
hero_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
eventStrip_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
strip_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
thumbnail_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
background_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
footer_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
security_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
privilege_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
airlineAlliance_ = s;
break;
}
case 106: {
java.lang.String s = input.readStringRequireUtf8();
personalization_ = s;
break;
}
case 114: {
java.lang.String s = input.readStringRequireUtf8();
banner_ = s;
break;
}
case 122: {
java.lang.String s = input.readStringRequireUtf8();
message_ = s;
break;
}
case 130: {
java.lang.String s = input.readStringRequireUtf8();
profile_ = s;
break;
}
case 138: {
java.lang.String s = input.readStringRequireUtf8();
appImage_ = s;
break;
}
case 250: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedIcon_ != null) {
subBuilder = localizedIcon_.toBuilder();
}
localizedIcon_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedIcon_);
localizedIcon_ = subBuilder.buildPartial();
}
break;
}
case 258: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedLogo_ != null) {
subBuilder = localizedLogo_.toBuilder();
}
localizedLogo_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedLogo_);
localizedLogo_ = subBuilder.buildPartial();
}
break;
}
case 266: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedAppleLogo_ != null) {
subBuilder = localizedAppleLogo_.toBuilder();
}
localizedAppleLogo_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedAppleLogo_);
localizedAppleLogo_ = subBuilder.buildPartial();
}
break;
}
case 274: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedHero_ != null) {
subBuilder = localizedHero_.toBuilder();
}
localizedHero_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedHero_);
localizedHero_ = subBuilder.buildPartial();
}
break;
}
case 282: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedEventStrip_ != null) {
subBuilder = localizedEventStrip_.toBuilder();
}
localizedEventStrip_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedEventStrip_);
localizedEventStrip_ = subBuilder.buildPartial();
}
break;
}
case 290: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedStrip_ != null) {
subBuilder = localizedStrip_.toBuilder();
}
localizedStrip_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedStrip_);
localizedStrip_ = subBuilder.buildPartial();
}
break;
}
case 298: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedThumbnail_ != null) {
subBuilder = localizedThumbnail_.toBuilder();
}
localizedThumbnail_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedThumbnail_);
localizedThumbnail_ = subBuilder.buildPartial();
}
break;
}
case 306: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedBackground_ != null) {
subBuilder = localizedBackground_.toBuilder();
}
localizedBackground_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedBackground_);
localizedBackground_ = subBuilder.buildPartial();
}
break;
}
case 314: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedFooter_ != null) {
subBuilder = localizedFooter_.toBuilder();
}
localizedFooter_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedFooter_);
localizedFooter_ = subBuilder.buildPartial();
}
break;
}
case 322: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedSecurity_ != null) {
subBuilder = localizedSecurity_.toBuilder();
}
localizedSecurity_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedSecurity_);
localizedSecurity_ = subBuilder.buildPartial();
}
break;
}
case 330: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedPrivilege_ != null) {
subBuilder = localizedPrivilege_.toBuilder();
}
localizedPrivilege_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedPrivilege_);
localizedPrivilege_ = subBuilder.buildPartial();
}
break;
}
case 338: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedAirlineAlliance_ != null) {
subBuilder = localizedAirlineAlliance_.toBuilder();
}
localizedAirlineAlliance_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedAirlineAlliance_);
localizedAirlineAlliance_ = subBuilder.buildPartial();
}
break;
}
case 346: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedPersonalization_ != null) {
subBuilder = localizedPersonalization_.toBuilder();
}
localizedPersonalization_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedPersonalization_);
localizedPersonalization_ = subBuilder.buildPartial();
}
break;
}
case 354: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedBanner_ != null) {
subBuilder = localizedBanner_.toBuilder();
}
localizedBanner_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedBanner_);
localizedBanner_ = subBuilder.buildPartial();
}
break;
}
case 362: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedMessage_ != null) {
subBuilder = localizedMessage_.toBuilder();
}
localizedMessage_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedMessage_);
localizedMessage_ = 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.Image.internal_static_io_ImageData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_ImageData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.ImageData.class, com.passkit.grpc.Image.ImageData.Builder.class);
}
public static final int ICON_FIELD_NUMBER = 1;
private volatile java.lang.Object icon_;
/**
*
* Mandatory icon, used in Apple Wallet lock screen (87px x 87px).
*
*
* string icon = 1;
* @return The icon.
*/
@java.lang.Override
public java.lang.String getIcon() {
java.lang.Object ref = icon_;
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();
icon_ = s;
return s;
}
}
/**
*
* Mandatory icon, used in Apple Wallet lock screen (87px x 87px).
*
*
* string icon = 1;
* @return The bytes for icon.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIconBytes() {
java.lang.Object ref = icon_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
icon_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOGO_FIELD_NUMBER = 2;
private volatile java.lang.Object logo_;
/**
*
* Logo is circle-cropped by Google Pay, a 15% safety margin is recommended (660px x 660px).
*
*
* string logo = 2;
* @return The logo.
*/
@java.lang.Override
public java.lang.String getLogo() {
java.lang.Object ref = logo_;
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();
logo_ = s;
return s;
}
}
/**
*
* Logo is circle-cropped by Google Pay, a 15% safety margin is recommended (660px x 660px).
*
*
* string logo = 2;
* @return The bytes for logo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLogoBytes() {
java.lang.Object ref = logo_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int APPLELOGO_FIELD_NUMBER = 3;
private volatile java.lang.Object appleLogo_;
/**
*
* Apple logo can be used where a rectangular design is preferred for Apple Passes only. If ommitted, the square logo image will be used. (<=480px x 150px).
*
*
* string appleLogo = 3;
* @return The appleLogo.
*/
@java.lang.Override
public java.lang.String getAppleLogo() {
java.lang.Object ref = appleLogo_;
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();
appleLogo_ = s;
return s;
}
}
/**
*
* Apple logo can be used where a rectangular design is preferred for Apple Passes only. If ommitted, the square logo image will be used. (<=480px x 150px).
*
*
* string appleLogo = 3;
* @return The bytes for appleLogo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppleLogoBytes() {
java.lang.Object ref = appleLogo_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
appleLogo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HERO_FIELD_NUMBER = 4;
private volatile java.lang.Object hero_;
/**
*
* Hero is the Google Pay strip and is also used in the dialog box when installing (1032px x 336px).
*
*
* string hero = 4;
* @return The hero.
*/
@java.lang.Override
public java.lang.String getHero() {
java.lang.Object ref = hero_;
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();
hero_ = s;
return s;
}
}
/**
*
* Hero is the Google Pay strip and is also used in the dialog box when installing (1032px x 336px).
*
*
* string hero = 4;
* @return The bytes for hero.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHeroBytes() {
java.lang.Object ref = hero_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hero_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EVENTSTRIP_FIELD_NUMBER = 5;
private volatile java.lang.Object eventStrip_;
/**
*
* Apple Wallet strip image for EventTicket pass types (1125px x 294px).
*
*
* string eventStrip = 5;
* @return The eventStrip.
*/
@java.lang.Override
public java.lang.String getEventStrip() {
java.lang.Object ref = eventStrip_;
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();
eventStrip_ = s;
return s;
}
}
/**
*
* Apple Wallet strip image for EventTicket pass types (1125px x 294px).
*
*
* string eventStrip = 5;
* @return The bytes for eventStrip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEventStripBytes() {
java.lang.Object ref = eventStrip_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
eventStrip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STRIP_FIELD_NUMBER = 6;
private volatile java.lang.Object strip_;
/**
*
* Apple Wallet strip image for other pass types with a strip image (1125px x 432px).
*
*
* string strip = 6;
* @return The strip.
*/
@java.lang.Override
public java.lang.String getStrip() {
java.lang.Object ref = strip_;
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();
strip_ = s;
return s;
}
}
/**
*
* Apple Wallet strip image for other pass types with a strip image (1125px x 432px).
*
*
* string strip = 6;
* @return The bytes for strip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStripBytes() {
java.lang.Object ref = strip_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
strip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int THUMBNAIL_FIELD_NUMBER = 7;
private volatile java.lang.Object thumbnail_;
/**
*
* Used on Membership passes and Apple event tickets with a background image (>=270px x >=270px in a ratio range of 2:3-3:2).
*
*
* string thumbnail = 7;
* @return The thumbnail.
*/
@java.lang.Override
public java.lang.String getThumbnail() {
java.lang.Object ref = thumbnail_;
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();
thumbnail_ = s;
return s;
}
}
/**
*
* Used on Membership passes and Apple event tickets with a background image (>=270px x >=270px in a ratio range of 2:3-3:2).
*
*
* string thumbnail = 7;
* @return The bytes for thumbnail.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getThumbnailBytes() {
java.lang.Object ref = thumbnail_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
thumbnail_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BACKGROUND_FIELD_NUMBER = 8;
private volatile java.lang.Object background_;
/**
*
* Used only be Apple Event Ticket designs, this image is blurred to form a background and so can be a low quality image. Note it may also be slightly cropped on some devices (180px x 220px).
*
*
* string background = 8;
* @return The background.
*/
@java.lang.Override
public java.lang.String getBackground() {
java.lang.Object ref = background_;
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();
background_ = s;
return s;
}
}
/**
*
* Used only be Apple Event Ticket designs, this image is blurred to form a background and so can be a low quality image. Note it may also be slightly cropped on some devices (180px x 220px).
*
*
* string background = 8;
* @return The bytes for background.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBackgroundBytes() {
java.lang.Object ref = background_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
background_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FOOTER_FIELD_NUMBER = 9;
private volatile java.lang.Object footer_;
/**
*
* Displays above the barcode for Apple Wallet Boarding pass tickets (858px x 45px)
*
*
* string footer = 9;
* @return The footer.
*/
@java.lang.Override
public java.lang.String getFooter() {
java.lang.Object ref = footer_;
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();
footer_ = s;
return s;
}
}
/**
*
* Displays above the barcode for Apple Wallet Boarding pass tickets (858px x 45px)
*
*
* string footer = 9;
* @return The bytes for footer.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFooterBytes() {
java.lang.Object ref = footer_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
footer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SECURITY_FIELD_NUMBER = 10;
private volatile java.lang.Object security_;
/**
*
* Google Pay - used to denote a security program on boarding pass types (E.g. TSA PreCheck®). Width of 1600px is shared with the boarding privilege logo (<=1600px x 80px).
*
*
* string security = 10;
* @return The security.
*/
@java.lang.Override
public java.lang.String getSecurity() {
java.lang.Object ref = security_;
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();
security_ = s;
return s;
}
}
/**
*
* Google Pay - used to denote a security program on boarding pass types (E.g. TSA PreCheck®). Width of 1600px is shared with the boarding privilege logo (<=1600px x 80px).
*
*
* string security = 10;
* @return The bytes for security.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSecurityBytes() {
java.lang.Object ref = security_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
security_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRIVILEGE_FIELD_NUMBER = 11;
private volatile java.lang.Object privilege_;
/**
*
* Google Pay - used to denote a boarding privilege. Width of 1600px is shared with the security program logo (<=1600px x 80px).
*
*
* string privilege = 11;
* @return The privilege.
*/
@java.lang.Override
public java.lang.String getPrivilege() {
java.lang.Object ref = privilege_;
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();
privilege_ = s;
return s;
}
}
/**
*
* Google Pay - used to denote a boarding privilege. Width of 1600px is shared with the security program logo (<=1600px x 80px).
*
*
* string privilege = 11;
* @return The bytes for privilege.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPrivilegeBytes() {
java.lang.Object ref = privilege_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
privilege_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AIRLINEALLIANCE_FIELD_NUMBER = 12;
private volatile java.lang.Object airlineAlliance_;
/**
*
* Google Pay - used to denote airline alliance on boarding pass types (<=1600px x 80px).
*
*
* string airlineAlliance = 12;
* @return The airlineAlliance.
*/
@java.lang.Override
public java.lang.String getAirlineAlliance() {
java.lang.Object ref = airlineAlliance_;
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();
airlineAlliance_ = s;
return s;
}
}
/**
*
* Google Pay - used to denote airline alliance on boarding pass types (<=1600px x 80px).
*
*
* string airlineAlliance = 12;
* @return The bytes for airlineAlliance.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAirlineAllianceBytes() {
java.lang.Object ref = airlineAlliance_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
airlineAlliance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PERSONALIZATION_FIELD_NUMBER = 13;
private volatile java.lang.Object personalization_;
/**
*
* For Apple Pay NFC passes whitelisted for personalization. Image is displayed after terms are presented (<=450px x 120px).
*
*
* string personalization = 13;
* @return The personalization.
*/
@java.lang.Override
public java.lang.String getPersonalization() {
java.lang.Object ref = personalization_;
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();
personalization_ = s;
return s;
}
}
/**
*
* For Apple Pay NFC passes whitelisted for personalization. Image is displayed after terms are presented (<=450px x 120px).
*
*
* string personalization = 13;
* @return The bytes for personalization.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPersonalizationBytes() {
java.lang.Object ref = personalization_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
personalization_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BANNER_FIELD_NUMBER = 14;
private volatile java.lang.Object banner_;
/**
*
* Used on a landing page or email. Image has no size constraints and will be treated as @2x pixel density.
*
*
* string banner = 14;
* @return The banner.
*/
@java.lang.Override
public java.lang.String getBanner() {
java.lang.Object ref = banner_;
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();
banner_ = s;
return s;
}
}
/**
*
* Used on a landing page or email. Image has no size constraints and will be treated as @2x pixel density.
*
*
* string banner = 14;
* @return The bytes for banner.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBannerBytes() {
java.lang.Object ref = banner_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
banner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MESSAGE_FIELD_NUMBER = 15;
private volatile java.lang.Object message_;
/**
*
* Used for Google Pay in wallet promotional messages - for Apple Pay, the message will be rendered on a mobile website (1860px x <=930px).
*
*
* string message = 15;
* @return The message.
*/
@java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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();
message_ = s;
return s;
}
}
/**
*
* Used for Google Pay in wallet promotional messages - for Apple Pay, the message will be rendered on a mobile website (1860px x <=930px).
*
*
* string message = 15;
* @return The bytes for message.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROFILE_FIELD_NUMBER = 16;
private volatile java.lang.Object profile_;
/**
*
* Used for user Profile images (300px x 300px). Cannot be localized.
*
*
* string profile = 16;
* @return The profile.
*/
@java.lang.Override
public java.lang.String getProfile() {
java.lang.Object ref = profile_;
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();
profile_ = s;
return s;
}
}
/**
*
* Used for user Profile images (300px x 300px). Cannot be localized.
*
*
* string profile = 16;
* @return The bytes for profile.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProfileBytes() {
java.lang.Object ref = profile_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
profile_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int APPIMAGE_FIELD_NUMBER = 17;
private volatile java.lang.Object appImage_;
/**
*
* Used for user app images in Google Pay Passes (300px x 300px). Cannot be localized.
*
*
* string appImage = 17;
* @return The appImage.
*/
@java.lang.Override
public java.lang.String getAppImage() {
java.lang.Object ref = appImage_;
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();
appImage_ = s;
return s;
}
}
/**
*
* Used for user app images in Google Pay Passes (300px x 300px). Cannot be localized.
*
*
* string appImage = 17;
* @return The bytes for appImage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppImageBytes() {
java.lang.Object ref = appImage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
appImage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCALIZEDICON_FIELD_NUMBER = 31;
private com.passkit.grpc.Localization.LocalizedString localizedIcon_;
/**
*
* Sets different icon images for non-default languages.
*
*
* .io.LocalizedString localizedIcon = 31;
* @return Whether the localizedIcon field is set.
*/
@java.lang.Override
public boolean hasLocalizedIcon() {
return localizedIcon_ != null;
}
/**
*
* Sets different icon images for non-default languages.
*
*
* .io.LocalizedString localizedIcon = 31;
* @return The localizedIcon.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedIcon() {
return localizedIcon_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedIcon_;
}
/**
*
* Sets different icon images for non-default languages.
*
*
* .io.LocalizedString localizedIcon = 31;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedIconOrBuilder() {
return getLocalizedIcon();
}
public static final int LOCALIZEDLOGO_FIELD_NUMBER = 32;
private com.passkit.grpc.Localization.LocalizedString localizedLogo_;
/**
*
* Sets different logo images for non-default languages.
*
*
* .io.LocalizedString localizedLogo = 32;
* @return Whether the localizedLogo field is set.
*/
@java.lang.Override
public boolean hasLocalizedLogo() {
return localizedLogo_ != null;
}
/**
*
* Sets different logo images for non-default languages.
*
*
* .io.LocalizedString localizedLogo = 32;
* @return The localizedLogo.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedLogo() {
return localizedLogo_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedLogo_;
}
/**
*
* Sets different logo images for non-default languages.
*
*
* .io.LocalizedString localizedLogo = 32;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedLogoOrBuilder() {
return getLocalizedLogo();
}
public static final int LOCALIZEDAPPLELOGO_FIELD_NUMBER = 33;
private com.passkit.grpc.Localization.LocalizedString localizedAppleLogo_;
/**
*
* Sets different Apple Logo images for non-default languages.
*
*
* .io.LocalizedString localizedAppleLogo = 33;
* @return Whether the localizedAppleLogo field is set.
*/
@java.lang.Override
public boolean hasLocalizedAppleLogo() {
return localizedAppleLogo_ != null;
}
/**
*
* Sets different Apple Logo images for non-default languages.
*
*
* .io.LocalizedString localizedAppleLogo = 33;
* @return The localizedAppleLogo.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedAppleLogo() {
return localizedAppleLogo_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedAppleLogo_;
}
/**
*
* Sets different Apple Logo images for non-default languages.
*
*
* .io.LocalizedString localizedAppleLogo = 33;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedAppleLogoOrBuilder() {
return getLocalizedAppleLogo();
}
public static final int LOCALIZEDHERO_FIELD_NUMBER = 34;
private com.passkit.grpc.Localization.LocalizedString localizedHero_;
/**
*
* Sets different hero images for non-default languages.
*
*
* .io.LocalizedString localizedHero = 34;
* @return Whether the localizedHero field is set.
*/
@java.lang.Override
public boolean hasLocalizedHero() {
return localizedHero_ != null;
}
/**
*
* Sets different hero images for non-default languages.
*
*
* .io.LocalizedString localizedHero = 34;
* @return The localizedHero.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedHero() {
return localizedHero_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedHero_;
}
/**
*
* Sets different hero images for non-default languages.
*
*
* .io.LocalizedString localizedHero = 34;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedHeroOrBuilder() {
return getLocalizedHero();
}
public static final int LOCALIZEDEVENTSTRIP_FIELD_NUMBER = 35;
private com.passkit.grpc.Localization.LocalizedString localizedEventStrip_;
/**
*
* Sets different event strip images for non-default languages.
*
*
* .io.LocalizedString localizedEventStrip = 35;
* @return Whether the localizedEventStrip field is set.
*/
@java.lang.Override
public boolean hasLocalizedEventStrip() {
return localizedEventStrip_ != null;
}
/**
*
* Sets different event strip images for non-default languages.
*
*
* .io.LocalizedString localizedEventStrip = 35;
* @return The localizedEventStrip.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedEventStrip() {
return localizedEventStrip_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedEventStrip_;
}
/**
*
* Sets different event strip images for non-default languages.
*
*
* .io.LocalizedString localizedEventStrip = 35;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedEventStripOrBuilder() {
return getLocalizedEventStrip();
}
public static final int LOCALIZEDSTRIP_FIELD_NUMBER = 36;
private com.passkit.grpc.Localization.LocalizedString localizedStrip_;
/**
*
* Sets different strip images for non-default languages.
*
*
* .io.LocalizedString localizedStrip = 36;
* @return Whether the localizedStrip field is set.
*/
@java.lang.Override
public boolean hasLocalizedStrip() {
return localizedStrip_ != null;
}
/**
*
* Sets different strip images for non-default languages.
*
*
* .io.LocalizedString localizedStrip = 36;
* @return The localizedStrip.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedStrip() {
return localizedStrip_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedStrip_;
}
/**
*
* Sets different strip images for non-default languages.
*
*
* .io.LocalizedString localizedStrip = 36;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedStripOrBuilder() {
return getLocalizedStrip();
}
public static final int LOCALIZEDTHUMBNAIL_FIELD_NUMBER = 37;
private com.passkit.grpc.Localization.LocalizedString localizedThumbnail_;
/**
*
* Sets different thumbnail images for non-default languages.
*
*
* .io.LocalizedString localizedThumbnail = 37;
* @return Whether the localizedThumbnail field is set.
*/
@java.lang.Override
public boolean hasLocalizedThumbnail() {
return localizedThumbnail_ != null;
}
/**
*
* Sets different thumbnail images for non-default languages.
*
*
* .io.LocalizedString localizedThumbnail = 37;
* @return The localizedThumbnail.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedThumbnail() {
return localizedThumbnail_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedThumbnail_;
}
/**
*
* Sets different thumbnail images for non-default languages.
*
*
* .io.LocalizedString localizedThumbnail = 37;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedThumbnailOrBuilder() {
return getLocalizedThumbnail();
}
public static final int LOCALIZEDBACKGROUND_FIELD_NUMBER = 38;
private com.passkit.grpc.Localization.LocalizedString localizedBackground_;
/**
*
* Sets different background images for non-default languages.
*
*
* .io.LocalizedString localizedBackground = 38;
* @return Whether the localizedBackground field is set.
*/
@java.lang.Override
public boolean hasLocalizedBackground() {
return localizedBackground_ != null;
}
/**
*
* Sets different background images for non-default languages.
*
*
* .io.LocalizedString localizedBackground = 38;
* @return The localizedBackground.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedBackground() {
return localizedBackground_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedBackground_;
}
/**
*
* Sets different background images for non-default languages.
*
*
* .io.LocalizedString localizedBackground = 38;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedBackgroundOrBuilder() {
return getLocalizedBackground();
}
public static final int LOCALIZEDFOOTER_FIELD_NUMBER = 39;
private com.passkit.grpc.Localization.LocalizedString localizedFooter_;
/**
*
* Sets different footer images for non-default languages.
*
*
* .io.LocalizedString localizedFooter = 39;
* @return Whether the localizedFooter field is set.
*/
@java.lang.Override
public boolean hasLocalizedFooter() {
return localizedFooter_ != null;
}
/**
*
* Sets different footer images for non-default languages.
*
*
* .io.LocalizedString localizedFooter = 39;
* @return The localizedFooter.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedFooter() {
return localizedFooter_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedFooter_;
}
/**
*
* Sets different footer images for non-default languages.
*
*
* .io.LocalizedString localizedFooter = 39;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedFooterOrBuilder() {
return getLocalizedFooter();
}
public static final int LOCALIZEDSECURITY_FIELD_NUMBER = 40;
private com.passkit.grpc.Localization.LocalizedString localizedSecurity_;
/**
*
* Sets different security images for non-default languages.
*
*
* .io.LocalizedString localizedSecurity = 40;
* @return Whether the localizedSecurity field is set.
*/
@java.lang.Override
public boolean hasLocalizedSecurity() {
return localizedSecurity_ != null;
}
/**
*
* Sets different security images for non-default languages.
*
*
* .io.LocalizedString localizedSecurity = 40;
* @return The localizedSecurity.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedSecurity() {
return localizedSecurity_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedSecurity_;
}
/**
*
* Sets different security images for non-default languages.
*
*
* .io.LocalizedString localizedSecurity = 40;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedSecurityOrBuilder() {
return getLocalizedSecurity();
}
public static final int LOCALIZEDPRIVILEGE_FIELD_NUMBER = 41;
private com.passkit.grpc.Localization.LocalizedString localizedPrivilege_;
/**
*
* Sets different privilege images for non-default languages.
*
*
* .io.LocalizedString localizedPrivilege = 41;
* @return Whether the localizedPrivilege field is set.
*/
@java.lang.Override
public boolean hasLocalizedPrivilege() {
return localizedPrivilege_ != null;
}
/**
*
* Sets different privilege images for non-default languages.
*
*
* .io.LocalizedString localizedPrivilege = 41;
* @return The localizedPrivilege.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedPrivilege() {
return localizedPrivilege_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedPrivilege_;
}
/**
*
* Sets different privilege images for non-default languages.
*
*
* .io.LocalizedString localizedPrivilege = 41;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedPrivilegeOrBuilder() {
return getLocalizedPrivilege();
}
public static final int LOCALIZEDAIRLINEALLIANCE_FIELD_NUMBER = 42;
private com.passkit.grpc.Localization.LocalizedString localizedAirlineAlliance_;
/**
*
* Sets different airline alliance images for non-default languages.
*
*
* .io.LocalizedString localizedAirlineAlliance = 42;
* @return Whether the localizedAirlineAlliance field is set.
*/
@java.lang.Override
public boolean hasLocalizedAirlineAlliance() {
return localizedAirlineAlliance_ != null;
}
/**
*
* Sets different airline alliance images for non-default languages.
*
*
* .io.LocalizedString localizedAirlineAlliance = 42;
* @return The localizedAirlineAlliance.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedAirlineAlliance() {
return localizedAirlineAlliance_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedAirlineAlliance_;
}
/**
*
* Sets different airline alliance images for non-default languages.
*
*
* .io.LocalizedString localizedAirlineAlliance = 42;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedAirlineAllianceOrBuilder() {
return getLocalizedAirlineAlliance();
}
public static final int LOCALIZEDPERSONALIZATION_FIELD_NUMBER = 43;
private com.passkit.grpc.Localization.LocalizedString localizedPersonalization_;
/**
*
* Sets different personalized images for non-default languages.
*
*
* .io.LocalizedString localizedPersonalization = 43;
* @return Whether the localizedPersonalization field is set.
*/
@java.lang.Override
public boolean hasLocalizedPersonalization() {
return localizedPersonalization_ != null;
}
/**
*
* Sets different personalized images for non-default languages.
*
*
* .io.LocalizedString localizedPersonalization = 43;
* @return The localizedPersonalization.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedPersonalization() {
return localizedPersonalization_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedPersonalization_;
}
/**
*
* Sets different personalized images for non-default languages.
*
*
* .io.LocalizedString localizedPersonalization = 43;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedPersonalizationOrBuilder() {
return getLocalizedPersonalization();
}
public static final int LOCALIZEDBANNER_FIELD_NUMBER = 44;
private com.passkit.grpc.Localization.LocalizedString localizedBanner_;
/**
*
* Sets different banner images for non-default languages.
*
*
* .io.LocalizedString localizedBanner = 44;
* @return Whether the localizedBanner field is set.
*/
@java.lang.Override
public boolean hasLocalizedBanner() {
return localizedBanner_ != null;
}
/**
*
* Sets different banner images for non-default languages.
*
*
* .io.LocalizedString localizedBanner = 44;
* @return The localizedBanner.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedBanner() {
return localizedBanner_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedBanner_;
}
/**
*
* Sets different banner images for non-default languages.
*
*
* .io.LocalizedString localizedBanner = 44;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedBannerOrBuilder() {
return getLocalizedBanner();
}
public static final int LOCALIZEDMESSAGE_FIELD_NUMBER = 45;
private com.passkit.grpc.Localization.LocalizedString localizedMessage_;
/**
*
* Sets different message images for non-default languages.
*
*
* .io.LocalizedString localizedMessage = 45;
* @return Whether the localizedMessage field is set.
*/
@java.lang.Override
public boolean hasLocalizedMessage() {
return localizedMessage_ != null;
}
/**
*
* Sets different message images for non-default languages.
*
*
* .io.LocalizedString localizedMessage = 45;
* @return The localizedMessage.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedMessage() {
return localizedMessage_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedMessage_;
}
/**
*
* Sets different message images for non-default languages.
*
*
* .io.LocalizedString localizedMessage = 45;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedMessageOrBuilder() {
return getLocalizedMessage();
}
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 (!getIconBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, icon_);
}
if (!getLogoBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, logo_);
}
if (!getAppleLogoBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, appleLogo_);
}
if (!getHeroBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, hero_);
}
if (!getEventStripBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, eventStrip_);
}
if (!getStripBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, strip_);
}
if (!getThumbnailBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, thumbnail_);
}
if (!getBackgroundBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, background_);
}
if (!getFooterBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, footer_);
}
if (!getSecurityBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, security_);
}
if (!getPrivilegeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, privilege_);
}
if (!getAirlineAllianceBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, airlineAlliance_);
}
if (!getPersonalizationBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, personalization_);
}
if (!getBannerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, banner_);
}
if (!getMessageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, message_);
}
if (!getProfileBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 16, profile_);
}
if (!getAppImageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 17, appImage_);
}
if (localizedIcon_ != null) {
output.writeMessage(31, getLocalizedIcon());
}
if (localizedLogo_ != null) {
output.writeMessage(32, getLocalizedLogo());
}
if (localizedAppleLogo_ != null) {
output.writeMessage(33, getLocalizedAppleLogo());
}
if (localizedHero_ != null) {
output.writeMessage(34, getLocalizedHero());
}
if (localizedEventStrip_ != null) {
output.writeMessage(35, getLocalizedEventStrip());
}
if (localizedStrip_ != null) {
output.writeMessage(36, getLocalizedStrip());
}
if (localizedThumbnail_ != null) {
output.writeMessage(37, getLocalizedThumbnail());
}
if (localizedBackground_ != null) {
output.writeMessage(38, getLocalizedBackground());
}
if (localizedFooter_ != null) {
output.writeMessage(39, getLocalizedFooter());
}
if (localizedSecurity_ != null) {
output.writeMessage(40, getLocalizedSecurity());
}
if (localizedPrivilege_ != null) {
output.writeMessage(41, getLocalizedPrivilege());
}
if (localizedAirlineAlliance_ != null) {
output.writeMessage(42, getLocalizedAirlineAlliance());
}
if (localizedPersonalization_ != null) {
output.writeMessage(43, getLocalizedPersonalization());
}
if (localizedBanner_ != null) {
output.writeMessage(44, getLocalizedBanner());
}
if (localizedMessage_ != null) {
output.writeMessage(45, getLocalizedMessage());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getIconBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, icon_);
}
if (!getLogoBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, logo_);
}
if (!getAppleLogoBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, appleLogo_);
}
if (!getHeroBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, hero_);
}
if (!getEventStripBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, eventStrip_);
}
if (!getStripBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, strip_);
}
if (!getThumbnailBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, thumbnail_);
}
if (!getBackgroundBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, background_);
}
if (!getFooterBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, footer_);
}
if (!getSecurityBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, security_);
}
if (!getPrivilegeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, privilege_);
}
if (!getAirlineAllianceBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, airlineAlliance_);
}
if (!getPersonalizationBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, personalization_);
}
if (!getBannerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, banner_);
}
if (!getMessageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, message_);
}
if (!getProfileBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, profile_);
}
if (!getAppImageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, appImage_);
}
if (localizedIcon_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(31, getLocalizedIcon());
}
if (localizedLogo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(32, getLocalizedLogo());
}
if (localizedAppleLogo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(33, getLocalizedAppleLogo());
}
if (localizedHero_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(34, getLocalizedHero());
}
if (localizedEventStrip_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(35, getLocalizedEventStrip());
}
if (localizedStrip_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(36, getLocalizedStrip());
}
if (localizedThumbnail_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(37, getLocalizedThumbnail());
}
if (localizedBackground_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(38, getLocalizedBackground());
}
if (localizedFooter_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(39, getLocalizedFooter());
}
if (localizedSecurity_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(40, getLocalizedSecurity());
}
if (localizedPrivilege_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(41, getLocalizedPrivilege());
}
if (localizedAirlineAlliance_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(42, getLocalizedAirlineAlliance());
}
if (localizedPersonalization_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(43, getLocalizedPersonalization());
}
if (localizedBanner_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(44, getLocalizedBanner());
}
if (localizedMessage_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(45, getLocalizedMessage());
}
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.Image.ImageData)) {
return super.equals(obj);
}
com.passkit.grpc.Image.ImageData other = (com.passkit.grpc.Image.ImageData) obj;
if (!getIcon()
.equals(other.getIcon())) return false;
if (!getLogo()
.equals(other.getLogo())) return false;
if (!getAppleLogo()
.equals(other.getAppleLogo())) return false;
if (!getHero()
.equals(other.getHero())) return false;
if (!getEventStrip()
.equals(other.getEventStrip())) return false;
if (!getStrip()
.equals(other.getStrip())) return false;
if (!getThumbnail()
.equals(other.getThumbnail())) return false;
if (!getBackground()
.equals(other.getBackground())) return false;
if (!getFooter()
.equals(other.getFooter())) return false;
if (!getSecurity()
.equals(other.getSecurity())) return false;
if (!getPrivilege()
.equals(other.getPrivilege())) return false;
if (!getAirlineAlliance()
.equals(other.getAirlineAlliance())) return false;
if (!getPersonalization()
.equals(other.getPersonalization())) return false;
if (!getBanner()
.equals(other.getBanner())) return false;
if (!getMessage()
.equals(other.getMessage())) return false;
if (!getProfile()
.equals(other.getProfile())) return false;
if (!getAppImage()
.equals(other.getAppImage())) return false;
if (hasLocalizedIcon() != other.hasLocalizedIcon()) return false;
if (hasLocalizedIcon()) {
if (!getLocalizedIcon()
.equals(other.getLocalizedIcon())) return false;
}
if (hasLocalizedLogo() != other.hasLocalizedLogo()) return false;
if (hasLocalizedLogo()) {
if (!getLocalizedLogo()
.equals(other.getLocalizedLogo())) return false;
}
if (hasLocalizedAppleLogo() != other.hasLocalizedAppleLogo()) return false;
if (hasLocalizedAppleLogo()) {
if (!getLocalizedAppleLogo()
.equals(other.getLocalizedAppleLogo())) return false;
}
if (hasLocalizedHero() != other.hasLocalizedHero()) return false;
if (hasLocalizedHero()) {
if (!getLocalizedHero()
.equals(other.getLocalizedHero())) return false;
}
if (hasLocalizedEventStrip() != other.hasLocalizedEventStrip()) return false;
if (hasLocalizedEventStrip()) {
if (!getLocalizedEventStrip()
.equals(other.getLocalizedEventStrip())) return false;
}
if (hasLocalizedStrip() != other.hasLocalizedStrip()) return false;
if (hasLocalizedStrip()) {
if (!getLocalizedStrip()
.equals(other.getLocalizedStrip())) return false;
}
if (hasLocalizedThumbnail() != other.hasLocalizedThumbnail()) return false;
if (hasLocalizedThumbnail()) {
if (!getLocalizedThumbnail()
.equals(other.getLocalizedThumbnail())) return false;
}
if (hasLocalizedBackground() != other.hasLocalizedBackground()) return false;
if (hasLocalizedBackground()) {
if (!getLocalizedBackground()
.equals(other.getLocalizedBackground())) return false;
}
if (hasLocalizedFooter() != other.hasLocalizedFooter()) return false;
if (hasLocalizedFooter()) {
if (!getLocalizedFooter()
.equals(other.getLocalizedFooter())) return false;
}
if (hasLocalizedSecurity() != other.hasLocalizedSecurity()) return false;
if (hasLocalizedSecurity()) {
if (!getLocalizedSecurity()
.equals(other.getLocalizedSecurity())) return false;
}
if (hasLocalizedPrivilege() != other.hasLocalizedPrivilege()) return false;
if (hasLocalizedPrivilege()) {
if (!getLocalizedPrivilege()
.equals(other.getLocalizedPrivilege())) return false;
}
if (hasLocalizedAirlineAlliance() != other.hasLocalizedAirlineAlliance()) return false;
if (hasLocalizedAirlineAlliance()) {
if (!getLocalizedAirlineAlliance()
.equals(other.getLocalizedAirlineAlliance())) return false;
}
if (hasLocalizedPersonalization() != other.hasLocalizedPersonalization()) return false;
if (hasLocalizedPersonalization()) {
if (!getLocalizedPersonalization()
.equals(other.getLocalizedPersonalization())) return false;
}
if (hasLocalizedBanner() != other.hasLocalizedBanner()) return false;
if (hasLocalizedBanner()) {
if (!getLocalizedBanner()
.equals(other.getLocalizedBanner())) return false;
}
if (hasLocalizedMessage() != other.hasLocalizedMessage()) return false;
if (hasLocalizedMessage()) {
if (!getLocalizedMessage()
.equals(other.getLocalizedMessage())) 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) + ICON_FIELD_NUMBER;
hash = (53 * hash) + getIcon().hashCode();
hash = (37 * hash) + LOGO_FIELD_NUMBER;
hash = (53 * hash) + getLogo().hashCode();
hash = (37 * hash) + APPLELOGO_FIELD_NUMBER;
hash = (53 * hash) + getAppleLogo().hashCode();
hash = (37 * hash) + HERO_FIELD_NUMBER;
hash = (53 * hash) + getHero().hashCode();
hash = (37 * hash) + EVENTSTRIP_FIELD_NUMBER;
hash = (53 * hash) + getEventStrip().hashCode();
hash = (37 * hash) + STRIP_FIELD_NUMBER;
hash = (53 * hash) + getStrip().hashCode();
hash = (37 * hash) + THUMBNAIL_FIELD_NUMBER;
hash = (53 * hash) + getThumbnail().hashCode();
hash = (37 * hash) + BACKGROUND_FIELD_NUMBER;
hash = (53 * hash) + getBackground().hashCode();
hash = (37 * hash) + FOOTER_FIELD_NUMBER;
hash = (53 * hash) + getFooter().hashCode();
hash = (37 * hash) + SECURITY_FIELD_NUMBER;
hash = (53 * hash) + getSecurity().hashCode();
hash = (37 * hash) + PRIVILEGE_FIELD_NUMBER;
hash = (53 * hash) + getPrivilege().hashCode();
hash = (37 * hash) + AIRLINEALLIANCE_FIELD_NUMBER;
hash = (53 * hash) + getAirlineAlliance().hashCode();
hash = (37 * hash) + PERSONALIZATION_FIELD_NUMBER;
hash = (53 * hash) + getPersonalization().hashCode();
hash = (37 * hash) + BANNER_FIELD_NUMBER;
hash = (53 * hash) + getBanner().hashCode();
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
hash = (37 * hash) + PROFILE_FIELD_NUMBER;
hash = (53 * hash) + getProfile().hashCode();
hash = (37 * hash) + APPIMAGE_FIELD_NUMBER;
hash = (53 * hash) + getAppImage().hashCode();
if (hasLocalizedIcon()) {
hash = (37 * hash) + LOCALIZEDICON_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedIcon().hashCode();
}
if (hasLocalizedLogo()) {
hash = (37 * hash) + LOCALIZEDLOGO_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedLogo().hashCode();
}
if (hasLocalizedAppleLogo()) {
hash = (37 * hash) + LOCALIZEDAPPLELOGO_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedAppleLogo().hashCode();
}
if (hasLocalizedHero()) {
hash = (37 * hash) + LOCALIZEDHERO_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedHero().hashCode();
}
if (hasLocalizedEventStrip()) {
hash = (37 * hash) + LOCALIZEDEVENTSTRIP_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedEventStrip().hashCode();
}
if (hasLocalizedStrip()) {
hash = (37 * hash) + LOCALIZEDSTRIP_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedStrip().hashCode();
}
if (hasLocalizedThumbnail()) {
hash = (37 * hash) + LOCALIZEDTHUMBNAIL_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedThumbnail().hashCode();
}
if (hasLocalizedBackground()) {
hash = (37 * hash) + LOCALIZEDBACKGROUND_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedBackground().hashCode();
}
if (hasLocalizedFooter()) {
hash = (37 * hash) + LOCALIZEDFOOTER_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedFooter().hashCode();
}
if (hasLocalizedSecurity()) {
hash = (37 * hash) + LOCALIZEDSECURITY_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedSecurity().hashCode();
}
if (hasLocalizedPrivilege()) {
hash = (37 * hash) + LOCALIZEDPRIVILEGE_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedPrivilege().hashCode();
}
if (hasLocalizedAirlineAlliance()) {
hash = (37 * hash) + LOCALIZEDAIRLINEALLIANCE_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedAirlineAlliance().hashCode();
}
if (hasLocalizedPersonalization()) {
hash = (37 * hash) + LOCALIZEDPERSONALIZATION_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedPersonalization().hashCode();
}
if (hasLocalizedBanner()) {
hash = (37 * hash) + LOCALIZEDBANNER_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedBanner().hashCode();
}
if (hasLocalizedMessage()) {
hash = (37 * hash) + LOCALIZEDMESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedMessage().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.Image.ImageData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.ImageData 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.Image.ImageData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.ImageData 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.Image.ImageData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.ImageData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Image.ImageData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.ImageData 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.Image.ImageData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.ImageData 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.Image.ImageData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.ImageData 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.Image.ImageData 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;
}
/**
*
* Images strings can be either a base64 image or a url. See image 'Use' enum for descriptions and sizes.
*
*
* Protobuf type {@code io.ImageData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.ImageData)
com.passkit.grpc.Image.ImageDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Image.internal_static_io_ImageData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_ImageData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.ImageData.class, com.passkit.grpc.Image.ImageData.Builder.class);
}
// Construct using com.passkit.grpc.Image.ImageData.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();
icon_ = "";
logo_ = "";
appleLogo_ = "";
hero_ = "";
eventStrip_ = "";
strip_ = "";
thumbnail_ = "";
background_ = "";
footer_ = "";
security_ = "";
privilege_ = "";
airlineAlliance_ = "";
personalization_ = "";
banner_ = "";
message_ = "";
profile_ = "";
appImage_ = "";
if (localizedIconBuilder_ == null) {
localizedIcon_ = null;
} else {
localizedIcon_ = null;
localizedIconBuilder_ = null;
}
if (localizedLogoBuilder_ == null) {
localizedLogo_ = null;
} else {
localizedLogo_ = null;
localizedLogoBuilder_ = null;
}
if (localizedAppleLogoBuilder_ == null) {
localizedAppleLogo_ = null;
} else {
localizedAppleLogo_ = null;
localizedAppleLogoBuilder_ = null;
}
if (localizedHeroBuilder_ == null) {
localizedHero_ = null;
} else {
localizedHero_ = null;
localizedHeroBuilder_ = null;
}
if (localizedEventStripBuilder_ == null) {
localizedEventStrip_ = null;
} else {
localizedEventStrip_ = null;
localizedEventStripBuilder_ = null;
}
if (localizedStripBuilder_ == null) {
localizedStrip_ = null;
} else {
localizedStrip_ = null;
localizedStripBuilder_ = null;
}
if (localizedThumbnailBuilder_ == null) {
localizedThumbnail_ = null;
} else {
localizedThumbnail_ = null;
localizedThumbnailBuilder_ = null;
}
if (localizedBackgroundBuilder_ == null) {
localizedBackground_ = null;
} else {
localizedBackground_ = null;
localizedBackgroundBuilder_ = null;
}
if (localizedFooterBuilder_ == null) {
localizedFooter_ = null;
} else {
localizedFooter_ = null;
localizedFooterBuilder_ = null;
}
if (localizedSecurityBuilder_ == null) {
localizedSecurity_ = null;
} else {
localizedSecurity_ = null;
localizedSecurityBuilder_ = null;
}
if (localizedPrivilegeBuilder_ == null) {
localizedPrivilege_ = null;
} else {
localizedPrivilege_ = null;
localizedPrivilegeBuilder_ = null;
}
if (localizedAirlineAllianceBuilder_ == null) {
localizedAirlineAlliance_ = null;
} else {
localizedAirlineAlliance_ = null;
localizedAirlineAllianceBuilder_ = null;
}
if (localizedPersonalizationBuilder_ == null) {
localizedPersonalization_ = null;
} else {
localizedPersonalization_ = null;
localizedPersonalizationBuilder_ = null;
}
if (localizedBannerBuilder_ == null) {
localizedBanner_ = null;
} else {
localizedBanner_ = null;
localizedBannerBuilder_ = null;
}
if (localizedMessageBuilder_ == null) {
localizedMessage_ = null;
} else {
localizedMessage_ = null;
localizedMessageBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.Image.internal_static_io_ImageData_descriptor;
}
@java.lang.Override
public com.passkit.grpc.Image.ImageData getDefaultInstanceForType() {
return com.passkit.grpc.Image.ImageData.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.Image.ImageData build() {
com.passkit.grpc.Image.ImageData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.Image.ImageData buildPartial() {
com.passkit.grpc.Image.ImageData result = new com.passkit.grpc.Image.ImageData(this);
result.icon_ = icon_;
result.logo_ = logo_;
result.appleLogo_ = appleLogo_;
result.hero_ = hero_;
result.eventStrip_ = eventStrip_;
result.strip_ = strip_;
result.thumbnail_ = thumbnail_;
result.background_ = background_;
result.footer_ = footer_;
result.security_ = security_;
result.privilege_ = privilege_;
result.airlineAlliance_ = airlineAlliance_;
result.personalization_ = personalization_;
result.banner_ = banner_;
result.message_ = message_;
result.profile_ = profile_;
result.appImage_ = appImage_;
if (localizedIconBuilder_ == null) {
result.localizedIcon_ = localizedIcon_;
} else {
result.localizedIcon_ = localizedIconBuilder_.build();
}
if (localizedLogoBuilder_ == null) {
result.localizedLogo_ = localizedLogo_;
} else {
result.localizedLogo_ = localizedLogoBuilder_.build();
}
if (localizedAppleLogoBuilder_ == null) {
result.localizedAppleLogo_ = localizedAppleLogo_;
} else {
result.localizedAppleLogo_ = localizedAppleLogoBuilder_.build();
}
if (localizedHeroBuilder_ == null) {
result.localizedHero_ = localizedHero_;
} else {
result.localizedHero_ = localizedHeroBuilder_.build();
}
if (localizedEventStripBuilder_ == null) {
result.localizedEventStrip_ = localizedEventStrip_;
} else {
result.localizedEventStrip_ = localizedEventStripBuilder_.build();
}
if (localizedStripBuilder_ == null) {
result.localizedStrip_ = localizedStrip_;
} else {
result.localizedStrip_ = localizedStripBuilder_.build();
}
if (localizedThumbnailBuilder_ == null) {
result.localizedThumbnail_ = localizedThumbnail_;
} else {
result.localizedThumbnail_ = localizedThumbnailBuilder_.build();
}
if (localizedBackgroundBuilder_ == null) {
result.localizedBackground_ = localizedBackground_;
} else {
result.localizedBackground_ = localizedBackgroundBuilder_.build();
}
if (localizedFooterBuilder_ == null) {
result.localizedFooter_ = localizedFooter_;
} else {
result.localizedFooter_ = localizedFooterBuilder_.build();
}
if (localizedSecurityBuilder_ == null) {
result.localizedSecurity_ = localizedSecurity_;
} else {
result.localizedSecurity_ = localizedSecurityBuilder_.build();
}
if (localizedPrivilegeBuilder_ == null) {
result.localizedPrivilege_ = localizedPrivilege_;
} else {
result.localizedPrivilege_ = localizedPrivilegeBuilder_.build();
}
if (localizedAirlineAllianceBuilder_ == null) {
result.localizedAirlineAlliance_ = localizedAirlineAlliance_;
} else {
result.localizedAirlineAlliance_ = localizedAirlineAllianceBuilder_.build();
}
if (localizedPersonalizationBuilder_ == null) {
result.localizedPersonalization_ = localizedPersonalization_;
} else {
result.localizedPersonalization_ = localizedPersonalizationBuilder_.build();
}
if (localizedBannerBuilder_ == null) {
result.localizedBanner_ = localizedBanner_;
} else {
result.localizedBanner_ = localizedBannerBuilder_.build();
}
if (localizedMessageBuilder_ == null) {
result.localizedMessage_ = localizedMessage_;
} else {
result.localizedMessage_ = localizedMessageBuilder_.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.Image.ImageData) {
return mergeFrom((com.passkit.grpc.Image.ImageData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.Image.ImageData other) {
if (other == com.passkit.grpc.Image.ImageData.getDefaultInstance()) return this;
if (!other.getIcon().isEmpty()) {
icon_ = other.icon_;
onChanged();
}
if (!other.getLogo().isEmpty()) {
logo_ = other.logo_;
onChanged();
}
if (!other.getAppleLogo().isEmpty()) {
appleLogo_ = other.appleLogo_;
onChanged();
}
if (!other.getHero().isEmpty()) {
hero_ = other.hero_;
onChanged();
}
if (!other.getEventStrip().isEmpty()) {
eventStrip_ = other.eventStrip_;
onChanged();
}
if (!other.getStrip().isEmpty()) {
strip_ = other.strip_;
onChanged();
}
if (!other.getThumbnail().isEmpty()) {
thumbnail_ = other.thumbnail_;
onChanged();
}
if (!other.getBackground().isEmpty()) {
background_ = other.background_;
onChanged();
}
if (!other.getFooter().isEmpty()) {
footer_ = other.footer_;
onChanged();
}
if (!other.getSecurity().isEmpty()) {
security_ = other.security_;
onChanged();
}
if (!other.getPrivilege().isEmpty()) {
privilege_ = other.privilege_;
onChanged();
}
if (!other.getAirlineAlliance().isEmpty()) {
airlineAlliance_ = other.airlineAlliance_;
onChanged();
}
if (!other.getPersonalization().isEmpty()) {
personalization_ = other.personalization_;
onChanged();
}
if (!other.getBanner().isEmpty()) {
banner_ = other.banner_;
onChanged();
}
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
onChanged();
}
if (!other.getProfile().isEmpty()) {
profile_ = other.profile_;
onChanged();
}
if (!other.getAppImage().isEmpty()) {
appImage_ = other.appImage_;
onChanged();
}
if (other.hasLocalizedIcon()) {
mergeLocalizedIcon(other.getLocalizedIcon());
}
if (other.hasLocalizedLogo()) {
mergeLocalizedLogo(other.getLocalizedLogo());
}
if (other.hasLocalizedAppleLogo()) {
mergeLocalizedAppleLogo(other.getLocalizedAppleLogo());
}
if (other.hasLocalizedHero()) {
mergeLocalizedHero(other.getLocalizedHero());
}
if (other.hasLocalizedEventStrip()) {
mergeLocalizedEventStrip(other.getLocalizedEventStrip());
}
if (other.hasLocalizedStrip()) {
mergeLocalizedStrip(other.getLocalizedStrip());
}
if (other.hasLocalizedThumbnail()) {
mergeLocalizedThumbnail(other.getLocalizedThumbnail());
}
if (other.hasLocalizedBackground()) {
mergeLocalizedBackground(other.getLocalizedBackground());
}
if (other.hasLocalizedFooter()) {
mergeLocalizedFooter(other.getLocalizedFooter());
}
if (other.hasLocalizedSecurity()) {
mergeLocalizedSecurity(other.getLocalizedSecurity());
}
if (other.hasLocalizedPrivilege()) {
mergeLocalizedPrivilege(other.getLocalizedPrivilege());
}
if (other.hasLocalizedAirlineAlliance()) {
mergeLocalizedAirlineAlliance(other.getLocalizedAirlineAlliance());
}
if (other.hasLocalizedPersonalization()) {
mergeLocalizedPersonalization(other.getLocalizedPersonalization());
}
if (other.hasLocalizedBanner()) {
mergeLocalizedBanner(other.getLocalizedBanner());
}
if (other.hasLocalizedMessage()) {
mergeLocalizedMessage(other.getLocalizedMessage());
}
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.Image.ImageData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.Image.ImageData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object icon_ = "";
/**
*
* Mandatory icon, used in Apple Wallet lock screen (87px x 87px).
*
*
* string icon = 1;
* @return The icon.
*/
public java.lang.String getIcon() {
java.lang.Object ref = icon_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
icon_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Mandatory icon, used in Apple Wallet lock screen (87px x 87px).
*
*
* string icon = 1;
* @return The bytes for icon.
*/
public com.google.protobuf.ByteString
getIconBytes() {
java.lang.Object ref = icon_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
icon_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Mandatory icon, used in Apple Wallet lock screen (87px x 87px).
*
*
* string icon = 1;
* @param value The icon to set.
* @return This builder for chaining.
*/
public Builder setIcon(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
icon_ = value;
onChanged();
return this;
}
/**
*
* Mandatory icon, used in Apple Wallet lock screen (87px x 87px).
*
*
* string icon = 1;
* @return This builder for chaining.
*/
public Builder clearIcon() {
icon_ = getDefaultInstance().getIcon();
onChanged();
return this;
}
/**
*
* Mandatory icon, used in Apple Wallet lock screen (87px x 87px).
*
*
* string icon = 1;
* @param value The bytes for icon to set.
* @return This builder for chaining.
*/
public Builder setIconBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
icon_ = value;
onChanged();
return this;
}
private java.lang.Object logo_ = "";
/**
*
* Logo is circle-cropped by Google Pay, a 15% safety margin is recommended (660px x 660px).
*
*
* string logo = 2;
* @return The logo.
*/
public java.lang.String getLogo() {
java.lang.Object ref = logo_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
logo_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Logo is circle-cropped by Google Pay, a 15% safety margin is recommended (660px x 660px).
*
*
* string logo = 2;
* @return The bytes for logo.
*/
public com.google.protobuf.ByteString
getLogoBytes() {
java.lang.Object ref = logo_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Logo is circle-cropped by Google Pay, a 15% safety margin is recommended (660px x 660px).
*
*
* string logo = 2;
* @param value The logo to set.
* @return This builder for chaining.
*/
public Builder setLogo(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
logo_ = value;
onChanged();
return this;
}
/**
*
* Logo is circle-cropped by Google Pay, a 15% safety margin is recommended (660px x 660px).
*
*
* string logo = 2;
* @return This builder for chaining.
*/
public Builder clearLogo() {
logo_ = getDefaultInstance().getLogo();
onChanged();
return this;
}
/**
*
* Logo is circle-cropped by Google Pay, a 15% safety margin is recommended (660px x 660px).
*
*
* string logo = 2;
* @param value The bytes for logo to set.
* @return This builder for chaining.
*/
public Builder setLogoBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
logo_ = value;
onChanged();
return this;
}
private java.lang.Object appleLogo_ = "";
/**
*
* Apple logo can be used where a rectangular design is preferred for Apple Passes only. If ommitted, the square logo image will be used. (<=480px x 150px).
*
*
* string appleLogo = 3;
* @return The appleLogo.
*/
public java.lang.String getAppleLogo() {
java.lang.Object ref = appleLogo_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
appleLogo_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Apple logo can be used where a rectangular design is preferred for Apple Passes only. If ommitted, the square logo image will be used. (<=480px x 150px).
*
*
* string appleLogo = 3;
* @return The bytes for appleLogo.
*/
public com.google.protobuf.ByteString
getAppleLogoBytes() {
java.lang.Object ref = appleLogo_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
appleLogo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Apple logo can be used where a rectangular design is preferred for Apple Passes only. If ommitted, the square logo image will be used. (<=480px x 150px).
*
*
* string appleLogo = 3;
* @param value The appleLogo to set.
* @return This builder for chaining.
*/
public Builder setAppleLogo(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
appleLogo_ = value;
onChanged();
return this;
}
/**
*
* Apple logo can be used where a rectangular design is preferred for Apple Passes only. If ommitted, the square logo image will be used. (<=480px x 150px).
*
*
* string appleLogo = 3;
* @return This builder for chaining.
*/
public Builder clearAppleLogo() {
appleLogo_ = getDefaultInstance().getAppleLogo();
onChanged();
return this;
}
/**
*
* Apple logo can be used where a rectangular design is preferred for Apple Passes only. If ommitted, the square logo image will be used. (<=480px x 150px).
*
*
* string appleLogo = 3;
* @param value The bytes for appleLogo to set.
* @return This builder for chaining.
*/
public Builder setAppleLogoBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
appleLogo_ = value;
onChanged();
return this;
}
private java.lang.Object hero_ = "";
/**
*
* Hero is the Google Pay strip and is also used in the dialog box when installing (1032px x 336px).
*
*
* string hero = 4;
* @return The hero.
*/
public java.lang.String getHero() {
java.lang.Object ref = hero_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hero_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Hero is the Google Pay strip and is also used in the dialog box when installing (1032px x 336px).
*
*
* string hero = 4;
* @return The bytes for hero.
*/
public com.google.protobuf.ByteString
getHeroBytes() {
java.lang.Object ref = hero_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hero_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Hero is the Google Pay strip and is also used in the dialog box when installing (1032px x 336px).
*
*
* string hero = 4;
* @param value The hero to set.
* @return This builder for chaining.
*/
public Builder setHero(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
hero_ = value;
onChanged();
return this;
}
/**
*
* Hero is the Google Pay strip and is also used in the dialog box when installing (1032px x 336px).
*
*
* string hero = 4;
* @return This builder for chaining.
*/
public Builder clearHero() {
hero_ = getDefaultInstance().getHero();
onChanged();
return this;
}
/**
*
* Hero is the Google Pay strip and is also used in the dialog box when installing (1032px x 336px).
*
*
* string hero = 4;
* @param value The bytes for hero to set.
* @return This builder for chaining.
*/
public Builder setHeroBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
hero_ = value;
onChanged();
return this;
}
private java.lang.Object eventStrip_ = "";
/**
*
* Apple Wallet strip image for EventTicket pass types (1125px x 294px).
*
*
* string eventStrip = 5;
* @return The eventStrip.
*/
public java.lang.String getEventStrip() {
java.lang.Object ref = eventStrip_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
eventStrip_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Apple Wallet strip image for EventTicket pass types (1125px x 294px).
*
*
* string eventStrip = 5;
* @return The bytes for eventStrip.
*/
public com.google.protobuf.ByteString
getEventStripBytes() {
java.lang.Object ref = eventStrip_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
eventStrip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Apple Wallet strip image for EventTicket pass types (1125px x 294px).
*
*
* string eventStrip = 5;
* @param value The eventStrip to set.
* @return This builder for chaining.
*/
public Builder setEventStrip(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
eventStrip_ = value;
onChanged();
return this;
}
/**
*
* Apple Wallet strip image for EventTicket pass types (1125px x 294px).
*
*
* string eventStrip = 5;
* @return This builder for chaining.
*/
public Builder clearEventStrip() {
eventStrip_ = getDefaultInstance().getEventStrip();
onChanged();
return this;
}
/**
*
* Apple Wallet strip image for EventTicket pass types (1125px x 294px).
*
*
* string eventStrip = 5;
* @param value The bytes for eventStrip to set.
* @return This builder for chaining.
*/
public Builder setEventStripBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
eventStrip_ = value;
onChanged();
return this;
}
private java.lang.Object strip_ = "";
/**
*
* Apple Wallet strip image for other pass types with a strip image (1125px x 432px).
*
*
* string strip = 6;
* @return The strip.
*/
public java.lang.String getStrip() {
java.lang.Object ref = strip_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
strip_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Apple Wallet strip image for other pass types with a strip image (1125px x 432px).
*
*
* string strip = 6;
* @return The bytes for strip.
*/
public com.google.protobuf.ByteString
getStripBytes() {
java.lang.Object ref = strip_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
strip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Apple Wallet strip image for other pass types with a strip image (1125px x 432px).
*
*
* string strip = 6;
* @param value The strip to set.
* @return This builder for chaining.
*/
public Builder setStrip(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
strip_ = value;
onChanged();
return this;
}
/**
*
* Apple Wallet strip image for other pass types with a strip image (1125px x 432px).
*
*
* string strip = 6;
* @return This builder for chaining.
*/
public Builder clearStrip() {
strip_ = getDefaultInstance().getStrip();
onChanged();
return this;
}
/**
*
* Apple Wallet strip image for other pass types with a strip image (1125px x 432px).
*
*
* string strip = 6;
* @param value The bytes for strip to set.
* @return This builder for chaining.
*/
public Builder setStripBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
strip_ = value;
onChanged();
return this;
}
private java.lang.Object thumbnail_ = "";
/**
*
* Used on Membership passes and Apple event tickets with a background image (>=270px x >=270px in a ratio range of 2:3-3:2).
*
*
* string thumbnail = 7;
* @return The thumbnail.
*/
public java.lang.String getThumbnail() {
java.lang.Object ref = thumbnail_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
thumbnail_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Used on Membership passes and Apple event tickets with a background image (>=270px x >=270px in a ratio range of 2:3-3:2).
*
*
* string thumbnail = 7;
* @return The bytes for thumbnail.
*/
public com.google.protobuf.ByteString
getThumbnailBytes() {
java.lang.Object ref = thumbnail_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
thumbnail_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Used on Membership passes and Apple event tickets with a background image (>=270px x >=270px in a ratio range of 2:3-3:2).
*
*
* string thumbnail = 7;
* @param value The thumbnail to set.
* @return This builder for chaining.
*/
public Builder setThumbnail(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
thumbnail_ = value;
onChanged();
return this;
}
/**
*
* Used on Membership passes and Apple event tickets with a background image (>=270px x >=270px in a ratio range of 2:3-3:2).
*
*
* string thumbnail = 7;
* @return This builder for chaining.
*/
public Builder clearThumbnail() {
thumbnail_ = getDefaultInstance().getThumbnail();
onChanged();
return this;
}
/**
*
* Used on Membership passes and Apple event tickets with a background image (>=270px x >=270px in a ratio range of 2:3-3:2).
*
*
* string thumbnail = 7;
* @param value The bytes for thumbnail to set.
* @return This builder for chaining.
*/
public Builder setThumbnailBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
thumbnail_ = value;
onChanged();
return this;
}
private java.lang.Object background_ = "";
/**
*
* Used only be Apple Event Ticket designs, this image is blurred to form a background and so can be a low quality image. Note it may also be slightly cropped on some devices (180px x 220px).
*
*
* string background = 8;
* @return The background.
*/
public java.lang.String getBackground() {
java.lang.Object ref = background_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
background_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Used only be Apple Event Ticket designs, this image is blurred to form a background and so can be a low quality image. Note it may also be slightly cropped on some devices (180px x 220px).
*
*
* string background = 8;
* @return The bytes for background.
*/
public com.google.protobuf.ByteString
getBackgroundBytes() {
java.lang.Object ref = background_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
background_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Used only be Apple Event Ticket designs, this image is blurred to form a background and so can be a low quality image. Note it may also be slightly cropped on some devices (180px x 220px).
*
*
* string background = 8;
* @param value The background to set.
* @return This builder for chaining.
*/
public Builder setBackground(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
background_ = value;
onChanged();
return this;
}
/**
*
* Used only be Apple Event Ticket designs, this image is blurred to form a background and so can be a low quality image. Note it may also be slightly cropped on some devices (180px x 220px).
*
*
* string background = 8;
* @return This builder for chaining.
*/
public Builder clearBackground() {
background_ = getDefaultInstance().getBackground();
onChanged();
return this;
}
/**
*
* Used only be Apple Event Ticket designs, this image is blurred to form a background and so can be a low quality image. Note it may also be slightly cropped on some devices (180px x 220px).
*
*
* string background = 8;
* @param value The bytes for background to set.
* @return This builder for chaining.
*/
public Builder setBackgroundBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
background_ = value;
onChanged();
return this;
}
private java.lang.Object footer_ = "";
/**
*
* Displays above the barcode for Apple Wallet Boarding pass tickets (858px x 45px)
*
*
* string footer = 9;
* @return The footer.
*/
public java.lang.String getFooter() {
java.lang.Object ref = footer_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
footer_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Displays above the barcode for Apple Wallet Boarding pass tickets (858px x 45px)
*
*
* string footer = 9;
* @return The bytes for footer.
*/
public com.google.protobuf.ByteString
getFooterBytes() {
java.lang.Object ref = footer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
footer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Displays above the barcode for Apple Wallet Boarding pass tickets (858px x 45px)
*
*
* string footer = 9;
* @param value The footer to set.
* @return This builder for chaining.
*/
public Builder setFooter(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
footer_ = value;
onChanged();
return this;
}
/**
*
* Displays above the barcode for Apple Wallet Boarding pass tickets (858px x 45px)
*
*
* string footer = 9;
* @return This builder for chaining.
*/
public Builder clearFooter() {
footer_ = getDefaultInstance().getFooter();
onChanged();
return this;
}
/**
*
* Displays above the barcode for Apple Wallet Boarding pass tickets (858px x 45px)
*
*
* string footer = 9;
* @param value The bytes for footer to set.
* @return This builder for chaining.
*/
public Builder setFooterBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
footer_ = value;
onChanged();
return this;
}
private java.lang.Object security_ = "";
/**
*
* Google Pay - used to denote a security program on boarding pass types (E.g. TSA PreCheck®). Width of 1600px is shared with the boarding privilege logo (<=1600px x 80px).
*
*
* string security = 10;
* @return The security.
*/
public java.lang.String getSecurity() {
java.lang.Object ref = security_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
security_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Google Pay - used to denote a security program on boarding pass types (E.g. TSA PreCheck®). Width of 1600px is shared with the boarding privilege logo (<=1600px x 80px).
*
*
* string security = 10;
* @return The bytes for security.
*/
public com.google.protobuf.ByteString
getSecurityBytes() {
java.lang.Object ref = security_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
security_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Google Pay - used to denote a security program on boarding pass types (E.g. TSA PreCheck®). Width of 1600px is shared with the boarding privilege logo (<=1600px x 80px).
*
*
* string security = 10;
* @param value The security to set.
* @return This builder for chaining.
*/
public Builder setSecurity(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
security_ = value;
onChanged();
return this;
}
/**
*
* Google Pay - used to denote a security program on boarding pass types (E.g. TSA PreCheck®). Width of 1600px is shared with the boarding privilege logo (<=1600px x 80px).
*
*
* string security = 10;
* @return This builder for chaining.
*/
public Builder clearSecurity() {
security_ = getDefaultInstance().getSecurity();
onChanged();
return this;
}
/**
*
* Google Pay - used to denote a security program on boarding pass types (E.g. TSA PreCheck®). Width of 1600px is shared with the boarding privilege logo (<=1600px x 80px).
*
*
* string security = 10;
* @param value The bytes for security to set.
* @return This builder for chaining.
*/
public Builder setSecurityBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
security_ = value;
onChanged();
return this;
}
private java.lang.Object privilege_ = "";
/**
*
* Google Pay - used to denote a boarding privilege. Width of 1600px is shared with the security program logo (<=1600px x 80px).
*
*
* string privilege = 11;
* @return The privilege.
*/
public java.lang.String getPrivilege() {
java.lang.Object ref = privilege_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
privilege_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Google Pay - used to denote a boarding privilege. Width of 1600px is shared with the security program logo (<=1600px x 80px).
*
*
* string privilege = 11;
* @return The bytes for privilege.
*/
public com.google.protobuf.ByteString
getPrivilegeBytes() {
java.lang.Object ref = privilege_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
privilege_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Google Pay - used to denote a boarding privilege. Width of 1600px is shared with the security program logo (<=1600px x 80px).
*
*
* string privilege = 11;
* @param value The privilege to set.
* @return This builder for chaining.
*/
public Builder setPrivilege(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
privilege_ = value;
onChanged();
return this;
}
/**
*
* Google Pay - used to denote a boarding privilege. Width of 1600px is shared with the security program logo (<=1600px x 80px).
*
*
* string privilege = 11;
* @return This builder for chaining.
*/
public Builder clearPrivilege() {
privilege_ = getDefaultInstance().getPrivilege();
onChanged();
return this;
}
/**
*
* Google Pay - used to denote a boarding privilege. Width of 1600px is shared with the security program logo (<=1600px x 80px).
*
*
* string privilege = 11;
* @param value The bytes for privilege to set.
* @return This builder for chaining.
*/
public Builder setPrivilegeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
privilege_ = value;
onChanged();
return this;
}
private java.lang.Object airlineAlliance_ = "";
/**
*
* Google Pay - used to denote airline alliance on boarding pass types (<=1600px x 80px).
*
*
* string airlineAlliance = 12;
* @return The airlineAlliance.
*/
public java.lang.String getAirlineAlliance() {
java.lang.Object ref = airlineAlliance_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
airlineAlliance_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Google Pay - used to denote airline alliance on boarding pass types (<=1600px x 80px).
*
*
* string airlineAlliance = 12;
* @return The bytes for airlineAlliance.
*/
public com.google.protobuf.ByteString
getAirlineAllianceBytes() {
java.lang.Object ref = airlineAlliance_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
airlineAlliance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Google Pay - used to denote airline alliance on boarding pass types (<=1600px x 80px).
*
*
* string airlineAlliance = 12;
* @param value The airlineAlliance to set.
* @return This builder for chaining.
*/
public Builder setAirlineAlliance(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
airlineAlliance_ = value;
onChanged();
return this;
}
/**
*
* Google Pay - used to denote airline alliance on boarding pass types (<=1600px x 80px).
*
*
* string airlineAlliance = 12;
* @return This builder for chaining.
*/
public Builder clearAirlineAlliance() {
airlineAlliance_ = getDefaultInstance().getAirlineAlliance();
onChanged();
return this;
}
/**
*
* Google Pay - used to denote airline alliance on boarding pass types (<=1600px x 80px).
*
*
* string airlineAlliance = 12;
* @param value The bytes for airlineAlliance to set.
* @return This builder for chaining.
*/
public Builder setAirlineAllianceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
airlineAlliance_ = value;
onChanged();
return this;
}
private java.lang.Object personalization_ = "";
/**
*
* For Apple Pay NFC passes whitelisted for personalization. Image is displayed after terms are presented (<=450px x 120px).
*
*
* string personalization = 13;
* @return The personalization.
*/
public java.lang.String getPersonalization() {
java.lang.Object ref = personalization_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
personalization_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* For Apple Pay NFC passes whitelisted for personalization. Image is displayed after terms are presented (<=450px x 120px).
*
*
* string personalization = 13;
* @return The bytes for personalization.
*/
public com.google.protobuf.ByteString
getPersonalizationBytes() {
java.lang.Object ref = personalization_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
personalization_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* For Apple Pay NFC passes whitelisted for personalization. Image is displayed after terms are presented (<=450px x 120px).
*
*
* string personalization = 13;
* @param value The personalization to set.
* @return This builder for chaining.
*/
public Builder setPersonalization(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
personalization_ = value;
onChanged();
return this;
}
/**
*
* For Apple Pay NFC passes whitelisted for personalization. Image is displayed after terms are presented (<=450px x 120px).
*
*
* string personalization = 13;
* @return This builder for chaining.
*/
public Builder clearPersonalization() {
personalization_ = getDefaultInstance().getPersonalization();
onChanged();
return this;
}
/**
*
* For Apple Pay NFC passes whitelisted for personalization. Image is displayed after terms are presented (<=450px x 120px).
*
*
* string personalization = 13;
* @param value The bytes for personalization to set.
* @return This builder for chaining.
*/
public Builder setPersonalizationBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
personalization_ = value;
onChanged();
return this;
}
private java.lang.Object banner_ = "";
/**
*
* Used on a landing page or email. Image has no size constraints and will be treated as @2x pixel density.
*
*
* string banner = 14;
* @return The banner.
*/
public java.lang.String getBanner() {
java.lang.Object ref = banner_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
banner_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Used on a landing page or email. Image has no size constraints and will be treated as @2x pixel density.
*
*
* string banner = 14;
* @return The bytes for banner.
*/
public com.google.protobuf.ByteString
getBannerBytes() {
java.lang.Object ref = banner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
banner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Used on a landing page or email. Image has no size constraints and will be treated as @2x pixel density.
*
*
* string banner = 14;
* @param value The banner to set.
* @return This builder for chaining.
*/
public Builder setBanner(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
banner_ = value;
onChanged();
return this;
}
/**
*
* Used on a landing page or email. Image has no size constraints and will be treated as @2x pixel density.
*
*
* string banner = 14;
* @return This builder for chaining.
*/
public Builder clearBanner() {
banner_ = getDefaultInstance().getBanner();
onChanged();
return this;
}
/**
*
* Used on a landing page or email. Image has no size constraints and will be treated as @2x pixel density.
*
*
* string banner = 14;
* @param value The bytes for banner to set.
* @return This builder for chaining.
*/
public Builder setBannerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
banner_ = value;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
*
* Used for Google Pay in wallet promotional messages - for Apple Pay, the message will be rendered on a mobile website (1860px x <=930px).
*
*
* string message = 15;
* @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Used for Google Pay in wallet promotional messages - for Apple Pay, the message will be rendered on a mobile website (1860px x <=930px).
*
*
* string message = 15;
* @return The bytes for message.
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Used for Google Pay in wallet promotional messages - for Apple Pay, the message will be rendered on a mobile website (1860px x <=930px).
*
*
* string message = 15;
* @param value The message to set.
* @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
message_ = value;
onChanged();
return this;
}
/**
*
* Used for Google Pay in wallet promotional messages - for Apple Pay, the message will be rendered on a mobile website (1860px x <=930px).
*
*
* string message = 15;
* @return This builder for chaining.
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
*
* Used for Google Pay in wallet promotional messages - for Apple Pay, the message will be rendered on a mobile website (1860px x <=930px).
*
*
* string message = 15;
* @param value The bytes for message to set.
* @return This builder for chaining.
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
message_ = value;
onChanged();
return this;
}
private java.lang.Object profile_ = "";
/**
*
* Used for user Profile images (300px x 300px). Cannot be localized.
*
*
* string profile = 16;
* @return The profile.
*/
public java.lang.String getProfile() {
java.lang.Object ref = profile_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
profile_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Used for user Profile images (300px x 300px). Cannot be localized.
*
*
* string profile = 16;
* @return The bytes for profile.
*/
public com.google.protobuf.ByteString
getProfileBytes() {
java.lang.Object ref = profile_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
profile_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Used for user Profile images (300px x 300px). Cannot be localized.
*
*
* string profile = 16;
* @param value The profile to set.
* @return This builder for chaining.
*/
public Builder setProfile(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
profile_ = value;
onChanged();
return this;
}
/**
*
* Used for user Profile images (300px x 300px). Cannot be localized.
*
*
* string profile = 16;
* @return This builder for chaining.
*/
public Builder clearProfile() {
profile_ = getDefaultInstance().getProfile();
onChanged();
return this;
}
/**
*
* Used for user Profile images (300px x 300px). Cannot be localized.
*
*
* string profile = 16;
* @param value The bytes for profile to set.
* @return This builder for chaining.
*/
public Builder setProfileBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
profile_ = value;
onChanged();
return this;
}
private java.lang.Object appImage_ = "";
/**
*
* Used for user app images in Google Pay Passes (300px x 300px). Cannot be localized.
*
*
* string appImage = 17;
* @return The appImage.
*/
public java.lang.String getAppImage() {
java.lang.Object ref = appImage_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
appImage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Used for user app images in Google Pay Passes (300px x 300px). Cannot be localized.
*
*
* string appImage = 17;
* @return The bytes for appImage.
*/
public com.google.protobuf.ByteString
getAppImageBytes() {
java.lang.Object ref = appImage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
appImage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Used for user app images in Google Pay Passes (300px x 300px). Cannot be localized.
*
*
* string appImage = 17;
* @param value The appImage to set.
* @return This builder for chaining.
*/
public Builder setAppImage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
appImage_ = value;
onChanged();
return this;
}
/**
*
* Used for user app images in Google Pay Passes (300px x 300px). Cannot be localized.
*
*
* string appImage = 17;
* @return This builder for chaining.
*/
public Builder clearAppImage() {
appImage_ = getDefaultInstance().getAppImage();
onChanged();
return this;
}
/**
*
* Used for user app images in Google Pay Passes (300px x 300px). Cannot be localized.
*
*
* string appImage = 17;
* @param value The bytes for appImage to set.
* @return This builder for chaining.
*/
public Builder setAppImageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
appImage_ = value;
onChanged();
return this;
}
private com.passkit.grpc.Localization.LocalizedString localizedIcon_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedIconBuilder_;
/**
*
* Sets different icon images for non-default languages.
*
*
* .io.LocalizedString localizedIcon = 31;
* @return Whether the localizedIcon field is set.
*/
public boolean hasLocalizedIcon() {
return localizedIconBuilder_ != null || localizedIcon_ != null;
}
/**
*
* Sets different icon images for non-default languages.
*
*
* .io.LocalizedString localizedIcon = 31;
* @return The localizedIcon.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedIcon() {
if (localizedIconBuilder_ == null) {
return localizedIcon_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedIcon_;
} else {
return localizedIconBuilder_.getMessage();
}
}
/**
*
* Sets different icon images for non-default languages.
*
*
* .io.LocalizedString localizedIcon = 31;
*/
public Builder setLocalizedIcon(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedIconBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedIcon_ = value;
onChanged();
} else {
localizedIconBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets different icon images for non-default languages.
*
*
* .io.LocalizedString localizedIcon = 31;
*/
public Builder setLocalizedIcon(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedIconBuilder_ == null) {
localizedIcon_ = builderForValue.build();
onChanged();
} else {
localizedIconBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets different icon images for non-default languages.
*
*
* .io.LocalizedString localizedIcon = 31;
*/
public Builder mergeLocalizedIcon(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedIconBuilder_ == null) {
if (localizedIcon_ != null) {
localizedIcon_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedIcon_).mergeFrom(value).buildPartial();
} else {
localizedIcon_ = value;
}
onChanged();
} else {
localizedIconBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets different icon images for non-default languages.
*
*
* .io.LocalizedString localizedIcon = 31;
*/
public Builder clearLocalizedIcon() {
if (localizedIconBuilder_ == null) {
localizedIcon_ = null;
onChanged();
} else {
localizedIcon_ = null;
localizedIconBuilder_ = null;
}
return this;
}
/**
*
* Sets different icon images for non-default languages.
*
*
* .io.LocalizedString localizedIcon = 31;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedIconBuilder() {
onChanged();
return getLocalizedIconFieldBuilder().getBuilder();
}
/**
*
* Sets different icon images for non-default languages.
*
*
* .io.LocalizedString localizedIcon = 31;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedIconOrBuilder() {
if (localizedIconBuilder_ != null) {
return localizedIconBuilder_.getMessageOrBuilder();
} else {
return localizedIcon_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedIcon_;
}
}
/**
*
* Sets different icon images for non-default languages.
*
*
* .io.LocalizedString localizedIcon = 31;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedIconFieldBuilder() {
if (localizedIconBuilder_ == null) {
localizedIconBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedIcon(),
getParentForChildren(),
isClean());
localizedIcon_ = null;
}
return localizedIconBuilder_;
}
private com.passkit.grpc.Localization.LocalizedString localizedLogo_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedLogoBuilder_;
/**
*
* Sets different logo images for non-default languages.
*
*
* .io.LocalizedString localizedLogo = 32;
* @return Whether the localizedLogo field is set.
*/
public boolean hasLocalizedLogo() {
return localizedLogoBuilder_ != null || localizedLogo_ != null;
}
/**
*
* Sets different logo images for non-default languages.
*
*
* .io.LocalizedString localizedLogo = 32;
* @return The localizedLogo.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedLogo() {
if (localizedLogoBuilder_ == null) {
return localizedLogo_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedLogo_;
} else {
return localizedLogoBuilder_.getMessage();
}
}
/**
*
* Sets different logo images for non-default languages.
*
*
* .io.LocalizedString localizedLogo = 32;
*/
public Builder setLocalizedLogo(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedLogoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedLogo_ = value;
onChanged();
} else {
localizedLogoBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets different logo images for non-default languages.
*
*
* .io.LocalizedString localizedLogo = 32;
*/
public Builder setLocalizedLogo(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedLogoBuilder_ == null) {
localizedLogo_ = builderForValue.build();
onChanged();
} else {
localizedLogoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets different logo images for non-default languages.
*
*
* .io.LocalizedString localizedLogo = 32;
*/
public Builder mergeLocalizedLogo(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedLogoBuilder_ == null) {
if (localizedLogo_ != null) {
localizedLogo_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedLogo_).mergeFrom(value).buildPartial();
} else {
localizedLogo_ = value;
}
onChanged();
} else {
localizedLogoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets different logo images for non-default languages.
*
*
* .io.LocalizedString localizedLogo = 32;
*/
public Builder clearLocalizedLogo() {
if (localizedLogoBuilder_ == null) {
localizedLogo_ = null;
onChanged();
} else {
localizedLogo_ = null;
localizedLogoBuilder_ = null;
}
return this;
}
/**
*
* Sets different logo images for non-default languages.
*
*
* .io.LocalizedString localizedLogo = 32;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedLogoBuilder() {
onChanged();
return getLocalizedLogoFieldBuilder().getBuilder();
}
/**
*
* Sets different logo images for non-default languages.
*
*
* .io.LocalizedString localizedLogo = 32;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedLogoOrBuilder() {
if (localizedLogoBuilder_ != null) {
return localizedLogoBuilder_.getMessageOrBuilder();
} else {
return localizedLogo_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedLogo_;
}
}
/**
*
* Sets different logo images for non-default languages.
*
*
* .io.LocalizedString localizedLogo = 32;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedLogoFieldBuilder() {
if (localizedLogoBuilder_ == null) {
localizedLogoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedLogo(),
getParentForChildren(),
isClean());
localizedLogo_ = null;
}
return localizedLogoBuilder_;
}
private com.passkit.grpc.Localization.LocalizedString localizedAppleLogo_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedAppleLogoBuilder_;
/**
*
* Sets different Apple Logo images for non-default languages.
*
*
* .io.LocalizedString localizedAppleLogo = 33;
* @return Whether the localizedAppleLogo field is set.
*/
public boolean hasLocalizedAppleLogo() {
return localizedAppleLogoBuilder_ != null || localizedAppleLogo_ != null;
}
/**
*
* Sets different Apple Logo images for non-default languages.
*
*
* .io.LocalizedString localizedAppleLogo = 33;
* @return The localizedAppleLogo.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedAppleLogo() {
if (localizedAppleLogoBuilder_ == null) {
return localizedAppleLogo_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedAppleLogo_;
} else {
return localizedAppleLogoBuilder_.getMessage();
}
}
/**
*
* Sets different Apple Logo images for non-default languages.
*
*
* .io.LocalizedString localizedAppleLogo = 33;
*/
public Builder setLocalizedAppleLogo(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedAppleLogoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedAppleLogo_ = value;
onChanged();
} else {
localizedAppleLogoBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets different Apple Logo images for non-default languages.
*
*
* .io.LocalizedString localizedAppleLogo = 33;
*/
public Builder setLocalizedAppleLogo(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedAppleLogoBuilder_ == null) {
localizedAppleLogo_ = builderForValue.build();
onChanged();
} else {
localizedAppleLogoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets different Apple Logo images for non-default languages.
*
*
* .io.LocalizedString localizedAppleLogo = 33;
*/
public Builder mergeLocalizedAppleLogo(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedAppleLogoBuilder_ == null) {
if (localizedAppleLogo_ != null) {
localizedAppleLogo_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedAppleLogo_).mergeFrom(value).buildPartial();
} else {
localizedAppleLogo_ = value;
}
onChanged();
} else {
localizedAppleLogoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets different Apple Logo images for non-default languages.
*
*
* .io.LocalizedString localizedAppleLogo = 33;
*/
public Builder clearLocalizedAppleLogo() {
if (localizedAppleLogoBuilder_ == null) {
localizedAppleLogo_ = null;
onChanged();
} else {
localizedAppleLogo_ = null;
localizedAppleLogoBuilder_ = null;
}
return this;
}
/**
*
* Sets different Apple Logo images for non-default languages.
*
*
* .io.LocalizedString localizedAppleLogo = 33;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedAppleLogoBuilder() {
onChanged();
return getLocalizedAppleLogoFieldBuilder().getBuilder();
}
/**
*
* Sets different Apple Logo images for non-default languages.
*
*
* .io.LocalizedString localizedAppleLogo = 33;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedAppleLogoOrBuilder() {
if (localizedAppleLogoBuilder_ != null) {
return localizedAppleLogoBuilder_.getMessageOrBuilder();
} else {
return localizedAppleLogo_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedAppleLogo_;
}
}
/**
*
* Sets different Apple Logo images for non-default languages.
*
*
* .io.LocalizedString localizedAppleLogo = 33;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedAppleLogoFieldBuilder() {
if (localizedAppleLogoBuilder_ == null) {
localizedAppleLogoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedAppleLogo(),
getParentForChildren(),
isClean());
localizedAppleLogo_ = null;
}
return localizedAppleLogoBuilder_;
}
private com.passkit.grpc.Localization.LocalizedString localizedHero_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedHeroBuilder_;
/**
*
* Sets different hero images for non-default languages.
*
*
* .io.LocalizedString localizedHero = 34;
* @return Whether the localizedHero field is set.
*/
public boolean hasLocalizedHero() {
return localizedHeroBuilder_ != null || localizedHero_ != null;
}
/**
*
* Sets different hero images for non-default languages.
*
*
* .io.LocalizedString localizedHero = 34;
* @return The localizedHero.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedHero() {
if (localizedHeroBuilder_ == null) {
return localizedHero_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedHero_;
} else {
return localizedHeroBuilder_.getMessage();
}
}
/**
*
* Sets different hero images for non-default languages.
*
*
* .io.LocalizedString localizedHero = 34;
*/
public Builder setLocalizedHero(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedHeroBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedHero_ = value;
onChanged();
} else {
localizedHeroBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets different hero images for non-default languages.
*
*
* .io.LocalizedString localizedHero = 34;
*/
public Builder setLocalizedHero(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedHeroBuilder_ == null) {
localizedHero_ = builderForValue.build();
onChanged();
} else {
localizedHeroBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets different hero images for non-default languages.
*
*
* .io.LocalizedString localizedHero = 34;
*/
public Builder mergeLocalizedHero(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedHeroBuilder_ == null) {
if (localizedHero_ != null) {
localizedHero_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedHero_).mergeFrom(value).buildPartial();
} else {
localizedHero_ = value;
}
onChanged();
} else {
localizedHeroBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets different hero images for non-default languages.
*
*
* .io.LocalizedString localizedHero = 34;
*/
public Builder clearLocalizedHero() {
if (localizedHeroBuilder_ == null) {
localizedHero_ = null;
onChanged();
} else {
localizedHero_ = null;
localizedHeroBuilder_ = null;
}
return this;
}
/**
*
* Sets different hero images for non-default languages.
*
*
* .io.LocalizedString localizedHero = 34;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedHeroBuilder() {
onChanged();
return getLocalizedHeroFieldBuilder().getBuilder();
}
/**
*
* Sets different hero images for non-default languages.
*
*
* .io.LocalizedString localizedHero = 34;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedHeroOrBuilder() {
if (localizedHeroBuilder_ != null) {
return localizedHeroBuilder_.getMessageOrBuilder();
} else {
return localizedHero_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedHero_;
}
}
/**
*
* Sets different hero images for non-default languages.
*
*
* .io.LocalizedString localizedHero = 34;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedHeroFieldBuilder() {
if (localizedHeroBuilder_ == null) {
localizedHeroBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedHero(),
getParentForChildren(),
isClean());
localizedHero_ = null;
}
return localizedHeroBuilder_;
}
private com.passkit.grpc.Localization.LocalizedString localizedEventStrip_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedEventStripBuilder_;
/**
*
* Sets different event strip images for non-default languages.
*
*
* .io.LocalizedString localizedEventStrip = 35;
* @return Whether the localizedEventStrip field is set.
*/
public boolean hasLocalizedEventStrip() {
return localizedEventStripBuilder_ != null || localizedEventStrip_ != null;
}
/**
*
* Sets different event strip images for non-default languages.
*
*
* .io.LocalizedString localizedEventStrip = 35;
* @return The localizedEventStrip.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedEventStrip() {
if (localizedEventStripBuilder_ == null) {
return localizedEventStrip_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedEventStrip_;
} else {
return localizedEventStripBuilder_.getMessage();
}
}
/**
*
* Sets different event strip images for non-default languages.
*
*
* .io.LocalizedString localizedEventStrip = 35;
*/
public Builder setLocalizedEventStrip(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedEventStripBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedEventStrip_ = value;
onChanged();
} else {
localizedEventStripBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets different event strip images for non-default languages.
*
*
* .io.LocalizedString localizedEventStrip = 35;
*/
public Builder setLocalizedEventStrip(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedEventStripBuilder_ == null) {
localizedEventStrip_ = builderForValue.build();
onChanged();
} else {
localizedEventStripBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets different event strip images for non-default languages.
*
*
* .io.LocalizedString localizedEventStrip = 35;
*/
public Builder mergeLocalizedEventStrip(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedEventStripBuilder_ == null) {
if (localizedEventStrip_ != null) {
localizedEventStrip_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedEventStrip_).mergeFrom(value).buildPartial();
} else {
localizedEventStrip_ = value;
}
onChanged();
} else {
localizedEventStripBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets different event strip images for non-default languages.
*
*
* .io.LocalizedString localizedEventStrip = 35;
*/
public Builder clearLocalizedEventStrip() {
if (localizedEventStripBuilder_ == null) {
localizedEventStrip_ = null;
onChanged();
} else {
localizedEventStrip_ = null;
localizedEventStripBuilder_ = null;
}
return this;
}
/**
*
* Sets different event strip images for non-default languages.
*
*
* .io.LocalizedString localizedEventStrip = 35;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedEventStripBuilder() {
onChanged();
return getLocalizedEventStripFieldBuilder().getBuilder();
}
/**
*
* Sets different event strip images for non-default languages.
*
*
* .io.LocalizedString localizedEventStrip = 35;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedEventStripOrBuilder() {
if (localizedEventStripBuilder_ != null) {
return localizedEventStripBuilder_.getMessageOrBuilder();
} else {
return localizedEventStrip_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedEventStrip_;
}
}
/**
*
* Sets different event strip images for non-default languages.
*
*
* .io.LocalizedString localizedEventStrip = 35;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedEventStripFieldBuilder() {
if (localizedEventStripBuilder_ == null) {
localizedEventStripBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedEventStrip(),
getParentForChildren(),
isClean());
localizedEventStrip_ = null;
}
return localizedEventStripBuilder_;
}
private com.passkit.grpc.Localization.LocalizedString localizedStrip_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedStripBuilder_;
/**
*
* Sets different strip images for non-default languages.
*
*
* .io.LocalizedString localizedStrip = 36;
* @return Whether the localizedStrip field is set.
*/
public boolean hasLocalizedStrip() {
return localizedStripBuilder_ != null || localizedStrip_ != null;
}
/**
*
* Sets different strip images for non-default languages.
*
*
* .io.LocalizedString localizedStrip = 36;
* @return The localizedStrip.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedStrip() {
if (localizedStripBuilder_ == null) {
return localizedStrip_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedStrip_;
} else {
return localizedStripBuilder_.getMessage();
}
}
/**
*
* Sets different strip images for non-default languages.
*
*
* .io.LocalizedString localizedStrip = 36;
*/
public Builder setLocalizedStrip(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedStripBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedStrip_ = value;
onChanged();
} else {
localizedStripBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets different strip images for non-default languages.
*
*
* .io.LocalizedString localizedStrip = 36;
*/
public Builder setLocalizedStrip(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedStripBuilder_ == null) {
localizedStrip_ = builderForValue.build();
onChanged();
} else {
localizedStripBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets different strip images for non-default languages.
*
*
* .io.LocalizedString localizedStrip = 36;
*/
public Builder mergeLocalizedStrip(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedStripBuilder_ == null) {
if (localizedStrip_ != null) {
localizedStrip_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedStrip_).mergeFrom(value).buildPartial();
} else {
localizedStrip_ = value;
}
onChanged();
} else {
localizedStripBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets different strip images for non-default languages.
*
*
* .io.LocalizedString localizedStrip = 36;
*/
public Builder clearLocalizedStrip() {
if (localizedStripBuilder_ == null) {
localizedStrip_ = null;
onChanged();
} else {
localizedStrip_ = null;
localizedStripBuilder_ = null;
}
return this;
}
/**
*
* Sets different strip images for non-default languages.
*
*
* .io.LocalizedString localizedStrip = 36;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedStripBuilder() {
onChanged();
return getLocalizedStripFieldBuilder().getBuilder();
}
/**
*
* Sets different strip images for non-default languages.
*
*
* .io.LocalizedString localizedStrip = 36;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedStripOrBuilder() {
if (localizedStripBuilder_ != null) {
return localizedStripBuilder_.getMessageOrBuilder();
} else {
return localizedStrip_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedStrip_;
}
}
/**
*
* Sets different strip images for non-default languages.
*
*
* .io.LocalizedString localizedStrip = 36;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedStripFieldBuilder() {
if (localizedStripBuilder_ == null) {
localizedStripBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedStrip(),
getParentForChildren(),
isClean());
localizedStrip_ = null;
}
return localizedStripBuilder_;
}
private com.passkit.grpc.Localization.LocalizedString localizedThumbnail_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedThumbnailBuilder_;
/**
*
* Sets different thumbnail images for non-default languages.
*
*
* .io.LocalizedString localizedThumbnail = 37;
* @return Whether the localizedThumbnail field is set.
*/
public boolean hasLocalizedThumbnail() {
return localizedThumbnailBuilder_ != null || localizedThumbnail_ != null;
}
/**
*
* Sets different thumbnail images for non-default languages.
*
*
* .io.LocalizedString localizedThumbnail = 37;
* @return The localizedThumbnail.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedThumbnail() {
if (localizedThumbnailBuilder_ == null) {
return localizedThumbnail_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedThumbnail_;
} else {
return localizedThumbnailBuilder_.getMessage();
}
}
/**
*
* Sets different thumbnail images for non-default languages.
*
*
* .io.LocalizedString localizedThumbnail = 37;
*/
public Builder setLocalizedThumbnail(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedThumbnailBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedThumbnail_ = value;
onChanged();
} else {
localizedThumbnailBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets different thumbnail images for non-default languages.
*
*
* .io.LocalizedString localizedThumbnail = 37;
*/
public Builder setLocalizedThumbnail(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedThumbnailBuilder_ == null) {
localizedThumbnail_ = builderForValue.build();
onChanged();
} else {
localizedThumbnailBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets different thumbnail images for non-default languages.
*
*
* .io.LocalizedString localizedThumbnail = 37;
*/
public Builder mergeLocalizedThumbnail(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedThumbnailBuilder_ == null) {
if (localizedThumbnail_ != null) {
localizedThumbnail_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedThumbnail_).mergeFrom(value).buildPartial();
} else {
localizedThumbnail_ = value;
}
onChanged();
} else {
localizedThumbnailBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets different thumbnail images for non-default languages.
*
*
* .io.LocalizedString localizedThumbnail = 37;
*/
public Builder clearLocalizedThumbnail() {
if (localizedThumbnailBuilder_ == null) {
localizedThumbnail_ = null;
onChanged();
} else {
localizedThumbnail_ = null;
localizedThumbnailBuilder_ = null;
}
return this;
}
/**
*
* Sets different thumbnail images for non-default languages.
*
*
* .io.LocalizedString localizedThumbnail = 37;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedThumbnailBuilder() {
onChanged();
return getLocalizedThumbnailFieldBuilder().getBuilder();
}
/**
*
* Sets different thumbnail images for non-default languages.
*
*
* .io.LocalizedString localizedThumbnail = 37;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedThumbnailOrBuilder() {
if (localizedThumbnailBuilder_ != null) {
return localizedThumbnailBuilder_.getMessageOrBuilder();
} else {
return localizedThumbnail_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedThumbnail_;
}
}
/**
*
* Sets different thumbnail images for non-default languages.
*
*
* .io.LocalizedString localizedThumbnail = 37;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedThumbnailFieldBuilder() {
if (localizedThumbnailBuilder_ == null) {
localizedThumbnailBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedThumbnail(),
getParentForChildren(),
isClean());
localizedThumbnail_ = null;
}
return localizedThumbnailBuilder_;
}
private com.passkit.grpc.Localization.LocalizedString localizedBackground_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedBackgroundBuilder_;
/**
*
* Sets different background images for non-default languages.
*
*
* .io.LocalizedString localizedBackground = 38;
* @return Whether the localizedBackground field is set.
*/
public boolean hasLocalizedBackground() {
return localizedBackgroundBuilder_ != null || localizedBackground_ != null;
}
/**
*
* Sets different background images for non-default languages.
*
*
* .io.LocalizedString localizedBackground = 38;
* @return The localizedBackground.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedBackground() {
if (localizedBackgroundBuilder_ == null) {
return localizedBackground_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedBackground_;
} else {
return localizedBackgroundBuilder_.getMessage();
}
}
/**
*
* Sets different background images for non-default languages.
*
*
* .io.LocalizedString localizedBackground = 38;
*/
public Builder setLocalizedBackground(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedBackgroundBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedBackground_ = value;
onChanged();
} else {
localizedBackgroundBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets different background images for non-default languages.
*
*
* .io.LocalizedString localizedBackground = 38;
*/
public Builder setLocalizedBackground(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedBackgroundBuilder_ == null) {
localizedBackground_ = builderForValue.build();
onChanged();
} else {
localizedBackgroundBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets different background images for non-default languages.
*
*
* .io.LocalizedString localizedBackground = 38;
*/
public Builder mergeLocalizedBackground(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedBackgroundBuilder_ == null) {
if (localizedBackground_ != null) {
localizedBackground_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedBackground_).mergeFrom(value).buildPartial();
} else {
localizedBackground_ = value;
}
onChanged();
} else {
localizedBackgroundBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets different background images for non-default languages.
*
*
* .io.LocalizedString localizedBackground = 38;
*/
public Builder clearLocalizedBackground() {
if (localizedBackgroundBuilder_ == null) {
localizedBackground_ = null;
onChanged();
} else {
localizedBackground_ = null;
localizedBackgroundBuilder_ = null;
}
return this;
}
/**
*
* Sets different background images for non-default languages.
*
*
* .io.LocalizedString localizedBackground = 38;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedBackgroundBuilder() {
onChanged();
return getLocalizedBackgroundFieldBuilder().getBuilder();
}
/**
*
* Sets different background images for non-default languages.
*
*
* .io.LocalizedString localizedBackground = 38;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedBackgroundOrBuilder() {
if (localizedBackgroundBuilder_ != null) {
return localizedBackgroundBuilder_.getMessageOrBuilder();
} else {
return localizedBackground_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedBackground_;
}
}
/**
*
* Sets different background images for non-default languages.
*
*
* .io.LocalizedString localizedBackground = 38;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedBackgroundFieldBuilder() {
if (localizedBackgroundBuilder_ == null) {
localizedBackgroundBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedBackground(),
getParentForChildren(),
isClean());
localizedBackground_ = null;
}
return localizedBackgroundBuilder_;
}
private com.passkit.grpc.Localization.LocalizedString localizedFooter_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedFooterBuilder_;
/**
*
* Sets different footer images for non-default languages.
*
*
* .io.LocalizedString localizedFooter = 39;
* @return Whether the localizedFooter field is set.
*/
public boolean hasLocalizedFooter() {
return localizedFooterBuilder_ != null || localizedFooter_ != null;
}
/**
*
* Sets different footer images for non-default languages.
*
*
* .io.LocalizedString localizedFooter = 39;
* @return The localizedFooter.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedFooter() {
if (localizedFooterBuilder_ == null) {
return localizedFooter_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedFooter_;
} else {
return localizedFooterBuilder_.getMessage();
}
}
/**
*
* Sets different footer images for non-default languages.
*
*
* .io.LocalizedString localizedFooter = 39;
*/
public Builder setLocalizedFooter(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedFooterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedFooter_ = value;
onChanged();
} else {
localizedFooterBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets different footer images for non-default languages.
*
*
* .io.LocalizedString localizedFooter = 39;
*/
public Builder setLocalizedFooter(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedFooterBuilder_ == null) {
localizedFooter_ = builderForValue.build();
onChanged();
} else {
localizedFooterBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets different footer images for non-default languages.
*
*
* .io.LocalizedString localizedFooter = 39;
*/
public Builder mergeLocalizedFooter(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedFooterBuilder_ == null) {
if (localizedFooter_ != null) {
localizedFooter_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedFooter_).mergeFrom(value).buildPartial();
} else {
localizedFooter_ = value;
}
onChanged();
} else {
localizedFooterBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets different footer images for non-default languages.
*
*
* .io.LocalizedString localizedFooter = 39;
*/
public Builder clearLocalizedFooter() {
if (localizedFooterBuilder_ == null) {
localizedFooter_ = null;
onChanged();
} else {
localizedFooter_ = null;
localizedFooterBuilder_ = null;
}
return this;
}
/**
*
* Sets different footer images for non-default languages.
*
*
* .io.LocalizedString localizedFooter = 39;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedFooterBuilder() {
onChanged();
return getLocalizedFooterFieldBuilder().getBuilder();
}
/**
*
* Sets different footer images for non-default languages.
*
*
* .io.LocalizedString localizedFooter = 39;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedFooterOrBuilder() {
if (localizedFooterBuilder_ != null) {
return localizedFooterBuilder_.getMessageOrBuilder();
} else {
return localizedFooter_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedFooter_;
}
}
/**
*
* Sets different footer images for non-default languages.
*
*
* .io.LocalizedString localizedFooter = 39;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedFooterFieldBuilder() {
if (localizedFooterBuilder_ == null) {
localizedFooterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedFooter(),
getParentForChildren(),
isClean());
localizedFooter_ = null;
}
return localizedFooterBuilder_;
}
private com.passkit.grpc.Localization.LocalizedString localizedSecurity_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedSecurityBuilder_;
/**
*
* Sets different security images for non-default languages.
*
*
* .io.LocalizedString localizedSecurity = 40;
* @return Whether the localizedSecurity field is set.
*/
public boolean hasLocalizedSecurity() {
return localizedSecurityBuilder_ != null || localizedSecurity_ != null;
}
/**
*
* Sets different security images for non-default languages.
*
*
* .io.LocalizedString localizedSecurity = 40;
* @return The localizedSecurity.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedSecurity() {
if (localizedSecurityBuilder_ == null) {
return localizedSecurity_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedSecurity_;
} else {
return localizedSecurityBuilder_.getMessage();
}
}
/**
*
* Sets different security images for non-default languages.
*
*
* .io.LocalizedString localizedSecurity = 40;
*/
public Builder setLocalizedSecurity(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedSecurityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedSecurity_ = value;
onChanged();
} else {
localizedSecurityBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets different security images for non-default languages.
*
*
* .io.LocalizedString localizedSecurity = 40;
*/
public Builder setLocalizedSecurity(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedSecurityBuilder_ == null) {
localizedSecurity_ = builderForValue.build();
onChanged();
} else {
localizedSecurityBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets different security images for non-default languages.
*
*
* .io.LocalizedString localizedSecurity = 40;
*/
public Builder mergeLocalizedSecurity(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedSecurityBuilder_ == null) {
if (localizedSecurity_ != null) {
localizedSecurity_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedSecurity_).mergeFrom(value).buildPartial();
} else {
localizedSecurity_ = value;
}
onChanged();
} else {
localizedSecurityBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets different security images for non-default languages.
*
*
* .io.LocalizedString localizedSecurity = 40;
*/
public Builder clearLocalizedSecurity() {
if (localizedSecurityBuilder_ == null) {
localizedSecurity_ = null;
onChanged();
} else {
localizedSecurity_ = null;
localizedSecurityBuilder_ = null;
}
return this;
}
/**
*
* Sets different security images for non-default languages.
*
*
* .io.LocalizedString localizedSecurity = 40;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedSecurityBuilder() {
onChanged();
return getLocalizedSecurityFieldBuilder().getBuilder();
}
/**
*
* Sets different security images for non-default languages.
*
*
* .io.LocalizedString localizedSecurity = 40;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedSecurityOrBuilder() {
if (localizedSecurityBuilder_ != null) {
return localizedSecurityBuilder_.getMessageOrBuilder();
} else {
return localizedSecurity_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedSecurity_;
}
}
/**
*
* Sets different security images for non-default languages.
*
*
* .io.LocalizedString localizedSecurity = 40;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedSecurityFieldBuilder() {
if (localizedSecurityBuilder_ == null) {
localizedSecurityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedSecurity(),
getParentForChildren(),
isClean());
localizedSecurity_ = null;
}
return localizedSecurityBuilder_;
}
private com.passkit.grpc.Localization.LocalizedString localizedPrivilege_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedPrivilegeBuilder_;
/**
*
* Sets different privilege images for non-default languages.
*
*
* .io.LocalizedString localizedPrivilege = 41;
* @return Whether the localizedPrivilege field is set.
*/
public boolean hasLocalizedPrivilege() {
return localizedPrivilegeBuilder_ != null || localizedPrivilege_ != null;
}
/**
*
* Sets different privilege images for non-default languages.
*
*
* .io.LocalizedString localizedPrivilege = 41;
* @return The localizedPrivilege.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedPrivilege() {
if (localizedPrivilegeBuilder_ == null) {
return localizedPrivilege_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedPrivilege_;
} else {
return localizedPrivilegeBuilder_.getMessage();
}
}
/**
*
* Sets different privilege images for non-default languages.
*
*
* .io.LocalizedString localizedPrivilege = 41;
*/
public Builder setLocalizedPrivilege(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedPrivilegeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedPrivilege_ = value;
onChanged();
} else {
localizedPrivilegeBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets different privilege images for non-default languages.
*
*
* .io.LocalizedString localizedPrivilege = 41;
*/
public Builder setLocalizedPrivilege(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedPrivilegeBuilder_ == null) {
localizedPrivilege_ = builderForValue.build();
onChanged();
} else {
localizedPrivilegeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets different privilege images for non-default languages.
*
*
* .io.LocalizedString localizedPrivilege = 41;
*/
public Builder mergeLocalizedPrivilege(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedPrivilegeBuilder_ == null) {
if (localizedPrivilege_ != null) {
localizedPrivilege_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedPrivilege_).mergeFrom(value).buildPartial();
} else {
localizedPrivilege_ = value;
}
onChanged();
} else {
localizedPrivilegeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets different privilege images for non-default languages.
*
*
* .io.LocalizedString localizedPrivilege = 41;
*/
public Builder clearLocalizedPrivilege() {
if (localizedPrivilegeBuilder_ == null) {
localizedPrivilege_ = null;
onChanged();
} else {
localizedPrivilege_ = null;
localizedPrivilegeBuilder_ = null;
}
return this;
}
/**
*
* Sets different privilege images for non-default languages.
*
*
* .io.LocalizedString localizedPrivilege = 41;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedPrivilegeBuilder() {
onChanged();
return getLocalizedPrivilegeFieldBuilder().getBuilder();
}
/**
*
* Sets different privilege images for non-default languages.
*
*
* .io.LocalizedString localizedPrivilege = 41;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedPrivilegeOrBuilder() {
if (localizedPrivilegeBuilder_ != null) {
return localizedPrivilegeBuilder_.getMessageOrBuilder();
} else {
return localizedPrivilege_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedPrivilege_;
}
}
/**
*
* Sets different privilege images for non-default languages.
*
*
* .io.LocalizedString localizedPrivilege = 41;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedPrivilegeFieldBuilder() {
if (localizedPrivilegeBuilder_ == null) {
localizedPrivilegeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedPrivilege(),
getParentForChildren(),
isClean());
localizedPrivilege_ = null;
}
return localizedPrivilegeBuilder_;
}
private com.passkit.grpc.Localization.LocalizedString localizedAirlineAlliance_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedAirlineAllianceBuilder_;
/**
*
* Sets different airline alliance images for non-default languages.
*
*
* .io.LocalizedString localizedAirlineAlliance = 42;
* @return Whether the localizedAirlineAlliance field is set.
*/
public boolean hasLocalizedAirlineAlliance() {
return localizedAirlineAllianceBuilder_ != null || localizedAirlineAlliance_ != null;
}
/**
*
* Sets different airline alliance images for non-default languages.
*
*
* .io.LocalizedString localizedAirlineAlliance = 42;
* @return The localizedAirlineAlliance.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedAirlineAlliance() {
if (localizedAirlineAllianceBuilder_ == null) {
return localizedAirlineAlliance_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedAirlineAlliance_;
} else {
return localizedAirlineAllianceBuilder_.getMessage();
}
}
/**
*
* Sets different airline alliance images for non-default languages.
*
*
* .io.LocalizedString localizedAirlineAlliance = 42;
*/
public Builder setLocalizedAirlineAlliance(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedAirlineAllianceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedAirlineAlliance_ = value;
onChanged();
} else {
localizedAirlineAllianceBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets different airline alliance images for non-default languages.
*
*
* .io.LocalizedString localizedAirlineAlliance = 42;
*/
public Builder setLocalizedAirlineAlliance(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedAirlineAllianceBuilder_ == null) {
localizedAirlineAlliance_ = builderForValue.build();
onChanged();
} else {
localizedAirlineAllianceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets different airline alliance images for non-default languages.
*
*
* .io.LocalizedString localizedAirlineAlliance = 42;
*/
public Builder mergeLocalizedAirlineAlliance(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedAirlineAllianceBuilder_ == null) {
if (localizedAirlineAlliance_ != null) {
localizedAirlineAlliance_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedAirlineAlliance_).mergeFrom(value).buildPartial();
} else {
localizedAirlineAlliance_ = value;
}
onChanged();
} else {
localizedAirlineAllianceBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets different airline alliance images for non-default languages.
*
*
* .io.LocalizedString localizedAirlineAlliance = 42;
*/
public Builder clearLocalizedAirlineAlliance() {
if (localizedAirlineAllianceBuilder_ == null) {
localizedAirlineAlliance_ = null;
onChanged();
} else {
localizedAirlineAlliance_ = null;
localizedAirlineAllianceBuilder_ = null;
}
return this;
}
/**
*
* Sets different airline alliance images for non-default languages.
*
*
* .io.LocalizedString localizedAirlineAlliance = 42;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedAirlineAllianceBuilder() {
onChanged();
return getLocalizedAirlineAllianceFieldBuilder().getBuilder();
}
/**
*
* Sets different airline alliance images for non-default languages.
*
*
* .io.LocalizedString localizedAirlineAlliance = 42;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedAirlineAllianceOrBuilder() {
if (localizedAirlineAllianceBuilder_ != null) {
return localizedAirlineAllianceBuilder_.getMessageOrBuilder();
} else {
return localizedAirlineAlliance_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedAirlineAlliance_;
}
}
/**
*
* Sets different airline alliance images for non-default languages.
*
*
* .io.LocalizedString localizedAirlineAlliance = 42;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedAirlineAllianceFieldBuilder() {
if (localizedAirlineAllianceBuilder_ == null) {
localizedAirlineAllianceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedAirlineAlliance(),
getParentForChildren(),
isClean());
localizedAirlineAlliance_ = null;
}
return localizedAirlineAllianceBuilder_;
}
private com.passkit.grpc.Localization.LocalizedString localizedPersonalization_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedPersonalizationBuilder_;
/**
*
* Sets different personalized images for non-default languages.
*
*
* .io.LocalizedString localizedPersonalization = 43;
* @return Whether the localizedPersonalization field is set.
*/
public boolean hasLocalizedPersonalization() {
return localizedPersonalizationBuilder_ != null || localizedPersonalization_ != null;
}
/**
*
* Sets different personalized images for non-default languages.
*
*
* .io.LocalizedString localizedPersonalization = 43;
* @return The localizedPersonalization.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedPersonalization() {
if (localizedPersonalizationBuilder_ == null) {
return localizedPersonalization_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedPersonalization_;
} else {
return localizedPersonalizationBuilder_.getMessage();
}
}
/**
*
* Sets different personalized images for non-default languages.
*
*
* .io.LocalizedString localizedPersonalization = 43;
*/
public Builder setLocalizedPersonalization(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedPersonalizationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedPersonalization_ = value;
onChanged();
} else {
localizedPersonalizationBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets different personalized images for non-default languages.
*
*
* .io.LocalizedString localizedPersonalization = 43;
*/
public Builder setLocalizedPersonalization(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedPersonalizationBuilder_ == null) {
localizedPersonalization_ = builderForValue.build();
onChanged();
} else {
localizedPersonalizationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets different personalized images for non-default languages.
*
*
* .io.LocalizedString localizedPersonalization = 43;
*/
public Builder mergeLocalizedPersonalization(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedPersonalizationBuilder_ == null) {
if (localizedPersonalization_ != null) {
localizedPersonalization_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedPersonalization_).mergeFrom(value).buildPartial();
} else {
localizedPersonalization_ = value;
}
onChanged();
} else {
localizedPersonalizationBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets different personalized images for non-default languages.
*
*
* .io.LocalizedString localizedPersonalization = 43;
*/
public Builder clearLocalizedPersonalization() {
if (localizedPersonalizationBuilder_ == null) {
localizedPersonalization_ = null;
onChanged();
} else {
localizedPersonalization_ = null;
localizedPersonalizationBuilder_ = null;
}
return this;
}
/**
*
* Sets different personalized images for non-default languages.
*
*
* .io.LocalizedString localizedPersonalization = 43;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedPersonalizationBuilder() {
onChanged();
return getLocalizedPersonalizationFieldBuilder().getBuilder();
}
/**
*
* Sets different personalized images for non-default languages.
*
*
* .io.LocalizedString localizedPersonalization = 43;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedPersonalizationOrBuilder() {
if (localizedPersonalizationBuilder_ != null) {
return localizedPersonalizationBuilder_.getMessageOrBuilder();
} else {
return localizedPersonalization_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedPersonalization_;
}
}
/**
*
* Sets different personalized images for non-default languages.
*
*
* .io.LocalizedString localizedPersonalization = 43;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedPersonalizationFieldBuilder() {
if (localizedPersonalizationBuilder_ == null) {
localizedPersonalizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedPersonalization(),
getParentForChildren(),
isClean());
localizedPersonalization_ = null;
}
return localizedPersonalizationBuilder_;
}
private com.passkit.grpc.Localization.LocalizedString localizedBanner_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedBannerBuilder_;
/**
*
* Sets different banner images for non-default languages.
*
*
* .io.LocalizedString localizedBanner = 44;
* @return Whether the localizedBanner field is set.
*/
public boolean hasLocalizedBanner() {
return localizedBannerBuilder_ != null || localizedBanner_ != null;
}
/**
*
* Sets different banner images for non-default languages.
*
*
* .io.LocalizedString localizedBanner = 44;
* @return The localizedBanner.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedBanner() {
if (localizedBannerBuilder_ == null) {
return localizedBanner_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedBanner_;
} else {
return localizedBannerBuilder_.getMessage();
}
}
/**
*
* Sets different banner images for non-default languages.
*
*
* .io.LocalizedString localizedBanner = 44;
*/
public Builder setLocalizedBanner(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedBannerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedBanner_ = value;
onChanged();
} else {
localizedBannerBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets different banner images for non-default languages.
*
*
* .io.LocalizedString localizedBanner = 44;
*/
public Builder setLocalizedBanner(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedBannerBuilder_ == null) {
localizedBanner_ = builderForValue.build();
onChanged();
} else {
localizedBannerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets different banner images for non-default languages.
*
*
* .io.LocalizedString localizedBanner = 44;
*/
public Builder mergeLocalizedBanner(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedBannerBuilder_ == null) {
if (localizedBanner_ != null) {
localizedBanner_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedBanner_).mergeFrom(value).buildPartial();
} else {
localizedBanner_ = value;
}
onChanged();
} else {
localizedBannerBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets different banner images for non-default languages.
*
*
* .io.LocalizedString localizedBanner = 44;
*/
public Builder clearLocalizedBanner() {
if (localizedBannerBuilder_ == null) {
localizedBanner_ = null;
onChanged();
} else {
localizedBanner_ = null;
localizedBannerBuilder_ = null;
}
return this;
}
/**
*
* Sets different banner images for non-default languages.
*
*
* .io.LocalizedString localizedBanner = 44;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedBannerBuilder() {
onChanged();
return getLocalizedBannerFieldBuilder().getBuilder();
}
/**
*
* Sets different banner images for non-default languages.
*
*
* .io.LocalizedString localizedBanner = 44;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedBannerOrBuilder() {
if (localizedBannerBuilder_ != null) {
return localizedBannerBuilder_.getMessageOrBuilder();
} else {
return localizedBanner_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedBanner_;
}
}
/**
*
* Sets different banner images for non-default languages.
*
*
* .io.LocalizedString localizedBanner = 44;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedBannerFieldBuilder() {
if (localizedBannerBuilder_ == null) {
localizedBannerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedBanner(),
getParentForChildren(),
isClean());
localizedBanner_ = null;
}
return localizedBannerBuilder_;
}
private com.passkit.grpc.Localization.LocalizedString localizedMessage_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedMessageBuilder_;
/**
*
* Sets different message images for non-default languages.
*
*
* .io.LocalizedString localizedMessage = 45;
* @return Whether the localizedMessage field is set.
*/
public boolean hasLocalizedMessage() {
return localizedMessageBuilder_ != null || localizedMessage_ != null;
}
/**
*
* Sets different message images for non-default languages.
*
*
* .io.LocalizedString localizedMessage = 45;
* @return The localizedMessage.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedMessage() {
if (localizedMessageBuilder_ == null) {
return localizedMessage_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedMessage_;
} else {
return localizedMessageBuilder_.getMessage();
}
}
/**
*
* Sets different message images for non-default languages.
*
*
* .io.LocalizedString localizedMessage = 45;
*/
public Builder setLocalizedMessage(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedMessageBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedMessage_ = value;
onChanged();
} else {
localizedMessageBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets different message images for non-default languages.
*
*
* .io.LocalizedString localizedMessage = 45;
*/
public Builder setLocalizedMessage(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedMessageBuilder_ == null) {
localizedMessage_ = builderForValue.build();
onChanged();
} else {
localizedMessageBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets different message images for non-default languages.
*
*
* .io.LocalizedString localizedMessage = 45;
*/
public Builder mergeLocalizedMessage(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedMessageBuilder_ == null) {
if (localizedMessage_ != null) {
localizedMessage_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedMessage_).mergeFrom(value).buildPartial();
} else {
localizedMessage_ = value;
}
onChanged();
} else {
localizedMessageBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets different message images for non-default languages.
*
*
* .io.LocalizedString localizedMessage = 45;
*/
public Builder clearLocalizedMessage() {
if (localizedMessageBuilder_ == null) {
localizedMessage_ = null;
onChanged();
} else {
localizedMessage_ = null;
localizedMessageBuilder_ = null;
}
return this;
}
/**
*
* Sets different message images for non-default languages.
*
*
* .io.LocalizedString localizedMessage = 45;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedMessageBuilder() {
onChanged();
return getLocalizedMessageFieldBuilder().getBuilder();
}
/**
*
* Sets different message images for non-default languages.
*
*
* .io.LocalizedString localizedMessage = 45;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedMessageOrBuilder() {
if (localizedMessageBuilder_ != null) {
return localizedMessageBuilder_.getMessageOrBuilder();
} else {
return localizedMessage_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedMessage_;
}
}
/**
*
* Sets different message images for non-default languages.
*
*
* .io.LocalizedString localizedMessage = 45;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedMessageFieldBuilder() {
if (localizedMessageBuilder_ == null) {
localizedMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedMessage(),
getParentForChildren(),
isClean());
localizedMessage_ = null;
}
return localizedMessageBuilder_;
}
@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.ImageData)
}
// @@protoc_insertion_point(class_scope:io.ImageData)
private static final com.passkit.grpc.Image.ImageData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.Image.ImageData();
}
public static com.passkit.grpc.Image.ImageData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImageData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImageData(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.Image.ImageData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ImageRecordOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.ImageRecord)
com.google.protobuf.MessageOrBuilder {
/**
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* string name = 2;
* @return The name.
*/
java.lang.String getName();
/**
* string name = 2;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* string url = 3;
* @return The url.
*/
java.lang.String getUrl();
/**
* string url = 3;
* @return The bytes for url.
*/
com.google.protobuf.ByteString
getUrlBytes();
/**
* .io.ImageUse use = 5;
* @return The enum numeric value on the wire for use.
*/
int getUseValue();
/**
* .io.ImageUse use = 5;
* @return The use.
*/
com.passkit.grpc.Image.ImageUse getUse();
/**
* repeated .io.LanguageCode languages = 6;
* @return A list containing the languages.
*/
java.util.List getLanguagesList();
/**
* repeated .io.LanguageCode languages = 6;
* @return The count of languages.
*/
int getLanguagesCount();
/**
* repeated .io.LanguageCode languages = 6;
* @param index The index of the element to return.
* @return The languages at the given index.
*/
com.passkit.grpc.Localization.LanguageCode getLanguages(int index);
/**
* repeated .io.LanguageCode languages = 6;
* @return A list containing the enum numeric values on the wire for languages.
*/
java.util.List
getLanguagesValueList();
/**
* repeated .io.LanguageCode languages = 6;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of languages at the given index.
*/
int getLanguagesValue(int index);
/**
* string ownerUsername = 7;
* @return The ownerUsername.
*/
java.lang.String getOwnerUsername();
/**
* string ownerUsername = 7;
* @return The bytes for ownerUsername.
*/
com.google.protobuf.ByteString
getOwnerUsernameBytes();
/**
* .google.protobuf.Timestamp createdAt = 8;
* @return Whether the createdAt field is set.
*/
boolean hasCreatedAt();
/**
* .google.protobuf.Timestamp createdAt = 8;
* @return The createdAt.
*/
com.google.protobuf.Timestamp getCreatedAt();
/**
* .google.protobuf.Timestamp createdAt = 8;
*/
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder();
/**
* .google.protobuf.Timestamp updatedAt = 9;
* @return Whether the updatedAt field is set.
*/
boolean hasUpdatedAt();
/**
* .google.protobuf.Timestamp updatedAt = 9;
* @return The updatedAt.
*/
com.google.protobuf.Timestamp getUpdatedAt();
/**
* .google.protobuf.Timestamp updatedAt = 9;
*/
com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder();
}
/**
* Protobuf type {@code io.ImageRecord}
*/
public static final class ImageRecord extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.ImageRecord)
ImageRecordOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImageRecord.newBuilder() to construct.
private ImageRecord(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImageRecord() {
id_ = "";
name_ = "";
url_ = "";
use_ = 0;
languages_ = java.util.Collections.emptyList();
ownerUsername_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImageRecord();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImageRecord(
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();
name_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
url_ = s;
break;
}
case 40: {
int rawValue = input.readEnum();
use_ = rawValue;
break;
}
case 48: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
languages_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
languages_.add(rawValue);
break;
}
case 50: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
languages_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
languages_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
ownerUsername_ = s;
break;
}
case 66: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (createdAt_ != null) {
subBuilder = createdAt_.toBuilder();
}
createdAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(createdAt_);
createdAt_ = subBuilder.buildPartial();
}
break;
}
case 74: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (updatedAt_ != null) {
subBuilder = updatedAt_.toBuilder();
}
updatedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(updatedAt_);
updatedAt_ = 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)) {
languages_ = java.util.Collections.unmodifiableList(languages_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Image.internal_static_io_ImageRecord_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_ImageRecord_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.ImageRecord.class, com.passkit.grpc.Image.ImageRecord.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
* string id = 1;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
* 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 NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* string name = 2;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* string name = 2;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int URL_FIELD_NUMBER = 3;
private volatile java.lang.Object url_;
/**
* string url = 3;
* @return The url.
*/
@java.lang.Override
public java.lang.String getUrl() {
java.lang.Object ref = url_;
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();
url_ = s;
return s;
}
}
/**
* string url = 3;
* @return The bytes for url.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUrlBytes() {
java.lang.Object ref = url_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
url_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int USE_FIELD_NUMBER = 5;
private int use_;
/**
* .io.ImageUse use = 5;
* @return The enum numeric value on the wire for use.
*/
@java.lang.Override public int getUseValue() {
return use_;
}
/**
* .io.ImageUse use = 5;
* @return The use.
*/
@java.lang.Override public com.passkit.grpc.Image.ImageUse getUse() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Image.ImageUse result = com.passkit.grpc.Image.ImageUse.valueOf(use_);
return result == null ? com.passkit.grpc.Image.ImageUse.UNRECOGNIZED : result;
}
public static final int LANGUAGES_FIELD_NUMBER = 6;
private java.util.List languages_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.passkit.grpc.Localization.LanguageCode> languages_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.passkit.grpc.Localization.LanguageCode>() {
public com.passkit.grpc.Localization.LanguageCode convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
com.passkit.grpc.Localization.LanguageCode result = com.passkit.grpc.Localization.LanguageCode.valueOf(from);
return result == null ? com.passkit.grpc.Localization.LanguageCode.UNRECOGNIZED : result;
}
};
/**
* repeated .io.LanguageCode languages = 6;
* @return A list containing the languages.
*/
@java.lang.Override
public java.util.List getLanguagesList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.passkit.grpc.Localization.LanguageCode>(languages_, languages_converter_);
}
/**
* repeated .io.LanguageCode languages = 6;
* @return The count of languages.
*/
@java.lang.Override
public int getLanguagesCount() {
return languages_.size();
}
/**
* repeated .io.LanguageCode languages = 6;
* @param index The index of the element to return.
* @return The languages at the given index.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LanguageCode getLanguages(int index) {
return languages_converter_.convert(languages_.get(index));
}
/**
* repeated .io.LanguageCode languages = 6;
* @return A list containing the enum numeric values on the wire for languages.
*/
@java.lang.Override
public java.util.List
getLanguagesValueList() {
return languages_;
}
/**
* repeated .io.LanguageCode languages = 6;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of languages at the given index.
*/
@java.lang.Override
public int getLanguagesValue(int index) {
return languages_.get(index);
}
private int languagesMemoizedSerializedSize;
public static final int OWNERUSERNAME_FIELD_NUMBER = 7;
private volatile java.lang.Object ownerUsername_;
/**
* string ownerUsername = 7;
* @return The ownerUsername.
*/
@java.lang.Override
public java.lang.String getOwnerUsername() {
java.lang.Object ref = ownerUsername_;
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();
ownerUsername_ = s;
return s;
}
}
/**
* string ownerUsername = 7;
* @return The bytes for ownerUsername.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOwnerUsernameBytes() {
java.lang.Object ref = ownerUsername_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ownerUsername_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATEDAT_FIELD_NUMBER = 8;
private com.google.protobuf.Timestamp createdAt_;
/**
* .google.protobuf.Timestamp createdAt = 8;
* @return Whether the createdAt field is set.
*/
@java.lang.Override
public boolean hasCreatedAt() {
return createdAt_ != null;
}
/**
* .google.protobuf.Timestamp createdAt = 8;
* @return The createdAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getCreatedAt() {
return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
}
/**
* .google.protobuf.Timestamp createdAt = 8;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {
return getCreatedAt();
}
public static final int UPDATEDAT_FIELD_NUMBER = 9;
private com.google.protobuf.Timestamp updatedAt_;
/**
* .google.protobuf.Timestamp updatedAt = 9;
* @return Whether the updatedAt field is set.
*/
@java.lang.Override
public boolean hasUpdatedAt() {
return updatedAt_ != null;
}
/**
* .google.protobuf.Timestamp updatedAt = 9;
* @return The updatedAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getUpdatedAt() {
return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_;
}
/**
* .google.protobuf.Timestamp updatedAt = 9;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() {
return getUpdatedAt();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (!getIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (!getUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, url_);
}
if (use_ != com.passkit.grpc.Image.ImageUse.icon.getNumber()) {
output.writeEnum(5, use_);
}
if (getLanguagesList().size() > 0) {
output.writeUInt32NoTag(50);
output.writeUInt32NoTag(languagesMemoizedSerializedSize);
}
for (int i = 0; i < languages_.size(); i++) {
output.writeEnumNoTag(languages_.get(i));
}
if (!getOwnerUsernameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, ownerUsername_);
}
if (createdAt_ != null) {
output.writeMessage(8, getCreatedAt());
}
if (updatedAt_ != null) {
output.writeMessage(9, getUpdatedAt());
}
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 (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (!getUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, url_);
}
if (use_ != com.passkit.grpc.Image.ImageUse.icon.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, use_);
}
{
int dataSize = 0;
for (int i = 0; i < languages_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(languages_.get(i));
}
size += dataSize;
if (!getLanguagesList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}languagesMemoizedSerializedSize = dataSize;
}
if (!getOwnerUsernameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, ownerUsername_);
}
if (createdAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getCreatedAt());
}
if (updatedAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getUpdatedAt());
}
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.Image.ImageRecord)) {
return super.equals(obj);
}
com.passkit.grpc.Image.ImageRecord other = (com.passkit.grpc.Image.ImageRecord) obj;
if (!getId()
.equals(other.getId())) return false;
if (!getName()
.equals(other.getName())) return false;
if (!getUrl()
.equals(other.getUrl())) return false;
if (use_ != other.use_) return false;
if (!languages_.equals(other.languages_)) return false;
if (!getOwnerUsername()
.equals(other.getOwnerUsername())) return false;
if (hasCreatedAt() != other.hasCreatedAt()) return false;
if (hasCreatedAt()) {
if (!getCreatedAt()
.equals(other.getCreatedAt())) return false;
}
if (hasUpdatedAt() != other.hasUpdatedAt()) return false;
if (hasUpdatedAt()) {
if (!getUpdatedAt()
.equals(other.getUpdatedAt())) 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) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + URL_FIELD_NUMBER;
hash = (53 * hash) + getUrl().hashCode();
hash = (37 * hash) + USE_FIELD_NUMBER;
hash = (53 * hash) + use_;
if (getLanguagesCount() > 0) {
hash = (37 * hash) + LANGUAGES_FIELD_NUMBER;
hash = (53 * hash) + languages_.hashCode();
}
hash = (37 * hash) + OWNERUSERNAME_FIELD_NUMBER;
hash = (53 * hash) + getOwnerUsername().hashCode();
if (hasCreatedAt()) {
hash = (37 * hash) + CREATEDAT_FIELD_NUMBER;
hash = (53 * hash) + getCreatedAt().hashCode();
}
if (hasUpdatedAt()) {
hash = (37 * hash) + UPDATEDAT_FIELD_NUMBER;
hash = (53 * hash) + getUpdatedAt().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.Image.ImageRecord parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.ImageRecord 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.Image.ImageRecord parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.ImageRecord 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.Image.ImageRecord parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.ImageRecord parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Image.ImageRecord parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.ImageRecord 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.Image.ImageRecord parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.ImageRecord 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.Image.ImageRecord parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.ImageRecord 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.Image.ImageRecord 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.ImageRecord}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.ImageRecord)
com.passkit.grpc.Image.ImageRecordOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Image.internal_static_io_ImageRecord_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_ImageRecord_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.ImageRecord.class, com.passkit.grpc.Image.ImageRecord.Builder.class);
}
// Construct using com.passkit.grpc.Image.ImageRecord.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_ = "";
name_ = "";
url_ = "";
use_ = 0;
languages_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
ownerUsername_ = "";
if (createdAtBuilder_ == null) {
createdAt_ = null;
} else {
createdAt_ = null;
createdAtBuilder_ = null;
}
if (updatedAtBuilder_ == null) {
updatedAt_ = null;
} else {
updatedAt_ = null;
updatedAtBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.Image.internal_static_io_ImageRecord_descriptor;
}
@java.lang.Override
public com.passkit.grpc.Image.ImageRecord getDefaultInstanceForType() {
return com.passkit.grpc.Image.ImageRecord.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.Image.ImageRecord build() {
com.passkit.grpc.Image.ImageRecord result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.Image.ImageRecord buildPartial() {
com.passkit.grpc.Image.ImageRecord result = new com.passkit.grpc.Image.ImageRecord(this);
int from_bitField0_ = bitField0_;
result.id_ = id_;
result.name_ = name_;
result.url_ = url_;
result.use_ = use_;
if (((bitField0_ & 0x00000001) != 0)) {
languages_ = java.util.Collections.unmodifiableList(languages_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.languages_ = languages_;
result.ownerUsername_ = ownerUsername_;
if (createdAtBuilder_ == null) {
result.createdAt_ = createdAt_;
} else {
result.createdAt_ = createdAtBuilder_.build();
}
if (updatedAtBuilder_ == null) {
result.updatedAt_ = updatedAt_;
} else {
result.updatedAt_ = updatedAtBuilder_.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.Image.ImageRecord) {
return mergeFrom((com.passkit.grpc.Image.ImageRecord)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.Image.ImageRecord other) {
if (other == com.passkit.grpc.Image.ImageRecord.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getUrl().isEmpty()) {
url_ = other.url_;
onChanged();
}
if (other.use_ != 0) {
setUseValue(other.getUseValue());
}
if (!other.languages_.isEmpty()) {
if (languages_.isEmpty()) {
languages_ = other.languages_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLanguagesIsMutable();
languages_.addAll(other.languages_);
}
onChanged();
}
if (!other.getOwnerUsername().isEmpty()) {
ownerUsername_ = other.ownerUsername_;
onChanged();
}
if (other.hasCreatedAt()) {
mergeCreatedAt(other.getCreatedAt());
}
if (other.hasUpdatedAt()) {
mergeUpdatedAt(other.getUpdatedAt());
}
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.Image.ImageRecord parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.Image.ImageRecord) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object id_ = "";
/**
* string id = 1;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* 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;
}
}
/**
* 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;
}
/**
* string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
* 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 name_ = "";
/**
* string name = 2;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 2;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 2;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 2;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object url_ = "";
/**
* string url = 3;
* @return The url.
*/
public java.lang.String getUrl() {
java.lang.Object ref = url_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
url_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string url = 3;
* @return The bytes for url.
*/
public com.google.protobuf.ByteString
getUrlBytes() {
java.lang.Object ref = url_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
url_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string url = 3;
* @param value The url to set.
* @return This builder for chaining.
*/
public Builder setUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
url_ = value;
onChanged();
return this;
}
/**
* string url = 3;
* @return This builder for chaining.
*/
public Builder clearUrl() {
url_ = getDefaultInstance().getUrl();
onChanged();
return this;
}
/**
* string url = 3;
* @param value The bytes for url to set.
* @return This builder for chaining.
*/
public Builder setUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
url_ = value;
onChanged();
return this;
}
private int use_ = 0;
/**
* .io.ImageUse use = 5;
* @return The enum numeric value on the wire for use.
*/
@java.lang.Override public int getUseValue() {
return use_;
}
/**
* .io.ImageUse use = 5;
* @param value The enum numeric value on the wire for use to set.
* @return This builder for chaining.
*/
public Builder setUseValue(int value) {
use_ = value;
onChanged();
return this;
}
/**
* .io.ImageUse use = 5;
* @return The use.
*/
@java.lang.Override
public com.passkit.grpc.Image.ImageUse getUse() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Image.ImageUse result = com.passkit.grpc.Image.ImageUse.valueOf(use_);
return result == null ? com.passkit.grpc.Image.ImageUse.UNRECOGNIZED : result;
}
/**
* .io.ImageUse use = 5;
* @param value The use to set.
* @return This builder for chaining.
*/
public Builder setUse(com.passkit.grpc.Image.ImageUse value) {
if (value == null) {
throw new NullPointerException();
}
use_ = value.getNumber();
onChanged();
return this;
}
/**
* .io.ImageUse use = 5;
* @return This builder for chaining.
*/
public Builder clearUse() {
use_ = 0;
onChanged();
return this;
}
private java.util.List languages_ =
java.util.Collections.emptyList();
private void ensureLanguagesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
languages_ = new java.util.ArrayList(languages_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated .io.LanguageCode languages = 6;
* @return A list containing the languages.
*/
public java.util.List getLanguagesList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.passkit.grpc.Localization.LanguageCode>(languages_, languages_converter_);
}
/**
* repeated .io.LanguageCode languages = 6;
* @return The count of languages.
*/
public int getLanguagesCount() {
return languages_.size();
}
/**
* repeated .io.LanguageCode languages = 6;
* @param index The index of the element to return.
* @return The languages at the given index.
*/
public com.passkit.grpc.Localization.LanguageCode getLanguages(int index) {
return languages_converter_.convert(languages_.get(index));
}
/**
* repeated .io.LanguageCode languages = 6;
* @param index The index to set the value at.
* @param value The languages to set.
* @return This builder for chaining.
*/
public Builder setLanguages(
int index, com.passkit.grpc.Localization.LanguageCode value) {
if (value == null) {
throw new NullPointerException();
}
ensureLanguagesIsMutable();
languages_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .io.LanguageCode languages = 6;
* @param value The languages to add.
* @return This builder for chaining.
*/
public Builder addLanguages(com.passkit.grpc.Localization.LanguageCode value) {
if (value == null) {
throw new NullPointerException();
}
ensureLanguagesIsMutable();
languages_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .io.LanguageCode languages = 6;
* @param values The languages to add.
* @return This builder for chaining.
*/
public Builder addAllLanguages(
java.lang.Iterable extends com.passkit.grpc.Localization.LanguageCode> values) {
ensureLanguagesIsMutable();
for (com.passkit.grpc.Localization.LanguageCode value : values) {
languages_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .io.LanguageCode languages = 6;
* @return This builder for chaining.
*/
public Builder clearLanguages() {
languages_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated .io.LanguageCode languages = 6;
* @return A list containing the enum numeric values on the wire for languages.
*/
public java.util.List
getLanguagesValueList() {
return java.util.Collections.unmodifiableList(languages_);
}
/**
* repeated .io.LanguageCode languages = 6;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of languages at the given index.
*/
public int getLanguagesValue(int index) {
return languages_.get(index);
}
/**
* repeated .io.LanguageCode languages = 6;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of languages at the given index.
* @return This builder for chaining.
*/
public Builder setLanguagesValue(
int index, int value) {
ensureLanguagesIsMutable();
languages_.set(index, value);
onChanged();
return this;
}
/**
* repeated .io.LanguageCode languages = 6;
* @param value The enum numeric value on the wire for languages to add.
* @return This builder for chaining.
*/
public Builder addLanguagesValue(int value) {
ensureLanguagesIsMutable();
languages_.add(value);
onChanged();
return this;
}
/**
* repeated .io.LanguageCode languages = 6;
* @param values The enum numeric values on the wire for languages to add.
* @return This builder for chaining.
*/
public Builder addAllLanguagesValue(
java.lang.Iterable values) {
ensureLanguagesIsMutable();
for (int value : values) {
languages_.add(value);
}
onChanged();
return this;
}
private java.lang.Object ownerUsername_ = "";
/**
* string ownerUsername = 7;
* @return The ownerUsername.
*/
public java.lang.String getOwnerUsername() {
java.lang.Object ref = ownerUsername_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
ownerUsername_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string ownerUsername = 7;
* @return The bytes for ownerUsername.
*/
public com.google.protobuf.ByteString
getOwnerUsernameBytes() {
java.lang.Object ref = ownerUsername_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ownerUsername_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string ownerUsername = 7;
* @param value The ownerUsername to set.
* @return This builder for chaining.
*/
public Builder setOwnerUsername(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ownerUsername_ = value;
onChanged();
return this;
}
/**
* string ownerUsername = 7;
* @return This builder for chaining.
*/
public Builder clearOwnerUsername() {
ownerUsername_ = getDefaultInstance().getOwnerUsername();
onChanged();
return this;
}
/**
* string ownerUsername = 7;
* @param value The bytes for ownerUsername to set.
* @return This builder for chaining.
*/
public Builder setOwnerUsernameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ownerUsername_ = value;
onChanged();
return this;
}
private com.google.protobuf.Timestamp createdAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_;
/**
* .google.protobuf.Timestamp createdAt = 8;
* @return Whether the createdAt field is set.
*/
public boolean hasCreatedAt() {
return createdAtBuilder_ != null || createdAt_ != null;
}
/**
* .google.protobuf.Timestamp createdAt = 8;
* @return The createdAt.
*/
public com.google.protobuf.Timestamp getCreatedAt() {
if (createdAtBuilder_ == null) {
return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
} else {
return createdAtBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp createdAt = 8;
*/
public Builder setCreatedAt(com.google.protobuf.Timestamp value) {
if (createdAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createdAt_ = value;
onChanged();
} else {
createdAtBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp createdAt = 8;
*/
public Builder setCreatedAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (createdAtBuilder_ == null) {
createdAt_ = builderForValue.build();
onChanged();
} else {
createdAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp createdAt = 8;
*/
public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) {
if (createdAtBuilder_ == null) {
if (createdAt_ != null) {
createdAt_ =
com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial();
} else {
createdAt_ = value;
}
onChanged();
} else {
createdAtBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp createdAt = 8;
*/
public Builder clearCreatedAt() {
if (createdAtBuilder_ == null) {
createdAt_ = null;
onChanged();
} else {
createdAt_ = null;
createdAtBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp createdAt = 8;
*/
public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() {
onChanged();
return getCreatedAtFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp createdAt = 8;
*/
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {
if (createdAtBuilder_ != null) {
return createdAtBuilder_.getMessageOrBuilder();
} else {
return createdAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
}
}
/**
* .google.protobuf.Timestamp createdAt = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getCreatedAtFieldBuilder() {
if (createdAtBuilder_ == null) {
createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getCreatedAt(),
getParentForChildren(),
isClean());
createdAt_ = null;
}
return createdAtBuilder_;
}
private com.google.protobuf.Timestamp updatedAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedAtBuilder_;
/**
* .google.protobuf.Timestamp updatedAt = 9;
* @return Whether the updatedAt field is set.
*/
public boolean hasUpdatedAt() {
return updatedAtBuilder_ != null || updatedAt_ != null;
}
/**
* .google.protobuf.Timestamp updatedAt = 9;
* @return The updatedAt.
*/
public com.google.protobuf.Timestamp getUpdatedAt() {
if (updatedAtBuilder_ == null) {
return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_;
} else {
return updatedAtBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp updatedAt = 9;
*/
public Builder setUpdatedAt(com.google.protobuf.Timestamp value) {
if (updatedAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
updatedAt_ = value;
onChanged();
} else {
updatedAtBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp updatedAt = 9;
*/
public Builder setUpdatedAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (updatedAtBuilder_ == null) {
updatedAt_ = builderForValue.build();
onChanged();
} else {
updatedAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp updatedAt = 9;
*/
public Builder mergeUpdatedAt(com.google.protobuf.Timestamp value) {
if (updatedAtBuilder_ == null) {
if (updatedAt_ != null) {
updatedAt_ =
com.google.protobuf.Timestamp.newBuilder(updatedAt_).mergeFrom(value).buildPartial();
} else {
updatedAt_ = value;
}
onChanged();
} else {
updatedAtBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp updatedAt = 9;
*/
public Builder clearUpdatedAt() {
if (updatedAtBuilder_ == null) {
updatedAt_ = null;
onChanged();
} else {
updatedAt_ = null;
updatedAtBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp updatedAt = 9;
*/
public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder() {
onChanged();
return getUpdatedAtFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp updatedAt = 9;
*/
public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() {
if (updatedAtBuilder_ != null) {
return updatedAtBuilder_.getMessageOrBuilder();
} else {
return updatedAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_;
}
}
/**
* .google.protobuf.Timestamp updatedAt = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getUpdatedAtFieldBuilder() {
if (updatedAtBuilder_ == null) {
updatedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getUpdatedAt(),
getParentForChildren(),
isClean());
updatedAt_ = null;
}
return updatedAtBuilder_;
}
@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.ImageRecord)
}
// @@protoc_insertion_point(class_scope:io.ImageRecord)
private static final com.passkit.grpc.Image.ImageRecord DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.Image.ImageRecord();
}
public static com.passkit.grpc.Image.ImageRecord getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImageRecord parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImageRecord(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.Image.ImageRecord getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ProfileImageInputOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.ProfileImageInput)
com.google.protobuf.MessageOrBuilder {
/**
*
* Provide an image URL or base64 image data.
*
*
* string imageData = 1;
* @return The imageData.
*/
java.lang.String getImageData();
/**
*
* Provide an image URL or base64 image data.
*
*
* string imageData = 1;
* @return The bytes for imageData.
*/
com.google.protobuf.ByteString
getImageDataBytes();
}
/**
* Protobuf type {@code io.ProfileImageInput}
*/
public static final class ProfileImageInput extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.ProfileImageInput)
ProfileImageInputOrBuilder {
private static final long serialVersionUID = 0L;
// Use ProfileImageInput.newBuilder() to construct.
private ProfileImageInput(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ProfileImageInput() {
imageData_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ProfileImageInput();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ProfileImageInput(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
imageData_ = 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.Image.internal_static_io_ProfileImageInput_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_ProfileImageInput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.ProfileImageInput.class, com.passkit.grpc.Image.ProfileImageInput.Builder.class);
}
public static final int IMAGEDATA_FIELD_NUMBER = 1;
private volatile java.lang.Object imageData_;
/**
*
* Provide an image URL or base64 image data.
*
*
* string imageData = 1;
* @return The imageData.
*/
@java.lang.Override
public java.lang.String getImageData() {
java.lang.Object ref = imageData_;
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();
imageData_ = s;
return s;
}
}
/**
*
* Provide an image URL or base64 image data.
*
*
* string imageData = 1;
* @return The bytes for imageData.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getImageDataBytes() {
java.lang.Object ref = imageData_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
imageData_ = 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 (!getImageDataBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageData_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getImageDataBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, imageData_);
}
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.Image.ProfileImageInput)) {
return super.equals(obj);
}
com.passkit.grpc.Image.ProfileImageInput other = (com.passkit.grpc.Image.ProfileImageInput) obj;
if (!getImageData()
.equals(other.getImageData())) 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) + IMAGEDATA_FIELD_NUMBER;
hash = (53 * hash) + getImageData().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.Image.ProfileImageInput parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.ProfileImageInput 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.Image.ProfileImageInput parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.ProfileImageInput 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.Image.ProfileImageInput parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.ProfileImageInput parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Image.ProfileImageInput parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.ProfileImageInput 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.Image.ProfileImageInput parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.ProfileImageInput 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.Image.ProfileImageInput parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.ProfileImageInput 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.Image.ProfileImageInput 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.ProfileImageInput}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.ProfileImageInput)
com.passkit.grpc.Image.ProfileImageInputOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Image.internal_static_io_ProfileImageInput_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_ProfileImageInput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.ProfileImageInput.class, com.passkit.grpc.Image.ProfileImageInput.Builder.class);
}
// Construct using com.passkit.grpc.Image.ProfileImageInput.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();
imageData_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.Image.internal_static_io_ProfileImageInput_descriptor;
}
@java.lang.Override
public com.passkit.grpc.Image.ProfileImageInput getDefaultInstanceForType() {
return com.passkit.grpc.Image.ProfileImageInput.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.Image.ProfileImageInput build() {
com.passkit.grpc.Image.ProfileImageInput result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.Image.ProfileImageInput buildPartial() {
com.passkit.grpc.Image.ProfileImageInput result = new com.passkit.grpc.Image.ProfileImageInput(this);
result.imageData_ = imageData_;
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.Image.ProfileImageInput) {
return mergeFrom((com.passkit.grpc.Image.ProfileImageInput)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.Image.ProfileImageInput other) {
if (other == com.passkit.grpc.Image.ProfileImageInput.getDefaultInstance()) return this;
if (!other.getImageData().isEmpty()) {
imageData_ = other.imageData_;
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.Image.ProfileImageInput parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.Image.ProfileImageInput) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object imageData_ = "";
/**
*
* Provide an image URL or base64 image data.
*
*
* string imageData = 1;
* @return The imageData.
*/
public java.lang.String getImageData() {
java.lang.Object ref = imageData_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
imageData_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Provide an image URL or base64 image data.
*
*
* string imageData = 1;
* @return The bytes for imageData.
*/
public com.google.protobuf.ByteString
getImageDataBytes() {
java.lang.Object ref = imageData_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
imageData_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Provide an image URL or base64 image data.
*
*
* string imageData = 1;
* @param value The imageData to set.
* @return This builder for chaining.
*/
public Builder setImageData(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
imageData_ = value;
onChanged();
return this;
}
/**
*
* Provide an image URL or base64 image data.
*
*
* string imageData = 1;
* @return This builder for chaining.
*/
public Builder clearImageData() {
imageData_ = getDefaultInstance().getImageData();
onChanged();
return this;
}
/**
*
* Provide an image URL or base64 image data.
*
*
* string imageData = 1;
* @param value The bytes for imageData to set.
* @return This builder for chaining.
*/
public Builder setImageDataBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
imageData_ = 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.ProfileImageInput)
}
// @@protoc_insertion_point(class_scope:io.ProfileImageInput)
private static final com.passkit.grpc.Image.ProfileImageInput DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.Image.ProfileImageInput();
}
public static com.passkit.grpc.Image.ProfileImageInput getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ProfileImageInput parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ProfileImageInput(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.Image.ProfileImageInput getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MultipleImagesOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.MultipleImages)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .io.ImageRecord images = 1;
*/
java.util.List
getImagesList();
/**
* repeated .io.ImageRecord images = 1;
*/
com.passkit.grpc.Image.ImageRecord getImages(int index);
/**
* repeated .io.ImageRecord images = 1;
*/
int getImagesCount();
/**
* repeated .io.ImageRecord images = 1;
*/
java.util.List extends com.passkit.grpc.Image.ImageRecordOrBuilder>
getImagesOrBuilderList();
/**
* repeated .io.ImageRecord images = 1;
*/
com.passkit.grpc.Image.ImageRecordOrBuilder getImagesOrBuilder(
int index);
}
/**
* Protobuf type {@code io.MultipleImages}
*/
public static final class MultipleImages extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.MultipleImages)
MultipleImagesOrBuilder {
private static final long serialVersionUID = 0L;
// Use MultipleImages.newBuilder() to construct.
private MultipleImages(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MultipleImages() {
images_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MultipleImages();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MultipleImages(
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: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
images_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
images_.add(
input.readMessage(com.passkit.grpc.Image.ImageRecord.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
images_ = java.util.Collections.unmodifiableList(images_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Image.internal_static_io_MultipleImages_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_MultipleImages_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.MultipleImages.class, com.passkit.grpc.Image.MultipleImages.Builder.class);
}
public static final int IMAGES_FIELD_NUMBER = 1;
private java.util.List images_;
/**
* repeated .io.ImageRecord images = 1;
*/
@java.lang.Override
public java.util.List getImagesList() {
return images_;
}
/**
* repeated .io.ImageRecord images = 1;
*/
@java.lang.Override
public java.util.List extends com.passkit.grpc.Image.ImageRecordOrBuilder>
getImagesOrBuilderList() {
return images_;
}
/**
* repeated .io.ImageRecord images = 1;
*/
@java.lang.Override
public int getImagesCount() {
return images_.size();
}
/**
* repeated .io.ImageRecord images = 1;
*/
@java.lang.Override
public com.passkit.grpc.Image.ImageRecord getImages(int index) {
return images_.get(index);
}
/**
* repeated .io.ImageRecord images = 1;
*/
@java.lang.Override
public com.passkit.grpc.Image.ImageRecordOrBuilder getImagesOrBuilder(
int index) {
return images_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < images_.size(); i++) {
output.writeMessage(1, images_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < images_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, images_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.passkit.grpc.Image.MultipleImages)) {
return super.equals(obj);
}
com.passkit.grpc.Image.MultipleImages other = (com.passkit.grpc.Image.MultipleImages) obj;
if (!getImagesList()
.equals(other.getImagesList())) 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 (getImagesCount() > 0) {
hash = (37 * hash) + IMAGES_FIELD_NUMBER;
hash = (53 * hash) + getImagesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.Image.MultipleImages parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.MultipleImages 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.Image.MultipleImages parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.MultipleImages 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.Image.MultipleImages parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.MultipleImages parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Image.MultipleImages parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.MultipleImages 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.Image.MultipleImages parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.MultipleImages 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.Image.MultipleImages parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.MultipleImages 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.Image.MultipleImages 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.MultipleImages}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.MultipleImages)
com.passkit.grpc.Image.MultipleImagesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Image.internal_static_io_MultipleImages_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_MultipleImages_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.MultipleImages.class, com.passkit.grpc.Image.MultipleImages.Builder.class);
}
// Construct using com.passkit.grpc.Image.MultipleImages.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getImagesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (imagesBuilder_ == null) {
images_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
imagesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.Image.internal_static_io_MultipleImages_descriptor;
}
@java.lang.Override
public com.passkit.grpc.Image.MultipleImages getDefaultInstanceForType() {
return com.passkit.grpc.Image.MultipleImages.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.Image.MultipleImages build() {
com.passkit.grpc.Image.MultipleImages result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.Image.MultipleImages buildPartial() {
com.passkit.grpc.Image.MultipleImages result = new com.passkit.grpc.Image.MultipleImages(this);
int from_bitField0_ = bitField0_;
if (imagesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
images_ = java.util.Collections.unmodifiableList(images_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.images_ = images_;
} else {
result.images_ = imagesBuilder_.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.Image.MultipleImages) {
return mergeFrom((com.passkit.grpc.Image.MultipleImages)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.Image.MultipleImages other) {
if (other == com.passkit.grpc.Image.MultipleImages.getDefaultInstance()) return this;
if (imagesBuilder_ == null) {
if (!other.images_.isEmpty()) {
if (images_.isEmpty()) {
images_ = other.images_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureImagesIsMutable();
images_.addAll(other.images_);
}
onChanged();
}
} else {
if (!other.images_.isEmpty()) {
if (imagesBuilder_.isEmpty()) {
imagesBuilder_.dispose();
imagesBuilder_ = null;
images_ = other.images_;
bitField0_ = (bitField0_ & ~0x00000001);
imagesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getImagesFieldBuilder() : null;
} else {
imagesBuilder_.addAllMessages(other.images_);
}
}
}
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.Image.MultipleImages parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.Image.MultipleImages) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List images_ =
java.util.Collections.emptyList();
private void ensureImagesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
images_ = new java.util.ArrayList(images_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Image.ImageRecord, com.passkit.grpc.Image.ImageRecord.Builder, com.passkit.grpc.Image.ImageRecordOrBuilder> imagesBuilder_;
/**
* repeated .io.ImageRecord images = 1;
*/
public java.util.List getImagesList() {
if (imagesBuilder_ == null) {
return java.util.Collections.unmodifiableList(images_);
} else {
return imagesBuilder_.getMessageList();
}
}
/**
* repeated .io.ImageRecord images = 1;
*/
public int getImagesCount() {
if (imagesBuilder_ == null) {
return images_.size();
} else {
return imagesBuilder_.getCount();
}
}
/**
* repeated .io.ImageRecord images = 1;
*/
public com.passkit.grpc.Image.ImageRecord getImages(int index) {
if (imagesBuilder_ == null) {
return images_.get(index);
} else {
return imagesBuilder_.getMessage(index);
}
}
/**
* repeated .io.ImageRecord images = 1;
*/
public Builder setImages(
int index, com.passkit.grpc.Image.ImageRecord value) {
if (imagesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureImagesIsMutable();
images_.set(index, value);
onChanged();
} else {
imagesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .io.ImageRecord images = 1;
*/
public Builder setImages(
int index, com.passkit.grpc.Image.ImageRecord.Builder builderForValue) {
if (imagesBuilder_ == null) {
ensureImagesIsMutable();
images_.set(index, builderForValue.build());
onChanged();
} else {
imagesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .io.ImageRecord images = 1;
*/
public Builder addImages(com.passkit.grpc.Image.ImageRecord value) {
if (imagesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureImagesIsMutable();
images_.add(value);
onChanged();
} else {
imagesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .io.ImageRecord images = 1;
*/
public Builder addImages(
int index, com.passkit.grpc.Image.ImageRecord value) {
if (imagesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureImagesIsMutable();
images_.add(index, value);
onChanged();
} else {
imagesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .io.ImageRecord images = 1;
*/
public Builder addImages(
com.passkit.grpc.Image.ImageRecord.Builder builderForValue) {
if (imagesBuilder_ == null) {
ensureImagesIsMutable();
images_.add(builderForValue.build());
onChanged();
} else {
imagesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .io.ImageRecord images = 1;
*/
public Builder addImages(
int index, com.passkit.grpc.Image.ImageRecord.Builder builderForValue) {
if (imagesBuilder_ == null) {
ensureImagesIsMutable();
images_.add(index, builderForValue.build());
onChanged();
} else {
imagesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .io.ImageRecord images = 1;
*/
public Builder addAllImages(
java.lang.Iterable extends com.passkit.grpc.Image.ImageRecord> values) {
if (imagesBuilder_ == null) {
ensureImagesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, images_);
onChanged();
} else {
imagesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .io.ImageRecord images = 1;
*/
public Builder clearImages() {
if (imagesBuilder_ == null) {
images_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
imagesBuilder_.clear();
}
return this;
}
/**
* repeated .io.ImageRecord images = 1;
*/
public Builder removeImages(int index) {
if (imagesBuilder_ == null) {
ensureImagesIsMutable();
images_.remove(index);
onChanged();
} else {
imagesBuilder_.remove(index);
}
return this;
}
/**
* repeated .io.ImageRecord images = 1;
*/
public com.passkit.grpc.Image.ImageRecord.Builder getImagesBuilder(
int index) {
return getImagesFieldBuilder().getBuilder(index);
}
/**
* repeated .io.ImageRecord images = 1;
*/
public com.passkit.grpc.Image.ImageRecordOrBuilder getImagesOrBuilder(
int index) {
if (imagesBuilder_ == null) {
return images_.get(index); } else {
return imagesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .io.ImageRecord images = 1;
*/
public java.util.List extends com.passkit.grpc.Image.ImageRecordOrBuilder>
getImagesOrBuilderList() {
if (imagesBuilder_ != null) {
return imagesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(images_);
}
}
/**
* repeated .io.ImageRecord images = 1;
*/
public com.passkit.grpc.Image.ImageRecord.Builder addImagesBuilder() {
return getImagesFieldBuilder().addBuilder(
com.passkit.grpc.Image.ImageRecord.getDefaultInstance());
}
/**
* repeated .io.ImageRecord images = 1;
*/
public com.passkit.grpc.Image.ImageRecord.Builder addImagesBuilder(
int index) {
return getImagesFieldBuilder().addBuilder(
index, com.passkit.grpc.Image.ImageRecord.getDefaultInstance());
}
/**
* repeated .io.ImageRecord images = 1;
*/
public java.util.List
getImagesBuilderList() {
return getImagesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Image.ImageRecord, com.passkit.grpc.Image.ImageRecord.Builder, com.passkit.grpc.Image.ImageRecordOrBuilder>
getImagesFieldBuilder() {
if (imagesBuilder_ == null) {
imagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.passkit.grpc.Image.ImageRecord, com.passkit.grpc.Image.ImageRecord.Builder, com.passkit.grpc.Image.ImageRecordOrBuilder>(
images_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
images_ = null;
}
return imagesBuilder_;
}
@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.MultipleImages)
}
// @@protoc_insertion_point(class_scope:io.MultipleImages)
private static final com.passkit.grpc.Image.MultipleImages DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.Image.MultipleImages();
}
public static com.passkit.grpc.Image.MultipleImages getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MultipleImages parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MultipleImages(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.Image.MultipleImages getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CreateImageInputOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.CreateImageInput)
com.google.protobuf.MessageOrBuilder {
/**
*
* If multiple images types are uploaded, then the image type will be appended to the name.
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* If multiple images types are uploaded, then the image type will be appended to the name.
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Image data can be either a base64 image or a url.
*
*
* .io.ImageData imageData = 2;
* @return Whether the imageData field is set.
*/
boolean hasImageData();
/**
*
* Image data can be either a base64 image or a url.
*
*
* .io.ImageData imageData = 2;
* @return The imageData.
*/
com.passkit.grpc.Image.ImageData getImageData();
/**
*
* Image data can be either a base64 image or a url.
*
*
* .io.ImageData imageData = 2;
*/
com.passkit.grpc.Image.ImageDataOrBuilder getImageDataOrBuilder();
}
/**
* Protobuf type {@code io.CreateImageInput}
*/
public static final class CreateImageInput extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.CreateImageInput)
CreateImageInputOrBuilder {
private static final long serialVersionUID = 0L;
// Use CreateImageInput.newBuilder() to construct.
private CreateImageInput(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CreateImageInput() {
name_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CreateImageInput();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CreateImageInput(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
com.passkit.grpc.Image.ImageData.Builder subBuilder = null;
if (imageData_ != null) {
subBuilder = imageData_.toBuilder();
}
imageData_ = input.readMessage(com.passkit.grpc.Image.ImageData.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(imageData_);
imageData_ = 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.Image.internal_static_io_CreateImageInput_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_CreateImageInput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.CreateImageInput.class, com.passkit.grpc.Image.CreateImageInput.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
* If multiple images types are uploaded, then the image type will be appended to the name.
*
*
* string name = 1;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* If multiple images types are uploaded, then the image type will be appended to the name.
*
*
* string name = 1;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IMAGEDATA_FIELD_NUMBER = 2;
private com.passkit.grpc.Image.ImageData imageData_;
/**
*
* Image data can be either a base64 image or a url.
*
*
* .io.ImageData imageData = 2;
* @return Whether the imageData field is set.
*/
@java.lang.Override
public boolean hasImageData() {
return imageData_ != null;
}
/**
*
* Image data can be either a base64 image or a url.
*
*
* .io.ImageData imageData = 2;
* @return The imageData.
*/
@java.lang.Override
public com.passkit.grpc.Image.ImageData getImageData() {
return imageData_ == null ? com.passkit.grpc.Image.ImageData.getDefaultInstance() : imageData_;
}
/**
*
* Image data can be either a base64 image or a url.
*
*
* .io.ImageData imageData = 2;
*/
@java.lang.Override
public com.passkit.grpc.Image.ImageDataOrBuilder getImageDataOrBuilder() {
return getImageData();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (imageData_ != null) {
output.writeMessage(2, getImageData());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (imageData_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getImageData());
}
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.Image.CreateImageInput)) {
return super.equals(obj);
}
com.passkit.grpc.Image.CreateImageInput other = (com.passkit.grpc.Image.CreateImageInput) obj;
if (!getName()
.equals(other.getName())) return false;
if (hasImageData() != other.hasImageData()) return false;
if (hasImageData()) {
if (!getImageData()
.equals(other.getImageData())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
if (hasImageData()) {
hash = (37 * hash) + IMAGEDATA_FIELD_NUMBER;
hash = (53 * hash) + getImageData().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.Image.CreateImageInput parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.CreateImageInput 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.Image.CreateImageInput parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.CreateImageInput 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.Image.CreateImageInput parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.CreateImageInput parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Image.CreateImageInput parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.CreateImageInput 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.Image.CreateImageInput parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.CreateImageInput 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.Image.CreateImageInput parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.CreateImageInput 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.Image.CreateImageInput 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.CreateImageInput}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.CreateImageInput)
com.passkit.grpc.Image.CreateImageInputOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Image.internal_static_io_CreateImageInput_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_CreateImageInput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.CreateImageInput.class, com.passkit.grpc.Image.CreateImageInput.Builder.class);
}
// Construct using com.passkit.grpc.Image.CreateImageInput.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
name_ = "";
if (imageDataBuilder_ == null) {
imageData_ = null;
} else {
imageData_ = null;
imageDataBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.Image.internal_static_io_CreateImageInput_descriptor;
}
@java.lang.Override
public com.passkit.grpc.Image.CreateImageInput getDefaultInstanceForType() {
return com.passkit.grpc.Image.CreateImageInput.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.Image.CreateImageInput build() {
com.passkit.grpc.Image.CreateImageInput result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.Image.CreateImageInput buildPartial() {
com.passkit.grpc.Image.CreateImageInput result = new com.passkit.grpc.Image.CreateImageInput(this);
result.name_ = name_;
if (imageDataBuilder_ == null) {
result.imageData_ = imageData_;
} else {
result.imageData_ = imageDataBuilder_.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.Image.CreateImageInput) {
return mergeFrom((com.passkit.grpc.Image.CreateImageInput)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.Image.CreateImageInput other) {
if (other == com.passkit.grpc.Image.CreateImageInput.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (other.hasImageData()) {
mergeImageData(other.getImageData());
}
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.Image.CreateImageInput parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.Image.CreateImageInput) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object name_ = "";
/**
*
* If multiple images types are uploaded, then the image type will be appended to the name.
*
*
* string name = 1;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* If multiple images types are uploaded, then the image type will be appended to the name.
*
*
* string name = 1;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* If multiple images types are uploaded, then the image type will be appended to the name.
*
*
* string name = 1;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* If multiple images types are uploaded, then the image type will be appended to the name.
*
*
* string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* If multiple images types are uploaded, then the image type will be appended to the name.
*
*
* string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private com.passkit.grpc.Image.ImageData imageData_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Image.ImageData, com.passkit.grpc.Image.ImageData.Builder, com.passkit.grpc.Image.ImageDataOrBuilder> imageDataBuilder_;
/**
*
* Image data can be either a base64 image or a url.
*
*
* .io.ImageData imageData = 2;
* @return Whether the imageData field is set.
*/
public boolean hasImageData() {
return imageDataBuilder_ != null || imageData_ != null;
}
/**
*
* Image data can be either a base64 image or a url.
*
*
* .io.ImageData imageData = 2;
* @return The imageData.
*/
public com.passkit.grpc.Image.ImageData getImageData() {
if (imageDataBuilder_ == null) {
return imageData_ == null ? com.passkit.grpc.Image.ImageData.getDefaultInstance() : imageData_;
} else {
return imageDataBuilder_.getMessage();
}
}
/**
*
* Image data can be either a base64 image or a url.
*
*
* .io.ImageData imageData = 2;
*/
public Builder setImageData(com.passkit.grpc.Image.ImageData value) {
if (imageDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
imageData_ = value;
onChanged();
} else {
imageDataBuilder_.setMessage(value);
}
return this;
}
/**
*
* Image data can be either a base64 image or a url.
*
*
* .io.ImageData imageData = 2;
*/
public Builder setImageData(
com.passkit.grpc.Image.ImageData.Builder builderForValue) {
if (imageDataBuilder_ == null) {
imageData_ = builderForValue.build();
onChanged();
} else {
imageDataBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Image data can be either a base64 image or a url.
*
*
* .io.ImageData imageData = 2;
*/
public Builder mergeImageData(com.passkit.grpc.Image.ImageData value) {
if (imageDataBuilder_ == null) {
if (imageData_ != null) {
imageData_ =
com.passkit.grpc.Image.ImageData.newBuilder(imageData_).mergeFrom(value).buildPartial();
} else {
imageData_ = value;
}
onChanged();
} else {
imageDataBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Image data can be either a base64 image or a url.
*
*
* .io.ImageData imageData = 2;
*/
public Builder clearImageData() {
if (imageDataBuilder_ == null) {
imageData_ = null;
onChanged();
} else {
imageData_ = null;
imageDataBuilder_ = null;
}
return this;
}
/**
*
* Image data can be either a base64 image or a url.
*
*
* .io.ImageData imageData = 2;
*/
public com.passkit.grpc.Image.ImageData.Builder getImageDataBuilder() {
onChanged();
return getImageDataFieldBuilder().getBuilder();
}
/**
*
* Image data can be either a base64 image or a url.
*
*
* .io.ImageData imageData = 2;
*/
public com.passkit.grpc.Image.ImageDataOrBuilder getImageDataOrBuilder() {
if (imageDataBuilder_ != null) {
return imageDataBuilder_.getMessageOrBuilder();
} else {
return imageData_ == null ?
com.passkit.grpc.Image.ImageData.getDefaultInstance() : imageData_;
}
}
/**
*
* Image data can be either a base64 image or a url.
*
*
* .io.ImageData imageData = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Image.ImageData, com.passkit.grpc.Image.ImageData.Builder, com.passkit.grpc.Image.ImageDataOrBuilder>
getImageDataFieldBuilder() {
if (imageDataBuilder_ == null) {
imageDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Image.ImageData, com.passkit.grpc.Image.ImageData.Builder, com.passkit.grpc.Image.ImageDataOrBuilder>(
getImageData(),
getParentForChildren(),
isClean());
imageData_ = null;
}
return imageDataBuilder_;
}
@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.CreateImageInput)
}
// @@protoc_insertion_point(class_scope:io.CreateImageInput)
private static final com.passkit.grpc.Image.CreateImageInput DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.Image.CreateImageInput();
}
public static com.passkit.grpc.Image.CreateImageInput getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CreateImageInput parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CreateImageInput(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.Image.CreateImageInput getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateImageInputOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.UpdateImageInput)
com.google.protobuf.MessageOrBuilder {
/**
*
* The image id.
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* The image id.
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* Optional, if ommitted, the original name will remain the same.
*
*
* string name = 2;
* @return The name.
*/
java.lang.String getName();
/**
*
* Optional, if ommitted, the original name will remain the same.
*
*
* string name = 2;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Optional, if ommitted, the original image will remain the same.
*
*
* string imageData = 3;
* @return The imageData.
*/
java.lang.String getImageData();
/**
*
* Optional, if ommitted, the original image will remain the same.
*
*
* string imageData = 3;
* @return The bytes for imageData.
*/
com.google.protobuf.ByteString
getImageDataBytes();
/**
*
* Optional, provided localizations will be added/replaced, existing ommitted localizations will remain in place.
*
*
* .io.LocalizedString localizedImageData = 4;
* @return Whether the localizedImageData field is set.
*/
boolean hasLocalizedImageData();
/**
*
* Optional, provided localizations will be added/replaced, existing ommitted localizations will remain in place.
*
*
* .io.LocalizedString localizedImageData = 4;
* @return The localizedImageData.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedImageData();
/**
*
* Optional, provided localizations will be added/replaced, existing ommitted localizations will remain in place.
*
*
* .io.LocalizedString localizedImageData = 4;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedImageDataOrBuilder();
}
/**
* Protobuf type {@code io.UpdateImageInput}
*/
public static final class UpdateImageInput extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.UpdateImageInput)
UpdateImageInputOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateImageInput.newBuilder() to construct.
private UpdateImageInput(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UpdateImageInput() {
id_ = "";
name_ = "";
imageData_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateImageInput();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UpdateImageInput(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
id_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
imageData_ = s;
break;
}
case 34: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedImageData_ != null) {
subBuilder = localizedImageData_.toBuilder();
}
localizedImageData_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedImageData_);
localizedImageData_ = 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.Image.internal_static_io_UpdateImageInput_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_UpdateImageInput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.UpdateImageInput.class, com.passkit.grpc.Image.UpdateImageInput.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
*
* The image id.
*
*
* string id = 1;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
*
* The image id.
*
*
* string id = 1;
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
*
* Optional, if ommitted, the original name will remain the same.
*
*
* string name = 2;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* Optional, if ommitted, the original name will remain the same.
*
*
* string name = 2;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IMAGEDATA_FIELD_NUMBER = 3;
private volatile java.lang.Object imageData_;
/**
*
* Optional, if ommitted, the original image will remain the same.
*
*
* string imageData = 3;
* @return The imageData.
*/
@java.lang.Override
public java.lang.String getImageData() {
java.lang.Object ref = imageData_;
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();
imageData_ = s;
return s;
}
}
/**
*
* Optional, if ommitted, the original image will remain the same.
*
*
* string imageData = 3;
* @return The bytes for imageData.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getImageDataBytes() {
java.lang.Object ref = imageData_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
imageData_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCALIZEDIMAGEDATA_FIELD_NUMBER = 4;
private com.passkit.grpc.Localization.LocalizedString localizedImageData_;
/**
*
* Optional, provided localizations will be added/replaced, existing ommitted localizations will remain in place.
*
*
* .io.LocalizedString localizedImageData = 4;
* @return Whether the localizedImageData field is set.
*/
@java.lang.Override
public boolean hasLocalizedImageData() {
return localizedImageData_ != null;
}
/**
*
* Optional, provided localizations will be added/replaced, existing ommitted localizations will remain in place.
*
*
* .io.LocalizedString localizedImageData = 4;
* @return The localizedImageData.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedImageData() {
return localizedImageData_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedImageData_;
}
/**
*
* Optional, provided localizations will be added/replaced, existing ommitted localizations will remain in place.
*
*
* .io.LocalizedString localizedImageData = 4;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedImageDataOrBuilder() {
return getLocalizedImageData();
}
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 (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (!getImageDataBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, imageData_);
}
if (localizedImageData_ != null) {
output.writeMessage(4, getLocalizedImageData());
}
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 (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (!getImageDataBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, imageData_);
}
if (localizedImageData_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getLocalizedImageData());
}
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.Image.UpdateImageInput)) {
return super.equals(obj);
}
com.passkit.grpc.Image.UpdateImageInput other = (com.passkit.grpc.Image.UpdateImageInput) obj;
if (!getId()
.equals(other.getId())) return false;
if (!getName()
.equals(other.getName())) return false;
if (!getImageData()
.equals(other.getImageData())) return false;
if (hasLocalizedImageData() != other.hasLocalizedImageData()) return false;
if (hasLocalizedImageData()) {
if (!getLocalizedImageData()
.equals(other.getLocalizedImageData())) 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) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + IMAGEDATA_FIELD_NUMBER;
hash = (53 * hash) + getImageData().hashCode();
if (hasLocalizedImageData()) {
hash = (37 * hash) + LOCALIZEDIMAGEDATA_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedImageData().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.Image.UpdateImageInput parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.UpdateImageInput 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.Image.UpdateImageInput parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.UpdateImageInput 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.Image.UpdateImageInput parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.UpdateImageInput parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Image.UpdateImageInput parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.UpdateImageInput 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.Image.UpdateImageInput parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.UpdateImageInput 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.Image.UpdateImageInput parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.UpdateImageInput 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.Image.UpdateImageInput 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.UpdateImageInput}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.UpdateImageInput)
com.passkit.grpc.Image.UpdateImageInputOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Image.internal_static_io_UpdateImageInput_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_UpdateImageInput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.UpdateImageInput.class, com.passkit.grpc.Image.UpdateImageInput.Builder.class);
}
// Construct using com.passkit.grpc.Image.UpdateImageInput.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_ = "";
name_ = "";
imageData_ = "";
if (localizedImageDataBuilder_ == null) {
localizedImageData_ = null;
} else {
localizedImageData_ = null;
localizedImageDataBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.Image.internal_static_io_UpdateImageInput_descriptor;
}
@java.lang.Override
public com.passkit.grpc.Image.UpdateImageInput getDefaultInstanceForType() {
return com.passkit.grpc.Image.UpdateImageInput.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.Image.UpdateImageInput build() {
com.passkit.grpc.Image.UpdateImageInput result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.Image.UpdateImageInput buildPartial() {
com.passkit.grpc.Image.UpdateImageInput result = new com.passkit.grpc.Image.UpdateImageInput(this);
result.id_ = id_;
result.name_ = name_;
result.imageData_ = imageData_;
if (localizedImageDataBuilder_ == null) {
result.localizedImageData_ = localizedImageData_;
} else {
result.localizedImageData_ = localizedImageDataBuilder_.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.Image.UpdateImageInput) {
return mergeFrom((com.passkit.grpc.Image.UpdateImageInput)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.Image.UpdateImageInput other) {
if (other == com.passkit.grpc.Image.UpdateImageInput.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getImageData().isEmpty()) {
imageData_ = other.imageData_;
onChanged();
}
if (other.hasLocalizedImageData()) {
mergeLocalizedImageData(other.getLocalizedImageData());
}
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.Image.UpdateImageInput parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.Image.UpdateImageInput) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object id_ = "";
/**
*
* The image id.
*
*
* string id = 1;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The image id.
*
*
* string id = 1;
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The image id.
*
*
* string id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
*
* The image id.
*
*
* string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
*
* The image id.
*
*
* string id = 1;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
*
* Optional, if ommitted, the original name will remain the same.
*
*
* string name = 2;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Optional, if ommitted, the original name will remain the same.
*
*
* string name = 2;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Optional, if ommitted, the original name will remain the same.
*
*
* string name = 2;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* Optional, if ommitted, the original name will remain the same.
*
*
* string name = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* Optional, if ommitted, the original name will remain the same.
*
*
* string name = 2;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object imageData_ = "";
/**
*
* Optional, if ommitted, the original image will remain the same.
*
*
* string imageData = 3;
* @return The imageData.
*/
public java.lang.String getImageData() {
java.lang.Object ref = imageData_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
imageData_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Optional, if ommitted, the original image will remain the same.
*
*
* string imageData = 3;
* @return The bytes for imageData.
*/
public com.google.protobuf.ByteString
getImageDataBytes() {
java.lang.Object ref = imageData_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
imageData_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Optional, if ommitted, the original image will remain the same.
*
*
* string imageData = 3;
* @param value The imageData to set.
* @return This builder for chaining.
*/
public Builder setImageData(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
imageData_ = value;
onChanged();
return this;
}
/**
*
* Optional, if ommitted, the original image will remain the same.
*
*
* string imageData = 3;
* @return This builder for chaining.
*/
public Builder clearImageData() {
imageData_ = getDefaultInstance().getImageData();
onChanged();
return this;
}
/**
*
* Optional, if ommitted, the original image will remain the same.
*
*
* string imageData = 3;
* @param value The bytes for imageData to set.
* @return This builder for chaining.
*/
public Builder setImageDataBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
imageData_ = value;
onChanged();
return this;
}
private com.passkit.grpc.Localization.LocalizedString localizedImageData_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedImageDataBuilder_;
/**
*
* Optional, provided localizations will be added/replaced, existing ommitted localizations will remain in place.
*
*
* .io.LocalizedString localizedImageData = 4;
* @return Whether the localizedImageData field is set.
*/
public boolean hasLocalizedImageData() {
return localizedImageDataBuilder_ != null || localizedImageData_ != null;
}
/**
*
* Optional, provided localizations will be added/replaced, existing ommitted localizations will remain in place.
*
*
* .io.LocalizedString localizedImageData = 4;
* @return The localizedImageData.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedImageData() {
if (localizedImageDataBuilder_ == null) {
return localizedImageData_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedImageData_;
} else {
return localizedImageDataBuilder_.getMessage();
}
}
/**
*
* Optional, provided localizations will be added/replaced, existing ommitted localizations will remain in place.
*
*
* .io.LocalizedString localizedImageData = 4;
*/
public Builder setLocalizedImageData(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedImageDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedImageData_ = value;
onChanged();
} else {
localizedImageDataBuilder_.setMessage(value);
}
return this;
}
/**
*
* Optional, provided localizations will be added/replaced, existing ommitted localizations will remain in place.
*
*
* .io.LocalizedString localizedImageData = 4;
*/
public Builder setLocalizedImageData(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedImageDataBuilder_ == null) {
localizedImageData_ = builderForValue.build();
onChanged();
} else {
localizedImageDataBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Optional, provided localizations will be added/replaced, existing ommitted localizations will remain in place.
*
*
* .io.LocalizedString localizedImageData = 4;
*/
public Builder mergeLocalizedImageData(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedImageDataBuilder_ == null) {
if (localizedImageData_ != null) {
localizedImageData_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedImageData_).mergeFrom(value).buildPartial();
} else {
localizedImageData_ = value;
}
onChanged();
} else {
localizedImageDataBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Optional, provided localizations will be added/replaced, existing ommitted localizations will remain in place.
*
*
* .io.LocalizedString localizedImageData = 4;
*/
public Builder clearLocalizedImageData() {
if (localizedImageDataBuilder_ == null) {
localizedImageData_ = null;
onChanged();
} else {
localizedImageData_ = null;
localizedImageDataBuilder_ = null;
}
return this;
}
/**
*
* Optional, provided localizations will be added/replaced, existing ommitted localizations will remain in place.
*
*
* .io.LocalizedString localizedImageData = 4;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedImageDataBuilder() {
onChanged();
return getLocalizedImageDataFieldBuilder().getBuilder();
}
/**
*
* Optional, provided localizations will be added/replaced, existing ommitted localizations will remain in place.
*
*
* .io.LocalizedString localizedImageData = 4;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedImageDataOrBuilder() {
if (localizedImageDataBuilder_ != null) {
return localizedImageDataBuilder_.getMessageOrBuilder();
} else {
return localizedImageData_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedImageData_;
}
}
/**
*
* Optional, provided localizations will be added/replaced, existing ommitted localizations will remain in place.
*
*
* .io.LocalizedString localizedImageData = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedImageDataFieldBuilder() {
if (localizedImageDataBuilder_ == null) {
localizedImageDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedImageData(),
getParentForChildren(),
isClean());
localizedImageData_ = null;
}
return localizedImageDataBuilder_;
}
@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.UpdateImageInput)
}
// @@protoc_insertion_point(class_scope:io.UpdateImageInput)
private static final com.passkit.grpc.Image.UpdateImageInput DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.Image.UpdateImageInput();
}
public static com.passkit.grpc.Image.UpdateImageInput getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UpdateImageInput parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UpdateImageInput(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.Image.UpdateImageInput getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ImageBundleOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.ImageBundle)
com.google.protobuf.MessageOrBuilder {
/**
* bytes image = 1;
* @return The image.
*/
com.google.protobuf.ByteString getImage();
}
/**
* Protobuf type {@code io.ImageBundle}
*/
public static final class ImageBundle extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.ImageBundle)
ImageBundleOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImageBundle.newBuilder() to construct.
private ImageBundle(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImageBundle() {
image_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImageBundle();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImageBundle(
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: {
image_ = input.readBytes();
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.Image.internal_static_io_ImageBundle_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_ImageBundle_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.ImageBundle.class, com.passkit.grpc.Image.ImageBundle.Builder.class);
}
public static final int IMAGE_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString image_;
/**
* bytes image = 1;
* @return The image.
*/
@java.lang.Override
public com.google.protobuf.ByteString getImage() {
return image_;
}
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 (!image_.isEmpty()) {
output.writeBytes(1, image_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!image_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, image_);
}
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.Image.ImageBundle)) {
return super.equals(obj);
}
com.passkit.grpc.Image.ImageBundle other = (com.passkit.grpc.Image.ImageBundle) obj;
if (!getImage()
.equals(other.getImage())) 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) + IMAGE_FIELD_NUMBER;
hash = (53 * hash) + getImage().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.Image.ImageBundle parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.ImageBundle 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.Image.ImageBundle parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.ImageBundle 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.Image.ImageBundle parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.ImageBundle parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Image.ImageBundle parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.ImageBundle 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.Image.ImageBundle parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.ImageBundle 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.Image.ImageBundle parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.ImageBundle 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.Image.ImageBundle 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.ImageBundle}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.ImageBundle)
com.passkit.grpc.Image.ImageBundleOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Image.internal_static_io_ImageBundle_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_ImageBundle_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.ImageBundle.class, com.passkit.grpc.Image.ImageBundle.Builder.class);
}
// Construct using com.passkit.grpc.Image.ImageBundle.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();
image_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.Image.internal_static_io_ImageBundle_descriptor;
}
@java.lang.Override
public com.passkit.grpc.Image.ImageBundle getDefaultInstanceForType() {
return com.passkit.grpc.Image.ImageBundle.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.Image.ImageBundle build() {
com.passkit.grpc.Image.ImageBundle result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.Image.ImageBundle buildPartial() {
com.passkit.grpc.Image.ImageBundle result = new com.passkit.grpc.Image.ImageBundle(this);
result.image_ = image_;
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.Image.ImageBundle) {
return mergeFrom((com.passkit.grpc.Image.ImageBundle)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.Image.ImageBundle other) {
if (other == com.passkit.grpc.Image.ImageBundle.getDefaultInstance()) return this;
if (other.getImage() != com.google.protobuf.ByteString.EMPTY) {
setImage(other.getImage());
}
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.Image.ImageBundle parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.Image.ImageBundle) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString image_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes image = 1;
* @return The image.
*/
@java.lang.Override
public com.google.protobuf.ByteString getImage() {
return image_;
}
/**
* bytes image = 1;
* @param value The image to set.
* @return This builder for chaining.
*/
public Builder setImage(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
image_ = value;
onChanged();
return this;
}
/**
* bytes image = 1;
* @return This builder for chaining.
*/
public Builder clearImage() {
image_ = getDefaultInstance().getImage();
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.ImageBundle)
}
// @@protoc_insertion_point(class_scope:io.ImageBundle)
private static final com.passkit.grpc.Image.ImageBundle DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.Image.ImageBundle();
}
public static com.passkit.grpc.Image.ImageBundle getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImageBundle parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImageBundle(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.Image.ImageBundle getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LocalizedImageInputOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.LocalizedImageInput)
com.google.protobuf.MessageOrBuilder {
/**
*
* Image id.
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* Image id.
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* Language code of the image.
*
*
* string languageCode = 2;
* @return The languageCode.
*/
java.lang.String getLanguageCode();
/**
*
* Language code of the image.
*
*
* string languageCode = 2;
* @return The bytes for languageCode.
*/
com.google.protobuf.ByteString
getLanguageCodeBytes();
}
/**
* Protobuf type {@code io.LocalizedImageInput}
*/
public static final class LocalizedImageInput extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.LocalizedImageInput)
LocalizedImageInputOrBuilder {
private static final long serialVersionUID = 0L;
// Use LocalizedImageInput.newBuilder() to construct.
private LocalizedImageInput(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LocalizedImageInput() {
id_ = "";
languageCode_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LocalizedImageInput();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LocalizedImageInput(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
id_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
languageCode_ = 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.Image.internal_static_io_LocalizedImageInput_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_LocalizedImageInput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.LocalizedImageInput.class, com.passkit.grpc.Image.LocalizedImageInput.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
*
* Image id.
*
*
* string id = 1;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
*
* Image id.
*
*
* string id = 1;
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LANGUAGECODE_FIELD_NUMBER = 2;
private volatile java.lang.Object languageCode_;
/**
*
* Language code of the image.
*
*
* string languageCode = 2;
* @return The languageCode.
*/
@java.lang.Override
public java.lang.String getLanguageCode() {
java.lang.Object ref = languageCode_;
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();
languageCode_ = s;
return s;
}
}
/**
*
* Language code of the image.
*
*
* string languageCode = 2;
* @return The bytes for languageCode.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLanguageCodeBytes() {
java.lang.Object ref = languageCode_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
languageCode_ = 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 (!getLanguageCodeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, languageCode_);
}
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 (!getLanguageCodeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, languageCode_);
}
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.Image.LocalizedImageInput)) {
return super.equals(obj);
}
com.passkit.grpc.Image.LocalizedImageInput other = (com.passkit.grpc.Image.LocalizedImageInput) obj;
if (!getId()
.equals(other.getId())) return false;
if (!getLanguageCode()
.equals(other.getLanguageCode())) 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) + LANGUAGECODE_FIELD_NUMBER;
hash = (53 * hash) + getLanguageCode().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.Image.LocalizedImageInput parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.LocalizedImageInput 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.Image.LocalizedImageInput parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.LocalizedImageInput 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.Image.LocalizedImageInput parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.Image.LocalizedImageInput parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.Image.LocalizedImageInput parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.LocalizedImageInput 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.Image.LocalizedImageInput parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.LocalizedImageInput 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.Image.LocalizedImageInput parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.Image.LocalizedImageInput 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.Image.LocalizedImageInput 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.LocalizedImageInput}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.LocalizedImageInput)
com.passkit.grpc.Image.LocalizedImageInputOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.Image.internal_static_io_LocalizedImageInput_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.Image.internal_static_io_LocalizedImageInput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.Image.LocalizedImageInput.class, com.passkit.grpc.Image.LocalizedImageInput.Builder.class);
}
// Construct using com.passkit.grpc.Image.LocalizedImageInput.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_ = "";
languageCode_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.Image.internal_static_io_LocalizedImageInput_descriptor;
}
@java.lang.Override
public com.passkit.grpc.Image.LocalizedImageInput getDefaultInstanceForType() {
return com.passkit.grpc.Image.LocalizedImageInput.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.Image.LocalizedImageInput build() {
com.passkit.grpc.Image.LocalizedImageInput result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.Image.LocalizedImageInput buildPartial() {
com.passkit.grpc.Image.LocalizedImageInput result = new com.passkit.grpc.Image.LocalizedImageInput(this);
result.id_ = id_;
result.languageCode_ = languageCode_;
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.Image.LocalizedImageInput) {
return mergeFrom((com.passkit.grpc.Image.LocalizedImageInput)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.Image.LocalizedImageInput other) {
if (other == com.passkit.grpc.Image.LocalizedImageInput.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (!other.getLanguageCode().isEmpty()) {
languageCode_ = other.languageCode_;
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.Image.LocalizedImageInput parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.Image.LocalizedImageInput) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object id_ = "";
/**
*
* Image id.
*
*
* string id = 1;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Image id.
*
*
* string id = 1;
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Image id.
*
*
* string id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
*
* Image id.
*
*
* string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
*
* Image id.
*
*
* string id = 1;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
onChanged();
return this;
}
private java.lang.Object languageCode_ = "";
/**
*
* Language code of the image.
*
*
* string languageCode = 2;
* @return The languageCode.
*/
public java.lang.String getLanguageCode() {
java.lang.Object ref = languageCode_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
languageCode_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Language code of the image.
*
*
* string languageCode = 2;
* @return The bytes for languageCode.
*/
public com.google.protobuf.ByteString
getLanguageCodeBytes() {
java.lang.Object ref = languageCode_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
languageCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Language code of the image.
*
*
* string languageCode = 2;
* @param value The languageCode to set.
* @return This builder for chaining.
*/
public Builder setLanguageCode(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
languageCode_ = value;
onChanged();
return this;
}
/**
*
* Language code of the image.
*
*
* string languageCode = 2;
* @return This builder for chaining.
*/
public Builder clearLanguageCode() {
languageCode_ = getDefaultInstance().getLanguageCode();
onChanged();
return this;
}
/**
*
* Language code of the image.
*
*
* string languageCode = 2;
* @param value The bytes for languageCode to set.
* @return This builder for chaining.
*/
public Builder setLanguageCodeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
languageCode_ = 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.LocalizedImageInput)
}
// @@protoc_insertion_point(class_scope:io.LocalizedImageInput)
private static final com.passkit.grpc.Image.LocalizedImageInput DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.Image.LocalizedImageInput();
}
public static com.passkit.grpc.Image.LocalizedImageInput getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public LocalizedImageInput parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LocalizedImageInput(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.Image.LocalizedImageInput getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_ImageIds_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_ImageIds_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_ImageData_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_ImageData_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_ImageRecord_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_ImageRecord_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_ProfileImageInput_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_ProfileImageInput_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_MultipleImages_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_MultipleImages_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_CreateImageInput_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_CreateImageInput_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_UpdateImageInput_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_UpdateImageInput_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_ImageBundle_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_ImageBundle_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_LocalizedImageInput_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_LocalizedImageInput_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/image/image.proto\022\002io\032\034io/common/lo" +
"calization.proto\032.protoc-gen-openapiv2/o" +
"ptions/annotations.proto\032\037google/protobu" +
"f/timestamp.proto\"\360\002\n\010ImageIds\022\014\n\004icon\030\001" +
" \001(\t\022\014\n\004logo\030\002 \001(\t\022\021\n\tappleLogo\030\003 \001(\t\022\014\n" +
"\004hero\030\004 \001(\t\022\022\n\neventStrip\030\005 \001(\t\022\r\n\005strip" +
"\030\006 \001(\t\022\021\n\tthumbnail\030\007 \001(\t\022\022\n\nbackground\030" +
"\010 \001(\t\022\016\n\006footer\030\t \001(\t\022\020\n\010security\030\n \001(\t\022" +
"\021\n\tprivilege\030\013 \001(\t\022\027\n\017airlineAlliance\030\014 " +
"\001(\t\022\027\n\017personalization\030\r \001(\t\022\016\n\006banner\030\016" +
" \001(\t\022\017\n\007message\030\017 \001(\t\022\017\n\007profile\030\020 \001(\t\022\020" +
"\n\010appImage\030\021 \001(\t:2\222A/\n-*\tImage Ids2\031This" +
" manages images by id\322\001\004icon\"\346\010\n\tImageDa" +
"ta\022\014\n\004icon\030\001 \001(\t\022\014\n\004logo\030\002 \001(\t\022\021\n\tappleL" +
"ogo\030\003 \001(\t\022\014\n\004hero\030\004 \001(\t\022\022\n\neventStrip\030\005 " +
"\001(\t\022\r\n\005strip\030\006 \001(\t\022\021\n\tthumbnail\030\007 \001(\t\022\022\n" +
"\nbackground\030\010 \001(\t\022\016\n\006footer\030\t \001(\t\022\020\n\010sec" +
"urity\030\n \001(\t\022\021\n\tprivilege\030\013 \001(\t\022\027\n\017airlin" +
"eAlliance\030\014 \001(\t\022\027\n\017personalization\030\r \001(\t" +
"\022\016\n\006banner\030\016 \001(\t\022\017\n\007message\030\017 \001(\t\022\017\n\007pro" +
"file\030\020 \001(\t\022\020\n\010appImage\030\021 \001(\t\022*\n\rlocalize" +
"dIcon\030\037 \001(\0132\023.io.LocalizedString\022*\n\rloca" +
"lizedLogo\030 \001(\0132\023.io.LocalizedString\022/\n\022" +
"localizedAppleLogo\030! \001(\0132\023.io.LocalizedS" +
"tring\022*\n\rlocalizedHero\030\" \001(\0132\023.io.Locali" +
"zedString\0220\n\023localizedEventStrip\030# \001(\0132\023" +
".io.LocalizedString\022+\n\016localizedStrip\030$ " +
"\001(\0132\023.io.LocalizedString\022/\n\022localizedThu" +
"mbnail\030% \001(\0132\023.io.LocalizedString\0220\n\023loc" +
"alizedBackground\030& \001(\0132\023.io.LocalizedStr" +
"ing\022,\n\017localizedFooter\030\' \001(\0132\023.io.Locali" +
"zedString\022.\n\021localizedSecurity\030( \001(\0132\023.i" +
"o.LocalizedString\022/\n\022localizedPrivilege\030" +
") \001(\0132\023.io.LocalizedString\0225\n\030localizedA" +
"irlineAlliance\030* \001(\0132\023.io.LocalizedStrin" +
"g\0225\n\030localizedPersonalization\030+ \001(\0132\023.io" +
".LocalizedString\022,\n\017localizedBanner\030, \001(" +
"\0132\023.io.LocalizedString\022-\n\020localizedMessa" +
"ge\030- \001(\0132\023.io.LocalizedString:V\222AS\nQ*\nIm" +
"age Data2CImage data can be provided as " +
"either a url or base 64 encoded data.\"\351\001" +
"\n\013ImageRecord\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022" +
"\013\n\003url\030\003 \001(\t\022\031\n\003use\030\005 \001(\0162\014.io.ImageUse\022" +
"#\n\tlanguages\030\006 \003(\0162\020.io.LanguageCode\022\025\n\r" +
"ownerUsername\030\007 \001(\t\022-\n\tcreatedAt\030\010 \001(\0132\032" +
".google.protobuf.Timestamp\022-\n\tupdatedAt\030" +
"\t \001(\0132\032.google.protobuf.Timestamp\"&\n\021Pro" +
"fileImageInput\022\021\n\timageData\030\001 \001(\t\"1\n\016Mul" +
"tipleImages\022\037\n\006images\030\001 \003(\0132\017.io.ImageRe" +
"cord\"\214\001\n\020CreateImageInput\022\014\n\004name\030\001 \001(\t\022" +
" \n\timageData\030\002 \001(\0132\r.io.ImageData:H\222AE\nC" +
"*\022Create Image Input2\032This creates image" +
" record.\322\001\004name\322\001\timageData\"\302\001\n\020UpdateIm" +
"ageInput\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\021\n\tim" +
"ageData\030\003 \001(\t\022/\n\022localizedImageData\030\004 \001(" +
"\0132\023.io.LocalizedString:P\222AM\nK*\022Update Im" +
"age Input20This manages images set for d" +
"ifferent languages.\322\001\002id\"\034\n\013ImageBundle\022" +
"\r\n\005image\030\001 \001(\014\"\233\001\n\023LocalizedImageInput\022\n" +
"\n\002id\030\001 \001(\t\022\024\n\014languageCode\030\002 \001(\t:b\222A_\n]*" +
"\025Localized Image Input20This manages ima" +
"ges set for different languages.\322\001\002id\322\001\014" +
"languageCode*\370\001\n\010ImageUse\022\010\n\004icon\020\000\022\010\n\004l" +
"ogo\020\001\022\r\n\tappleLogo\020\002\022\010\n\004hero\020\003\022\016\n\neventS" +
"trip\020\004\022\t\n\005strip\020\005\022\r\n\tthumbnail\020\006\022\016\n\nback" +
"ground\020\007\022\n\n\006footer\020\010\022\014\n\010security\020\t\022\r\n\tpr" +
"ivilege\020\n\022\023\n\017airlineAlliance\020\013\022\023\n\017person" +
"alization\020\014\022\n\n\006banner\020\r\022\013\n\007message\020\016\022\013\n\007" +
"profile\020\017\022\014\n\010appImage\020\020BG\n\020com.passkit.g" +
"rpcZ$stash.passkit.com/io/model/sdk/go/i" +
"o\252\002\014PassKit.Grpcb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.passkit.grpc.Localization.getDescriptor(),
grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_io_ImageIds_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_io_ImageIds_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_ImageIds_descriptor,
new java.lang.String[] { "Icon", "Logo", "AppleLogo", "Hero", "EventStrip", "Strip", "Thumbnail", "Background", "Footer", "Security", "Privilege", "AirlineAlliance", "Personalization", "Banner", "Message", "Profile", "AppImage", });
internal_static_io_ImageData_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_io_ImageData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_ImageData_descriptor,
new java.lang.String[] { "Icon", "Logo", "AppleLogo", "Hero", "EventStrip", "Strip", "Thumbnail", "Background", "Footer", "Security", "Privilege", "AirlineAlliance", "Personalization", "Banner", "Message", "Profile", "AppImage", "LocalizedIcon", "LocalizedLogo", "LocalizedAppleLogo", "LocalizedHero", "LocalizedEventStrip", "LocalizedStrip", "LocalizedThumbnail", "LocalizedBackground", "LocalizedFooter", "LocalizedSecurity", "LocalizedPrivilege", "LocalizedAirlineAlliance", "LocalizedPersonalization", "LocalizedBanner", "LocalizedMessage", });
internal_static_io_ImageRecord_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_io_ImageRecord_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_ImageRecord_descriptor,
new java.lang.String[] { "Id", "Name", "Url", "Use", "Languages", "OwnerUsername", "CreatedAt", "UpdatedAt", });
internal_static_io_ProfileImageInput_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_io_ProfileImageInput_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_ProfileImageInput_descriptor,
new java.lang.String[] { "ImageData", });
internal_static_io_MultipleImages_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_io_MultipleImages_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_MultipleImages_descriptor,
new java.lang.String[] { "Images", });
internal_static_io_CreateImageInput_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_io_CreateImageInput_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_CreateImageInput_descriptor,
new java.lang.String[] { "Name", "ImageData", });
internal_static_io_UpdateImageInput_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_io_UpdateImageInput_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_UpdateImageInput_descriptor,
new java.lang.String[] { "Id", "Name", "ImageData", "LocalizedImageData", });
internal_static_io_ImageBundle_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_io_ImageBundle_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_ImageBundle_descriptor,
new java.lang.String[] { "Image", });
internal_static_io_LocalizedImageInput_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_io_LocalizedImageInput_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_LocalizedImageInput_descriptor,
new java.lang.String[] { "Id", "LanguageCode", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(grpc.gateway.protoc_gen_openapiv2.options.Annotations.openapiv2Schema);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.passkit.grpc.Localization.getDescriptor();
grpc.gateway.protoc_gen_openapiv2.options.Annotations.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}