Add new protocol definitions

This commit is contained in:
KingRainbow44
2023-08-14 18:57:07 -04:00
Unverified
parent 1bcb79840c
commit ceeaf3748a
3772 changed files with 448618 additions and 1108926 deletions
@@ -19,56 +19,56 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated uint32 delete_slot_id_list = 4;</code>
* @return A list containing the deleteSlotIdList.
*/
java.util.List<java.lang.Integer> getDeleteSlotIdListList();
/**
* <code>repeated uint32 delete_slot_id_list = 4;</code>
* @return The count of deleteSlotIdList.
*/
int getDeleteSlotIdListCount();
/**
* <code>repeated uint32 delete_slot_id_list = 4;</code>
* @param index The index of the element to return.
* @return The deleteSlotIdList at the given index.
*/
int getDeleteSlotIdList(int index);
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
java.util.List<emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo>
getSlotInfoListList();
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo getSlotInfoList(int index);
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
int getSlotInfoListCount();
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
java.util.List<? extends emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfoOrBuilder>
getSlotInfoListOrBuilderList();
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfoOrBuilder getSlotInfoListOrBuilder(
int index);
/**
* <code>int32 retcode = 7;</code>
* <code>int32 retcode = 6;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>repeated uint32 delete_slot_id_list = 9;</code>
* @return A list containing the deleteSlotIdList.
*/
java.util.List<java.lang.Integer> getDeleteSlotIdListList();
/**
* <code>repeated uint32 delete_slot_id_list = 9;</code>
* @return The count of deleteSlotIdList.
*/
int getDeleteSlotIdListCount();
/**
* <code>repeated uint32 delete_slot_id_list = 9;</code>
* @param index The index of the element to return.
* @return The deleteSlotIdList at the given index.
*/
int getDeleteSlotIdList(int index);
}
/**
* <pre>
* CmdId: 4615
* Obf: BACILFNLKEE
* CmdId: 6723
* Obf: AGIBKDCJDKH
* </pre>
*
* Protobuf type {@code HomeGetBlueprintSlotInfoRsp}
@@ -83,8 +83,8 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
super(builder);
}
private HomeGetBlueprintSlotInfoRsp() {
slotInfoList_ = java.util.Collections.emptyList();
deleteSlotIdList_ = emptyIntList();
slotInfoList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@@ -118,34 +118,29 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
case 0:
done = true;
break;
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
case 18: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
slotInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo>();
mutable_bitField0_ |= 0x00000001;
mutable_bitField0_ |= 0x00000002;
}
slotInfoList_.add(
input.readMessage(emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.parser(), extensionRegistry));
break;
}
case 56: {
retcode_ = input.readInt32();
break;
}
case 72: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
case 32: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
deleteSlotIdList_ = newIntList();
mutable_bitField0_ |= 0x00000002;
mutable_bitField0_ |= 0x00000001;
}
deleteSlotIdList_.addInt(input.readUInt32());
break;
}
case 74: {
case 34: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
deleteSlotIdList_ = newIntList();
mutable_bitField0_ |= 0x00000002;
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
deleteSlotIdList_.addInt(input.readUInt32());
@@ -153,6 +148,11 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
input.popLimit(limit);
break;
}
case 48: {
retcode_ = input.readInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -168,10 +168,10 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
if (((mutable_bitField0_ & 0x00000002) != 0)) {
slotInfoList_ = java.util.Collections.unmodifiableList(slotInfoList_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
deleteSlotIdList_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
@@ -191,61 +191,10 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp.class, emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp.Builder.class);
}
public static final int SLOT_INFO_LIST_FIELD_NUMBER = 3;
private java.util.List<emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo> slotInfoList_;
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo> getSlotInfoListList() {
return slotInfoList_;
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfoOrBuilder>
getSlotInfoListOrBuilderList() {
return slotInfoList_;
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
*/
@java.lang.Override
public int getSlotInfoListCount() {
return slotInfoList_.size();
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo getSlotInfoList(int index) {
return slotInfoList_.get(index);
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfoOrBuilder getSlotInfoListOrBuilder(
int index) {
return slotInfoList_.get(index);
}
public static final int RETCODE_FIELD_NUMBER = 7;
private int retcode_;
/**
* <code>int32 retcode = 7;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
public static final int DELETE_SLOT_ID_LIST_FIELD_NUMBER = 9;
public static final int DELETE_SLOT_ID_LIST_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.IntList deleteSlotIdList_;
/**
* <code>repeated uint32 delete_slot_id_list = 9;</code>
* <code>repeated uint32 delete_slot_id_list = 4;</code>
* @return A list containing the deleteSlotIdList.
*/
@java.lang.Override
@@ -254,14 +203,14 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
return deleteSlotIdList_;
}
/**
* <code>repeated uint32 delete_slot_id_list = 9;</code>
* <code>repeated uint32 delete_slot_id_list = 4;</code>
* @return The count of deleteSlotIdList.
*/
public int getDeleteSlotIdListCount() {
return deleteSlotIdList_.size();
}
/**
* <code>repeated uint32 delete_slot_id_list = 9;</code>
* <code>repeated uint32 delete_slot_id_list = 4;</code>
* @param index The index of the element to return.
* @return The deleteSlotIdList at the given index.
*/
@@ -270,6 +219,57 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
}
private int deleteSlotIdListMemoizedSerializedSize = -1;
public static final int SLOT_INFO_LIST_FIELD_NUMBER = 2;
private java.util.List<emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo> slotInfoList_;
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo> getSlotInfoListList() {
return slotInfoList_;
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfoOrBuilder>
getSlotInfoListOrBuilderList() {
return slotInfoList_;
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
@java.lang.Override
public int getSlotInfoListCount() {
return slotInfoList_.size();
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo getSlotInfoList(int index) {
return slotInfoList_.get(index);
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfoOrBuilder getSlotInfoListOrBuilder(
int index) {
return slotInfoList_.get(index);
}
public static final int RETCODE_FIELD_NUMBER = 6;
private int retcode_;
/**
* <code>int32 retcode = 6;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -286,18 +286,18 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < slotInfoList_.size(); i++) {
output.writeMessage(3, slotInfoList_.get(i));
}
if (retcode_ != 0) {
output.writeInt32(7, retcode_);
output.writeMessage(2, slotInfoList_.get(i));
}
if (getDeleteSlotIdListList().size() > 0) {
output.writeUInt32NoTag(74);
output.writeUInt32NoTag(34);
output.writeUInt32NoTag(deleteSlotIdListMemoizedSerializedSize);
}
for (int i = 0; i < deleteSlotIdList_.size(); i++) {
output.writeUInt32NoTag(deleteSlotIdList_.getInt(i));
}
if (retcode_ != 0) {
output.writeInt32(6, retcode_);
}
unknownFields.writeTo(output);
}
@@ -309,11 +309,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
size = 0;
for (int i = 0; i < slotInfoList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, slotInfoList_.get(i));
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, retcode_);
.computeMessageSize(2, slotInfoList_.get(i));
}
{
int dataSize = 0;
@@ -329,6 +325,10 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
}
deleteSlotIdListMemoizedSerializedSize = dataSize;
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, retcode_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -344,12 +344,12 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
}
emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp other = (emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp) obj;
if (!getDeleteSlotIdListList()
.equals(other.getDeleteSlotIdListList())) return false;
if (!getSlotInfoListList()
.equals(other.getSlotInfoListList())) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (!getDeleteSlotIdListList()
.equals(other.getDeleteSlotIdListList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -361,16 +361,16 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getDeleteSlotIdListCount() > 0) {
hash = (37 * hash) + DELETE_SLOT_ID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getDeleteSlotIdListList().hashCode();
}
if (getSlotInfoListCount() > 0) {
hash = (37 * hash) + SLOT_INFO_LIST_FIELD_NUMBER;
hash = (53 * hash) + getSlotInfoListList().hashCode();
}
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
if (getDeleteSlotIdListCount() > 0) {
hash = (37 * hash) + DELETE_SLOT_ID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getDeleteSlotIdListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -468,8 +468,8 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
}
/**
* <pre>
* CmdId: 4615
* Obf: BACILFNLKEE
* CmdId: 6723
* Obf: AGIBKDCJDKH
* </pre>
*
* Protobuf type {@code HomeGetBlueprintSlotInfoRsp}
@@ -510,16 +510,16 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
deleteSlotIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
if (slotInfoListBuilder_ == null) {
slotInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
bitField0_ = (bitField0_ & ~0x00000002);
} else {
slotInfoListBuilder_.clear();
}
retcode_ = 0;
deleteSlotIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -547,21 +547,21 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
public emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp buildPartial() {
emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp result = new emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
deleteSlotIdList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.deleteSlotIdList_ = deleteSlotIdList_;
if (slotInfoListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
if (((bitField0_ & 0x00000002) != 0)) {
slotInfoList_ = java.util.Collections.unmodifiableList(slotInfoList_);
bitField0_ = (bitField0_ & ~0x00000001);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.slotInfoList_ = slotInfoList_;
} else {
result.slotInfoList_ = slotInfoListBuilder_.build();
}
result.retcode_ = retcode_;
if (((bitField0_ & 0x00000002) != 0)) {
deleteSlotIdList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.deleteSlotIdList_ = deleteSlotIdList_;
onBuilt();
return result;
}
@@ -610,11 +610,21 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp other) {
if (other == emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp.getDefaultInstance()) return this;
if (!other.deleteSlotIdList_.isEmpty()) {
if (deleteSlotIdList_.isEmpty()) {
deleteSlotIdList_ = other.deleteSlotIdList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDeleteSlotIdListIsMutable();
deleteSlotIdList_.addAll(other.deleteSlotIdList_);
}
onChanged();
}
if (slotInfoListBuilder_ == null) {
if (!other.slotInfoList_.isEmpty()) {
if (slotInfoList_.isEmpty()) {
slotInfoList_ = other.slotInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureSlotInfoListIsMutable();
slotInfoList_.addAll(other.slotInfoList_);
@@ -627,7 +637,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
slotInfoListBuilder_.dispose();
slotInfoListBuilder_ = null;
slotInfoList_ = other.slotInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
bitField0_ = (bitField0_ & ~0x00000002);
slotInfoListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSlotInfoListFieldBuilder() : null;
@@ -639,16 +649,6 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (!other.deleteSlotIdList_.isEmpty()) {
if (deleteSlotIdList_.isEmpty()) {
deleteSlotIdList_ = other.deleteSlotIdList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureDeleteSlotIdListIsMutable();
deleteSlotIdList_.addAll(other.deleteSlotIdList_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -679,12 +679,91 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
}
private int bitField0_;
private com.google.protobuf.Internal.IntList deleteSlotIdList_ = emptyIntList();
private void ensureDeleteSlotIdListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
deleteSlotIdList_ = mutableCopy(deleteSlotIdList_);
bitField0_ |= 0x00000001;
}
}
/**
* <code>repeated uint32 delete_slot_id_list = 4;</code>
* @return A list containing the deleteSlotIdList.
*/
public java.util.List<java.lang.Integer>
getDeleteSlotIdListList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(deleteSlotIdList_) : deleteSlotIdList_;
}
/**
* <code>repeated uint32 delete_slot_id_list = 4;</code>
* @return The count of deleteSlotIdList.
*/
public int getDeleteSlotIdListCount() {
return deleteSlotIdList_.size();
}
/**
* <code>repeated uint32 delete_slot_id_list = 4;</code>
* @param index The index of the element to return.
* @return The deleteSlotIdList at the given index.
*/
public int getDeleteSlotIdList(int index) {
return deleteSlotIdList_.getInt(index);
}
/**
* <code>repeated uint32 delete_slot_id_list = 4;</code>
* @param index The index to set the value at.
* @param value The deleteSlotIdList to set.
* @return This builder for chaining.
*/
public Builder setDeleteSlotIdList(
int index, int value) {
ensureDeleteSlotIdListIsMutable();
deleteSlotIdList_.setInt(index, value);
onChanged();
return this;
}
/**
* <code>repeated uint32 delete_slot_id_list = 4;</code>
* @param value The deleteSlotIdList to add.
* @return This builder for chaining.
*/
public Builder addDeleteSlotIdList(int value) {
ensureDeleteSlotIdListIsMutable();
deleteSlotIdList_.addInt(value);
onChanged();
return this;
}
/**
* <code>repeated uint32 delete_slot_id_list = 4;</code>
* @param values The deleteSlotIdList to add.
* @return This builder for chaining.
*/
public Builder addAllDeleteSlotIdList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureDeleteSlotIdListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deleteSlotIdList_);
onChanged();
return this;
}
/**
* <code>repeated uint32 delete_slot_id_list = 4;</code>
* @return This builder for chaining.
*/
public Builder clearDeleteSlotIdList() {
deleteSlotIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private java.util.List<emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo> slotInfoList_ =
java.util.Collections.emptyList();
private void ensureSlotInfoListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
if (!((bitField0_ & 0x00000002) != 0)) {
slotInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo>(slotInfoList_);
bitField0_ |= 0x00000001;
bitField0_ |= 0x00000002;
}
}
@@ -692,7 +771,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.Builder, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfoOrBuilder> slotInfoListBuilder_;
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public java.util.List<emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo> getSlotInfoListList() {
if (slotInfoListBuilder_ == null) {
@@ -702,7 +781,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
}
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public int getSlotInfoListCount() {
if (slotInfoListBuilder_ == null) {
@@ -712,7 +791,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
}
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo getSlotInfoList(int index) {
if (slotInfoListBuilder_ == null) {
@@ -722,7 +801,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
}
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public Builder setSlotInfoList(
int index, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo value) {
@@ -739,7 +818,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
return this;
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public Builder setSlotInfoList(
int index, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.Builder builderForValue) {
@@ -753,7 +832,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
return this;
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public Builder addSlotInfoList(emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo value) {
if (slotInfoListBuilder_ == null) {
@@ -769,7 +848,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
return this;
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public Builder addSlotInfoList(
int index, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo value) {
@@ -786,7 +865,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
return this;
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public Builder addSlotInfoList(
emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.Builder builderForValue) {
@@ -800,7 +879,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
return this;
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public Builder addSlotInfoList(
int index, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.Builder builderForValue) {
@@ -814,7 +893,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
return this;
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public Builder addAllSlotInfoList(
java.lang.Iterable<? extends emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo> values) {
@@ -829,12 +908,12 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
return this;
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public Builder clearSlotInfoList() {
if (slotInfoListBuilder_ == null) {
slotInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
slotInfoListBuilder_.clear();
@@ -842,7 +921,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
return this;
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public Builder removeSlotInfoList(int index) {
if (slotInfoListBuilder_ == null) {
@@ -855,14 +934,14 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
return this;
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.Builder getSlotInfoListBuilder(
int index) {
return getSlotInfoListFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfoOrBuilder getSlotInfoListOrBuilder(
int index) {
@@ -872,7 +951,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
}
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public java.util.List<? extends emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfoOrBuilder>
getSlotInfoListOrBuilderList() {
@@ -883,14 +962,14 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
}
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.Builder addSlotInfoListBuilder() {
return getSlotInfoListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.getDefaultInstance());
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.Builder addSlotInfoListBuilder(
int index) {
@@ -898,7 +977,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
index, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.getDefaultInstance());
}
/**
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 3;</code>
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
*/
public java.util.List<emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.Builder>
getSlotInfoListBuilderList() {
@@ -911,7 +990,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
slotInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.Builder, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfoOrBuilder>(
slotInfoList_,
((bitField0_ & 0x00000001) != 0),
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
slotInfoList_ = null;
@@ -921,7 +1000,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
private int retcode_ ;
/**
* <code>int32 retcode = 7;</code>
* <code>int32 retcode = 6;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -929,7 +1008,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
return retcode_;
}
/**
* <code>int32 retcode = 7;</code>
* <code>int32 retcode = 6;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
@@ -940,7 +1019,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
return this;
}
/**
* <code>int32 retcode = 7;</code>
* <code>int32 retcode = 6;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
@@ -949,85 +1028,6 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList deleteSlotIdList_ = emptyIntList();
private void ensureDeleteSlotIdListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
deleteSlotIdList_ = mutableCopy(deleteSlotIdList_);
bitField0_ |= 0x00000002;
}
}
/**
* <code>repeated uint32 delete_slot_id_list = 9;</code>
* @return A list containing the deleteSlotIdList.
*/
public java.util.List<java.lang.Integer>
getDeleteSlotIdListList() {
return ((bitField0_ & 0x00000002) != 0) ?
java.util.Collections.unmodifiableList(deleteSlotIdList_) : deleteSlotIdList_;
}
/**
* <code>repeated uint32 delete_slot_id_list = 9;</code>
* @return The count of deleteSlotIdList.
*/
public int getDeleteSlotIdListCount() {
return deleteSlotIdList_.size();
}
/**
* <code>repeated uint32 delete_slot_id_list = 9;</code>
* @param index The index of the element to return.
* @return The deleteSlotIdList at the given index.
*/
public int getDeleteSlotIdList(int index) {
return deleteSlotIdList_.getInt(index);
}
/**
* <code>repeated uint32 delete_slot_id_list = 9;</code>
* @param index The index to set the value at.
* @param value The deleteSlotIdList to set.
* @return This builder for chaining.
*/
public Builder setDeleteSlotIdList(
int index, int value) {
ensureDeleteSlotIdListIsMutable();
deleteSlotIdList_.setInt(index, value);
onChanged();
return this;
}
/**
* <code>repeated uint32 delete_slot_id_list = 9;</code>
* @param value The deleteSlotIdList to add.
* @return This builder for chaining.
*/
public Builder addDeleteSlotIdList(int value) {
ensureDeleteSlotIdListIsMutable();
deleteSlotIdList_.addInt(value);
onChanged();
return this;
}
/**
* <code>repeated uint32 delete_slot_id_list = 9;</code>
* @param values The deleteSlotIdList to add.
* @return This builder for chaining.
*/
public Builder addAllDeleteSlotIdList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureDeleteSlotIdListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deleteSlotIdList_);
onChanged();
return this;
}
/**
* <code>repeated uint32 delete_slot_id_list = 9;</code>
* @return This builder for chaining.
*/
public Builder clearDeleteSlotIdList() {
deleteSlotIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1097,9 +1097,9 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
java.lang.String[] descriptorData = {
"\n!HomeGetBlueprintSlotInfoRsp.proto\032\033Hom" +
"eBlueprintSlotInfo.proto\"{\n\033HomeGetBluep" +
"rintSlotInfoRsp\022.\n\016slot_info_list\030\003 \003(\0132" +
"\026.HomeBlueprintSlotInfo\022\017\n\007retcode\030\007 \001(\005" +
"\022\033\n\023delete_slot_id_list\030\t \003(\rB\033\n\031emu.gra" +
"rintSlotInfoRsp\022\033\n\023delete_slot_id_list\030\004" +
" \003(\r\022.\n\016slot_info_list\030\002 \003(\0132\026.HomeBluep" +
"rintSlotInfo\022\017\n\007retcode\030\006 \001(\005B\033\n\031emu.gra" +
"sscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -1112,7 +1112,7 @@ public final class HomeGetBlueprintSlotInfoRspOuterClass {
internal_static_HomeGetBlueprintSlotInfoRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_HomeGetBlueprintSlotInfoRsp_descriptor,
new java.lang.String[] { "SlotInfoList", "Retcode", "DeleteSlotIdList", });
new java.lang.String[] { "DeleteSlotIdList", "SlotInfoList", "Retcode", });
emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.getDescriptor();
}