Grasscutter/src/generated/main/java/emu/grasscutter/net/proto/PersonalLineAllDataRspOuterClass.java
2023-08-26 19:51:45 -04:00

1457 lines
58 KiB
Java

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: PersonalLineAllDataRsp.proto
package emu.grasscutter.net.proto;
public final class PersonalLineAllDataRspOuterClass {
private PersonalLineAllDataRspOuterClass() {}
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 PersonalLineAllDataRspOrBuilder extends
// @@protoc_insertion_point(interface_extends:PersonalLineAllDataRsp)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
* @return A list containing the canBeUnlockedPersonalLineList.
*/
java.util.List<java.lang.Integer> getCanBeUnlockedPersonalLineListList();
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
* @return The count of canBeUnlockedPersonalLineList.
*/
int getCanBeUnlockedPersonalLineListCount();
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
* @param index The index of the element to return.
* @return The canBeUnlockedPersonalLineList at the given index.
*/
int getCanBeUnlockedPersonalLineList(int index);
/**
* <code>int32 retcode = 3;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>uint32 cur_finished_daily_task_count = 11;</code>
* @return The curFinishedDailyTaskCount.
*/
int getCurFinishedDailyTaskCount();
/**
* <code>uint32 legendary_key_count = 1;</code>
* @return The legendaryKeyCount.
*/
int getLegendaryKeyCount();
/**
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
* @return A list containing the ongoingPersonalLineList.
*/
java.util.List<java.lang.Integer> getOngoingPersonalLineListList();
/**
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
* @return The count of ongoingPersonalLineList.
*/
int getOngoingPersonalLineListCount();
/**
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
* @param index The index of the element to return.
* @return The ongoingPersonalLineList at the given index.
*/
int getOngoingPersonalLineList(int index);
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
java.util.List<emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData>
getLockedPersonalLineListList();
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData getLockedPersonalLineList(int index);
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
int getLockedPersonalLineListCount();
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
java.util.List<? extends emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineDataOrBuilder>
getLockedPersonalLineListOrBuilderList();
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineDataOrBuilder getLockedPersonalLineListOrBuilder(
int index);
}
/**
* <pre>
* CmdId: 20607
* Obf: EKHCNHLAPJL
* </pre>
*
* Protobuf type {@code PersonalLineAllDataRsp}
*/
public static final class PersonalLineAllDataRsp extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:PersonalLineAllDataRsp)
PersonalLineAllDataRspOrBuilder {
private static final long serialVersionUID = 0L;
// Use PersonalLineAllDataRsp.newBuilder() to construct.
private PersonalLineAllDataRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private PersonalLineAllDataRsp() {
canBeUnlockedPersonalLineList_ = emptyIntList();
ongoingPersonalLineList_ = emptyIntList();
lockedPersonalLineList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PersonalLineAllDataRsp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PersonalLineAllDataRsp(
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: {
legendaryKeyCount_ = input.readUInt32();
break;
}
case 16: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
canBeUnlockedPersonalLineList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
canBeUnlockedPersonalLineList_.addInt(input.readUInt32());
break;
}
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
canBeUnlockedPersonalLineList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
canBeUnlockedPersonalLineList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 24: {
retcode_ = input.readInt32();
break;
}
case 48: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
ongoingPersonalLineList_ = newIntList();
mutable_bitField0_ |= 0x00000002;
}
ongoingPersonalLineList_.addInt(input.readUInt32());
break;
}
case 50: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
ongoingPersonalLineList_ = newIntList();
mutable_bitField0_ |= 0x00000002;
}
while (input.getBytesUntilLimit() > 0) {
ongoingPersonalLineList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 66: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
lockedPersonalLineList_ = new java.util.ArrayList<emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData>();
mutable_bitField0_ |= 0x00000004;
}
lockedPersonalLineList_.add(
input.readMessage(emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData.parser(), extensionRegistry));
break;
}
case 88: {
curFinishedDailyTaskCount_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
canBeUnlockedPersonalLineList_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
ongoingPersonalLineList_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
lockedPersonalLineList_ = java.util.Collections.unmodifiableList(lockedPersonalLineList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.internal_static_PersonalLineAllDataRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.internal_static_PersonalLineAllDataRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp.class, emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp.Builder.class);
}
public static final int CAN_BE_UNLOCKED_PERSONAL_LINE_LIST_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.IntList canBeUnlockedPersonalLineList_;
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
* @return A list containing the canBeUnlockedPersonalLineList.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getCanBeUnlockedPersonalLineListList() {
return canBeUnlockedPersonalLineList_;
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
* @return The count of canBeUnlockedPersonalLineList.
*/
public int getCanBeUnlockedPersonalLineListCount() {
return canBeUnlockedPersonalLineList_.size();
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
* @param index The index of the element to return.
* @return The canBeUnlockedPersonalLineList at the given index.
*/
public int getCanBeUnlockedPersonalLineList(int index) {
return canBeUnlockedPersonalLineList_.getInt(index);
}
private int canBeUnlockedPersonalLineListMemoizedSerializedSize = -1;
public static final int RETCODE_FIELD_NUMBER = 3;
private int retcode_;
/**
* <code>int32 retcode = 3;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
public static final int CUR_FINISHED_DAILY_TASK_COUNT_FIELD_NUMBER = 11;
private int curFinishedDailyTaskCount_;
/**
* <code>uint32 cur_finished_daily_task_count = 11;</code>
* @return The curFinishedDailyTaskCount.
*/
@java.lang.Override
public int getCurFinishedDailyTaskCount() {
return curFinishedDailyTaskCount_;
}
public static final int LEGENDARY_KEY_COUNT_FIELD_NUMBER = 1;
private int legendaryKeyCount_;
/**
* <code>uint32 legendary_key_count = 1;</code>
* @return The legendaryKeyCount.
*/
@java.lang.Override
public int getLegendaryKeyCount() {
return legendaryKeyCount_;
}
public static final int ONGOING_PERSONAL_LINE_LIST_FIELD_NUMBER = 6;
private com.google.protobuf.Internal.IntList ongoingPersonalLineList_;
/**
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
* @return A list containing the ongoingPersonalLineList.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getOngoingPersonalLineListList() {
return ongoingPersonalLineList_;
}
/**
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
* @return The count of ongoingPersonalLineList.
*/
public int getOngoingPersonalLineListCount() {
return ongoingPersonalLineList_.size();
}
/**
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
* @param index The index of the element to return.
* @return The ongoingPersonalLineList at the given index.
*/
public int getOngoingPersonalLineList(int index) {
return ongoingPersonalLineList_.getInt(index);
}
private int ongoingPersonalLineListMemoizedSerializedSize = -1;
public static final int LOCKED_PERSONAL_LINE_LIST_FIELD_NUMBER = 8;
private java.util.List<emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData> lockedPersonalLineList_;
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData> getLockedPersonalLineListList() {
return lockedPersonalLineList_;
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineDataOrBuilder>
getLockedPersonalLineListOrBuilderList() {
return lockedPersonalLineList_;
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
@java.lang.Override
public int getLockedPersonalLineListCount() {
return lockedPersonalLineList_.size();
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData getLockedPersonalLineList(int index) {
return lockedPersonalLineList_.get(index);
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineDataOrBuilder getLockedPersonalLineListOrBuilder(
int index) {
return lockedPersonalLineList_.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 {
getSerializedSize();
if (legendaryKeyCount_ != 0) {
output.writeUInt32(1, legendaryKeyCount_);
}
if (getCanBeUnlockedPersonalLineListList().size() > 0) {
output.writeUInt32NoTag(18);
output.writeUInt32NoTag(canBeUnlockedPersonalLineListMemoizedSerializedSize);
}
for (int i = 0; i < canBeUnlockedPersonalLineList_.size(); i++) {
output.writeUInt32NoTag(canBeUnlockedPersonalLineList_.getInt(i));
}
if (retcode_ != 0) {
output.writeInt32(3, retcode_);
}
if (getOngoingPersonalLineListList().size() > 0) {
output.writeUInt32NoTag(50);
output.writeUInt32NoTag(ongoingPersonalLineListMemoizedSerializedSize);
}
for (int i = 0; i < ongoingPersonalLineList_.size(); i++) {
output.writeUInt32NoTag(ongoingPersonalLineList_.getInt(i));
}
for (int i = 0; i < lockedPersonalLineList_.size(); i++) {
output.writeMessage(8, lockedPersonalLineList_.get(i));
}
if (curFinishedDailyTaskCount_ != 0) {
output.writeUInt32(11, curFinishedDailyTaskCount_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (legendaryKeyCount_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, legendaryKeyCount_);
}
{
int dataSize = 0;
for (int i = 0; i < canBeUnlockedPersonalLineList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(canBeUnlockedPersonalLineList_.getInt(i));
}
size += dataSize;
if (!getCanBeUnlockedPersonalLineListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
canBeUnlockedPersonalLineListMemoizedSerializedSize = dataSize;
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, retcode_);
}
{
int dataSize = 0;
for (int i = 0; i < ongoingPersonalLineList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(ongoingPersonalLineList_.getInt(i));
}
size += dataSize;
if (!getOngoingPersonalLineListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
ongoingPersonalLineListMemoizedSerializedSize = dataSize;
}
for (int i = 0; i < lockedPersonalLineList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, lockedPersonalLineList_.get(i));
}
if (curFinishedDailyTaskCount_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, curFinishedDailyTaskCount_);
}
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.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp other = (emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp) obj;
if (!getCanBeUnlockedPersonalLineListList()
.equals(other.getCanBeUnlockedPersonalLineListList())) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (getCurFinishedDailyTaskCount()
!= other.getCurFinishedDailyTaskCount()) return false;
if (getLegendaryKeyCount()
!= other.getLegendaryKeyCount()) return false;
if (!getOngoingPersonalLineListList()
.equals(other.getOngoingPersonalLineListList())) return false;
if (!getLockedPersonalLineListList()
.equals(other.getLockedPersonalLineListList())) 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 (getCanBeUnlockedPersonalLineListCount() > 0) {
hash = (37 * hash) + CAN_BE_UNLOCKED_PERSONAL_LINE_LIST_FIELD_NUMBER;
hash = (53 * hash) + getCanBeUnlockedPersonalLineListList().hashCode();
}
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + CUR_FINISHED_DAILY_TASK_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCurFinishedDailyTaskCount();
hash = (37 * hash) + LEGENDARY_KEY_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getLegendaryKeyCount();
if (getOngoingPersonalLineListCount() > 0) {
hash = (37 * hash) + ONGOING_PERSONAL_LINE_LIST_FIELD_NUMBER;
hash = (53 * hash) + getOngoingPersonalLineListList().hashCode();
}
if (getLockedPersonalLineListCount() > 0) {
hash = (37 * hash) + LOCKED_PERSONAL_LINE_LIST_FIELD_NUMBER;
hash = (53 * hash) + getLockedPersonalLineListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp 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.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp 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.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp 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.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp 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.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp 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.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp 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: 20607
* Obf: EKHCNHLAPJL
* </pre>
*
* Protobuf type {@code PersonalLineAllDataRsp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:PersonalLineAllDataRsp)
emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRspOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.internal_static_PersonalLineAllDataRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.internal_static_PersonalLineAllDataRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp.class, emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp.Builder.class);
}
// Construct using emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLockedPersonalLineListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
canBeUnlockedPersonalLineList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
retcode_ = 0;
curFinishedDailyTaskCount_ = 0;
legendaryKeyCount_ = 0;
ongoingPersonalLineList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000002);
if (lockedPersonalLineListBuilder_ == null) {
lockedPersonalLineList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
lockedPersonalLineListBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.internal_static_PersonalLineAllDataRsp_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp getDefaultInstanceForType() {
return emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp build() {
emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp buildPartial() {
emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp result = new emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
canBeUnlockedPersonalLineList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.canBeUnlockedPersonalLineList_ = canBeUnlockedPersonalLineList_;
result.retcode_ = retcode_;
result.curFinishedDailyTaskCount_ = curFinishedDailyTaskCount_;
result.legendaryKeyCount_ = legendaryKeyCount_;
if (((bitField0_ & 0x00000002) != 0)) {
ongoingPersonalLineList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.ongoingPersonalLineList_ = ongoingPersonalLineList_;
if (lockedPersonalLineListBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
lockedPersonalLineList_ = java.util.Collections.unmodifiableList(lockedPersonalLineList_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.lockedPersonalLineList_ = lockedPersonalLineList_;
} else {
result.lockedPersonalLineList_ = lockedPersonalLineListBuilder_.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.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp) {
return mergeFrom((emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp other) {
if (other == emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp.getDefaultInstance()) return this;
if (!other.canBeUnlockedPersonalLineList_.isEmpty()) {
if (canBeUnlockedPersonalLineList_.isEmpty()) {
canBeUnlockedPersonalLineList_ = other.canBeUnlockedPersonalLineList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureCanBeUnlockedPersonalLineListIsMutable();
canBeUnlockedPersonalLineList_.addAll(other.canBeUnlockedPersonalLineList_);
}
onChanged();
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getCurFinishedDailyTaskCount() != 0) {
setCurFinishedDailyTaskCount(other.getCurFinishedDailyTaskCount());
}
if (other.getLegendaryKeyCount() != 0) {
setLegendaryKeyCount(other.getLegendaryKeyCount());
}
if (!other.ongoingPersonalLineList_.isEmpty()) {
if (ongoingPersonalLineList_.isEmpty()) {
ongoingPersonalLineList_ = other.ongoingPersonalLineList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureOngoingPersonalLineListIsMutable();
ongoingPersonalLineList_.addAll(other.ongoingPersonalLineList_);
}
onChanged();
}
if (lockedPersonalLineListBuilder_ == null) {
if (!other.lockedPersonalLineList_.isEmpty()) {
if (lockedPersonalLineList_.isEmpty()) {
lockedPersonalLineList_ = other.lockedPersonalLineList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureLockedPersonalLineListIsMutable();
lockedPersonalLineList_.addAll(other.lockedPersonalLineList_);
}
onChanged();
}
} else {
if (!other.lockedPersonalLineList_.isEmpty()) {
if (lockedPersonalLineListBuilder_.isEmpty()) {
lockedPersonalLineListBuilder_.dispose();
lockedPersonalLineListBuilder_ = null;
lockedPersonalLineList_ = other.lockedPersonalLineList_;
bitField0_ = (bitField0_ & ~0x00000004);
lockedPersonalLineListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLockedPersonalLineListFieldBuilder() : null;
} else {
lockedPersonalLineListBuilder_.addAllMessages(other.lockedPersonalLineList_);
}
}
}
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.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.IntList canBeUnlockedPersonalLineList_ = emptyIntList();
private void ensureCanBeUnlockedPersonalLineListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
canBeUnlockedPersonalLineList_ = mutableCopy(canBeUnlockedPersonalLineList_);
bitField0_ |= 0x00000001;
}
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
* @return A list containing the canBeUnlockedPersonalLineList.
*/
public java.util.List<java.lang.Integer>
getCanBeUnlockedPersonalLineListList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(canBeUnlockedPersonalLineList_) : canBeUnlockedPersonalLineList_;
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
* @return The count of canBeUnlockedPersonalLineList.
*/
public int getCanBeUnlockedPersonalLineListCount() {
return canBeUnlockedPersonalLineList_.size();
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
* @param index The index of the element to return.
* @return The canBeUnlockedPersonalLineList at the given index.
*/
public int getCanBeUnlockedPersonalLineList(int index) {
return canBeUnlockedPersonalLineList_.getInt(index);
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
* @param index The index to set the value at.
* @param value The canBeUnlockedPersonalLineList to set.
* @return This builder for chaining.
*/
public Builder setCanBeUnlockedPersonalLineList(
int index, int value) {
ensureCanBeUnlockedPersonalLineListIsMutable();
canBeUnlockedPersonalLineList_.setInt(index, value);
onChanged();
return this;
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
* @param value The canBeUnlockedPersonalLineList to add.
* @return This builder for chaining.
*/
public Builder addCanBeUnlockedPersonalLineList(int value) {
ensureCanBeUnlockedPersonalLineListIsMutable();
canBeUnlockedPersonalLineList_.addInt(value);
onChanged();
return this;
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
* @param values The canBeUnlockedPersonalLineList to add.
* @return This builder for chaining.
*/
public Builder addAllCanBeUnlockedPersonalLineList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureCanBeUnlockedPersonalLineListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, canBeUnlockedPersonalLineList_);
onChanged();
return this;
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
* @return This builder for chaining.
*/
public Builder clearCanBeUnlockedPersonalLineList() {
canBeUnlockedPersonalLineList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private int retcode_ ;
/**
* <code>int32 retcode = 3;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 3;</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 = 3;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 0;
onChanged();
return this;
}
private int curFinishedDailyTaskCount_ ;
/**
* <code>uint32 cur_finished_daily_task_count = 11;</code>
* @return The curFinishedDailyTaskCount.
*/
@java.lang.Override
public int getCurFinishedDailyTaskCount() {
return curFinishedDailyTaskCount_;
}
/**
* <code>uint32 cur_finished_daily_task_count = 11;</code>
* @param value The curFinishedDailyTaskCount to set.
* @return This builder for chaining.
*/
public Builder setCurFinishedDailyTaskCount(int value) {
curFinishedDailyTaskCount_ = value;
onChanged();
return this;
}
/**
* <code>uint32 cur_finished_daily_task_count = 11;</code>
* @return This builder for chaining.
*/
public Builder clearCurFinishedDailyTaskCount() {
curFinishedDailyTaskCount_ = 0;
onChanged();
return this;
}
private int legendaryKeyCount_ ;
/**
* <code>uint32 legendary_key_count = 1;</code>
* @return The legendaryKeyCount.
*/
@java.lang.Override
public int getLegendaryKeyCount() {
return legendaryKeyCount_;
}
/**
* <code>uint32 legendary_key_count = 1;</code>
* @param value The legendaryKeyCount to set.
* @return This builder for chaining.
*/
public Builder setLegendaryKeyCount(int value) {
legendaryKeyCount_ = value;
onChanged();
return this;
}
/**
* <code>uint32 legendary_key_count = 1;</code>
* @return This builder for chaining.
*/
public Builder clearLegendaryKeyCount() {
legendaryKeyCount_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList ongoingPersonalLineList_ = emptyIntList();
private void ensureOngoingPersonalLineListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
ongoingPersonalLineList_ = mutableCopy(ongoingPersonalLineList_);
bitField0_ |= 0x00000002;
}
}
/**
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
* @return A list containing the ongoingPersonalLineList.
*/
public java.util.List<java.lang.Integer>
getOngoingPersonalLineListList() {
return ((bitField0_ & 0x00000002) != 0) ?
java.util.Collections.unmodifiableList(ongoingPersonalLineList_) : ongoingPersonalLineList_;
}
/**
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
* @return The count of ongoingPersonalLineList.
*/
public int getOngoingPersonalLineListCount() {
return ongoingPersonalLineList_.size();
}
/**
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
* @param index The index of the element to return.
* @return The ongoingPersonalLineList at the given index.
*/
public int getOngoingPersonalLineList(int index) {
return ongoingPersonalLineList_.getInt(index);
}
/**
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
* @param index The index to set the value at.
* @param value The ongoingPersonalLineList to set.
* @return This builder for chaining.
*/
public Builder setOngoingPersonalLineList(
int index, int value) {
ensureOngoingPersonalLineListIsMutable();
ongoingPersonalLineList_.setInt(index, value);
onChanged();
return this;
}
/**
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
* @param value The ongoingPersonalLineList to add.
* @return This builder for chaining.
*/
public Builder addOngoingPersonalLineList(int value) {
ensureOngoingPersonalLineListIsMutable();
ongoingPersonalLineList_.addInt(value);
onChanged();
return this;
}
/**
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
* @param values The ongoingPersonalLineList to add.
* @return This builder for chaining.
*/
public Builder addAllOngoingPersonalLineList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureOngoingPersonalLineListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ongoingPersonalLineList_);
onChanged();
return this;
}
/**
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
* @return This builder for chaining.
*/
public Builder clearOngoingPersonalLineList() {
ongoingPersonalLineList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private java.util.List<emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData> lockedPersonalLineList_ =
java.util.Collections.emptyList();
private void ensureLockedPersonalLineListIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
lockedPersonalLineList_ = new java.util.ArrayList<emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData>(lockedPersonalLineList_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData, emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData.Builder, emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineDataOrBuilder> lockedPersonalLineListBuilder_;
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public java.util.List<emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData> getLockedPersonalLineListList() {
if (lockedPersonalLineListBuilder_ == null) {
return java.util.Collections.unmodifiableList(lockedPersonalLineList_);
} else {
return lockedPersonalLineListBuilder_.getMessageList();
}
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public int getLockedPersonalLineListCount() {
if (lockedPersonalLineListBuilder_ == null) {
return lockedPersonalLineList_.size();
} else {
return lockedPersonalLineListBuilder_.getCount();
}
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData getLockedPersonalLineList(int index) {
if (lockedPersonalLineListBuilder_ == null) {
return lockedPersonalLineList_.get(index);
} else {
return lockedPersonalLineListBuilder_.getMessage(index);
}
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public Builder setLockedPersonalLineList(
int index, emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData value) {
if (lockedPersonalLineListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLockedPersonalLineListIsMutable();
lockedPersonalLineList_.set(index, value);
onChanged();
} else {
lockedPersonalLineListBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public Builder setLockedPersonalLineList(
int index, emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData.Builder builderForValue) {
if (lockedPersonalLineListBuilder_ == null) {
ensureLockedPersonalLineListIsMutable();
lockedPersonalLineList_.set(index, builderForValue.build());
onChanged();
} else {
lockedPersonalLineListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public Builder addLockedPersonalLineList(emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData value) {
if (lockedPersonalLineListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLockedPersonalLineListIsMutable();
lockedPersonalLineList_.add(value);
onChanged();
} else {
lockedPersonalLineListBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public Builder addLockedPersonalLineList(
int index, emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData value) {
if (lockedPersonalLineListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLockedPersonalLineListIsMutable();
lockedPersonalLineList_.add(index, value);
onChanged();
} else {
lockedPersonalLineListBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public Builder addLockedPersonalLineList(
emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData.Builder builderForValue) {
if (lockedPersonalLineListBuilder_ == null) {
ensureLockedPersonalLineListIsMutable();
lockedPersonalLineList_.add(builderForValue.build());
onChanged();
} else {
lockedPersonalLineListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public Builder addLockedPersonalLineList(
int index, emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData.Builder builderForValue) {
if (lockedPersonalLineListBuilder_ == null) {
ensureLockedPersonalLineListIsMutable();
lockedPersonalLineList_.add(index, builderForValue.build());
onChanged();
} else {
lockedPersonalLineListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public Builder addAllLockedPersonalLineList(
java.lang.Iterable<? extends emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData> values) {
if (lockedPersonalLineListBuilder_ == null) {
ensureLockedPersonalLineListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, lockedPersonalLineList_);
onChanged();
} else {
lockedPersonalLineListBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public Builder clearLockedPersonalLineList() {
if (lockedPersonalLineListBuilder_ == null) {
lockedPersonalLineList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
lockedPersonalLineListBuilder_.clear();
}
return this;
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public Builder removeLockedPersonalLineList(int index) {
if (lockedPersonalLineListBuilder_ == null) {
ensureLockedPersonalLineListIsMutable();
lockedPersonalLineList_.remove(index);
onChanged();
} else {
lockedPersonalLineListBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData.Builder getLockedPersonalLineListBuilder(
int index) {
return getLockedPersonalLineListFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineDataOrBuilder getLockedPersonalLineListOrBuilder(
int index) {
if (lockedPersonalLineListBuilder_ == null) {
return lockedPersonalLineList_.get(index); } else {
return lockedPersonalLineListBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public java.util.List<? extends emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineDataOrBuilder>
getLockedPersonalLineListOrBuilderList() {
if (lockedPersonalLineListBuilder_ != null) {
return lockedPersonalLineListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(lockedPersonalLineList_);
}
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData.Builder addLockedPersonalLineListBuilder() {
return getLockedPersonalLineListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData.getDefaultInstance());
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData.Builder addLockedPersonalLineListBuilder(
int index) {
return getLockedPersonalLineListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData.getDefaultInstance());
}
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
*/
public java.util.List<emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData.Builder>
getLockedPersonalLineListBuilderList() {
return getLockedPersonalLineListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData, emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData.Builder, emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineDataOrBuilder>
getLockedPersonalLineListFieldBuilder() {
if (lockedPersonalLineListBuilder_ == null) {
lockedPersonalLineListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData, emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData.Builder, emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineDataOrBuilder>(
lockedPersonalLineList_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
lockedPersonalLineList_ = null;
}
return lockedPersonalLineListBuilder_;
}
@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:PersonalLineAllDataRsp)
}
// @@protoc_insertion_point(class_scope:PersonalLineAllDataRsp)
private static final emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp();
}
public static emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<PersonalLineAllDataRsp>
PARSER = new com.google.protobuf.AbstractParser<PersonalLineAllDataRsp>() {
@java.lang.Override
public PersonalLineAllDataRsp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PersonalLineAllDataRsp(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<PersonalLineAllDataRsp> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<PersonalLineAllDataRsp> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_PersonalLineAllDataRsp_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_PersonalLineAllDataRsp_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\034PersonalLineAllDataRsp.proto\032\034LockedPe" +
"rsonallineData.proto\"\371\001\n\026PersonalLineAll" +
"DataRsp\022*\n\"can_be_unlocked_personal_line" +
"_list\030\002 \003(\r\022\017\n\007retcode\030\003 \001(\005\022%\n\035cur_fini" +
"shed_daily_task_count\030\013 \001(\r\022\033\n\023legendary" +
"_key_count\030\001 \001(\r\022\"\n\032ongoing_personal_lin" +
"e_list\030\006 \003(\r\022:\n\031locked_personal_line_lis" +
"t\030\010 \003(\0132\027.LockedPersonallineDataB\033\n\031emu." +
"grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.getDescriptor(),
});
internal_static_PersonalLineAllDataRsp_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_PersonalLineAllDataRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_PersonalLineAllDataRsp_descriptor,
new java.lang.String[] { "CanBeUnlockedPersonalLineList", "Retcode", "CurFinishedDailyTaskCount", "LegendaryKeyCount", "OngoingPersonalLineList", "LockedPersonalLineList", });
emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}