Grasscutter/src/generated/main/java/emu/grasscutter/net/proto/HomeFurnitureGroupDataOuterClass.java

924 lines
37 KiB
Java
Raw Normal View History

2022-08-21 19:33:54 +08:00
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: HomeFurnitureGroupData.proto
2022-08-21 19:33:54 +08:00
package emu.grasscutter.net.proto;
public final class HomeFurnitureGroupDataOuterClass {
private HomeFurnitureGroupDataOuterClass() {}
2022-08-21 19:33:54 +08:00
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 HomeFurnitureGroupDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:HomeFurnitureGroupData)
2022-08-21 19:33:54 +08:00
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
java.util.List<emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData>
getVirtualFurnitureListList();
2022-08-21 19:33:54 +08:00
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData getVirtualFurnitureList(int index);
2022-08-21 19:33:54 +08:00
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
int getVirtualFurnitureListCount();
2022-08-21 19:33:54 +08:00
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
java.util.List<? extends emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureDataOrBuilder>
getVirtualFurnitureListOrBuilderList();
2022-08-21 19:33:54 +08:00
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureDataOrBuilder getVirtualFurnitureListOrBuilder(
2022-08-21 19:33:54 +08:00
int index);
/**
* <code>uint32 groupFurnitureIndex = 9;</code>
* @return The groupFurnitureIndex.
*/
int getGroupFurnitureIndex();
2022-08-21 19:33:54 +08:00
}
/**
* <pre>
* Name: FNLKKMKJIDF
* </pre>
*
* Protobuf type {@code HomeFurnitureGroupData}
2022-08-21 19:33:54 +08:00
*/
public static final class HomeFurnitureGroupData extends
2022-08-21 19:33:54 +08:00
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:HomeFurnitureGroupData)
HomeFurnitureGroupDataOrBuilder {
2022-08-21 19:33:54 +08:00
private static final long serialVersionUID = 0L;
// Use HomeFurnitureGroupData.newBuilder() to construct.
private HomeFurnitureGroupData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
2022-08-21 19:33:54 +08:00
super(builder);
}
private HomeFurnitureGroupData() {
virtualFurnitureList_ = java.util.Collections.emptyList();
2022-08-21 19:33:54 +08:00
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HomeFurnitureGroupData();
2022-08-21 19:33:54 +08:00
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HomeFurnitureGroupData(
2022-08-21 19:33:54 +08:00
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 42: {
2022-08-21 19:33:54 +08:00
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
virtualFurnitureList_ = new java.util.ArrayList<emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData>();
2022-08-21 19:33:54 +08:00
mutable_bitField0_ |= 0x00000001;
}
virtualFurnitureList_.add(
2022-08-21 19:33:54 +08:00
input.readMessage(emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData.parser(), extensionRegistry));
break;
}
case 72: {
groupFurnitureIndex_ = input.readUInt32();
break;
}
2022-08-21 19:33:54 +08:00
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)) {
virtualFurnitureList_ = java.util.Collections.unmodifiableList(virtualFurnitureList_);
2022-08-21 19:33:54 +08:00
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.internal_static_HomeFurnitureGroupData_descriptor;
2022-08-21 19:33:54 +08:00
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.internal_static_HomeFurnitureGroupData_fieldAccessorTable
2022-08-21 19:33:54 +08:00
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData.class, emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData.Builder.class);
2022-08-21 19:33:54 +08:00
}
public static final int VIRTUALFURNITURELIST_FIELD_NUMBER = 5;
private java.util.List<emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData> virtualFurnitureList_;
2022-08-21 19:33:54 +08:00
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData> getVirtualFurnitureListList() {
return virtualFurnitureList_;
2022-08-21 19:33:54 +08:00
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureDataOrBuilder>
getVirtualFurnitureListOrBuilderList() {
return virtualFurnitureList_;
2022-08-21 19:33:54 +08:00
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
@java.lang.Override
public int getVirtualFurnitureListCount() {
return virtualFurnitureList_.size();
2022-08-21 19:33:54 +08:00
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
@java.lang.Override
public emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData getVirtualFurnitureList(int index) {
return virtualFurnitureList_.get(index);
2022-08-21 19:33:54 +08:00
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
@java.lang.Override
public emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureDataOrBuilder getVirtualFurnitureListOrBuilder(
int index) {
return virtualFurnitureList_.get(index);
2022-08-21 19:33:54 +08:00
}
public static final int GROUPFURNITUREINDEX_FIELD_NUMBER = 9;
private int groupFurnitureIndex_;
2022-08-21 19:33:54 +08:00
/**
* <code>uint32 groupFurnitureIndex = 9;</code>
* @return The groupFurnitureIndex.
2022-08-21 19:33:54 +08:00
*/
@java.lang.Override
public int getGroupFurnitureIndex() {
return groupFurnitureIndex_;
2022-08-21 19:33:54 +08:00
}
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 {
for (int i = 0; i < virtualFurnitureList_.size(); i++) {
output.writeMessage(5, virtualFurnitureList_.get(i));
}
if (groupFurnitureIndex_ != 0) {
output.writeUInt32(9, groupFurnitureIndex_);
2022-08-21 19:33:54 +08:00
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < virtualFurnitureList_.size(); i++) {
2022-08-21 19:33:54 +08:00
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, virtualFurnitureList_.get(i));
2022-08-21 19:33:54 +08:00
}
if (groupFurnitureIndex_ != 0) {
2022-08-21 19:33:54 +08:00
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, groupFurnitureIndex_);
2022-08-21 19:33:54 +08:00
}
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.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData)) {
2022-08-21 19:33:54 +08:00
return super.equals(obj);
}
emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData other = (emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData) obj;
2022-08-21 19:33:54 +08:00
if (!getVirtualFurnitureListList()
.equals(other.getVirtualFurnitureListList())) return false;
if (getGroupFurnitureIndex()
!= other.getGroupFurnitureIndex()) return false;
2022-08-21 19:33:54 +08:00
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 (getVirtualFurnitureListCount() > 0) {
hash = (37 * hash) + VIRTUALFURNITURELIST_FIELD_NUMBER;
hash = (53 * hash) + getVirtualFurnitureListList().hashCode();
2022-08-21 19:33:54 +08:00
}
hash = (37 * hash) + GROUPFURNITUREINDEX_FIELD_NUMBER;
hash = (53 * hash) + getGroupFurnitureIndex();
2022-08-21 19:33:54 +08:00
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData parseFrom(
2022-08-21 19:33:54 +08:00
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData parseFrom(
2022-08-21 19:33:54 +08:00
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.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData parseFrom(
2022-08-21 19:33:54 +08:00
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData parseFrom(
2022-08-21 19:33:54 +08:00
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.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData parseFrom(byte[] data)
2022-08-21 19:33:54 +08:00
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData parseFrom(
2022-08-21 19:33:54 +08:00
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData parseFrom(java.io.InputStream input)
2022-08-21 19:33:54 +08:00
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData parseFrom(
2022-08-21 19:33:54 +08:00
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.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData parseDelimitedFrom(java.io.InputStream input)
2022-08-21 19:33:54 +08:00
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData parseDelimitedFrom(
2022-08-21 19:33:54 +08:00
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.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData parseFrom(
2022-08-21 19:33:54 +08:00
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData parseFrom(
2022-08-21 19:33:54 +08:00
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.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData prototype) {
2022-08-21 19:33:54 +08:00
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>
* Name: FNLKKMKJIDF
* </pre>
*
* Protobuf type {@code HomeFurnitureGroupData}
2022-08-21 19:33:54 +08:00
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:HomeFurnitureGroupData)
emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupDataOrBuilder {
2022-08-21 19:33:54 +08:00
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.internal_static_HomeFurnitureGroupData_descriptor;
2022-08-21 19:33:54 +08:00
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.internal_static_HomeFurnitureGroupData_fieldAccessorTable
2022-08-21 19:33:54 +08:00
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData.class, emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData.Builder.class);
2022-08-21 19:33:54 +08:00
}
// Construct using emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData.newBuilder()
2022-08-21 19:33:54 +08:00
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getVirtualFurnitureListFieldBuilder();
2022-08-21 19:33:54 +08:00
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (virtualFurnitureListBuilder_ == null) {
virtualFurnitureList_ = java.util.Collections.emptyList();
2022-08-21 19:33:54 +08:00
bitField0_ = (bitField0_ & ~0x00000001);
} else {
virtualFurnitureListBuilder_.clear();
2022-08-21 19:33:54 +08:00
}
groupFurnitureIndex_ = 0;
2022-08-21 19:33:54 +08:00
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.internal_static_HomeFurnitureGroupData_descriptor;
2022-08-21 19:33:54 +08:00
}
@java.lang.Override
public emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData getDefaultInstanceForType() {
return emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData.getDefaultInstance();
2022-08-21 19:33:54 +08:00
}
@java.lang.Override
public emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData build() {
emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData result = buildPartial();
2022-08-21 19:33:54 +08:00
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData buildPartial() {
emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData result = new emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData(this);
2022-08-21 19:33:54 +08:00
int from_bitField0_ = bitField0_;
if (virtualFurnitureListBuilder_ == null) {
2022-08-21 19:33:54 +08:00
if (((bitField0_ & 0x00000001) != 0)) {
virtualFurnitureList_ = java.util.Collections.unmodifiableList(virtualFurnitureList_);
2022-08-21 19:33:54 +08:00
bitField0_ = (bitField0_ & ~0x00000001);
}
result.virtualFurnitureList_ = virtualFurnitureList_;
2022-08-21 19:33:54 +08:00
} else {
result.virtualFurnitureList_ = virtualFurnitureListBuilder_.build();
2022-08-21 19:33:54 +08:00
}
result.groupFurnitureIndex_ = groupFurnitureIndex_;
2022-08-21 19:33:54 +08:00
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.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData) {
return mergeFrom((emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData)other);
2022-08-21 19:33:54 +08:00
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData other) {
if (other == emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData.getDefaultInstance()) return this;
if (virtualFurnitureListBuilder_ == null) {
if (!other.virtualFurnitureList_.isEmpty()) {
if (virtualFurnitureList_.isEmpty()) {
virtualFurnitureList_ = other.virtualFurnitureList_;
2022-08-21 19:33:54 +08:00
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureVirtualFurnitureListIsMutable();
virtualFurnitureList_.addAll(other.virtualFurnitureList_);
2022-08-21 19:33:54 +08:00
}
onChanged();
}
} else {
if (!other.virtualFurnitureList_.isEmpty()) {
if (virtualFurnitureListBuilder_.isEmpty()) {
virtualFurnitureListBuilder_.dispose();
virtualFurnitureListBuilder_ = null;
virtualFurnitureList_ = other.virtualFurnitureList_;
2022-08-21 19:33:54 +08:00
bitField0_ = (bitField0_ & ~0x00000001);
virtualFurnitureListBuilder_ =
2022-08-21 19:33:54 +08:00
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getVirtualFurnitureListFieldBuilder() : null;
2022-08-21 19:33:54 +08:00
} else {
virtualFurnitureListBuilder_.addAllMessages(other.virtualFurnitureList_);
2022-08-21 19:33:54 +08:00
}
}
}
if (other.getGroupFurnitureIndex() != 0) {
setGroupFurnitureIndex(other.getGroupFurnitureIndex());
}
2022-08-21 19:33:54 +08:00
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.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData parsedMessage = null;
2022-08-21 19:33:54 +08:00
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData) e.getUnfinishedMessage();
2022-08-21 19:33:54 +08:00
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData> virtualFurnitureList_ =
2022-08-21 19:33:54 +08:00
java.util.Collections.emptyList();
private void ensureVirtualFurnitureListIsMutable() {
2022-08-21 19:33:54 +08:00
if (!((bitField0_ & 0x00000001) != 0)) {
virtualFurnitureList_ = new java.util.ArrayList<emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData>(virtualFurnitureList_);
2022-08-21 19:33:54 +08:00
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData, emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData.Builder, emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureDataOrBuilder> virtualFurnitureListBuilder_;
2022-08-21 19:33:54 +08:00
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public java.util.List<emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData> getVirtualFurnitureListList() {
if (virtualFurnitureListBuilder_ == null) {
return java.util.Collections.unmodifiableList(virtualFurnitureList_);
2022-08-21 19:33:54 +08:00
} else {
return virtualFurnitureListBuilder_.getMessageList();
2022-08-21 19:33:54 +08:00
}
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public int getVirtualFurnitureListCount() {
if (virtualFurnitureListBuilder_ == null) {
return virtualFurnitureList_.size();
2022-08-21 19:33:54 +08:00
} else {
return virtualFurnitureListBuilder_.getCount();
2022-08-21 19:33:54 +08:00
}
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData getVirtualFurnitureList(int index) {
if (virtualFurnitureListBuilder_ == null) {
return virtualFurnitureList_.get(index);
2022-08-21 19:33:54 +08:00
} else {
return virtualFurnitureListBuilder_.getMessage(index);
2022-08-21 19:33:54 +08:00
}
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public Builder setVirtualFurnitureList(
2022-08-21 19:33:54 +08:00
int index, emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData value) {
if (virtualFurnitureListBuilder_ == null) {
2022-08-21 19:33:54 +08:00
if (value == null) {
throw new NullPointerException();
}
ensureVirtualFurnitureListIsMutable();
virtualFurnitureList_.set(index, value);
2022-08-21 19:33:54 +08:00
onChanged();
} else {
virtualFurnitureListBuilder_.setMessage(index, value);
2022-08-21 19:33:54 +08:00
}
return this;
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public Builder setVirtualFurnitureList(
2022-08-21 19:33:54 +08:00
int index, emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData.Builder builderForValue) {
if (virtualFurnitureListBuilder_ == null) {
ensureVirtualFurnitureListIsMutable();
virtualFurnitureList_.set(index, builderForValue.build());
2022-08-21 19:33:54 +08:00
onChanged();
} else {
virtualFurnitureListBuilder_.setMessage(index, builderForValue.build());
2022-08-21 19:33:54 +08:00
}
return this;
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public Builder addVirtualFurnitureList(emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData value) {
if (virtualFurnitureListBuilder_ == null) {
2022-08-21 19:33:54 +08:00
if (value == null) {
throw new NullPointerException();
}
ensureVirtualFurnitureListIsMutable();
virtualFurnitureList_.add(value);
2022-08-21 19:33:54 +08:00
onChanged();
} else {
virtualFurnitureListBuilder_.addMessage(value);
2022-08-21 19:33:54 +08:00
}
return this;
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public Builder addVirtualFurnitureList(
2022-08-21 19:33:54 +08:00
int index, emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData value) {
if (virtualFurnitureListBuilder_ == null) {
2022-08-21 19:33:54 +08:00
if (value == null) {
throw new NullPointerException();
}
ensureVirtualFurnitureListIsMutable();
virtualFurnitureList_.add(index, value);
2022-08-21 19:33:54 +08:00
onChanged();
} else {
virtualFurnitureListBuilder_.addMessage(index, value);
2022-08-21 19:33:54 +08:00
}
return this;
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public Builder addVirtualFurnitureList(
2022-08-21 19:33:54 +08:00
emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData.Builder builderForValue) {
if (virtualFurnitureListBuilder_ == null) {
ensureVirtualFurnitureListIsMutable();
virtualFurnitureList_.add(builderForValue.build());
2022-08-21 19:33:54 +08:00
onChanged();
} else {
virtualFurnitureListBuilder_.addMessage(builderForValue.build());
2022-08-21 19:33:54 +08:00
}
return this;
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public Builder addVirtualFurnitureList(
2022-08-21 19:33:54 +08:00
int index, emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData.Builder builderForValue) {
if (virtualFurnitureListBuilder_ == null) {
ensureVirtualFurnitureListIsMutable();
virtualFurnitureList_.add(index, builderForValue.build());
2022-08-21 19:33:54 +08:00
onChanged();
} else {
virtualFurnitureListBuilder_.addMessage(index, builderForValue.build());
2022-08-21 19:33:54 +08:00
}
return this;
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public Builder addAllVirtualFurnitureList(
2022-08-21 19:33:54 +08:00
java.lang.Iterable<? extends emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData> values) {
if (virtualFurnitureListBuilder_ == null) {
ensureVirtualFurnitureListIsMutable();
2022-08-21 19:33:54 +08:00
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, virtualFurnitureList_);
2022-08-21 19:33:54 +08:00
onChanged();
} else {
virtualFurnitureListBuilder_.addAllMessages(values);
2022-08-21 19:33:54 +08:00
}
return this;
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public Builder clearVirtualFurnitureList() {
if (virtualFurnitureListBuilder_ == null) {
virtualFurnitureList_ = java.util.Collections.emptyList();
2022-08-21 19:33:54 +08:00
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
virtualFurnitureListBuilder_.clear();
2022-08-21 19:33:54 +08:00
}
return this;
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public Builder removeVirtualFurnitureList(int index) {
if (virtualFurnitureListBuilder_ == null) {
ensureVirtualFurnitureListIsMutable();
virtualFurnitureList_.remove(index);
2022-08-21 19:33:54 +08:00
onChanged();
} else {
virtualFurnitureListBuilder_.remove(index);
2022-08-21 19:33:54 +08:00
}
return this;
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData.Builder getVirtualFurnitureListBuilder(
2022-08-21 19:33:54 +08:00
int index) {
return getVirtualFurnitureListFieldBuilder().getBuilder(index);
2022-08-21 19:33:54 +08:00
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureDataOrBuilder getVirtualFurnitureListOrBuilder(
2022-08-21 19:33:54 +08:00
int index) {
if (virtualFurnitureListBuilder_ == null) {
return virtualFurnitureList_.get(index); } else {
return virtualFurnitureListBuilder_.getMessageOrBuilder(index);
2022-08-21 19:33:54 +08:00
}
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public java.util.List<? extends emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureDataOrBuilder>
getVirtualFurnitureListOrBuilderList() {
if (virtualFurnitureListBuilder_ != null) {
return virtualFurnitureListBuilder_.getMessageOrBuilderList();
2022-08-21 19:33:54 +08:00
} else {
return java.util.Collections.unmodifiableList(virtualFurnitureList_);
2022-08-21 19:33:54 +08:00
}
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData.Builder addVirtualFurnitureListBuilder() {
return getVirtualFurnitureListFieldBuilder().addBuilder(
2022-08-21 19:33:54 +08:00
emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData.getDefaultInstance());
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData.Builder addVirtualFurnitureListBuilder(
2022-08-21 19:33:54 +08:00
int index) {
return getVirtualFurnitureListFieldBuilder().addBuilder(
2022-08-21 19:33:54 +08:00
index, emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData.getDefaultInstance());
}
/**
* <code>repeated .HomeFurnitureData virtualFurnitureList = 5;</code>
2022-08-21 19:33:54 +08:00
*/
public java.util.List<emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData.Builder>
getVirtualFurnitureListBuilderList() {
return getVirtualFurnitureListFieldBuilder().getBuilderList();
2022-08-21 19:33:54 +08:00
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData, emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData.Builder, emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureDataOrBuilder>
getVirtualFurnitureListFieldBuilder() {
if (virtualFurnitureListBuilder_ == null) {
virtualFurnitureListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
2022-08-21 19:33:54 +08:00
emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData, emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureData.Builder, emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.HomeFurnitureDataOrBuilder>(
virtualFurnitureList_,
2022-08-21 19:33:54 +08:00
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
virtualFurnitureList_ = null;
2022-08-21 19:33:54 +08:00
}
return virtualFurnitureListBuilder_;
}
private int groupFurnitureIndex_ ;
/**
* <code>uint32 groupFurnitureIndex = 9;</code>
* @return The groupFurnitureIndex.
*/
@java.lang.Override
public int getGroupFurnitureIndex() {
return groupFurnitureIndex_;
}
/**
* <code>uint32 groupFurnitureIndex = 9;</code>
* @param value The groupFurnitureIndex to set.
* @return This builder for chaining.
*/
public Builder setGroupFurnitureIndex(int value) {
groupFurnitureIndex_ = value;
onChanged();
return this;
}
/**
* <code>uint32 groupFurnitureIndex = 9;</code>
* @return This builder for chaining.
*/
public Builder clearGroupFurnitureIndex() {
groupFurnitureIndex_ = 0;
onChanged();
return this;
2022-08-21 19:33:54 +08:00
}
@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:HomeFurnitureGroupData)
2022-08-21 19:33:54 +08:00
}
// @@protoc_insertion_point(class_scope:HomeFurnitureGroupData)
private static final emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData DEFAULT_INSTANCE;
2022-08-21 19:33:54 +08:00
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData();
2022-08-21 19:33:54 +08:00
}
public static emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData getDefaultInstance() {
2022-08-21 19:33:54 +08:00
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<HomeFurnitureGroupData>
PARSER = new com.google.protobuf.AbstractParser<HomeFurnitureGroupData>() {
2022-08-21 19:33:54 +08:00
@java.lang.Override
public HomeFurnitureGroupData parsePartialFrom(
2022-08-21 19:33:54 +08:00
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HomeFurnitureGroupData(input, extensionRegistry);
2022-08-21 19:33:54 +08:00
}
};
public static com.google.protobuf.Parser<HomeFurnitureGroupData> parser() {
2022-08-21 19:33:54 +08:00
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<HomeFurnitureGroupData> getParserForType() {
2022-08-21 19:33:54 +08:00
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.HomeFurnitureGroupDataOuterClass.HomeFurnitureGroupData getDefaultInstanceForType() {
2022-08-21 19:33:54 +08:00
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_HomeFurnitureGroupData_descriptor;
2022-08-21 19:33:54 +08:00
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_HomeFurnitureGroupData_fieldAccessorTable;
2022-08-21 19:33:54 +08:00
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\034HomeFurnitureGroupData.proto\032\027HomeFurn" +
"itureData.proto\"g\n\026HomeFurnitureGroupDat" +
"a\0220\n\024virtualFurnitureList\030\005 \003(\0132\022.HomeFu" +
"rnitureData\022\033\n\023groupFurnitureIndex\030\t \001(\r" +
"B\033\n\031emu.grasscutter.net.protob\006proto3"
2022-08-21 19:33:54 +08:00
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.getDescriptor(),
});
internal_static_HomeFurnitureGroupData_descriptor =
2022-08-21 19:33:54 +08:00
getDescriptor().getMessageTypes().get(0);
internal_static_HomeFurnitureGroupData_fieldAccessorTable = new
2022-08-21 19:33:54 +08:00
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_HomeFurnitureGroupData_descriptor,
new java.lang.String[] { "VirtualFurnitureList", "GroupFurnitureIndex", });
2022-08-21 19:33:54 +08:00
emu.grasscutter.net.proto.HomeFurnitureDataOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}