mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-09 05:25:55 +08:00
* Remove hardcoded quest data * Remove deprecated fields * Try to fix packet * Apply fix for token exchange * Upgrade to REL3.7 * Add obfuscated protocol definitions * Add missing enum (other protos too maybe) * Re-add field setters and add note on removal
1443 lines
57 KiB
Java
1443 lines
57 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>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 15;</code>
|
|
*/
|
|
java.util.List<emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo>
|
|
getDungeonEntryPointListList();
|
|
/**
|
|
* <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 15;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo getDungeonEntryPointList(int index);
|
|
/**
|
|
* <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 15;</code>
|
|
*/
|
|
int getDungeonEntryPointListCount();
|
|
/**
|
|
* <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 15;</code>
|
|
*/
|
|
java.util.List<? extends emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfoOrBuilder>
|
|
getDungeonEntryPointListOrBuilderList();
|
|
/**
|
|
* <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 15;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfoOrBuilder getDungeonEntryPointListOrBuilder(
|
|
int index);
|
|
|
|
/**
|
|
* <code>uint32 point_id = 5;</code>
|
|
* @return The pointId.
|
|
*/
|
|
int getPointId();
|
|
|
|
/**
|
|
* <code>repeated .DungeonEntryInfo dungeon_entry_list = 6;</code>
|
|
*/
|
|
java.util.List<emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo>
|
|
getDungeonEntryListList();
|
|
/**
|
|
* <code>repeated .DungeonEntryInfo dungeon_entry_list = 6;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getDungeonEntryList(int index);
|
|
/**
|
|
* <code>repeated .DungeonEntryInfo dungeon_entry_list = 6;</code>
|
|
*/
|
|
int getDungeonEntryListCount();
|
|
/**
|
|
* <code>repeated .DungeonEntryInfo dungeon_entry_list = 6;</code>
|
|
*/
|
|
java.util.List<? extends emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder>
|
|
getDungeonEntryListOrBuilderList();
|
|
/**
|
|
* <code>repeated .DungeonEntryInfo dungeon_entry_list = 6;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder getDungeonEntryListOrBuilder(
|
|
int index);
|
|
|
|
/**
|
|
* <code>uint32 recommend_dungeon_id = 14;</code>
|
|
* @return The recommendDungeonId.
|
|
*/
|
|
int getRecommendDungeonId();
|
|
|
|
/**
|
|
* <code>int32 retcode = 1;</code>
|
|
* @return The retcode.
|
|
*/
|
|
int getRetcode();
|
|
}
|
|
/**
|
|
* <pre>
|
|
* CmdId: 996
|
|
* Obf: FEABLOCKDAP
|
|
* </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() {
|
|
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 8: {
|
|
|
|
retcode_ = input.readInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
|
|
pointId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
|
dungeonEntryList_ = new java.util.ArrayList<emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo>();
|
|
mutable_bitField0_ |= 0x00000002;
|
|
}
|
|
dungeonEntryList_.add(
|
|
input.readMessage(emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.parser(), extensionRegistry));
|
|
break;
|
|
}
|
|
case 112: {
|
|
|
|
recommendDungeonId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 122: {
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
dungeonEntryPointList_ = new java.util.ArrayList<emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo>();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
dungeonEntryPointList_.add(
|
|
input.readMessage(emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.parser(), extensionRegistry));
|
|
break;
|
|
}
|
|
default: {
|
|
if (!parseUnknownField(
|
|
input, unknownFields, extensionRegistry, tag)) {
|
|
done = true;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
throw e.setUnfinishedMessage(this);
|
|
} catch (java.io.IOException e) {
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
e).setUnfinishedMessage(this);
|
|
} finally {
|
|
if (((mutable_bitField0_ & 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);
|
|
}
|
|
|
|
public static final int DUNGEON_ENTRY_POINT_LIST_FIELD_NUMBER = 15;
|
|
private java.util.List<emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo> dungeonEntryPointList_;
|
|
/**
|
|
* <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 15;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo> getDungeonEntryPointListList() {
|
|
return dungeonEntryPointList_;
|
|
}
|
|
/**
|
|
* <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 15;</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 = 15;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public int getDungeonEntryPointListCount() {
|
|
return dungeonEntryPointList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 15;</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 = 15;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfoOrBuilder getDungeonEntryPointListOrBuilder(
|
|
int index) {
|
|
return dungeonEntryPointList_.get(index);
|
|
}
|
|
|
|
public static final int POINT_ID_FIELD_NUMBER = 5;
|
|
private int pointId_;
|
|
/**
|
|
* <code>uint32 point_id = 5;</code>
|
|
* @return The pointId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getPointId() {
|
|
return pointId_;
|
|
}
|
|
|
|
public static final int DUNGEON_ENTRY_LIST_FIELD_NUMBER = 6;
|
|
private java.util.List<emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo> dungeonEntryList_;
|
|
/**
|
|
* <code>repeated .DungeonEntryInfo dungeon_entry_list = 6;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo> getDungeonEntryListList() {
|
|
return dungeonEntryList_;
|
|
}
|
|
/**
|
|
* <code>repeated .DungeonEntryInfo dungeon_entry_list = 6;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<? extends emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder>
|
|
getDungeonEntryListOrBuilderList() {
|
|
return dungeonEntryList_;
|
|
}
|
|
/**
|
|
* <code>repeated .DungeonEntryInfo dungeon_entry_list = 6;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public int getDungeonEntryListCount() {
|
|
return dungeonEntryList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated .DungeonEntryInfo dungeon_entry_list = 6;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getDungeonEntryList(int index) {
|
|
return dungeonEntryList_.get(index);
|
|
}
|
|
/**
|
|
* <code>repeated .DungeonEntryInfo dungeon_entry_list = 6;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder getDungeonEntryListOrBuilder(
|
|
int index) {
|
|
return dungeonEntryList_.get(index);
|
|
}
|
|
|
|
public static final int RECOMMEND_DUNGEON_ID_FIELD_NUMBER = 14;
|
|
private int recommendDungeonId_;
|
|
/**
|
|
* <code>uint32 recommend_dungeon_id = 14;</code>
|
|
* @return The recommendDungeonId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getRecommendDungeonId() {
|
|
return recommendDungeonId_;
|
|
}
|
|
|
|
public static final int RETCODE_FIELD_NUMBER = 1;
|
|
private int retcode_;
|
|
/**
|
|
* <code>int32 retcode = 1;</code>
|
|
* @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 {
|
|
if (retcode_ != 0) {
|
|
output.writeInt32(1, retcode_);
|
|
}
|
|
if (pointId_ != 0) {
|
|
output.writeUInt32(5, pointId_);
|
|
}
|
|
for (int i = 0; i < dungeonEntryList_.size(); i++) {
|
|
output.writeMessage(6, dungeonEntryList_.get(i));
|
|
}
|
|
if (recommendDungeonId_ != 0) {
|
|
output.writeUInt32(14, recommendDungeonId_);
|
|
}
|
|
for (int i = 0; i < dungeonEntryPointList_.size(); i++) {
|
|
output.writeMessage(15, dungeonEntryPointList_.get(i));
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (retcode_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32Size(1, retcode_);
|
|
}
|
|
if (pointId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(5, pointId_);
|
|
}
|
|
for (int i = 0; i < dungeonEntryList_.size(); i++) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(6, dungeonEntryList_.get(i));
|
|
}
|
|
if (recommendDungeonId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(14, recommendDungeonId_);
|
|
}
|
|
for (int i = 0; i < dungeonEntryPointList_.size(); i++) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(15, dungeonEntryPointList_.get(i));
|
|
}
|
|
size += unknownFields.getSerializedSize();
|
|
memoizedSize = size;
|
|
return size;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public boolean equals(final java.lang.Object obj) {
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof 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 (getPointId()
|
|
!= other.getPointId()) return false;
|
|
if (!getDungeonEntryListList()
|
|
.equals(other.getDungeonEntryListList())) return false;
|
|
if (getRecommendDungeonId()
|
|
!= other.getRecommendDungeonId()) 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) + DUNGEON_ENTRY_POINT_LIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getDungeonEntryPointListList().hashCode();
|
|
}
|
|
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();
|
|
}
|
|
hash = (37 * hash) + RECOMMEND_DUNGEON_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getRecommendDungeonId();
|
|
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;
|
|
}
|
|
/**
|
|
* <pre>
|
|
* CmdId: 996
|
|
* Obf: FEABLOCKDAP
|
|
* </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) {
|
|
getDungeonEntryPointListFieldBuilder();
|
|
getDungeonEntryListFieldBuilder();
|
|
}
|
|
}
|
|
@java.lang.Override
|
|
public Builder clear() {
|
|
super.clear();
|
|
if (dungeonEntryPointListBuilder_ == null) {
|
|
dungeonEntryPointList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
} else {
|
|
dungeonEntryPointListBuilder_.clear();
|
|
}
|
|
pointId_ = 0;
|
|
|
|
if (dungeonEntryListBuilder_ == null) {
|
|
dungeonEntryList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
} else {
|
|
dungeonEntryListBuilder_.clear();
|
|
}
|
|
recommendDungeonId_ = 0;
|
|
|
|
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.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.recommendDungeonId_ = recommendDungeonId_;
|
|
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.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.getRecommendDungeonId() != 0) {
|
|
setRecommendDungeonId(other.getRecommendDungeonId());
|
|
}
|
|
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<emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo> dungeonEntryPointList_ =
|
|
java.util.Collections.emptyList();
|
|
private void ensureDungeonEntryPointListIsMutable() {
|
|
if (!((bitField0_ & 0x00000001) != 0)) {
|
|
dungeonEntryPointList_ = new java.util.ArrayList<emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo>(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_;
|
|
|
|
/**
|
|
* <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 15;</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 = 15;</code>
|
|
*/
|
|
public int getDungeonEntryPointListCount() {
|
|
if (dungeonEntryPointListBuilder_ == null) {
|
|
return dungeonEntryPointList_.size();
|
|
} else {
|
|
return dungeonEntryPointListBuilder_.getCount();
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 15;</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 = 15;</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 = 15;</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 = 15;</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 = 15;</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 = 15;</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 = 15;</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 = 15;</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 = 15;</code>
|
|
*/
|
|
public Builder clearDungeonEntryPointList() {
|
|
if (dungeonEntryPointListBuilder_ == null) {
|
|
dungeonEntryPointList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
onChanged();
|
|
} else {
|
|
dungeonEntryPointListBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 15;</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 = 15;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.DungeonEntryPointInfo.Builder getDungeonEntryPointListBuilder(
|
|
int index) {
|
|
return getDungeonEntryPointListFieldBuilder().getBuilder(index);
|
|
}
|
|
/**
|
|
* <code>repeated .DungeonEntryPointInfo dungeon_entry_point_list = 15;</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 = 15;</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 = 15;</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 = 15;</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 = 15;</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_ & 0x00000001) != 0),
|
|
getParentForChildren(),
|
|
isClean());
|
|
dungeonEntryPointList_ = null;
|
|
}
|
|
return dungeonEntryPointListBuilder_;
|
|
}
|
|
|
|
private int pointId_ ;
|
|
/**
|
|
* <code>uint32 point_id = 5;</code>
|
|
* @return The pointId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getPointId() {
|
|
return pointId_;
|
|
}
|
|
/**
|
|
* <code>uint32 point_id = 5;</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 = 5;</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_ & 0x00000002) != 0)) {
|
|
dungeonEntryList_ = new java.util.ArrayList<emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo>(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_;
|
|
|
|
/**
|
|
* <code>repeated .DungeonEntryInfo dungeon_entry_list = 6;</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 = 6;</code>
|
|
*/
|
|
public int getDungeonEntryListCount() {
|
|
if (dungeonEntryListBuilder_ == null) {
|
|
return dungeonEntryList_.size();
|
|
} else {
|
|
return dungeonEntryListBuilder_.getCount();
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .DungeonEntryInfo dungeon_entry_list = 6;</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 = 6;</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 = 6;</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 = 6;</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 = 6;</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 = 6;</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 = 6;</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 = 6;</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 = 6;</code>
|
|
*/
|
|
public Builder clearDungeonEntryList() {
|
|
if (dungeonEntryListBuilder_ == null) {
|
|
dungeonEntryList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
onChanged();
|
|
} else {
|
|
dungeonEntryListBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .DungeonEntryInfo dungeon_entry_list = 6;</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 = 6;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder getDungeonEntryListBuilder(
|
|
int index) {
|
|
return getDungeonEntryListFieldBuilder().getBuilder(index);
|
|
}
|
|
/**
|
|
* <code>repeated .DungeonEntryInfo dungeon_entry_list = 6;</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 = 6;</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 = 6;</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 = 6;</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 = 6;</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_ & 0x00000002) != 0),
|
|
getParentForChildren(),
|
|
isClean());
|
|
dungeonEntryList_ = null;
|
|
}
|
|
return dungeonEntryListBuilder_;
|
|
}
|
|
|
|
private int recommendDungeonId_ ;
|
|
/**
|
|
* <code>uint32 recommend_dungeon_id = 14;</code>
|
|
* @return The recommendDungeonId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getRecommendDungeonId() {
|
|
return recommendDungeonId_;
|
|
}
|
|
/**
|
|
* <code>uint32 recommend_dungeon_id = 14;</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 = 14;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearRecommendDungeonId() {
|
|
|
|
recommendDungeonId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int retcode_ ;
|
|
/**
|
|
* <code>int32 retcode = 1;</code>
|
|
* @return The retcode.
|
|
*/
|
|
@java.lang.Override
|
|
public int getRetcode() {
|
|
return retcode_;
|
|
}
|
|
/**
|
|
* <code>int32 retcode = 1;</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 = 1;</code>
|
|
* @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<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\033DungeonEntr" +
|
|
"yPointInfo.proto\032\026DungeonEntryInfo.proto" +
|
|
"\"\277\001\n\023DungeonEntryInfoRsp\0228\n\030dungeon_entr" +
|
|
"y_point_list\030\017 \003(\0132\026.DungeonEntryPointIn" +
|
|
"fo\022\020\n\010point_id\030\005 \001(\r\022-\n\022dungeon_entry_li" +
|
|
"st\030\006 \003(\0132\021.DungeonEntryInfo\022\034\n\024recommend" +
|
|
"_dungeon_id\030\016 \001(\r\022\017\n\007retcode\030\001 \001(\005B\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.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", "PointId", "DungeonEntryList", "RecommendDungeonId", "Retcode", });
|
|
emu.grasscutter.net.proto.DungeonEntryPointInfoOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|