emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grasscutter Show documentation
Show all versions of grasscutter Show documentation
A server software reimplementation for an anime game.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: DungeonCandidateTeamInfoNotify.proto
package emu.grasscutter.net.proto;
public final class DungeonCandidateTeamInfoNotifyOuterClass {
private DungeonCandidateTeamInfoNotifyOuterClass() {}
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 DungeonCandidateTeamInfoNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:DungeonCandidateTeamInfoNotify)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 dungeon_id = 10;
* @return The dungeonId.
*/
int getDungeonId();
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
java.util.List
getAvatarListList();
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar getAvatarList(int index);
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
int getAvatarListCount();
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
java.util.List extends emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatarOrBuilder>
getAvatarListOrBuilderList();
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatarOrBuilder getAvatarListOrBuilder(
int index);
/**
* uint32 match_type = 15;
* @return The matchType.
*/
int getMatchType();
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
int getKDNCFBHJCPJCount();
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
boolean containsKDNCFBHJCPJ(
int key);
/**
* Use {@link #getKDNCFBHJCPJMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getKDNCFBHJCPJ();
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
java.util.Map
getKDNCFBHJCPJMap();
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.CBGEJFGFNNO getKDNCFBHJCPJOrDefault(
int key,
emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.CBGEJFGFNNO defaultValue);
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.CBGEJFGFNNO getKDNCFBHJCPJOrThrow(
int key);
/**
* Use {@link #getKDNCFBHJCPJValueMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getKDNCFBHJCPJValue();
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
java.util.Map
getKDNCFBHJCPJValueMap();
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
int getKDNCFBHJCPJValueOrDefault(
int key,
int defaultValue);
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
int getKDNCFBHJCPJValueOrThrow(
int key);
/**
* repeated uint32 ready_player_uid = 7;
* @return A list containing the readyPlayerUid.
*/
java.util.List getReadyPlayerUidList();
/**
* repeated uint32 ready_player_uid = 7;
* @return The count of readyPlayerUid.
*/
int getReadyPlayerUidCount();
/**
* repeated uint32 ready_player_uid = 7;
* @param index The index of the element to return.
* @return The readyPlayerUid at the given index.
*/
int getReadyPlayerUid(int index);
/**
* optional .UgcTeamInfo ugc_team_list = 1882;
* @return Whether the ugcTeamList field is set.
*/
boolean hasUgcTeamList();
/**
* optional .UgcTeamInfo ugc_team_list = 1882;
* @return The ugcTeamList.
*/
emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo getUgcTeamList();
/**
* optional .UgcTeamInfo ugc_team_list = 1882;
*/
emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfoOrBuilder getUgcTeamListOrBuilder();
}
/**
*
* CmdId: 6824
* Obf: HLAOLGIKKIH
*
*
* Protobuf type {@code DungeonCandidateTeamInfoNotify}
*/
public static final class DungeonCandidateTeamInfoNotify extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:DungeonCandidateTeamInfoNotify)
DungeonCandidateTeamInfoNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use DungeonCandidateTeamInfoNotify.newBuilder() to construct.
private DungeonCandidateTeamInfoNotify(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DungeonCandidateTeamInfoNotify() {
avatarList_ = java.util.Collections.emptyList();
readyPlayerUid_ = emptyIntList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DungeonCandidateTeamInfoNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DungeonCandidateTeamInfoNotify(
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 26: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
kDNCFBHJCPJ_ = com.google.protobuf.MapField.newMapField(
KDNCFBHJCPJDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000002;
}
com.google.protobuf.MapEntry
kDNCFBHJCPJ__ = input.readMessage(
KDNCFBHJCPJDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
kDNCFBHJCPJ_.getMutableMap().put(
kDNCFBHJCPJ__.getKey(), kDNCFBHJCPJ__.getValue());
break;
}
case 56: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
readyPlayerUid_ = newIntList();
mutable_bitField0_ |= 0x00000004;
}
readyPlayerUid_.addInt(input.readUInt32());
break;
}
case 58: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
readyPlayerUid_ = newIntList();
mutable_bitField0_ |= 0x00000004;
}
while (input.getBytesUntilLimit() > 0) {
readyPlayerUid_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 80: {
dungeonId_ = input.readUInt32();
break;
}
case 98: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
avatarList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
avatarList_.add(
input.readMessage(emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar.parser(), extensionRegistry));
break;
}
case 120: {
matchType_ = input.readUInt32();
break;
}
case 15058: {
emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = ugcTeamList_.toBuilder();
}
ugcTeamList_ = input.readMessage(emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(ugcTeamList_);
ugcTeamList_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
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_ & 0x00000004) != 0)) {
readyPlayerUid_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000001) != 0)) {
avatarList_ = java.util.Collections.unmodifiableList(avatarList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.internal_static_DungeonCandidateTeamInfoNotify_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 3:
return internalGetKDNCFBHJCPJ();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.internal_static_DungeonCandidateTeamInfoNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify.class, emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify.Builder.class);
}
private int bitField0_;
public static final int DUNGEON_ID_FIELD_NUMBER = 10;
private int dungeonId_;
/**
* uint32 dungeon_id = 10;
* @return The dungeonId.
*/
@java.lang.Override
public int getDungeonId() {
return dungeonId_;
}
public static final int AVATAR_LIST_FIELD_NUMBER = 12;
private java.util.List avatarList_;
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
@java.lang.Override
public java.util.List getAvatarListList() {
return avatarList_;
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatarOrBuilder>
getAvatarListOrBuilderList() {
return avatarList_;
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
@java.lang.Override
public int getAvatarListCount() {
return avatarList_.size();
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
@java.lang.Override
public emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar getAvatarList(int index) {
return avatarList_.get(index);
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
@java.lang.Override
public emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatarOrBuilder getAvatarListOrBuilder(
int index) {
return avatarList_.get(index);
}
public static final int MATCH_TYPE_FIELD_NUMBER = 15;
private int matchType_;
/**
* uint32 match_type = 15;
* @return The matchType.
*/
@java.lang.Override
public int getMatchType() {
return matchType_;
}
public static final int KDNCFBHJCPJ_FIELD_NUMBER = 3;
private static final class KDNCFBHJCPJDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.Integer, java.lang.Integer> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.internal_static_DungeonCandidateTeamInfoNotify_KDNCFBHJCPJEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.UINT32,
0,
com.google.protobuf.WireFormat.FieldType.ENUM,
emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.CBGEJFGFNNO.CBGEJFGFNNO_Idle.getNumber());
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> kDNCFBHJCPJ_;
private com.google.protobuf.MapField
internalGetKDNCFBHJCPJ() {
if (kDNCFBHJCPJ_ == null) {
return com.google.protobuf.MapField.emptyMapField(
KDNCFBHJCPJDefaultEntryHolder.defaultEntry);
}
return kDNCFBHJCPJ_;
}
private static final
com.google.protobuf.Internal.MapAdapter.Converter<
java.lang.Integer, emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.CBGEJFGFNNO> kDNCFBHJCPJValueConverter =
com.google.protobuf.Internal.MapAdapter.newEnumConverter(
emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.CBGEJFGFNNO.internalGetValueMap(),
emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.CBGEJFGFNNO.UNRECOGNIZED);
private static final java.util.Map
internalGetAdaptedKDNCFBHJCPJMap(
java.util.Map map) {
return new com.google.protobuf.Internal.MapAdapter<
java.lang.Integer, emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.CBGEJFGFNNO, java.lang.Integer>(
map, kDNCFBHJCPJValueConverter);
}
public int getKDNCFBHJCPJCount() {
return internalGetKDNCFBHJCPJ().getMap().size();
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
@java.lang.Override
public boolean containsKDNCFBHJCPJ(
int key) {
return internalGetKDNCFBHJCPJ().getMap().containsKey(key);
}
/**
* Use {@link #getKDNCFBHJCPJMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map
getKDNCFBHJCPJ() {
return getKDNCFBHJCPJMap();
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
@java.lang.Override
public java.util.Map
getKDNCFBHJCPJMap() {
return internalGetAdaptedKDNCFBHJCPJMap(
internalGetKDNCFBHJCPJ().getMap());}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
@java.lang.Override
public emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.CBGEJFGFNNO getKDNCFBHJCPJOrDefault(
int key,
emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.CBGEJFGFNNO defaultValue) {
java.util.Map map =
internalGetKDNCFBHJCPJ().getMap();
return map.containsKey(key)
? kDNCFBHJCPJValueConverter.doForward(map.get(key))
: defaultValue;
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
@java.lang.Override
public emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.CBGEJFGFNNO getKDNCFBHJCPJOrThrow(
int key) {
java.util.Map map =
internalGetKDNCFBHJCPJ().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return kDNCFBHJCPJValueConverter.doForward(map.get(key));
}
/**
* Use {@link #getKDNCFBHJCPJValueMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map
getKDNCFBHJCPJValue() {
return getKDNCFBHJCPJValueMap();
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
@java.lang.Override
public java.util.Map
getKDNCFBHJCPJValueMap() {
return internalGetKDNCFBHJCPJ().getMap();
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
@java.lang.Override
public int getKDNCFBHJCPJValueOrDefault(
int key,
int defaultValue) {
java.util.Map map =
internalGetKDNCFBHJCPJ().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
@java.lang.Override
public int getKDNCFBHJCPJValueOrThrow(
int key) {
java.util.Map map =
internalGetKDNCFBHJCPJ().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int READY_PLAYER_UID_FIELD_NUMBER = 7;
private com.google.protobuf.Internal.IntList readyPlayerUid_;
/**
* repeated uint32 ready_player_uid = 7;
* @return A list containing the readyPlayerUid.
*/
@java.lang.Override
public java.util.List
getReadyPlayerUidList() {
return readyPlayerUid_;
}
/**
* repeated uint32 ready_player_uid = 7;
* @return The count of readyPlayerUid.
*/
public int getReadyPlayerUidCount() {
return readyPlayerUid_.size();
}
/**
* repeated uint32 ready_player_uid = 7;
* @param index The index of the element to return.
* @return The readyPlayerUid at the given index.
*/
public int getReadyPlayerUid(int index) {
return readyPlayerUid_.getInt(index);
}
private int readyPlayerUidMemoizedSerializedSize = -1;
public static final int UGC_TEAM_LIST_FIELD_NUMBER = 1882;
private emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo ugcTeamList_;
/**
* optional .UgcTeamInfo ugc_team_list = 1882;
* @return Whether the ugcTeamList field is set.
*/
@java.lang.Override
public boolean hasUgcTeamList() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .UgcTeamInfo ugc_team_list = 1882;
* @return The ugcTeamList.
*/
@java.lang.Override
public emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo getUgcTeamList() {
return ugcTeamList_ == null ? emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo.getDefaultInstance() : ugcTeamList_;
}
/**
* optional .UgcTeamInfo ugc_team_list = 1882;
*/
@java.lang.Override
public emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfoOrBuilder getUgcTeamListOrBuilder() {
return ugcTeamList_ == null ? emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo.getDefaultInstance() : ugcTeamList_;
}
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();
com.google.protobuf.GeneratedMessageV3
.serializeIntegerMapTo(
output,
internalGetKDNCFBHJCPJ(),
KDNCFBHJCPJDefaultEntryHolder.defaultEntry,
3);
if (getReadyPlayerUidList().size() > 0) {
output.writeUInt32NoTag(58);
output.writeUInt32NoTag(readyPlayerUidMemoizedSerializedSize);
}
for (int i = 0; i < readyPlayerUid_.size(); i++) {
output.writeUInt32NoTag(readyPlayerUid_.getInt(i));
}
if (dungeonId_ != 0) {
output.writeUInt32(10, dungeonId_);
}
for (int i = 0; i < avatarList_.size(); i++) {
output.writeMessage(12, avatarList_.get(i));
}
if (matchType_ != 0) {
output.writeUInt32(15, matchType_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1882, getUgcTeamList());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (java.util.Map.Entry entry
: internalGetKDNCFBHJCPJ().getMap().entrySet()) {
com.google.protobuf.MapEntry
kDNCFBHJCPJ__ = KDNCFBHJCPJDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, kDNCFBHJCPJ__);
}
{
int dataSize = 0;
for (int i = 0; i < readyPlayerUid_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(readyPlayerUid_.getInt(i));
}
size += dataSize;
if (!getReadyPlayerUidList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
readyPlayerUidMemoizedSerializedSize = dataSize;
}
if (dungeonId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, dungeonId_);
}
for (int i = 0; i < avatarList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, avatarList_.get(i));
}
if (matchType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, matchType_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1882, getUgcTeamList());
}
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.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify other = (emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify) obj;
if (getDungeonId()
!= other.getDungeonId()) return false;
if (!getAvatarListList()
.equals(other.getAvatarListList())) return false;
if (getMatchType()
!= other.getMatchType()) return false;
if (!internalGetKDNCFBHJCPJ().equals(
other.internalGetKDNCFBHJCPJ())) return false;
if (!getReadyPlayerUidList()
.equals(other.getReadyPlayerUidList())) return false;
if (hasUgcTeamList() != other.hasUgcTeamList()) return false;
if (hasUgcTeamList()) {
if (!getUgcTeamList()
.equals(other.getUgcTeamList())) 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) + DUNGEON_ID_FIELD_NUMBER;
hash = (53 * hash) + getDungeonId();
if (getAvatarListCount() > 0) {
hash = (37 * hash) + AVATAR_LIST_FIELD_NUMBER;
hash = (53 * hash) + getAvatarListList().hashCode();
}
hash = (37 * hash) + MATCH_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getMatchType();
if (!internalGetKDNCFBHJCPJ().getMap().isEmpty()) {
hash = (37 * hash) + KDNCFBHJCPJ_FIELD_NUMBER;
hash = (53 * hash) + internalGetKDNCFBHJCPJ().hashCode();
}
if (getReadyPlayerUidCount() > 0) {
hash = (37 * hash) + READY_PLAYER_UID_FIELD_NUMBER;
hash = (53 * hash) + getReadyPlayerUidList().hashCode();
}
if (hasUgcTeamList()) {
hash = (37 * hash) + UGC_TEAM_LIST_FIELD_NUMBER;
hash = (53 * hash) + getUgcTeamList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify 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.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify 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.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify 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.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify 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.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify 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.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify 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;
}
/**
*
* CmdId: 6824
* Obf: HLAOLGIKKIH
*
*
* Protobuf type {@code DungeonCandidateTeamInfoNotify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:DungeonCandidateTeamInfoNotify)
emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.internal_static_DungeonCandidateTeamInfoNotify_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 3:
return internalGetKDNCFBHJCPJ();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 3:
return internalGetMutableKDNCFBHJCPJ();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.internal_static_DungeonCandidateTeamInfoNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify.class, emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify.Builder.class);
}
// Construct using emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getAvatarListFieldBuilder();
getUgcTeamListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
dungeonId_ = 0;
if (avatarListBuilder_ == null) {
avatarList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
avatarListBuilder_.clear();
}
matchType_ = 0;
internalGetMutableKDNCFBHJCPJ().clear();
readyPlayerUid_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000004);
if (ugcTeamListBuilder_ == null) {
ugcTeamList_ = null;
} else {
ugcTeamListBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.internal_static_DungeonCandidateTeamInfoNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify getDefaultInstanceForType() {
return emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify build() {
emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify buildPartial() {
emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify result = new emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.dungeonId_ = dungeonId_;
if (avatarListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
avatarList_ = java.util.Collections.unmodifiableList(avatarList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.avatarList_ = avatarList_;
} else {
result.avatarList_ = avatarListBuilder_.build();
}
result.matchType_ = matchType_;
result.kDNCFBHJCPJ_ = internalGetKDNCFBHJCPJ();
result.kDNCFBHJCPJ_.makeImmutable();
if (((bitField0_ & 0x00000004) != 0)) {
readyPlayerUid_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.readyPlayerUid_ = readyPlayerUid_;
if (((from_bitField0_ & 0x00000008) != 0)) {
if (ugcTeamListBuilder_ == null) {
result.ugcTeamList_ = ugcTeamList_;
} else {
result.ugcTeamList_ = ugcTeamListBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
result.bitField0_ = to_bitField0_;
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.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify) {
return mergeFrom((emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify other) {
if (other == emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify.getDefaultInstance()) return this;
if (other.getDungeonId() != 0) {
setDungeonId(other.getDungeonId());
}
if (avatarListBuilder_ == null) {
if (!other.avatarList_.isEmpty()) {
if (avatarList_.isEmpty()) {
avatarList_ = other.avatarList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAvatarListIsMutable();
avatarList_.addAll(other.avatarList_);
}
onChanged();
}
} else {
if (!other.avatarList_.isEmpty()) {
if (avatarListBuilder_.isEmpty()) {
avatarListBuilder_.dispose();
avatarListBuilder_ = null;
avatarList_ = other.avatarList_;
bitField0_ = (bitField0_ & ~0x00000001);
avatarListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAvatarListFieldBuilder() : null;
} else {
avatarListBuilder_.addAllMessages(other.avatarList_);
}
}
}
if (other.getMatchType() != 0) {
setMatchType(other.getMatchType());
}
internalGetMutableKDNCFBHJCPJ().mergeFrom(
other.internalGetKDNCFBHJCPJ());
if (!other.readyPlayerUid_.isEmpty()) {
if (readyPlayerUid_.isEmpty()) {
readyPlayerUid_ = other.readyPlayerUid_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureReadyPlayerUidIsMutable();
readyPlayerUid_.addAll(other.readyPlayerUid_);
}
onChanged();
}
if (other.hasUgcTeamList()) {
mergeUgcTeamList(other.getUgcTeamList());
}
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.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int dungeonId_ ;
/**
* uint32 dungeon_id = 10;
* @return The dungeonId.
*/
@java.lang.Override
public int getDungeonId() {
return dungeonId_;
}
/**
* uint32 dungeon_id = 10;
* @param value The dungeonId to set.
* @return This builder for chaining.
*/
public Builder setDungeonId(int value) {
dungeonId_ = value;
onChanged();
return this;
}
/**
* uint32 dungeon_id = 10;
* @return This builder for chaining.
*/
public Builder clearDungeonId() {
dungeonId_ = 0;
onChanged();
return this;
}
private java.util.List avatarList_ =
java.util.Collections.emptyList();
private void ensureAvatarListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
avatarList_ = new java.util.ArrayList(avatarList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar, emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar.Builder, emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatarOrBuilder> avatarListBuilder_;
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public java.util.List getAvatarListList() {
if (avatarListBuilder_ == null) {
return java.util.Collections.unmodifiableList(avatarList_);
} else {
return avatarListBuilder_.getMessageList();
}
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public int getAvatarListCount() {
if (avatarListBuilder_ == null) {
return avatarList_.size();
} else {
return avatarListBuilder_.getCount();
}
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar getAvatarList(int index) {
if (avatarListBuilder_ == null) {
return avatarList_.get(index);
} else {
return avatarListBuilder_.getMessage(index);
}
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public Builder setAvatarList(
int index, emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar value) {
if (avatarListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAvatarListIsMutable();
avatarList_.set(index, value);
onChanged();
} else {
avatarListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public Builder setAvatarList(
int index, emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar.Builder builderForValue) {
if (avatarListBuilder_ == null) {
ensureAvatarListIsMutable();
avatarList_.set(index, builderForValue.build());
onChanged();
} else {
avatarListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public Builder addAvatarList(emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar value) {
if (avatarListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAvatarListIsMutable();
avatarList_.add(value);
onChanged();
} else {
avatarListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public Builder addAvatarList(
int index, emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar value) {
if (avatarListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAvatarListIsMutable();
avatarList_.add(index, value);
onChanged();
} else {
avatarListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public Builder addAvatarList(
emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar.Builder builderForValue) {
if (avatarListBuilder_ == null) {
ensureAvatarListIsMutable();
avatarList_.add(builderForValue.build());
onChanged();
} else {
avatarListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public Builder addAvatarList(
int index, emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar.Builder builderForValue) {
if (avatarListBuilder_ == null) {
ensureAvatarListIsMutable();
avatarList_.add(index, builderForValue.build());
onChanged();
} else {
avatarListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public Builder addAllAvatarList(
java.lang.Iterable extends emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar> values) {
if (avatarListBuilder_ == null) {
ensureAvatarListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, avatarList_);
onChanged();
} else {
avatarListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public Builder clearAvatarList() {
if (avatarListBuilder_ == null) {
avatarList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
avatarListBuilder_.clear();
}
return this;
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public Builder removeAvatarList(int index) {
if (avatarListBuilder_ == null) {
ensureAvatarListIsMutable();
avatarList_.remove(index);
onChanged();
} else {
avatarListBuilder_.remove(index);
}
return this;
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar.Builder getAvatarListBuilder(
int index) {
return getAvatarListFieldBuilder().getBuilder(index);
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatarOrBuilder getAvatarListOrBuilder(
int index) {
if (avatarListBuilder_ == null) {
return avatarList_.get(index); } else {
return avatarListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public java.util.List extends emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatarOrBuilder>
getAvatarListOrBuilderList() {
if (avatarListBuilder_ != null) {
return avatarListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(avatarList_);
}
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar.Builder addAvatarListBuilder() {
return getAvatarListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar.getDefaultInstance());
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar.Builder addAvatarListBuilder(
int index) {
return getAvatarListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar.getDefaultInstance());
}
/**
* repeated .DungeonCandidateTeamAvatar avatar_list = 12;
*/
public java.util.List
getAvatarListBuilderList() {
return getAvatarListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar, emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar.Builder, emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatarOrBuilder>
getAvatarListFieldBuilder() {
if (avatarListBuilder_ == null) {
avatarListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar, emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatar.Builder, emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.DungeonCandidateTeamAvatarOrBuilder>(
avatarList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
avatarList_ = null;
}
return avatarListBuilder_;
}
private int matchType_ ;
/**
* uint32 match_type = 15;
* @return The matchType.
*/
@java.lang.Override
public int getMatchType() {
return matchType_;
}
/**
* uint32 match_type = 15;
* @param value The matchType to set.
* @return This builder for chaining.
*/
public Builder setMatchType(int value) {
matchType_ = value;
onChanged();
return this;
}
/**
* uint32 match_type = 15;
* @return This builder for chaining.
*/
public Builder clearMatchType() {
matchType_ = 0;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> kDNCFBHJCPJ_;
private com.google.protobuf.MapField
internalGetKDNCFBHJCPJ() {
if (kDNCFBHJCPJ_ == null) {
return com.google.protobuf.MapField.emptyMapField(
KDNCFBHJCPJDefaultEntryHolder.defaultEntry);
}
return kDNCFBHJCPJ_;
}
private com.google.protobuf.MapField
internalGetMutableKDNCFBHJCPJ() {
onChanged();;
if (kDNCFBHJCPJ_ == null) {
kDNCFBHJCPJ_ = com.google.protobuf.MapField.newMapField(
KDNCFBHJCPJDefaultEntryHolder.defaultEntry);
}
if (!kDNCFBHJCPJ_.isMutable()) {
kDNCFBHJCPJ_ = kDNCFBHJCPJ_.copy();
}
return kDNCFBHJCPJ_;
}
public int getKDNCFBHJCPJCount() {
return internalGetKDNCFBHJCPJ().getMap().size();
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
@java.lang.Override
public boolean containsKDNCFBHJCPJ(
int key) {
return internalGetKDNCFBHJCPJ().getMap().containsKey(key);
}
/**
* Use {@link #getKDNCFBHJCPJMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map
getKDNCFBHJCPJ() {
return getKDNCFBHJCPJMap();
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
@java.lang.Override
public java.util.Map
getKDNCFBHJCPJMap() {
return internalGetAdaptedKDNCFBHJCPJMap(
internalGetKDNCFBHJCPJ().getMap());}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
@java.lang.Override
public emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.CBGEJFGFNNO getKDNCFBHJCPJOrDefault(
int key,
emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.CBGEJFGFNNO defaultValue) {
java.util.Map map =
internalGetKDNCFBHJCPJ().getMap();
return map.containsKey(key)
? kDNCFBHJCPJValueConverter.doForward(map.get(key))
: defaultValue;
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
@java.lang.Override
public emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.CBGEJFGFNNO getKDNCFBHJCPJOrThrow(
int key) {
java.util.Map map =
internalGetKDNCFBHJCPJ().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return kDNCFBHJCPJValueConverter.doForward(map.get(key));
}
/**
* Use {@link #getKDNCFBHJCPJValueMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map
getKDNCFBHJCPJValue() {
return getKDNCFBHJCPJValueMap();
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
@java.lang.Override
public java.util.Map
getKDNCFBHJCPJValueMap() {
return internalGetKDNCFBHJCPJ().getMap();
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
@java.lang.Override
public int getKDNCFBHJCPJValueOrDefault(
int key,
int defaultValue) {
java.util.Map map =
internalGetKDNCFBHJCPJ().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
@java.lang.Override
public int getKDNCFBHJCPJValueOrThrow(
int key) {
java.util.Map map =
internalGetKDNCFBHJCPJ().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearKDNCFBHJCPJ() {
internalGetMutableKDNCFBHJCPJ().getMutableMap()
.clear();
return this;
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
public Builder removeKDNCFBHJCPJ(
int key) {
internalGetMutableKDNCFBHJCPJ().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableKDNCFBHJCPJ() {
return internalGetAdaptedKDNCFBHJCPJMap(
internalGetMutableKDNCFBHJCPJ().getMutableMap());
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
public Builder putKDNCFBHJCPJ(
int key,
emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.CBGEJFGFNNO value) {
if (value == null) { throw new java.lang.NullPointerException(); }
internalGetMutableKDNCFBHJCPJ().getMutableMap()
.put(key, kDNCFBHJCPJValueConverter.doBackward(value));
return this;
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
public Builder putAllKDNCFBHJCPJ(
java.util.Map values) {
internalGetAdaptedKDNCFBHJCPJMap(
internalGetMutableKDNCFBHJCPJ().getMutableMap())
.putAll(values);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableKDNCFBHJCPJValue() {
return internalGetMutableKDNCFBHJCPJ().getMutableMap();
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
public Builder putKDNCFBHJCPJValue(
int key,
int value) {
internalGetMutableKDNCFBHJCPJ().getMutableMap()
.put(key, value);
return this;
}
/**
* map<uint32, .CBGEJFGFNNO> KDNCFBHJCPJ = 3;
*/
public Builder putAllKDNCFBHJCPJValue(
java.util.Map values) {
internalGetMutableKDNCFBHJCPJ().getMutableMap()
.putAll(values);
return this;
}
private com.google.protobuf.Internal.IntList readyPlayerUid_ = emptyIntList();
private void ensureReadyPlayerUidIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
readyPlayerUid_ = mutableCopy(readyPlayerUid_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated uint32 ready_player_uid = 7;
* @return A list containing the readyPlayerUid.
*/
public java.util.List
getReadyPlayerUidList() {
return ((bitField0_ & 0x00000004) != 0) ?
java.util.Collections.unmodifiableList(readyPlayerUid_) : readyPlayerUid_;
}
/**
* repeated uint32 ready_player_uid = 7;
* @return The count of readyPlayerUid.
*/
public int getReadyPlayerUidCount() {
return readyPlayerUid_.size();
}
/**
* repeated uint32 ready_player_uid = 7;
* @param index The index of the element to return.
* @return The readyPlayerUid at the given index.
*/
public int getReadyPlayerUid(int index) {
return readyPlayerUid_.getInt(index);
}
/**
* repeated uint32 ready_player_uid = 7;
* @param index The index to set the value at.
* @param value The readyPlayerUid to set.
* @return This builder for chaining.
*/
public Builder setReadyPlayerUid(
int index, int value) {
ensureReadyPlayerUidIsMutable();
readyPlayerUid_.setInt(index, value);
onChanged();
return this;
}
/**
* repeated uint32 ready_player_uid = 7;
* @param value The readyPlayerUid to add.
* @return This builder for chaining.
*/
public Builder addReadyPlayerUid(int value) {
ensureReadyPlayerUidIsMutable();
readyPlayerUid_.addInt(value);
onChanged();
return this;
}
/**
* repeated uint32 ready_player_uid = 7;
* @param values The readyPlayerUid to add.
* @return This builder for chaining.
*/
public Builder addAllReadyPlayerUid(
java.lang.Iterable extends java.lang.Integer> values) {
ensureReadyPlayerUidIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, readyPlayerUid_);
onChanged();
return this;
}
/**
* repeated uint32 ready_player_uid = 7;
* @return This builder for chaining.
*/
public Builder clearReadyPlayerUid() {
readyPlayerUid_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
private emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo ugcTeamList_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo, emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo.Builder, emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfoOrBuilder> ugcTeamListBuilder_;
/**
* optional .UgcTeamInfo ugc_team_list = 1882;
* @return Whether the ugcTeamList field is set.
*/
public boolean hasUgcTeamList() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .UgcTeamInfo ugc_team_list = 1882;
* @return The ugcTeamList.
*/
public emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo getUgcTeamList() {
if (ugcTeamListBuilder_ == null) {
return ugcTeamList_ == null ? emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo.getDefaultInstance() : ugcTeamList_;
} else {
return ugcTeamListBuilder_.getMessage();
}
}
/**
* optional .UgcTeamInfo ugc_team_list = 1882;
*/
public Builder setUgcTeamList(emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo value) {
if (ugcTeamListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ugcTeamList_ = value;
onChanged();
} else {
ugcTeamListBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .UgcTeamInfo ugc_team_list = 1882;
*/
public Builder setUgcTeamList(
emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo.Builder builderForValue) {
if (ugcTeamListBuilder_ == null) {
ugcTeamList_ = builderForValue.build();
onChanged();
} else {
ugcTeamListBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .UgcTeamInfo ugc_team_list = 1882;
*/
public Builder mergeUgcTeamList(emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo value) {
if (ugcTeamListBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
ugcTeamList_ != null &&
ugcTeamList_ != emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo.getDefaultInstance()) {
ugcTeamList_ =
emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo.newBuilder(ugcTeamList_).mergeFrom(value).buildPartial();
} else {
ugcTeamList_ = value;
}
onChanged();
} else {
ugcTeamListBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .UgcTeamInfo ugc_team_list = 1882;
*/
public Builder clearUgcTeamList() {
if (ugcTeamListBuilder_ == null) {
ugcTeamList_ = null;
onChanged();
} else {
ugcTeamListBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .UgcTeamInfo ugc_team_list = 1882;
*/
public emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo.Builder getUgcTeamListBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getUgcTeamListFieldBuilder().getBuilder();
}
/**
* optional .UgcTeamInfo ugc_team_list = 1882;
*/
public emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfoOrBuilder getUgcTeamListOrBuilder() {
if (ugcTeamListBuilder_ != null) {
return ugcTeamListBuilder_.getMessageOrBuilder();
} else {
return ugcTeamList_ == null ?
emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo.getDefaultInstance() : ugcTeamList_;
}
}
/**
* optional .UgcTeamInfo ugc_team_list = 1882;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo, emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo.Builder, emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfoOrBuilder>
getUgcTeamListFieldBuilder() {
if (ugcTeamListBuilder_ == null) {
ugcTeamListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo, emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfo.Builder, emu.grasscutter.net.proto.UgcTeamInfoOuterClass.UgcTeamInfoOrBuilder>(
getUgcTeamList(),
getParentForChildren(),
isClean());
ugcTeamList_ = null;
}
return ugcTeamListBuilder_;
}
@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:DungeonCandidateTeamInfoNotify)
}
// @@protoc_insertion_point(class_scope:DungeonCandidateTeamInfoNotify)
private static final emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify();
}
public static emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DungeonCandidateTeamInfoNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DungeonCandidateTeamInfoNotify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonCandidateTeamInfoNotifyOuterClass.DungeonCandidateTeamInfoNotify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_DungeonCandidateTeamInfoNotify_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_DungeonCandidateTeamInfoNotify_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_DungeonCandidateTeamInfoNotify_KDNCFBHJCPJEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_DungeonCandidateTeamInfoNotify_KDNCFBHJCPJEntry_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$DungeonCandidateTeamInfoNotify.proto\032 " +
"DungeonCandidateTeamAvatar.proto\032\021CBGEJF" +
"GFNNO.proto\032\021UgcTeamInfo.proto\"\332\002\n\036Dunge" +
"onCandidateTeamInfoNotify\022\022\n\ndungeon_id\030" +
"\n \001(\r\0220\n\013avatar_list\030\014 \003(\0132\033.DungeonCand" +
"idateTeamAvatar\022\022\n\nmatch_type\030\017 \001(\r\022E\n\013K" +
"DNCFBHJCPJ\030\003 \003(\01320.DungeonCandidateTeamI" +
"nfoNotify.KDNCFBHJCPJEntry\022\030\n\020ready_play" +
"er_uid\030\007 \003(\r\022)\n\rugc_team_list\030\332\016 \001(\0132\014.U" +
"gcTeamInfoH\000\210\001\001\032@\n\020KDNCFBHJCPJEntry\022\013\n\003k" +
"ey\030\001 \001(\r\022\033\n\005value\030\002 \001(\0162\014.CBGEJFGFNNO:\0028" +
"\001B\020\n\016_ugc_team_listB\033\n\031emu.grasscutter.n" +
"et.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.getDescriptor(),
emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.getDescriptor(),
emu.grasscutter.net.proto.UgcTeamInfoOuterClass.getDescriptor(),
});
internal_static_DungeonCandidateTeamInfoNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_DungeonCandidateTeamInfoNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_DungeonCandidateTeamInfoNotify_descriptor,
new java.lang.String[] { "DungeonId", "AvatarList", "MatchType", "KDNCFBHJCPJ", "ReadyPlayerUid", "UgcTeamList", "UgcTeamList", });
internal_static_DungeonCandidateTeamInfoNotify_KDNCFBHJCPJEntry_descriptor =
internal_static_DungeonCandidateTeamInfoNotify_descriptor.getNestedTypes().get(0);
internal_static_DungeonCandidateTeamInfoNotify_KDNCFBHJCPJEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_DungeonCandidateTeamInfoNotify_KDNCFBHJCPJEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
emu.grasscutter.net.proto.DungeonCandidateTeamAvatarOuterClass.getDescriptor();
emu.grasscutter.net.proto.CBGEJFGFNNOOuterClass.getDescriptor();
emu.grasscutter.net.proto.UgcTeamInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}