emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass 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: PlayerMatchInfoNotify.proto
package emu.grasscutter.net.proto;
public final class PlayerMatchInfoNotifyOuterClass {
private PlayerMatchInfoNotifyOuterClass() {}
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 PlayerMatchInfoNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:PlayerMatchInfoNotify)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 mechanicus_difficult_level = 9;
* @return The mechanicusDifficultLevel.
*/
int getMechanicusDifficultLevel();
/**
* .MatchType match_type = 5;
* @return The enum numeric value on the wire for matchType.
*/
int getMatchTypeValue();
/**
* .MatchType match_type = 5;
* @return The matchType.
*/
emu.grasscutter.net.proto.MatchTypeOuterClass.MatchType getMatchType();
/**
* repeated uint32 match_param_list = 8;
* @return A list containing the matchParamList.
*/
java.util.List getMatchParamListList();
/**
* repeated uint32 match_param_list = 8;
* @return The count of matchParamList.
*/
int getMatchParamListCount();
/**
* repeated uint32 match_param_list = 8;
* @param index The index of the element to return.
* @return The matchParamList at the given index.
*/
int getMatchParamList(int index);
/**
* uint32 mp_play_id = 13;
* @return The mpPlayId.
*/
int getMpPlayId();
/**
* uint32 ACKNHNOOGJL = 7;
* @return The aCKNHNOOGJL.
*/
int getACKNHNOOGJL();
/**
* uint32 host_uid = 4;
* @return The hostUid.
*/
int getHostUid();
/**
* uint32 match_id = 10;
* @return The matchId.
*/
int getMatchId();
/**
* uint32 dungeon_id = 15;
* @return The dungeonId.
*/
int getDungeonId();
/**
* uint32 NDFPGBLKKAD = 3;
* @return The nDFPGBLKKAD.
*/
int getNDFPGBLKKAD();
}
/**
*
* CmdId: 6049
* Obf: NBHEPMEPGLC
*
*
* Protobuf type {@code PlayerMatchInfoNotify}
*/
public static final class PlayerMatchInfoNotify extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:PlayerMatchInfoNotify)
PlayerMatchInfoNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use PlayerMatchInfoNotify.newBuilder() to construct.
private PlayerMatchInfoNotify(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PlayerMatchInfoNotify() {
matchType_ = 0;
matchParamList_ = emptyIntList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PlayerMatchInfoNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PlayerMatchInfoNotify(
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 24: {
nDFPGBLKKAD_ = input.readUInt32();
break;
}
case 32: {
hostUid_ = input.readUInt32();
break;
}
case 40: {
int rawValue = input.readEnum();
matchType_ = rawValue;
break;
}
case 56: {
aCKNHNOOGJL_ = input.readUInt32();
break;
}
case 64: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
matchParamList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
matchParamList_.addInt(input.readUInt32());
break;
}
case 66: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
matchParamList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
matchParamList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 72: {
mechanicusDifficultLevel_ = input.readUInt32();
break;
}
case 80: {
matchId_ = input.readUInt32();
break;
}
case 104: {
mpPlayId_ = input.readUInt32();
break;
}
case 120: {
dungeonId_ = input.readUInt32();
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)) {
matchParamList_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.internal_static_PlayerMatchInfoNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.internal_static_PlayerMatchInfoNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.class, emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder.class);
}
public static final int MECHANICUS_DIFFICULT_LEVEL_FIELD_NUMBER = 9;
private int mechanicusDifficultLevel_;
/**
* uint32 mechanicus_difficult_level = 9;
* @return The mechanicusDifficultLevel.
*/
@java.lang.Override
public int getMechanicusDifficultLevel() {
return mechanicusDifficultLevel_;
}
public static final int MATCH_TYPE_FIELD_NUMBER = 5;
private int matchType_;
/**
* .MatchType match_type = 5;
* @return The enum numeric value on the wire for matchType.
*/
@java.lang.Override public int getMatchTypeValue() {
return matchType_;
}
/**
* .MatchType match_type = 5;
* @return The matchType.
*/
@java.lang.Override public emu.grasscutter.net.proto.MatchTypeOuterClass.MatchType getMatchType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.MatchTypeOuterClass.MatchType result = emu.grasscutter.net.proto.MatchTypeOuterClass.MatchType.valueOf(matchType_);
return result == null ? emu.grasscutter.net.proto.MatchTypeOuterClass.MatchType.UNRECOGNIZED : result;
}
public static final int MATCH_PARAM_LIST_FIELD_NUMBER = 8;
private com.google.protobuf.Internal.IntList matchParamList_;
/**
* repeated uint32 match_param_list = 8;
* @return A list containing the matchParamList.
*/
@java.lang.Override
public java.util.List
getMatchParamListList() {
return matchParamList_;
}
/**
* repeated uint32 match_param_list = 8;
* @return The count of matchParamList.
*/
public int getMatchParamListCount() {
return matchParamList_.size();
}
/**
* repeated uint32 match_param_list = 8;
* @param index The index of the element to return.
* @return The matchParamList at the given index.
*/
public int getMatchParamList(int index) {
return matchParamList_.getInt(index);
}
private int matchParamListMemoizedSerializedSize = -1;
public static final int MP_PLAY_ID_FIELD_NUMBER = 13;
private int mpPlayId_;
/**
* uint32 mp_play_id = 13;
* @return The mpPlayId.
*/
@java.lang.Override
public int getMpPlayId() {
return mpPlayId_;
}
public static final int ACKNHNOOGJL_FIELD_NUMBER = 7;
private int aCKNHNOOGJL_;
/**
* uint32 ACKNHNOOGJL = 7;
* @return The aCKNHNOOGJL.
*/
@java.lang.Override
public int getACKNHNOOGJL() {
return aCKNHNOOGJL_;
}
public static final int HOST_UID_FIELD_NUMBER = 4;
private int hostUid_;
/**
* uint32 host_uid = 4;
* @return The hostUid.
*/
@java.lang.Override
public int getHostUid() {
return hostUid_;
}
public static final int MATCH_ID_FIELD_NUMBER = 10;
private int matchId_;
/**
* uint32 match_id = 10;
* @return The matchId.
*/
@java.lang.Override
public int getMatchId() {
return matchId_;
}
public static final int DUNGEON_ID_FIELD_NUMBER = 15;
private int dungeonId_;
/**
* uint32 dungeon_id = 15;
* @return The dungeonId.
*/
@java.lang.Override
public int getDungeonId() {
return dungeonId_;
}
public static final int NDFPGBLKKAD_FIELD_NUMBER = 3;
private int nDFPGBLKKAD_;
/**
* uint32 NDFPGBLKKAD = 3;
* @return The nDFPGBLKKAD.
*/
@java.lang.Override
public int getNDFPGBLKKAD() {
return nDFPGBLKKAD_;
}
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 (nDFPGBLKKAD_ != 0) {
output.writeUInt32(3, nDFPGBLKKAD_);
}
if (hostUid_ != 0) {
output.writeUInt32(4, hostUid_);
}
if (matchType_ != emu.grasscutter.net.proto.MatchTypeOuterClass.MatchType.MATCH_TYPE_NONE.getNumber()) {
output.writeEnum(5, matchType_);
}
if (aCKNHNOOGJL_ != 0) {
output.writeUInt32(7, aCKNHNOOGJL_);
}
if (getMatchParamListList().size() > 0) {
output.writeUInt32NoTag(66);
output.writeUInt32NoTag(matchParamListMemoizedSerializedSize);
}
for (int i = 0; i < matchParamList_.size(); i++) {
output.writeUInt32NoTag(matchParamList_.getInt(i));
}
if (mechanicusDifficultLevel_ != 0) {
output.writeUInt32(9, mechanicusDifficultLevel_);
}
if (matchId_ != 0) {
output.writeUInt32(10, matchId_);
}
if (mpPlayId_ != 0) {
output.writeUInt32(13, mpPlayId_);
}
if (dungeonId_ != 0) {
output.writeUInt32(15, dungeonId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (nDFPGBLKKAD_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, nDFPGBLKKAD_);
}
if (hostUid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, hostUid_);
}
if (matchType_ != emu.grasscutter.net.proto.MatchTypeOuterClass.MatchType.MATCH_TYPE_NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, matchType_);
}
if (aCKNHNOOGJL_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, aCKNHNOOGJL_);
}
{
int dataSize = 0;
for (int i = 0; i < matchParamList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(matchParamList_.getInt(i));
}
size += dataSize;
if (!getMatchParamListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
matchParamListMemoizedSerializedSize = dataSize;
}
if (mechanicusDifficultLevel_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, mechanicusDifficultLevel_);
}
if (matchId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, matchId_);
}
if (mpPlayId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, mpPlayId_);
}
if (dungeonId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, dungeonId_);
}
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.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify other = (emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify) obj;
if (getMechanicusDifficultLevel()
!= other.getMechanicusDifficultLevel()) return false;
if (matchType_ != other.matchType_) return false;
if (!getMatchParamListList()
.equals(other.getMatchParamListList())) return false;
if (getMpPlayId()
!= other.getMpPlayId()) return false;
if (getACKNHNOOGJL()
!= other.getACKNHNOOGJL()) return false;
if (getHostUid()
!= other.getHostUid()) return false;
if (getMatchId()
!= other.getMatchId()) return false;
if (getDungeonId()
!= other.getDungeonId()) return false;
if (getNDFPGBLKKAD()
!= other.getNDFPGBLKKAD()) 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) + MECHANICUS_DIFFICULT_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getMechanicusDifficultLevel();
hash = (37 * hash) + MATCH_TYPE_FIELD_NUMBER;
hash = (53 * hash) + matchType_;
if (getMatchParamListCount() > 0) {
hash = (37 * hash) + MATCH_PARAM_LIST_FIELD_NUMBER;
hash = (53 * hash) + getMatchParamListList().hashCode();
}
hash = (37 * hash) + MP_PLAY_ID_FIELD_NUMBER;
hash = (53 * hash) + getMpPlayId();
hash = (37 * hash) + ACKNHNOOGJL_FIELD_NUMBER;
hash = (53 * hash) + getACKNHNOOGJL();
hash = (37 * hash) + HOST_UID_FIELD_NUMBER;
hash = (53 * hash) + getHostUid();
hash = (37 * hash) + MATCH_ID_FIELD_NUMBER;
hash = (53 * hash) + getMatchId();
hash = (37 * hash) + DUNGEON_ID_FIELD_NUMBER;
hash = (53 * hash) + getDungeonId();
hash = (37 * hash) + NDFPGBLKKAD_FIELD_NUMBER;
hash = (53 * hash) + getNDFPGBLKKAD();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify 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.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify 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.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify 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.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify 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.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify 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.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify 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: 6049
* Obf: NBHEPMEPGLC
*
*
* Protobuf type {@code PlayerMatchInfoNotify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:PlayerMatchInfoNotify)
emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.internal_static_PlayerMatchInfoNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.internal_static_PlayerMatchInfoNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.class, emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.Builder.class);
}
// Construct using emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
mechanicusDifficultLevel_ = 0;
matchType_ = 0;
matchParamList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
mpPlayId_ = 0;
aCKNHNOOGJL_ = 0;
hostUid_ = 0;
matchId_ = 0;
dungeonId_ = 0;
nDFPGBLKKAD_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.internal_static_PlayerMatchInfoNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify getDefaultInstanceForType() {
return emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify build() {
emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify buildPartial() {
emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify result = new emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify(this);
int from_bitField0_ = bitField0_;
result.mechanicusDifficultLevel_ = mechanicusDifficultLevel_;
result.matchType_ = matchType_;
if (((bitField0_ & 0x00000001) != 0)) {
matchParamList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.matchParamList_ = matchParamList_;
result.mpPlayId_ = mpPlayId_;
result.aCKNHNOOGJL_ = aCKNHNOOGJL_;
result.hostUid_ = hostUid_;
result.matchId_ = matchId_;
result.dungeonId_ = dungeonId_;
result.nDFPGBLKKAD_ = nDFPGBLKKAD_;
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.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify) {
return mergeFrom((emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify other) {
if (other == emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify.getDefaultInstance()) return this;
if (other.getMechanicusDifficultLevel() != 0) {
setMechanicusDifficultLevel(other.getMechanicusDifficultLevel());
}
if (other.matchType_ != 0) {
setMatchTypeValue(other.getMatchTypeValue());
}
if (!other.matchParamList_.isEmpty()) {
if (matchParamList_.isEmpty()) {
matchParamList_ = other.matchParamList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMatchParamListIsMutable();
matchParamList_.addAll(other.matchParamList_);
}
onChanged();
}
if (other.getMpPlayId() != 0) {
setMpPlayId(other.getMpPlayId());
}
if (other.getACKNHNOOGJL() != 0) {
setACKNHNOOGJL(other.getACKNHNOOGJL());
}
if (other.getHostUid() != 0) {
setHostUid(other.getHostUid());
}
if (other.getMatchId() != 0) {
setMatchId(other.getMatchId());
}
if (other.getDungeonId() != 0) {
setDungeonId(other.getDungeonId());
}
if (other.getNDFPGBLKKAD() != 0) {
setNDFPGBLKKAD(other.getNDFPGBLKKAD());
}
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.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int mechanicusDifficultLevel_ ;
/**
* uint32 mechanicus_difficult_level = 9;
* @return The mechanicusDifficultLevel.
*/
@java.lang.Override
public int getMechanicusDifficultLevel() {
return mechanicusDifficultLevel_;
}
/**
* uint32 mechanicus_difficult_level = 9;
* @param value The mechanicusDifficultLevel to set.
* @return This builder for chaining.
*/
public Builder setMechanicusDifficultLevel(int value) {
mechanicusDifficultLevel_ = value;
onChanged();
return this;
}
/**
* uint32 mechanicus_difficult_level = 9;
* @return This builder for chaining.
*/
public Builder clearMechanicusDifficultLevel() {
mechanicusDifficultLevel_ = 0;
onChanged();
return this;
}
private int matchType_ = 0;
/**
* .MatchType match_type = 5;
* @return The enum numeric value on the wire for matchType.
*/
@java.lang.Override public int getMatchTypeValue() {
return matchType_;
}
/**
* .MatchType match_type = 5;
* @param value The enum numeric value on the wire for matchType to set.
* @return This builder for chaining.
*/
public Builder setMatchTypeValue(int value) {
matchType_ = value;
onChanged();
return this;
}
/**
* .MatchType match_type = 5;
* @return The matchType.
*/
@java.lang.Override
public emu.grasscutter.net.proto.MatchTypeOuterClass.MatchType getMatchType() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.MatchTypeOuterClass.MatchType result = emu.grasscutter.net.proto.MatchTypeOuterClass.MatchType.valueOf(matchType_);
return result == null ? emu.grasscutter.net.proto.MatchTypeOuterClass.MatchType.UNRECOGNIZED : result;
}
/**
* .MatchType match_type = 5;
* @param value The matchType to set.
* @return This builder for chaining.
*/
public Builder setMatchType(emu.grasscutter.net.proto.MatchTypeOuterClass.MatchType value) {
if (value == null) {
throw new NullPointerException();
}
matchType_ = value.getNumber();
onChanged();
return this;
}
/**
* .MatchType match_type = 5;
* @return This builder for chaining.
*/
public Builder clearMatchType() {
matchType_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList matchParamList_ = emptyIntList();
private void ensureMatchParamListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
matchParamList_ = mutableCopy(matchParamList_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated uint32 match_param_list = 8;
* @return A list containing the matchParamList.
*/
public java.util.List
getMatchParamListList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(matchParamList_) : matchParamList_;
}
/**
* repeated uint32 match_param_list = 8;
* @return The count of matchParamList.
*/
public int getMatchParamListCount() {
return matchParamList_.size();
}
/**
* repeated uint32 match_param_list = 8;
* @param index The index of the element to return.
* @return The matchParamList at the given index.
*/
public int getMatchParamList(int index) {
return matchParamList_.getInt(index);
}
/**
* repeated uint32 match_param_list = 8;
* @param index The index to set the value at.
* @param value The matchParamList to set.
* @return This builder for chaining.
*/
public Builder setMatchParamList(
int index, int value) {
ensureMatchParamListIsMutable();
matchParamList_.setInt(index, value);
onChanged();
return this;
}
/**
* repeated uint32 match_param_list = 8;
* @param value The matchParamList to add.
* @return This builder for chaining.
*/
public Builder addMatchParamList(int value) {
ensureMatchParamListIsMutable();
matchParamList_.addInt(value);
onChanged();
return this;
}
/**
* repeated uint32 match_param_list = 8;
* @param values The matchParamList to add.
* @return This builder for chaining.
*/
public Builder addAllMatchParamList(
java.lang.Iterable extends java.lang.Integer> values) {
ensureMatchParamListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, matchParamList_);
onChanged();
return this;
}
/**
* repeated uint32 match_param_list = 8;
* @return This builder for chaining.
*/
public Builder clearMatchParamList() {
matchParamList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private int mpPlayId_ ;
/**
* uint32 mp_play_id = 13;
* @return The mpPlayId.
*/
@java.lang.Override
public int getMpPlayId() {
return mpPlayId_;
}
/**
* uint32 mp_play_id = 13;
* @param value The mpPlayId to set.
* @return This builder for chaining.
*/
public Builder setMpPlayId(int value) {
mpPlayId_ = value;
onChanged();
return this;
}
/**
* uint32 mp_play_id = 13;
* @return This builder for chaining.
*/
public Builder clearMpPlayId() {
mpPlayId_ = 0;
onChanged();
return this;
}
private int aCKNHNOOGJL_ ;
/**
* uint32 ACKNHNOOGJL = 7;
* @return The aCKNHNOOGJL.
*/
@java.lang.Override
public int getACKNHNOOGJL() {
return aCKNHNOOGJL_;
}
/**
* uint32 ACKNHNOOGJL = 7;
* @param value The aCKNHNOOGJL to set.
* @return This builder for chaining.
*/
public Builder setACKNHNOOGJL(int value) {
aCKNHNOOGJL_ = value;
onChanged();
return this;
}
/**
* uint32 ACKNHNOOGJL = 7;
* @return This builder for chaining.
*/
public Builder clearACKNHNOOGJL() {
aCKNHNOOGJL_ = 0;
onChanged();
return this;
}
private int hostUid_ ;
/**
* uint32 host_uid = 4;
* @return The hostUid.
*/
@java.lang.Override
public int getHostUid() {
return hostUid_;
}
/**
* uint32 host_uid = 4;
* @param value The hostUid to set.
* @return This builder for chaining.
*/
public Builder setHostUid(int value) {
hostUid_ = value;
onChanged();
return this;
}
/**
* uint32 host_uid = 4;
* @return This builder for chaining.
*/
public Builder clearHostUid() {
hostUid_ = 0;
onChanged();
return this;
}
private int matchId_ ;
/**
* uint32 match_id = 10;
* @return The matchId.
*/
@java.lang.Override
public int getMatchId() {
return matchId_;
}
/**
* uint32 match_id = 10;
* @param value The matchId to set.
* @return This builder for chaining.
*/
public Builder setMatchId(int value) {
matchId_ = value;
onChanged();
return this;
}
/**
* uint32 match_id = 10;
* @return This builder for chaining.
*/
public Builder clearMatchId() {
matchId_ = 0;
onChanged();
return this;
}
private int dungeonId_ ;
/**
* uint32 dungeon_id = 15;
* @return The dungeonId.
*/
@java.lang.Override
public int getDungeonId() {
return dungeonId_;
}
/**
* uint32 dungeon_id = 15;
* @param value The dungeonId to set.
* @return This builder for chaining.
*/
public Builder setDungeonId(int value) {
dungeonId_ = value;
onChanged();
return this;
}
/**
* uint32 dungeon_id = 15;
* @return This builder for chaining.
*/
public Builder clearDungeonId() {
dungeonId_ = 0;
onChanged();
return this;
}
private int nDFPGBLKKAD_ ;
/**
* uint32 NDFPGBLKKAD = 3;
* @return The nDFPGBLKKAD.
*/
@java.lang.Override
public int getNDFPGBLKKAD() {
return nDFPGBLKKAD_;
}
/**
* uint32 NDFPGBLKKAD = 3;
* @param value The nDFPGBLKKAD to set.
* @return This builder for chaining.
*/
public Builder setNDFPGBLKKAD(int value) {
nDFPGBLKKAD_ = value;
onChanged();
return this;
}
/**
* uint32 NDFPGBLKKAD = 3;
* @return This builder for chaining.
*/
public Builder clearNDFPGBLKKAD() {
nDFPGBLKKAD_ = 0;
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:PlayerMatchInfoNotify)
}
// @@protoc_insertion_point(class_scope:PlayerMatchInfoNotify)
private static final emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify();
}
public static emu.grasscutter.net.proto.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PlayerMatchInfoNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PlayerMatchInfoNotify(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.PlayerMatchInfoNotifyOuterClass.PlayerMatchInfoNotify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_PlayerMatchInfoNotify_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_PlayerMatchInfoNotify_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\033PlayerMatchInfoNotify.proto\032\017MatchType" +
".proto\"\353\001\n\025PlayerMatchInfoNotify\022\"\n\032mech" +
"anicus_difficult_level\030\t \001(\r\022\036\n\nmatch_ty" +
"pe\030\005 \001(\0162\n.MatchType\022\030\n\020match_param_list" +
"\030\010 \003(\r\022\022\n\nmp_play_id\030\r \001(\r\022\023\n\013ACKNHNOOGJ" +
"L\030\007 \001(\r\022\020\n\010host_uid\030\004 \001(\r\022\020\n\010match_id\030\n " +
"\001(\r\022\022\n\ndungeon_id\030\017 \001(\r\022\023\n\013NDFPGBLKKAD\030\003" +
" \001(\rB\033\n\031emu.grasscutter.net.protob\006proto" +
"3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.MatchTypeOuterClass.getDescriptor(),
});
internal_static_PlayerMatchInfoNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_PlayerMatchInfoNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_PlayerMatchInfoNotify_descriptor,
new java.lang.String[] { "MechanicusDifficultLevel", "MatchType", "MatchParamList", "MpPlayId", "ACKNHNOOGJL", "HostUid", "MatchId", "DungeonId", "NDFPGBLKKAD", });
emu.grasscutter.net.proto.MatchTypeOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}