2023-05-31 20:48:16 -07:00
|
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
|
// source: ActivityRecvGiftData.proto
|
|
|
|
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
|
|
|
|
public final class ActivityRecvGiftDataOuterClass {
|
|
|
|
private ActivityRecvGiftDataOuterClass() {}
|
|
|
|
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 ActivityRecvGiftDataOrBuilder extends
|
|
|
|
// @@protoc_insertion_point(interface_extends:ActivityRecvGiftData)
|
|
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
int getGiftNumMapCount();
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
boolean containsGiftNumMap(
|
|
|
|
int key);
|
|
|
|
/**
|
|
|
|
* Use {@link #getGiftNumMapMap()} instead.
|
|
|
|
*/
|
|
|
|
@java.lang.Deprecated
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
|
|
getGiftNumMap();
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
|
|
getGiftNumMapMap();
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
int getGiftNumMapOrDefault(
|
|
|
|
int key,
|
|
|
|
int defaultValue);
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
int getGiftNumMapOrThrow(
|
|
|
|
int key);
|
|
|
|
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>uint32 uid = 14;</code>
|
|
|
|
* @return The uid.
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
2023-08-14 18:57:07 -04:00
|
|
|
int getUid();
|
2023-05-31 20:48:16 -07:00
|
|
|
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>.ProfilePicture profile_picture = 9;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
* @return Whether the profilePicture field is set.
|
|
|
|
*/
|
|
|
|
boolean hasProfilePicture();
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>.ProfilePicture profile_picture = 9;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
* @return The profilePicture.
|
|
|
|
*/
|
|
|
|
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getProfilePicture();
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>.ProfilePicture profile_picture = 9;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder getProfilePictureOrBuilder();
|
|
|
|
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>string remark_name = 12;</code>
|
|
|
|
* @return The remarkName.
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
2023-08-14 18:57:07 -04:00
|
|
|
java.lang.String getRemarkName();
|
|
|
|
/**
|
|
|
|
* <code>string remark_name = 12;</code>
|
|
|
|
* @return The bytes for remarkName.
|
|
|
|
*/
|
|
|
|
com.google.protobuf.ByteString
|
|
|
|
getRemarkNameBytes();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* <code>string nickname = 13;</code>
|
|
|
|
* @return The nickname.
|
|
|
|
*/
|
|
|
|
java.lang.String getNickname();
|
|
|
|
/**
|
|
|
|
* <code>string nickname = 13;</code>
|
|
|
|
* @return The bytes for nickname.
|
|
|
|
*/
|
|
|
|
com.google.protobuf.ByteString
|
|
|
|
getNicknameBytes();
|
2023-05-31 20:48:16 -07:00
|
|
|
}
|
|
|
|
/**
|
|
|
|
* <pre>
|
2023-08-14 18:57:07 -04:00
|
|
|
* Obf: HNOIMLAIGBN
|
2023-05-31 20:48:16 -07:00
|
|
|
* </pre>
|
|
|
|
*
|
|
|
|
* Protobuf type {@code ActivityRecvGiftData}
|
|
|
|
*/
|
|
|
|
public static final class ActivityRecvGiftData extends
|
|
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
|
|
// @@protoc_insertion_point(message_implements:ActivityRecvGiftData)
|
|
|
|
ActivityRecvGiftDataOrBuilder {
|
|
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
// Use ActivityRecvGiftData.newBuilder() to construct.
|
|
|
|
private ActivityRecvGiftData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
|
|
super(builder);
|
|
|
|
}
|
|
|
|
private ActivityRecvGiftData() {
|
|
|
|
remarkName_ = "";
|
2023-08-14 18:57:07 -04:00
|
|
|
nickname_ = "";
|
2023-05-31 20:48:16 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
@SuppressWarnings({"unused"})
|
|
|
|
protected java.lang.Object newInstance(
|
|
|
|
UnusedPrivateParameter unused) {
|
|
|
|
return new ActivityRecvGiftData();
|
|
|
|
}
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
|
|
getUnknownFields() {
|
|
|
|
return this.unknownFields;
|
|
|
|
}
|
|
|
|
private ActivityRecvGiftData(
|
|
|
|
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;
|
2023-08-14 18:57:07 -04:00
|
|
|
case 74: {
|
2023-05-31 20:48:16 -07:00
|
|
|
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder subBuilder = null;
|
|
|
|
if (profilePicture_ != null) {
|
|
|
|
subBuilder = profilePicture_.toBuilder();
|
|
|
|
}
|
|
|
|
profilePicture_ = input.readMessage(emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.parser(), extensionRegistry);
|
|
|
|
if (subBuilder != null) {
|
|
|
|
subBuilder.mergeFrom(profilePicture_);
|
|
|
|
profilePicture_ = subBuilder.buildPartial();
|
|
|
|
}
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 90: {
|
|
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
|
|
giftNumMap_ = com.google.protobuf.MapField.newMapField(
|
|
|
|
GiftNumMapDefaultEntryHolder.defaultEntry);
|
|
|
|
mutable_bitField0_ |= 0x00000001;
|
|
|
|
}
|
|
|
|
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
|
|
|
|
giftNumMap__ = input.readMessage(
|
|
|
|
GiftNumMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
|
|
|
|
giftNumMap_.getMutableMap().put(
|
|
|
|
giftNumMap__.getKey(), giftNumMap__.getValue());
|
|
|
|
break;
|
|
|
|
}
|
2023-08-14 18:57:07 -04:00
|
|
|
case 98: {
|
|
|
|
java.lang.String s = input.readStringRequireUtf8();
|
|
|
|
|
|
|
|
remarkName_ = s;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 106: {
|
|
|
|
java.lang.String s = input.readStringRequireUtf8();
|
|
|
|
|
|
|
|
nickname_ = s;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 112: {
|
|
|
|
|
|
|
|
uid_ = input.readUInt32();
|
|
|
|
break;
|
|
|
|
}
|
2023-05-31 20:48:16 -07: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 {
|
|
|
|
this.unknownFields = unknownFields.build();
|
|
|
|
makeExtensionsImmutable();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
getDescriptor() {
|
|
|
|
return emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.internal_static_ActivityRecvGiftData_descriptor;
|
|
|
|
}
|
|
|
|
|
|
|
|
@SuppressWarnings({"rawtypes"})
|
|
|
|
@java.lang.Override
|
|
|
|
protected com.google.protobuf.MapField internalGetMapField(
|
|
|
|
int number) {
|
|
|
|
switch (number) {
|
2023-08-14 18:57:07 -04:00
|
|
|
case 11:
|
2023-05-31 20:48:16 -07:00
|
|
|
return internalGetGiftNumMap();
|
|
|
|
default:
|
|
|
|
throw new RuntimeException(
|
|
|
|
"Invalid map field number: " + number);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@java.lang.Override
|
|
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
return emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.internal_static_ActivityRecvGiftData_fieldAccessorTable
|
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
|
emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData.class, emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData.Builder.class);
|
|
|
|
}
|
|
|
|
|
2023-08-14 18:57:07 -04:00
|
|
|
public static final int GIFT_NUM_MAP_FIELD_NUMBER = 11;
|
2023-05-31 20:48:16 -07:00
|
|
|
private static final class GiftNumMapDefaultEntryHolder {
|
|
|
|
static final com.google.protobuf.MapEntry<
|
|
|
|
java.lang.Integer, java.lang.Integer> defaultEntry =
|
|
|
|
com.google.protobuf.MapEntry
|
|
|
|
.<java.lang.Integer, java.lang.Integer>newDefaultInstance(
|
|
|
|
emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.internal_static_ActivityRecvGiftData_GiftNumMapEntry_descriptor,
|
|
|
|
com.google.protobuf.WireFormat.FieldType.UINT32,
|
|
|
|
0,
|
|
|
|
com.google.protobuf.WireFormat.FieldType.UINT32,
|
|
|
|
0);
|
|
|
|
}
|
|
|
|
private com.google.protobuf.MapField<
|
|
|
|
java.lang.Integer, java.lang.Integer> giftNumMap_;
|
|
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
|
|
|
internalGetGiftNumMap() {
|
|
|
|
if (giftNumMap_ == null) {
|
|
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
|
|
GiftNumMapDefaultEntryHolder.defaultEntry);
|
|
|
|
}
|
|
|
|
return giftNumMap_;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getGiftNumMapCount() {
|
|
|
|
return internalGetGiftNumMap().getMap().size();
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
public boolean containsGiftNumMap(
|
|
|
|
int key) {
|
|
|
|
|
|
|
|
return internalGetGiftNumMap().getMap().containsKey(key);
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Use {@link #getGiftNumMapMap()} instead.
|
|
|
|
*/
|
|
|
|
@java.lang.Override
|
|
|
|
@java.lang.Deprecated
|
|
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer> getGiftNumMap() {
|
|
|
|
return getGiftNumMapMap();
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
@java.lang.Override
|
|
|
|
|
|
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer> getGiftNumMapMap() {
|
|
|
|
return internalGetGiftNumMap().getMap();
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
@java.lang.Override
|
|
|
|
|
|
|
|
public int getGiftNumMapOrDefault(
|
|
|
|
int key,
|
|
|
|
int defaultValue) {
|
|
|
|
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
|
|
internalGetGiftNumMap().getMap();
|
|
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
@java.lang.Override
|
|
|
|
|
|
|
|
public int getGiftNumMapOrThrow(
|
|
|
|
int key) {
|
|
|
|
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
|
|
internalGetGiftNumMap().getMap();
|
|
|
|
if (!map.containsKey(key)) {
|
|
|
|
throw new java.lang.IllegalArgumentException();
|
|
|
|
}
|
|
|
|
return map.get(key);
|
|
|
|
}
|
|
|
|
|
2023-08-14 18:57:07 -04:00
|
|
|
public static final int UID_FIELD_NUMBER = 14;
|
|
|
|
private int uid_;
|
|
|
|
/**
|
|
|
|
* <code>uint32 uid = 14;</code>
|
|
|
|
* @return The uid.
|
|
|
|
*/
|
|
|
|
@java.lang.Override
|
|
|
|
public int getUid() {
|
|
|
|
return uid_;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static final int PROFILE_PICTURE_FIELD_NUMBER = 9;
|
|
|
|
private emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture profilePicture_;
|
|
|
|
/**
|
|
|
|
* <code>.ProfilePicture profile_picture = 9;</code>
|
|
|
|
* @return Whether the profilePicture field is set.
|
|
|
|
*/
|
|
|
|
@java.lang.Override
|
|
|
|
public boolean hasProfilePicture() {
|
|
|
|
return profilePicture_ != null;
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* <code>.ProfilePicture profile_picture = 9;</code>
|
|
|
|
* @return The profilePicture.
|
|
|
|
*/
|
|
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getProfilePicture() {
|
|
|
|
return profilePicture_ == null ? emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.getDefaultInstance() : profilePicture_;
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* <code>.ProfilePicture profile_picture = 9;</code>
|
|
|
|
*/
|
|
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder getProfilePictureOrBuilder() {
|
|
|
|
return getProfilePicture();
|
|
|
|
}
|
|
|
|
|
|
|
|
public static final int REMARK_NAME_FIELD_NUMBER = 12;
|
2023-05-31 20:48:16 -07:00
|
|
|
private volatile java.lang.Object remarkName_;
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>string remark_name = 12;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
* @return The remarkName.
|
|
|
|
*/
|
|
|
|
@java.lang.Override
|
|
|
|
public java.lang.String getRemarkName() {
|
|
|
|
java.lang.Object ref = remarkName_;
|
|
|
|
if (ref instanceof java.lang.String) {
|
|
|
|
return (java.lang.String) ref;
|
|
|
|
} else {
|
|
|
|
com.google.protobuf.ByteString bs =
|
|
|
|
(com.google.protobuf.ByteString) ref;
|
|
|
|
java.lang.String s = bs.toStringUtf8();
|
|
|
|
remarkName_ = s;
|
|
|
|
return s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>string remark_name = 12;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
* @return The bytes for remarkName.
|
|
|
|
*/
|
|
|
|
@java.lang.Override
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
getRemarkNameBytes() {
|
|
|
|
java.lang.Object ref = remarkName_;
|
|
|
|
if (ref instanceof java.lang.String) {
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
(java.lang.String) ref);
|
|
|
|
remarkName_ = b;
|
|
|
|
return b;
|
|
|
|
} else {
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-14 18:57:07 -04:00
|
|
|
public static final int NICKNAME_FIELD_NUMBER = 13;
|
|
|
|
private volatile java.lang.Object nickname_;
|
2023-05-31 20:48:16 -07:00
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>string nickname = 13;</code>
|
|
|
|
* @return The nickname.
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
@java.lang.Override
|
2023-08-14 18:57:07 -04:00
|
|
|
public java.lang.String getNickname() {
|
|
|
|
java.lang.Object ref = nickname_;
|
|
|
|
if (ref instanceof java.lang.String) {
|
|
|
|
return (java.lang.String) ref;
|
|
|
|
} else {
|
|
|
|
com.google.protobuf.ByteString bs =
|
|
|
|
(com.google.protobuf.ByteString) ref;
|
|
|
|
java.lang.String s = bs.toStringUtf8();
|
|
|
|
nickname_ = s;
|
|
|
|
return s;
|
|
|
|
}
|
2023-05-31 20:48:16 -07:00
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>string nickname = 13;</code>
|
|
|
|
* @return The bytes for nickname.
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
@java.lang.Override
|
2023-08-14 18:57:07 -04:00
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
getNicknameBytes() {
|
|
|
|
java.lang.Object ref = nickname_;
|
|
|
|
if (ref instanceof java.lang.String) {
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
(java.lang.String) ref);
|
|
|
|
nickname_ = b;
|
|
|
|
return b;
|
|
|
|
} else {
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
}
|
2023-05-31 20:48:16 -07: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 {
|
|
|
|
if (profilePicture_ != null) {
|
2023-08-14 18:57:07 -04:00
|
|
|
output.writeMessage(9, getProfilePicture());
|
2023-05-31 20:48:16 -07:00
|
|
|
}
|
|
|
|
com.google.protobuf.GeneratedMessageV3
|
|
|
|
.serializeIntegerMapTo(
|
|
|
|
output,
|
|
|
|
internalGetGiftNumMap(),
|
|
|
|
GiftNumMapDefaultEntryHolder.defaultEntry,
|
2023-08-14 18:57:07 -04:00
|
|
|
11);
|
|
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remarkName_)) {
|
|
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, remarkName_);
|
|
|
|
}
|
|
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) {
|
|
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, nickname_);
|
|
|
|
}
|
|
|
|
if (uid_ != 0) {
|
|
|
|
output.writeUInt32(14, uid_);
|
|
|
|
}
|
2023-05-31 20:48:16 -07:00
|
|
|
unknownFields.writeTo(output);
|
|
|
|
}
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
public int getSerializedSize() {
|
|
|
|
int size = memoizedSize;
|
|
|
|
if (size != -1) return size;
|
|
|
|
|
|
|
|
size = 0;
|
|
|
|
if (profilePicture_ != null) {
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2023-08-14 18:57:07 -04:00
|
|
|
.computeMessageSize(9, getProfilePicture());
|
2023-05-31 20:48:16 -07:00
|
|
|
}
|
|
|
|
for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
|
|
|
|
: internalGetGiftNumMap().getMap().entrySet()) {
|
|
|
|
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
|
|
|
|
giftNumMap__ = GiftNumMapDefaultEntryHolder.defaultEntry.newBuilderForType()
|
|
|
|
.setKey(entry.getKey())
|
|
|
|
.setValue(entry.getValue())
|
|
|
|
.build();
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
2023-08-14 18:57:07 -04:00
|
|
|
.computeMessageSize(11, giftNumMap__);
|
|
|
|
}
|
|
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remarkName_)) {
|
|
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, remarkName_);
|
|
|
|
}
|
|
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) {
|
|
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, nickname_);
|
|
|
|
}
|
|
|
|
if (uid_ != 0) {
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
.computeUInt32Size(14, uid_);
|
2023-05-31 20:48:16 -07: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.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData)) {
|
|
|
|
return super.equals(obj);
|
|
|
|
}
|
|
|
|
emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData other = (emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData) obj;
|
|
|
|
|
|
|
|
if (!internalGetGiftNumMap().equals(
|
|
|
|
other.internalGetGiftNumMap())) return false;
|
2023-08-14 18:57:07 -04:00
|
|
|
if (getUid()
|
|
|
|
!= other.getUid()) return false;
|
2023-05-31 20:48:16 -07:00
|
|
|
if (hasProfilePicture() != other.hasProfilePicture()) return false;
|
|
|
|
if (hasProfilePicture()) {
|
|
|
|
if (!getProfilePicture()
|
|
|
|
.equals(other.getProfilePicture())) return false;
|
|
|
|
}
|
2023-08-14 18:57:07 -04:00
|
|
|
if (!getRemarkName()
|
|
|
|
.equals(other.getRemarkName())) return false;
|
|
|
|
if (!getNickname()
|
|
|
|
.equals(other.getNickname())) return false;
|
2023-05-31 20:48:16 -07: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 (!internalGetGiftNumMap().getMap().isEmpty()) {
|
|
|
|
hash = (37 * hash) + GIFT_NUM_MAP_FIELD_NUMBER;
|
|
|
|
hash = (53 * hash) + internalGetGiftNumMap().hashCode();
|
|
|
|
}
|
2023-08-14 18:57:07 -04:00
|
|
|
hash = (37 * hash) + UID_FIELD_NUMBER;
|
|
|
|
hash = (53 * hash) + getUid();
|
2023-05-31 20:48:16 -07:00
|
|
|
if (hasProfilePicture()) {
|
|
|
|
hash = (37 * hash) + PROFILE_PICTURE_FIELD_NUMBER;
|
|
|
|
hash = (53 * hash) + getProfilePicture().hashCode();
|
|
|
|
}
|
2023-08-14 18:57:07 -04:00
|
|
|
hash = (37 * hash) + REMARK_NAME_FIELD_NUMBER;
|
|
|
|
hash = (53 * hash) + getRemarkName().hashCode();
|
|
|
|
hash = (37 * hash) + NICKNAME_FIELD_NUMBER;
|
|
|
|
hash = (53 * hash) + getNickname().hashCode();
|
2023-05-31 20:48:16 -07:00
|
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
|
|
memoizedHashCode = hash;
|
|
|
|
return hash;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData parseFrom(
|
|
|
|
java.nio.ByteBuffer data)
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
return PARSER.parseFrom(data);
|
|
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData 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.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData parseFrom(
|
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
return PARSER.parseFrom(data);
|
|
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData 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.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData parseFrom(byte[] data)
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
return PARSER.parseFrom(data);
|
|
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData parseFrom(
|
|
|
|
byte[] data,
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData parseFrom(java.io.InputStream input)
|
|
|
|
throws java.io.IOException {
|
|
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
|
|
.parseWithIOException(PARSER, input);
|
|
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData 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.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData parseDelimitedFrom(java.io.InputStream input)
|
|
|
|
throws java.io.IOException {
|
|
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData 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.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData parseFrom(
|
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
throws java.io.IOException {
|
|
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
|
|
.parseWithIOException(PARSER, input);
|
|
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData 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.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData 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>
|
2023-08-14 18:57:07 -04:00
|
|
|
* Obf: HNOIMLAIGBN
|
2023-05-31 20:48:16 -07:00
|
|
|
* </pre>
|
|
|
|
*
|
|
|
|
* Protobuf type {@code ActivityRecvGiftData}
|
|
|
|
*/
|
|
|
|
public static final class Builder extends
|
|
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
|
|
// @@protoc_insertion_point(builder_implements:ActivityRecvGiftData)
|
|
|
|
emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftDataOrBuilder {
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
getDescriptor() {
|
|
|
|
return emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.internal_static_ActivityRecvGiftData_descriptor;
|
|
|
|
}
|
|
|
|
|
|
|
|
@SuppressWarnings({"rawtypes"})
|
|
|
|
protected com.google.protobuf.MapField internalGetMapField(
|
|
|
|
int number) {
|
|
|
|
switch (number) {
|
2023-08-14 18:57:07 -04:00
|
|
|
case 11:
|
2023-05-31 20:48:16 -07:00
|
|
|
return internalGetGiftNumMap();
|
|
|
|
default:
|
|
|
|
throw new RuntimeException(
|
|
|
|
"Invalid map field number: " + number);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@SuppressWarnings({"rawtypes"})
|
|
|
|
protected com.google.protobuf.MapField internalGetMutableMapField(
|
|
|
|
int number) {
|
|
|
|
switch (number) {
|
2023-08-14 18:57:07 -04:00
|
|
|
case 11:
|
2023-05-31 20:48:16 -07:00
|
|
|
return internalGetMutableGiftNumMap();
|
|
|
|
default:
|
|
|
|
throw new RuntimeException(
|
|
|
|
"Invalid map field number: " + number);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@java.lang.Override
|
|
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
return emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.internal_static_ActivityRecvGiftData_fieldAccessorTable
|
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
|
emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData.class, emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData.Builder.class);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Construct using emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData.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();
|
|
|
|
internalGetMutableGiftNumMap().clear();
|
2023-08-14 18:57:07 -04:00
|
|
|
uid_ = 0;
|
2023-05-31 20:48:16 -07:00
|
|
|
|
|
|
|
if (profilePictureBuilder_ == null) {
|
|
|
|
profilePicture_ = null;
|
|
|
|
} else {
|
|
|
|
profilePicture_ = null;
|
|
|
|
profilePictureBuilder_ = null;
|
|
|
|
}
|
2023-08-14 18:57:07 -04:00
|
|
|
remarkName_ = "";
|
|
|
|
|
|
|
|
nickname_ = "";
|
2023-05-31 20:48:16 -07:00
|
|
|
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
getDescriptorForType() {
|
|
|
|
return emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.internal_static_ActivityRecvGiftData_descriptor;
|
|
|
|
}
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData getDefaultInstanceForType() {
|
|
|
|
return emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData.getDefaultInstance();
|
|
|
|
}
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData build() {
|
|
|
|
emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData result = buildPartial();
|
|
|
|
if (!result.isInitialized()) {
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
}
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData buildPartial() {
|
|
|
|
emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData result = new emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData(this);
|
|
|
|
int from_bitField0_ = bitField0_;
|
|
|
|
result.giftNumMap_ = internalGetGiftNumMap();
|
|
|
|
result.giftNumMap_.makeImmutable();
|
2023-08-14 18:57:07 -04:00
|
|
|
result.uid_ = uid_;
|
2023-05-31 20:48:16 -07:00
|
|
|
if (profilePictureBuilder_ == null) {
|
|
|
|
result.profilePicture_ = profilePicture_;
|
|
|
|
} else {
|
|
|
|
result.profilePicture_ = profilePictureBuilder_.build();
|
|
|
|
}
|
2023-08-14 18:57:07 -04:00
|
|
|
result.remarkName_ = remarkName_;
|
|
|
|
result.nickname_ = nickname_;
|
2023-05-31 20:48:16 -07: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.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData) {
|
|
|
|
return mergeFrom((emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData)other);
|
|
|
|
} else {
|
|
|
|
super.mergeFrom(other);
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public Builder mergeFrom(emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData other) {
|
|
|
|
if (other == emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData.getDefaultInstance()) return this;
|
|
|
|
internalGetMutableGiftNumMap().mergeFrom(
|
|
|
|
other.internalGetGiftNumMap());
|
2023-08-14 18:57:07 -04:00
|
|
|
if (other.getUid() != 0) {
|
|
|
|
setUid(other.getUid());
|
|
|
|
}
|
2023-05-31 20:48:16 -07:00
|
|
|
if (other.hasProfilePicture()) {
|
|
|
|
mergeProfilePicture(other.getProfilePicture());
|
|
|
|
}
|
2023-08-14 18:57:07 -04:00
|
|
|
if (!other.getRemarkName().isEmpty()) {
|
|
|
|
remarkName_ = other.remarkName_;
|
|
|
|
onChanged();
|
|
|
|
}
|
|
|
|
if (!other.getNickname().isEmpty()) {
|
|
|
|
nickname_ = other.nickname_;
|
|
|
|
onChanged();
|
2023-05-31 20:48:16 -07: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.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData parsedMessage = null;
|
|
|
|
try {
|
|
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
|
|
parsedMessage = (emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData) e.getUnfinishedMessage();
|
|
|
|
throw e.unwrapIOException();
|
|
|
|
} finally {
|
|
|
|
if (parsedMessage != null) {
|
|
|
|
mergeFrom(parsedMessage);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
private int bitField0_;
|
|
|
|
|
|
|
|
private com.google.protobuf.MapField<
|
|
|
|
java.lang.Integer, java.lang.Integer> giftNumMap_;
|
|
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
|
|
|
internalGetGiftNumMap() {
|
|
|
|
if (giftNumMap_ == null) {
|
|
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
|
|
GiftNumMapDefaultEntryHolder.defaultEntry);
|
|
|
|
}
|
|
|
|
return giftNumMap_;
|
|
|
|
}
|
|
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
|
|
|
internalGetMutableGiftNumMap() {
|
|
|
|
onChanged();;
|
|
|
|
if (giftNumMap_ == null) {
|
|
|
|
giftNumMap_ = com.google.protobuf.MapField.newMapField(
|
|
|
|
GiftNumMapDefaultEntryHolder.defaultEntry);
|
|
|
|
}
|
|
|
|
if (!giftNumMap_.isMutable()) {
|
|
|
|
giftNumMap_ = giftNumMap_.copy();
|
|
|
|
}
|
|
|
|
return giftNumMap_;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getGiftNumMapCount() {
|
|
|
|
return internalGetGiftNumMap().getMap().size();
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
public boolean containsGiftNumMap(
|
|
|
|
int key) {
|
|
|
|
|
|
|
|
return internalGetGiftNumMap().getMap().containsKey(key);
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Use {@link #getGiftNumMapMap()} instead.
|
|
|
|
*/
|
|
|
|
@java.lang.Override
|
|
|
|
@java.lang.Deprecated
|
|
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer> getGiftNumMap() {
|
|
|
|
return getGiftNumMapMap();
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
@java.lang.Override
|
|
|
|
|
|
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer> getGiftNumMapMap() {
|
|
|
|
return internalGetGiftNumMap().getMap();
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
@java.lang.Override
|
|
|
|
|
|
|
|
public int getGiftNumMapOrDefault(
|
|
|
|
int key,
|
|
|
|
int defaultValue) {
|
|
|
|
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
|
|
internalGetGiftNumMap().getMap();
|
|
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
@java.lang.Override
|
|
|
|
|
|
|
|
public int getGiftNumMapOrThrow(
|
|
|
|
int key) {
|
|
|
|
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
|
|
internalGetGiftNumMap().getMap();
|
|
|
|
if (!map.containsKey(key)) {
|
|
|
|
throw new java.lang.IllegalArgumentException();
|
|
|
|
}
|
|
|
|
return map.get(key);
|
|
|
|
}
|
|
|
|
|
|
|
|
public Builder clearGiftNumMap() {
|
|
|
|
internalGetMutableGiftNumMap().getMutableMap()
|
|
|
|
.clear();
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
public Builder removeGiftNumMap(
|
|
|
|
int key) {
|
|
|
|
|
|
|
|
internalGetMutableGiftNumMap().getMutableMap()
|
|
|
|
.remove(key);
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Use alternate mutation accessors instead.
|
|
|
|
*/
|
|
|
|
@java.lang.Deprecated
|
|
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
|
|
getMutableGiftNumMap() {
|
|
|
|
return internalGetMutableGiftNumMap().getMutableMap();
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
public Builder putGiftNumMap(
|
|
|
|
int key,
|
|
|
|
int value) {
|
|
|
|
|
|
|
|
|
|
|
|
internalGetMutableGiftNumMap().getMutableMap()
|
|
|
|
.put(key, value);
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>map<uint32, uint32> gift_num_map = 11;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
public Builder putAllGiftNumMap(
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> values) {
|
|
|
|
internalGetMutableGiftNumMap().getMutableMap()
|
|
|
|
.putAll(values);
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
2023-08-14 18:57:07 -04:00
|
|
|
private int uid_ ;
|
2023-05-31 20:48:16 -07:00
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>uint32 uid = 14;</code>
|
|
|
|
* @return The uid.
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
2023-08-14 18:57:07 -04:00
|
|
|
@java.lang.Override
|
|
|
|
public int getUid() {
|
|
|
|
return uid_;
|
2023-05-31 20:48:16 -07:00
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>uint32 uid = 14;</code>
|
|
|
|
* @param value The uid to set.
|
2023-05-31 20:48:16 -07:00
|
|
|
* @return This builder for chaining.
|
|
|
|
*/
|
2023-08-14 18:57:07 -04:00
|
|
|
public Builder setUid(int value) {
|
2023-05-31 20:48:16 -07:00
|
|
|
|
2023-08-14 18:57:07 -04:00
|
|
|
uid_ = value;
|
2023-05-31 20:48:16 -07:00
|
|
|
onChanged();
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>uint32 uid = 14;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
* @return This builder for chaining.
|
|
|
|
*/
|
2023-08-14 18:57:07 -04:00
|
|
|
public Builder clearUid() {
|
2023-05-31 20:48:16 -07:00
|
|
|
|
2023-08-14 18:57:07 -04:00
|
|
|
uid_ = 0;
|
2023-05-31 20:48:16 -07:00
|
|
|
onChanged();
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
private emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture profilePicture_;
|
|
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
|
|
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder> profilePictureBuilder_;
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>.ProfilePicture profile_picture = 9;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
* @return Whether the profilePicture field is set.
|
|
|
|
*/
|
|
|
|
public boolean hasProfilePicture() {
|
|
|
|
return profilePictureBuilder_ != null || profilePicture_ != null;
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>.ProfilePicture profile_picture = 9;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
* @return The profilePicture.
|
|
|
|
*/
|
|
|
|
public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getProfilePicture() {
|
|
|
|
if (profilePictureBuilder_ == null) {
|
|
|
|
return profilePicture_ == null ? emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.getDefaultInstance() : profilePicture_;
|
|
|
|
} else {
|
|
|
|
return profilePictureBuilder_.getMessage();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>.ProfilePicture profile_picture = 9;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
public Builder setProfilePicture(emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture value) {
|
|
|
|
if (profilePictureBuilder_ == null) {
|
|
|
|
if (value == null) {
|
|
|
|
throw new NullPointerException();
|
|
|
|
}
|
|
|
|
profilePicture_ = value;
|
|
|
|
onChanged();
|
|
|
|
} else {
|
|
|
|
profilePictureBuilder_.setMessage(value);
|
|
|
|
}
|
|
|
|
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>.ProfilePicture profile_picture = 9;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
public Builder setProfilePicture(
|
|
|
|
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder builderForValue) {
|
|
|
|
if (profilePictureBuilder_ == null) {
|
|
|
|
profilePicture_ = builderForValue.build();
|
|
|
|
onChanged();
|
|
|
|
} else {
|
|
|
|
profilePictureBuilder_.setMessage(builderForValue.build());
|
|
|
|
}
|
|
|
|
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>.ProfilePicture profile_picture = 9;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
public Builder mergeProfilePicture(emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture value) {
|
|
|
|
if (profilePictureBuilder_ == null) {
|
|
|
|
if (profilePicture_ != null) {
|
|
|
|
profilePicture_ =
|
|
|
|
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.newBuilder(profilePicture_).mergeFrom(value).buildPartial();
|
|
|
|
} else {
|
|
|
|
profilePicture_ = value;
|
|
|
|
}
|
|
|
|
onChanged();
|
|
|
|
} else {
|
|
|
|
profilePictureBuilder_.mergeFrom(value);
|
|
|
|
}
|
|
|
|
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>.ProfilePicture profile_picture = 9;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
public Builder clearProfilePicture() {
|
|
|
|
if (profilePictureBuilder_ == null) {
|
|
|
|
profilePicture_ = null;
|
|
|
|
onChanged();
|
|
|
|
} else {
|
|
|
|
profilePicture_ = null;
|
|
|
|
profilePictureBuilder_ = null;
|
|
|
|
}
|
|
|
|
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>.ProfilePicture profile_picture = 9;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder getProfilePictureBuilder() {
|
|
|
|
|
|
|
|
onChanged();
|
|
|
|
return getProfilePictureFieldBuilder().getBuilder();
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>.ProfilePicture profile_picture = 9;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder getProfilePictureOrBuilder() {
|
|
|
|
if (profilePictureBuilder_ != null) {
|
|
|
|
return profilePictureBuilder_.getMessageOrBuilder();
|
|
|
|
} else {
|
|
|
|
return profilePicture_ == null ?
|
|
|
|
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.getDefaultInstance() : profilePicture_;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>.ProfilePicture profile_picture = 9;</code>
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
|
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
|
|
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder>
|
|
|
|
getProfilePictureFieldBuilder() {
|
|
|
|
if (profilePictureBuilder_ == null) {
|
|
|
|
profilePictureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
|
|
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder>(
|
|
|
|
getProfilePicture(),
|
|
|
|
getParentForChildren(),
|
|
|
|
isClean());
|
|
|
|
profilePicture_ = null;
|
|
|
|
}
|
|
|
|
return profilePictureBuilder_;
|
|
|
|
}
|
|
|
|
|
2023-08-14 18:57:07 -04:00
|
|
|
private java.lang.Object remarkName_ = "";
|
2023-05-31 20:48:16 -07:00
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>string remark_name = 12;</code>
|
|
|
|
* @return The remarkName.
|
2023-05-31 20:48:16 -07:00
|
|
|
*/
|
2023-08-14 18:57:07 -04:00
|
|
|
public java.lang.String getRemarkName() {
|
|
|
|
java.lang.Object ref = remarkName_;
|
|
|
|
if (!(ref instanceof java.lang.String)) {
|
|
|
|
com.google.protobuf.ByteString bs =
|
|
|
|
(com.google.protobuf.ByteString) ref;
|
|
|
|
java.lang.String s = bs.toStringUtf8();
|
|
|
|
remarkName_ = s;
|
|
|
|
return s;
|
|
|
|
} else {
|
|
|
|
return (java.lang.String) ref;
|
|
|
|
}
|
2023-05-31 20:48:16 -07:00
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>string remark_name = 12;</code>
|
|
|
|
* @return The bytes for remarkName.
|
|
|
|
*/
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
getRemarkNameBytes() {
|
|
|
|
java.lang.Object ref = remarkName_;
|
|
|
|
if (ref instanceof String) {
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
(java.lang.String) ref);
|
|
|
|
remarkName_ = b;
|
|
|
|
return b;
|
|
|
|
} else {
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* <code>string remark_name = 12;</code>
|
|
|
|
* @param value The remarkName to set.
|
2023-05-31 20:48:16 -07:00
|
|
|
* @return This builder for chaining.
|
|
|
|
*/
|
2023-08-14 18:57:07 -04:00
|
|
|
public Builder setRemarkName(
|
|
|
|
java.lang.String value) {
|
|
|
|
if (value == null) {
|
|
|
|
throw new NullPointerException();
|
|
|
|
}
|
|
|
|
|
|
|
|
remarkName_ = value;
|
|
|
|
onChanged();
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* <code>string remark_name = 12;</code>
|
|
|
|
* @return This builder for chaining.
|
|
|
|
*/
|
|
|
|
public Builder clearRemarkName() {
|
2023-05-31 20:48:16 -07:00
|
|
|
|
2023-08-14 18:57:07 -04:00
|
|
|
remarkName_ = getDefaultInstance().getRemarkName();
|
2023-05-31 20:48:16 -07:00
|
|
|
onChanged();
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
/**
|
2023-08-14 18:57:07 -04:00
|
|
|
* <code>string remark_name = 12;</code>
|
|
|
|
* @param value The bytes for remarkName to set.
|
2023-05-31 20:48:16 -07:00
|
|
|
* @return This builder for chaining.
|
|
|
|
*/
|
2023-08-14 18:57:07 -04:00
|
|
|
public Builder setRemarkNameBytes(
|
|
|
|
com.google.protobuf.ByteString value) {
|
|
|
|
if (value == null) {
|
|
|
|
throw new NullPointerException();
|
|
|
|
}
|
|
|
|
checkByteStringIsUtf8(value);
|
2023-05-31 20:48:16 -07:00
|
|
|
|
2023-08-14 18:57:07 -04:00
|
|
|
remarkName_ = value;
|
|
|
|
onChanged();
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
private java.lang.Object nickname_ = "";
|
|
|
|
/**
|
|
|
|
* <code>string nickname = 13;</code>
|
|
|
|
* @return The nickname.
|
|
|
|
*/
|
|
|
|
public java.lang.String getNickname() {
|
|
|
|
java.lang.Object ref = nickname_;
|
|
|
|
if (!(ref instanceof java.lang.String)) {
|
|
|
|
com.google.protobuf.ByteString bs =
|
|
|
|
(com.google.protobuf.ByteString) ref;
|
|
|
|
java.lang.String s = bs.toStringUtf8();
|
|
|
|
nickname_ = s;
|
|
|
|
return s;
|
|
|
|
} else {
|
|
|
|
return (java.lang.String) ref;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* <code>string nickname = 13;</code>
|
|
|
|
* @return The bytes for nickname.
|
|
|
|
*/
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
getNicknameBytes() {
|
|
|
|
java.lang.Object ref = nickname_;
|
|
|
|
if (ref instanceof String) {
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
(java.lang.String) ref);
|
|
|
|
nickname_ = b;
|
|
|
|
return b;
|
|
|
|
} else {
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* <code>string nickname = 13;</code>
|
|
|
|
* @param value The nickname to set.
|
|
|
|
* @return This builder for chaining.
|
|
|
|
*/
|
|
|
|
public Builder setNickname(
|
|
|
|
java.lang.String value) {
|
|
|
|
if (value == null) {
|
|
|
|
throw new NullPointerException();
|
|
|
|
}
|
|
|
|
|
|
|
|
nickname_ = value;
|
|
|
|
onChanged();
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* <code>string nickname = 13;</code>
|
|
|
|
* @return This builder for chaining.
|
|
|
|
*/
|
|
|
|
public Builder clearNickname() {
|
|
|
|
|
|
|
|
nickname_ = getDefaultInstance().getNickname();
|
|
|
|
onChanged();
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* <code>string nickname = 13;</code>
|
|
|
|
* @param value The bytes for nickname to set.
|
|
|
|
* @return This builder for chaining.
|
|
|
|
*/
|
|
|
|
public Builder setNicknameBytes(
|
|
|
|
com.google.protobuf.ByteString value) {
|
|
|
|
if (value == null) {
|
|
|
|
throw new NullPointerException();
|
|
|
|
}
|
|
|
|
checkByteStringIsUtf8(value);
|
|
|
|
|
|
|
|
nickname_ = value;
|
2023-05-31 20:48:16 -07:00
|
|
|
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:ActivityRecvGiftData)
|
|
|
|
}
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_scope:ActivityRecvGiftData)
|
|
|
|
private static final emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData DEFAULT_INSTANCE;
|
|
|
|
static {
|
|
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData();
|
|
|
|
}
|
|
|
|
|
|
|
|
public static emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData getDefaultInstance() {
|
|
|
|
return DEFAULT_INSTANCE;
|
|
|
|
}
|
|
|
|
|
|
|
|
private static final com.google.protobuf.Parser<ActivityRecvGiftData>
|
|
|
|
PARSER = new com.google.protobuf.AbstractParser<ActivityRecvGiftData>() {
|
|
|
|
@java.lang.Override
|
|
|
|
public ActivityRecvGiftData parsePartialFrom(
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
return new ActivityRecvGiftData(input, extensionRegistry);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
public static com.google.protobuf.Parser<ActivityRecvGiftData> parser() {
|
|
|
|
return PARSER;
|
|
|
|
}
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
public com.google.protobuf.Parser<ActivityRecvGiftData> getParserForType() {
|
|
|
|
return PARSER;
|
|
|
|
}
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.ActivityRecvGiftDataOuterClass.ActivityRecvGiftData getDefaultInstanceForType() {
|
|
|
|
return DEFAULT_INSTANCE;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
internal_static_ActivityRecvGiftData_descriptor;
|
|
|
|
private static final
|
|
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
|
|
internal_static_ActivityRecvGiftData_fieldAccessorTable;
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
internal_static_ActivityRecvGiftData_GiftNumMapEntry_descriptor;
|
|
|
|
private static final
|
|
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
|
|
internal_static_ActivityRecvGiftData_GiftNumMapEntry_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\032ActivityRecvGiftData.proto\032\024ProfilePic" +
|
2023-08-14 18:57:07 -04:00
|
|
|
"ture.proto\"\344\001\n\024ActivityRecvGiftData\022;\n\014g" +
|
|
|
|
"ift_num_map\030\013 \003(\0132%.ActivityRecvGiftData" +
|
|
|
|
".GiftNumMapEntry\022\013\n\003uid\030\016 \001(\r\022(\n\017profile" +
|
|
|
|
"_picture\030\t \001(\0132\017.ProfilePicture\022\023\n\013remar" +
|
|
|
|
"k_name\030\014 \001(\t\022\020\n\010nickname\030\r \001(\t\0321\n\017GiftNu" +
|
2023-05-31 20:48:16 -07:00
|
|
|
"mMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028" +
|
|
|
|
"\001B\033\n\031emu.grasscutter.net.protob\006proto3"
|
|
|
|
};
|
|
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
|
|
emu.grasscutter.net.proto.ProfilePictureOuterClass.getDescriptor(),
|
|
|
|
});
|
|
|
|
internal_static_ActivityRecvGiftData_descriptor =
|
|
|
|
getDescriptor().getMessageTypes().get(0);
|
|
|
|
internal_static_ActivityRecvGiftData_fieldAccessorTable = new
|
|
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
|
|
internal_static_ActivityRecvGiftData_descriptor,
|
2023-08-14 18:57:07 -04:00
|
|
|
new java.lang.String[] { "GiftNumMap", "Uid", "ProfilePicture", "RemarkName", "Nickname", });
|
2023-05-31 20:48:16 -07:00
|
|
|
internal_static_ActivityRecvGiftData_GiftNumMapEntry_descriptor =
|
|
|
|
internal_static_ActivityRecvGiftData_descriptor.getNestedTypes().get(0);
|
|
|
|
internal_static_ActivityRecvGiftData_GiftNumMapEntry_fieldAccessorTable = new
|
|
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
|
|
internal_static_ActivityRecvGiftData_GiftNumMapEntry_descriptor,
|
|
|
|
new java.lang.String[] { "Key", "Value", });
|
|
|
|
emu.grasscutter.net.proto.ProfilePictureOuterClass.getDescriptor();
|
|
|
|
}
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
|
|
}
|