mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 10:33:34 +08:00
Run the formatter & Generate protocol definitions
This commit is contained in:
+185
-185
@@ -19,21 +19,21 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 2;</code>
|
||||
* @return A list containing the ongoingPersonalLineList.
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
|
||||
* @return A list containing the canBeUnlockedPersonalLineList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getOngoingPersonalLineListList();
|
||||
java.util.List<java.lang.Integer> getCanBeUnlockedPersonalLineListList();
|
||||
/**
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 2;</code>
|
||||
* @return The count of ongoingPersonalLineList.
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
|
||||
* @return The count of canBeUnlockedPersonalLineList.
|
||||
*/
|
||||
int getOngoingPersonalLineListCount();
|
||||
int getCanBeUnlockedPersonalLineListCount();
|
||||
/**
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 2;</code>
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The ongoingPersonalLineList at the given index.
|
||||
* @return The canBeUnlockedPersonalLineList at the given index.
|
||||
*/
|
||||
int getOngoingPersonalLineList(int index);
|
||||
int getCanBeUnlockedPersonalLineList(int index);
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
@@ -54,21 +54,21 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
int getLegendaryKeyCount();
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 6;</code>
|
||||
* @return A list containing the canBeUnlockedPersonalLineList.
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
|
||||
* @return A list containing the ongoingPersonalLineList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getCanBeUnlockedPersonalLineListList();
|
||||
java.util.List<java.lang.Integer> getOngoingPersonalLineListList();
|
||||
/**
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 6;</code>
|
||||
* @return The count of canBeUnlockedPersonalLineList.
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
|
||||
* @return The count of ongoingPersonalLineList.
|
||||
*/
|
||||
int getCanBeUnlockedPersonalLineListCount();
|
||||
int getOngoingPersonalLineListCount();
|
||||
/**
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 6;</code>
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The canBeUnlockedPersonalLineList at the given index.
|
||||
* @return The ongoingPersonalLineList at the given index.
|
||||
*/
|
||||
int getCanBeUnlockedPersonalLineList(int index);
|
||||
int getOngoingPersonalLineList(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated .LockedPersonallineData locked_personal_line_list = 8;</code>
|
||||
@@ -112,8 +112,8 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
super(builder);
|
||||
}
|
||||
private PersonalLineAllDataRsp() {
|
||||
ongoingPersonalLineList_ = emptyIntList();
|
||||
canBeUnlockedPersonalLineList_ = emptyIntList();
|
||||
ongoingPersonalLineList_ = emptyIntList();
|
||||
lockedPersonalLineList_ = java.util.Collections.emptyList();
|
||||
}
|
||||
|
||||
@@ -155,21 +155,21 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
}
|
||||
case 16: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
ongoingPersonalLineList_ = newIntList();
|
||||
canBeUnlockedPersonalLineList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
ongoingPersonalLineList_.addInt(input.readUInt32());
|
||||
canBeUnlockedPersonalLineList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
ongoingPersonalLineList_ = newIntList();
|
||||
canBeUnlockedPersonalLineList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
ongoingPersonalLineList_.addInt(input.readUInt32());
|
||||
canBeUnlockedPersonalLineList_.addInt(input.readUInt32());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
@@ -181,21 +181,21 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
}
|
||||
case 48: {
|
||||
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
||||
canBeUnlockedPersonalLineList_ = newIntList();
|
||||
ongoingPersonalLineList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000002;
|
||||
}
|
||||
canBeUnlockedPersonalLineList_.addInt(input.readUInt32());
|
||||
ongoingPersonalLineList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
canBeUnlockedPersonalLineList_ = newIntList();
|
||||
ongoingPersonalLineList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000002;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
canBeUnlockedPersonalLineList_.addInt(input.readUInt32());
|
||||
ongoingPersonalLineList_.addInt(input.readUInt32());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
@@ -230,10 +230,10 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
e).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
if (((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
ongoingPersonalLineList_.makeImmutable(); // C
|
||||
canBeUnlockedPersonalLineList_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x00000002) != 0)) {
|
||||
canBeUnlockedPersonalLineList_.makeImmutable(); // C
|
||||
ongoingPersonalLineList_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x00000004) != 0)) {
|
||||
lockedPersonalLineList_ = java.util.Collections.unmodifiableList(lockedPersonalLineList_);
|
||||
@@ -255,33 +255,33 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp.class, emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int ONGOING_PERSONAL_LINE_LIST_FIELD_NUMBER = 2;
|
||||
private com.google.protobuf.Internal.IntList ongoingPersonalLineList_;
|
||||
public static final int CAN_BE_UNLOCKED_PERSONAL_LINE_LIST_FIELD_NUMBER = 2;
|
||||
private com.google.protobuf.Internal.IntList canBeUnlockedPersonalLineList_;
|
||||
/**
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 2;</code>
|
||||
* @return A list containing the ongoingPersonalLineList.
|
||||
* <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>
|
||||
getOngoingPersonalLineListList() {
|
||||
return ongoingPersonalLineList_;
|
||||
getCanBeUnlockedPersonalLineListList() {
|
||||
return canBeUnlockedPersonalLineList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 2;</code>
|
||||
* @return The count of ongoingPersonalLineList.
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
|
||||
* @return The count of canBeUnlockedPersonalLineList.
|
||||
*/
|
||||
public int getOngoingPersonalLineListCount() {
|
||||
return ongoingPersonalLineList_.size();
|
||||
public int getCanBeUnlockedPersonalLineListCount() {
|
||||
return canBeUnlockedPersonalLineList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 2;</code>
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The ongoingPersonalLineList at the given index.
|
||||
* @return The canBeUnlockedPersonalLineList at the given index.
|
||||
*/
|
||||
public int getOngoingPersonalLineList(int index) {
|
||||
return ongoingPersonalLineList_.getInt(index);
|
||||
public int getCanBeUnlockedPersonalLineList(int index) {
|
||||
return canBeUnlockedPersonalLineList_.getInt(index);
|
||||
}
|
||||
private int ongoingPersonalLineListMemoizedSerializedSize = -1;
|
||||
private int canBeUnlockedPersonalLineListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 3;
|
||||
private int retcode_;
|
||||
@@ -316,33 +316,33 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
return legendaryKeyCount_;
|
||||
}
|
||||
|
||||
public static final int CAN_BE_UNLOCKED_PERSONAL_LINE_LIST_FIELD_NUMBER = 6;
|
||||
private com.google.protobuf.Internal.IntList canBeUnlockedPersonalLineList_;
|
||||
public static final int ONGOING_PERSONAL_LINE_LIST_FIELD_NUMBER = 6;
|
||||
private com.google.protobuf.Internal.IntList ongoingPersonalLineList_;
|
||||
/**
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 6;</code>
|
||||
* @return A list containing the canBeUnlockedPersonalLineList.
|
||||
* <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>
|
||||
getCanBeUnlockedPersonalLineListList() {
|
||||
return canBeUnlockedPersonalLineList_;
|
||||
getOngoingPersonalLineListList() {
|
||||
return ongoingPersonalLineList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 6;</code>
|
||||
* @return The count of canBeUnlockedPersonalLineList.
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
|
||||
* @return The count of ongoingPersonalLineList.
|
||||
*/
|
||||
public int getCanBeUnlockedPersonalLineListCount() {
|
||||
return canBeUnlockedPersonalLineList_.size();
|
||||
public int getOngoingPersonalLineListCount() {
|
||||
return ongoingPersonalLineList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 6;</code>
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The canBeUnlockedPersonalLineList at the given index.
|
||||
* @return The ongoingPersonalLineList at the given index.
|
||||
*/
|
||||
public int getCanBeUnlockedPersonalLineList(int index) {
|
||||
return canBeUnlockedPersonalLineList_.getInt(index);
|
||||
public int getOngoingPersonalLineList(int index) {
|
||||
return ongoingPersonalLineList_.getInt(index);
|
||||
}
|
||||
private int canBeUnlockedPersonalLineListMemoizedSerializedSize = -1;
|
||||
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_;
|
||||
@@ -402,23 +402,23 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
if (legendaryKeyCount_ != 0) {
|
||||
output.writeUInt32(1, legendaryKeyCount_);
|
||||
}
|
||||
if (getOngoingPersonalLineListList().size() > 0) {
|
||||
output.writeUInt32NoTag(18);
|
||||
output.writeUInt32NoTag(ongoingPersonalLineListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < ongoingPersonalLineList_.size(); i++) {
|
||||
output.writeUInt32NoTag(ongoingPersonalLineList_.getInt(i));
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(3, retcode_);
|
||||
}
|
||||
if (getCanBeUnlockedPersonalLineListList().size() > 0) {
|
||||
output.writeUInt32NoTag(50);
|
||||
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));
|
||||
}
|
||||
@@ -438,24 +438,6 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(1, legendaryKeyCount_);
|
||||
}
|
||||
{
|
||||
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;
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(3, retcode_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < canBeUnlockedPersonalLineList_.size(); i++) {
|
||||
@@ -470,6 +452,24 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
}
|
||||
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));
|
||||
@@ -493,16 +493,16 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp other = (emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp) obj;
|
||||
|
||||
if (!getOngoingPersonalLineListList()
|
||||
.equals(other.getOngoingPersonalLineListList())) return false;
|
||||
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 (!getCanBeUnlockedPersonalLineListList()
|
||||
.equals(other.getCanBeUnlockedPersonalLineListList())) return false;
|
||||
if (!getOngoingPersonalLineListList()
|
||||
.equals(other.getOngoingPersonalLineListList())) return false;
|
||||
if (!getLockedPersonalLineListList()
|
||||
.equals(other.getLockedPersonalLineListList())) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
@@ -516,9 +516,9 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
if (getOngoingPersonalLineListCount() > 0) {
|
||||
hash = (37 * hash) + ONGOING_PERSONAL_LINE_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getOngoingPersonalLineListList().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();
|
||||
@@ -526,9 +526,9 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
hash = (53 * hash) + getCurFinishedDailyTaskCount();
|
||||
hash = (37 * hash) + LEGENDARY_KEY_COUNT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getLegendaryKeyCount();
|
||||
if (getCanBeUnlockedPersonalLineListCount() > 0) {
|
||||
hash = (37 * hash) + CAN_BE_UNLOCKED_PERSONAL_LINE_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCanBeUnlockedPersonalLineListList().hashCode();
|
||||
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;
|
||||
@@ -673,7 +673,7 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
ongoingPersonalLineList_ = emptyIntList();
|
||||
canBeUnlockedPersonalLineList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
retcode_ = 0;
|
||||
|
||||
@@ -681,7 +681,7 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
|
||||
legendaryKeyCount_ = 0;
|
||||
|
||||
canBeUnlockedPersonalLineList_ = emptyIntList();
|
||||
ongoingPersonalLineList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
if (lockedPersonalLineListBuilder_ == null) {
|
||||
lockedPersonalLineList_ = java.util.Collections.emptyList();
|
||||
@@ -717,18 +717,18 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp result = new emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((bitField0_ & 0x00000001) != 0)) {
|
||||
ongoingPersonalLineList_.makeImmutable();
|
||||
canBeUnlockedPersonalLineList_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
}
|
||||
result.ongoingPersonalLineList_ = ongoingPersonalLineList_;
|
||||
result.canBeUnlockedPersonalLineList_ = canBeUnlockedPersonalLineList_;
|
||||
result.retcode_ = retcode_;
|
||||
result.curFinishedDailyTaskCount_ = curFinishedDailyTaskCount_;
|
||||
result.legendaryKeyCount_ = legendaryKeyCount_;
|
||||
if (((bitField0_ & 0x00000002) != 0)) {
|
||||
canBeUnlockedPersonalLineList_.makeImmutable();
|
||||
ongoingPersonalLineList_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
}
|
||||
result.canBeUnlockedPersonalLineList_ = canBeUnlockedPersonalLineList_;
|
||||
result.ongoingPersonalLineList_ = ongoingPersonalLineList_;
|
||||
if (lockedPersonalLineListBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000004) != 0)) {
|
||||
lockedPersonalLineList_ = java.util.Collections.unmodifiableList(lockedPersonalLineList_);
|
||||
@@ -786,13 +786,13 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp other) {
|
||||
if (other == emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp.getDefaultInstance()) return this;
|
||||
if (!other.ongoingPersonalLineList_.isEmpty()) {
|
||||
if (ongoingPersonalLineList_.isEmpty()) {
|
||||
ongoingPersonalLineList_ = other.ongoingPersonalLineList_;
|
||||
if (!other.canBeUnlockedPersonalLineList_.isEmpty()) {
|
||||
if (canBeUnlockedPersonalLineList_.isEmpty()) {
|
||||
canBeUnlockedPersonalLineList_ = other.canBeUnlockedPersonalLineList_;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
} else {
|
||||
ensureOngoingPersonalLineListIsMutable();
|
||||
ongoingPersonalLineList_.addAll(other.ongoingPersonalLineList_);
|
||||
ensureCanBeUnlockedPersonalLineListIsMutable();
|
||||
canBeUnlockedPersonalLineList_.addAll(other.canBeUnlockedPersonalLineList_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
@@ -805,13 +805,13 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
if (other.getLegendaryKeyCount() != 0) {
|
||||
setLegendaryKeyCount(other.getLegendaryKeyCount());
|
||||
}
|
||||
if (!other.canBeUnlockedPersonalLineList_.isEmpty()) {
|
||||
if (canBeUnlockedPersonalLineList_.isEmpty()) {
|
||||
canBeUnlockedPersonalLineList_ = other.canBeUnlockedPersonalLineList_;
|
||||
if (!other.ongoingPersonalLineList_.isEmpty()) {
|
||||
if (ongoingPersonalLineList_.isEmpty()) {
|
||||
ongoingPersonalLineList_ = other.ongoingPersonalLineList_;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
} else {
|
||||
ensureCanBeUnlockedPersonalLineListIsMutable();
|
||||
canBeUnlockedPersonalLineList_.addAll(other.canBeUnlockedPersonalLineList_);
|
||||
ensureOngoingPersonalLineListIsMutable();
|
||||
ongoingPersonalLineList_.addAll(other.ongoingPersonalLineList_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
@@ -871,80 +871,80 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private com.google.protobuf.Internal.IntList ongoingPersonalLineList_ = emptyIntList();
|
||||
private void ensureOngoingPersonalLineListIsMutable() {
|
||||
private com.google.protobuf.Internal.IntList canBeUnlockedPersonalLineList_ = emptyIntList();
|
||||
private void ensureCanBeUnlockedPersonalLineListIsMutable() {
|
||||
if (!((bitField0_ & 0x00000001) != 0)) {
|
||||
ongoingPersonalLineList_ = mutableCopy(ongoingPersonalLineList_);
|
||||
canBeUnlockedPersonalLineList_ = mutableCopy(canBeUnlockedPersonalLineList_);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 2;</code>
|
||||
* @return A list containing the ongoingPersonalLineList.
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
|
||||
* @return A list containing the canBeUnlockedPersonalLineList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
getOngoingPersonalLineListList() {
|
||||
getCanBeUnlockedPersonalLineListList() {
|
||||
return ((bitField0_ & 0x00000001) != 0) ?
|
||||
java.util.Collections.unmodifiableList(ongoingPersonalLineList_) : ongoingPersonalLineList_;
|
||||
java.util.Collections.unmodifiableList(canBeUnlockedPersonalLineList_) : canBeUnlockedPersonalLineList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 2;</code>
|
||||
* @return The count of ongoingPersonalLineList.
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
|
||||
* @return The count of canBeUnlockedPersonalLineList.
|
||||
*/
|
||||
public int getOngoingPersonalLineListCount() {
|
||||
return ongoingPersonalLineList_.size();
|
||||
public int getCanBeUnlockedPersonalLineListCount() {
|
||||
return canBeUnlockedPersonalLineList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 2;</code>
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The ongoingPersonalLineList at the given index.
|
||||
* @return The canBeUnlockedPersonalLineList at the given index.
|
||||
*/
|
||||
public int getOngoingPersonalLineList(int index) {
|
||||
return ongoingPersonalLineList_.getInt(index);
|
||||
public int getCanBeUnlockedPersonalLineList(int index) {
|
||||
return canBeUnlockedPersonalLineList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 2;</code>
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The ongoingPersonalLineList to set.
|
||||
* @param value The canBeUnlockedPersonalLineList to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setOngoingPersonalLineList(
|
||||
public Builder setCanBeUnlockedPersonalLineList(
|
||||
int index, int value) {
|
||||
ensureOngoingPersonalLineListIsMutable();
|
||||
ongoingPersonalLineList_.setInt(index, value);
|
||||
ensureCanBeUnlockedPersonalLineListIsMutable();
|
||||
canBeUnlockedPersonalLineList_.setInt(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 2;</code>
|
||||
* @param value The ongoingPersonalLineList to add.
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
|
||||
* @param value The canBeUnlockedPersonalLineList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addOngoingPersonalLineList(int value) {
|
||||
ensureOngoingPersonalLineListIsMutable();
|
||||
ongoingPersonalLineList_.addInt(value);
|
||||
public Builder addCanBeUnlockedPersonalLineList(int value) {
|
||||
ensureCanBeUnlockedPersonalLineListIsMutable();
|
||||
canBeUnlockedPersonalLineList_.addInt(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 2;</code>
|
||||
* @param values The ongoingPersonalLineList to add.
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
|
||||
* @param values The canBeUnlockedPersonalLineList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllOngoingPersonalLineList(
|
||||
public Builder addAllCanBeUnlockedPersonalLineList(
|
||||
java.lang.Iterable<? extends java.lang.Integer> values) {
|
||||
ensureOngoingPersonalLineListIsMutable();
|
||||
ensureCanBeUnlockedPersonalLineListIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, ongoingPersonalLineList_);
|
||||
values, canBeUnlockedPersonalLineList_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 2;</code>
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearOngoingPersonalLineList() {
|
||||
ongoingPersonalLineList_ = emptyIntList();
|
||||
public Builder clearCanBeUnlockedPersonalLineList() {
|
||||
canBeUnlockedPersonalLineList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -1043,80 +1043,80 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.IntList canBeUnlockedPersonalLineList_ = emptyIntList();
|
||||
private void ensureCanBeUnlockedPersonalLineListIsMutable() {
|
||||
private com.google.protobuf.Internal.IntList ongoingPersonalLineList_ = emptyIntList();
|
||||
private void ensureOngoingPersonalLineListIsMutable() {
|
||||
if (!((bitField0_ & 0x00000002) != 0)) {
|
||||
canBeUnlockedPersonalLineList_ = mutableCopy(canBeUnlockedPersonalLineList_);
|
||||
ongoingPersonalLineList_ = mutableCopy(ongoingPersonalLineList_);
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 6;</code>
|
||||
* @return A list containing the canBeUnlockedPersonalLineList.
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
|
||||
* @return A list containing the ongoingPersonalLineList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
getCanBeUnlockedPersonalLineListList() {
|
||||
getOngoingPersonalLineListList() {
|
||||
return ((bitField0_ & 0x00000002) != 0) ?
|
||||
java.util.Collections.unmodifiableList(canBeUnlockedPersonalLineList_) : canBeUnlockedPersonalLineList_;
|
||||
java.util.Collections.unmodifiableList(ongoingPersonalLineList_) : ongoingPersonalLineList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 6;</code>
|
||||
* @return The count of canBeUnlockedPersonalLineList.
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
|
||||
* @return The count of ongoingPersonalLineList.
|
||||
*/
|
||||
public int getCanBeUnlockedPersonalLineListCount() {
|
||||
return canBeUnlockedPersonalLineList_.size();
|
||||
public int getOngoingPersonalLineListCount() {
|
||||
return ongoingPersonalLineList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 6;</code>
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The canBeUnlockedPersonalLineList at the given index.
|
||||
* @return The ongoingPersonalLineList at the given index.
|
||||
*/
|
||||
public int getCanBeUnlockedPersonalLineList(int index) {
|
||||
return canBeUnlockedPersonalLineList_.getInt(index);
|
||||
public int getOngoingPersonalLineList(int index) {
|
||||
return ongoingPersonalLineList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 6;</code>
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The canBeUnlockedPersonalLineList to set.
|
||||
* @param value The ongoingPersonalLineList to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setCanBeUnlockedPersonalLineList(
|
||||
public Builder setOngoingPersonalLineList(
|
||||
int index, int value) {
|
||||
ensureCanBeUnlockedPersonalLineListIsMutable();
|
||||
canBeUnlockedPersonalLineList_.setInt(index, value);
|
||||
ensureOngoingPersonalLineListIsMutable();
|
||||
ongoingPersonalLineList_.setInt(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 6;</code>
|
||||
* @param value The canBeUnlockedPersonalLineList to add.
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
|
||||
* @param value The ongoingPersonalLineList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addCanBeUnlockedPersonalLineList(int value) {
|
||||
ensureCanBeUnlockedPersonalLineListIsMutable();
|
||||
canBeUnlockedPersonalLineList_.addInt(value);
|
||||
public Builder addOngoingPersonalLineList(int value) {
|
||||
ensureOngoingPersonalLineListIsMutable();
|
||||
ongoingPersonalLineList_.addInt(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 6;</code>
|
||||
* @param values The canBeUnlockedPersonalLineList to add.
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
|
||||
* @param values The ongoingPersonalLineList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllCanBeUnlockedPersonalLineList(
|
||||
public Builder addAllOngoingPersonalLineList(
|
||||
java.lang.Iterable<? extends java.lang.Integer> values) {
|
||||
ensureCanBeUnlockedPersonalLineListIsMutable();
|
||||
ensureOngoingPersonalLineListIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, canBeUnlockedPersonalLineList_);
|
||||
values, ongoingPersonalLineList_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 can_be_unlocked_personal_line_list = 6;</code>
|
||||
* <code>repeated uint32 ongoing_personal_line_list = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCanBeUnlockedPersonalLineList() {
|
||||
canBeUnlockedPersonalLineList_ = emptyIntList();
|
||||
public Builder clearOngoingPersonalLineList() {
|
||||
ongoingPersonalLineList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -1430,10 +1430,10 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\034PersonalLineAllDataRsp.proto\032\034LockedPe" +
|
||||
"rsonallineData.proto\"\371\001\n\026PersonalLineAll" +
|
||||
"DataRsp\022\"\n\032ongoing_personal_line_list\030\002 " +
|
||||
"\003(\r\022\017\n\007retcode\030\003 \001(\005\022%\n\035cur_finished_dai" +
|
||||
"ly_task_count\030\013 \001(\r\022\033\n\023legendary_key_cou" +
|
||||
"nt\030\001 \001(\r\022*\n\"can_be_unlocked_personal_lin" +
|
||||
"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"
|
||||
@@ -1448,7 +1448,7 @@ public final class PersonalLineAllDataRspOuterClass {
|
||||
internal_static_PersonalLineAllDataRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_PersonalLineAllDataRsp_descriptor,
|
||||
new java.lang.String[] { "OngoingPersonalLineList", "Retcode", "CurFinishedDailyTaskCount", "LegendaryKeyCount", "CanBeUnlockedPersonalLineList", "LockedPersonalLineList", });
|
||||
new java.lang.String[] { "CanBeUnlockedPersonalLineList", "Retcode", "CurFinishedDailyTaskCount", "LegendaryKeyCount", "OngoingPersonalLineList", "LockedPersonalLineList", });
|
||||
emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user