mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-08 21:15:54 +08:00
939 lines
35 KiB
Java
939 lines
35 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: BrickBreakerPlayerSetAvatarNotify.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class BrickBreakerPlayerSetAvatarNotifyOuterClass {
|
|
private BrickBreakerPlayerSetAvatarNotifyOuterClass() {}
|
|
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 BrickBreakerPlayerSetAvatarNotifyOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:BrickBreakerPlayerSetAvatarNotify)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>uint32 uid = 7;</code>
|
|
* @return The uid.
|
|
*/
|
|
int getUid();
|
|
|
|
/**
|
|
* <code>repeated uint32 costume_id_list = 9;</code>
|
|
* @return A list containing the costumeIdList.
|
|
*/
|
|
java.util.List<java.lang.Integer> getCostumeIdListList();
|
|
/**
|
|
* <code>repeated uint32 costume_id_list = 9;</code>
|
|
* @return The count of costumeIdList.
|
|
*/
|
|
int getCostumeIdListCount();
|
|
/**
|
|
* <code>repeated uint32 costume_id_list = 9;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The costumeIdList at the given index.
|
|
*/
|
|
int getCostumeIdList(int index);
|
|
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 2;</code>
|
|
* @return A list containing the avatarIdList.
|
|
*/
|
|
java.util.List<java.lang.Integer> getAvatarIdListList();
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 2;</code>
|
|
* @return The count of avatarIdList.
|
|
*/
|
|
int getAvatarIdListCount();
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 2;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The avatarIdList at the given index.
|
|
*/
|
|
int getAvatarIdList(int index);
|
|
}
|
|
/**
|
|
* <pre>
|
|
* CmdId: 3292
|
|
* Obf: CMPPLEJFGBK
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code BrickBreakerPlayerSetAvatarNotify}
|
|
*/
|
|
public static final class BrickBreakerPlayerSetAvatarNotify extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:BrickBreakerPlayerSetAvatarNotify)
|
|
BrickBreakerPlayerSetAvatarNotifyOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use BrickBreakerPlayerSetAvatarNotify.newBuilder() to construct.
|
|
private BrickBreakerPlayerSetAvatarNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private BrickBreakerPlayerSetAvatarNotify() {
|
|
costumeIdList_ = emptyIntList();
|
|
avatarIdList_ = emptyIntList();
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(
|
|
UnusedPrivateParameter unused) {
|
|
return new BrickBreakerPlayerSetAvatarNotify();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private BrickBreakerPlayerSetAvatarNotify(
|
|
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 16: {
|
|
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
|
avatarIdList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000002;
|
|
}
|
|
avatarIdList_.addInt(input.readUInt32());
|
|
break;
|
|
}
|
|
case 18: {
|
|
int length = input.readRawVarint32();
|
|
int limit = input.pushLimit(length);
|
|
if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
|
|
avatarIdList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000002;
|
|
}
|
|
while (input.getBytesUntilLimit() > 0) {
|
|
avatarIdList_.addInt(input.readUInt32());
|
|
}
|
|
input.popLimit(limit);
|
|
break;
|
|
}
|
|
case 56: {
|
|
|
|
uid_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
costumeIdList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
costumeIdList_.addInt(input.readUInt32());
|
|
break;
|
|
}
|
|
case 74: {
|
|
int length = input.readRawVarint32();
|
|
int limit = input.pushLimit(length);
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
|
costumeIdList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
while (input.getBytesUntilLimit() > 0) {
|
|
costumeIdList_.addInt(input.readUInt32());
|
|
}
|
|
input.popLimit(limit);
|
|
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)) {
|
|
avatarIdList_.makeImmutable(); // C
|
|
}
|
|
if (((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
costumeIdList_.makeImmutable(); // C
|
|
}
|
|
this.unknownFields = unknownFields.build();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.internal_static_BrickBreakerPlayerSetAvatarNotify_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.internal_static_BrickBreakerPlayerSetAvatarNotify_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify.class, emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify.Builder.class);
|
|
}
|
|
|
|
public static final int UID_FIELD_NUMBER = 7;
|
|
private int uid_;
|
|
/**
|
|
* <code>uint32 uid = 7;</code>
|
|
* @return The uid.
|
|
*/
|
|
@java.lang.Override
|
|
public int getUid() {
|
|
return uid_;
|
|
}
|
|
|
|
public static final int COSTUME_ID_LIST_FIELD_NUMBER = 9;
|
|
private com.google.protobuf.Internal.IntList costumeIdList_;
|
|
/**
|
|
* <code>repeated uint32 costume_id_list = 9;</code>
|
|
* @return A list containing the costumeIdList.
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<java.lang.Integer>
|
|
getCostumeIdListList() {
|
|
return costumeIdList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 costume_id_list = 9;</code>
|
|
* @return The count of costumeIdList.
|
|
*/
|
|
public int getCostumeIdListCount() {
|
|
return costumeIdList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 costume_id_list = 9;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The costumeIdList at the given index.
|
|
*/
|
|
public int getCostumeIdList(int index) {
|
|
return costumeIdList_.getInt(index);
|
|
}
|
|
private int costumeIdListMemoizedSerializedSize = -1;
|
|
|
|
public static final int AVATAR_ID_LIST_FIELD_NUMBER = 2;
|
|
private com.google.protobuf.Internal.IntList avatarIdList_;
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 2;</code>
|
|
* @return A list containing the avatarIdList.
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<java.lang.Integer>
|
|
getAvatarIdListList() {
|
|
return avatarIdList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 2;</code>
|
|
* @return The count of avatarIdList.
|
|
*/
|
|
public int getAvatarIdListCount() {
|
|
return avatarIdList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 2;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The avatarIdList at the given index.
|
|
*/
|
|
public int getAvatarIdList(int index) {
|
|
return avatarIdList_.getInt(index);
|
|
}
|
|
private int avatarIdListMemoizedSerializedSize = -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 (getAvatarIdListList().size() > 0) {
|
|
output.writeUInt32NoTag(18);
|
|
output.writeUInt32NoTag(avatarIdListMemoizedSerializedSize);
|
|
}
|
|
for (int i = 0; i < avatarIdList_.size(); i++) {
|
|
output.writeUInt32NoTag(avatarIdList_.getInt(i));
|
|
}
|
|
if (uid_ != 0) {
|
|
output.writeUInt32(7, uid_);
|
|
}
|
|
if (getCostumeIdListList().size() > 0) {
|
|
output.writeUInt32NoTag(74);
|
|
output.writeUInt32NoTag(costumeIdListMemoizedSerializedSize);
|
|
}
|
|
for (int i = 0; i < costumeIdList_.size(); i++) {
|
|
output.writeUInt32NoTag(costumeIdList_.getInt(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 < avatarIdList_.size(); i++) {
|
|
dataSize += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32SizeNoTag(avatarIdList_.getInt(i));
|
|
}
|
|
size += dataSize;
|
|
if (!getAvatarIdListList().isEmpty()) {
|
|
size += 1;
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32SizeNoTag(dataSize);
|
|
}
|
|
avatarIdListMemoizedSerializedSize = dataSize;
|
|
}
|
|
if (uid_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(7, uid_);
|
|
}
|
|
{
|
|
int dataSize = 0;
|
|
for (int i = 0; i < costumeIdList_.size(); i++) {
|
|
dataSize += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32SizeNoTag(costumeIdList_.getInt(i));
|
|
}
|
|
size += dataSize;
|
|
if (!getCostumeIdListList().isEmpty()) {
|
|
size += 1;
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32SizeNoTag(dataSize);
|
|
}
|
|
costumeIdListMemoizedSerializedSize = dataSize;
|
|
}
|
|
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.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify other = (emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify) obj;
|
|
|
|
if (getUid()
|
|
!= other.getUid()) return false;
|
|
if (!getCostumeIdListList()
|
|
.equals(other.getCostumeIdListList())) return false;
|
|
if (!getAvatarIdListList()
|
|
.equals(other.getAvatarIdListList())) 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) + UID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getUid();
|
|
if (getCostumeIdListCount() > 0) {
|
|
hash = (37 * hash) + COSTUME_ID_LIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getCostumeIdListList().hashCode();
|
|
}
|
|
if (getAvatarIdListCount() > 0) {
|
|
hash = (37 * hash) + AVATAR_ID_LIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getAvatarIdListList().hashCode();
|
|
}
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify 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.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify 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.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify 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.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify 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.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify 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.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify prototype) {
|
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
}
|
|
@java.lang.Override
|
|
public Builder toBuilder() {
|
|
return this == DEFAULT_INSTANCE
|
|
? new Builder() : new Builder().mergeFrom(this);
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected Builder newBuilderForType(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
Builder builder = new Builder(parent);
|
|
return builder;
|
|
}
|
|
/**
|
|
* <pre>
|
|
* CmdId: 3292
|
|
* Obf: CMPPLEJFGBK
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code BrickBreakerPlayerSetAvatarNotify}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:BrickBreakerPlayerSetAvatarNotify)
|
|
emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotifyOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.internal_static_BrickBreakerPlayerSetAvatarNotify_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.internal_static_BrickBreakerPlayerSetAvatarNotify_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify.class, emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify.Builder.class);
|
|
}
|
|
|
|
// Construct using emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify.newBuilder()
|
|
private Builder() {
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
|
|
private Builder(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
super(parent);
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
private void maybeForceBuilderInitialization() {
|
|
if (com.google.protobuf.GeneratedMessageV3
|
|
.alwaysUseFieldBuilders) {
|
|
}
|
|
}
|
|
@java.lang.Override
|
|
public Builder clear() {
|
|
super.clear();
|
|
uid_ = 0;
|
|
|
|
costumeIdList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
avatarIdList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.internal_static_BrickBreakerPlayerSetAvatarNotify_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify build() {
|
|
emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify buildPartial() {
|
|
emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify result = new emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify(this);
|
|
int from_bitField0_ = bitField0_;
|
|
result.uid_ = uid_;
|
|
if (((bitField0_ & 0x00000001) != 0)) {
|
|
costumeIdList_.makeImmutable();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
}
|
|
result.costumeIdList_ = costumeIdList_;
|
|
if (((bitField0_ & 0x00000002) != 0)) {
|
|
avatarIdList_.makeImmutable();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
}
|
|
result.avatarIdList_ = avatarIdList_;
|
|
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.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify) {
|
|
return mergeFrom((emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify other) {
|
|
if (other == emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify.getDefaultInstance()) return this;
|
|
if (other.getUid() != 0) {
|
|
setUid(other.getUid());
|
|
}
|
|
if (!other.costumeIdList_.isEmpty()) {
|
|
if (costumeIdList_.isEmpty()) {
|
|
costumeIdList_ = other.costumeIdList_;
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
} else {
|
|
ensureCostumeIdListIsMutable();
|
|
costumeIdList_.addAll(other.costumeIdList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
if (!other.avatarIdList_.isEmpty()) {
|
|
if (avatarIdList_.isEmpty()) {
|
|
avatarIdList_ = other.avatarIdList_;
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
} else {
|
|
ensureAvatarIdListIsMutable();
|
|
avatarIdList_.addAll(other.avatarIdList_);
|
|
}
|
|
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.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
private int bitField0_;
|
|
|
|
private int uid_ ;
|
|
/**
|
|
* <code>uint32 uid = 7;</code>
|
|
* @return The uid.
|
|
*/
|
|
@java.lang.Override
|
|
public int getUid() {
|
|
return uid_;
|
|
}
|
|
/**
|
|
* <code>uint32 uid = 7;</code>
|
|
* @param value The uid to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setUid(int value) {
|
|
|
|
uid_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 uid = 7;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearUid() {
|
|
|
|
uid_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.Internal.IntList costumeIdList_ = emptyIntList();
|
|
private void ensureCostumeIdListIsMutable() {
|
|
if (!((bitField0_ & 0x00000001) != 0)) {
|
|
costumeIdList_ = mutableCopy(costumeIdList_);
|
|
bitField0_ |= 0x00000001;
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated uint32 costume_id_list = 9;</code>
|
|
* @return A list containing the costumeIdList.
|
|
*/
|
|
public java.util.List<java.lang.Integer>
|
|
getCostumeIdListList() {
|
|
return ((bitField0_ & 0x00000001) != 0) ?
|
|
java.util.Collections.unmodifiableList(costumeIdList_) : costumeIdList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 costume_id_list = 9;</code>
|
|
* @return The count of costumeIdList.
|
|
*/
|
|
public int getCostumeIdListCount() {
|
|
return costumeIdList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 costume_id_list = 9;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The costumeIdList at the given index.
|
|
*/
|
|
public int getCostumeIdList(int index) {
|
|
return costumeIdList_.getInt(index);
|
|
}
|
|
/**
|
|
* <code>repeated uint32 costume_id_list = 9;</code>
|
|
* @param index The index to set the value at.
|
|
* @param value The costumeIdList to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setCostumeIdList(
|
|
int index, int value) {
|
|
ensureCostumeIdListIsMutable();
|
|
costumeIdList_.setInt(index, value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 costume_id_list = 9;</code>
|
|
* @param value The costumeIdList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addCostumeIdList(int value) {
|
|
ensureCostumeIdListIsMutable();
|
|
costumeIdList_.addInt(value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 costume_id_list = 9;</code>
|
|
* @param values The costumeIdList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAllCostumeIdList(
|
|
java.lang.Iterable<? extends java.lang.Integer> values) {
|
|
ensureCostumeIdListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
values, costumeIdList_);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 costume_id_list = 9;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearCostumeIdList() {
|
|
costumeIdList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.Internal.IntList avatarIdList_ = emptyIntList();
|
|
private void ensureAvatarIdListIsMutable() {
|
|
if (!((bitField0_ & 0x00000002) != 0)) {
|
|
avatarIdList_ = mutableCopy(avatarIdList_);
|
|
bitField0_ |= 0x00000002;
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 2;</code>
|
|
* @return A list containing the avatarIdList.
|
|
*/
|
|
public java.util.List<java.lang.Integer>
|
|
getAvatarIdListList() {
|
|
return ((bitField0_ & 0x00000002) != 0) ?
|
|
java.util.Collections.unmodifiableList(avatarIdList_) : avatarIdList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 2;</code>
|
|
* @return The count of avatarIdList.
|
|
*/
|
|
public int getAvatarIdListCount() {
|
|
return avatarIdList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 2;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The avatarIdList at the given index.
|
|
*/
|
|
public int getAvatarIdList(int index) {
|
|
return avatarIdList_.getInt(index);
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 2;</code>
|
|
* @param index The index to set the value at.
|
|
* @param value The avatarIdList to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setAvatarIdList(
|
|
int index, int value) {
|
|
ensureAvatarIdListIsMutable();
|
|
avatarIdList_.setInt(index, value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 2;</code>
|
|
* @param value The avatarIdList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAvatarIdList(int value) {
|
|
ensureAvatarIdListIsMutable();
|
|
avatarIdList_.addInt(value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 2;</code>
|
|
* @param values The avatarIdList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAllAvatarIdList(
|
|
java.lang.Iterable<? extends java.lang.Integer> values) {
|
|
ensureAvatarIdListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
values, avatarIdList_);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 avatar_id_list = 2;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearAvatarIdList() {
|
|
avatarIdList_ = emptyIntList();
|
|
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:BrickBreakerPlayerSetAvatarNotify)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:BrickBreakerPlayerSetAvatarNotify)
|
|
private static final emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<BrickBreakerPlayerSetAvatarNotify>
|
|
PARSER = new com.google.protobuf.AbstractParser<BrickBreakerPlayerSetAvatarNotify>() {
|
|
@java.lang.Override
|
|
public BrickBreakerPlayerSetAvatarNotify parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new BrickBreakerPlayerSetAvatarNotify(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<BrickBreakerPlayerSetAvatarNotify> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<BrickBreakerPlayerSetAvatarNotify> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BrickBreakerPlayerSetAvatarNotifyOuterClass.BrickBreakerPlayerSetAvatarNotify getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_BrickBreakerPlayerSetAvatarNotify_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_BrickBreakerPlayerSetAvatarNotify_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\'BrickBreakerPlayerSetAvatarNotify.prot" +
|
|
"o\"a\n!BrickBreakerPlayerSetAvatarNotify\022\013" +
|
|
"\n\003uid\030\007 \001(\r\022\027\n\017costume_id_list\030\t \003(\r\022\026\n\016" +
|
|
"avatar_id_list\030\002 \003(\rB\033\n\031emu.grasscutter." +
|
|
"net.protob\006proto3"
|
|
};
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
});
|
|
internal_static_BrickBreakerPlayerSetAvatarNotify_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_BrickBreakerPlayerSetAvatarNotify_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_BrickBreakerPlayerSetAvatarNotify_descriptor,
|
|
new java.lang.String[] { "Uid", "CostumeIdList", "AvatarIdList", });
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|