mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-12 06:56:02 +08:00
* Remove hardcoded quest data * Remove deprecated fields * Try to fix packet * Apply fix for token exchange * Upgrade to REL3.7 * Add obfuscated protocol definitions * Add missing enum (other protos too maybe) * Re-add field setters and add note on removal
3622 lines
122 KiB
Java
3622 lines
122 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: SocialDetail.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class SocialDetailOuterClass {
|
|
private SocialDetailOuterClass() {}
|
|
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 SocialDetailOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:SocialDetail)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>uint32 uid = 1;</code>
|
|
* @return The uid.
|
|
*/
|
|
int getUid();
|
|
|
|
/**
|
|
* <code>string nickname = 2;</code>
|
|
* @return The nickname.
|
|
*/
|
|
java.lang.String getNickname();
|
|
/**
|
|
* <code>string nickname = 2;</code>
|
|
* @return The bytes for nickname.
|
|
*/
|
|
com.google.protobuf.ByteString
|
|
getNicknameBytes();
|
|
|
|
/**
|
|
* <code>uint32 level = 3;</code>
|
|
* @return The level.
|
|
*/
|
|
int getLevel();
|
|
|
|
/**
|
|
* <code>uint32 avatar_id = 4;</code>
|
|
* @return The avatarId.
|
|
*/
|
|
int getAvatarId();
|
|
|
|
/**
|
|
* <code>string signature = 5;</code>
|
|
* @return The signature.
|
|
*/
|
|
java.lang.String getSignature();
|
|
/**
|
|
* <code>string signature = 5;</code>
|
|
* @return The bytes for signature.
|
|
*/
|
|
com.google.protobuf.ByteString
|
|
getSignatureBytes();
|
|
|
|
/**
|
|
* <code>.Birthday birthday = 6;</code>
|
|
* @return Whether the birthday field is set.
|
|
*/
|
|
boolean hasBirthday();
|
|
/**
|
|
* <code>.Birthday birthday = 6;</code>
|
|
* @return The birthday.
|
|
*/
|
|
emu.grasscutter.net.proto.BirthdayOuterClass.Birthday getBirthday();
|
|
/**
|
|
* <code>.Birthday birthday = 6;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.BirthdayOuterClass.BirthdayOrBuilder getBirthdayOrBuilder();
|
|
|
|
/**
|
|
* <code>uint32 world_level = 7;</code>
|
|
* @return The worldLevel.
|
|
*/
|
|
int getWorldLevel();
|
|
|
|
/**
|
|
* <code>repeated uint32 reserved_list = 8;</code>
|
|
* @return A list containing the reservedList.
|
|
*/
|
|
java.util.List<java.lang.Integer> getReservedListList();
|
|
/**
|
|
* <code>repeated uint32 reserved_list = 8;</code>
|
|
* @return The count of reservedList.
|
|
*/
|
|
int getReservedListCount();
|
|
/**
|
|
* <code>repeated uint32 reserved_list = 8;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The reservedList at the given index.
|
|
*/
|
|
int getReservedList(int index);
|
|
|
|
/**
|
|
* <code>.FriendOnlineState online_state = 9;</code>
|
|
* @return The enum numeric value on the wire for onlineState.
|
|
*/
|
|
int getOnlineStateValue();
|
|
/**
|
|
* <code>.FriendOnlineState online_state = 9;</code>
|
|
* @return The onlineState.
|
|
*/
|
|
emu.grasscutter.net.proto.FriendOnlineStateOuterClass.FriendOnlineState getOnlineState();
|
|
|
|
/**
|
|
* <code>uint32 param = 10;</code>
|
|
* @return The param.
|
|
*/
|
|
int getParam();
|
|
|
|
/**
|
|
* <code>bool is_friend = 11;</code>
|
|
* @return The isFriend.
|
|
*/
|
|
boolean getIsFriend();
|
|
|
|
/**
|
|
* <code>bool is_mp_mode_available = 12;</code>
|
|
* @return The isMpModeAvailable.
|
|
*/
|
|
boolean getIsMpModeAvailable();
|
|
|
|
/**
|
|
* <code>string online_id = 13;</code>
|
|
* @return The onlineId.
|
|
*/
|
|
java.lang.String getOnlineId();
|
|
/**
|
|
* <code>string online_id = 13;</code>
|
|
* @return The bytes for onlineId.
|
|
*/
|
|
com.google.protobuf.ByteString
|
|
getOnlineIdBytes();
|
|
|
|
/**
|
|
* <code>uint32 name_card_id = 14;</code>
|
|
* @return The nameCardId.
|
|
*/
|
|
int getNameCardId();
|
|
|
|
/**
|
|
* <code>bool is_in_blacklist = 15;</code>
|
|
* @return The isInBlacklist.
|
|
*/
|
|
boolean getIsInBlacklist();
|
|
|
|
/**
|
|
* <code>bool is_chat_no_disturb = 16;</code>
|
|
* @return The isChatNoDisturb.
|
|
*/
|
|
boolean getIsChatNoDisturb();
|
|
|
|
/**
|
|
* <code>string remark_name = 17;</code>
|
|
* @return The remarkName.
|
|
*/
|
|
java.lang.String getRemarkName();
|
|
/**
|
|
* <code>string remark_name = 17;</code>
|
|
* @return The bytes for remarkName.
|
|
*/
|
|
com.google.protobuf.ByteString
|
|
getRemarkNameBytes();
|
|
|
|
/**
|
|
* <code>uint32 finish_achievement_num = 18;</code>
|
|
* @return The finishAchievementNum.
|
|
*/
|
|
int getFinishAchievementNum();
|
|
|
|
/**
|
|
* <code>uint32 tower_floor_index = 19;</code>
|
|
* @return The towerFloorIndex.
|
|
*/
|
|
int getTowerFloorIndex();
|
|
|
|
/**
|
|
* <code>uint32 tower_level_index = 20;</code>
|
|
* @return The towerLevelIndex.
|
|
*/
|
|
int getTowerLevelIndex();
|
|
|
|
/**
|
|
* <code>bool is_show_avatar = 21;</code>
|
|
* @return The isShowAvatar.
|
|
*/
|
|
boolean getIsShowAvatar();
|
|
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
java.util.List<emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo>
|
|
getShowAvatarInfoListList();
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo getShowAvatarInfoList(int index);
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
int getShowAvatarInfoListCount();
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
java.util.List<? extends emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfoOrBuilder>
|
|
getShowAvatarInfoListOrBuilderList();
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfoOrBuilder getShowAvatarInfoListOrBuilder(
|
|
int index);
|
|
|
|
/**
|
|
* <code>repeated uint32 show_name_card_id_list = 23;</code>
|
|
* @return A list containing the showNameCardIdList.
|
|
*/
|
|
java.util.List<java.lang.Integer> getShowNameCardIdListList();
|
|
/**
|
|
* <code>repeated uint32 show_name_card_id_list = 23;</code>
|
|
* @return The count of showNameCardIdList.
|
|
*/
|
|
int getShowNameCardIdListCount();
|
|
/**
|
|
* <code>repeated uint32 show_name_card_id_list = 23;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The showNameCardIdList at the given index.
|
|
*/
|
|
int getShowNameCardIdList(int index);
|
|
|
|
/**
|
|
* <code>.FriendEnterHomeOption friend_enter_home_option = 24;</code>
|
|
* @return The enum numeric value on the wire for friendEnterHomeOption.
|
|
*/
|
|
int getFriendEnterHomeOptionValue();
|
|
/**
|
|
* <code>.FriendEnterHomeOption friend_enter_home_option = 24;</code>
|
|
* @return The friendEnterHomeOption.
|
|
*/
|
|
emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption getFriendEnterHomeOption();
|
|
|
|
/**
|
|
* <code>.ProfilePicture profile_picture = 25;</code>
|
|
* @return Whether the profilePicture field is set.
|
|
*/
|
|
boolean hasProfilePicture();
|
|
/**
|
|
* <code>.ProfilePicture profile_picture = 25;</code>
|
|
* @return The profilePicture.
|
|
*/
|
|
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getProfilePicture();
|
|
/**
|
|
* <code>.ProfilePicture profile_picture = 25;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder getProfilePictureOrBuilder();
|
|
|
|
/**
|
|
* <code>string ip_code = 26;</code>
|
|
* @return The ipCode.
|
|
*/
|
|
java.lang.String getIpCode();
|
|
/**
|
|
* <code>string ip_code = 26;</code>
|
|
* @return The bytes for ipCode.
|
|
*/
|
|
com.google.protobuf.ByteString
|
|
getIpCodeBytes();
|
|
}
|
|
/**
|
|
* <pre>
|
|
* Obf: JEKKBLBDEFP
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code SocialDetail}
|
|
*/
|
|
public static final class SocialDetail extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:SocialDetail)
|
|
SocialDetailOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use SocialDetail.newBuilder() to construct.
|
|
private SocialDetail(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private SocialDetail() {
|
|
nickname_ = "";
|
|
signature_ = "";
|
|
reservedList_ = emptyIntList();
|
|
onlineState_ = 0;
|
|
onlineId_ = "";
|
|
remarkName_ = "";
|
|
showAvatarInfoList_ = java.util.Collections.emptyList();
|
|
showNameCardIdList_ = emptyIntList();
|
|
friendEnterHomeOption_ = 0;
|
|
ipCode_ = "";
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(
|
|
UnusedPrivateParameter unused) {
|
|
return new SocialDetail();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private SocialDetail(
|
|
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 8: {
|
|
|
|
uid_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
java.lang.String s = input.readStringRequireUtf8();
|
|
|
|
nickname_ = s;
|
|
break;
|
|
}
|
|
case 24: {
|
|
|
|
level_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
|
|
avatarId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
java.lang.String s = input.readStringRequireUtf8();
|
|
|
|
signature_ = s;
|
|
break;
|
|
}
|
|
case 50: {
|
|
emu.grasscutter.net.proto.BirthdayOuterClass.Birthday.Builder subBuilder = null;
|
|
if (birthday_ != null) {
|
|
subBuilder = birthday_.toBuilder();
|
|
}
|
|
birthday_ = input.readMessage(emu.grasscutter.net.proto.BirthdayOuterClass.Birthday.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(birthday_);
|
|
birthday_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 56: {
|
|
|
|
worldLevel_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
reservedList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
reservedList_.addInt(input.readUInt32());
|
|
break;
|
|
}
|
|
case 66: {
|
|
int length = input.readRawVarint32();
|
|
int limit = input.pushLimit(length);
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
|
reservedList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
while (input.getBytesUntilLimit() > 0) {
|
|
reservedList_.addInt(input.readUInt32());
|
|
}
|
|
input.popLimit(limit);
|
|
break;
|
|
}
|
|
case 72: {
|
|
int rawValue = input.readEnum();
|
|
|
|
onlineState_ = rawValue;
|
|
break;
|
|
}
|
|
case 80: {
|
|
|
|
param_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
|
|
isFriend_ = input.readBool();
|
|
break;
|
|
}
|
|
case 96: {
|
|
|
|
isMpModeAvailable_ = input.readBool();
|
|
break;
|
|
}
|
|
case 106: {
|
|
java.lang.String s = input.readStringRequireUtf8();
|
|
|
|
onlineId_ = s;
|
|
break;
|
|
}
|
|
case 112: {
|
|
|
|
nameCardId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
|
|
isInBlacklist_ = input.readBool();
|
|
break;
|
|
}
|
|
case 128: {
|
|
|
|
isChatNoDisturb_ = input.readBool();
|
|
break;
|
|
}
|
|
case 138: {
|
|
java.lang.String s = input.readStringRequireUtf8();
|
|
|
|
remarkName_ = s;
|
|
break;
|
|
}
|
|
case 144: {
|
|
|
|
finishAchievementNum_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 152: {
|
|
|
|
towerFloorIndex_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 160: {
|
|
|
|
towerLevelIndex_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 168: {
|
|
|
|
isShowAvatar_ = input.readBool();
|
|
break;
|
|
}
|
|
case 178: {
|
|
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
|
showAvatarInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo>();
|
|
mutable_bitField0_ |= 0x00000002;
|
|
}
|
|
showAvatarInfoList_.add(
|
|
input.readMessage(emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo.parser(), extensionRegistry));
|
|
break;
|
|
}
|
|
case 184: {
|
|
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
|
|
showNameCardIdList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000004;
|
|
}
|
|
showNameCardIdList_.addInt(input.readUInt32());
|
|
break;
|
|
}
|
|
case 186: {
|
|
int length = input.readRawVarint32();
|
|
int limit = input.pushLimit(length);
|
|
if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
|
|
showNameCardIdList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000004;
|
|
}
|
|
while (input.getBytesUntilLimit() > 0) {
|
|
showNameCardIdList_.addInt(input.readUInt32());
|
|
}
|
|
input.popLimit(limit);
|
|
break;
|
|
}
|
|
case 192: {
|
|
int rawValue = input.readEnum();
|
|
|
|
friendEnterHomeOption_ = rawValue;
|
|
break;
|
|
}
|
|
case 202: {
|
|
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 210: {
|
|
java.lang.String s = input.readStringRequireUtf8();
|
|
|
|
ipCode_ = s;
|
|
break;
|
|
}
|
|
default: {
|
|
if (!parseUnknownField(
|
|
input, unknownFields, extensionRegistry, tag)) {
|
|
done = true;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
throw e.setUnfinishedMessage(this);
|
|
} catch (java.io.IOException e) {
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
e).setUnfinishedMessage(this);
|
|
} finally {
|
|
if (((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
reservedList_.makeImmutable(); // C
|
|
}
|
|
if (((mutable_bitField0_ & 0x00000002) != 0)) {
|
|
showAvatarInfoList_ = java.util.Collections.unmodifiableList(showAvatarInfoList_);
|
|
}
|
|
if (((mutable_bitField0_ & 0x00000004) != 0)) {
|
|
showNameCardIdList_.makeImmutable(); // C
|
|
}
|
|
this.unknownFields = unknownFields.build();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.SocialDetailOuterClass.internal_static_SocialDetail_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.SocialDetailOuterClass.internal_static_SocialDetail_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.class, emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.Builder.class);
|
|
}
|
|
|
|
public static final int UID_FIELD_NUMBER = 1;
|
|
private int uid_;
|
|
/**
|
|
* <code>uint32 uid = 1;</code>
|
|
* @return The uid.
|
|
*/
|
|
@java.lang.Override
|
|
public int getUid() {
|
|
return uid_;
|
|
}
|
|
|
|
public static final int NICKNAME_FIELD_NUMBER = 2;
|
|
private volatile java.lang.Object nickname_;
|
|
/**
|
|
* <code>string nickname = 2;</code>
|
|
* @return The nickname.
|
|
*/
|
|
@java.lang.Override
|
|
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;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string nickname = 2;</code>
|
|
* @return The bytes for nickname.
|
|
*/
|
|
@java.lang.Override
|
|
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;
|
|
}
|
|
}
|
|
|
|
public static final int LEVEL_FIELD_NUMBER = 3;
|
|
private int level_;
|
|
/**
|
|
* <code>uint32 level = 3;</code>
|
|
* @return The level.
|
|
*/
|
|
@java.lang.Override
|
|
public int getLevel() {
|
|
return level_;
|
|
}
|
|
|
|
public static final int AVATAR_ID_FIELD_NUMBER = 4;
|
|
private int avatarId_;
|
|
/**
|
|
* <code>uint32 avatar_id = 4;</code>
|
|
* @return The avatarId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getAvatarId() {
|
|
return avatarId_;
|
|
}
|
|
|
|
public static final int SIGNATURE_FIELD_NUMBER = 5;
|
|
private volatile java.lang.Object signature_;
|
|
/**
|
|
* <code>string signature = 5;</code>
|
|
* @return The signature.
|
|
*/
|
|
@java.lang.Override
|
|
public java.lang.String getSignature() {
|
|
java.lang.Object ref = signature_;
|
|
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();
|
|
signature_ = s;
|
|
return s;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string signature = 5;</code>
|
|
* @return The bytes for signature.
|
|
*/
|
|
@java.lang.Override
|
|
public com.google.protobuf.ByteString
|
|
getSignatureBytes() {
|
|
java.lang.Object ref = signature_;
|
|
if (ref instanceof java.lang.String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
signature_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
|
|
public static final int BIRTHDAY_FIELD_NUMBER = 6;
|
|
private emu.grasscutter.net.proto.BirthdayOuterClass.Birthday birthday_;
|
|
/**
|
|
* <code>.Birthday birthday = 6;</code>
|
|
* @return Whether the birthday field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasBirthday() {
|
|
return birthday_ != null;
|
|
}
|
|
/**
|
|
* <code>.Birthday birthday = 6;</code>
|
|
* @return The birthday.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BirthdayOuterClass.Birthday getBirthday() {
|
|
return birthday_ == null ? emu.grasscutter.net.proto.BirthdayOuterClass.Birthday.getDefaultInstance() : birthday_;
|
|
}
|
|
/**
|
|
* <code>.Birthday birthday = 6;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BirthdayOuterClass.BirthdayOrBuilder getBirthdayOrBuilder() {
|
|
return getBirthday();
|
|
}
|
|
|
|
public static final int WORLD_LEVEL_FIELD_NUMBER = 7;
|
|
private int worldLevel_;
|
|
/**
|
|
* <code>uint32 world_level = 7;</code>
|
|
* @return The worldLevel.
|
|
*/
|
|
@java.lang.Override
|
|
public int getWorldLevel() {
|
|
return worldLevel_;
|
|
}
|
|
|
|
public static final int RESERVED_LIST_FIELD_NUMBER = 8;
|
|
private com.google.protobuf.Internal.IntList reservedList_;
|
|
/**
|
|
* <code>repeated uint32 reserved_list = 8;</code>
|
|
* @return A list containing the reservedList.
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<java.lang.Integer>
|
|
getReservedListList() {
|
|
return reservedList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 reserved_list = 8;</code>
|
|
* @return The count of reservedList.
|
|
*/
|
|
public int getReservedListCount() {
|
|
return reservedList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 reserved_list = 8;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The reservedList at the given index.
|
|
*/
|
|
public int getReservedList(int index) {
|
|
return reservedList_.getInt(index);
|
|
}
|
|
private int reservedListMemoizedSerializedSize = -1;
|
|
|
|
public static final int ONLINE_STATE_FIELD_NUMBER = 9;
|
|
private int onlineState_;
|
|
/**
|
|
* <code>.FriendOnlineState online_state = 9;</code>
|
|
* @return The enum numeric value on the wire for onlineState.
|
|
*/
|
|
@java.lang.Override public int getOnlineStateValue() {
|
|
return onlineState_;
|
|
}
|
|
/**
|
|
* <code>.FriendOnlineState online_state = 9;</code>
|
|
* @return The onlineState.
|
|
*/
|
|
@java.lang.Override public emu.grasscutter.net.proto.FriendOnlineStateOuterClass.FriendOnlineState getOnlineState() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.FriendOnlineStateOuterClass.FriendOnlineState result = emu.grasscutter.net.proto.FriendOnlineStateOuterClass.FriendOnlineState.valueOf(onlineState_);
|
|
return result == null ? emu.grasscutter.net.proto.FriendOnlineStateOuterClass.FriendOnlineState.UNRECOGNIZED : result;
|
|
}
|
|
|
|
public static final int PARAM_FIELD_NUMBER = 10;
|
|
private int param_;
|
|
/**
|
|
* <code>uint32 param = 10;</code>
|
|
* @return The param.
|
|
*/
|
|
@java.lang.Override
|
|
public int getParam() {
|
|
return param_;
|
|
}
|
|
|
|
public static final int IS_FRIEND_FIELD_NUMBER = 11;
|
|
private boolean isFriend_;
|
|
/**
|
|
* <code>bool is_friend = 11;</code>
|
|
* @return The isFriend.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsFriend() {
|
|
return isFriend_;
|
|
}
|
|
|
|
public static final int IS_MP_MODE_AVAILABLE_FIELD_NUMBER = 12;
|
|
private boolean isMpModeAvailable_;
|
|
/**
|
|
* <code>bool is_mp_mode_available = 12;</code>
|
|
* @return The isMpModeAvailable.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsMpModeAvailable() {
|
|
return isMpModeAvailable_;
|
|
}
|
|
|
|
public static final int ONLINE_ID_FIELD_NUMBER = 13;
|
|
private volatile java.lang.Object onlineId_;
|
|
/**
|
|
* <code>string online_id = 13;</code>
|
|
* @return The onlineId.
|
|
*/
|
|
@java.lang.Override
|
|
public java.lang.String getOnlineId() {
|
|
java.lang.Object ref = onlineId_;
|
|
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();
|
|
onlineId_ = s;
|
|
return s;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string online_id = 13;</code>
|
|
* @return The bytes for onlineId.
|
|
*/
|
|
@java.lang.Override
|
|
public com.google.protobuf.ByteString
|
|
getOnlineIdBytes() {
|
|
java.lang.Object ref = onlineId_;
|
|
if (ref instanceof java.lang.String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
onlineId_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
|
|
public static final int NAME_CARD_ID_FIELD_NUMBER = 14;
|
|
private int nameCardId_;
|
|
/**
|
|
* <code>uint32 name_card_id = 14;</code>
|
|
* @return The nameCardId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getNameCardId() {
|
|
return nameCardId_;
|
|
}
|
|
|
|
public static final int IS_IN_BLACKLIST_FIELD_NUMBER = 15;
|
|
private boolean isInBlacklist_;
|
|
/**
|
|
* <code>bool is_in_blacklist = 15;</code>
|
|
* @return The isInBlacklist.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsInBlacklist() {
|
|
return isInBlacklist_;
|
|
}
|
|
|
|
public static final int IS_CHAT_NO_DISTURB_FIELD_NUMBER = 16;
|
|
private boolean isChatNoDisturb_;
|
|
/**
|
|
* <code>bool is_chat_no_disturb = 16;</code>
|
|
* @return The isChatNoDisturb.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsChatNoDisturb() {
|
|
return isChatNoDisturb_;
|
|
}
|
|
|
|
public static final int REMARK_NAME_FIELD_NUMBER = 17;
|
|
private volatile java.lang.Object remarkName_;
|
|
/**
|
|
* <code>string remark_name = 17;</code>
|
|
* @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;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string remark_name = 17;</code>
|
|
* @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;
|
|
}
|
|
}
|
|
|
|
public static final int FINISH_ACHIEVEMENT_NUM_FIELD_NUMBER = 18;
|
|
private int finishAchievementNum_;
|
|
/**
|
|
* <code>uint32 finish_achievement_num = 18;</code>
|
|
* @return The finishAchievementNum.
|
|
*/
|
|
@java.lang.Override
|
|
public int getFinishAchievementNum() {
|
|
return finishAchievementNum_;
|
|
}
|
|
|
|
public static final int TOWER_FLOOR_INDEX_FIELD_NUMBER = 19;
|
|
private int towerFloorIndex_;
|
|
/**
|
|
* <code>uint32 tower_floor_index = 19;</code>
|
|
* @return The towerFloorIndex.
|
|
*/
|
|
@java.lang.Override
|
|
public int getTowerFloorIndex() {
|
|
return towerFloorIndex_;
|
|
}
|
|
|
|
public static final int TOWER_LEVEL_INDEX_FIELD_NUMBER = 20;
|
|
private int towerLevelIndex_;
|
|
/**
|
|
* <code>uint32 tower_level_index = 20;</code>
|
|
* @return The towerLevelIndex.
|
|
*/
|
|
@java.lang.Override
|
|
public int getTowerLevelIndex() {
|
|
return towerLevelIndex_;
|
|
}
|
|
|
|
public static final int IS_SHOW_AVATAR_FIELD_NUMBER = 21;
|
|
private boolean isShowAvatar_;
|
|
/**
|
|
* <code>bool is_show_avatar = 21;</code>
|
|
* @return The isShowAvatar.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsShowAvatar() {
|
|
return isShowAvatar_;
|
|
}
|
|
|
|
public static final int SHOW_AVATAR_INFO_LIST_FIELD_NUMBER = 22;
|
|
private java.util.List<emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo> showAvatarInfoList_;
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo> getShowAvatarInfoListList() {
|
|
return showAvatarInfoList_;
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<? extends emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfoOrBuilder>
|
|
getShowAvatarInfoListOrBuilderList() {
|
|
return showAvatarInfoList_;
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public int getShowAvatarInfoListCount() {
|
|
return showAvatarInfoList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo getShowAvatarInfoList(int index) {
|
|
return showAvatarInfoList_.get(index);
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfoOrBuilder getShowAvatarInfoListOrBuilder(
|
|
int index) {
|
|
return showAvatarInfoList_.get(index);
|
|
}
|
|
|
|
public static final int SHOW_NAME_CARD_ID_LIST_FIELD_NUMBER = 23;
|
|
private com.google.protobuf.Internal.IntList showNameCardIdList_;
|
|
/**
|
|
* <code>repeated uint32 show_name_card_id_list = 23;</code>
|
|
* @return A list containing the showNameCardIdList.
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<java.lang.Integer>
|
|
getShowNameCardIdListList() {
|
|
return showNameCardIdList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 show_name_card_id_list = 23;</code>
|
|
* @return The count of showNameCardIdList.
|
|
*/
|
|
public int getShowNameCardIdListCount() {
|
|
return showNameCardIdList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 show_name_card_id_list = 23;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The showNameCardIdList at the given index.
|
|
*/
|
|
public int getShowNameCardIdList(int index) {
|
|
return showNameCardIdList_.getInt(index);
|
|
}
|
|
private int showNameCardIdListMemoizedSerializedSize = -1;
|
|
|
|
public static final int FRIEND_ENTER_HOME_OPTION_FIELD_NUMBER = 24;
|
|
private int friendEnterHomeOption_;
|
|
/**
|
|
* <code>.FriendEnterHomeOption friend_enter_home_option = 24;</code>
|
|
* @return The enum numeric value on the wire for friendEnterHomeOption.
|
|
*/
|
|
@java.lang.Override public int getFriendEnterHomeOptionValue() {
|
|
return friendEnterHomeOption_;
|
|
}
|
|
/**
|
|
* <code>.FriendEnterHomeOption friend_enter_home_option = 24;</code>
|
|
* @return The friendEnterHomeOption.
|
|
*/
|
|
@java.lang.Override public emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption getFriendEnterHomeOption() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption result = emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.valueOf(friendEnterHomeOption_);
|
|
return result == null ? emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.UNRECOGNIZED : result;
|
|
}
|
|
|
|
public static final int PROFILE_PICTURE_FIELD_NUMBER = 25;
|
|
private emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture profilePicture_;
|
|
/**
|
|
* <code>.ProfilePicture profile_picture = 25;</code>
|
|
* @return Whether the profilePicture field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasProfilePicture() {
|
|
return profilePicture_ != null;
|
|
}
|
|
/**
|
|
* <code>.ProfilePicture profile_picture = 25;</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 = 25;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder getProfilePictureOrBuilder() {
|
|
return getProfilePicture();
|
|
}
|
|
|
|
public static final int IP_CODE_FIELD_NUMBER = 26;
|
|
private volatile java.lang.Object ipCode_;
|
|
/**
|
|
* <code>string ip_code = 26;</code>
|
|
* @return The ipCode.
|
|
*/
|
|
@java.lang.Override
|
|
public java.lang.String getIpCode() {
|
|
java.lang.Object ref = ipCode_;
|
|
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();
|
|
ipCode_ = s;
|
|
return s;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string ip_code = 26;</code>
|
|
* @return The bytes for ipCode.
|
|
*/
|
|
@java.lang.Override
|
|
public com.google.protobuf.ByteString
|
|
getIpCodeBytes() {
|
|
java.lang.Object ref = ipCode_;
|
|
if (ref instanceof java.lang.String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
ipCode_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
|
|
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 (uid_ != 0) {
|
|
output.writeUInt32(1, uid_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) {
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nickname_);
|
|
}
|
|
if (level_ != 0) {
|
|
output.writeUInt32(3, level_);
|
|
}
|
|
if (avatarId_ != 0) {
|
|
output.writeUInt32(4, avatarId_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signature_)) {
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, signature_);
|
|
}
|
|
if (birthday_ != null) {
|
|
output.writeMessage(6, getBirthday());
|
|
}
|
|
if (worldLevel_ != 0) {
|
|
output.writeUInt32(7, worldLevel_);
|
|
}
|
|
if (getReservedListList().size() > 0) {
|
|
output.writeUInt32NoTag(66);
|
|
output.writeUInt32NoTag(reservedListMemoizedSerializedSize);
|
|
}
|
|
for (int i = 0; i < reservedList_.size(); i++) {
|
|
output.writeUInt32NoTag(reservedList_.getInt(i));
|
|
}
|
|
if (onlineState_ != emu.grasscutter.net.proto.FriendOnlineStateOuterClass.FriendOnlineState.FRIEND_ONLINE_STATE_DISCONNECT.getNumber()) {
|
|
output.writeEnum(9, onlineState_);
|
|
}
|
|
if (param_ != 0) {
|
|
output.writeUInt32(10, param_);
|
|
}
|
|
if (isFriend_ != false) {
|
|
output.writeBool(11, isFriend_);
|
|
}
|
|
if (isMpModeAvailable_ != false) {
|
|
output.writeBool(12, isMpModeAvailable_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(onlineId_)) {
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, onlineId_);
|
|
}
|
|
if (nameCardId_ != 0) {
|
|
output.writeUInt32(14, nameCardId_);
|
|
}
|
|
if (isInBlacklist_ != false) {
|
|
output.writeBool(15, isInBlacklist_);
|
|
}
|
|
if (isChatNoDisturb_ != false) {
|
|
output.writeBool(16, isChatNoDisturb_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remarkName_)) {
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 17, remarkName_);
|
|
}
|
|
if (finishAchievementNum_ != 0) {
|
|
output.writeUInt32(18, finishAchievementNum_);
|
|
}
|
|
if (towerFloorIndex_ != 0) {
|
|
output.writeUInt32(19, towerFloorIndex_);
|
|
}
|
|
if (towerLevelIndex_ != 0) {
|
|
output.writeUInt32(20, towerLevelIndex_);
|
|
}
|
|
if (isShowAvatar_ != false) {
|
|
output.writeBool(21, isShowAvatar_);
|
|
}
|
|
for (int i = 0; i < showAvatarInfoList_.size(); i++) {
|
|
output.writeMessage(22, showAvatarInfoList_.get(i));
|
|
}
|
|
if (getShowNameCardIdListList().size() > 0) {
|
|
output.writeUInt32NoTag(186);
|
|
output.writeUInt32NoTag(showNameCardIdListMemoizedSerializedSize);
|
|
}
|
|
for (int i = 0; i < showNameCardIdList_.size(); i++) {
|
|
output.writeUInt32NoTag(showNameCardIdList_.getInt(i));
|
|
}
|
|
if (friendEnterHomeOption_ != emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM.getNumber()) {
|
|
output.writeEnum(24, friendEnterHomeOption_);
|
|
}
|
|
if (profilePicture_ != null) {
|
|
output.writeMessage(25, getProfilePicture());
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipCode_)) {
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 26, ipCode_);
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (uid_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(1, uid_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) {
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nickname_);
|
|
}
|
|
if (level_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(3, level_);
|
|
}
|
|
if (avatarId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(4, avatarId_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signature_)) {
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, signature_);
|
|
}
|
|
if (birthday_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(6, getBirthday());
|
|
}
|
|
if (worldLevel_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(7, worldLevel_);
|
|
}
|
|
{
|
|
int dataSize = 0;
|
|
for (int i = 0; i < reservedList_.size(); i++) {
|
|
dataSize += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32SizeNoTag(reservedList_.getInt(i));
|
|
}
|
|
size += dataSize;
|
|
if (!getReservedListList().isEmpty()) {
|
|
size += 1;
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32SizeNoTag(dataSize);
|
|
}
|
|
reservedListMemoizedSerializedSize = dataSize;
|
|
}
|
|
if (onlineState_ != emu.grasscutter.net.proto.FriendOnlineStateOuterClass.FriendOnlineState.FRIEND_ONLINE_STATE_DISCONNECT.getNumber()) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeEnumSize(9, onlineState_);
|
|
}
|
|
if (param_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(10, param_);
|
|
}
|
|
if (isFriend_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(11, isFriend_);
|
|
}
|
|
if (isMpModeAvailable_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(12, isMpModeAvailable_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(onlineId_)) {
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, onlineId_);
|
|
}
|
|
if (nameCardId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(14, nameCardId_);
|
|
}
|
|
if (isInBlacklist_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(15, isInBlacklist_);
|
|
}
|
|
if (isChatNoDisturb_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(16, isChatNoDisturb_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remarkName_)) {
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, remarkName_);
|
|
}
|
|
if (finishAchievementNum_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(18, finishAchievementNum_);
|
|
}
|
|
if (towerFloorIndex_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(19, towerFloorIndex_);
|
|
}
|
|
if (towerLevelIndex_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(20, towerLevelIndex_);
|
|
}
|
|
if (isShowAvatar_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(21, isShowAvatar_);
|
|
}
|
|
for (int i = 0; i < showAvatarInfoList_.size(); i++) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(22, showAvatarInfoList_.get(i));
|
|
}
|
|
{
|
|
int dataSize = 0;
|
|
for (int i = 0; i < showNameCardIdList_.size(); i++) {
|
|
dataSize += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32SizeNoTag(showNameCardIdList_.getInt(i));
|
|
}
|
|
size += dataSize;
|
|
if (!getShowNameCardIdListList().isEmpty()) {
|
|
size += 2;
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32SizeNoTag(dataSize);
|
|
}
|
|
showNameCardIdListMemoizedSerializedSize = dataSize;
|
|
}
|
|
if (friendEnterHomeOption_ != emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM.getNumber()) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeEnumSize(24, friendEnterHomeOption_);
|
|
}
|
|
if (profilePicture_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(25, getProfilePicture());
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipCode_)) {
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, ipCode_);
|
|
}
|
|
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.SocialDetailOuterClass.SocialDetail)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail other = (emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail) obj;
|
|
|
|
if (getUid()
|
|
!= other.getUid()) return false;
|
|
if (!getNickname()
|
|
.equals(other.getNickname())) return false;
|
|
if (getLevel()
|
|
!= other.getLevel()) return false;
|
|
if (getAvatarId()
|
|
!= other.getAvatarId()) return false;
|
|
if (!getSignature()
|
|
.equals(other.getSignature())) return false;
|
|
if (hasBirthday() != other.hasBirthday()) return false;
|
|
if (hasBirthday()) {
|
|
if (!getBirthday()
|
|
.equals(other.getBirthday())) return false;
|
|
}
|
|
if (getWorldLevel()
|
|
!= other.getWorldLevel()) return false;
|
|
if (!getReservedListList()
|
|
.equals(other.getReservedListList())) return false;
|
|
if (onlineState_ != other.onlineState_) return false;
|
|
if (getParam()
|
|
!= other.getParam()) return false;
|
|
if (getIsFriend()
|
|
!= other.getIsFriend()) return false;
|
|
if (getIsMpModeAvailable()
|
|
!= other.getIsMpModeAvailable()) return false;
|
|
if (!getOnlineId()
|
|
.equals(other.getOnlineId())) return false;
|
|
if (getNameCardId()
|
|
!= other.getNameCardId()) return false;
|
|
if (getIsInBlacklist()
|
|
!= other.getIsInBlacklist()) return false;
|
|
if (getIsChatNoDisturb()
|
|
!= other.getIsChatNoDisturb()) return false;
|
|
if (!getRemarkName()
|
|
.equals(other.getRemarkName())) return false;
|
|
if (getFinishAchievementNum()
|
|
!= other.getFinishAchievementNum()) return false;
|
|
if (getTowerFloorIndex()
|
|
!= other.getTowerFloorIndex()) return false;
|
|
if (getTowerLevelIndex()
|
|
!= other.getTowerLevelIndex()) return false;
|
|
if (getIsShowAvatar()
|
|
!= other.getIsShowAvatar()) return false;
|
|
if (!getShowAvatarInfoListList()
|
|
.equals(other.getShowAvatarInfoListList())) return false;
|
|
if (!getShowNameCardIdListList()
|
|
.equals(other.getShowNameCardIdListList())) return false;
|
|
if (friendEnterHomeOption_ != other.friendEnterHomeOption_) return false;
|
|
if (hasProfilePicture() != other.hasProfilePicture()) return false;
|
|
if (hasProfilePicture()) {
|
|
if (!getProfilePicture()
|
|
.equals(other.getProfilePicture())) return false;
|
|
}
|
|
if (!getIpCode()
|
|
.equals(other.getIpCode())) 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();
|
|
hash = (37 * hash) + NICKNAME_FIELD_NUMBER;
|
|
hash = (53 * hash) + getNickname().hashCode();
|
|
hash = (37 * hash) + LEVEL_FIELD_NUMBER;
|
|
hash = (53 * hash) + getLevel();
|
|
hash = (37 * hash) + AVATAR_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getAvatarId();
|
|
hash = (37 * hash) + SIGNATURE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getSignature().hashCode();
|
|
if (hasBirthday()) {
|
|
hash = (37 * hash) + BIRTHDAY_FIELD_NUMBER;
|
|
hash = (53 * hash) + getBirthday().hashCode();
|
|
}
|
|
hash = (37 * hash) + WORLD_LEVEL_FIELD_NUMBER;
|
|
hash = (53 * hash) + getWorldLevel();
|
|
if (getReservedListCount() > 0) {
|
|
hash = (37 * hash) + RESERVED_LIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getReservedListList().hashCode();
|
|
}
|
|
hash = (37 * hash) + ONLINE_STATE_FIELD_NUMBER;
|
|
hash = (53 * hash) + onlineState_;
|
|
hash = (37 * hash) + PARAM_FIELD_NUMBER;
|
|
hash = (53 * hash) + getParam();
|
|
hash = (37 * hash) + IS_FRIEND_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getIsFriend());
|
|
hash = (37 * hash) + IS_MP_MODE_AVAILABLE_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getIsMpModeAvailable());
|
|
hash = (37 * hash) + ONLINE_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getOnlineId().hashCode();
|
|
hash = (37 * hash) + NAME_CARD_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getNameCardId();
|
|
hash = (37 * hash) + IS_IN_BLACKLIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getIsInBlacklist());
|
|
hash = (37 * hash) + IS_CHAT_NO_DISTURB_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getIsChatNoDisturb());
|
|
hash = (37 * hash) + REMARK_NAME_FIELD_NUMBER;
|
|
hash = (53 * hash) + getRemarkName().hashCode();
|
|
hash = (37 * hash) + FINISH_ACHIEVEMENT_NUM_FIELD_NUMBER;
|
|
hash = (53 * hash) + getFinishAchievementNum();
|
|
hash = (37 * hash) + TOWER_FLOOR_INDEX_FIELD_NUMBER;
|
|
hash = (53 * hash) + getTowerFloorIndex();
|
|
hash = (37 * hash) + TOWER_LEVEL_INDEX_FIELD_NUMBER;
|
|
hash = (53 * hash) + getTowerLevelIndex();
|
|
hash = (37 * hash) + IS_SHOW_AVATAR_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getIsShowAvatar());
|
|
if (getShowAvatarInfoListCount() > 0) {
|
|
hash = (37 * hash) + SHOW_AVATAR_INFO_LIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getShowAvatarInfoListList().hashCode();
|
|
}
|
|
if (getShowNameCardIdListCount() > 0) {
|
|
hash = (37 * hash) + SHOW_NAME_CARD_ID_LIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getShowNameCardIdListList().hashCode();
|
|
}
|
|
hash = (37 * hash) + FRIEND_ENTER_HOME_OPTION_FIELD_NUMBER;
|
|
hash = (53 * hash) + friendEnterHomeOption_;
|
|
if (hasProfilePicture()) {
|
|
hash = (37 * hash) + PROFILE_PICTURE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getProfilePicture().hashCode();
|
|
}
|
|
hash = (37 * hash) + IP_CODE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getIpCode().hashCode();
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail 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.SocialDetailOuterClass.SocialDetail parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail 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.SocialDetailOuterClass.SocialDetail parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail 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.SocialDetailOuterClass.SocialDetail parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail 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.SocialDetailOuterClass.SocialDetail parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail 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.SocialDetailOuterClass.SocialDetail 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>
|
|
* Obf: JEKKBLBDEFP
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code SocialDetail}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:SocialDetail)
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetailOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.SocialDetailOuterClass.internal_static_SocialDetail_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.SocialDetailOuterClass.internal_static_SocialDetail_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.class, emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.Builder.class);
|
|
}
|
|
|
|
// Construct using emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.newBuilder()
|
|
private Builder() {
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
|
|
private Builder(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
super(parent);
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
private void maybeForceBuilderInitialization() {
|
|
if (com.google.protobuf.GeneratedMessageV3
|
|
.alwaysUseFieldBuilders) {
|
|
getShowAvatarInfoListFieldBuilder();
|
|
}
|
|
}
|
|
@java.lang.Override
|
|
public Builder clear() {
|
|
super.clear();
|
|
uid_ = 0;
|
|
|
|
nickname_ = "";
|
|
|
|
level_ = 0;
|
|
|
|
avatarId_ = 0;
|
|
|
|
signature_ = "";
|
|
|
|
if (birthdayBuilder_ == null) {
|
|
birthday_ = null;
|
|
} else {
|
|
birthday_ = null;
|
|
birthdayBuilder_ = null;
|
|
}
|
|
worldLevel_ = 0;
|
|
|
|
reservedList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
onlineState_ = 0;
|
|
|
|
param_ = 0;
|
|
|
|
isFriend_ = false;
|
|
|
|
isMpModeAvailable_ = false;
|
|
|
|
onlineId_ = "";
|
|
|
|
nameCardId_ = 0;
|
|
|
|
isInBlacklist_ = false;
|
|
|
|
isChatNoDisturb_ = false;
|
|
|
|
remarkName_ = "";
|
|
|
|
finishAchievementNum_ = 0;
|
|
|
|
towerFloorIndex_ = 0;
|
|
|
|
towerLevelIndex_ = 0;
|
|
|
|
isShowAvatar_ = false;
|
|
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
showAvatarInfoList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
} else {
|
|
showAvatarInfoListBuilder_.clear();
|
|
}
|
|
showNameCardIdList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
friendEnterHomeOption_ = 0;
|
|
|
|
if (profilePictureBuilder_ == null) {
|
|
profilePicture_ = null;
|
|
} else {
|
|
profilePicture_ = null;
|
|
profilePictureBuilder_ = null;
|
|
}
|
|
ipCode_ = "";
|
|
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.SocialDetailOuterClass.internal_static_SocialDetail_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail build() {
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail buildPartial() {
|
|
emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail result = new emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail(this);
|
|
int from_bitField0_ = bitField0_;
|
|
result.uid_ = uid_;
|
|
result.nickname_ = nickname_;
|
|
result.level_ = level_;
|
|
result.avatarId_ = avatarId_;
|
|
result.signature_ = signature_;
|
|
if (birthdayBuilder_ == null) {
|
|
result.birthday_ = birthday_;
|
|
} else {
|
|
result.birthday_ = birthdayBuilder_.build();
|
|
}
|
|
result.worldLevel_ = worldLevel_;
|
|
if (((bitField0_ & 0x00000001) != 0)) {
|
|
reservedList_.makeImmutable();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
}
|
|
result.reservedList_ = reservedList_;
|
|
result.onlineState_ = onlineState_;
|
|
result.param_ = param_;
|
|
result.isFriend_ = isFriend_;
|
|
result.isMpModeAvailable_ = isMpModeAvailable_;
|
|
result.onlineId_ = onlineId_;
|
|
result.nameCardId_ = nameCardId_;
|
|
result.isInBlacklist_ = isInBlacklist_;
|
|
result.isChatNoDisturb_ = isChatNoDisturb_;
|
|
result.remarkName_ = remarkName_;
|
|
result.finishAchievementNum_ = finishAchievementNum_;
|
|
result.towerFloorIndex_ = towerFloorIndex_;
|
|
result.towerLevelIndex_ = towerLevelIndex_;
|
|
result.isShowAvatar_ = isShowAvatar_;
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
if (((bitField0_ & 0x00000002) != 0)) {
|
|
showAvatarInfoList_ = java.util.Collections.unmodifiableList(showAvatarInfoList_);
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
}
|
|
result.showAvatarInfoList_ = showAvatarInfoList_;
|
|
} else {
|
|
result.showAvatarInfoList_ = showAvatarInfoListBuilder_.build();
|
|
}
|
|
if (((bitField0_ & 0x00000004) != 0)) {
|
|
showNameCardIdList_.makeImmutable();
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
}
|
|
result.showNameCardIdList_ = showNameCardIdList_;
|
|
result.friendEnterHomeOption_ = friendEnterHomeOption_;
|
|
if (profilePictureBuilder_ == null) {
|
|
result.profilePicture_ = profilePicture_;
|
|
} else {
|
|
result.profilePicture_ = profilePictureBuilder_.build();
|
|
}
|
|
result.ipCode_ = ipCode_;
|
|
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.SocialDetailOuterClass.SocialDetail) {
|
|
return mergeFrom((emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail other) {
|
|
if (other == emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail.getDefaultInstance()) return this;
|
|
if (other.getUid() != 0) {
|
|
setUid(other.getUid());
|
|
}
|
|
if (!other.getNickname().isEmpty()) {
|
|
nickname_ = other.nickname_;
|
|
onChanged();
|
|
}
|
|
if (other.getLevel() != 0) {
|
|
setLevel(other.getLevel());
|
|
}
|
|
if (other.getAvatarId() != 0) {
|
|
setAvatarId(other.getAvatarId());
|
|
}
|
|
if (!other.getSignature().isEmpty()) {
|
|
signature_ = other.signature_;
|
|
onChanged();
|
|
}
|
|
if (other.hasBirthday()) {
|
|
mergeBirthday(other.getBirthday());
|
|
}
|
|
if (other.getWorldLevel() != 0) {
|
|
setWorldLevel(other.getWorldLevel());
|
|
}
|
|
if (!other.reservedList_.isEmpty()) {
|
|
if (reservedList_.isEmpty()) {
|
|
reservedList_ = other.reservedList_;
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
} else {
|
|
ensureReservedListIsMutable();
|
|
reservedList_.addAll(other.reservedList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
if (other.onlineState_ != 0) {
|
|
setOnlineStateValue(other.getOnlineStateValue());
|
|
}
|
|
if (other.getParam() != 0) {
|
|
setParam(other.getParam());
|
|
}
|
|
if (other.getIsFriend() != false) {
|
|
setIsFriend(other.getIsFriend());
|
|
}
|
|
if (other.getIsMpModeAvailable() != false) {
|
|
setIsMpModeAvailable(other.getIsMpModeAvailable());
|
|
}
|
|
if (!other.getOnlineId().isEmpty()) {
|
|
onlineId_ = other.onlineId_;
|
|
onChanged();
|
|
}
|
|
if (other.getNameCardId() != 0) {
|
|
setNameCardId(other.getNameCardId());
|
|
}
|
|
if (other.getIsInBlacklist() != false) {
|
|
setIsInBlacklist(other.getIsInBlacklist());
|
|
}
|
|
if (other.getIsChatNoDisturb() != false) {
|
|
setIsChatNoDisturb(other.getIsChatNoDisturb());
|
|
}
|
|
if (!other.getRemarkName().isEmpty()) {
|
|
remarkName_ = other.remarkName_;
|
|
onChanged();
|
|
}
|
|
if (other.getFinishAchievementNum() != 0) {
|
|
setFinishAchievementNum(other.getFinishAchievementNum());
|
|
}
|
|
if (other.getTowerFloorIndex() != 0) {
|
|
setTowerFloorIndex(other.getTowerFloorIndex());
|
|
}
|
|
if (other.getTowerLevelIndex() != 0) {
|
|
setTowerLevelIndex(other.getTowerLevelIndex());
|
|
}
|
|
if (other.getIsShowAvatar() != false) {
|
|
setIsShowAvatar(other.getIsShowAvatar());
|
|
}
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
if (!other.showAvatarInfoList_.isEmpty()) {
|
|
if (showAvatarInfoList_.isEmpty()) {
|
|
showAvatarInfoList_ = other.showAvatarInfoList_;
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
} else {
|
|
ensureShowAvatarInfoListIsMutable();
|
|
showAvatarInfoList_.addAll(other.showAvatarInfoList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
} else {
|
|
if (!other.showAvatarInfoList_.isEmpty()) {
|
|
if (showAvatarInfoListBuilder_.isEmpty()) {
|
|
showAvatarInfoListBuilder_.dispose();
|
|
showAvatarInfoListBuilder_ = null;
|
|
showAvatarInfoList_ = other.showAvatarInfoList_;
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
showAvatarInfoListBuilder_ =
|
|
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
|
getShowAvatarInfoListFieldBuilder() : null;
|
|
} else {
|
|
showAvatarInfoListBuilder_.addAllMessages(other.showAvatarInfoList_);
|
|
}
|
|
}
|
|
}
|
|
if (!other.showNameCardIdList_.isEmpty()) {
|
|
if (showNameCardIdList_.isEmpty()) {
|
|
showNameCardIdList_ = other.showNameCardIdList_;
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
} else {
|
|
ensureShowNameCardIdListIsMutable();
|
|
showNameCardIdList_.addAll(other.showNameCardIdList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
if (other.friendEnterHomeOption_ != 0) {
|
|
setFriendEnterHomeOptionValue(other.getFriendEnterHomeOptionValue());
|
|
}
|
|
if (other.hasProfilePicture()) {
|
|
mergeProfilePicture(other.getProfilePicture());
|
|
}
|
|
if (!other.getIpCode().isEmpty()) {
|
|
ipCode_ = other.ipCode_;
|
|
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.SocialDetailOuterClass.SocialDetail parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
private int bitField0_;
|
|
|
|
private int uid_ ;
|
|
/**
|
|
* <code>uint32 uid = 1;</code>
|
|
* @return The uid.
|
|
*/
|
|
@java.lang.Override
|
|
public int getUid() {
|
|
return uid_;
|
|
}
|
|
/**
|
|
* <code>uint32 uid = 1;</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 = 1;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearUid() {
|
|
|
|
uid_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private java.lang.Object nickname_ = "";
|
|
/**
|
|
* <code>string nickname = 2;</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 = 2;</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 = 2;</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 = 2;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearNickname() {
|
|
|
|
nickname_ = getDefaultInstance().getNickname();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string nickname = 2;</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;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int level_ ;
|
|
/**
|
|
* <code>uint32 level = 3;</code>
|
|
* @return The level.
|
|
*/
|
|
@java.lang.Override
|
|
public int getLevel() {
|
|
return level_;
|
|
}
|
|
/**
|
|
* <code>uint32 level = 3;</code>
|
|
* @param value The level to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setLevel(int value) {
|
|
|
|
level_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 level = 3;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearLevel() {
|
|
|
|
level_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int avatarId_ ;
|
|
/**
|
|
* <code>uint32 avatar_id = 4;</code>
|
|
* @return The avatarId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getAvatarId() {
|
|
return avatarId_;
|
|
}
|
|
/**
|
|
* <code>uint32 avatar_id = 4;</code>
|
|
* @param value The avatarId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setAvatarId(int value) {
|
|
|
|
avatarId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 avatar_id = 4;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearAvatarId() {
|
|
|
|
avatarId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private java.lang.Object signature_ = "";
|
|
/**
|
|
* <code>string signature = 5;</code>
|
|
* @return The signature.
|
|
*/
|
|
public java.lang.String getSignature() {
|
|
java.lang.Object ref = signature_;
|
|
if (!(ref instanceof java.lang.String)) {
|
|
com.google.protobuf.ByteString bs =
|
|
(com.google.protobuf.ByteString) ref;
|
|
java.lang.String s = bs.toStringUtf8();
|
|
signature_ = s;
|
|
return s;
|
|
} else {
|
|
return (java.lang.String) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string signature = 5;</code>
|
|
* @return The bytes for signature.
|
|
*/
|
|
public com.google.protobuf.ByteString
|
|
getSignatureBytes() {
|
|
java.lang.Object ref = signature_;
|
|
if (ref instanceof String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
signature_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string signature = 5;</code>
|
|
* @param value The signature to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setSignature(
|
|
java.lang.String value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
signature_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string signature = 5;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearSignature() {
|
|
|
|
signature_ = getDefaultInstance().getSignature();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string signature = 5;</code>
|
|
* @param value The bytes for signature to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setSignatureBytes(
|
|
com.google.protobuf.ByteString value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
checkByteStringIsUtf8(value);
|
|
|
|
signature_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.BirthdayOuterClass.Birthday birthday_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.BirthdayOuterClass.Birthday, emu.grasscutter.net.proto.BirthdayOuterClass.Birthday.Builder, emu.grasscutter.net.proto.BirthdayOuterClass.BirthdayOrBuilder> birthdayBuilder_;
|
|
/**
|
|
* <code>.Birthday birthday = 6;</code>
|
|
* @return Whether the birthday field is set.
|
|
*/
|
|
public boolean hasBirthday() {
|
|
return birthdayBuilder_ != null || birthday_ != null;
|
|
}
|
|
/**
|
|
* <code>.Birthday birthday = 6;</code>
|
|
* @return The birthday.
|
|
*/
|
|
public emu.grasscutter.net.proto.BirthdayOuterClass.Birthday getBirthday() {
|
|
if (birthdayBuilder_ == null) {
|
|
return birthday_ == null ? emu.grasscutter.net.proto.BirthdayOuterClass.Birthday.getDefaultInstance() : birthday_;
|
|
} else {
|
|
return birthdayBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.Birthday birthday = 6;</code>
|
|
*/
|
|
public Builder setBirthday(emu.grasscutter.net.proto.BirthdayOuterClass.Birthday value) {
|
|
if (birthdayBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
birthday_ = value;
|
|
onChanged();
|
|
} else {
|
|
birthdayBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Birthday birthday = 6;</code>
|
|
*/
|
|
public Builder setBirthday(
|
|
emu.grasscutter.net.proto.BirthdayOuterClass.Birthday.Builder builderForValue) {
|
|
if (birthdayBuilder_ == null) {
|
|
birthday_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
birthdayBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Birthday birthday = 6;</code>
|
|
*/
|
|
public Builder mergeBirthday(emu.grasscutter.net.proto.BirthdayOuterClass.Birthday value) {
|
|
if (birthdayBuilder_ == null) {
|
|
if (birthday_ != null) {
|
|
birthday_ =
|
|
emu.grasscutter.net.proto.BirthdayOuterClass.Birthday.newBuilder(birthday_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
birthday_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
birthdayBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Birthday birthday = 6;</code>
|
|
*/
|
|
public Builder clearBirthday() {
|
|
if (birthdayBuilder_ == null) {
|
|
birthday_ = null;
|
|
onChanged();
|
|
} else {
|
|
birthday_ = null;
|
|
birthdayBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Birthday birthday = 6;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.BirthdayOuterClass.Birthday.Builder getBirthdayBuilder() {
|
|
|
|
onChanged();
|
|
return getBirthdayFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.Birthday birthday = 6;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.BirthdayOuterClass.BirthdayOrBuilder getBirthdayOrBuilder() {
|
|
if (birthdayBuilder_ != null) {
|
|
return birthdayBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return birthday_ == null ?
|
|
emu.grasscutter.net.proto.BirthdayOuterClass.Birthday.getDefaultInstance() : birthday_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.Birthday birthday = 6;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.BirthdayOuterClass.Birthday, emu.grasscutter.net.proto.BirthdayOuterClass.Birthday.Builder, emu.grasscutter.net.proto.BirthdayOuterClass.BirthdayOrBuilder>
|
|
getBirthdayFieldBuilder() {
|
|
if (birthdayBuilder_ == null) {
|
|
birthdayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.BirthdayOuterClass.Birthday, emu.grasscutter.net.proto.BirthdayOuterClass.Birthday.Builder, emu.grasscutter.net.proto.BirthdayOuterClass.BirthdayOrBuilder>(
|
|
getBirthday(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
birthday_ = null;
|
|
}
|
|
return birthdayBuilder_;
|
|
}
|
|
|
|
private int worldLevel_ ;
|
|
/**
|
|
* <code>uint32 world_level = 7;</code>
|
|
* @return The worldLevel.
|
|
*/
|
|
@java.lang.Override
|
|
public int getWorldLevel() {
|
|
return worldLevel_;
|
|
}
|
|
/**
|
|
* <code>uint32 world_level = 7;</code>
|
|
* @param value The worldLevel to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setWorldLevel(int value) {
|
|
|
|
worldLevel_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 world_level = 7;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearWorldLevel() {
|
|
|
|
worldLevel_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.Internal.IntList reservedList_ = emptyIntList();
|
|
private void ensureReservedListIsMutable() {
|
|
if (!((bitField0_ & 0x00000001) != 0)) {
|
|
reservedList_ = mutableCopy(reservedList_);
|
|
bitField0_ |= 0x00000001;
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated uint32 reserved_list = 8;</code>
|
|
* @return A list containing the reservedList.
|
|
*/
|
|
public java.util.List<java.lang.Integer>
|
|
getReservedListList() {
|
|
return ((bitField0_ & 0x00000001) != 0) ?
|
|
java.util.Collections.unmodifiableList(reservedList_) : reservedList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 reserved_list = 8;</code>
|
|
* @return The count of reservedList.
|
|
*/
|
|
public int getReservedListCount() {
|
|
return reservedList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 reserved_list = 8;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The reservedList at the given index.
|
|
*/
|
|
public int getReservedList(int index) {
|
|
return reservedList_.getInt(index);
|
|
}
|
|
/**
|
|
* <code>repeated uint32 reserved_list = 8;</code>
|
|
* @param index The index to set the value at.
|
|
* @param value The reservedList to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setReservedList(
|
|
int index, int value) {
|
|
ensureReservedListIsMutable();
|
|
reservedList_.setInt(index, value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 reserved_list = 8;</code>
|
|
* @param value The reservedList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addReservedList(int value) {
|
|
ensureReservedListIsMutable();
|
|
reservedList_.addInt(value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 reserved_list = 8;</code>
|
|
* @param values The reservedList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAllReservedList(
|
|
java.lang.Iterable<? extends java.lang.Integer> values) {
|
|
ensureReservedListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
values, reservedList_);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 reserved_list = 8;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearReservedList() {
|
|
reservedList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int onlineState_ = 0;
|
|
/**
|
|
* <code>.FriendOnlineState online_state = 9;</code>
|
|
* @return The enum numeric value on the wire for onlineState.
|
|
*/
|
|
@java.lang.Override public int getOnlineStateValue() {
|
|
return onlineState_;
|
|
}
|
|
/**
|
|
* <code>.FriendOnlineState online_state = 9;</code>
|
|
* @param value The enum numeric value on the wire for onlineState to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setOnlineStateValue(int value) {
|
|
|
|
onlineState_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.FriendOnlineState online_state = 9;</code>
|
|
* @return The onlineState.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.FriendOnlineStateOuterClass.FriendOnlineState getOnlineState() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.FriendOnlineStateOuterClass.FriendOnlineState result = emu.grasscutter.net.proto.FriendOnlineStateOuterClass.FriendOnlineState.valueOf(onlineState_);
|
|
return result == null ? emu.grasscutter.net.proto.FriendOnlineStateOuterClass.FriendOnlineState.UNRECOGNIZED : result;
|
|
}
|
|
/**
|
|
* <code>.FriendOnlineState online_state = 9;</code>
|
|
* @param value The onlineState to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setOnlineState(emu.grasscutter.net.proto.FriendOnlineStateOuterClass.FriendOnlineState value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
onlineState_ = value.getNumber();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.FriendOnlineState online_state = 9;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearOnlineState() {
|
|
|
|
onlineState_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int param_ ;
|
|
/**
|
|
* <code>uint32 param = 10;</code>
|
|
* @return The param.
|
|
*/
|
|
@java.lang.Override
|
|
public int getParam() {
|
|
return param_;
|
|
}
|
|
/**
|
|
* <code>uint32 param = 10;</code>
|
|
* @param value The param to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setParam(int value) {
|
|
|
|
param_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 param = 10;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearParam() {
|
|
|
|
param_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean isFriend_ ;
|
|
/**
|
|
* <code>bool is_friend = 11;</code>
|
|
* @return The isFriend.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsFriend() {
|
|
return isFriend_;
|
|
}
|
|
/**
|
|
* <code>bool is_friend = 11;</code>
|
|
* @param value The isFriend to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsFriend(boolean value) {
|
|
|
|
isFriend_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_friend = 11;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsFriend() {
|
|
|
|
isFriend_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean isMpModeAvailable_ ;
|
|
/**
|
|
* <code>bool is_mp_mode_available = 12;</code>
|
|
* @return The isMpModeAvailable.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsMpModeAvailable() {
|
|
return isMpModeAvailable_;
|
|
}
|
|
/**
|
|
* <code>bool is_mp_mode_available = 12;</code>
|
|
* @param value The isMpModeAvailable to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsMpModeAvailable(boolean value) {
|
|
|
|
isMpModeAvailable_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_mp_mode_available = 12;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsMpModeAvailable() {
|
|
|
|
isMpModeAvailable_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private java.lang.Object onlineId_ = "";
|
|
/**
|
|
* <code>string online_id = 13;</code>
|
|
* @return The onlineId.
|
|
*/
|
|
public java.lang.String getOnlineId() {
|
|
java.lang.Object ref = onlineId_;
|
|
if (!(ref instanceof java.lang.String)) {
|
|
com.google.protobuf.ByteString bs =
|
|
(com.google.protobuf.ByteString) ref;
|
|
java.lang.String s = bs.toStringUtf8();
|
|
onlineId_ = s;
|
|
return s;
|
|
} else {
|
|
return (java.lang.String) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string online_id = 13;</code>
|
|
* @return The bytes for onlineId.
|
|
*/
|
|
public com.google.protobuf.ByteString
|
|
getOnlineIdBytes() {
|
|
java.lang.Object ref = onlineId_;
|
|
if (ref instanceof String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
onlineId_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string online_id = 13;</code>
|
|
* @param value The onlineId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setOnlineId(
|
|
java.lang.String value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
onlineId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string online_id = 13;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearOnlineId() {
|
|
|
|
onlineId_ = getDefaultInstance().getOnlineId();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string online_id = 13;</code>
|
|
* @param value The bytes for onlineId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setOnlineIdBytes(
|
|
com.google.protobuf.ByteString value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
checkByteStringIsUtf8(value);
|
|
|
|
onlineId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int nameCardId_ ;
|
|
/**
|
|
* <code>uint32 name_card_id = 14;</code>
|
|
* @return The nameCardId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getNameCardId() {
|
|
return nameCardId_;
|
|
}
|
|
/**
|
|
* <code>uint32 name_card_id = 14;</code>
|
|
* @param value The nameCardId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setNameCardId(int value) {
|
|
|
|
nameCardId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 name_card_id = 14;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearNameCardId() {
|
|
|
|
nameCardId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean isInBlacklist_ ;
|
|
/**
|
|
* <code>bool is_in_blacklist = 15;</code>
|
|
* @return The isInBlacklist.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsInBlacklist() {
|
|
return isInBlacklist_;
|
|
}
|
|
/**
|
|
* <code>bool is_in_blacklist = 15;</code>
|
|
* @param value The isInBlacklist to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsInBlacklist(boolean value) {
|
|
|
|
isInBlacklist_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_in_blacklist = 15;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsInBlacklist() {
|
|
|
|
isInBlacklist_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean isChatNoDisturb_ ;
|
|
/**
|
|
* <code>bool is_chat_no_disturb = 16;</code>
|
|
* @return The isChatNoDisturb.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsChatNoDisturb() {
|
|
return isChatNoDisturb_;
|
|
}
|
|
/**
|
|
* <code>bool is_chat_no_disturb = 16;</code>
|
|
* @param value The isChatNoDisturb to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsChatNoDisturb(boolean value) {
|
|
|
|
isChatNoDisturb_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_chat_no_disturb = 16;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsChatNoDisturb() {
|
|
|
|
isChatNoDisturb_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private java.lang.Object remarkName_ = "";
|
|
/**
|
|
* <code>string remark_name = 17;</code>
|
|
* @return The remarkName.
|
|
*/
|
|
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;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string remark_name = 17;</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 = 17;</code>
|
|
* @param value The remarkName to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setRemarkName(
|
|
java.lang.String value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
remarkName_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string remark_name = 17;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearRemarkName() {
|
|
|
|
remarkName_ = getDefaultInstance().getRemarkName();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string remark_name = 17;</code>
|
|
* @param value The bytes for remarkName to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setRemarkNameBytes(
|
|
com.google.protobuf.ByteString value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
checkByteStringIsUtf8(value);
|
|
|
|
remarkName_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int finishAchievementNum_ ;
|
|
/**
|
|
* <code>uint32 finish_achievement_num = 18;</code>
|
|
* @return The finishAchievementNum.
|
|
*/
|
|
@java.lang.Override
|
|
public int getFinishAchievementNum() {
|
|
return finishAchievementNum_;
|
|
}
|
|
/**
|
|
* <code>uint32 finish_achievement_num = 18;</code>
|
|
* @param value The finishAchievementNum to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setFinishAchievementNum(int value) {
|
|
|
|
finishAchievementNum_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 finish_achievement_num = 18;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearFinishAchievementNum() {
|
|
|
|
finishAchievementNum_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int towerFloorIndex_ ;
|
|
/**
|
|
* <code>uint32 tower_floor_index = 19;</code>
|
|
* @return The towerFloorIndex.
|
|
*/
|
|
@java.lang.Override
|
|
public int getTowerFloorIndex() {
|
|
return towerFloorIndex_;
|
|
}
|
|
/**
|
|
* <code>uint32 tower_floor_index = 19;</code>
|
|
* @param value The towerFloorIndex to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setTowerFloorIndex(int value) {
|
|
|
|
towerFloorIndex_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 tower_floor_index = 19;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearTowerFloorIndex() {
|
|
|
|
towerFloorIndex_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int towerLevelIndex_ ;
|
|
/**
|
|
* <code>uint32 tower_level_index = 20;</code>
|
|
* @return The towerLevelIndex.
|
|
*/
|
|
@java.lang.Override
|
|
public int getTowerLevelIndex() {
|
|
return towerLevelIndex_;
|
|
}
|
|
/**
|
|
* <code>uint32 tower_level_index = 20;</code>
|
|
* @param value The towerLevelIndex to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setTowerLevelIndex(int value) {
|
|
|
|
towerLevelIndex_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 tower_level_index = 20;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearTowerLevelIndex() {
|
|
|
|
towerLevelIndex_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean isShowAvatar_ ;
|
|
/**
|
|
* <code>bool is_show_avatar = 21;</code>
|
|
* @return The isShowAvatar.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsShowAvatar() {
|
|
return isShowAvatar_;
|
|
}
|
|
/**
|
|
* <code>bool is_show_avatar = 21;</code>
|
|
* @param value The isShowAvatar to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsShowAvatar(boolean value) {
|
|
|
|
isShowAvatar_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_show_avatar = 21;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsShowAvatar() {
|
|
|
|
isShowAvatar_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private java.util.List<emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo> showAvatarInfoList_ =
|
|
java.util.Collections.emptyList();
|
|
private void ensureShowAvatarInfoListIsMutable() {
|
|
if (!((bitField0_ & 0x00000002) != 0)) {
|
|
showAvatarInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo>(showAvatarInfoList_);
|
|
bitField0_ |= 0x00000002;
|
|
}
|
|
}
|
|
|
|
private com.google.protobuf.RepeatedFieldBuilderV3<
|
|
emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo, emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo.Builder, emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfoOrBuilder> showAvatarInfoListBuilder_;
|
|
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public java.util.List<emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo> getShowAvatarInfoListList() {
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
return java.util.Collections.unmodifiableList(showAvatarInfoList_);
|
|
} else {
|
|
return showAvatarInfoListBuilder_.getMessageList();
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public int getShowAvatarInfoListCount() {
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
return showAvatarInfoList_.size();
|
|
} else {
|
|
return showAvatarInfoListBuilder_.getCount();
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo getShowAvatarInfoList(int index) {
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
return showAvatarInfoList_.get(index);
|
|
} else {
|
|
return showAvatarInfoListBuilder_.getMessage(index);
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public Builder setShowAvatarInfoList(
|
|
int index, emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo value) {
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
ensureShowAvatarInfoListIsMutable();
|
|
showAvatarInfoList_.set(index, value);
|
|
onChanged();
|
|
} else {
|
|
showAvatarInfoListBuilder_.setMessage(index, value);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public Builder setShowAvatarInfoList(
|
|
int index, emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo.Builder builderForValue) {
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
ensureShowAvatarInfoListIsMutable();
|
|
showAvatarInfoList_.set(index, builderForValue.build());
|
|
onChanged();
|
|
} else {
|
|
showAvatarInfoListBuilder_.setMessage(index, builderForValue.build());
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public Builder addShowAvatarInfoList(emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo value) {
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
ensureShowAvatarInfoListIsMutable();
|
|
showAvatarInfoList_.add(value);
|
|
onChanged();
|
|
} else {
|
|
showAvatarInfoListBuilder_.addMessage(value);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public Builder addShowAvatarInfoList(
|
|
int index, emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo value) {
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
ensureShowAvatarInfoListIsMutable();
|
|
showAvatarInfoList_.add(index, value);
|
|
onChanged();
|
|
} else {
|
|
showAvatarInfoListBuilder_.addMessage(index, value);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public Builder addShowAvatarInfoList(
|
|
emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo.Builder builderForValue) {
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
ensureShowAvatarInfoListIsMutable();
|
|
showAvatarInfoList_.add(builderForValue.build());
|
|
onChanged();
|
|
} else {
|
|
showAvatarInfoListBuilder_.addMessage(builderForValue.build());
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public Builder addShowAvatarInfoList(
|
|
int index, emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo.Builder builderForValue) {
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
ensureShowAvatarInfoListIsMutable();
|
|
showAvatarInfoList_.add(index, builderForValue.build());
|
|
onChanged();
|
|
} else {
|
|
showAvatarInfoListBuilder_.addMessage(index, builderForValue.build());
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public Builder addAllShowAvatarInfoList(
|
|
java.lang.Iterable<? extends emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo> values) {
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
ensureShowAvatarInfoListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
values, showAvatarInfoList_);
|
|
onChanged();
|
|
} else {
|
|
showAvatarInfoListBuilder_.addAllMessages(values);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public Builder clearShowAvatarInfoList() {
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
showAvatarInfoList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
onChanged();
|
|
} else {
|
|
showAvatarInfoListBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public Builder removeShowAvatarInfoList(int index) {
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
ensureShowAvatarInfoListIsMutable();
|
|
showAvatarInfoList_.remove(index);
|
|
onChanged();
|
|
} else {
|
|
showAvatarInfoListBuilder_.remove(index);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo.Builder getShowAvatarInfoListBuilder(
|
|
int index) {
|
|
return getShowAvatarInfoListFieldBuilder().getBuilder(index);
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfoOrBuilder getShowAvatarInfoListOrBuilder(
|
|
int index) {
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
return showAvatarInfoList_.get(index); } else {
|
|
return showAvatarInfoListBuilder_.getMessageOrBuilder(index);
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public java.util.List<? extends emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfoOrBuilder>
|
|
getShowAvatarInfoListOrBuilderList() {
|
|
if (showAvatarInfoListBuilder_ != null) {
|
|
return showAvatarInfoListBuilder_.getMessageOrBuilderList();
|
|
} else {
|
|
return java.util.Collections.unmodifiableList(showAvatarInfoList_);
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo.Builder addShowAvatarInfoListBuilder() {
|
|
return getShowAvatarInfoListFieldBuilder().addBuilder(
|
|
emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo.getDefaultInstance());
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo.Builder addShowAvatarInfoListBuilder(
|
|
int index) {
|
|
return getShowAvatarInfoListFieldBuilder().addBuilder(
|
|
index, emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo.getDefaultInstance());
|
|
}
|
|
/**
|
|
* <code>repeated .SocialShowAvatarInfo show_avatar_info_list = 22;</code>
|
|
*/
|
|
public java.util.List<emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo.Builder>
|
|
getShowAvatarInfoListBuilderList() {
|
|
return getShowAvatarInfoListFieldBuilder().getBuilderList();
|
|
}
|
|
private com.google.protobuf.RepeatedFieldBuilderV3<
|
|
emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo, emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo.Builder, emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfoOrBuilder>
|
|
getShowAvatarInfoListFieldBuilder() {
|
|
if (showAvatarInfoListBuilder_ == null) {
|
|
showAvatarInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
|
emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo, emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfo.Builder, emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.SocialShowAvatarInfoOrBuilder>(
|
|
showAvatarInfoList_,
|
|
((bitField0_ & 0x00000002) != 0),
|
|
getParentForChildren(),
|
|
isClean());
|
|
showAvatarInfoList_ = null;
|
|
}
|
|
return showAvatarInfoListBuilder_;
|
|
}
|
|
|
|
private com.google.protobuf.Internal.IntList showNameCardIdList_ = emptyIntList();
|
|
private void ensureShowNameCardIdListIsMutable() {
|
|
if (!((bitField0_ & 0x00000004) != 0)) {
|
|
showNameCardIdList_ = mutableCopy(showNameCardIdList_);
|
|
bitField0_ |= 0x00000004;
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated uint32 show_name_card_id_list = 23;</code>
|
|
* @return A list containing the showNameCardIdList.
|
|
*/
|
|
public java.util.List<java.lang.Integer>
|
|
getShowNameCardIdListList() {
|
|
return ((bitField0_ & 0x00000004) != 0) ?
|
|
java.util.Collections.unmodifiableList(showNameCardIdList_) : showNameCardIdList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 show_name_card_id_list = 23;</code>
|
|
* @return The count of showNameCardIdList.
|
|
*/
|
|
public int getShowNameCardIdListCount() {
|
|
return showNameCardIdList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 show_name_card_id_list = 23;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The showNameCardIdList at the given index.
|
|
*/
|
|
public int getShowNameCardIdList(int index) {
|
|
return showNameCardIdList_.getInt(index);
|
|
}
|
|
/**
|
|
* <code>repeated uint32 show_name_card_id_list = 23;</code>
|
|
* @param index The index to set the value at.
|
|
* @param value The showNameCardIdList to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setShowNameCardIdList(
|
|
int index, int value) {
|
|
ensureShowNameCardIdListIsMutable();
|
|
showNameCardIdList_.setInt(index, value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 show_name_card_id_list = 23;</code>
|
|
* @param value The showNameCardIdList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addShowNameCardIdList(int value) {
|
|
ensureShowNameCardIdListIsMutable();
|
|
showNameCardIdList_.addInt(value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 show_name_card_id_list = 23;</code>
|
|
* @param values The showNameCardIdList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAllShowNameCardIdList(
|
|
java.lang.Iterable<? extends java.lang.Integer> values) {
|
|
ensureShowNameCardIdListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
values, showNameCardIdList_);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 show_name_card_id_list = 23;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearShowNameCardIdList() {
|
|
showNameCardIdList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int friendEnterHomeOption_ = 0;
|
|
/**
|
|
* <code>.FriendEnterHomeOption friend_enter_home_option = 24;</code>
|
|
* @return The enum numeric value on the wire for friendEnterHomeOption.
|
|
*/
|
|
@java.lang.Override public int getFriendEnterHomeOptionValue() {
|
|
return friendEnterHomeOption_;
|
|
}
|
|
/**
|
|
* <code>.FriendEnterHomeOption friend_enter_home_option = 24;</code>
|
|
* @param value The enum numeric value on the wire for friendEnterHomeOption to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setFriendEnterHomeOptionValue(int value) {
|
|
|
|
friendEnterHomeOption_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.FriendEnterHomeOption friend_enter_home_option = 24;</code>
|
|
* @return The friendEnterHomeOption.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption getFriendEnterHomeOption() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption result = emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.valueOf(friendEnterHomeOption_);
|
|
return result == null ? emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.UNRECOGNIZED : result;
|
|
}
|
|
/**
|
|
* <code>.FriendEnterHomeOption friend_enter_home_option = 24;</code>
|
|
* @param value The friendEnterHomeOption to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setFriendEnterHomeOption(emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
friendEnterHomeOption_ = value.getNumber();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.FriendEnterHomeOption friend_enter_home_option = 24;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearFriendEnterHomeOption() {
|
|
|
|
friendEnterHomeOption_ = 0;
|
|
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_;
|
|
/**
|
|
* <code>.ProfilePicture profile_picture = 25;</code>
|
|
* @return Whether the profilePicture field is set.
|
|
*/
|
|
public boolean hasProfilePicture() {
|
|
return profilePictureBuilder_ != null || profilePicture_ != null;
|
|
}
|
|
/**
|
|
* <code>.ProfilePicture profile_picture = 25;</code>
|
|
* @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();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.ProfilePicture profile_picture = 25;</code>
|
|
*/
|
|
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;
|
|
}
|
|
/**
|
|
* <code>.ProfilePicture profile_picture = 25;</code>
|
|
*/
|
|
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;
|
|
}
|
|
/**
|
|
* <code>.ProfilePicture profile_picture = 25;</code>
|
|
*/
|
|
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;
|
|
}
|
|
/**
|
|
* <code>.ProfilePicture profile_picture = 25;</code>
|
|
*/
|
|
public Builder clearProfilePicture() {
|
|
if (profilePictureBuilder_ == null) {
|
|
profilePicture_ = null;
|
|
onChanged();
|
|
} else {
|
|
profilePicture_ = null;
|
|
profilePictureBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.ProfilePicture profile_picture = 25;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder getProfilePictureBuilder() {
|
|
|
|
onChanged();
|
|
return getProfilePictureFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.ProfilePicture profile_picture = 25;</code>
|
|
*/
|
|
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_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.ProfilePicture profile_picture = 25;</code>
|
|
*/
|
|
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_;
|
|
}
|
|
|
|
private java.lang.Object ipCode_ = "";
|
|
/**
|
|
* <code>string ip_code = 26;</code>
|
|
* @return The ipCode.
|
|
*/
|
|
public java.lang.String getIpCode() {
|
|
java.lang.Object ref = ipCode_;
|
|
if (!(ref instanceof java.lang.String)) {
|
|
com.google.protobuf.ByteString bs =
|
|
(com.google.protobuf.ByteString) ref;
|
|
java.lang.String s = bs.toStringUtf8();
|
|
ipCode_ = s;
|
|
return s;
|
|
} else {
|
|
return (java.lang.String) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string ip_code = 26;</code>
|
|
* @return The bytes for ipCode.
|
|
*/
|
|
public com.google.protobuf.ByteString
|
|
getIpCodeBytes() {
|
|
java.lang.Object ref = ipCode_;
|
|
if (ref instanceof String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
ipCode_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string ip_code = 26;</code>
|
|
* @param value The ipCode to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIpCode(
|
|
java.lang.String value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
ipCode_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string ip_code = 26;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIpCode() {
|
|
|
|
ipCode_ = getDefaultInstance().getIpCode();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string ip_code = 26;</code>
|
|
* @param value The bytes for ipCode to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIpCodeBytes(
|
|
com.google.protobuf.ByteString value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
checkByteStringIsUtf8(value);
|
|
|
|
ipCode_ = value;
|
|
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:SocialDetail)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:SocialDetail)
|
|
private static final emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<SocialDetail>
|
|
PARSER = new com.google.protobuf.AbstractParser<SocialDetail>() {
|
|
@java.lang.Override
|
|
public SocialDetail parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new SocialDetail(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<SocialDetail> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<SocialDetail> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.SocialDetailOuterClass.SocialDetail getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_SocialDetail_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_SocialDetail_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\022SocialDetail.proto\032\016Birthday.proto\032\027Fr" +
|
|
"iendOnlineState.proto\032\032SocialShowAvatarI" +
|
|
"nfo.proto\032\033FriendEnterHomeOption.proto\032\024" +
|
|
"ProfilePicture.proto\"\301\005\n\014SocialDetail\022\013\n" +
|
|
"\003uid\030\001 \001(\r\022\020\n\010nickname\030\002 \001(\t\022\r\n\005level\030\003 " +
|
|
"\001(\r\022\021\n\tavatar_id\030\004 \001(\r\022\021\n\tsignature\030\005 \001(" +
|
|
"\t\022\033\n\010birthday\030\006 \001(\0132\t.Birthday\022\023\n\013world_" +
|
|
"level\030\007 \001(\r\022\025\n\rreserved_list\030\010 \003(\r\022(\n\014on" +
|
|
"line_state\030\t \001(\0162\022.FriendOnlineState\022\r\n\005" +
|
|
"param\030\n \001(\r\022\021\n\tis_friend\030\013 \001(\010\022\034\n\024is_mp_" +
|
|
"mode_available\030\014 \001(\010\022\021\n\tonline_id\030\r \001(\t\022" +
|
|
"\024\n\014name_card_id\030\016 \001(\r\022\027\n\017is_in_blacklist" +
|
|
"\030\017 \001(\010\022\032\n\022is_chat_no_disturb\030\020 \001(\010\022\023\n\013re" +
|
|
"mark_name\030\021 \001(\t\022\036\n\026finish_achievement_nu" +
|
|
"m\030\022 \001(\r\022\031\n\021tower_floor_index\030\023 \001(\r\022\031\n\021to" +
|
|
"wer_level_index\030\024 \001(\r\022\026\n\016is_show_avatar\030" +
|
|
"\025 \001(\010\0224\n\025show_avatar_info_list\030\026 \003(\0132\025.S" +
|
|
"ocialShowAvatarInfo\022\036\n\026show_name_card_id" +
|
|
"_list\030\027 \003(\r\0228\n\030friend_enter_home_option\030" +
|
|
"\030 \001(\0162\026.FriendEnterHomeOption\022(\n\017profile" +
|
|
"_picture\030\031 \001(\0132\017.ProfilePicture\022\017\n\007ip_co" +
|
|
"de\030\032 \001(\tB\033\n\031emu.grasscutter.net.protob\006p" +
|
|
"roto3"
|
|
};
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
emu.grasscutter.net.proto.BirthdayOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.FriendOnlineStateOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.ProfilePictureOuterClass.getDescriptor(),
|
|
});
|
|
internal_static_SocialDetail_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_SocialDetail_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_SocialDetail_descriptor,
|
|
new java.lang.String[] { "Uid", "Nickname", "Level", "AvatarId", "Signature", "Birthday", "WorldLevel", "ReservedList", "OnlineState", "Param", "IsFriend", "IsMpModeAvailable", "OnlineId", "NameCardId", "IsInBlacklist", "IsChatNoDisturb", "RemarkName", "FinishAchievementNum", "TowerFloorIndex", "TowerLevelIndex", "IsShowAvatar", "ShowAvatarInfoList", "ShowNameCardIdList", "FriendEnterHomeOption", "ProfilePicture", "IpCode", });
|
|
emu.grasscutter.net.proto.BirthdayOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.FriendOnlineStateOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.SocialShowAvatarInfoOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.ProfilePictureOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|