mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-08 00:04:47 +08:00
1507 lines
71 KiB
Java
1507 lines
71 KiB
Java
// 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 {
|
|
|
|
/**
|
|
* <code>uint32 recommend_dungeon_id = 13;</code>
|
|
*
|
|
* @return The recommendDungeonId.
|
|
*/
|
|
int getRecommendDungeonId();
|
|
|
|
/**
|
|
* <code>int32 retcode = 15;</code>
|
|
*
|
|
* @return The retcode.
|
|
*/
|
|
int getRetcode();
|
|
|
|
/**
|
|
* <code>uint32 point_id = 14;</code>
|
|
*
|
|
* @return The pointId.
|
|
*/
|
|
int getPointId();
|
|
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
java.util.List<emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo>
|
|
getDungeonEntryListList();
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getDungeonEntryList(
|
|
int index);
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
int getDungeonEntryListCount();
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
java.util.List<
|
|
? extends
|
|
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder>
|
|
getDungeonEntryListOrBuilderList();
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder
|
|
getDungeonEntryListOrBuilder(int index);
|
|
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
java.util.List<emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo>
|
|
getDungeonEntryPointListList();
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo
|
|
getDungeonEntryPointList(int index);
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
int getDungeonEntryPointListCount();
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
java.util.List<
|
|
? extends
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass
|
|
.DungeonEntryPointInfoOrBuilder>
|
|
getDungeonEntryPointListOrBuilderList();
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfoOrBuilder
|
|
getDungeonEntryPointListOrBuilder(int index);
|
|
}
|
|
/**
|
|
*
|
|
*
|
|
* <pre>
|
|
* Name: DALCJFEAHJH
|
|
* CmdId: 975
|
|
* </pre>
|
|
*
|
|
* 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() {
|
|
dungeonEntryList_ = java.util.Collections.emptyList();
|
|
dungeonEntryPointList_ = 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 34:
|
|
{
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
dungeonEntryList_ =
|
|
new java.util.ArrayList<
|
|
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo>();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
dungeonEntryList_.add(
|
|
input.readMessage(
|
|
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo
|
|
.parser(),
|
|
extensionRegistry));
|
|
break;
|
|
}
|
|
case 74:
|
|
{
|
|
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
|
dungeonEntryPointList_ =
|
|
new java.util.ArrayList<
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass
|
|
.DungeonEntryPointInfo>();
|
|
mutable_bitField0_ |= 0x00000002;
|
|
}
|
|
dungeonEntryPointList_.add(
|
|
input.readMessage(
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass
|
|
.DungeonEntryPointInfo.parser(),
|
|
extensionRegistry));
|
|
break;
|
|
}
|
|
case 104:
|
|
{
|
|
recommendDungeonId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 112:
|
|
{
|
|
pointId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 120:
|
|
{
|
|
retcode_ = input.readInt32();
|
|
break;
|
|
}
|
|
default:
|
|
{
|
|
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
|
|
done = true;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
throw e.setUnfinishedMessage(this);
|
|
} catch (java.io.IOException e) {
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
|
|
} finally {
|
|
if (((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
dungeonEntryList_ = java.util.Collections.unmodifiableList(dungeonEntryList_);
|
|
}
|
|
if (((mutable_bitField0_ & 0x00000002) != 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);
|
|
}
|
|
|
|
public static final int RECOMMEND_DUNGEON_ID_FIELD_NUMBER = 13;
|
|
private int recommendDungeonId_;
|
|
/**
|
|
* <code>uint32 recommend_dungeon_id = 13;</code>
|
|
*
|
|
* @return The recommendDungeonId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getRecommendDungeonId() {
|
|
return recommendDungeonId_;
|
|
}
|
|
|
|
public static final int RETCODE_FIELD_NUMBER = 15;
|
|
private int retcode_;
|
|
/**
|
|
* <code>int32 retcode = 15;</code>
|
|
*
|
|
* @return The retcode.
|
|
*/
|
|
@java.lang.Override
|
|
public int getRetcode() {
|
|
return retcode_;
|
|
}
|
|
|
|
public static final int POINT_ID_FIELD_NUMBER = 14;
|
|
private int pointId_;
|
|
/**
|
|
* <code>uint32 point_id = 14;</code>
|
|
*
|
|
* @return The pointId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getPointId() {
|
|
return pointId_;
|
|
}
|
|
|
|
public static final int DUNGEON_ENTRY_LIST_FIELD_NUMBER = 4;
|
|
private java.util.List<emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo>
|
|
dungeonEntryList_;
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
@java.lang.Override
|
|
public java.util.List<emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo>
|
|
getDungeonEntryListList() {
|
|
return dungeonEntryList_;
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
@java.lang.Override
|
|
public java.util.List<
|
|
? extends
|
|
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder>
|
|
getDungeonEntryListOrBuilderList() {
|
|
return dungeonEntryList_;
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
@java.lang.Override
|
|
public int getDungeonEntryListCount() {
|
|
return dungeonEntryList_.size();
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo
|
|
getDungeonEntryList(int index) {
|
|
return dungeonEntryList_.get(index);
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder
|
|
getDungeonEntryListOrBuilder(int index) {
|
|
return dungeonEntryList_.get(index);
|
|
}
|
|
|
|
public static final int DUNGEON_ENTRY_POINT_LIST_FIELD_NUMBER = 9;
|
|
private java.util.List<
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo>
|
|
dungeonEntryPointList_;
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
@java.lang.Override
|
|
public java.util.List<
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo>
|
|
getDungeonEntryPointListList() {
|
|
return dungeonEntryPointList_;
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
@java.lang.Override
|
|
public java.util.List<
|
|
? extends
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass
|
|
.DungeonEntryPointInfoOrBuilder>
|
|
getDungeonEntryPointListOrBuilderList() {
|
|
return dungeonEntryPointList_;
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
@java.lang.Override
|
|
public int getDungeonEntryPointListCount() {
|
|
return dungeonEntryPointList_.size();
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo
|
|
getDungeonEntryPointList(int index) {
|
|
return dungeonEntryPointList_.get(index);
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfoOrBuilder
|
|
getDungeonEntryPointListOrBuilder(int index) {
|
|
return dungeonEntryPointList_.get(index);
|
|
}
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
|
@java.lang.Override
|
|
public final boolean isInitialized() {
|
|
byte isInitialized = memoizedIsInitialized;
|
|
if (isInitialized == 1) return true;
|
|
if (isInitialized == 0) return false;
|
|
|
|
memoizedIsInitialized = 1;
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
|
|
for (int i = 0; i < dungeonEntryList_.size(); i++) {
|
|
output.writeMessage(4, dungeonEntryList_.get(i));
|
|
}
|
|
for (int i = 0; i < dungeonEntryPointList_.size(); i++) {
|
|
output.writeMessage(9, dungeonEntryPointList_.get(i));
|
|
}
|
|
if (recommendDungeonId_ != 0) {
|
|
output.writeUInt32(13, recommendDungeonId_);
|
|
}
|
|
if (pointId_ != 0) {
|
|
output.writeUInt32(14, pointId_);
|
|
}
|
|
if (retcode_ != 0) {
|
|
output.writeInt32(15, retcode_);
|
|
}
|
|
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(4, dungeonEntryList_.get(i));
|
|
}
|
|
for (int i = 0; i < dungeonEntryPointList_.size(); i++) {
|
|
size +=
|
|
com.google.protobuf.CodedOutputStream.computeMessageSize(
|
|
9, dungeonEntryPointList_.get(i));
|
|
}
|
|
if (recommendDungeonId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(13, recommendDungeonId_);
|
|
}
|
|
if (pointId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(14, pointId_);
|
|
}
|
|
if (retcode_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeInt32Size(15, retcode_);
|
|
}
|
|
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 (getRecommendDungeonId() != other.getRecommendDungeonId()) return false;
|
|
if (getRetcode() != other.getRetcode()) return false;
|
|
if (getPointId() != other.getPointId()) return false;
|
|
if (!getDungeonEntryListList().equals(other.getDungeonEntryListList())) return false;
|
|
if (!getDungeonEntryPointListList().equals(other.getDungeonEntryPointListList()))
|
|
return false;
|
|
if (!unknownFields.equals(other.unknownFields)) return false;
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int hashCode() {
|
|
if (memoizedHashCode != 0) {
|
|
return memoizedHashCode;
|
|
}
|
|
int hash = 41;
|
|
hash = (19 * hash) + getDescriptor().hashCode();
|
|
hash = (37 * hash) + RECOMMEND_DUNGEON_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getRecommendDungeonId();
|
|
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getRetcode();
|
|
hash = (37 * hash) + POINT_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getPointId();
|
|
if (getDungeonEntryListCount() > 0) {
|
|
hash = (37 * hash) + DUNGEON_ENTRY_LIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getDungeonEntryListList().hashCode();
|
|
}
|
|
if (getDungeonEntryPointListCount() > 0) {
|
|
hash = (37 * hash) + DUNGEON_ENTRY_POINT_LIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getDungeonEntryPointListList().hashCode();
|
|
}
|
|
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;
|
|
}
|
|
/**
|
|
*
|
|
*
|
|
* <pre>
|
|
* Name: DALCJFEAHJH
|
|
* CmdId: 975
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code DungeonEntryInfoRsp}
|
|
*/
|
|
public static final class Builder
|
|
extends com.google.protobuf.GeneratedMessageV3.Builder<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) {
|
|
getDungeonEntryListFieldBuilder();
|
|
getDungeonEntryPointListFieldBuilder();
|
|
}
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder clear() {
|
|
super.clear();
|
|
recommendDungeonId_ = 0;
|
|
|
|
retcode_ = 0;
|
|
|
|
pointId_ = 0;
|
|
|
|
if (dungeonEntryListBuilder_ == null) {
|
|
dungeonEntryList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
} else {
|
|
dungeonEntryListBuilder_.clear();
|
|
}
|
|
if (dungeonEntryPointListBuilder_ == null) {
|
|
dungeonEntryPointList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
} else {
|
|
dungeonEntryPointListBuilder_.clear();
|
|
}
|
|
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_;
|
|
result.recommendDungeonId_ = recommendDungeonId_;
|
|
result.retcode_ = retcode_;
|
|
result.pointId_ = pointId_;
|
|
if (dungeonEntryListBuilder_ == null) {
|
|
if (((bitField0_ & 0x00000001) != 0)) {
|
|
dungeonEntryList_ = java.util.Collections.unmodifiableList(dungeonEntryList_);
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
}
|
|
result.dungeonEntryList_ = dungeonEntryList_;
|
|
} else {
|
|
result.dungeonEntryList_ = dungeonEntryListBuilder_.build();
|
|
}
|
|
if (dungeonEntryPointListBuilder_ == null) {
|
|
if (((bitField0_ & 0x00000002) != 0)) {
|
|
dungeonEntryPointList_ = java.util.Collections.unmodifiableList(dungeonEntryPointList_);
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
}
|
|
result.dungeonEntryPointList_ = dungeonEntryPointList_;
|
|
} else {
|
|
result.dungeonEntryPointList_ = dungeonEntryPointListBuilder_.build();
|
|
}
|
|
onBuilt();
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder clone() {
|
|
return super.clone();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder setField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
|
|
return super.setField(field, value);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
return super.clearField(field);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
return super.clearOneof(oneof);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder setRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
int index,
|
|
java.lang.Object value) {
|
|
return super.setRepeatedField(field, index, value);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder addRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
|
|
return super.addRepeatedField(field, value);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
if (other
|
|
instanceof
|
|
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 (other.getRecommendDungeonId() != 0) {
|
|
setRecommendDungeonId(other.getRecommendDungeonId());
|
|
}
|
|
if (other.getRetcode() != 0) {
|
|
setRetcode(other.getRetcode());
|
|
}
|
|
if (other.getPointId() != 0) {
|
|
setPointId(other.getPointId());
|
|
}
|
|
if (dungeonEntryListBuilder_ == null) {
|
|
if (!other.dungeonEntryList_.isEmpty()) {
|
|
if (dungeonEntryList_.isEmpty()) {
|
|
dungeonEntryList_ = other.dungeonEntryList_;
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
} else {
|
|
ensureDungeonEntryListIsMutable();
|
|
dungeonEntryList_.addAll(other.dungeonEntryList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
} else {
|
|
if (!other.dungeonEntryList_.isEmpty()) {
|
|
if (dungeonEntryListBuilder_.isEmpty()) {
|
|
dungeonEntryListBuilder_.dispose();
|
|
dungeonEntryListBuilder_ = null;
|
|
dungeonEntryList_ = other.dungeonEntryList_;
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
dungeonEntryListBuilder_ =
|
|
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
|
|
? getDungeonEntryListFieldBuilder()
|
|
: null;
|
|
} else {
|
|
dungeonEntryListBuilder_.addAllMessages(other.dungeonEntryList_);
|
|
}
|
|
}
|
|
}
|
|
if (dungeonEntryPointListBuilder_ == null) {
|
|
if (!other.dungeonEntryPointList_.isEmpty()) {
|
|
if (dungeonEntryPointList_.isEmpty()) {
|
|
dungeonEntryPointList_ = other.dungeonEntryPointList_;
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
} else {
|
|
ensureDungeonEntryPointListIsMutable();
|
|
dungeonEntryPointList_.addAll(other.dungeonEntryPointList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
} else {
|
|
if (!other.dungeonEntryPointList_.isEmpty()) {
|
|
if (dungeonEntryPointListBuilder_.isEmpty()) {
|
|
dungeonEntryPointListBuilder_.dispose();
|
|
dungeonEntryPointListBuilder_ = null;
|
|
dungeonEntryPointList_ = other.dungeonEntryPointList_;
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
dungeonEntryPointListBuilder_ =
|
|
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
|
|
? getDungeonEntryPointListFieldBuilder()
|
|
: null;
|
|
} else {
|
|
dungeonEntryPointListBuilder_.addAllMessages(other.dungeonEntryPointList_);
|
|
}
|
|
}
|
|
}
|
|
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 int recommendDungeonId_;
|
|
/**
|
|
* <code>uint32 recommend_dungeon_id = 13;</code>
|
|
*
|
|
* @return The recommendDungeonId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getRecommendDungeonId() {
|
|
return recommendDungeonId_;
|
|
}
|
|
/**
|
|
* <code>uint32 recommend_dungeon_id = 13;</code>
|
|
*
|
|
* @param value The recommendDungeonId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setRecommendDungeonId(int value) {
|
|
|
|
recommendDungeonId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 recommend_dungeon_id = 13;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearRecommendDungeonId() {
|
|
|
|
recommendDungeonId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int retcode_;
|
|
/**
|
|
* <code>int32 retcode = 15;</code>
|
|
*
|
|
* @return The retcode.
|
|
*/
|
|
@java.lang.Override
|
|
public int getRetcode() {
|
|
return retcode_;
|
|
}
|
|
/**
|
|
* <code>int32 retcode = 15;</code>
|
|
*
|
|
* @param value The retcode to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setRetcode(int value) {
|
|
|
|
retcode_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>int32 retcode = 15;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearRetcode() {
|
|
|
|
retcode_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int pointId_;
|
|
/**
|
|
* <code>uint32 point_id = 14;</code>
|
|
*
|
|
* @return The pointId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getPointId() {
|
|
return pointId_;
|
|
}
|
|
/**
|
|
* <code>uint32 point_id = 14;</code>
|
|
*
|
|
* @param value The pointId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setPointId(int value) {
|
|
|
|
pointId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 point_id = 14;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearPointId() {
|
|
|
|
pointId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private java.util.List<emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo>
|
|
dungeonEntryList_ = java.util.Collections.emptyList();
|
|
|
|
private void ensureDungeonEntryListIsMutable() {
|
|
if (!((bitField0_ & 0x00000001) != 0)) {
|
|
dungeonEntryList_ =
|
|
new java.util.ArrayList<
|
|
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo>(
|
|
dungeonEntryList_);
|
|
bitField0_ |= 0x00000001;
|
|
}
|
|
}
|
|
|
|
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_;
|
|
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
public java.util.List<emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo>
|
|
getDungeonEntryListList() {
|
|
if (dungeonEntryListBuilder_ == null) {
|
|
return java.util.Collections.unmodifiableList(dungeonEntryList_);
|
|
} else {
|
|
return dungeonEntryListBuilder_.getMessageList();
|
|
}
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
public int getDungeonEntryListCount() {
|
|
if (dungeonEntryListBuilder_ == null) {
|
|
return dungeonEntryList_.size();
|
|
} else {
|
|
return dungeonEntryListBuilder_.getCount();
|
|
}
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo
|
|
getDungeonEntryList(int index) {
|
|
if (dungeonEntryListBuilder_ == null) {
|
|
return dungeonEntryList_.get(index);
|
|
} else {
|
|
return dungeonEntryListBuilder_.getMessage(index);
|
|
}
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
public Builder clearDungeonEntryList() {
|
|
if (dungeonEntryListBuilder_ == null) {
|
|
dungeonEntryList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
onChanged();
|
|
} else {
|
|
dungeonEntryListBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
public Builder removeDungeonEntryList(int index) {
|
|
if (dungeonEntryListBuilder_ == null) {
|
|
ensureDungeonEntryListIsMutable();
|
|
dungeonEntryList_.remove(index);
|
|
onChanged();
|
|
} else {
|
|
dungeonEntryListBuilder_.remove(index);
|
|
}
|
|
return this;
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder
|
|
getDungeonEntryListBuilder(int index) {
|
|
return getDungeonEntryListFieldBuilder().getBuilder(index);
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder
|
|
getDungeonEntryListOrBuilder(int index) {
|
|
if (dungeonEntryListBuilder_ == null) {
|
|
return dungeonEntryList_.get(index);
|
|
} else {
|
|
return dungeonEntryListBuilder_.getMessageOrBuilder(index);
|
|
}
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
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_);
|
|
}
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder
|
|
addDungeonEntryListBuilder() {
|
|
return getDungeonEntryListFieldBuilder()
|
|
.addBuilder(
|
|
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo
|
|
.getDefaultInstance());
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder
|
|
addDungeonEntryListBuilder(int index) {
|
|
return getDungeonEntryListFieldBuilder()
|
|
.addBuilder(
|
|
index,
|
|
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo
|
|
.getDefaultInstance());
|
|
}
|
|
/** <code>repeated .DungeonEntryInfo dungeon_entry_list = 4;</code> */
|
|
public java.util.List<
|
|
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder>
|
|
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_ & 0x00000001) != 0),
|
|
getParentForChildren(),
|
|
isClean());
|
|
dungeonEntryList_ = null;
|
|
}
|
|
return dungeonEntryListBuilder_;
|
|
}
|
|
|
|
private java.util.List<
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo>
|
|
dungeonEntryPointList_ = java.util.Collections.emptyList();
|
|
|
|
private void ensureDungeonEntryPointListIsMutable() {
|
|
if (!((bitField0_ & 0x00000002) != 0)) {
|
|
dungeonEntryPointList_ =
|
|
new java.util.ArrayList<
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo>(
|
|
dungeonEntryPointList_);
|
|
bitField0_ |= 0x00000002;
|
|
}
|
|
}
|
|
|
|
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_;
|
|
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
public java.util.List<
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo>
|
|
getDungeonEntryPointListList() {
|
|
if (dungeonEntryPointListBuilder_ == null) {
|
|
return java.util.Collections.unmodifiableList(dungeonEntryPointList_);
|
|
} else {
|
|
return dungeonEntryPointListBuilder_.getMessageList();
|
|
}
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
public int getDungeonEntryPointListCount() {
|
|
if (dungeonEntryPointListBuilder_ == null) {
|
|
return dungeonEntryPointList_.size();
|
|
} else {
|
|
return dungeonEntryPointListBuilder_.getCount();
|
|
}
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo
|
|
getDungeonEntryPointList(int index) {
|
|
if (dungeonEntryPointListBuilder_ == null) {
|
|
return dungeonEntryPointList_.get(index);
|
|
} else {
|
|
return dungeonEntryPointListBuilder_.getMessage(index);
|
|
}
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
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;
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
public Builder clearDungeonEntryPointList() {
|
|
if (dungeonEntryPointListBuilder_ == null) {
|
|
dungeonEntryPointList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
onChanged();
|
|
} else {
|
|
dungeonEntryPointListBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
public Builder removeDungeonEntryPointList(int index) {
|
|
if (dungeonEntryPointListBuilder_ == null) {
|
|
ensureDungeonEntryPointListIsMutable();
|
|
dungeonEntryPointList_.remove(index);
|
|
onChanged();
|
|
} else {
|
|
dungeonEntryPointListBuilder_.remove(index);
|
|
}
|
|
return this;
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.Builder
|
|
getDungeonEntryPointListBuilder(int index) {
|
|
return getDungeonEntryPointListFieldBuilder().getBuilder(index);
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass
|
|
.DungeonEntryPointInfoOrBuilder
|
|
getDungeonEntryPointListOrBuilder(int index) {
|
|
if (dungeonEntryPointListBuilder_ == null) {
|
|
return dungeonEntryPointList_.get(index);
|
|
} else {
|
|
return dungeonEntryPointListBuilder_.getMessageOrBuilder(index);
|
|
}
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
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_);
|
|
}
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.Builder
|
|
addDungeonEntryPointListBuilder() {
|
|
return getDungeonEntryPointListFieldBuilder()
|
|
.addBuilder(
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo
|
|
.getDefaultInstance());
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.Builder
|
|
addDungeonEntryPointListBuilder(int index) {
|
|
return getDungeonEntryPointListFieldBuilder()
|
|
.addBuilder(
|
|
index,
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo
|
|
.getDefaultInstance());
|
|
}
|
|
/** <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 9;</code> */
|
|
public java.util.List<
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo
|
|
.Builder>
|
|
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_ & 0x00000002) != 0),
|
|
getParentForChildren(),
|
|
isClean());
|
|
dungeonEntryPointList_ = null;
|
|
}
|
|
return dungeonEntryPointListBuilder_;
|
|
}
|
|
|
|
@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<DungeonEntryInfoRsp> PARSER =
|
|
new com.google.protobuf.AbstractParser<DungeonEntryInfoRsp>() {
|
|
@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<DungeonEntryInfoRsp> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<DungeonEntryInfoRsp> 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\026DungeonEntr"
|
|
+ "yInfo.proto\032\033DungeonEntryPointInfo.proto"
|
|
+ "\"\277\001\n\023DungeonEntryInfoRsp\022\034\n\024recommend_du"
|
|
+ "ngeon_id\030\r \001(\r\022\017\n\007retcode\030\017 \001(\005\022\020\n\010point"
|
|
+ "_id\030\016 \001(\r\022-\n\022dungeon_entry_list\030\004 \003(\0132\021."
|
|
+ "DungeonEntryInfo\0228\n\030dungeon_entry_point_"
|
|
+ "list\030\t \003(\0132\026.DungeonEntryPointInfoB\033\n\031em"
|
|
+ "u.grasscutter.net.protob\006proto3"
|
|
};
|
|
descriptor =
|
|
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
|
|
descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.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[] {
|
|
"RecommendDungeonId",
|
|
"Retcode",
|
|
"PointId",
|
|
"DungeonEntryList",
|
|
"DungeonEntryPointList",
|
|
});
|
|
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|