Grasscutter/src/generated/main/java/emu/grasscutter/net/proto/HomeCustomFurnitureInfoNotifyOuterClass.java
yeyeye 71a1e31d37
update gc 3.4 (#2041)
* update 3.4

* update3.4

* update 3.4

* update 3.4

* Add files via upload

* Delete SetPropCommand.java

* update 3.4 area id

* update version

* exchange cmdid

* exchange cmdid

* exchange cmdid

* my fault

* update AiSyncInfo
2023-02-18 22:18:27 -05:00

1506 lines
62 KiB
Java

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: HomeCustomFurnitureInfoNotify.proto
package emu.grasscutter.net.proto;
public final class HomeCustomFurnitureInfoNotifyOuterClass {
private HomeCustomFurnitureInfoNotifyOuterClass() {}
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 HomeCustomFurnitureInfoNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:HomeCustomFurnitureInfoNotify)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated uint32 deleteCustomFurnitureList = 14;</code>
* @return A list containing the deleteCustomFurnitureList.
*/
java.util.List<java.lang.Integer> getDeleteCustomFurnitureListList();
/**
* <code>repeated uint32 deleteCustomFurnitureList = 14;</code>
* @return The count of deleteCustomFurnitureList.
*/
int getDeleteCustomFurnitureListCount();
/**
* <code>repeated uint32 deleteCustomFurnitureList = 14;</code>
* @param index The index of the element to return.
* @return The deleteCustomFurnitureList at the given index.
*/
int getDeleteCustomFurnitureList(int index);
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
java.util.List<emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo>
getCustomFurnitureInfoListList();
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo getCustomFurnitureInfoList(int index);
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
int getCustomFurnitureInfoListCount();
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
java.util.List<? extends emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfoOrBuilder>
getCustomFurnitureInfoListOrBuilderList();
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfoOrBuilder getCustomFurnitureInfoListOrBuilder(
int index);
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
int getUsedSubFurnitureCountMapCount();
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
boolean containsUsedSubFurnitureCountMap(
int key);
/**
* Use {@link #getUsedSubFurnitureCountMapMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.Integer, java.lang.Integer>
getUsedSubFurnitureCountMap();
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
java.util.Map<java.lang.Integer, java.lang.Integer>
getUsedSubFurnitureCountMapMap();
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
int getUsedSubFurnitureCountMapOrDefault(
int key,
int defaultValue);
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
int getUsedSubFurnitureCountMapOrThrow(
int key);
}
/**
* Protobuf type {@code HomeCustomFurnitureInfoNotify}
*/
public static final class HomeCustomFurnitureInfoNotify extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:HomeCustomFurnitureInfoNotify)
HomeCustomFurnitureInfoNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use HomeCustomFurnitureInfoNotify.newBuilder() to construct.
private HomeCustomFurnitureInfoNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private HomeCustomFurnitureInfoNotify() {
deleteCustomFurnitureList_ = emptyIntList();
customFurnitureInfoList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HomeCustomFurnitureInfoNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HomeCustomFurnitureInfoNotify(
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_ & 0x00000004) != 0)) {
usedSubFurnitureCountMap_ = com.google.protobuf.MapField.newMapField(
UsedSubFurnitureCountMapDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000004;
}
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
usedSubFurnitureCountMap__ = input.readMessage(
UsedSubFurnitureCountMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
usedSubFurnitureCountMap_.getMutableMap().put(
usedSubFurnitureCountMap__.getKey(), usedSubFurnitureCountMap__.getValue());
break;
}
case 112: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
deleteCustomFurnitureList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
deleteCustomFurnitureList_.addInt(input.readUInt32());
break;
}
case 114: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
deleteCustomFurnitureList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
deleteCustomFurnitureList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 122: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
customFurnitureInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo>();
mutable_bitField0_ |= 0x00000002;
}
customFurnitureInfoList_.add(
input.readMessage(emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
deleteCustomFurnitureList_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
customFurnitureInfoList_ = java.util.Collections.unmodifiableList(customFurnitureInfoList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.internal_static_HomeCustomFurnitureInfoNotify_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 2:
return internalGetUsedSubFurnitureCountMap();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.internal_static_HomeCustomFurnitureInfoNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify.class, emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify.Builder.class);
}
/**
* Protobuf enum {@code HomeCustomFurnitureInfoNotify.IOBEONJJIPP}
*/
public enum IOBEONJJIPP
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>NONE = 0;</code>
*/
NONE(0, 0),
/**
* <code>PEPPOHPHJOJ = 4784;</code>
*/
PEPPOHPHJOJ(1, 4784),
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
NNBKOLMPOEA(3, 1),
UNRECOGNIZED(-1, -1),
;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final IOBEONJJIPP DCDNILFDFLB = NONE;
/**
* <code>NONE = 0;</code>
*/
public static final int NONE_VALUE = 0;
/**
* <code>PEPPOHPHJOJ = 4784;</code>
*/
public static final int PEPPOHPHJOJ_VALUE = 4784;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final int DCDNILFDFLB_VALUE = 0;
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
public static final int NNBKOLMPOEA_VALUE = 1;
public final int getNumber() {
if (index == -1) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static IOBEONJJIPP valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static IOBEONJJIPP forNumber(int value) {
switch (value) {
case 0: return NONE;
case 4784: return PEPPOHPHJOJ;
case 1: return NNBKOLMPOEA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<IOBEONJJIPP>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
IOBEONJJIPP> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<IOBEONJJIPP>() {
public IOBEONJJIPP findValueByNumber(int number) {
return IOBEONJJIPP.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (index == -1) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify.getDescriptor().getEnumTypes().get(0);
}
private static final IOBEONJJIPP[] VALUES = getStaticValuesArray();
private static IOBEONJJIPP[] getStaticValuesArray() {
return new IOBEONJJIPP[] {
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA,
};
}
public static IOBEONJJIPP valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private IOBEONJJIPP(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:HomeCustomFurnitureInfoNotify.IOBEONJJIPP)
}
public static final int DELETECUSTOMFURNITURELIST_FIELD_NUMBER = 14;
private com.google.protobuf.Internal.IntList deleteCustomFurnitureList_;
/**
* <code>repeated uint32 deleteCustomFurnitureList = 14;</code>
* @return A list containing the deleteCustomFurnitureList.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getDeleteCustomFurnitureListList() {
return deleteCustomFurnitureList_;
}
/**
* <code>repeated uint32 deleteCustomFurnitureList = 14;</code>
* @return The count of deleteCustomFurnitureList.
*/
public int getDeleteCustomFurnitureListCount() {
return deleteCustomFurnitureList_.size();
}
/**
* <code>repeated uint32 deleteCustomFurnitureList = 14;</code>
* @param index The index of the element to return.
* @return The deleteCustomFurnitureList at the given index.
*/
public int getDeleteCustomFurnitureList(int index) {
return deleteCustomFurnitureList_.getInt(index);
}
private int deleteCustomFurnitureListMemoizedSerializedSize = -1;
public static final int CUSTOMFURNITUREINFOLIST_FIELD_NUMBER = 15;
private java.util.List<emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo> customFurnitureInfoList_;
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo> getCustomFurnitureInfoListList() {
return customFurnitureInfoList_;
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfoOrBuilder>
getCustomFurnitureInfoListOrBuilderList() {
return customFurnitureInfoList_;
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
@java.lang.Override
public int getCustomFurnitureInfoListCount() {
return customFurnitureInfoList_.size();
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo getCustomFurnitureInfoList(int index) {
return customFurnitureInfoList_.get(index);
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfoOrBuilder getCustomFurnitureInfoListOrBuilder(
int index) {
return customFurnitureInfoList_.get(index);
}
public static final int USEDSUBFURNITURECOUNTMAP_FIELD_NUMBER = 2;
private static final class UsedSubFurnitureCountMapDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.Integer, java.lang.Integer> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.Integer, java.lang.Integer>newDefaultInstance(
emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.internal_static_HomeCustomFurnitureInfoNotify_UsedSubFurnitureCountMapEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.UINT32,
0,
com.google.protobuf.WireFormat.FieldType.UINT32,
0);
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> usedSubFurnitureCountMap_;
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
internalGetUsedSubFurnitureCountMap() {
if (usedSubFurnitureCountMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
UsedSubFurnitureCountMapDefaultEntryHolder.defaultEntry);
}
return usedSubFurnitureCountMap_;
}
public int getUsedSubFurnitureCountMapCount() {
return internalGetUsedSubFurnitureCountMap().getMap().size();
}
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
@java.lang.Override
public boolean containsUsedSubFurnitureCountMap(
int key) {
return internalGetUsedSubFurnitureCountMap().getMap().containsKey(key);
}
/**
* Use {@link #getUsedSubFurnitureCountMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Integer> getUsedSubFurnitureCountMap() {
return getUsedSubFurnitureCountMapMap();
}
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.Integer, java.lang.Integer> getUsedSubFurnitureCountMapMap() {
return internalGetUsedSubFurnitureCountMap().getMap();
}
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
@java.lang.Override
public int getUsedSubFurnitureCountMapOrDefault(
int key,
int defaultValue) {
java.util.Map<java.lang.Integer, java.lang.Integer> map =
internalGetUsedSubFurnitureCountMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
@java.lang.Override
public int getUsedSubFurnitureCountMapOrThrow(
int key) {
java.util.Map<java.lang.Integer, java.lang.Integer> map =
internalGetUsedSubFurnitureCountMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
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();
com.google.protobuf.GeneratedMessageV3
.serializeIntegerMapTo(
output,
internalGetUsedSubFurnitureCountMap(),
UsedSubFurnitureCountMapDefaultEntryHolder.defaultEntry,
2);
if (getDeleteCustomFurnitureListList().size() > 0) {
output.writeUInt32NoTag(114);
output.writeUInt32NoTag(deleteCustomFurnitureListMemoizedSerializedSize);
}
for (int i = 0; i < deleteCustomFurnitureList_.size(); i++) {
output.writeUInt32NoTag(deleteCustomFurnitureList_.getInt(i));
}
for (int i = 0; i < customFurnitureInfoList_.size(); i++) {
output.writeMessage(15, customFurnitureInfoList_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
: internalGetUsedSubFurnitureCountMap().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
usedSubFurnitureCountMap__ = UsedSubFurnitureCountMapDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, usedSubFurnitureCountMap__);
}
{
int dataSize = 0;
for (int i = 0; i < deleteCustomFurnitureList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(deleteCustomFurnitureList_.getInt(i));
}
size += dataSize;
if (!getDeleteCustomFurnitureListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
deleteCustomFurnitureListMemoizedSerializedSize = dataSize;
}
for (int i = 0; i < customFurnitureInfoList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, customFurnitureInfoList_.get(i));
}
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.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify other = (emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify) obj;
if (!getDeleteCustomFurnitureListList()
.equals(other.getDeleteCustomFurnitureListList())) return false;
if (!getCustomFurnitureInfoListList()
.equals(other.getCustomFurnitureInfoListList())) return false;
if (!internalGetUsedSubFurnitureCountMap().equals(
other.internalGetUsedSubFurnitureCountMap())) 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 (getDeleteCustomFurnitureListCount() > 0) {
hash = (37 * hash) + DELETECUSTOMFURNITURELIST_FIELD_NUMBER;
hash = (53 * hash) + getDeleteCustomFurnitureListList().hashCode();
}
if (getCustomFurnitureInfoListCount() > 0) {
hash = (37 * hash) + CUSTOMFURNITUREINFOLIST_FIELD_NUMBER;
hash = (53 * hash) + getCustomFurnitureInfoListList().hashCode();
}
if (!internalGetUsedSubFurnitureCountMap().getMap().isEmpty()) {
hash = (37 * hash) + USEDSUBFURNITURECOUNTMAP_FIELD_NUMBER;
hash = (53 * hash) + internalGetUsedSubFurnitureCountMap().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify 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.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify 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.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify 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.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify 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.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify 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.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify 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;
}
/**
* Protobuf type {@code HomeCustomFurnitureInfoNotify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:HomeCustomFurnitureInfoNotify)
emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.internal_static_HomeCustomFurnitureInfoNotify_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 2:
return internalGetUsedSubFurnitureCountMap();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 2:
return internalGetMutableUsedSubFurnitureCountMap();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.internal_static_HomeCustomFurnitureInfoNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify.class, emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify.Builder.class);
}
// Construct using emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getCustomFurnitureInfoListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
deleteCustomFurnitureList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
if (customFurnitureInfoListBuilder_ == null) {
customFurnitureInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
customFurnitureInfoListBuilder_.clear();
}
internalGetMutableUsedSubFurnitureCountMap().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.internal_static_HomeCustomFurnitureInfoNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify getDefaultInstanceForType() {
return emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify build() {
emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify buildPartial() {
emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify result = new emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
deleteCustomFurnitureList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.deleteCustomFurnitureList_ = deleteCustomFurnitureList_;
if (customFurnitureInfoListBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
customFurnitureInfoList_ = java.util.Collections.unmodifiableList(customFurnitureInfoList_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.customFurnitureInfoList_ = customFurnitureInfoList_;
} else {
result.customFurnitureInfoList_ = customFurnitureInfoListBuilder_.build();
}
result.usedSubFurnitureCountMap_ = internalGetUsedSubFurnitureCountMap();
result.usedSubFurnitureCountMap_.makeImmutable();
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.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify) {
return mergeFrom((emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify other) {
if (other == emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify.getDefaultInstance()) return this;
if (!other.deleteCustomFurnitureList_.isEmpty()) {
if (deleteCustomFurnitureList_.isEmpty()) {
deleteCustomFurnitureList_ = other.deleteCustomFurnitureList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDeleteCustomFurnitureListIsMutable();
deleteCustomFurnitureList_.addAll(other.deleteCustomFurnitureList_);
}
onChanged();
}
if (customFurnitureInfoListBuilder_ == null) {
if (!other.customFurnitureInfoList_.isEmpty()) {
if (customFurnitureInfoList_.isEmpty()) {
customFurnitureInfoList_ = other.customFurnitureInfoList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureCustomFurnitureInfoListIsMutable();
customFurnitureInfoList_.addAll(other.customFurnitureInfoList_);
}
onChanged();
}
} else {
if (!other.customFurnitureInfoList_.isEmpty()) {
if (customFurnitureInfoListBuilder_.isEmpty()) {
customFurnitureInfoListBuilder_.dispose();
customFurnitureInfoListBuilder_ = null;
customFurnitureInfoList_ = other.customFurnitureInfoList_;
bitField0_ = (bitField0_ & ~0x00000002);
customFurnitureInfoListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getCustomFurnitureInfoListFieldBuilder() : null;
} else {
customFurnitureInfoListBuilder_.addAllMessages(other.customFurnitureInfoList_);
}
}
}
internalGetMutableUsedSubFurnitureCountMap().mergeFrom(
other.internalGetUsedSubFurnitureCountMap());
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.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.IntList deleteCustomFurnitureList_ = emptyIntList();
private void ensureDeleteCustomFurnitureListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
deleteCustomFurnitureList_ = mutableCopy(deleteCustomFurnitureList_);
bitField0_ |= 0x00000001;
}
}
/**
* <code>repeated uint32 deleteCustomFurnitureList = 14;</code>
* @return A list containing the deleteCustomFurnitureList.
*/
public java.util.List<java.lang.Integer>
getDeleteCustomFurnitureListList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(deleteCustomFurnitureList_) : deleteCustomFurnitureList_;
}
/**
* <code>repeated uint32 deleteCustomFurnitureList = 14;</code>
* @return The count of deleteCustomFurnitureList.
*/
public int getDeleteCustomFurnitureListCount() {
return deleteCustomFurnitureList_.size();
}
/**
* <code>repeated uint32 deleteCustomFurnitureList = 14;</code>
* @param index The index of the element to return.
* @return The deleteCustomFurnitureList at the given index.
*/
public int getDeleteCustomFurnitureList(int index) {
return deleteCustomFurnitureList_.getInt(index);
}
/**
* <code>repeated uint32 deleteCustomFurnitureList = 14;</code>
* @param index The index to set the value at.
* @param value The deleteCustomFurnitureList to set.
* @return This builder for chaining.
*/
public Builder setDeleteCustomFurnitureList(
int index, int value) {
ensureDeleteCustomFurnitureListIsMutable();
deleteCustomFurnitureList_.setInt(index, value);
onChanged();
return this;
}
/**
* <code>repeated uint32 deleteCustomFurnitureList = 14;</code>
* @param value The deleteCustomFurnitureList to add.
* @return This builder for chaining.
*/
public Builder addDeleteCustomFurnitureList(int value) {
ensureDeleteCustomFurnitureListIsMutable();
deleteCustomFurnitureList_.addInt(value);
onChanged();
return this;
}
/**
* <code>repeated uint32 deleteCustomFurnitureList = 14;</code>
* @param values The deleteCustomFurnitureList to add.
* @return This builder for chaining.
*/
public Builder addAllDeleteCustomFurnitureList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureDeleteCustomFurnitureListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deleteCustomFurnitureList_);
onChanged();
return this;
}
/**
* <code>repeated uint32 deleteCustomFurnitureList = 14;</code>
* @return This builder for chaining.
*/
public Builder clearDeleteCustomFurnitureList() {
deleteCustomFurnitureList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private java.util.List<emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo> customFurnitureInfoList_ =
java.util.Collections.emptyList();
private void ensureCustomFurnitureInfoListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
customFurnitureInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo>(customFurnitureInfoList_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo, emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo.Builder, emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfoOrBuilder> customFurnitureInfoListBuilder_;
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public java.util.List<emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo> getCustomFurnitureInfoListList() {
if (customFurnitureInfoListBuilder_ == null) {
return java.util.Collections.unmodifiableList(customFurnitureInfoList_);
} else {
return customFurnitureInfoListBuilder_.getMessageList();
}
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public int getCustomFurnitureInfoListCount() {
if (customFurnitureInfoListBuilder_ == null) {
return customFurnitureInfoList_.size();
} else {
return customFurnitureInfoListBuilder_.getCount();
}
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo getCustomFurnitureInfoList(int index) {
if (customFurnitureInfoListBuilder_ == null) {
return customFurnitureInfoList_.get(index);
} else {
return customFurnitureInfoListBuilder_.getMessage(index);
}
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public Builder setCustomFurnitureInfoList(
int index, emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo value) {
if (customFurnitureInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCustomFurnitureInfoListIsMutable();
customFurnitureInfoList_.set(index, value);
onChanged();
} else {
customFurnitureInfoListBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public Builder setCustomFurnitureInfoList(
int index, emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo.Builder builderForValue) {
if (customFurnitureInfoListBuilder_ == null) {
ensureCustomFurnitureInfoListIsMutable();
customFurnitureInfoList_.set(index, builderForValue.build());
onChanged();
} else {
customFurnitureInfoListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public Builder addCustomFurnitureInfoList(emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo value) {
if (customFurnitureInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCustomFurnitureInfoListIsMutable();
customFurnitureInfoList_.add(value);
onChanged();
} else {
customFurnitureInfoListBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public Builder addCustomFurnitureInfoList(
int index, emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo value) {
if (customFurnitureInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCustomFurnitureInfoListIsMutable();
customFurnitureInfoList_.add(index, value);
onChanged();
} else {
customFurnitureInfoListBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public Builder addCustomFurnitureInfoList(
emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo.Builder builderForValue) {
if (customFurnitureInfoListBuilder_ == null) {
ensureCustomFurnitureInfoListIsMutable();
customFurnitureInfoList_.add(builderForValue.build());
onChanged();
} else {
customFurnitureInfoListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public Builder addCustomFurnitureInfoList(
int index, emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo.Builder builderForValue) {
if (customFurnitureInfoListBuilder_ == null) {
ensureCustomFurnitureInfoListIsMutable();
customFurnitureInfoList_.add(index, builderForValue.build());
onChanged();
} else {
customFurnitureInfoListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public Builder addAllCustomFurnitureInfoList(
java.lang.Iterable<? extends emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo> values) {
if (customFurnitureInfoListBuilder_ == null) {
ensureCustomFurnitureInfoListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, customFurnitureInfoList_);
onChanged();
} else {
customFurnitureInfoListBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public Builder clearCustomFurnitureInfoList() {
if (customFurnitureInfoListBuilder_ == null) {
customFurnitureInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
customFurnitureInfoListBuilder_.clear();
}
return this;
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public Builder removeCustomFurnitureInfoList(int index) {
if (customFurnitureInfoListBuilder_ == null) {
ensureCustomFurnitureInfoListIsMutable();
customFurnitureInfoList_.remove(index);
onChanged();
} else {
customFurnitureInfoListBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo.Builder getCustomFurnitureInfoListBuilder(
int index) {
return getCustomFurnitureInfoListFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfoOrBuilder getCustomFurnitureInfoListOrBuilder(
int index) {
if (customFurnitureInfoListBuilder_ == null) {
return customFurnitureInfoList_.get(index); } else {
return customFurnitureInfoListBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public java.util.List<? extends emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfoOrBuilder>
getCustomFurnitureInfoListOrBuilderList() {
if (customFurnitureInfoListBuilder_ != null) {
return customFurnitureInfoListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(customFurnitureInfoList_);
}
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo.Builder addCustomFurnitureInfoListBuilder() {
return getCustomFurnitureInfoListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo.getDefaultInstance());
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo.Builder addCustomFurnitureInfoListBuilder(
int index) {
return getCustomFurnitureInfoListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo.getDefaultInstance());
}
/**
* <code>repeated .HomeCustomFurnitureInfo customFurnitureInfoList = 15;</code>
*/
public java.util.List<emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo.Builder>
getCustomFurnitureInfoListBuilderList() {
return getCustomFurnitureInfoListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo, emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo.Builder, emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfoOrBuilder>
getCustomFurnitureInfoListFieldBuilder() {
if (customFurnitureInfoListBuilder_ == null) {
customFurnitureInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo, emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfo.Builder, emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.HomeCustomFurnitureInfoOrBuilder>(
customFurnitureInfoList_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
customFurnitureInfoList_ = null;
}
return customFurnitureInfoListBuilder_;
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> usedSubFurnitureCountMap_;
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
internalGetUsedSubFurnitureCountMap() {
if (usedSubFurnitureCountMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
UsedSubFurnitureCountMapDefaultEntryHolder.defaultEntry);
}
return usedSubFurnitureCountMap_;
}
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
internalGetMutableUsedSubFurnitureCountMap() {
onChanged();;
if (usedSubFurnitureCountMap_ == null) {
usedSubFurnitureCountMap_ = com.google.protobuf.MapField.newMapField(
UsedSubFurnitureCountMapDefaultEntryHolder.defaultEntry);
}
if (!usedSubFurnitureCountMap_.isMutable()) {
usedSubFurnitureCountMap_ = usedSubFurnitureCountMap_.copy();
}
return usedSubFurnitureCountMap_;
}
public int getUsedSubFurnitureCountMapCount() {
return internalGetUsedSubFurnitureCountMap().getMap().size();
}
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
@java.lang.Override
public boolean containsUsedSubFurnitureCountMap(
int key) {
return internalGetUsedSubFurnitureCountMap().getMap().containsKey(key);
}
/**
* Use {@link #getUsedSubFurnitureCountMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Integer> getUsedSubFurnitureCountMap() {
return getUsedSubFurnitureCountMapMap();
}
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.Integer, java.lang.Integer> getUsedSubFurnitureCountMapMap() {
return internalGetUsedSubFurnitureCountMap().getMap();
}
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
@java.lang.Override
public int getUsedSubFurnitureCountMapOrDefault(
int key,
int defaultValue) {
java.util.Map<java.lang.Integer, java.lang.Integer> map =
internalGetUsedSubFurnitureCountMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
@java.lang.Override
public int getUsedSubFurnitureCountMapOrThrow(
int key) {
java.util.Map<java.lang.Integer, java.lang.Integer> map =
internalGetUsedSubFurnitureCountMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearUsedSubFurnitureCountMap() {
internalGetMutableUsedSubFurnitureCountMap().getMutableMap()
.clear();
return this;
}
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
public Builder removeUsedSubFurnitureCountMap(
int key) {
internalGetMutableUsedSubFurnitureCountMap().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Integer>
getMutableUsedSubFurnitureCountMap() {
return internalGetMutableUsedSubFurnitureCountMap().getMutableMap();
}
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
public Builder putUsedSubFurnitureCountMap(
int key,
int value) {
internalGetMutableUsedSubFurnitureCountMap().getMutableMap()
.put(key, value);
return this;
}
/**
* <code>map&lt;uint32, uint32&gt; usedSubFurnitureCountMap = 2;</code>
*/
public Builder putAllUsedSubFurnitureCountMap(
java.util.Map<java.lang.Integer, java.lang.Integer> values) {
internalGetMutableUsedSubFurnitureCountMap().getMutableMap()
.putAll(values);
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:HomeCustomFurnitureInfoNotify)
}
// @@protoc_insertion_point(class_scope:HomeCustomFurnitureInfoNotify)
private static final emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify();
}
public static emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<HomeCustomFurnitureInfoNotify>
PARSER = new com.google.protobuf.AbstractParser<HomeCustomFurnitureInfoNotify>() {
@java.lang.Override
public HomeCustomFurnitureInfoNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HomeCustomFurnitureInfoNotify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<HomeCustomFurnitureInfoNotify> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<HomeCustomFurnitureInfoNotify> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.HomeCustomFurnitureInfoNotifyOuterClass.HomeCustomFurnitureInfoNotify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_HomeCustomFurnitureInfoNotify_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_HomeCustomFurnitureInfoNotify_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_HomeCustomFurnitureInfoNotify_UsedSubFurnitureCountMapEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_HomeCustomFurnitureInfoNotify_UsedSubFurnitureCountMapEntry_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#HomeCustomFurnitureInfoNotify.proto\032\035H" +
"omeCustomFurnitureInfo.proto\"\357\002\n\035HomeCus" +
"tomFurnitureInfoNotify\022!\n\031deleteCustomFu" +
"rnitureList\030\016 \003(\r\0229\n\027customFurnitureInfo" +
"List\030\017 \003(\0132\030.HomeCustomFurnitureInfo\022^\n\030" +
"usedSubFurnitureCountMap\030\002 \003(\0132<.HomeCus" +
"tomFurnitureInfoNotify.UsedSubFurnitureC" +
"ountMapEntry\032?\n\035UsedSubFurnitureCountMap" +
"Entry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028\001\"O\n" +
"\013IOBEONJJIPP\022\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\260%" +
"\022\017\n\013DCDNILFDFLB\020\000\022\017\n\013NNBKOLMPOEA\020\001\032\002\020\001B\033" +
"\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.getDescriptor(),
});
internal_static_HomeCustomFurnitureInfoNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_HomeCustomFurnitureInfoNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_HomeCustomFurnitureInfoNotify_descriptor,
new java.lang.String[] { "DeleteCustomFurnitureList", "CustomFurnitureInfoList", "UsedSubFurnitureCountMap", });
internal_static_HomeCustomFurnitureInfoNotify_UsedSubFurnitureCountMapEntry_descriptor =
internal_static_HomeCustomFurnitureInfoNotify_descriptor.getNestedTypes().get(0);
internal_static_HomeCustomFurnitureInfoNotify_UsedSubFurnitureCountMapEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_HomeCustomFurnitureInfoNotify_UsedSubFurnitureCountMapEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
emu.grasscutter.net.proto.HomeCustomFurnitureInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}