com.passkit.grpc.MessageOuterClass 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/common/message.proto
package com.passkit.grpc;
public final class MessageOuterClass {
private MessageOuterClass() {}
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.MessageStatus}
*/
public enum MessageStatus
implements com.google.protobuf.ProtocolMessageEnum {
/**
* CREATED = 0;
*/
CREATED(0),
/**
* PROCESSING = 1;
*/
PROCESSING(1),
/**
* ABORTED_WITH_ERRORS = 2;
*/
ABORTED_WITH_ERRORS(2),
/**
* COMPLETED_WITH_WARNINGS = 3;
*/
COMPLETED_WITH_WARNINGS(3),
/**
* COMPLETED_WITH_ERRORS = 4;
*/
COMPLETED_WITH_ERRORS(4),
/**
* COMPLETED_WITHOUT_ERRORS = 5;
*/
COMPLETED_WITHOUT_ERRORS(5),
UNRECOGNIZED(-1),
;
/**
* CREATED = 0;
*/
public static final int CREATED_VALUE = 0;
/**
* PROCESSING = 1;
*/
public static final int PROCESSING_VALUE = 1;
/**
* ABORTED_WITH_ERRORS = 2;
*/
public static final int ABORTED_WITH_ERRORS_VALUE = 2;
/**
* COMPLETED_WITH_WARNINGS = 3;
*/
public static final int COMPLETED_WITH_WARNINGS_VALUE = 3;
/**
* COMPLETED_WITH_ERRORS = 4;
*/
public static final int COMPLETED_WITH_ERRORS_VALUE = 4;
/**
* COMPLETED_WITHOUT_ERRORS = 5;
*/
public static final int COMPLETED_WITHOUT_ERRORS_VALUE = 5;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static MessageStatus 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 MessageStatus forNumber(int value) {
switch (value) {
case 0: return CREATED;
case 1: return PROCESSING;
case 2: return ABORTED_WITH_ERRORS;
case 3: return COMPLETED_WITH_WARNINGS;
case 4: return COMPLETED_WITH_ERRORS;
case 5: return COMPLETED_WITHOUT_ERRORS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
MessageStatus> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public MessageStatus findValueByNumber(int number) {
return MessageStatus.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.MessageOuterClass.getDescriptor().getEnumTypes().get(0);
}
private static final MessageStatus[] VALUES = values();
public static MessageStatus 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 MessageStatus(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:io.MessageStatus)
}
public interface MessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.Message)
com.google.protobuf.MessageOrBuilder {
/**
*
* the protocol that this message is associated with.
*
*
* .io.PassProtocol protocol = 1;
* @return The enum numeric value on the wire for protocol.
*/
int getProtocolValue();
/**
*
* the protocol that this message is associated with.
*
*
* .io.PassProtocol protocol = 1;
* @return The protocol.
*/
com.passkit.grpc.Protocols.PassProtocol getProtocol();
/**
*
* the id of the company that made the message
*
*
* string companyId = 2;
* @return The companyId.
*/
java.lang.String getCompanyId();
/**
*
* the id of the company that made the message
*
*
* string companyId = 2;
* @return The bytes for companyId.
*/
com.google.protobuf.ByteString
getCompanyIdBytes();
/**
*
* the higher level class id for the protocol.
*
*
* string classId = 3;
* @return The classId.
*/
java.lang.String getClassId();
/**
*
* the higher level class id for the protocol.
*
*
* string classId = 3;
* @return The bytes for classId.
*/
com.google.protobuf.ByteString
getClassIdBytes();
/**
*
* the unique id for this message
*
*
* string uuid = 4;
* @return The uuid.
*/
java.lang.String getUuid();
/**
*
* the unique id for this message
*
*
* string uuid = 4;
* @return The bytes for uuid.
*/
com.google.protobuf.ByteString
getUuidBytes();
/**
*
* the status of the message.
*
*
* .io.MessageStatus status = 5;
* @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
*
* the status of the message.
*
*
* .io.MessageStatus status = 5;
* @return The status.
*/
com.passkit.grpc.MessageOuterClass.MessageStatus getStatus();
/**
*
* warning of any errors that may have occurred.
*
*
* string warning = 6;
* @return The warning.
*/
java.lang.String getWarning();
/**
*
* warning of any errors that may have occurred.
*
*
* string warning = 6;
* @return The bytes for warning.
*/
com.google.protobuf.ByteString
getWarningBytes();
/**
*
* Optional Image ID; for the Main Image that will be shown in Google Pay (Google Pay only; no image is shown for Apple Wallet).
*
*
* uint32 imageId = 7;
* @return The imageId.
*/
int getImageId();
/**
*
* Title (summary) of the message.
*
*
* string title = 8;
* @return The title.
*/
java.lang.String getTitle();
/**
*
* Title (summary) of the message.
*
*
* string title = 8;
* @return The bytes for title.
*/
com.google.protobuf.ByteString
getTitleBytes();
/**
*
* Localized title of the message.
*
*
* .io.LocalizedString localizedTitle = 9;
* @return Whether the localizedTitle field is set.
*/
boolean hasLocalizedTitle();
/**
*
* Localized title of the message.
*
*
* .io.LocalizedString localizedTitle = 9;
* @return The localizedTitle.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedTitle();
/**
*
* Localized title of the message.
*
*
* .io.LocalizedString localizedTitle = 9;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedTitleOrBuilder();
/**
*
* Content of the message (finer details).
*
*
* string content = 10;
* @return The content.
*/
java.lang.String getContent();
/**
*
* Content of the message (finer details).
*
*
* string content = 10;
* @return The bytes for content.
*/
com.google.protobuf.ByteString
getContentBytes();
/**
*
* Localized content of the message.
*
*
* .io.LocalizedString localizedContent = 11;
* @return Whether the localizedContent field is set.
*/
boolean hasLocalizedContent();
/**
*
* Localized content of the message.
*
*
* .io.LocalizedString localizedContent = 11;
* @return The localizedContent.
*/
com.passkit.grpc.Localization.LocalizedString getLocalizedContent();
/**
*
* Localized content of the message.
*
*
* .io.LocalizedString localizedContent = 11;
*/
com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedContentOrBuilder();
/**
*
* Start date indicates when the message is shown on the pass.
*
*
* .google.protobuf.Timestamp startDate = 12;
* @return Whether the startDate field is set.
*/
boolean hasStartDate();
/**
*
* Start date indicates when the message is shown on the pass.
*
*
* .google.protobuf.Timestamp startDate = 12;
* @return The startDate.
*/
com.google.protobuf.Timestamp getStartDate();
/**
*
* Start date indicates when the message is shown on the pass.
*
*
* .google.protobuf.Timestamp startDate = 12;
*/
com.google.protobuf.TimestampOrBuilder getStartDateOrBuilder();
/**
*
* End date indicates when the message is removed from the pass.
*
*
* .google.protobuf.Timestamp endDate = 13;
* @return Whether the endDate field is set.
*/
boolean hasEndDate();
/**
*
* End date indicates when the message is removed from the pass.
*
*
* .google.protobuf.Timestamp endDate = 13;
* @return The endDate.
*/
com.google.protobuf.Timestamp getEndDate();
/**
*
* End date indicates when the message is removed from the pass.
*
*
* .google.protobuf.Timestamp endDate = 13;
*/
com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder();
/**
*
* optional filter used determine which members qualify for this message.
*
*
* .io.Filter filter = 14;
* @return Whether the filter field is set.
*/
boolean hasFilter();
/**
*
* optional filter used determine which members qualify for this message.
*
*
* .io.Filter filter = 14;
* @return The filter.
*/
com.passkit.grpc.PaginationOuterClass.Filter getFilter();
/**
*
* optional filter used determine which members qualify for this message.
*
*
* .io.Filter filter = 14;
*/
com.passkit.grpc.PaginationOuterClass.FilterOrBuilder getFilterOrBuilder();
/**
*
* number of records this message will be sent to.
*
*
* uint32 recordsMatchingSegment = 15;
* @return The recordsMatchingSegment.
*/
int getRecordsMatchingSegment();
/**
*
* number of records updated with this message.
*
*
* uint32 recordsSuccessfullyUpdate = 16;
* @return The recordsSuccessfullyUpdate.
*/
int getRecordsSuccessfullyUpdate();
/**
*
* number of records that failed updated with this message.
*
*
* uint32 recordsFailedToUpdate = 17;
* @return The recordsFailedToUpdate.
*/
int getRecordsFailedToUpdate();
/**
*
* The date the message was created in the PassKit system.
*
*
* .google.protobuf.Timestamp created = 18;
* @return Whether the created field is set.
*/
boolean hasCreated();
/**
*
* The date the message was created in the PassKit system.
*
*
* .google.protobuf.Timestamp created = 18;
* @return The created.
*/
com.google.protobuf.Timestamp getCreated();
/**
*
* The date the message was created in the PassKit system.
*
*
* .google.protobuf.Timestamp created = 18;
*/
com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder();
}
/**
* Protobuf type {@code io.Message}
*/
public static final class Message extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.Message)
MessageOrBuilder {
private static final long serialVersionUID = 0L;
// Use Message.newBuilder() to construct.
private Message(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Message() {
protocol_ = 0;
companyId_ = "";
classId_ = "";
uuid_ = "";
status_ = 0;
warning_ = "";
title_ = "";
content_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Message();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Message(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int rawValue = input.readEnum();
protocol_ = rawValue;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
companyId_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
classId_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
uuid_ = s;
break;
}
case 40: {
int rawValue = input.readEnum();
status_ = rawValue;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
warning_ = s;
break;
}
case 56: {
imageId_ = input.readUInt32();
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
title_ = s;
break;
}
case 74: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedTitle_ != null) {
subBuilder = localizedTitle_.toBuilder();
}
localizedTitle_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedTitle_);
localizedTitle_ = subBuilder.buildPartial();
}
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
content_ = s;
break;
}
case 90: {
com.passkit.grpc.Localization.LocalizedString.Builder subBuilder = null;
if (localizedContent_ != null) {
subBuilder = localizedContent_.toBuilder();
}
localizedContent_ = input.readMessage(com.passkit.grpc.Localization.LocalizedString.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localizedContent_);
localizedContent_ = subBuilder.buildPartial();
}
break;
}
case 98: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (startDate_ != null) {
subBuilder = startDate_.toBuilder();
}
startDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(startDate_);
startDate_ = subBuilder.buildPartial();
}
break;
}
case 106: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (endDate_ != null) {
subBuilder = endDate_.toBuilder();
}
endDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(endDate_);
endDate_ = subBuilder.buildPartial();
}
break;
}
case 114: {
com.passkit.grpc.PaginationOuterClass.Filter.Builder subBuilder = null;
if (filter_ != null) {
subBuilder = filter_.toBuilder();
}
filter_ = input.readMessage(com.passkit.grpc.PaginationOuterClass.Filter.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(filter_);
filter_ = subBuilder.buildPartial();
}
break;
}
case 120: {
recordsMatchingSegment_ = input.readUInt32();
break;
}
case 128: {
recordsSuccessfullyUpdate_ = input.readUInt32();
break;
}
case 136: {
recordsFailedToUpdate_ = input.readUInt32();
break;
}
case 146: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (created_ != null) {
subBuilder = created_.toBuilder();
}
created_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(created_);
created_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.MessageOuterClass.internal_static_io_Message_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.MessageOuterClass.internal_static_io_Message_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.MessageOuterClass.Message.class, com.passkit.grpc.MessageOuterClass.Message.Builder.class);
}
public static final int PROTOCOL_FIELD_NUMBER = 1;
private int protocol_;
/**
*
* the protocol that this message is associated with.
*
*
* .io.PassProtocol protocol = 1;
* @return The enum numeric value on the wire for protocol.
*/
@java.lang.Override public int getProtocolValue() {
return protocol_;
}
/**
*
* the protocol that this message is associated with.
*
*
* .io.PassProtocol protocol = 1;
* @return The protocol.
*/
@java.lang.Override public com.passkit.grpc.Protocols.PassProtocol getProtocol() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Protocols.PassProtocol result = com.passkit.grpc.Protocols.PassProtocol.valueOf(protocol_);
return result == null ? com.passkit.grpc.Protocols.PassProtocol.UNRECOGNIZED : result;
}
public static final int COMPANYID_FIELD_NUMBER = 2;
private volatile java.lang.Object companyId_;
/**
*
* the id of the company that made the message
*
*
* string companyId = 2;
* @return The companyId.
*/
@java.lang.Override
public java.lang.String getCompanyId() {
java.lang.Object ref = companyId_;
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();
companyId_ = s;
return s;
}
}
/**
*
* the id of the company that made the message
*
*
* string companyId = 2;
* @return The bytes for companyId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCompanyIdBytes() {
java.lang.Object ref = companyId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
companyId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLASSID_FIELD_NUMBER = 3;
private volatile java.lang.Object classId_;
/**
*
* the higher level class id for the protocol.
*
*
* string classId = 3;
* @return The classId.
*/
@java.lang.Override
public java.lang.String getClassId() {
java.lang.Object ref = classId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
classId_ = s;
return s;
}
}
/**
*
* the higher level class id for the protocol.
*
*
* string classId = 3;
* @return The bytes for classId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClassIdBytes() {
java.lang.Object ref = classId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
classId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UUID_FIELD_NUMBER = 4;
private volatile java.lang.Object uuid_;
/**
*
* the unique id for this message
*
*
* string uuid = 4;
* @return The uuid.
*/
@java.lang.Override
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
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();
uuid_ = s;
return s;
}
}
/**
*
* the unique id for this message
*
*
* string uuid = 4;
* @return The bytes for uuid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUuidBytes() {
java.lang.Object ref = uuid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATUS_FIELD_NUMBER = 5;
private int status_;
/**
*
* the status of the message.
*
*
* .io.MessageStatus status = 5;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
*
* the status of the message.
*
*
* .io.MessageStatus status = 5;
* @return The status.
*/
@java.lang.Override public com.passkit.grpc.MessageOuterClass.MessageStatus getStatus() {
@SuppressWarnings("deprecation")
com.passkit.grpc.MessageOuterClass.MessageStatus result = com.passkit.grpc.MessageOuterClass.MessageStatus.valueOf(status_);
return result == null ? com.passkit.grpc.MessageOuterClass.MessageStatus.UNRECOGNIZED : result;
}
public static final int WARNING_FIELD_NUMBER = 6;
private volatile java.lang.Object warning_;
/**
*
* warning of any errors that may have occurred.
*
*
* string warning = 6;
* @return The warning.
*/
@java.lang.Override
public java.lang.String getWarning() {
java.lang.Object ref = warning_;
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();
warning_ = s;
return s;
}
}
/**
*
* warning of any errors that may have occurred.
*
*
* string warning = 6;
* @return The bytes for warning.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWarningBytes() {
java.lang.Object ref = warning_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
warning_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IMAGEID_FIELD_NUMBER = 7;
private int imageId_;
/**
*
* Optional Image ID; for the Main Image that will be shown in Google Pay (Google Pay only; no image is shown for Apple Wallet).
*
*
* uint32 imageId = 7;
* @return The imageId.
*/
@java.lang.Override
public int getImageId() {
return imageId_;
}
public static final int TITLE_FIELD_NUMBER = 8;
private volatile java.lang.Object title_;
/**
*
* Title (summary) of the message.
*
*
* string title = 8;
* @return The title.
*/
@java.lang.Override
public java.lang.String getTitle() {
java.lang.Object ref = title_;
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();
title_ = s;
return s;
}
}
/**
*
* Title (summary) of the message.
*
*
* string title = 8;
* @return The bytes for title.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTitleBytes() {
java.lang.Object ref = title_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
title_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCALIZEDTITLE_FIELD_NUMBER = 9;
private com.passkit.grpc.Localization.LocalizedString localizedTitle_;
/**
*
* Localized title of the message.
*
*
* .io.LocalizedString localizedTitle = 9;
* @return Whether the localizedTitle field is set.
*/
@java.lang.Override
public boolean hasLocalizedTitle() {
return localizedTitle_ != null;
}
/**
*
* Localized title of the message.
*
*
* .io.LocalizedString localizedTitle = 9;
* @return The localizedTitle.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedTitle() {
return localizedTitle_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedTitle_;
}
/**
*
* Localized title of the message.
*
*
* .io.LocalizedString localizedTitle = 9;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedTitleOrBuilder() {
return getLocalizedTitle();
}
public static final int CONTENT_FIELD_NUMBER = 10;
private volatile java.lang.Object content_;
/**
*
* Content of the message (finer details).
*
*
* string content = 10;
* @return The content.
*/
@java.lang.Override
public java.lang.String getContent() {
java.lang.Object ref = content_;
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();
content_ = s;
return s;
}
}
/**
*
* Content of the message (finer details).
*
*
* string content = 10;
* @return The bytes for content.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
content_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCALIZEDCONTENT_FIELD_NUMBER = 11;
private com.passkit.grpc.Localization.LocalizedString localizedContent_;
/**
*
* Localized content of the message.
*
*
* .io.LocalizedString localizedContent = 11;
* @return Whether the localizedContent field is set.
*/
@java.lang.Override
public boolean hasLocalizedContent() {
return localizedContent_ != null;
}
/**
*
* Localized content of the message.
*
*
* .io.LocalizedString localizedContent = 11;
* @return The localizedContent.
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedString getLocalizedContent() {
return localizedContent_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedContent_;
}
/**
*
* Localized content of the message.
*
*
* .io.LocalizedString localizedContent = 11;
*/
@java.lang.Override
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedContentOrBuilder() {
return getLocalizedContent();
}
public static final int STARTDATE_FIELD_NUMBER = 12;
private com.google.protobuf.Timestamp startDate_;
/**
*
* Start date indicates when the message is shown on the pass.
*
*
* .google.protobuf.Timestamp startDate = 12;
* @return Whether the startDate field is set.
*/
@java.lang.Override
public boolean hasStartDate() {
return startDate_ != null;
}
/**
*
* Start date indicates when the message is shown on the pass.
*
*
* .google.protobuf.Timestamp startDate = 12;
* @return The startDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getStartDate() {
return startDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startDate_;
}
/**
*
* Start date indicates when the message is shown on the pass.
*
*
* .google.protobuf.Timestamp startDate = 12;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStartDateOrBuilder() {
return getStartDate();
}
public static final int ENDDATE_FIELD_NUMBER = 13;
private com.google.protobuf.Timestamp endDate_;
/**
*
* End date indicates when the message is removed from the pass.
*
*
* .google.protobuf.Timestamp endDate = 13;
* @return Whether the endDate field is set.
*/
@java.lang.Override
public boolean hasEndDate() {
return endDate_ != null;
}
/**
*
* End date indicates when the message is removed from the pass.
*
*
* .google.protobuf.Timestamp endDate = 13;
* @return The endDate.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getEndDate() {
return endDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endDate_;
}
/**
*
* End date indicates when the message is removed from the pass.
*
*
* .google.protobuf.Timestamp endDate = 13;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder() {
return getEndDate();
}
public static final int FILTER_FIELD_NUMBER = 14;
private com.passkit.grpc.PaginationOuterClass.Filter filter_;
/**
*
* optional filter used determine which members qualify for this message.
*
*
* .io.Filter filter = 14;
* @return Whether the filter field is set.
*/
@java.lang.Override
public boolean hasFilter() {
return filter_ != null;
}
/**
*
* optional filter used determine which members qualify for this message.
*
*
* .io.Filter filter = 14;
* @return The filter.
*/
@java.lang.Override
public com.passkit.grpc.PaginationOuterClass.Filter getFilter() {
return filter_ == null ? com.passkit.grpc.PaginationOuterClass.Filter.getDefaultInstance() : filter_;
}
/**
*
* optional filter used determine which members qualify for this message.
*
*
* .io.Filter filter = 14;
*/
@java.lang.Override
public com.passkit.grpc.PaginationOuterClass.FilterOrBuilder getFilterOrBuilder() {
return getFilter();
}
public static final int RECORDSMATCHINGSEGMENT_FIELD_NUMBER = 15;
private int recordsMatchingSegment_;
/**
*
* number of records this message will be sent to.
*
*
* uint32 recordsMatchingSegment = 15;
* @return The recordsMatchingSegment.
*/
@java.lang.Override
public int getRecordsMatchingSegment() {
return recordsMatchingSegment_;
}
public static final int RECORDSSUCCESSFULLYUPDATE_FIELD_NUMBER = 16;
private int recordsSuccessfullyUpdate_;
/**
*
* number of records updated with this message.
*
*
* uint32 recordsSuccessfullyUpdate = 16;
* @return The recordsSuccessfullyUpdate.
*/
@java.lang.Override
public int getRecordsSuccessfullyUpdate() {
return recordsSuccessfullyUpdate_;
}
public static final int RECORDSFAILEDTOUPDATE_FIELD_NUMBER = 17;
private int recordsFailedToUpdate_;
/**
*
* number of records that failed updated with this message.
*
*
* uint32 recordsFailedToUpdate = 17;
* @return The recordsFailedToUpdate.
*/
@java.lang.Override
public int getRecordsFailedToUpdate() {
return recordsFailedToUpdate_;
}
public static final int CREATED_FIELD_NUMBER = 18;
private com.google.protobuf.Timestamp created_;
/**
*
* The date the message was created in the PassKit system.
*
*
* .google.protobuf.Timestamp created = 18;
* @return Whether the created field is set.
*/
@java.lang.Override
public boolean hasCreated() {
return created_ != null;
}
/**
*
* The date the message was created in the PassKit system.
*
*
* .google.protobuf.Timestamp created = 18;
* @return The created.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getCreated() {
return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_;
}
/**
*
* The date the message was created in the PassKit system.
*
*
* .google.protobuf.Timestamp created = 18;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() {
return getCreated();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (protocol_ != com.passkit.grpc.Protocols.PassProtocol.PASS_PROTOCOL_DO_NOT_USE.getNumber()) {
output.writeEnum(1, protocol_);
}
if (!getCompanyIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, companyId_);
}
if (!getClassIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, classId_);
}
if (!getUuidBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, uuid_);
}
if (status_ != com.passkit.grpc.MessageOuterClass.MessageStatus.CREATED.getNumber()) {
output.writeEnum(5, status_);
}
if (!getWarningBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, warning_);
}
if (imageId_ != 0) {
output.writeUInt32(7, imageId_);
}
if (!getTitleBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, title_);
}
if (localizedTitle_ != null) {
output.writeMessage(9, getLocalizedTitle());
}
if (!getContentBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, content_);
}
if (localizedContent_ != null) {
output.writeMessage(11, getLocalizedContent());
}
if (startDate_ != null) {
output.writeMessage(12, getStartDate());
}
if (endDate_ != null) {
output.writeMessage(13, getEndDate());
}
if (filter_ != null) {
output.writeMessage(14, getFilter());
}
if (recordsMatchingSegment_ != 0) {
output.writeUInt32(15, recordsMatchingSegment_);
}
if (recordsSuccessfullyUpdate_ != 0) {
output.writeUInt32(16, recordsSuccessfullyUpdate_);
}
if (recordsFailedToUpdate_ != 0) {
output.writeUInt32(17, recordsFailedToUpdate_);
}
if (created_ != null) {
output.writeMessage(18, getCreated());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (protocol_ != com.passkit.grpc.Protocols.PassProtocol.PASS_PROTOCOL_DO_NOT_USE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, protocol_);
}
if (!getCompanyIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, companyId_);
}
if (!getClassIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, classId_);
}
if (!getUuidBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, uuid_);
}
if (status_ != com.passkit.grpc.MessageOuterClass.MessageStatus.CREATED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, status_);
}
if (!getWarningBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, warning_);
}
if (imageId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, imageId_);
}
if (!getTitleBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, title_);
}
if (localizedTitle_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getLocalizedTitle());
}
if (!getContentBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, content_);
}
if (localizedContent_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getLocalizedContent());
}
if (startDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getStartDate());
}
if (endDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getEndDate());
}
if (filter_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, getFilter());
}
if (recordsMatchingSegment_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, recordsMatchingSegment_);
}
if (recordsSuccessfullyUpdate_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(16, recordsSuccessfullyUpdate_);
}
if (recordsFailedToUpdate_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(17, recordsFailedToUpdate_);
}
if (created_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, getCreated());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.passkit.grpc.MessageOuterClass.Message)) {
return super.equals(obj);
}
com.passkit.grpc.MessageOuterClass.Message other = (com.passkit.grpc.MessageOuterClass.Message) obj;
if (protocol_ != other.protocol_) return false;
if (!getCompanyId()
.equals(other.getCompanyId())) return false;
if (!getClassId()
.equals(other.getClassId())) return false;
if (!getUuid()
.equals(other.getUuid())) return false;
if (status_ != other.status_) return false;
if (!getWarning()
.equals(other.getWarning())) return false;
if (getImageId()
!= other.getImageId()) return false;
if (!getTitle()
.equals(other.getTitle())) return false;
if (hasLocalizedTitle() != other.hasLocalizedTitle()) return false;
if (hasLocalizedTitle()) {
if (!getLocalizedTitle()
.equals(other.getLocalizedTitle())) return false;
}
if (!getContent()
.equals(other.getContent())) return false;
if (hasLocalizedContent() != other.hasLocalizedContent()) return false;
if (hasLocalizedContent()) {
if (!getLocalizedContent()
.equals(other.getLocalizedContent())) return false;
}
if (hasStartDate() != other.hasStartDate()) return false;
if (hasStartDate()) {
if (!getStartDate()
.equals(other.getStartDate())) return false;
}
if (hasEndDate() != other.hasEndDate()) return false;
if (hasEndDate()) {
if (!getEndDate()
.equals(other.getEndDate())) return false;
}
if (hasFilter() != other.hasFilter()) return false;
if (hasFilter()) {
if (!getFilter()
.equals(other.getFilter())) return false;
}
if (getRecordsMatchingSegment()
!= other.getRecordsMatchingSegment()) return false;
if (getRecordsSuccessfullyUpdate()
!= other.getRecordsSuccessfullyUpdate()) return false;
if (getRecordsFailedToUpdate()
!= other.getRecordsFailedToUpdate()) return false;
if (hasCreated() != other.hasCreated()) return false;
if (hasCreated()) {
if (!getCreated()
.equals(other.getCreated())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PROTOCOL_FIELD_NUMBER;
hash = (53 * hash) + protocol_;
hash = (37 * hash) + COMPANYID_FIELD_NUMBER;
hash = (53 * hash) + getCompanyId().hashCode();
hash = (37 * hash) + CLASSID_FIELD_NUMBER;
hash = (53 * hash) + getClassId().hashCode();
hash = (37 * hash) + UUID_FIELD_NUMBER;
hash = (53 * hash) + getUuid().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
hash = (37 * hash) + WARNING_FIELD_NUMBER;
hash = (53 * hash) + getWarning().hashCode();
hash = (37 * hash) + IMAGEID_FIELD_NUMBER;
hash = (53 * hash) + getImageId();
hash = (37 * hash) + TITLE_FIELD_NUMBER;
hash = (53 * hash) + getTitle().hashCode();
if (hasLocalizedTitle()) {
hash = (37 * hash) + LOCALIZEDTITLE_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedTitle().hashCode();
}
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
if (hasLocalizedContent()) {
hash = (37 * hash) + LOCALIZEDCONTENT_FIELD_NUMBER;
hash = (53 * hash) + getLocalizedContent().hashCode();
}
if (hasStartDate()) {
hash = (37 * hash) + STARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getStartDate().hashCode();
}
if (hasEndDate()) {
hash = (37 * hash) + ENDDATE_FIELD_NUMBER;
hash = (53 * hash) + getEndDate().hashCode();
}
if (hasFilter()) {
hash = (37 * hash) + FILTER_FIELD_NUMBER;
hash = (53 * hash) + getFilter().hashCode();
}
hash = (37 * hash) + RECORDSMATCHINGSEGMENT_FIELD_NUMBER;
hash = (53 * hash) + getRecordsMatchingSegment();
hash = (37 * hash) + RECORDSSUCCESSFULLYUPDATE_FIELD_NUMBER;
hash = (53 * hash) + getRecordsSuccessfullyUpdate();
hash = (37 * hash) + RECORDSFAILEDTOUPDATE_FIELD_NUMBER;
hash = (53 * hash) + getRecordsFailedToUpdate();
if (hasCreated()) {
hash = (37 * hash) + CREATED_FIELD_NUMBER;
hash = (53 * hash) + getCreated().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.passkit.grpc.MessageOuterClass.Message parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.MessageOuterClass.Message 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.MessageOuterClass.Message parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.MessageOuterClass.Message 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.MessageOuterClass.Message parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.passkit.grpc.MessageOuterClass.Message parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.passkit.grpc.MessageOuterClass.Message parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.MessageOuterClass.Message 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.MessageOuterClass.Message parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.passkit.grpc.MessageOuterClass.Message 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.MessageOuterClass.Message parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.passkit.grpc.MessageOuterClass.Message 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.MessageOuterClass.Message 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.Message}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.Message)
com.passkit.grpc.MessageOuterClass.MessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.passkit.grpc.MessageOuterClass.internal_static_io_Message_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.passkit.grpc.MessageOuterClass.internal_static_io_Message_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.passkit.grpc.MessageOuterClass.Message.class, com.passkit.grpc.MessageOuterClass.Message.Builder.class);
}
// Construct using com.passkit.grpc.MessageOuterClass.Message.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
protocol_ = 0;
companyId_ = "";
classId_ = "";
uuid_ = "";
status_ = 0;
warning_ = "";
imageId_ = 0;
title_ = "";
if (localizedTitleBuilder_ == null) {
localizedTitle_ = null;
} else {
localizedTitle_ = null;
localizedTitleBuilder_ = null;
}
content_ = "";
if (localizedContentBuilder_ == null) {
localizedContent_ = null;
} else {
localizedContent_ = null;
localizedContentBuilder_ = null;
}
if (startDateBuilder_ == null) {
startDate_ = null;
} else {
startDate_ = null;
startDateBuilder_ = null;
}
if (endDateBuilder_ == null) {
endDate_ = null;
} else {
endDate_ = null;
endDateBuilder_ = null;
}
if (filterBuilder_ == null) {
filter_ = null;
} else {
filter_ = null;
filterBuilder_ = null;
}
recordsMatchingSegment_ = 0;
recordsSuccessfullyUpdate_ = 0;
recordsFailedToUpdate_ = 0;
if (createdBuilder_ == null) {
created_ = null;
} else {
created_ = null;
createdBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.passkit.grpc.MessageOuterClass.internal_static_io_Message_descriptor;
}
@java.lang.Override
public com.passkit.grpc.MessageOuterClass.Message getDefaultInstanceForType() {
return com.passkit.grpc.MessageOuterClass.Message.getDefaultInstance();
}
@java.lang.Override
public com.passkit.grpc.MessageOuterClass.Message build() {
com.passkit.grpc.MessageOuterClass.Message result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.passkit.grpc.MessageOuterClass.Message buildPartial() {
com.passkit.grpc.MessageOuterClass.Message result = new com.passkit.grpc.MessageOuterClass.Message(this);
result.protocol_ = protocol_;
result.companyId_ = companyId_;
result.classId_ = classId_;
result.uuid_ = uuid_;
result.status_ = status_;
result.warning_ = warning_;
result.imageId_ = imageId_;
result.title_ = title_;
if (localizedTitleBuilder_ == null) {
result.localizedTitle_ = localizedTitle_;
} else {
result.localizedTitle_ = localizedTitleBuilder_.build();
}
result.content_ = content_;
if (localizedContentBuilder_ == null) {
result.localizedContent_ = localizedContent_;
} else {
result.localizedContent_ = localizedContentBuilder_.build();
}
if (startDateBuilder_ == null) {
result.startDate_ = startDate_;
} else {
result.startDate_ = startDateBuilder_.build();
}
if (endDateBuilder_ == null) {
result.endDate_ = endDate_;
} else {
result.endDate_ = endDateBuilder_.build();
}
if (filterBuilder_ == null) {
result.filter_ = filter_;
} else {
result.filter_ = filterBuilder_.build();
}
result.recordsMatchingSegment_ = recordsMatchingSegment_;
result.recordsSuccessfullyUpdate_ = recordsSuccessfullyUpdate_;
result.recordsFailedToUpdate_ = recordsFailedToUpdate_;
if (createdBuilder_ == null) {
result.created_ = created_;
} else {
result.created_ = createdBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.passkit.grpc.MessageOuterClass.Message) {
return mergeFrom((com.passkit.grpc.MessageOuterClass.Message)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.passkit.grpc.MessageOuterClass.Message other) {
if (other == com.passkit.grpc.MessageOuterClass.Message.getDefaultInstance()) return this;
if (other.protocol_ != 0) {
setProtocolValue(other.getProtocolValue());
}
if (!other.getCompanyId().isEmpty()) {
companyId_ = other.companyId_;
onChanged();
}
if (!other.getClassId().isEmpty()) {
classId_ = other.classId_;
onChanged();
}
if (!other.getUuid().isEmpty()) {
uuid_ = other.uuid_;
onChanged();
}
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
if (!other.getWarning().isEmpty()) {
warning_ = other.warning_;
onChanged();
}
if (other.getImageId() != 0) {
setImageId(other.getImageId());
}
if (!other.getTitle().isEmpty()) {
title_ = other.title_;
onChanged();
}
if (other.hasLocalizedTitle()) {
mergeLocalizedTitle(other.getLocalizedTitle());
}
if (!other.getContent().isEmpty()) {
content_ = other.content_;
onChanged();
}
if (other.hasLocalizedContent()) {
mergeLocalizedContent(other.getLocalizedContent());
}
if (other.hasStartDate()) {
mergeStartDate(other.getStartDate());
}
if (other.hasEndDate()) {
mergeEndDate(other.getEndDate());
}
if (other.hasFilter()) {
mergeFilter(other.getFilter());
}
if (other.getRecordsMatchingSegment() != 0) {
setRecordsMatchingSegment(other.getRecordsMatchingSegment());
}
if (other.getRecordsSuccessfullyUpdate() != 0) {
setRecordsSuccessfullyUpdate(other.getRecordsSuccessfullyUpdate());
}
if (other.getRecordsFailedToUpdate() != 0) {
setRecordsFailedToUpdate(other.getRecordsFailedToUpdate());
}
if (other.hasCreated()) {
mergeCreated(other.getCreated());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.passkit.grpc.MessageOuterClass.Message parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.passkit.grpc.MessageOuterClass.Message) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int protocol_ = 0;
/**
*
* the protocol that this message is associated with.
*
*
* .io.PassProtocol protocol = 1;
* @return The enum numeric value on the wire for protocol.
*/
@java.lang.Override public int getProtocolValue() {
return protocol_;
}
/**
*
* the protocol that this message is associated with.
*
*
* .io.PassProtocol protocol = 1;
* @param value The enum numeric value on the wire for protocol to set.
* @return This builder for chaining.
*/
public Builder setProtocolValue(int value) {
protocol_ = value;
onChanged();
return this;
}
/**
*
* the protocol that this message is associated with.
*
*
* .io.PassProtocol protocol = 1;
* @return The protocol.
*/
@java.lang.Override
public com.passkit.grpc.Protocols.PassProtocol getProtocol() {
@SuppressWarnings("deprecation")
com.passkit.grpc.Protocols.PassProtocol result = com.passkit.grpc.Protocols.PassProtocol.valueOf(protocol_);
return result == null ? com.passkit.grpc.Protocols.PassProtocol.UNRECOGNIZED : result;
}
/**
*
* the protocol that this message is associated with.
*
*
* .io.PassProtocol protocol = 1;
* @param value The protocol to set.
* @return This builder for chaining.
*/
public Builder setProtocol(com.passkit.grpc.Protocols.PassProtocol value) {
if (value == null) {
throw new NullPointerException();
}
protocol_ = value.getNumber();
onChanged();
return this;
}
/**
*
* the protocol that this message is associated with.
*
*
* .io.PassProtocol protocol = 1;
* @return This builder for chaining.
*/
public Builder clearProtocol() {
protocol_ = 0;
onChanged();
return this;
}
private java.lang.Object companyId_ = "";
/**
*
* the id of the company that made the message
*
*
* string companyId = 2;
* @return The companyId.
*/
public java.lang.String getCompanyId() {
java.lang.Object ref = companyId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
companyId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* the id of the company that made the message
*
*
* string companyId = 2;
* @return The bytes for companyId.
*/
public com.google.protobuf.ByteString
getCompanyIdBytes() {
java.lang.Object ref = companyId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
companyId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* the id of the company that made the message
*
*
* string companyId = 2;
* @param value The companyId to set.
* @return This builder for chaining.
*/
public Builder setCompanyId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
companyId_ = value;
onChanged();
return this;
}
/**
*
* the id of the company that made the message
*
*
* string companyId = 2;
* @return This builder for chaining.
*/
public Builder clearCompanyId() {
companyId_ = getDefaultInstance().getCompanyId();
onChanged();
return this;
}
/**
*
* the id of the company that made the message
*
*
* string companyId = 2;
* @param value The bytes for companyId to set.
* @return This builder for chaining.
*/
public Builder setCompanyIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
companyId_ = value;
onChanged();
return this;
}
private java.lang.Object classId_ = "";
/**
*
* the higher level class id for the protocol.
*
*
* string classId = 3;
* @return The classId.
*/
public java.lang.String getClassId() {
java.lang.Object ref = classId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
classId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* the higher level class id for the protocol.
*
*
* string classId = 3;
* @return The bytes for classId.
*/
public com.google.protobuf.ByteString
getClassIdBytes() {
java.lang.Object ref = classId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
classId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* the higher level class id for the protocol.
*
*
* string classId = 3;
* @param value The classId to set.
* @return This builder for chaining.
*/
public Builder setClassId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
classId_ = value;
onChanged();
return this;
}
/**
*
* the higher level class id for the protocol.
*
*
* string classId = 3;
* @return This builder for chaining.
*/
public Builder clearClassId() {
classId_ = getDefaultInstance().getClassId();
onChanged();
return this;
}
/**
*
* the higher level class id for the protocol.
*
*
* string classId = 3;
* @param value The bytes for classId to set.
* @return This builder for chaining.
*/
public Builder setClassIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
classId_ = value;
onChanged();
return this;
}
private java.lang.Object uuid_ = "";
/**
*
* the unique id for this message
*
*
* string uuid = 4;
* @return The uuid.
*/
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uuid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* the unique id for this message
*
*
* string uuid = 4;
* @return The bytes for uuid.
*/
public com.google.protobuf.ByteString
getUuidBytes() {
java.lang.Object ref = uuid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* the unique id for this message
*
*
* string uuid = 4;
* @param value The uuid to set.
* @return This builder for chaining.
*/
public Builder setUuid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
uuid_ = value;
onChanged();
return this;
}
/**
*
* the unique id for this message
*
*
* string uuid = 4;
* @return This builder for chaining.
*/
public Builder clearUuid() {
uuid_ = getDefaultInstance().getUuid();
onChanged();
return this;
}
/**
*
* the unique id for this message
*
*
* string uuid = 4;
* @param value The bytes for uuid to set.
* @return This builder for chaining.
*/
public Builder setUuidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
uuid_ = value;
onChanged();
return this;
}
private int status_ = 0;
/**
*
* the status of the message.
*
*
* .io.MessageStatus status = 5;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
*
* the status of the message.
*
*
* .io.MessageStatus status = 5;
* @param value The enum numeric value on the wire for status to set.
* @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
status_ = value;
onChanged();
return this;
}
/**
*
* the status of the message.
*
*
* .io.MessageStatus status = 5;
* @return The status.
*/
@java.lang.Override
public com.passkit.grpc.MessageOuterClass.MessageStatus getStatus() {
@SuppressWarnings("deprecation")
com.passkit.grpc.MessageOuterClass.MessageStatus result = com.passkit.grpc.MessageOuterClass.MessageStatus.valueOf(status_);
return result == null ? com.passkit.grpc.MessageOuterClass.MessageStatus.UNRECOGNIZED : result;
}
/**
*
* the status of the message.
*
*
* .io.MessageStatus status = 5;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(com.passkit.grpc.MessageOuterClass.MessageStatus value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value.getNumber();
onChanged();
return this;
}
/**
*
* the status of the message.
*
*
* .io.MessageStatus status = 5;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = 0;
onChanged();
return this;
}
private java.lang.Object warning_ = "";
/**
*
* warning of any errors that may have occurred.
*
*
* string warning = 6;
* @return The warning.
*/
public java.lang.String getWarning() {
java.lang.Object ref = warning_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
warning_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* warning of any errors that may have occurred.
*
*
* string warning = 6;
* @return The bytes for warning.
*/
public com.google.protobuf.ByteString
getWarningBytes() {
java.lang.Object ref = warning_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
warning_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* warning of any errors that may have occurred.
*
*
* string warning = 6;
* @param value The warning to set.
* @return This builder for chaining.
*/
public Builder setWarning(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
warning_ = value;
onChanged();
return this;
}
/**
*
* warning of any errors that may have occurred.
*
*
* string warning = 6;
* @return This builder for chaining.
*/
public Builder clearWarning() {
warning_ = getDefaultInstance().getWarning();
onChanged();
return this;
}
/**
*
* warning of any errors that may have occurred.
*
*
* string warning = 6;
* @param value The bytes for warning to set.
* @return This builder for chaining.
*/
public Builder setWarningBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
warning_ = value;
onChanged();
return this;
}
private int imageId_ ;
/**
*
* Optional Image ID; for the Main Image that will be shown in Google Pay (Google Pay only; no image is shown for Apple Wallet).
*
*
* uint32 imageId = 7;
* @return The imageId.
*/
@java.lang.Override
public int getImageId() {
return imageId_;
}
/**
*
* Optional Image ID; for the Main Image that will be shown in Google Pay (Google Pay only; no image is shown for Apple Wallet).
*
*
* uint32 imageId = 7;
* @param value The imageId to set.
* @return This builder for chaining.
*/
public Builder setImageId(int value) {
imageId_ = value;
onChanged();
return this;
}
/**
*
* Optional Image ID; for the Main Image that will be shown in Google Pay (Google Pay only; no image is shown for Apple Wallet).
*
*
* uint32 imageId = 7;
* @return This builder for chaining.
*/
public Builder clearImageId() {
imageId_ = 0;
onChanged();
return this;
}
private java.lang.Object title_ = "";
/**
*
* Title (summary) of the message.
*
*
* string title = 8;
* @return The title.
*/
public java.lang.String getTitle() {
java.lang.Object ref = title_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
title_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Title (summary) of the message.
*
*
* string title = 8;
* @return The bytes for title.
*/
public com.google.protobuf.ByteString
getTitleBytes() {
java.lang.Object ref = title_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
title_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Title (summary) of the message.
*
*
* string title = 8;
* @param value The title to set.
* @return This builder for chaining.
*/
public Builder setTitle(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
title_ = value;
onChanged();
return this;
}
/**
*
* Title (summary) of the message.
*
*
* string title = 8;
* @return This builder for chaining.
*/
public Builder clearTitle() {
title_ = getDefaultInstance().getTitle();
onChanged();
return this;
}
/**
*
* Title (summary) of the message.
*
*
* string title = 8;
* @param value The bytes for title to set.
* @return This builder for chaining.
*/
public Builder setTitleBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
title_ = value;
onChanged();
return this;
}
private com.passkit.grpc.Localization.LocalizedString localizedTitle_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedTitleBuilder_;
/**
*
* Localized title of the message.
*
*
* .io.LocalizedString localizedTitle = 9;
* @return Whether the localizedTitle field is set.
*/
public boolean hasLocalizedTitle() {
return localizedTitleBuilder_ != null || localizedTitle_ != null;
}
/**
*
* Localized title of the message.
*
*
* .io.LocalizedString localizedTitle = 9;
* @return The localizedTitle.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedTitle() {
if (localizedTitleBuilder_ == null) {
return localizedTitle_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedTitle_;
} else {
return localizedTitleBuilder_.getMessage();
}
}
/**
*
* Localized title of the message.
*
*
* .io.LocalizedString localizedTitle = 9;
*/
public Builder setLocalizedTitle(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedTitleBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedTitle_ = value;
onChanged();
} else {
localizedTitleBuilder_.setMessage(value);
}
return this;
}
/**
*
* Localized title of the message.
*
*
* .io.LocalizedString localizedTitle = 9;
*/
public Builder setLocalizedTitle(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedTitleBuilder_ == null) {
localizedTitle_ = builderForValue.build();
onChanged();
} else {
localizedTitleBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Localized title of the message.
*
*
* .io.LocalizedString localizedTitle = 9;
*/
public Builder mergeLocalizedTitle(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedTitleBuilder_ == null) {
if (localizedTitle_ != null) {
localizedTitle_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedTitle_).mergeFrom(value).buildPartial();
} else {
localizedTitle_ = value;
}
onChanged();
} else {
localizedTitleBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Localized title of the message.
*
*
* .io.LocalizedString localizedTitle = 9;
*/
public Builder clearLocalizedTitle() {
if (localizedTitleBuilder_ == null) {
localizedTitle_ = null;
onChanged();
} else {
localizedTitle_ = null;
localizedTitleBuilder_ = null;
}
return this;
}
/**
*
* Localized title of the message.
*
*
* .io.LocalizedString localizedTitle = 9;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedTitleBuilder() {
onChanged();
return getLocalizedTitleFieldBuilder().getBuilder();
}
/**
*
* Localized title of the message.
*
*
* .io.LocalizedString localizedTitle = 9;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedTitleOrBuilder() {
if (localizedTitleBuilder_ != null) {
return localizedTitleBuilder_.getMessageOrBuilder();
} else {
return localizedTitle_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedTitle_;
}
}
/**
*
* Localized title of the message.
*
*
* .io.LocalizedString localizedTitle = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedTitleFieldBuilder() {
if (localizedTitleBuilder_ == null) {
localizedTitleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedTitle(),
getParentForChildren(),
isClean());
localizedTitle_ = null;
}
return localizedTitleBuilder_;
}
private java.lang.Object content_ = "";
/**
*
* Content of the message (finer details).
*
*
* string content = 10;
* @return The content.
*/
public java.lang.String getContent() {
java.lang.Object ref = content_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
content_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Content of the message (finer details).
*
*
* string content = 10;
* @return The bytes for content.
*/
public com.google.protobuf.ByteString
getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
content_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Content of the message (finer details).
*
*
* string content = 10;
* @param value The content to set.
* @return This builder for chaining.
*/
public Builder setContent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
return this;
}
/**
*
* Content of the message (finer details).
*
*
* string content = 10;
* @return This builder for chaining.
*/
public Builder clearContent() {
content_ = getDefaultInstance().getContent();
onChanged();
return this;
}
/**
*
* Content of the message (finer details).
*
*
* string content = 10;
* @param value The bytes for content to set.
* @return This builder for chaining.
*/
public Builder setContentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
content_ = value;
onChanged();
return this;
}
private com.passkit.grpc.Localization.LocalizedString localizedContent_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder> localizedContentBuilder_;
/**
*
* Localized content of the message.
*
*
* .io.LocalizedString localizedContent = 11;
* @return Whether the localizedContent field is set.
*/
public boolean hasLocalizedContent() {
return localizedContentBuilder_ != null || localizedContent_ != null;
}
/**
*
* Localized content of the message.
*
*
* .io.LocalizedString localizedContent = 11;
* @return The localizedContent.
*/
public com.passkit.grpc.Localization.LocalizedString getLocalizedContent() {
if (localizedContentBuilder_ == null) {
return localizedContent_ == null ? com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedContent_;
} else {
return localizedContentBuilder_.getMessage();
}
}
/**
*
* Localized content of the message.
*
*
* .io.LocalizedString localizedContent = 11;
*/
public Builder setLocalizedContent(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedContentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localizedContent_ = value;
onChanged();
} else {
localizedContentBuilder_.setMessage(value);
}
return this;
}
/**
*
* Localized content of the message.
*
*
* .io.LocalizedString localizedContent = 11;
*/
public Builder setLocalizedContent(
com.passkit.grpc.Localization.LocalizedString.Builder builderForValue) {
if (localizedContentBuilder_ == null) {
localizedContent_ = builderForValue.build();
onChanged();
} else {
localizedContentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Localized content of the message.
*
*
* .io.LocalizedString localizedContent = 11;
*/
public Builder mergeLocalizedContent(com.passkit.grpc.Localization.LocalizedString value) {
if (localizedContentBuilder_ == null) {
if (localizedContent_ != null) {
localizedContent_ =
com.passkit.grpc.Localization.LocalizedString.newBuilder(localizedContent_).mergeFrom(value).buildPartial();
} else {
localizedContent_ = value;
}
onChanged();
} else {
localizedContentBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Localized content of the message.
*
*
* .io.LocalizedString localizedContent = 11;
*/
public Builder clearLocalizedContent() {
if (localizedContentBuilder_ == null) {
localizedContent_ = null;
onChanged();
} else {
localizedContent_ = null;
localizedContentBuilder_ = null;
}
return this;
}
/**
*
* Localized content of the message.
*
*
* .io.LocalizedString localizedContent = 11;
*/
public com.passkit.grpc.Localization.LocalizedString.Builder getLocalizedContentBuilder() {
onChanged();
return getLocalizedContentFieldBuilder().getBuilder();
}
/**
*
* Localized content of the message.
*
*
* .io.LocalizedString localizedContent = 11;
*/
public com.passkit.grpc.Localization.LocalizedStringOrBuilder getLocalizedContentOrBuilder() {
if (localizedContentBuilder_ != null) {
return localizedContentBuilder_.getMessageOrBuilder();
} else {
return localizedContent_ == null ?
com.passkit.grpc.Localization.LocalizedString.getDefaultInstance() : localizedContent_;
}
}
/**
*
* Localized content of the message.
*
*
* .io.LocalizedString localizedContent = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>
getLocalizedContentFieldBuilder() {
if (localizedContentBuilder_ == null) {
localizedContentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.Localization.LocalizedString, com.passkit.grpc.Localization.LocalizedString.Builder, com.passkit.grpc.Localization.LocalizedStringOrBuilder>(
getLocalizedContent(),
getParentForChildren(),
isClean());
localizedContent_ = null;
}
return localizedContentBuilder_;
}
private com.google.protobuf.Timestamp startDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startDateBuilder_;
/**
*
* Start date indicates when the message is shown on the pass.
*
*
* .google.protobuf.Timestamp startDate = 12;
* @return Whether the startDate field is set.
*/
public boolean hasStartDate() {
return startDateBuilder_ != null || startDate_ != null;
}
/**
*
* Start date indicates when the message is shown on the pass.
*
*
* .google.protobuf.Timestamp startDate = 12;
* @return The startDate.
*/
public com.google.protobuf.Timestamp getStartDate() {
if (startDateBuilder_ == null) {
return startDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startDate_;
} else {
return startDateBuilder_.getMessage();
}
}
/**
*
* Start date indicates when the message is shown on the pass.
*
*
* .google.protobuf.Timestamp startDate = 12;
*/
public Builder setStartDate(com.google.protobuf.Timestamp value) {
if (startDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
startDate_ = value;
onChanged();
} else {
startDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* Start date indicates when the message is shown on the pass.
*
*
* .google.protobuf.Timestamp startDate = 12;
*/
public Builder setStartDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (startDateBuilder_ == null) {
startDate_ = builderForValue.build();
onChanged();
} else {
startDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Start date indicates when the message is shown on the pass.
*
*
* .google.protobuf.Timestamp startDate = 12;
*/
public Builder mergeStartDate(com.google.protobuf.Timestamp value) {
if (startDateBuilder_ == null) {
if (startDate_ != null) {
startDate_ =
com.google.protobuf.Timestamp.newBuilder(startDate_).mergeFrom(value).buildPartial();
} else {
startDate_ = value;
}
onChanged();
} else {
startDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Start date indicates when the message is shown on the pass.
*
*
* .google.protobuf.Timestamp startDate = 12;
*/
public Builder clearStartDate() {
if (startDateBuilder_ == null) {
startDate_ = null;
onChanged();
} else {
startDate_ = null;
startDateBuilder_ = null;
}
return this;
}
/**
*
* Start date indicates when the message is shown on the pass.
*
*
* .google.protobuf.Timestamp startDate = 12;
*/
public com.google.protobuf.Timestamp.Builder getStartDateBuilder() {
onChanged();
return getStartDateFieldBuilder().getBuilder();
}
/**
*
* Start date indicates when the message is shown on the pass.
*
*
* .google.protobuf.Timestamp startDate = 12;
*/
public com.google.protobuf.TimestampOrBuilder getStartDateOrBuilder() {
if (startDateBuilder_ != null) {
return startDateBuilder_.getMessageOrBuilder();
} else {
return startDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : startDate_;
}
}
/**
*
* Start date indicates when the message is shown on the pass.
*
*
* .google.protobuf.Timestamp startDate = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getStartDateFieldBuilder() {
if (startDateBuilder_ == null) {
startDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getStartDate(),
getParentForChildren(),
isClean());
startDate_ = null;
}
return startDateBuilder_;
}
private com.google.protobuf.Timestamp endDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endDateBuilder_;
/**
*
* End date indicates when the message is removed from the pass.
*
*
* .google.protobuf.Timestamp endDate = 13;
* @return Whether the endDate field is set.
*/
public boolean hasEndDate() {
return endDateBuilder_ != null || endDate_ != null;
}
/**
*
* End date indicates when the message is removed from the pass.
*
*
* .google.protobuf.Timestamp endDate = 13;
* @return The endDate.
*/
public com.google.protobuf.Timestamp getEndDate() {
if (endDateBuilder_ == null) {
return endDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endDate_;
} else {
return endDateBuilder_.getMessage();
}
}
/**
*
* End date indicates when the message is removed from the pass.
*
*
* .google.protobuf.Timestamp endDate = 13;
*/
public Builder setEndDate(com.google.protobuf.Timestamp value) {
if (endDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
endDate_ = value;
onChanged();
} else {
endDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* End date indicates when the message is removed from the pass.
*
*
* .google.protobuf.Timestamp endDate = 13;
*/
public Builder setEndDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (endDateBuilder_ == null) {
endDate_ = builderForValue.build();
onChanged();
} else {
endDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* End date indicates when the message is removed from the pass.
*
*
* .google.protobuf.Timestamp endDate = 13;
*/
public Builder mergeEndDate(com.google.protobuf.Timestamp value) {
if (endDateBuilder_ == null) {
if (endDate_ != null) {
endDate_ =
com.google.protobuf.Timestamp.newBuilder(endDate_).mergeFrom(value).buildPartial();
} else {
endDate_ = value;
}
onChanged();
} else {
endDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* End date indicates when the message is removed from the pass.
*
*
* .google.protobuf.Timestamp endDate = 13;
*/
public Builder clearEndDate() {
if (endDateBuilder_ == null) {
endDate_ = null;
onChanged();
} else {
endDate_ = null;
endDateBuilder_ = null;
}
return this;
}
/**
*
* End date indicates when the message is removed from the pass.
*
*
* .google.protobuf.Timestamp endDate = 13;
*/
public com.google.protobuf.Timestamp.Builder getEndDateBuilder() {
onChanged();
return getEndDateFieldBuilder().getBuilder();
}
/**
*
* End date indicates when the message is removed from the pass.
*
*
* .google.protobuf.Timestamp endDate = 13;
*/
public com.google.protobuf.TimestampOrBuilder getEndDateOrBuilder() {
if (endDateBuilder_ != null) {
return endDateBuilder_.getMessageOrBuilder();
} else {
return endDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : endDate_;
}
}
/**
*
* End date indicates when the message is removed from the pass.
*
*
* .google.protobuf.Timestamp endDate = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getEndDateFieldBuilder() {
if (endDateBuilder_ == null) {
endDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getEndDate(),
getParentForChildren(),
isClean());
endDate_ = null;
}
return endDateBuilder_;
}
private com.passkit.grpc.PaginationOuterClass.Filter filter_;
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.PaginationOuterClass.Filter, com.passkit.grpc.PaginationOuterClass.Filter.Builder, com.passkit.grpc.PaginationOuterClass.FilterOrBuilder> filterBuilder_;
/**
*
* optional filter used determine which members qualify for this message.
*
*
* .io.Filter filter = 14;
* @return Whether the filter field is set.
*/
public boolean hasFilter() {
return filterBuilder_ != null || filter_ != null;
}
/**
*
* optional filter used determine which members qualify for this message.
*
*
* .io.Filter filter = 14;
* @return The filter.
*/
public com.passkit.grpc.PaginationOuterClass.Filter getFilter() {
if (filterBuilder_ == null) {
return filter_ == null ? com.passkit.grpc.PaginationOuterClass.Filter.getDefaultInstance() : filter_;
} else {
return filterBuilder_.getMessage();
}
}
/**
*
* optional filter used determine which members qualify for this message.
*
*
* .io.Filter filter = 14;
*/
public Builder setFilter(com.passkit.grpc.PaginationOuterClass.Filter value) {
if (filterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
filter_ = value;
onChanged();
} else {
filterBuilder_.setMessage(value);
}
return this;
}
/**
*
* optional filter used determine which members qualify for this message.
*
*
* .io.Filter filter = 14;
*/
public Builder setFilter(
com.passkit.grpc.PaginationOuterClass.Filter.Builder builderForValue) {
if (filterBuilder_ == null) {
filter_ = builderForValue.build();
onChanged();
} else {
filterBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* optional filter used determine which members qualify for this message.
*
*
* .io.Filter filter = 14;
*/
public Builder mergeFilter(com.passkit.grpc.PaginationOuterClass.Filter value) {
if (filterBuilder_ == null) {
if (filter_ != null) {
filter_ =
com.passkit.grpc.PaginationOuterClass.Filter.newBuilder(filter_).mergeFrom(value).buildPartial();
} else {
filter_ = value;
}
onChanged();
} else {
filterBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* optional filter used determine which members qualify for this message.
*
*
* .io.Filter filter = 14;
*/
public Builder clearFilter() {
if (filterBuilder_ == null) {
filter_ = null;
onChanged();
} else {
filter_ = null;
filterBuilder_ = null;
}
return this;
}
/**
*
* optional filter used determine which members qualify for this message.
*
*
* .io.Filter filter = 14;
*/
public com.passkit.grpc.PaginationOuterClass.Filter.Builder getFilterBuilder() {
onChanged();
return getFilterFieldBuilder().getBuilder();
}
/**
*
* optional filter used determine which members qualify for this message.
*
*
* .io.Filter filter = 14;
*/
public com.passkit.grpc.PaginationOuterClass.FilterOrBuilder getFilterOrBuilder() {
if (filterBuilder_ != null) {
return filterBuilder_.getMessageOrBuilder();
} else {
return filter_ == null ?
com.passkit.grpc.PaginationOuterClass.Filter.getDefaultInstance() : filter_;
}
}
/**
*
* optional filter used determine which members qualify for this message.
*
*
* .io.Filter filter = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.PaginationOuterClass.Filter, com.passkit.grpc.PaginationOuterClass.Filter.Builder, com.passkit.grpc.PaginationOuterClass.FilterOrBuilder>
getFilterFieldBuilder() {
if (filterBuilder_ == null) {
filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.passkit.grpc.PaginationOuterClass.Filter, com.passkit.grpc.PaginationOuterClass.Filter.Builder, com.passkit.grpc.PaginationOuterClass.FilterOrBuilder>(
getFilter(),
getParentForChildren(),
isClean());
filter_ = null;
}
return filterBuilder_;
}
private int recordsMatchingSegment_ ;
/**
*
* number of records this message will be sent to.
*
*
* uint32 recordsMatchingSegment = 15;
* @return The recordsMatchingSegment.
*/
@java.lang.Override
public int getRecordsMatchingSegment() {
return recordsMatchingSegment_;
}
/**
*
* number of records this message will be sent to.
*
*
* uint32 recordsMatchingSegment = 15;
* @param value The recordsMatchingSegment to set.
* @return This builder for chaining.
*/
public Builder setRecordsMatchingSegment(int value) {
recordsMatchingSegment_ = value;
onChanged();
return this;
}
/**
*
* number of records this message will be sent to.
*
*
* uint32 recordsMatchingSegment = 15;
* @return This builder for chaining.
*/
public Builder clearRecordsMatchingSegment() {
recordsMatchingSegment_ = 0;
onChanged();
return this;
}
private int recordsSuccessfullyUpdate_ ;
/**
*
* number of records updated with this message.
*
*
* uint32 recordsSuccessfullyUpdate = 16;
* @return The recordsSuccessfullyUpdate.
*/
@java.lang.Override
public int getRecordsSuccessfullyUpdate() {
return recordsSuccessfullyUpdate_;
}
/**
*
* number of records updated with this message.
*
*
* uint32 recordsSuccessfullyUpdate = 16;
* @param value The recordsSuccessfullyUpdate to set.
* @return This builder for chaining.
*/
public Builder setRecordsSuccessfullyUpdate(int value) {
recordsSuccessfullyUpdate_ = value;
onChanged();
return this;
}
/**
*
* number of records updated with this message.
*
*
* uint32 recordsSuccessfullyUpdate = 16;
* @return This builder for chaining.
*/
public Builder clearRecordsSuccessfullyUpdate() {
recordsSuccessfullyUpdate_ = 0;
onChanged();
return this;
}
private int recordsFailedToUpdate_ ;
/**
*
* number of records that failed updated with this message.
*
*
* uint32 recordsFailedToUpdate = 17;
* @return The recordsFailedToUpdate.
*/
@java.lang.Override
public int getRecordsFailedToUpdate() {
return recordsFailedToUpdate_;
}
/**
*
* number of records that failed updated with this message.
*
*
* uint32 recordsFailedToUpdate = 17;
* @param value The recordsFailedToUpdate to set.
* @return This builder for chaining.
*/
public Builder setRecordsFailedToUpdate(int value) {
recordsFailedToUpdate_ = value;
onChanged();
return this;
}
/**
*
* number of records that failed updated with this message.
*
*
* uint32 recordsFailedToUpdate = 17;
* @return This builder for chaining.
*/
public Builder clearRecordsFailedToUpdate() {
recordsFailedToUpdate_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Timestamp created_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdBuilder_;
/**
*
* The date the message was created in the PassKit system.
*
*
* .google.protobuf.Timestamp created = 18;
* @return Whether the created field is set.
*/
public boolean hasCreated() {
return createdBuilder_ != null || created_ != null;
}
/**
*
* The date the message was created in the PassKit system.
*
*
* .google.protobuf.Timestamp created = 18;
* @return The created.
*/
public com.google.protobuf.Timestamp getCreated() {
if (createdBuilder_ == null) {
return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_;
} else {
return createdBuilder_.getMessage();
}
}
/**
*
* The date the message was created in the PassKit system.
*
*
* .google.protobuf.Timestamp created = 18;
*/
public Builder setCreated(com.google.protobuf.Timestamp value) {
if (createdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
created_ = value;
onChanged();
} else {
createdBuilder_.setMessage(value);
}
return this;
}
/**
*
* The date the message was created in the PassKit system.
*
*
* .google.protobuf.Timestamp created = 18;
*/
public Builder setCreated(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (createdBuilder_ == null) {
created_ = builderForValue.build();
onChanged();
} else {
createdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The date the message was created in the PassKit system.
*
*
* .google.protobuf.Timestamp created = 18;
*/
public Builder mergeCreated(com.google.protobuf.Timestamp value) {
if (createdBuilder_ == null) {
if (created_ != null) {
created_ =
com.google.protobuf.Timestamp.newBuilder(created_).mergeFrom(value).buildPartial();
} else {
created_ = value;
}
onChanged();
} else {
createdBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The date the message was created in the PassKit system.
*
*
* .google.protobuf.Timestamp created = 18;
*/
public Builder clearCreated() {
if (createdBuilder_ == null) {
created_ = null;
onChanged();
} else {
created_ = null;
createdBuilder_ = null;
}
return this;
}
/**
*
* The date the message was created in the PassKit system.
*
*
* .google.protobuf.Timestamp created = 18;
*/
public com.google.protobuf.Timestamp.Builder getCreatedBuilder() {
onChanged();
return getCreatedFieldBuilder().getBuilder();
}
/**
*
* The date the message was created in the PassKit system.
*
*
* .google.protobuf.Timestamp created = 18;
*/
public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() {
if (createdBuilder_ != null) {
return createdBuilder_.getMessageOrBuilder();
} else {
return created_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : created_;
}
}
/**
*
* The date the message was created in the PassKit system.
*
*
* .google.protobuf.Timestamp created = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getCreatedFieldBuilder() {
if (createdBuilder_ == null) {
createdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getCreated(),
getParentForChildren(),
isClean());
created_ = null;
}
return createdBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:io.Message)
}
// @@protoc_insertion_point(class_scope:io.Message)
private static final com.passkit.grpc.MessageOuterClass.Message DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.passkit.grpc.MessageOuterClass.Message();
}
public static com.passkit.grpc.MessageOuterClass.Message getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Message parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Message(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.MessageOuterClass.Message getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_io_Message_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_io_Message_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\027io/common/message.proto\022\002io\032\034io/common" +
"/localization.proto\032\032io/common/paginatio" +
"n.proto\032\037google/protobuf/timestamp.proto" +
"\032\031io/common/protocols.proto\"\247\004\n\007Message\022" +
"\"\n\010protocol\030\001 \001(\0162\020.io.PassProtocol\022\021\n\tc" +
"ompanyId\030\002 \001(\t\022\017\n\007classId\030\003 \001(\t\022\014\n\004uuid\030" +
"\004 \001(\t\022!\n\006status\030\005 \001(\0162\021.io.MessageStatus" +
"\022\017\n\007warning\030\006 \001(\t\022\017\n\007imageId\030\007 \001(\r\022\r\n\005ti" +
"tle\030\010 \001(\t\022+\n\016localizedTitle\030\t \001(\0132\023.io.L" +
"ocalizedString\022\017\n\007content\030\n \001(\t\022-\n\020local" +
"izedContent\030\013 \001(\0132\023.io.LocalizedString\022-" +
"\n\tstartDate\030\014 \001(\0132\032.google.protobuf.Time" +
"stamp\022+\n\007endDate\030\r \001(\0132\032.google.protobuf" +
".Timestamp\022\032\n\006filter\030\016 \001(\0132\n.io.Filter\022\036" +
"\n\026recordsMatchingSegment\030\017 \001(\r\022!\n\031record" +
"sSuccessfullyUpdate\030\020 \001(\r\022\035\n\025recordsFail" +
"edToUpdate\030\021 \001(\r\022+\n\007created\030\022 \001(\0132\032.goog" +
"le.protobuf.Timestamp*\233\001\n\rMessageStatus\022" +
"\013\n\007CREATED\020\000\022\016\n\nPROCESSING\020\001\022\027\n\023ABORTED_" +
"WITH_ERRORS\020\002\022\033\n\027COMPLETED_WITH_WARNINGS" +
"\020\003\022\031\n\025COMPLETED_WITH_ERRORS\020\004\022\034\n\030COMPLET" +
"ED_WITHOUT_ERRORS\020\005BG\n\020com.passkit.grpcZ" +
"$stash.passkit.com/io/model/sdk/go/io\252\002\014" +
"PassKit.Grpcb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.passkit.grpc.Localization.getDescriptor(),
com.passkit.grpc.PaginationOuterClass.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
com.passkit.grpc.Protocols.getDescriptor(),
});
internal_static_io_Message_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_io_Message_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_io_Message_descriptor,
new java.lang.String[] { "Protocol", "CompanyId", "ClassId", "Uuid", "Status", "Warning", "ImageId", "Title", "LocalizedTitle", "Content", "LocalizedContent", "StartDate", "EndDate", "Filter", "RecordsMatchingSegment", "RecordsSuccessfullyUpdate", "RecordsFailedToUpdate", "Created", });
com.passkit.grpc.Localization.getDescriptor();
com.passkit.grpc.PaginationOuterClass.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.passkit.grpc.Protocols.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}