mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 09:45:03 +08:00
Run the formatter & Generate protocol definitions
This commit is contained in:
+201
-201
@@ -19,39 +19,39 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 12;</code>
|
||||
* @return A list containing the beCapturedNumList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getBeCapturedNumListList();
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 12;</code>
|
||||
* @return The count of beCapturedNumList.
|
||||
*/
|
||||
int getBeCapturedNumListCount();
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 12;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The beCapturedNumList at the given index.
|
||||
*/
|
||||
int getBeCapturedNumList(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 be_killed_num_list = 8;</code>
|
||||
* <code>repeated uint32 be_killed_num_list = 12;</code>
|
||||
* @return A list containing the beKilledNumList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getBeKilledNumListList();
|
||||
/**
|
||||
* <code>repeated uint32 be_killed_num_list = 8;</code>
|
||||
* <code>repeated uint32 be_killed_num_list = 12;</code>
|
||||
* @return The count of beKilledNumList.
|
||||
*/
|
||||
int getBeKilledNumListCount();
|
||||
/**
|
||||
* <code>repeated uint32 be_killed_num_list = 8;</code>
|
||||
* <code>repeated uint32 be_killed_num_list = 12;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The beKilledNumList at the given index.
|
||||
*/
|
||||
int getBeKilledNumList(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 8;</code>
|
||||
* @return A list containing the beCapturedNumList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getBeCapturedNumListList();
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 8;</code>
|
||||
* @return The count of beCapturedNumList.
|
||||
*/
|
||||
int getBeCapturedNumListCount();
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 8;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The beCapturedNumList at the given index.
|
||||
*/
|
||||
int getBeCapturedNumList(int index);
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 15;</code>
|
||||
* @return The retcode.
|
||||
@@ -93,8 +93,8 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
super(builder);
|
||||
}
|
||||
private QueryCodexMonsterBeKilledNumRsp() {
|
||||
beCapturedNumList_ = emptyIntList();
|
||||
beKilledNumList_ = emptyIntList();
|
||||
beCapturedNumList_ = emptyIntList();
|
||||
codexIdList_ = emptyIntList();
|
||||
}
|
||||
|
||||
@@ -152,42 +152,42 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
}
|
||||
case 64: {
|
||||
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
||||
beKilledNumList_ = newIntList();
|
||||
beCapturedNumList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000002;
|
||||
}
|
||||
beKilledNumList_.addInt(input.readUInt32());
|
||||
beCapturedNumList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
beKilledNumList_ = newIntList();
|
||||
beCapturedNumList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000002;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
beKilledNumList_.addInt(input.readUInt32());
|
||||
beCapturedNumList_.addInt(input.readUInt32());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
beCapturedNumList_ = newIntList();
|
||||
beKilledNumList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
beCapturedNumList_.addInt(input.readUInt32());
|
||||
beKilledNumList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 98: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
beCapturedNumList_ = newIntList();
|
||||
beKilledNumList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
beCapturedNumList_.addInt(input.readUInt32());
|
||||
beKilledNumList_.addInt(input.readUInt32());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
@@ -216,10 +216,10 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
codexIdList_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x00000002) != 0)) {
|
||||
beKilledNumList_.makeImmutable(); // C
|
||||
beCapturedNumList_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
beCapturedNumList_.makeImmutable(); // C
|
||||
beKilledNumList_.makeImmutable(); // C
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
@@ -238,38 +238,10 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
emu.grasscutter.net.proto.QueryCodexMonsterBeKilledNumRspOuterClass.QueryCodexMonsterBeKilledNumRsp.class, emu.grasscutter.net.proto.QueryCodexMonsterBeKilledNumRspOuterClass.QueryCodexMonsterBeKilledNumRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int BE_CAPTURED_NUM_LIST_FIELD_NUMBER = 12;
|
||||
private com.google.protobuf.Internal.IntList beCapturedNumList_;
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 12;</code>
|
||||
* @return A list containing the beCapturedNumList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Integer>
|
||||
getBeCapturedNumListList() {
|
||||
return beCapturedNumList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 12;</code>
|
||||
* @return The count of beCapturedNumList.
|
||||
*/
|
||||
public int getBeCapturedNumListCount() {
|
||||
return beCapturedNumList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 12;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The beCapturedNumList at the given index.
|
||||
*/
|
||||
public int getBeCapturedNumList(int index) {
|
||||
return beCapturedNumList_.getInt(index);
|
||||
}
|
||||
private int beCapturedNumListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int BE_KILLED_NUM_LIST_FIELD_NUMBER = 8;
|
||||
public static final int BE_KILLED_NUM_LIST_FIELD_NUMBER = 12;
|
||||
private com.google.protobuf.Internal.IntList beKilledNumList_;
|
||||
/**
|
||||
* <code>repeated uint32 be_killed_num_list = 8;</code>
|
||||
* <code>repeated uint32 be_killed_num_list = 12;</code>
|
||||
* @return A list containing the beKilledNumList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -278,14 +250,14 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
return beKilledNumList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_killed_num_list = 8;</code>
|
||||
* <code>repeated uint32 be_killed_num_list = 12;</code>
|
||||
* @return The count of beKilledNumList.
|
||||
*/
|
||||
public int getBeKilledNumListCount() {
|
||||
return beKilledNumList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_killed_num_list = 8;</code>
|
||||
* <code>repeated uint32 be_killed_num_list = 12;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The beKilledNumList at the given index.
|
||||
*/
|
||||
@@ -294,6 +266,34 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
}
|
||||
private int beKilledNumListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int BE_CAPTURED_NUM_LIST_FIELD_NUMBER = 8;
|
||||
private com.google.protobuf.Internal.IntList beCapturedNumList_;
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 8;</code>
|
||||
* @return A list containing the beCapturedNumList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Integer>
|
||||
getBeCapturedNumListList() {
|
||||
return beCapturedNumList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 8;</code>
|
||||
* @return The count of beCapturedNumList.
|
||||
*/
|
||||
public int getBeCapturedNumListCount() {
|
||||
return beCapturedNumList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 8;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The beCapturedNumList at the given index.
|
||||
*/
|
||||
public int getBeCapturedNumList(int index) {
|
||||
return beCapturedNumList_.getInt(index);
|
||||
}
|
||||
private int beCapturedNumListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 15;
|
||||
private int retcode_;
|
||||
/**
|
||||
@@ -355,20 +355,20 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
for (int i = 0; i < codexIdList_.size(); i++) {
|
||||
output.writeUInt32NoTag(codexIdList_.getInt(i));
|
||||
}
|
||||
if (getBeKilledNumListList().size() > 0) {
|
||||
output.writeUInt32NoTag(66);
|
||||
output.writeUInt32NoTag(beKilledNumListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < beKilledNumList_.size(); i++) {
|
||||
output.writeUInt32NoTag(beKilledNumList_.getInt(i));
|
||||
}
|
||||
if (getBeCapturedNumListList().size() > 0) {
|
||||
output.writeUInt32NoTag(98);
|
||||
output.writeUInt32NoTag(66);
|
||||
output.writeUInt32NoTag(beCapturedNumListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < beCapturedNumList_.size(); i++) {
|
||||
output.writeUInt32NoTag(beCapturedNumList_.getInt(i));
|
||||
}
|
||||
if (getBeKilledNumListList().size() > 0) {
|
||||
output.writeUInt32NoTag(98);
|
||||
output.writeUInt32NoTag(beKilledNumListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < beKilledNumList_.size(); i++) {
|
||||
output.writeUInt32NoTag(beKilledNumList_.getInt(i));
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(15, retcode_);
|
||||
}
|
||||
@@ -395,20 +395,6 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
}
|
||||
codexIdListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < beKilledNumList_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32SizeNoTag(beKilledNumList_.getInt(i));
|
||||
}
|
||||
size += dataSize;
|
||||
if (!getBeKilledNumListList().isEmpty()) {
|
||||
size += 1;
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(dataSize);
|
||||
}
|
||||
beKilledNumListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < beCapturedNumList_.size(); i++) {
|
||||
@@ -423,6 +409,20 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
}
|
||||
beCapturedNumListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < beKilledNumList_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32SizeNoTag(beKilledNumList_.getInt(i));
|
||||
}
|
||||
size += dataSize;
|
||||
if (!getBeKilledNumListList().isEmpty()) {
|
||||
size += 1;
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(dataSize);
|
||||
}
|
||||
beKilledNumListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(15, retcode_);
|
||||
@@ -442,10 +442,10 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.QueryCodexMonsterBeKilledNumRspOuterClass.QueryCodexMonsterBeKilledNumRsp other = (emu.grasscutter.net.proto.QueryCodexMonsterBeKilledNumRspOuterClass.QueryCodexMonsterBeKilledNumRsp) obj;
|
||||
|
||||
if (!getBeCapturedNumListList()
|
||||
.equals(other.getBeCapturedNumListList())) return false;
|
||||
if (!getBeKilledNumListList()
|
||||
.equals(other.getBeKilledNumListList())) return false;
|
||||
if (!getBeCapturedNumListList()
|
||||
.equals(other.getBeCapturedNumListList())) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (!getCodexIdListList()
|
||||
@@ -461,14 +461,14 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
if (getBeCapturedNumListCount() > 0) {
|
||||
hash = (37 * hash) + BE_CAPTURED_NUM_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getBeCapturedNumListList().hashCode();
|
||||
}
|
||||
if (getBeKilledNumListCount() > 0) {
|
||||
hash = (37 * hash) + BE_KILLED_NUM_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getBeKilledNumListList().hashCode();
|
||||
}
|
||||
if (getBeCapturedNumListCount() > 0) {
|
||||
hash = (37 * hash) + BE_CAPTURED_NUM_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getBeCapturedNumListList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
if (getCodexIdListCount() > 0) {
|
||||
@@ -613,9 +613,9 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
beCapturedNumList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
beKilledNumList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
beCapturedNumList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
retcode_ = 0;
|
||||
|
||||
@@ -649,15 +649,15 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
emu.grasscutter.net.proto.QueryCodexMonsterBeKilledNumRspOuterClass.QueryCodexMonsterBeKilledNumRsp result = new emu.grasscutter.net.proto.QueryCodexMonsterBeKilledNumRspOuterClass.QueryCodexMonsterBeKilledNumRsp(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((bitField0_ & 0x00000001) != 0)) {
|
||||
beCapturedNumList_.makeImmutable();
|
||||
beKilledNumList_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
}
|
||||
result.beCapturedNumList_ = beCapturedNumList_;
|
||||
result.beKilledNumList_ = beKilledNumList_;
|
||||
if (((bitField0_ & 0x00000002) != 0)) {
|
||||
beKilledNumList_.makeImmutable();
|
||||
beCapturedNumList_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
}
|
||||
result.beKilledNumList_ = beKilledNumList_;
|
||||
result.beCapturedNumList_ = beCapturedNumList_;
|
||||
result.retcode_ = retcode_;
|
||||
if (((bitField0_ & 0x00000004) != 0)) {
|
||||
codexIdList_.makeImmutable();
|
||||
@@ -712,26 +712,26 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.QueryCodexMonsterBeKilledNumRspOuterClass.QueryCodexMonsterBeKilledNumRsp other) {
|
||||
if (other == emu.grasscutter.net.proto.QueryCodexMonsterBeKilledNumRspOuterClass.QueryCodexMonsterBeKilledNumRsp.getDefaultInstance()) return this;
|
||||
if (!other.beCapturedNumList_.isEmpty()) {
|
||||
if (beCapturedNumList_.isEmpty()) {
|
||||
beCapturedNumList_ = other.beCapturedNumList_;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
} else {
|
||||
ensureBeCapturedNumListIsMutable();
|
||||
beCapturedNumList_.addAll(other.beCapturedNumList_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (!other.beKilledNumList_.isEmpty()) {
|
||||
if (beKilledNumList_.isEmpty()) {
|
||||
beKilledNumList_ = other.beKilledNumList_;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
} else {
|
||||
ensureBeKilledNumListIsMutable();
|
||||
beKilledNumList_.addAll(other.beKilledNumList_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (!other.beCapturedNumList_.isEmpty()) {
|
||||
if (beCapturedNumList_.isEmpty()) {
|
||||
beCapturedNumList_ = other.beCapturedNumList_;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
} else {
|
||||
ensureBeCapturedNumListIsMutable();
|
||||
beCapturedNumList_.addAll(other.beCapturedNumList_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
@@ -775,110 +775,31 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private com.google.protobuf.Internal.IntList beCapturedNumList_ = emptyIntList();
|
||||
private void ensureBeCapturedNumListIsMutable() {
|
||||
private com.google.protobuf.Internal.IntList beKilledNumList_ = emptyIntList();
|
||||
private void ensureBeKilledNumListIsMutable() {
|
||||
if (!((bitField0_ & 0x00000001) != 0)) {
|
||||
beCapturedNumList_ = mutableCopy(beCapturedNumList_);
|
||||
beKilledNumList_ = mutableCopy(beKilledNumList_);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 12;</code>
|
||||
* @return A list containing the beCapturedNumList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
getBeCapturedNumListList() {
|
||||
return ((bitField0_ & 0x00000001) != 0) ?
|
||||
java.util.Collections.unmodifiableList(beCapturedNumList_) : beCapturedNumList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 12;</code>
|
||||
* @return The count of beCapturedNumList.
|
||||
*/
|
||||
public int getBeCapturedNumListCount() {
|
||||
return beCapturedNumList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 12;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The beCapturedNumList at the given index.
|
||||
*/
|
||||
public int getBeCapturedNumList(int index) {
|
||||
return beCapturedNumList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 12;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The beCapturedNumList to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setBeCapturedNumList(
|
||||
int index, int value) {
|
||||
ensureBeCapturedNumListIsMutable();
|
||||
beCapturedNumList_.setInt(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 12;</code>
|
||||
* @param value The beCapturedNumList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addBeCapturedNumList(int value) {
|
||||
ensureBeCapturedNumListIsMutable();
|
||||
beCapturedNumList_.addInt(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 12;</code>
|
||||
* @param values The beCapturedNumList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllBeCapturedNumList(
|
||||
java.lang.Iterable<? extends java.lang.Integer> values) {
|
||||
ensureBeCapturedNumListIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, beCapturedNumList_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearBeCapturedNumList() {
|
||||
beCapturedNumList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.IntList beKilledNumList_ = emptyIntList();
|
||||
private void ensureBeKilledNumListIsMutable() {
|
||||
if (!((bitField0_ & 0x00000002) != 0)) {
|
||||
beKilledNumList_ = mutableCopy(beKilledNumList_);
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_killed_num_list = 8;</code>
|
||||
* <code>repeated uint32 be_killed_num_list = 12;</code>
|
||||
* @return A list containing the beKilledNumList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
getBeKilledNumListList() {
|
||||
return ((bitField0_ & 0x00000002) != 0) ?
|
||||
return ((bitField0_ & 0x00000001) != 0) ?
|
||||
java.util.Collections.unmodifiableList(beKilledNumList_) : beKilledNumList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_killed_num_list = 8;</code>
|
||||
* <code>repeated uint32 be_killed_num_list = 12;</code>
|
||||
* @return The count of beKilledNumList.
|
||||
*/
|
||||
public int getBeKilledNumListCount() {
|
||||
return beKilledNumList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_killed_num_list = 8;</code>
|
||||
* <code>repeated uint32 be_killed_num_list = 12;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The beKilledNumList at the given index.
|
||||
*/
|
||||
@@ -886,7 +807,7 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
return beKilledNumList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_killed_num_list = 8;</code>
|
||||
* <code>repeated uint32 be_killed_num_list = 12;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The beKilledNumList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -899,7 +820,7 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_killed_num_list = 8;</code>
|
||||
* <code>repeated uint32 be_killed_num_list = 12;</code>
|
||||
* @param value The beKilledNumList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -910,7 +831,7 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_killed_num_list = 8;</code>
|
||||
* <code>repeated uint32 be_killed_num_list = 12;</code>
|
||||
* @param values The beKilledNumList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -923,11 +844,90 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_killed_num_list = 8;</code>
|
||||
* <code>repeated uint32 be_killed_num_list = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearBeKilledNumList() {
|
||||
beKilledNumList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.IntList beCapturedNumList_ = emptyIntList();
|
||||
private void ensureBeCapturedNumListIsMutable() {
|
||||
if (!((bitField0_ & 0x00000002) != 0)) {
|
||||
beCapturedNumList_ = mutableCopy(beCapturedNumList_);
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 8;</code>
|
||||
* @return A list containing the beCapturedNumList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
getBeCapturedNumListList() {
|
||||
return ((bitField0_ & 0x00000002) != 0) ?
|
||||
java.util.Collections.unmodifiableList(beCapturedNumList_) : beCapturedNumList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 8;</code>
|
||||
* @return The count of beCapturedNumList.
|
||||
*/
|
||||
public int getBeCapturedNumListCount() {
|
||||
return beCapturedNumList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 8;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The beCapturedNumList at the given index.
|
||||
*/
|
||||
public int getBeCapturedNumList(int index) {
|
||||
return beCapturedNumList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 8;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The beCapturedNumList to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setBeCapturedNumList(
|
||||
int index, int value) {
|
||||
ensureBeCapturedNumListIsMutable();
|
||||
beCapturedNumList_.setInt(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 8;</code>
|
||||
* @param value The beCapturedNumList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addBeCapturedNumList(int value) {
|
||||
ensureBeCapturedNumListIsMutable();
|
||||
beCapturedNumList_.addInt(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 8;</code>
|
||||
* @param values The beCapturedNumList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllBeCapturedNumList(
|
||||
java.lang.Iterable<? extends java.lang.Integer> values) {
|
||||
ensureBeCapturedNumListIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, beCapturedNumList_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 be_captured_num_list = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearBeCapturedNumList() {
|
||||
beCapturedNumList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -1110,8 +1110,8 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n%QueryCodexMonsterBeKilledNumRsp.proto\"" +
|
||||
"\203\001\n\037QueryCodexMonsterBeKilledNumRsp\022\034\n\024b" +
|
||||
"e_captured_num_list\030\014 \003(\r\022\032\n\022be_killed_n" +
|
||||
"\203\001\n\037QueryCodexMonsterBeKilledNumRsp\022\032\n\022b" +
|
||||
"e_killed_num_list\030\014 \003(\r\022\034\n\024be_captured_n" +
|
||||
"um_list\030\010 \003(\r\022\017\n\007retcode\030\017 \001(\005\022\025\n\rcodex_" +
|
||||
"id_list\030\005 \003(\rB\033\n\031emu.grasscutter.net.pro" +
|
||||
"tob\006proto3"
|
||||
@@ -1125,7 +1125,7 @@ public final class QueryCodexMonsterBeKilledNumRspOuterClass {
|
||||
internal_static_QueryCodexMonsterBeKilledNumRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_QueryCodexMonsterBeKilledNumRsp_descriptor,
|
||||
new java.lang.String[] { "BeCapturedNumList", "BeKilledNumList", "Retcode", "CodexIdList", });
|
||||
new java.lang.String[] { "BeKilledNumList", "BeCapturedNumList", "Retcode", "CodexIdList", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user