POGOProtos.Data.Quests.ClientQuestOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/Quests/ClientQuest.proto
package POGOProtos.Data.Quests;
public final class ClientQuestOuterClass {
private ClientQuestOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface ClientQuestOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.ClientQuest)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Data.Quests.Quest quest = 1;
*/
boolean hasQuest();
/**
* .POGOProtos.Data.Quests.Quest quest = 1;
*/
POGOProtos.Data.Quests.QuestOuterClass.Quest getQuest();
/**
* .POGOProtos.Data.Quests.Quest quest = 1;
*/
POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder getQuestOrBuilder();
/**
* .POGOProtos.Data.Quests.ClientQuest.QuestDisplay quest_display = 2;
*/
boolean hasQuestDisplay();
/**
* .POGOProtos.Data.Quests.ClientQuest.QuestDisplay quest_display = 2;
*/
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay getQuestDisplay();
/**
* .POGOProtos.Data.Quests.ClientQuest.QuestDisplay quest_display = 2;
*/
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder getQuestDisplayOrBuilder();
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.ClientQuest}
*/
public static final class ClientQuest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.ClientQuest)
ClientQuestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ClientQuest.newBuilder() to construct.
private ClientQuest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ClientQuest() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ClientQuest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder subBuilder = null;
if (quest_ != null) {
subBuilder = quest_.toBuilder();
}
quest_ = input.readMessage(POGOProtos.Data.Quests.QuestOuterClass.Quest.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(quest_);
quest_ = subBuilder.buildPartial();
}
break;
}
case 18: {
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder subBuilder = null;
if (questDisplay_ != null) {
subBuilder = questDisplay_.toBuilder();
}
questDisplay_ = input.readMessage(POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(questDisplay_);
questDisplay_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownFieldProto3(
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 POGOProtos.Data.Quests.ClientQuestOuterClass.internal_static_POGOProtos_Data_Quests_ClientQuest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.ClientQuestOuterClass.internal_static_POGOProtos_Data_Quests_ClientQuest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.class, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.Builder.class);
}
public interface QuestDisplayOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Quests.ClientQuest.QuestDisplay)
com.google.protobuf.MessageOrBuilder {
/**
* string quest_id = 1;
*/
java.lang.String getQuestId();
/**
* string quest_id = 1;
*/
com.google.protobuf.ByteString
getQuestIdBytes();
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
java.util.List
getDialogList();
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog getDialog(int index);
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
int getDialogCount();
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
java.util.List extends POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialogOrBuilder>
getDialogOrBuilderList();
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialogOrBuilder getDialogOrBuilder(
int index);
/**
* string description = 3;
*/
java.lang.String getDescription();
/**
* string description = 3;
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
* string title = 4;
*/
java.lang.String getTitle();
/**
* string title = 4;
*/
com.google.protobuf.ByteString
getTitleBytes();
/**
* int32 slot = 5;
*/
int getSlot();
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
java.util.List
getSubdisplayList();
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay getSubdisplay(int index);
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
int getSubdisplayCount();
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
java.util.List extends POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder>
getSubdisplayOrBuilderList();
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder getSubdisplayOrBuilder(
int index);
/**
* bool story_ending_quest = 7;
*/
boolean getStoryEndingQuest();
/**
* string story_ending_description = 8;
*/
java.lang.String getStoryEndingDescription();
/**
* string story_ending_description = 8;
*/
com.google.protobuf.ByteString
getStoryEndingDescriptionBytes();
}
/**
* Protobuf type {@code POGOProtos.Data.Quests.ClientQuest.QuestDisplay}
*/
public static final class QuestDisplay extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Quests.ClientQuest.QuestDisplay)
QuestDisplayOrBuilder {
private static final long serialVersionUID = 0L;
// Use QuestDisplay.newBuilder() to construct.
private QuestDisplay(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QuestDisplay() {
questId_ = "";
dialog_ = java.util.Collections.emptyList();
description_ = "";
title_ = "";
slot_ = 0;
subdisplay_ = java.util.Collections.emptyList();
storyEndingQuest_ = false;
storyEndingDescription_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QuestDisplay(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
questId_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
dialog_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
dialog_.add(
input.readMessage(POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog.parser(), extensionRegistry));
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
description_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
title_ = s;
break;
}
case 40: {
slot_ = input.readInt32();
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
subdisplay_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
subdisplay_.add(
input.readMessage(POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.parser(), extensionRegistry));
break;
}
case 56: {
storyEndingQuest_ = input.readBool();
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
storyEndingDescription_ = s;
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
dialog_ = java.util.Collections.unmodifiableList(dialog_);
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
subdisplay_ = java.util.Collections.unmodifiableList(subdisplay_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.ClientQuestOuterClass.internal_static_POGOProtos_Data_Quests_ClientQuest_QuestDisplay_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.ClientQuestOuterClass.internal_static_POGOProtos_Data_Quests_ClientQuest_QuestDisplay_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.class, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder.class);
}
private int bitField0_;
public static final int QUEST_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object questId_;
/**
* string quest_id = 1;
*/
public java.lang.String getQuestId() {
java.lang.Object ref = questId_;
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();
questId_ = s;
return s;
}
}
/**
* string quest_id = 1;
*/
public com.google.protobuf.ByteString
getQuestIdBytes() {
java.lang.Object ref = questId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
questId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DIALOG_FIELD_NUMBER = 2;
private java.util.List dialog_;
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public java.util.List getDialogList() {
return dialog_;
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public java.util.List extends POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialogOrBuilder>
getDialogOrBuilderList() {
return dialog_;
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public int getDialogCount() {
return dialog_.size();
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog getDialog(int index) {
return dialog_.get(index);
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialogOrBuilder getDialogOrBuilder(
int index) {
return dialog_.get(index);
}
public static final int DESCRIPTION_FIELD_NUMBER = 3;
private volatile java.lang.Object description_;
/**
* string description = 3;
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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();
description_ = s;
return s;
}
}
/**
* string description = 3;
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TITLE_FIELD_NUMBER = 4;
private volatile java.lang.Object title_;
/**
* string title = 4;
*/
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;
}
}
/**
* string title = 4;
*/
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 SLOT_FIELD_NUMBER = 5;
private int slot_;
/**
* int32 slot = 5;
*/
public int getSlot() {
return slot_;
}
public static final int SUBDISPLAY_FIELD_NUMBER = 6;
private java.util.List subdisplay_;
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public java.util.List getSubdisplayList() {
return subdisplay_;
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public java.util.List extends POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder>
getSubdisplayOrBuilderList() {
return subdisplay_;
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public int getSubdisplayCount() {
return subdisplay_.size();
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay getSubdisplay(int index) {
return subdisplay_.get(index);
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder getSubdisplayOrBuilder(
int index) {
return subdisplay_.get(index);
}
public static final int STORY_ENDING_QUEST_FIELD_NUMBER = 7;
private boolean storyEndingQuest_;
/**
* bool story_ending_quest = 7;
*/
public boolean getStoryEndingQuest() {
return storyEndingQuest_;
}
public static final int STORY_ENDING_DESCRIPTION_FIELD_NUMBER = 8;
private volatile java.lang.Object storyEndingDescription_;
/**
* string story_ending_description = 8;
*/
public java.lang.String getStoryEndingDescription() {
java.lang.Object ref = storyEndingDescription_;
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();
storyEndingDescription_ = s;
return s;
}
}
/**
* string story_ending_description = 8;
*/
public com.google.protobuf.ByteString
getStoryEndingDescriptionBytes() {
java.lang.Object ref = storyEndingDescription_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storyEndingDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getQuestIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, questId_);
}
for (int i = 0; i < dialog_.size(); i++) {
output.writeMessage(2, dialog_.get(i));
}
if (!getDescriptionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_);
}
if (!getTitleBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, title_);
}
if (slot_ != 0) {
output.writeInt32(5, slot_);
}
for (int i = 0; i < subdisplay_.size(); i++) {
output.writeMessage(6, subdisplay_.get(i));
}
if (storyEndingQuest_ != false) {
output.writeBool(7, storyEndingQuest_);
}
if (!getStoryEndingDescriptionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, storyEndingDescription_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getQuestIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, questId_);
}
for (int i = 0; i < dialog_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, dialog_.get(i));
}
if (!getDescriptionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
}
if (!getTitleBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, title_);
}
if (slot_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, slot_);
}
for (int i = 0; i < subdisplay_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, subdisplay_.get(i));
}
if (storyEndingQuest_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, storyEndingQuest_);
}
if (!getStoryEndingDescriptionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, storyEndingDescription_);
}
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 POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay other = (POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay) obj;
boolean result = true;
result = result && getQuestId()
.equals(other.getQuestId());
result = result && getDialogList()
.equals(other.getDialogList());
result = result && getDescription()
.equals(other.getDescription());
result = result && getTitle()
.equals(other.getTitle());
result = result && (getSlot()
== other.getSlot());
result = result && getSubdisplayList()
.equals(other.getSubdisplayList());
result = result && (getStoryEndingQuest()
== other.getStoryEndingQuest());
result = result && getStoryEndingDescription()
.equals(other.getStoryEndingDescription());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + QUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getQuestId().hashCode();
if (getDialogCount() > 0) {
hash = (37 * hash) + DIALOG_FIELD_NUMBER;
hash = (53 * hash) + getDialogList().hashCode();
}
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
hash = (37 * hash) + TITLE_FIELD_NUMBER;
hash = (53 * hash) + getTitle().hashCode();
hash = (37 * hash) + SLOT_FIELD_NUMBER;
hash = (53 * hash) + getSlot();
if (getSubdisplayCount() > 0) {
hash = (37 * hash) + SUBDISPLAY_FIELD_NUMBER;
hash = (53 * hash) + getSubdisplayList().hashCode();
}
hash = (37 * hash) + STORY_ENDING_QUEST_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getStoryEndingQuest());
hash = (37 * hash) + STORY_ENDING_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getStoryEndingDescription().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay 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 POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay 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 POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay 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(POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay 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 POGOProtos.Data.Quests.ClientQuest.QuestDisplay}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.ClientQuest.QuestDisplay)
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.ClientQuestOuterClass.internal_static_POGOProtos_Data_Quests_ClientQuest_QuestDisplay_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.ClientQuestOuterClass.internal_static_POGOProtos_Data_Quests_ClientQuest_QuestDisplay_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.class, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder.class);
}
// Construct using POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDialogFieldBuilder();
getSubdisplayFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
questId_ = "";
if (dialogBuilder_ == null) {
dialog_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
dialogBuilder_.clear();
}
description_ = "";
title_ = "";
slot_ = 0;
if (subdisplayBuilder_ == null) {
subdisplay_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
subdisplayBuilder_.clear();
}
storyEndingQuest_ = false;
storyEndingDescription_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.ClientQuestOuterClass.internal_static_POGOProtos_Data_Quests_ClientQuest_QuestDisplay_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay getDefaultInstanceForType() {
return POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay build() {
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay buildPartial() {
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay result = new POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.questId_ = questId_;
if (dialogBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
dialog_ = java.util.Collections.unmodifiableList(dialog_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.dialog_ = dialog_;
} else {
result.dialog_ = dialogBuilder_.build();
}
result.description_ = description_;
result.title_ = title_;
result.slot_ = slot_;
if (subdisplayBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020)) {
subdisplay_ = java.util.Collections.unmodifiableList(subdisplay_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.subdisplay_ = subdisplay_;
} else {
result.subdisplay_ = subdisplayBuilder_.build();
}
result.storyEndingQuest_ = storyEndingQuest_;
result.storyEndingDescription_ = storyEndingDescription_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay) {
return mergeFrom((POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay other) {
if (other == POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.getDefaultInstance()) return this;
if (!other.getQuestId().isEmpty()) {
questId_ = other.questId_;
onChanged();
}
if (dialogBuilder_ == null) {
if (!other.dialog_.isEmpty()) {
if (dialog_.isEmpty()) {
dialog_ = other.dialog_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureDialogIsMutable();
dialog_.addAll(other.dialog_);
}
onChanged();
}
} else {
if (!other.dialog_.isEmpty()) {
if (dialogBuilder_.isEmpty()) {
dialogBuilder_.dispose();
dialogBuilder_ = null;
dialog_ = other.dialog_;
bitField0_ = (bitField0_ & ~0x00000002);
dialogBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDialogFieldBuilder() : null;
} else {
dialogBuilder_.addAllMessages(other.dialog_);
}
}
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
if (!other.getTitle().isEmpty()) {
title_ = other.title_;
onChanged();
}
if (other.getSlot() != 0) {
setSlot(other.getSlot());
}
if (subdisplayBuilder_ == null) {
if (!other.subdisplay_.isEmpty()) {
if (subdisplay_.isEmpty()) {
subdisplay_ = other.subdisplay_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureSubdisplayIsMutable();
subdisplay_.addAll(other.subdisplay_);
}
onChanged();
}
} else {
if (!other.subdisplay_.isEmpty()) {
if (subdisplayBuilder_.isEmpty()) {
subdisplayBuilder_.dispose();
subdisplayBuilder_ = null;
subdisplay_ = other.subdisplay_;
bitField0_ = (bitField0_ & ~0x00000020);
subdisplayBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSubdisplayFieldBuilder() : null;
} else {
subdisplayBuilder_.addAllMessages(other.subdisplay_);
}
}
}
if (other.getStoryEndingQuest() != false) {
setStoryEndingQuest(other.getStoryEndingQuest());
}
if (!other.getStoryEndingDescription().isEmpty()) {
storyEndingDescription_ = other.storyEndingDescription_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object questId_ = "";
/**
* string quest_id = 1;
*/
public java.lang.String getQuestId() {
java.lang.Object ref = questId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
questId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string quest_id = 1;
*/
public com.google.protobuf.ByteString
getQuestIdBytes() {
java.lang.Object ref = questId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
questId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string quest_id = 1;
*/
public Builder setQuestId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
questId_ = value;
onChanged();
return this;
}
/**
* string quest_id = 1;
*/
public Builder clearQuestId() {
questId_ = getDefaultInstance().getQuestId();
onChanged();
return this;
}
/**
* string quest_id = 1;
*/
public Builder setQuestIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
questId_ = value;
onChanged();
return this;
}
private java.util.List dialog_ =
java.util.Collections.emptyList();
private void ensureDialogIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
dialog_ = new java.util.ArrayList(dialog_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog, POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog.Builder, POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialogOrBuilder> dialogBuilder_;
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public java.util.List getDialogList() {
if (dialogBuilder_ == null) {
return java.util.Collections.unmodifiableList(dialog_);
} else {
return dialogBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public int getDialogCount() {
if (dialogBuilder_ == null) {
return dialog_.size();
} else {
return dialogBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog getDialog(int index) {
if (dialogBuilder_ == null) {
return dialog_.get(index);
} else {
return dialogBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public Builder setDialog(
int index, POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog value) {
if (dialogBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDialogIsMutable();
dialog_.set(index, value);
onChanged();
} else {
dialogBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public Builder setDialog(
int index, POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog.Builder builderForValue) {
if (dialogBuilder_ == null) {
ensureDialogIsMutable();
dialog_.set(index, builderForValue.build());
onChanged();
} else {
dialogBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public Builder addDialog(POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog value) {
if (dialogBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDialogIsMutable();
dialog_.add(value);
onChanged();
} else {
dialogBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public Builder addDialog(
int index, POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog value) {
if (dialogBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDialogIsMutable();
dialog_.add(index, value);
onChanged();
} else {
dialogBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public Builder addDialog(
POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog.Builder builderForValue) {
if (dialogBuilder_ == null) {
ensureDialogIsMutable();
dialog_.add(builderForValue.build());
onChanged();
} else {
dialogBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public Builder addDialog(
int index, POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog.Builder builderForValue) {
if (dialogBuilder_ == null) {
ensureDialogIsMutable();
dialog_.add(index, builderForValue.build());
onChanged();
} else {
dialogBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public Builder addAllDialog(
java.lang.Iterable extends POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog> values) {
if (dialogBuilder_ == null) {
ensureDialogIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dialog_);
onChanged();
} else {
dialogBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public Builder clearDialog() {
if (dialogBuilder_ == null) {
dialog_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
dialogBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public Builder removeDialog(int index) {
if (dialogBuilder_ == null) {
ensureDialogIsMutable();
dialog_.remove(index);
onChanged();
} else {
dialogBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog.Builder getDialogBuilder(
int index) {
return getDialogFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialogOrBuilder getDialogOrBuilder(
int index) {
if (dialogBuilder_ == null) {
return dialog_.get(index); } else {
return dialogBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public java.util.List extends POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialogOrBuilder>
getDialogOrBuilderList() {
if (dialogBuilder_ != null) {
return dialogBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(dialog_);
}
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog.Builder addDialogBuilder() {
return getDialogFieldBuilder().addBuilder(
POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog.Builder addDialogBuilder(
int index) {
return getDialogFieldBuilder().addBuilder(
index, POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Quests.QuestDialog dialog = 2;
*/
public java.util.List
getDialogBuilderList() {
return getDialogFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog, POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog.Builder, POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialogOrBuilder>
getDialogFieldBuilder() {
if (dialogBuilder_ == null) {
dialogBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog, POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialog.Builder, POGOProtos.Data.Quests.QuestDialogOuterClass.QuestDialogOrBuilder>(
dialog_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
dialog_ = null;
}
return dialogBuilder_;
}
private java.lang.Object description_ = "";
/**
* string description = 3;
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string description = 3;
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string description = 3;
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
onChanged();
return this;
}
/**
* string description = 3;
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* string description = 3;
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
description_ = value;
onChanged();
return this;
}
private java.lang.Object title_ = "";
/**
* string title = 4;
*/
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;
}
}
/**
* string title = 4;
*/
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;
}
}
/**
* string title = 4;
*/
public Builder setTitle(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
title_ = value;
onChanged();
return this;
}
/**
* string title = 4;
*/
public Builder clearTitle() {
title_ = getDefaultInstance().getTitle();
onChanged();
return this;
}
/**
* string title = 4;
*/
public Builder setTitleBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
title_ = value;
onChanged();
return this;
}
private int slot_ ;
/**
* int32 slot = 5;
*/
public int getSlot() {
return slot_;
}
/**
* int32 slot = 5;
*/
public Builder setSlot(int value) {
slot_ = value;
onChanged();
return this;
}
/**
* int32 slot = 5;
*/
public Builder clearSlot() {
slot_ = 0;
onChanged();
return this;
}
private java.util.List subdisplay_ =
java.util.Collections.emptyList();
private void ensureSubdisplayIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
subdisplay_ = new java.util.ArrayList(subdisplay_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder> subdisplayBuilder_;
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public java.util.List getSubdisplayList() {
if (subdisplayBuilder_ == null) {
return java.util.Collections.unmodifiableList(subdisplay_);
} else {
return subdisplayBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public int getSubdisplayCount() {
if (subdisplayBuilder_ == null) {
return subdisplay_.size();
} else {
return subdisplayBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay getSubdisplay(int index) {
if (subdisplayBuilder_ == null) {
return subdisplay_.get(index);
} else {
return subdisplayBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public Builder setSubdisplay(
int index, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay value) {
if (subdisplayBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubdisplayIsMutable();
subdisplay_.set(index, value);
onChanged();
} else {
subdisplayBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public Builder setSubdisplay(
int index, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder builderForValue) {
if (subdisplayBuilder_ == null) {
ensureSubdisplayIsMutable();
subdisplay_.set(index, builderForValue.build());
onChanged();
} else {
subdisplayBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public Builder addSubdisplay(POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay value) {
if (subdisplayBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubdisplayIsMutable();
subdisplay_.add(value);
onChanged();
} else {
subdisplayBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public Builder addSubdisplay(
int index, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay value) {
if (subdisplayBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubdisplayIsMutable();
subdisplay_.add(index, value);
onChanged();
} else {
subdisplayBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public Builder addSubdisplay(
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder builderForValue) {
if (subdisplayBuilder_ == null) {
ensureSubdisplayIsMutable();
subdisplay_.add(builderForValue.build());
onChanged();
} else {
subdisplayBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public Builder addSubdisplay(
int index, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder builderForValue) {
if (subdisplayBuilder_ == null) {
ensureSubdisplayIsMutable();
subdisplay_.add(index, builderForValue.build());
onChanged();
} else {
subdisplayBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public Builder addAllSubdisplay(
java.lang.Iterable extends POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay> values) {
if (subdisplayBuilder_ == null) {
ensureSubdisplayIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, subdisplay_);
onChanged();
} else {
subdisplayBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public Builder clearSubdisplay() {
if (subdisplayBuilder_ == null) {
subdisplay_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
subdisplayBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public Builder removeSubdisplay(int index) {
if (subdisplayBuilder_ == null) {
ensureSubdisplayIsMutable();
subdisplay_.remove(index);
onChanged();
} else {
subdisplayBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder getSubdisplayBuilder(
int index) {
return getSubdisplayFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder getSubdisplayOrBuilder(
int index) {
if (subdisplayBuilder_ == null) {
return subdisplay_.get(index); } else {
return subdisplayBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public java.util.List extends POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder>
getSubdisplayOrBuilderList() {
if (subdisplayBuilder_ != null) {
return subdisplayBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(subdisplay_);
}
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder addSubdisplayBuilder() {
return getSubdisplayFieldBuilder().addBuilder(
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder addSubdisplayBuilder(
int index) {
return getSubdisplayFieldBuilder().addBuilder(
index, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Quests.ClientQuest.QuestDisplay subdisplay = 6;
*/
public java.util.List
getSubdisplayBuilderList() {
return getSubdisplayFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder>
getSubdisplayFieldBuilder() {
if (subdisplayBuilder_ == null) {
subdisplayBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder>(
subdisplay_,
((bitField0_ & 0x00000020) == 0x00000020),
getParentForChildren(),
isClean());
subdisplay_ = null;
}
return subdisplayBuilder_;
}
private boolean storyEndingQuest_ ;
/**
* bool story_ending_quest = 7;
*/
public boolean getStoryEndingQuest() {
return storyEndingQuest_;
}
/**
* bool story_ending_quest = 7;
*/
public Builder setStoryEndingQuest(boolean value) {
storyEndingQuest_ = value;
onChanged();
return this;
}
/**
* bool story_ending_quest = 7;
*/
public Builder clearStoryEndingQuest() {
storyEndingQuest_ = false;
onChanged();
return this;
}
private java.lang.Object storyEndingDescription_ = "";
/**
* string story_ending_description = 8;
*/
public java.lang.String getStoryEndingDescription() {
java.lang.Object ref = storyEndingDescription_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
storyEndingDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string story_ending_description = 8;
*/
public com.google.protobuf.ByteString
getStoryEndingDescriptionBytes() {
java.lang.Object ref = storyEndingDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storyEndingDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string story_ending_description = 8;
*/
public Builder setStoryEndingDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
storyEndingDescription_ = value;
onChanged();
return this;
}
/**
* string story_ending_description = 8;
*/
public Builder clearStoryEndingDescription() {
storyEndingDescription_ = getDefaultInstance().getStoryEndingDescription();
onChanged();
return this;
}
/**
* string story_ending_description = 8;
*/
public Builder setStoryEndingDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
storyEndingDescription_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:POGOProtos.Data.Quests.ClientQuest.QuestDisplay)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.ClientQuest.QuestDisplay)
private static final POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay();
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QuestDisplay parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QuestDisplay(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 POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int QUEST_FIELD_NUMBER = 1;
private POGOProtos.Data.Quests.QuestOuterClass.Quest quest_;
/**
* .POGOProtos.Data.Quests.Quest quest = 1;
*/
public boolean hasQuest() {
return quest_ != null;
}
/**
* .POGOProtos.Data.Quests.Quest quest = 1;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest getQuest() {
return quest_ == null ? POGOProtos.Data.Quests.QuestOuterClass.Quest.getDefaultInstance() : quest_;
}
/**
* .POGOProtos.Data.Quests.Quest quest = 1;
*/
public POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder getQuestOrBuilder() {
return getQuest();
}
public static final int QUEST_DISPLAY_FIELD_NUMBER = 2;
private POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay questDisplay_;
/**
* .POGOProtos.Data.Quests.ClientQuest.QuestDisplay quest_display = 2;
*/
public boolean hasQuestDisplay() {
return questDisplay_ != null;
}
/**
* .POGOProtos.Data.Quests.ClientQuest.QuestDisplay quest_display = 2;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay getQuestDisplay() {
return questDisplay_ == null ? POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.getDefaultInstance() : questDisplay_;
}
/**
* .POGOProtos.Data.Quests.ClientQuest.QuestDisplay quest_display = 2;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder getQuestDisplayOrBuilder() {
return getQuestDisplay();
}
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 (quest_ != null) {
output.writeMessage(1, getQuest());
}
if (questDisplay_ != null) {
output.writeMessage(2, getQuestDisplay());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (quest_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getQuest());
}
if (questDisplay_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getQuestDisplay());
}
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 POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest)) {
return super.equals(obj);
}
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest other = (POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest) obj;
boolean result = true;
result = result && (hasQuest() == other.hasQuest());
if (hasQuest()) {
result = result && getQuest()
.equals(other.getQuest());
}
result = result && (hasQuestDisplay() == other.hasQuestDisplay());
if (hasQuestDisplay()) {
result = result && getQuestDisplay()
.equals(other.getQuestDisplay());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasQuest()) {
hash = (37 * hash) + QUEST_FIELD_NUMBER;
hash = (53 * hash) + getQuest().hashCode();
}
if (hasQuestDisplay()) {
hash = (37 * hash) + QUEST_DISPLAY_FIELD_NUMBER;
hash = (53 * hash) + getQuestDisplay().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest 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 POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest 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 POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest 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(POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest 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 POGOProtos.Data.Quests.ClientQuest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Quests.ClientQuest)
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Quests.ClientQuestOuterClass.internal_static_POGOProtos_Data_Quests_ClientQuest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Quests.ClientQuestOuterClass.internal_static_POGOProtos_Data_Quests_ClientQuest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.class, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.Builder.class);
}
// Construct using POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (questBuilder_ == null) {
quest_ = null;
} else {
quest_ = null;
questBuilder_ = null;
}
if (questDisplayBuilder_ == null) {
questDisplay_ = null;
} else {
questDisplay_ = null;
questDisplayBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Quests.ClientQuestOuterClass.internal_static_POGOProtos_Data_Quests_ClientQuest_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest getDefaultInstanceForType() {
return POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest build() {
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest buildPartial() {
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest result = new POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest(this);
if (questBuilder_ == null) {
result.quest_ = quest_;
} else {
result.quest_ = questBuilder_.build();
}
if (questDisplayBuilder_ == null) {
result.questDisplay_ = questDisplay_;
} else {
result.questDisplay_ = questDisplayBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest) {
return mergeFrom((POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest other) {
if (other == POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.getDefaultInstance()) return this;
if (other.hasQuest()) {
mergeQuest(other.getQuest());
}
if (other.hasQuestDisplay()) {
mergeQuestDisplay(other.getQuestDisplay());
}
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 {
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private POGOProtos.Data.Quests.QuestOuterClass.Quest quest_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestOuterClass.Quest, POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder, POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder> questBuilder_;
/**
* .POGOProtos.Data.Quests.Quest quest = 1;
*/
public boolean hasQuest() {
return questBuilder_ != null || quest_ != null;
}
/**
* .POGOProtos.Data.Quests.Quest quest = 1;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest getQuest() {
if (questBuilder_ == null) {
return quest_ == null ? POGOProtos.Data.Quests.QuestOuterClass.Quest.getDefaultInstance() : quest_;
} else {
return questBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Quests.Quest quest = 1;
*/
public Builder setQuest(POGOProtos.Data.Quests.QuestOuterClass.Quest value) {
if (questBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
quest_ = value;
onChanged();
} else {
questBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Quests.Quest quest = 1;
*/
public Builder setQuest(
POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder builderForValue) {
if (questBuilder_ == null) {
quest_ = builderForValue.build();
onChanged();
} else {
questBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Quests.Quest quest = 1;
*/
public Builder mergeQuest(POGOProtos.Data.Quests.QuestOuterClass.Quest value) {
if (questBuilder_ == null) {
if (quest_ != null) {
quest_ =
POGOProtos.Data.Quests.QuestOuterClass.Quest.newBuilder(quest_).mergeFrom(value).buildPartial();
} else {
quest_ = value;
}
onChanged();
} else {
questBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Quests.Quest quest = 1;
*/
public Builder clearQuest() {
if (questBuilder_ == null) {
quest_ = null;
onChanged();
} else {
quest_ = null;
questBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Quests.Quest quest = 1;
*/
public POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder getQuestBuilder() {
onChanged();
return getQuestFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.Quest quest = 1;
*/
public POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder getQuestOrBuilder() {
if (questBuilder_ != null) {
return questBuilder_.getMessageOrBuilder();
} else {
return quest_ == null ?
POGOProtos.Data.Quests.QuestOuterClass.Quest.getDefaultInstance() : quest_;
}
}
/**
* .POGOProtos.Data.Quests.Quest quest = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestOuterClass.Quest, POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder, POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder>
getQuestFieldBuilder() {
if (questBuilder_ == null) {
questBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.QuestOuterClass.Quest, POGOProtos.Data.Quests.QuestOuterClass.Quest.Builder, POGOProtos.Data.Quests.QuestOuterClass.QuestOrBuilder>(
getQuest(),
getParentForChildren(),
isClean());
quest_ = null;
}
return questBuilder_;
}
private POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay questDisplay_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder> questDisplayBuilder_;
/**
* .POGOProtos.Data.Quests.ClientQuest.QuestDisplay quest_display = 2;
*/
public boolean hasQuestDisplay() {
return questDisplayBuilder_ != null || questDisplay_ != null;
}
/**
* .POGOProtos.Data.Quests.ClientQuest.QuestDisplay quest_display = 2;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay getQuestDisplay() {
if (questDisplayBuilder_ == null) {
return questDisplay_ == null ? POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.getDefaultInstance() : questDisplay_;
} else {
return questDisplayBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Quests.ClientQuest.QuestDisplay quest_display = 2;
*/
public Builder setQuestDisplay(POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay value) {
if (questDisplayBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
questDisplay_ = value;
onChanged();
} else {
questDisplayBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Quests.ClientQuest.QuestDisplay quest_display = 2;
*/
public Builder setQuestDisplay(
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder builderForValue) {
if (questDisplayBuilder_ == null) {
questDisplay_ = builderForValue.build();
onChanged();
} else {
questDisplayBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Quests.ClientQuest.QuestDisplay quest_display = 2;
*/
public Builder mergeQuestDisplay(POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay value) {
if (questDisplayBuilder_ == null) {
if (questDisplay_ != null) {
questDisplay_ =
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.newBuilder(questDisplay_).mergeFrom(value).buildPartial();
} else {
questDisplay_ = value;
}
onChanged();
} else {
questDisplayBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Quests.ClientQuest.QuestDisplay quest_display = 2;
*/
public Builder clearQuestDisplay() {
if (questDisplayBuilder_ == null) {
questDisplay_ = null;
onChanged();
} else {
questDisplay_ = null;
questDisplayBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Quests.ClientQuest.QuestDisplay quest_display = 2;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder getQuestDisplayBuilder() {
onChanged();
return getQuestDisplayFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Quests.ClientQuest.QuestDisplay quest_display = 2;
*/
public POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder getQuestDisplayOrBuilder() {
if (questDisplayBuilder_ != null) {
return questDisplayBuilder_.getMessageOrBuilder();
} else {
return questDisplay_ == null ?
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.getDefaultInstance() : questDisplay_;
}
}
/**
* .POGOProtos.Data.Quests.ClientQuest.QuestDisplay quest_display = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder>
getQuestDisplayFieldBuilder() {
if (questDisplayBuilder_ == null) {
questDisplayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplay.Builder, POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest.QuestDisplayOrBuilder>(
getQuestDisplay(),
getParentForChildren(),
isClean());
questDisplay_ = null;
}
return questDisplayBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:POGOProtos.Data.Quests.ClientQuest)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Quests.ClientQuest)
private static final POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest();
}
public static POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ClientQuest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ClientQuest(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 POGOProtos.Data.Quests.ClientQuestOuterClass.ClientQuest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_ClientQuest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_ClientQuest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Quests_ClientQuest_QuestDisplay_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Quests_ClientQuest_QuestDisplay_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(POGOProtos/Data/Quests/ClientQuest.pro" +
"to\022\026POGOProtos.Data.Quests\032\"POGOProtos/D" +
"ata/Quests/Quest.proto\032(POGOProtos/Data/" +
"Quests/QuestDialog.proto\"\222\003\n\013ClientQuest" +
"\022,\n\005quest\030\001 \001(\0132\035.POGOProtos.Data.Quests" +
".Quest\022G\n\rquest_display\030\002 \001(\01320.POGOProt" +
"os.Data.Quests.ClientQuest.QuestDisplay\032" +
"\213\002\n\014QuestDisplay\022\020\n\010quest_id\030\001 \001(\t\0223\n\006di" +
"alog\030\002 \003(\0132#.POGOProtos.Data.Quests.Ques" +
"tDialog\022\023\n\013description\030\003 \001(\t\022\r\n\005title\030\004 " +
"\001(\t\022\014\n\004slot\030\005 \001(\005\022D\n\nsubdisplay\030\006 \003(\01320." +
"POGOProtos.Data.Quests.ClientQuest.Quest" +
"Display\022\032\n\022story_ending_quest\030\007 \001(\010\022 \n\030s" +
"tory_ending_description\030\010 \001(\tb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
POGOProtos.Data.Quests.QuestOuterClass.getDescriptor(),
POGOProtos.Data.Quests.QuestDialogOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Data_Quests_ClientQuest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Data_Quests_ClientQuest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_ClientQuest_descriptor,
new java.lang.String[] { "Quest", "QuestDisplay", });
internal_static_POGOProtos_Data_Quests_ClientQuest_QuestDisplay_descriptor =
internal_static_POGOProtos_Data_Quests_ClientQuest_descriptor.getNestedTypes().get(0);
internal_static_POGOProtos_Data_Quests_ClientQuest_QuestDisplay_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Quests_ClientQuest_QuestDisplay_descriptor,
new java.lang.String[] { "QuestId", "Dialog", "Description", "Title", "Slot", "Subdisplay", "StoryEndingQuest", "StoryEndingDescription", });
POGOProtos.Data.Quests.QuestOuterClass.getDescriptor();
POGOProtos.Data.Quests.QuestDialogOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy