// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: DungeonEntryInfoRsp.proto
package emu.grasscutter.net.proto;
public final class DungeonEntryInfoRspOuterClass {
private DungeonEntryInfoRspOuterClass() {}
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 DungeonEntryInfoRspOrBuilder extends
// @@protoc_insertion_point(interface_extends:DungeonEntryInfoRsp)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
java.util.List
getDungeonEntryPointListList();
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo getDungeonEntryPointList(int index);
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
int getDungeonEntryPointListCount();
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
java.util.List extends emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfoOrBuilder>
getDungeonEntryPointListOrBuilderList();
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfoOrBuilder getDungeonEntryPointListOrBuilder(
int index);
/**
* uint32 recommendDungeonId = 4;
* @return The recommendDungeonId.
*/
int getRecommendDungeonId();
/**
* uint32 pointId = 7;
* @return The pointId.
*/
int getPointId();
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
java.util.List
getDungeonEntryListList();
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getDungeonEntryList(int index);
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
int getDungeonEntryListCount();
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
java.util.List extends emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder>
getDungeonEntryListOrBuilderList();
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder getDungeonEntryListOrBuilder(
int index);
/**
* int32 retcode = 3;
* @return The retcode.
*/
int getRetcode();
}
/**
* Protobuf type {@code DungeonEntryInfoRsp}
*/
public static final class DungeonEntryInfoRsp extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:DungeonEntryInfoRsp)
DungeonEntryInfoRspOrBuilder {
private static final long serialVersionUID = 0L;
// Use DungeonEntryInfoRsp.newBuilder() to construct.
private DungeonEntryInfoRsp(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DungeonEntryInfoRsp() {
dungeonEntryPointList_ = java.util.Collections.emptyList();
dungeonEntryList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DungeonEntryInfoRsp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DungeonEntryInfoRsp(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
dungeonEntryList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
dungeonEntryList_.add(
input.readMessage(emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.parser(), extensionRegistry));
break;
}
case 24: {
retcode_ = input.readInt32();
break;
}
case 32: {
recommendDungeonId_ = input.readUInt32();
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
dungeonEntryPointList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
dungeonEntryPointList_.add(
input.readMessage(emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.parser(), extensionRegistry));
break;
}
case 56: {
pointId_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) != 0)) {
dungeonEntryList_ = java.util.Collections.unmodifiableList(dungeonEntryList_);
}
if (((mutable_bitField0_ & 0x00000001) != 0)) {
dungeonEntryPointList_ = java.util.Collections.unmodifiableList(dungeonEntryPointList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.internal_static_DungeonEntryInfoRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.internal_static_DungeonEntryInfoRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp.class, emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp.Builder.class);
}
/**
* Protobuf enum {@code DungeonEntryInfoRsp.IPOKDKJPIAO}
*/
public enum IPOKDKJPIAO
implements com.google.protobuf.ProtocolMessageEnum {
/**
* NONE = 0;
*/
NONE(0, 0),
/**
* PEPPOHPHJOJ = 955;
*/
PEPPOHPHJOJ(1, 955),
/**
* NNBKOLMPOEA = 1;
*/
NNBKOLMPOEA(3, 1),
UNRECOGNIZED(-1, -1),
;
/**
* DCDNILFDFLB = 0;
*/
public static final IPOKDKJPIAO DCDNILFDFLB = NONE;
/**
* NONE = 0;
*/
public static final int NONE_VALUE = 0;
/**
* PEPPOHPHJOJ = 955;
*/
public static final int PEPPOHPHJOJ_VALUE = 955;
/**
* DCDNILFDFLB = 0;
*/
public static final int DCDNILFDFLB_VALUE = 0;
/**
* NNBKOLMPOEA = 1;
*/
public static final int NNBKOLMPOEA_VALUE = 1;
public final int getNumber() {
if (index == -1) {
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 IPOKDKJPIAO 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 IPOKDKJPIAO forNumber(int value) {
switch (value) {
case 0: return NONE;
case 955: return PEPPOHPHJOJ;
case 1: return NNBKOLMPOEA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
IPOKDKJPIAO> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public IPOKDKJPIAO findValueByNumber(int number) {
return IPOKDKJPIAO.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (index == -1) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp.getDescriptor().getEnumTypes().get(0);
}
private static final IPOKDKJPIAO[] VALUES = getStaticValuesArray();
private static IPOKDKJPIAO[] getStaticValuesArray() {
return new IPOKDKJPIAO[] {
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA,
};
}
public static IPOKDKJPIAO 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 index;
private final int value;
private IPOKDKJPIAO(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:DungeonEntryInfoRsp.IPOKDKJPIAO)
}
public static final int DUNGEONENTRYPOINTLIST_FIELD_NUMBER = 5;
private java.util.List dungeonEntryPointList_;
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
@java.lang.Override
public java.util.List getDungeonEntryPointListList() {
return dungeonEntryPointList_;
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfoOrBuilder>
getDungeonEntryPointListOrBuilderList() {
return dungeonEntryPointList_;
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
@java.lang.Override
public int getDungeonEntryPointListCount() {
return dungeonEntryPointList_.size();
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
@java.lang.Override
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo getDungeonEntryPointList(int index) {
return dungeonEntryPointList_.get(index);
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
@java.lang.Override
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfoOrBuilder getDungeonEntryPointListOrBuilder(
int index) {
return dungeonEntryPointList_.get(index);
}
public static final int RECOMMENDDUNGEONID_FIELD_NUMBER = 4;
private int recommendDungeonId_;
/**
* uint32 recommendDungeonId = 4;
* @return The recommendDungeonId.
*/
@java.lang.Override
public int getRecommendDungeonId() {
return recommendDungeonId_;
}
public static final int POINTID_FIELD_NUMBER = 7;
private int pointId_;
/**
* uint32 pointId = 7;
* @return The pointId.
*/
@java.lang.Override
public int getPointId() {
return pointId_;
}
public static final int DUNGEONENTRYLIST_FIELD_NUMBER = 1;
private java.util.List dungeonEntryList_;
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
@java.lang.Override
public java.util.List getDungeonEntryListList() {
return dungeonEntryList_;
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder>
getDungeonEntryListOrBuilderList() {
return dungeonEntryList_;
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
@java.lang.Override
public int getDungeonEntryListCount() {
return dungeonEntryList_.size();
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
@java.lang.Override
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getDungeonEntryList(int index) {
return dungeonEntryList_.get(index);
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
@java.lang.Override
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder getDungeonEntryListOrBuilder(
int index) {
return dungeonEntryList_.get(index);
}
public static final int RETCODE_FIELD_NUMBER = 3;
private int retcode_;
/**
* int32 retcode = 3;
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < dungeonEntryList_.size(); i++) {
output.writeMessage(1, dungeonEntryList_.get(i));
}
if (retcode_ != 0) {
output.writeInt32(3, retcode_);
}
if (recommendDungeonId_ != 0) {
output.writeUInt32(4, recommendDungeonId_);
}
for (int i = 0; i < dungeonEntryPointList_.size(); i++) {
output.writeMessage(5, dungeonEntryPointList_.get(i));
}
if (pointId_ != 0) {
output.writeUInt32(7, pointId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < dungeonEntryList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, dungeonEntryList_.get(i));
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, retcode_);
}
if (recommendDungeonId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, recommendDungeonId_);
}
for (int i = 0; i < dungeonEntryPointList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, dungeonEntryPointList_.get(i));
}
if (pointId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, pointId_);
}
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 emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp other = (emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp) obj;
if (!getDungeonEntryPointListList()
.equals(other.getDungeonEntryPointListList())) return false;
if (getRecommendDungeonId()
!= other.getRecommendDungeonId()) return false;
if (getPointId()
!= other.getPointId()) return false;
if (!getDungeonEntryListList()
.equals(other.getDungeonEntryListList())) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getDungeonEntryPointListCount() > 0) {
hash = (37 * hash) + DUNGEONENTRYPOINTLIST_FIELD_NUMBER;
hash = (53 * hash) + getDungeonEntryPointListList().hashCode();
}
hash = (37 * hash) + RECOMMENDDUNGEONID_FIELD_NUMBER;
hash = (53 * hash) + getRecommendDungeonId();
hash = (37 * hash) + POINTID_FIELD_NUMBER;
hash = (53 * hash) + getPointId();
if (getDungeonEntryListCount() > 0) {
hash = (37 * hash) + DUNGEONENTRYLIST_FIELD_NUMBER;
hash = (53 * hash) + getDungeonEntryListList().hashCode();
}
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp 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 emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp 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 emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp 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(emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp 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 DungeonEntryInfoRsp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:DungeonEntryInfoRsp)
emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRspOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.internal_static_DungeonEntryInfoRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.internal_static_DungeonEntryInfoRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp.class, emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp.Builder.class);
}
// Construct using emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDungeonEntryPointListFieldBuilder();
getDungeonEntryListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (dungeonEntryPointListBuilder_ == null) {
dungeonEntryPointList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
dungeonEntryPointListBuilder_.clear();
}
recommendDungeonId_ = 0;
pointId_ = 0;
if (dungeonEntryListBuilder_ == null) {
dungeonEntryList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
dungeonEntryListBuilder_.clear();
}
retcode_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.internal_static_DungeonEntryInfoRsp_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp getDefaultInstanceForType() {
return emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp build() {
emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp buildPartial() {
emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp result = new emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp(this);
int from_bitField0_ = bitField0_;
if (dungeonEntryPointListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
dungeonEntryPointList_ = java.util.Collections.unmodifiableList(dungeonEntryPointList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.dungeonEntryPointList_ = dungeonEntryPointList_;
} else {
result.dungeonEntryPointList_ = dungeonEntryPointListBuilder_.build();
}
result.recommendDungeonId_ = recommendDungeonId_;
result.pointId_ = pointId_;
if (dungeonEntryListBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
dungeonEntryList_ = java.util.Collections.unmodifiableList(dungeonEntryList_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.dungeonEntryList_ = dungeonEntryList_;
} else {
result.dungeonEntryList_ = dungeonEntryListBuilder_.build();
}
result.retcode_ = retcode_;
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 emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp) {
return mergeFrom((emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp other) {
if (other == emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp.getDefaultInstance()) return this;
if (dungeonEntryPointListBuilder_ == null) {
if (!other.dungeonEntryPointList_.isEmpty()) {
if (dungeonEntryPointList_.isEmpty()) {
dungeonEntryPointList_ = other.dungeonEntryPointList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDungeonEntryPointListIsMutable();
dungeonEntryPointList_.addAll(other.dungeonEntryPointList_);
}
onChanged();
}
} else {
if (!other.dungeonEntryPointList_.isEmpty()) {
if (dungeonEntryPointListBuilder_.isEmpty()) {
dungeonEntryPointListBuilder_.dispose();
dungeonEntryPointListBuilder_ = null;
dungeonEntryPointList_ = other.dungeonEntryPointList_;
bitField0_ = (bitField0_ & ~0x00000001);
dungeonEntryPointListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDungeonEntryPointListFieldBuilder() : null;
} else {
dungeonEntryPointListBuilder_.addAllMessages(other.dungeonEntryPointList_);
}
}
}
if (other.getRecommendDungeonId() != 0) {
setRecommendDungeonId(other.getRecommendDungeonId());
}
if (other.getPointId() != 0) {
setPointId(other.getPointId());
}
if (dungeonEntryListBuilder_ == null) {
if (!other.dungeonEntryList_.isEmpty()) {
if (dungeonEntryList_.isEmpty()) {
dungeonEntryList_ = other.dungeonEntryList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureDungeonEntryListIsMutable();
dungeonEntryList_.addAll(other.dungeonEntryList_);
}
onChanged();
}
} else {
if (!other.dungeonEntryList_.isEmpty()) {
if (dungeonEntryListBuilder_.isEmpty()) {
dungeonEntryListBuilder_.dispose();
dungeonEntryListBuilder_ = null;
dungeonEntryList_ = other.dungeonEntryList_;
bitField0_ = (bitField0_ & ~0x00000002);
dungeonEntryListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDungeonEntryListFieldBuilder() : null;
} else {
dungeonEntryListBuilder_.addAllMessages(other.dungeonEntryList_);
}
}
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
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 {
emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List dungeonEntryPointList_ =
java.util.Collections.emptyList();
private void ensureDungeonEntryPointListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
dungeonEntryPointList_ = new java.util.ArrayList(dungeonEntryPointList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo, emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.Builder, emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfoOrBuilder> dungeonEntryPointListBuilder_;
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public java.util.List getDungeonEntryPointListList() {
if (dungeonEntryPointListBuilder_ == null) {
return java.util.Collections.unmodifiableList(dungeonEntryPointList_);
} else {
return dungeonEntryPointListBuilder_.getMessageList();
}
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public int getDungeonEntryPointListCount() {
if (dungeonEntryPointListBuilder_ == null) {
return dungeonEntryPointList_.size();
} else {
return dungeonEntryPointListBuilder_.getCount();
}
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo getDungeonEntryPointList(int index) {
if (dungeonEntryPointListBuilder_ == null) {
return dungeonEntryPointList_.get(index);
} else {
return dungeonEntryPointListBuilder_.getMessage(index);
}
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public Builder setDungeonEntryPointList(
int index, emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo value) {
if (dungeonEntryPointListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDungeonEntryPointListIsMutable();
dungeonEntryPointList_.set(index, value);
onChanged();
} else {
dungeonEntryPointListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public Builder setDungeonEntryPointList(
int index, emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.Builder builderForValue) {
if (dungeonEntryPointListBuilder_ == null) {
ensureDungeonEntryPointListIsMutable();
dungeonEntryPointList_.set(index, builderForValue.build());
onChanged();
} else {
dungeonEntryPointListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public Builder addDungeonEntryPointList(emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo value) {
if (dungeonEntryPointListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDungeonEntryPointListIsMutable();
dungeonEntryPointList_.add(value);
onChanged();
} else {
dungeonEntryPointListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public Builder addDungeonEntryPointList(
int index, emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo value) {
if (dungeonEntryPointListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDungeonEntryPointListIsMutable();
dungeonEntryPointList_.add(index, value);
onChanged();
} else {
dungeonEntryPointListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public Builder addDungeonEntryPointList(
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.Builder builderForValue) {
if (dungeonEntryPointListBuilder_ == null) {
ensureDungeonEntryPointListIsMutable();
dungeonEntryPointList_.add(builderForValue.build());
onChanged();
} else {
dungeonEntryPointListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public Builder addDungeonEntryPointList(
int index, emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.Builder builderForValue) {
if (dungeonEntryPointListBuilder_ == null) {
ensureDungeonEntryPointListIsMutable();
dungeonEntryPointList_.add(index, builderForValue.build());
onChanged();
} else {
dungeonEntryPointListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public Builder addAllDungeonEntryPointList(
java.lang.Iterable extends emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo> values) {
if (dungeonEntryPointListBuilder_ == null) {
ensureDungeonEntryPointListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dungeonEntryPointList_);
onChanged();
} else {
dungeonEntryPointListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public Builder clearDungeonEntryPointList() {
if (dungeonEntryPointListBuilder_ == null) {
dungeonEntryPointList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
dungeonEntryPointListBuilder_.clear();
}
return this;
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public Builder removeDungeonEntryPointList(int index) {
if (dungeonEntryPointListBuilder_ == null) {
ensureDungeonEntryPointListIsMutable();
dungeonEntryPointList_.remove(index);
onChanged();
} else {
dungeonEntryPointListBuilder_.remove(index);
}
return this;
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.Builder getDungeonEntryPointListBuilder(
int index) {
return getDungeonEntryPointListFieldBuilder().getBuilder(index);
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfoOrBuilder getDungeonEntryPointListOrBuilder(
int index) {
if (dungeonEntryPointListBuilder_ == null) {
return dungeonEntryPointList_.get(index); } else {
return dungeonEntryPointListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public java.util.List extends emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfoOrBuilder>
getDungeonEntryPointListOrBuilderList() {
if (dungeonEntryPointListBuilder_ != null) {
return dungeonEntryPointListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(dungeonEntryPointList_);
}
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.Builder addDungeonEntryPointListBuilder() {
return getDungeonEntryPointListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.getDefaultInstance());
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.Builder addDungeonEntryPointListBuilder(
int index) {
return getDungeonEntryPointListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.getDefaultInstance());
}
/**
* repeated .DungeonEntryPointInfo dungeonEntryPointList = 5;
*/
public java.util.List
getDungeonEntryPointListBuilderList() {
return getDungeonEntryPointListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo, emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.Builder, emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfoOrBuilder>
getDungeonEntryPointListFieldBuilder() {
if (dungeonEntryPointListBuilder_ == null) {
dungeonEntryPointListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo, emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.Builder, emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfoOrBuilder>(
dungeonEntryPointList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
dungeonEntryPointList_ = null;
}
return dungeonEntryPointListBuilder_;
}
private int recommendDungeonId_ ;
/**
* uint32 recommendDungeonId = 4;
* @return The recommendDungeonId.
*/
@java.lang.Override
public int getRecommendDungeonId() {
return recommendDungeonId_;
}
/**
* uint32 recommendDungeonId = 4;
* @param value The recommendDungeonId to set.
* @return This builder for chaining.
*/
public Builder setRecommendDungeonId(int value) {
recommendDungeonId_ = value;
onChanged();
return this;
}
/**
* uint32 recommendDungeonId = 4;
* @return This builder for chaining.
*/
public Builder clearRecommendDungeonId() {
recommendDungeonId_ = 0;
onChanged();
return this;
}
private int pointId_ ;
/**
* uint32 pointId = 7;
* @return The pointId.
*/
@java.lang.Override
public int getPointId() {
return pointId_;
}
/**
* uint32 pointId = 7;
* @param value The pointId to set.
* @return This builder for chaining.
*/
public Builder setPointId(int value) {
pointId_ = value;
onChanged();
return this;
}
/**
* uint32 pointId = 7;
* @return This builder for chaining.
*/
public Builder clearPointId() {
pointId_ = 0;
onChanged();
return this;
}
private java.util.List dungeonEntryList_ =
java.util.Collections.emptyList();
private void ensureDungeonEntryListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
dungeonEntryList_ = new java.util.ArrayList(dungeonEntryList_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder> dungeonEntryListBuilder_;
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public java.util.List getDungeonEntryListList() {
if (dungeonEntryListBuilder_ == null) {
return java.util.Collections.unmodifiableList(dungeonEntryList_);
} else {
return dungeonEntryListBuilder_.getMessageList();
}
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public int getDungeonEntryListCount() {
if (dungeonEntryListBuilder_ == null) {
return dungeonEntryList_.size();
} else {
return dungeonEntryListBuilder_.getCount();
}
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getDungeonEntryList(int index) {
if (dungeonEntryListBuilder_ == null) {
return dungeonEntryList_.get(index);
} else {
return dungeonEntryListBuilder_.getMessage(index);
}
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public Builder setDungeonEntryList(
int index, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo value) {
if (dungeonEntryListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDungeonEntryListIsMutable();
dungeonEntryList_.set(index, value);
onChanged();
} else {
dungeonEntryListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public Builder setDungeonEntryList(
int index, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder builderForValue) {
if (dungeonEntryListBuilder_ == null) {
ensureDungeonEntryListIsMutable();
dungeonEntryList_.set(index, builderForValue.build());
onChanged();
} else {
dungeonEntryListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public Builder addDungeonEntryList(emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo value) {
if (dungeonEntryListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDungeonEntryListIsMutable();
dungeonEntryList_.add(value);
onChanged();
} else {
dungeonEntryListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public Builder addDungeonEntryList(
int index, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo value) {
if (dungeonEntryListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDungeonEntryListIsMutable();
dungeonEntryList_.add(index, value);
onChanged();
} else {
dungeonEntryListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public Builder addDungeonEntryList(
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder builderForValue) {
if (dungeonEntryListBuilder_ == null) {
ensureDungeonEntryListIsMutable();
dungeonEntryList_.add(builderForValue.build());
onChanged();
} else {
dungeonEntryListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public Builder addDungeonEntryList(
int index, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder builderForValue) {
if (dungeonEntryListBuilder_ == null) {
ensureDungeonEntryListIsMutable();
dungeonEntryList_.add(index, builderForValue.build());
onChanged();
} else {
dungeonEntryListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public Builder addAllDungeonEntryList(
java.lang.Iterable extends emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo> values) {
if (dungeonEntryListBuilder_ == null) {
ensureDungeonEntryListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dungeonEntryList_);
onChanged();
} else {
dungeonEntryListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public Builder clearDungeonEntryList() {
if (dungeonEntryListBuilder_ == null) {
dungeonEntryList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
dungeonEntryListBuilder_.clear();
}
return this;
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public Builder removeDungeonEntryList(int index) {
if (dungeonEntryListBuilder_ == null) {
ensureDungeonEntryListIsMutable();
dungeonEntryList_.remove(index);
onChanged();
} else {
dungeonEntryListBuilder_.remove(index);
}
return this;
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder getDungeonEntryListBuilder(
int index) {
return getDungeonEntryListFieldBuilder().getBuilder(index);
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder getDungeonEntryListOrBuilder(
int index) {
if (dungeonEntryListBuilder_ == null) {
return dungeonEntryList_.get(index); } else {
return dungeonEntryListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public java.util.List extends emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder>
getDungeonEntryListOrBuilderList() {
if (dungeonEntryListBuilder_ != null) {
return dungeonEntryListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(dungeonEntryList_);
}
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder addDungeonEntryListBuilder() {
return getDungeonEntryListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.getDefaultInstance());
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder addDungeonEntryListBuilder(
int index) {
return getDungeonEntryListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.getDefaultInstance());
}
/**
* repeated .DungeonEntryInfo dungeonEntryList = 1;
*/
public java.util.List
getDungeonEntryListBuilderList() {
return getDungeonEntryListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder>
getDungeonEntryListFieldBuilder() {
if (dungeonEntryListBuilder_ == null) {
dungeonEntryListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder>(
dungeonEntryList_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
dungeonEntryList_ = null;
}
return dungeonEntryListBuilder_;
}
private int retcode_ ;
/**
* int32 retcode = 3;
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* int32 retcode = 3;
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
retcode_ = value;
onChanged();
return this;
}
/**
* int32 retcode = 3;
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:DungeonEntryInfoRsp)
}
// @@protoc_insertion_point(class_scope:DungeonEntryInfoRsp)
private static final emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp();
}
public static emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DungeonEntryInfoRsp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DungeonEntryInfoRsp(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 emu.grasscutter.net.proto.DungeonEntryInfoRspOuterClass.DungeonEntryInfoRsp getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_DungeonEntryInfoRsp_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_DungeonEntryInfoRsp_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\031DungeonEntryInfoRsp.proto\032\033DungeonEntr" +
"yPointInfo.proto\032\026DungeonEntryInfo.proto" +
"\"\210\002\n\023DungeonEntryInfoRsp\0225\n\025dungeonEntry" +
"PointList\030\005 \003(\0132\026.DungeonEntryPointInfo\022" +
"\032\n\022recommendDungeonId\030\004 \001(\r\022\017\n\007pointId\030\007" +
" \001(\r\022+\n\020dungeonEntryList\030\001 \003(\0132\021.Dungeon" +
"EntryInfo\022\017\n\007retcode\030\003 \001(\005\"O\n\013IPOKDKJPIA" +
"O\022\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\273\007\022\017\n\013DCDNILF" +
"DFLB\020\000\022\017\n\013NNBKOLMPOEA\020\001\032\002\020\001B\033\n\031emu.grass" +
"cutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.getDescriptor(),
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.getDescriptor(),
});
internal_static_DungeonEntryInfoRsp_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_DungeonEntryInfoRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_DungeonEntryInfoRsp_descriptor,
new java.lang.String[] { "DungeonEntryPointList", "RecommendDungeonId", "PointId", "DungeonEntryList", "Retcode", });
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.getDescriptor();
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}