mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 06:13:37 +08:00
1121 lines
44 KiB
Java
1121 lines
44 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: HomeGetBlueprintSlotInfoRsp.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class HomeGetBlueprintSlotInfoRspOuterClass {
|
|
private HomeGetBlueprintSlotInfoRspOuterClass() {}
|
|
public static void registerAllExtensions(
|
|
com.google.protobuf.ExtensionRegistryLite registry) {
|
|
}
|
|
|
|
public static void registerAllExtensions(
|
|
com.google.protobuf.ExtensionRegistry registry) {
|
|
registerAllExtensions(
|
|
(com.google.protobuf.ExtensionRegistryLite) registry);
|
|
}
|
|
public interface HomeGetBlueprintSlotInfoRspOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:HomeGetBlueprintSlotInfoRsp)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <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 = 2;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo getSlotInfoList(int index);
|
|
/**
|
|
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
|
|
*/
|
|
int getSlotInfoListCount();
|
|
/**
|
|
* <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 = 2;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfoOrBuilder getSlotInfoListOrBuilder(
|
|
int index);
|
|
|
|
/**
|
|
* <code>int32 retcode = 6;</code>
|
|
* @return The retcode.
|
|
*/
|
|
int getRetcode();
|
|
}
|
|
/**
|
|
* <pre>
|
|
* CmdId: 6723
|
|
* Obf: AGIBKDCJDKH
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code HomeGetBlueprintSlotInfoRsp}
|
|
*/
|
|
public static final class HomeGetBlueprintSlotInfoRsp extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:HomeGetBlueprintSlotInfoRsp)
|
|
HomeGetBlueprintSlotInfoRspOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use HomeGetBlueprintSlotInfoRsp.newBuilder() to construct.
|
|
private HomeGetBlueprintSlotInfoRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private HomeGetBlueprintSlotInfoRsp() {
|
|
deleteSlotIdList_ = emptyIntList();
|
|
slotInfoList_ = java.util.Collections.emptyList();
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(
|
|
UnusedPrivateParameter unused) {
|
|
return new HomeGetBlueprintSlotInfoRsp();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private HomeGetBlueprintSlotInfoRsp(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
this();
|
|
if (extensionRegistry == null) {
|
|
throw new java.lang.NullPointerException();
|
|
}
|
|
int mutable_bitField0_ = 0;
|
|
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
com.google.protobuf.UnknownFieldSet.newBuilder();
|
|
try {
|
|
boolean done = false;
|
|
while (!done) {
|
|
int tag = input.readTag();
|
|
switch (tag) {
|
|
case 0:
|
|
done = true;
|
|
break;
|
|
case 18: {
|
|
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
|
slotInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo>();
|
|
mutable_bitField0_ |= 0x00000002;
|
|
}
|
|
slotInfoList_.add(
|
|
input.readMessage(emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.parser(), extensionRegistry));
|
|
break;
|
|
}
|
|
case 32: {
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
deleteSlotIdList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
deleteSlotIdList_.addInt(input.readUInt32());
|
|
break;
|
|
}
|
|
case 34: {
|
|
int length = input.readRawVarint32();
|
|
int limit = input.pushLimit(length);
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
|
deleteSlotIdList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
while (input.getBytesUntilLimit() > 0) {
|
|
deleteSlotIdList_.addInt(input.readUInt32());
|
|
}
|
|
input.popLimit(limit);
|
|
break;
|
|
}
|
|
case 48: {
|
|
|
|
retcode_ = input.readInt32();
|
|
break;
|
|
}
|
|
default: {
|
|
if (!parseUnknownField(
|
|
input, unknownFields, extensionRegistry, tag)) {
|
|
done = true;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
throw e.setUnfinishedMessage(this);
|
|
} catch (java.io.IOException e) {
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
e).setUnfinishedMessage(this);
|
|
} finally {
|
|
if (((mutable_bitField0_ & 0x00000002) != 0)) {
|
|
slotInfoList_ = java.util.Collections.unmodifiableList(slotInfoList_);
|
|
}
|
|
if (((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
deleteSlotIdList_.makeImmutable(); // C
|
|
}
|
|
this.unknownFields = unknownFields.build();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.internal_static_HomeGetBlueprintSlotInfoRsp_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.internal_static_HomeGetBlueprintSlotInfoRsp_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp.class, emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp.Builder.class);
|
|
}
|
|
|
|
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 = 4;</code>
|
|
* @return A list containing the deleteSlotIdList.
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<java.lang.Integer>
|
|
getDeleteSlotIdListList() {
|
|
return 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);
|
|
}
|
|
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() {
|
|
byte isInitialized = memoizedIsInitialized;
|
|
if (isInitialized == 1) return true;
|
|
if (isInitialized == 0) return false;
|
|
|
|
memoizedIsInitialized = 1;
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
throws java.io.IOException {
|
|
getSerializedSize();
|
|
for (int i = 0; i < slotInfoList_.size(); i++) {
|
|
output.writeMessage(2, slotInfoList_.get(i));
|
|
}
|
|
if (getDeleteSlotIdListList().size() > 0) {
|
|
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);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
for (int i = 0; i < slotInfoList_.size(); i++) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(2, slotInfoList_.get(i));
|
|
}
|
|
{
|
|
int dataSize = 0;
|
|
for (int i = 0; i < deleteSlotIdList_.size(); i++) {
|
|
dataSize += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32SizeNoTag(deleteSlotIdList_.getInt(i));
|
|
}
|
|
size += dataSize;
|
|
if (!getDeleteSlotIdListList().isEmpty()) {
|
|
size += 1;
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32SizeNoTag(dataSize);
|
|
}
|
|
deleteSlotIdListMemoizedSerializedSize = dataSize;
|
|
}
|
|
if (retcode_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32Size(6, retcode_);
|
|
}
|
|
size += unknownFields.getSerializedSize();
|
|
memoizedSize = size;
|
|
return size;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public boolean equals(final java.lang.Object obj) {
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp)) {
|
|
return super.equals(obj);
|
|
}
|
|
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 (!unknownFields.equals(other.unknownFields)) return false;
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int hashCode() {
|
|
if (memoizedHashCode != 0) {
|
|
return memoizedHashCode;
|
|
}
|
|
int hash = 41;
|
|
hash = (19 * hash) + getDescriptor().hashCode();
|
|
if (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();
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp parseFrom(
|
|
java.nio.ByteBuffer data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp parseFrom(
|
|
com.google.protobuf.ByteString data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp parseFrom(
|
|
java.io.InputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp parseDelimitedFrom(
|
|
java.io.InputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp parseFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
|
public static Builder newBuilder() {
|
|
return DEFAULT_INSTANCE.toBuilder();
|
|
}
|
|
public static Builder newBuilder(emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp prototype) {
|
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
}
|
|
@java.lang.Override
|
|
public Builder toBuilder() {
|
|
return this == DEFAULT_INSTANCE
|
|
? new Builder() : new Builder().mergeFrom(this);
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected Builder newBuilderForType(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
Builder builder = new Builder(parent);
|
|
return builder;
|
|
}
|
|
/**
|
|
* <pre>
|
|
* CmdId: 6723
|
|
* Obf: AGIBKDCJDKH
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code HomeGetBlueprintSlotInfoRsp}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:HomeGetBlueprintSlotInfoRsp)
|
|
emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRspOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.internal_static_HomeGetBlueprintSlotInfoRsp_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.internal_static_HomeGetBlueprintSlotInfoRsp_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp.class, emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp.Builder.class);
|
|
}
|
|
|
|
// Construct using emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp.newBuilder()
|
|
private Builder() {
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
|
|
private Builder(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
super(parent);
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
private void maybeForceBuilderInitialization() {
|
|
if (com.google.protobuf.GeneratedMessageV3
|
|
.alwaysUseFieldBuilders) {
|
|
getSlotInfoListFieldBuilder();
|
|
}
|
|
}
|
|
@java.lang.Override
|
|
public Builder clear() {
|
|
super.clear();
|
|
deleteSlotIdList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
if (slotInfoListBuilder_ == null) {
|
|
slotInfoList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
} else {
|
|
slotInfoListBuilder_.clear();
|
|
}
|
|
retcode_ = 0;
|
|
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.internal_static_HomeGetBlueprintSlotInfoRsp_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp build() {
|
|
emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
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_ & 0x00000002) != 0)) {
|
|
slotInfoList_ = java.util.Collections.unmodifiableList(slotInfoList_);
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
}
|
|
result.slotInfoList_ = slotInfoList_;
|
|
} else {
|
|
result.slotInfoList_ = slotInfoListBuilder_.build();
|
|
}
|
|
result.retcode_ = retcode_;
|
|
onBuilt();
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder clone() {
|
|
return super.clone();
|
|
}
|
|
@java.lang.Override
|
|
public Builder setField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
java.lang.Object value) {
|
|
return super.setField(field, value);
|
|
}
|
|
@java.lang.Override
|
|
public Builder clearField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
return super.clearField(field);
|
|
}
|
|
@java.lang.Override
|
|
public Builder clearOneof(
|
|
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
return super.clearOneof(oneof);
|
|
}
|
|
@java.lang.Override
|
|
public Builder setRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
int index, java.lang.Object value) {
|
|
return super.setRepeatedField(field, index, value);
|
|
}
|
|
@java.lang.Override
|
|
public Builder addRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
java.lang.Object value) {
|
|
return super.addRepeatedField(field, value);
|
|
}
|
|
@java.lang.Override
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
if (other instanceof emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp) {
|
|
return mergeFrom((emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
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_ & ~0x00000002);
|
|
} else {
|
|
ensureSlotInfoListIsMutable();
|
|
slotInfoList_.addAll(other.slotInfoList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
} else {
|
|
if (!other.slotInfoList_.isEmpty()) {
|
|
if (slotInfoListBuilder_.isEmpty()) {
|
|
slotInfoListBuilder_.dispose();
|
|
slotInfoListBuilder_ = null;
|
|
slotInfoList_ = other.slotInfoList_;
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
slotInfoListBuilder_ =
|
|
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
|
getSlotInfoListFieldBuilder() : null;
|
|
} else {
|
|
slotInfoListBuilder_.addAllMessages(other.slotInfoList_);
|
|
}
|
|
}
|
|
}
|
|
if (other.getRetcode() != 0) {
|
|
setRetcode(other.getRetcode());
|
|
}
|
|
this.mergeUnknownFields(other.unknownFields);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final boolean isInitialized() {
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder mergeFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
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_ & 0x00000002) != 0)) {
|
|
slotInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo>(slotInfoList_);
|
|
bitField0_ |= 0x00000002;
|
|
}
|
|
}
|
|
|
|
private com.google.protobuf.RepeatedFieldBuilderV3<
|
|
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 = 2;</code>
|
|
*/
|
|
public java.util.List<emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo> getSlotInfoListList() {
|
|
if (slotInfoListBuilder_ == null) {
|
|
return java.util.Collections.unmodifiableList(slotInfoList_);
|
|
} else {
|
|
return slotInfoListBuilder_.getMessageList();
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
|
|
*/
|
|
public int getSlotInfoListCount() {
|
|
if (slotInfoListBuilder_ == null) {
|
|
return slotInfoList_.size();
|
|
} else {
|
|
return slotInfoListBuilder_.getCount();
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo getSlotInfoList(int index) {
|
|
if (slotInfoListBuilder_ == null) {
|
|
return slotInfoList_.get(index);
|
|
} else {
|
|
return slotInfoListBuilder_.getMessage(index);
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
|
|
*/
|
|
public Builder setSlotInfoList(
|
|
int index, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo value) {
|
|
if (slotInfoListBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
ensureSlotInfoListIsMutable();
|
|
slotInfoList_.set(index, value);
|
|
onChanged();
|
|
} else {
|
|
slotInfoListBuilder_.setMessage(index, value);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
|
|
*/
|
|
public Builder setSlotInfoList(
|
|
int index, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.Builder builderForValue) {
|
|
if (slotInfoListBuilder_ == null) {
|
|
ensureSlotInfoListIsMutable();
|
|
slotInfoList_.set(index, builderForValue.build());
|
|
onChanged();
|
|
} else {
|
|
slotInfoListBuilder_.setMessage(index, builderForValue.build());
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
|
|
*/
|
|
public Builder addSlotInfoList(emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo value) {
|
|
if (slotInfoListBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
ensureSlotInfoListIsMutable();
|
|
slotInfoList_.add(value);
|
|
onChanged();
|
|
} else {
|
|
slotInfoListBuilder_.addMessage(value);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
|
|
*/
|
|
public Builder addSlotInfoList(
|
|
int index, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo value) {
|
|
if (slotInfoListBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
ensureSlotInfoListIsMutable();
|
|
slotInfoList_.add(index, value);
|
|
onChanged();
|
|
} else {
|
|
slotInfoListBuilder_.addMessage(index, value);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
|
|
*/
|
|
public Builder addSlotInfoList(
|
|
emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.Builder builderForValue) {
|
|
if (slotInfoListBuilder_ == null) {
|
|
ensureSlotInfoListIsMutable();
|
|
slotInfoList_.add(builderForValue.build());
|
|
onChanged();
|
|
} else {
|
|
slotInfoListBuilder_.addMessage(builderForValue.build());
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
|
|
*/
|
|
public Builder addSlotInfoList(
|
|
int index, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.Builder builderForValue) {
|
|
if (slotInfoListBuilder_ == null) {
|
|
ensureSlotInfoListIsMutable();
|
|
slotInfoList_.add(index, builderForValue.build());
|
|
onChanged();
|
|
} else {
|
|
slotInfoListBuilder_.addMessage(index, builderForValue.build());
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
|
|
*/
|
|
public Builder addAllSlotInfoList(
|
|
java.lang.Iterable<? extends emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo> values) {
|
|
if (slotInfoListBuilder_ == null) {
|
|
ensureSlotInfoListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
values, slotInfoList_);
|
|
onChanged();
|
|
} else {
|
|
slotInfoListBuilder_.addAllMessages(values);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
|
|
*/
|
|
public Builder clearSlotInfoList() {
|
|
if (slotInfoListBuilder_ == null) {
|
|
slotInfoList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
onChanged();
|
|
} else {
|
|
slotInfoListBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
|
|
*/
|
|
public Builder removeSlotInfoList(int index) {
|
|
if (slotInfoListBuilder_ == null) {
|
|
ensureSlotInfoListIsMutable();
|
|
slotInfoList_.remove(index);
|
|
onChanged();
|
|
} else {
|
|
slotInfoListBuilder_.remove(index);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <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 = 2;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfoOrBuilder getSlotInfoListOrBuilder(
|
|
int index) {
|
|
if (slotInfoListBuilder_ == null) {
|
|
return slotInfoList_.get(index); } else {
|
|
return slotInfoListBuilder_.getMessageOrBuilder(index);
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
|
|
*/
|
|
public java.util.List<? extends emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfoOrBuilder>
|
|
getSlotInfoListOrBuilderList() {
|
|
if (slotInfoListBuilder_ != null) {
|
|
return slotInfoListBuilder_.getMessageOrBuilderList();
|
|
} else {
|
|
return java.util.Collections.unmodifiableList(slotInfoList_);
|
|
}
|
|
}
|
|
/**
|
|
* <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 = 2;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.Builder addSlotInfoListBuilder(
|
|
int index) {
|
|
return getSlotInfoListFieldBuilder().addBuilder(
|
|
index, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.getDefaultInstance());
|
|
}
|
|
/**
|
|
* <code>repeated .HomeBlueprintSlotInfo slot_info_list = 2;</code>
|
|
*/
|
|
public java.util.List<emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.Builder>
|
|
getSlotInfoListBuilderList() {
|
|
return getSlotInfoListFieldBuilder().getBuilderList();
|
|
}
|
|
private com.google.protobuf.RepeatedFieldBuilderV3<
|
|
emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfo.Builder, emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.HomeBlueprintSlotInfoOrBuilder>
|
|
getSlotInfoListFieldBuilder() {
|
|
if (slotInfoListBuilder_ == null) {
|
|
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_ & 0x00000002) != 0),
|
|
getParentForChildren(),
|
|
isClean());
|
|
slotInfoList_ = null;
|
|
}
|
|
return slotInfoListBuilder_;
|
|
}
|
|
|
|
private int retcode_ ;
|
|
/**
|
|
* <code>int32 retcode = 6;</code>
|
|
* @return The retcode.
|
|
*/
|
|
@java.lang.Override
|
|
public int getRetcode() {
|
|
return retcode_;
|
|
}
|
|
/**
|
|
* <code>int32 retcode = 6;</code>
|
|
* @param value The retcode to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setRetcode(int value) {
|
|
|
|
retcode_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>int32 retcode = 6;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearRetcode() {
|
|
|
|
retcode_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
@java.lang.Override
|
|
public final Builder setUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.setUnknownFields(unknownFields);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final Builder mergeUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.mergeUnknownFields(unknownFields);
|
|
}
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:HomeGetBlueprintSlotInfoRsp)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:HomeGetBlueprintSlotInfoRsp)
|
|
private static final emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<HomeGetBlueprintSlotInfoRsp>
|
|
PARSER = new com.google.protobuf.AbstractParser<HomeGetBlueprintSlotInfoRsp>() {
|
|
@java.lang.Override
|
|
public HomeGetBlueprintSlotInfoRsp parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new HomeGetBlueprintSlotInfoRsp(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<HomeGetBlueprintSlotInfoRsp> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<HomeGetBlueprintSlotInfoRsp> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.HomeGetBlueprintSlotInfoRspOuterClass.HomeGetBlueprintSlotInfoRsp getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_HomeGetBlueprintSlotInfoRsp_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_HomeGetBlueprintSlotInfoRsp_fieldAccessorTable;
|
|
|
|
public static com.google.protobuf.Descriptors.FileDescriptor
|
|
getDescriptor() {
|
|
return descriptor;
|
|
}
|
|
private static com.google.protobuf.Descriptors.FileDescriptor
|
|
descriptor;
|
|
static {
|
|
java.lang.String[] descriptorData = {
|
|
"\n!HomeGetBlueprintSlotInfoRsp.proto\032\033Hom" +
|
|
"eBlueprintSlotInfo.proto\"{\n\033HomeGetBluep" +
|
|
"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
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.getDescriptor(),
|
|
});
|
|
internal_static_HomeGetBlueprintSlotInfoRsp_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_HomeGetBlueprintSlotInfoRsp_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_HomeGetBlueprintSlotInfoRsp_descriptor,
|
|
new java.lang.String[] { "DeleteSlotIdList", "SlotInfoList", "Retcode", });
|
|
emu.grasscutter.net.proto.HomeBlueprintSlotInfoOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|