// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AbilityMixinScenePropSync.proto
package emu.grasscutter.net.proto;
public final class AbilityMixinScenePropSyncOuterClass {
private AbilityMixinScenePropSyncOuterClass() {}
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 AbilityMixinScenePropSyncOrBuilder extends
// @@protoc_insertion_point(interface_extends:AbilityMixinScenePropSync)
com.google.protobuf.MessageOrBuilder {
/**
* bool is_clear_all = 6;
* @return The isClearAll.
*/
boolean getIsClearAll();
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
java.util.List
getMassivePropListList();
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo getMassivePropList(int index);
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
int getMassivePropListCount();
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
java.util.List extends emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfoOrBuilder>
getMassivePropListOrBuilderList();
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfoOrBuilder getMassivePropListOrBuilder(
int index);
/**
* repeated int64 delete_id_list = 5;
* @return A list containing the deleteIdList.
*/
java.util.List getDeleteIdListList();
/**
* repeated int64 delete_id_list = 5;
* @return The count of deleteIdList.
*/
int getDeleteIdListCount();
/**
* repeated int64 delete_id_list = 5;
* @param index The index of the element to return.
* @return The deleteIdList at the given index.
*/
long getDeleteIdList(int index);
}
/**
*
* Obf: KEKBDPCNHFK
*
*
* Protobuf type {@code AbilityMixinScenePropSync}
*/
public static final class AbilityMixinScenePropSync extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AbilityMixinScenePropSync)
AbilityMixinScenePropSyncOrBuilder {
private static final long serialVersionUID = 0L;
// Use AbilityMixinScenePropSync.newBuilder() to construct.
private AbilityMixinScenePropSync(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AbilityMixinScenePropSync() {
massivePropList_ = java.util.Collections.emptyList();
deleteIdList_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AbilityMixinScenePropSync();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AbilityMixinScenePropSync(
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 40: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
deleteIdList_ = newLongList();
mutable_bitField0_ |= 0x00000002;
}
deleteIdList_.addLong(input.readInt64());
break;
}
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
deleteIdList_ = newLongList();
mutable_bitField0_ |= 0x00000002;
}
while (input.getBytesUntilLimit() > 0) {
deleteIdList_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
}
case 48: {
isClearAll_ = input.readBool();
break;
}
case 66: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
massivePropList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
massivePropList_.add(
input.readMessage(emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo.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_ & 0x00000002) != 0)) {
deleteIdList_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000001) != 0)) {
massivePropList_ = java.util.Collections.unmodifiableList(massivePropList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.internal_static_AbilityMixinScenePropSync_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.internal_static_AbilityMixinScenePropSync_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync.class, emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync.Builder.class);
}
public static final int IS_CLEAR_ALL_FIELD_NUMBER = 6;
private boolean isClearAll_;
/**
* bool is_clear_all = 6;
* @return The isClearAll.
*/
@java.lang.Override
public boolean getIsClearAll() {
return isClearAll_;
}
public static final int MASSIVE_PROP_LIST_FIELD_NUMBER = 8;
private java.util.List massivePropList_;
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
@java.lang.Override
public java.util.List getMassivePropListList() {
return massivePropList_;
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfoOrBuilder>
getMassivePropListOrBuilderList() {
return massivePropList_;
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
@java.lang.Override
public int getMassivePropListCount() {
return massivePropList_.size();
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
@java.lang.Override
public emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo getMassivePropList(int index) {
return massivePropList_.get(index);
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
@java.lang.Override
public emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfoOrBuilder getMassivePropListOrBuilder(
int index) {
return massivePropList_.get(index);
}
public static final int DELETE_ID_LIST_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.LongList deleteIdList_;
/**
* repeated int64 delete_id_list = 5;
* @return A list containing the deleteIdList.
*/
@java.lang.Override
public java.util.List
getDeleteIdListList() {
return deleteIdList_;
}
/**
* repeated int64 delete_id_list = 5;
* @return The count of deleteIdList.
*/
public int getDeleteIdListCount() {
return deleteIdList_.size();
}
/**
* repeated int64 delete_id_list = 5;
* @param index The index of the element to return.
* @return The deleteIdList at the given index.
*/
public long getDeleteIdList(int index) {
return deleteIdList_.getLong(index);
}
private int deleteIdListMemoizedSerializedSize = -1;
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();
if (getDeleteIdListList().size() > 0) {
output.writeUInt32NoTag(42);
output.writeUInt32NoTag(deleteIdListMemoizedSerializedSize);
}
for (int i = 0; i < deleteIdList_.size(); i++) {
output.writeInt64NoTag(deleteIdList_.getLong(i));
}
if (isClearAll_ != false) {
output.writeBool(6, isClearAll_);
}
for (int i = 0; i < massivePropList_.size(); i++) {
output.writeMessage(8, massivePropList_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < deleteIdList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(deleteIdList_.getLong(i));
}
size += dataSize;
if (!getDeleteIdListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
deleteIdListMemoizedSerializedSize = dataSize;
}
if (isClearAll_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, isClearAll_);
}
for (int i = 0; i < massivePropList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, massivePropList_.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.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync other = (emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync) obj;
if (getIsClearAll()
!= other.getIsClearAll()) return false;
if (!getMassivePropListList()
.equals(other.getMassivePropListList())) return false;
if (!getDeleteIdListList()
.equals(other.getDeleteIdListList())) 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();
hash = (37 * hash) + IS_CLEAR_ALL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsClearAll());
if (getMassivePropListCount() > 0) {
hash = (37 * hash) + MASSIVE_PROP_LIST_FIELD_NUMBER;
hash = (53 * hash) + getMassivePropListList().hashCode();
}
if (getDeleteIdListCount() > 0) {
hash = (37 * hash) + DELETE_ID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getDeleteIdListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync 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.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync 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.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync 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.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync 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.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync 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.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync 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;
}
/**
*
* Obf: KEKBDPCNHFK
*
*
* Protobuf type {@code AbilityMixinScenePropSync}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AbilityMixinScenePropSync)
emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSyncOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.internal_static_AbilityMixinScenePropSync_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.internal_static_AbilityMixinScenePropSync_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync.class, emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync.Builder.class);
}
// Construct using emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMassivePropListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
isClearAll_ = false;
if (massivePropListBuilder_ == null) {
massivePropList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
massivePropListBuilder_.clear();
}
deleteIdList_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.internal_static_AbilityMixinScenePropSync_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync getDefaultInstanceForType() {
return emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync build() {
emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync buildPartial() {
emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync result = new emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync(this);
int from_bitField0_ = bitField0_;
result.isClearAll_ = isClearAll_;
if (massivePropListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
massivePropList_ = java.util.Collections.unmodifiableList(massivePropList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.massivePropList_ = massivePropList_;
} else {
result.massivePropList_ = massivePropListBuilder_.build();
}
if (((bitField0_ & 0x00000002) != 0)) {
deleteIdList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.deleteIdList_ = deleteIdList_;
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.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync) {
return mergeFrom((emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync other) {
if (other == emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync.getDefaultInstance()) return this;
if (other.getIsClearAll() != false) {
setIsClearAll(other.getIsClearAll());
}
if (massivePropListBuilder_ == null) {
if (!other.massivePropList_.isEmpty()) {
if (massivePropList_.isEmpty()) {
massivePropList_ = other.massivePropList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMassivePropListIsMutable();
massivePropList_.addAll(other.massivePropList_);
}
onChanged();
}
} else {
if (!other.massivePropList_.isEmpty()) {
if (massivePropListBuilder_.isEmpty()) {
massivePropListBuilder_.dispose();
massivePropListBuilder_ = null;
massivePropList_ = other.massivePropList_;
bitField0_ = (bitField0_ & ~0x00000001);
massivePropListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMassivePropListFieldBuilder() : null;
} else {
massivePropListBuilder_.addAllMessages(other.massivePropList_);
}
}
}
if (!other.deleteIdList_.isEmpty()) {
if (deleteIdList_.isEmpty()) {
deleteIdList_ = other.deleteIdList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureDeleteIdListIsMutable();
deleteIdList_.addAll(other.deleteIdList_);
}
onChanged();
}
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.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean isClearAll_ ;
/**
* bool is_clear_all = 6;
* @return The isClearAll.
*/
@java.lang.Override
public boolean getIsClearAll() {
return isClearAll_;
}
/**
* bool is_clear_all = 6;
* @param value The isClearAll to set.
* @return This builder for chaining.
*/
public Builder setIsClearAll(boolean value) {
isClearAll_ = value;
onChanged();
return this;
}
/**
* bool is_clear_all = 6;
* @return This builder for chaining.
*/
public Builder clearIsClearAll() {
isClearAll_ = false;
onChanged();
return this;
}
private java.util.List massivePropList_ =
java.util.Collections.emptyList();
private void ensureMassivePropListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
massivePropList_ = new java.util.ArrayList(massivePropList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo, emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo.Builder, emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfoOrBuilder> massivePropListBuilder_;
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public java.util.List getMassivePropListList() {
if (massivePropListBuilder_ == null) {
return java.util.Collections.unmodifiableList(massivePropList_);
} else {
return massivePropListBuilder_.getMessageList();
}
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public int getMassivePropListCount() {
if (massivePropListBuilder_ == null) {
return massivePropList_.size();
} else {
return massivePropListBuilder_.getCount();
}
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo getMassivePropList(int index) {
if (massivePropListBuilder_ == null) {
return massivePropList_.get(index);
} else {
return massivePropListBuilder_.getMessage(index);
}
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public Builder setMassivePropList(
int index, emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo value) {
if (massivePropListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMassivePropListIsMutable();
massivePropList_.set(index, value);
onChanged();
} else {
massivePropListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public Builder setMassivePropList(
int index, emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo.Builder builderForValue) {
if (massivePropListBuilder_ == null) {
ensureMassivePropListIsMutable();
massivePropList_.set(index, builderForValue.build());
onChanged();
} else {
massivePropListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public Builder addMassivePropList(emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo value) {
if (massivePropListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMassivePropListIsMutable();
massivePropList_.add(value);
onChanged();
} else {
massivePropListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public Builder addMassivePropList(
int index, emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo value) {
if (massivePropListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMassivePropListIsMutable();
massivePropList_.add(index, value);
onChanged();
} else {
massivePropListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public Builder addMassivePropList(
emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo.Builder builderForValue) {
if (massivePropListBuilder_ == null) {
ensureMassivePropListIsMutable();
massivePropList_.add(builderForValue.build());
onChanged();
} else {
massivePropListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public Builder addMassivePropList(
int index, emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo.Builder builderForValue) {
if (massivePropListBuilder_ == null) {
ensureMassivePropListIsMutable();
massivePropList_.add(index, builderForValue.build());
onChanged();
} else {
massivePropListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public Builder addAllMassivePropList(
java.lang.Iterable extends emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo> values) {
if (massivePropListBuilder_ == null) {
ensureMassivePropListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, massivePropList_);
onChanged();
} else {
massivePropListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public Builder clearMassivePropList() {
if (massivePropListBuilder_ == null) {
massivePropList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
massivePropListBuilder_.clear();
}
return this;
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public Builder removeMassivePropList(int index) {
if (massivePropListBuilder_ == null) {
ensureMassivePropListIsMutable();
massivePropList_.remove(index);
onChanged();
} else {
massivePropListBuilder_.remove(index);
}
return this;
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo.Builder getMassivePropListBuilder(
int index) {
return getMassivePropListFieldBuilder().getBuilder(index);
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfoOrBuilder getMassivePropListOrBuilder(
int index) {
if (massivePropListBuilder_ == null) {
return massivePropList_.get(index); } else {
return massivePropListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public java.util.List extends emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfoOrBuilder>
getMassivePropListOrBuilderList() {
if (massivePropListBuilder_ != null) {
return massivePropListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(massivePropList_);
}
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo.Builder addMassivePropListBuilder() {
return getMassivePropListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo.getDefaultInstance());
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo.Builder addMassivePropListBuilder(
int index) {
return getMassivePropListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo.getDefaultInstance());
}
/**
* repeated .MassivePropSyncInfo massive_prop_list = 8;
*/
public java.util.List
getMassivePropListBuilderList() {
return getMassivePropListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo, emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo.Builder, emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfoOrBuilder>
getMassivePropListFieldBuilder() {
if (massivePropListBuilder_ == null) {
massivePropListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo, emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfo.Builder, emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.MassivePropSyncInfoOrBuilder>(
massivePropList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
massivePropList_ = null;
}
return massivePropListBuilder_;
}
private com.google.protobuf.Internal.LongList deleteIdList_ = emptyLongList();
private void ensureDeleteIdListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
deleteIdList_ = mutableCopy(deleteIdList_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated int64 delete_id_list = 5;
* @return A list containing the deleteIdList.
*/
public java.util.List
getDeleteIdListList() {
return ((bitField0_ & 0x00000002) != 0) ?
java.util.Collections.unmodifiableList(deleteIdList_) : deleteIdList_;
}
/**
* repeated int64 delete_id_list = 5;
* @return The count of deleteIdList.
*/
public int getDeleteIdListCount() {
return deleteIdList_.size();
}
/**
* repeated int64 delete_id_list = 5;
* @param index The index of the element to return.
* @return The deleteIdList at the given index.
*/
public long getDeleteIdList(int index) {
return deleteIdList_.getLong(index);
}
/**
* repeated int64 delete_id_list = 5;
* @param index The index to set the value at.
* @param value The deleteIdList to set.
* @return This builder for chaining.
*/
public Builder setDeleteIdList(
int index, long value) {
ensureDeleteIdListIsMutable();
deleteIdList_.setLong(index, value);
onChanged();
return this;
}
/**
* repeated int64 delete_id_list = 5;
* @param value The deleteIdList to add.
* @return This builder for chaining.
*/
public Builder addDeleteIdList(long value) {
ensureDeleteIdListIsMutable();
deleteIdList_.addLong(value);
onChanged();
return this;
}
/**
* repeated int64 delete_id_list = 5;
* @param values The deleteIdList to add.
* @return This builder for chaining.
*/
public Builder addAllDeleteIdList(
java.lang.Iterable extends java.lang.Long> values) {
ensureDeleteIdListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deleteIdList_);
onChanged();
return this;
}
/**
* repeated int64 delete_id_list = 5;
* @return This builder for chaining.
*/
public Builder clearDeleteIdList() {
deleteIdList_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
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:AbilityMixinScenePropSync)
}
// @@protoc_insertion_point(class_scope:AbilityMixinScenePropSync)
private static final emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync();
}
public static emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AbilityMixinScenePropSync parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AbilityMixinScenePropSync(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.AbilityMixinScenePropSyncOuterClass.AbilityMixinScenePropSync getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_AbilityMixinScenePropSync_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_AbilityMixinScenePropSync_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\037AbilityMixinScenePropSync.proto\032\031Massi" +
"vePropSyncInfo.proto\"z\n\031AbilityMixinScen" +
"ePropSync\022\024\n\014is_clear_all\030\006 \001(\010\022/\n\021massi" +
"ve_prop_list\030\010 \003(\0132\024.MassivePropSyncInfo" +
"\022\026\n\016delete_id_list\030\005 \003(\003B\033\n\031emu.grasscut" +
"ter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.getDescriptor(),
});
internal_static_AbilityMixinScenePropSync_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_AbilityMixinScenePropSync_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AbilityMixinScenePropSync_descriptor,
new java.lang.String[] { "IsClearAll", "MassivePropList", "DeleteIdList", });
emu.grasscutter.net.proto.MassivePropSyncInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}