// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: PlayerStartMatchRsp.proto
package emu.grasscutter.net.proto;
public final class PlayerStartMatchRspOuterClass {
private PlayerStartMatchRspOuterClass() {}
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 PlayerStartMatchRspOrBuilder extends
// @@protoc_insertion_point(interface_extends:PlayerStartMatchRsp)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 mp_play_id = 15;
* @return The mpPlayId.
*/
int getMpPlayId();
/**
* uint32 mechanicus_difficult_level = 4;
* @return The mechanicusDifficultLevel.
*/
int getMechanicusDifficultLevel();
/**
* uint32 dungeon_id = 9;
* @return The dungeonId.
*/
int getDungeonId();
/**
* int32 retcode = 14;
* @return The retcode.
*/
int getRetcode();
/**
* uint32 param = 5;
* @return The param.
*/
int getParam();
/**
* .MatchType match_type = 2;
* @return The enum numeric value on the wire for matchType.
*/
int getMatchTypeValue();
/**
* .MatchType match_type = 2;
* @return The matchType.
*/
emu.grasscutter.net.proto.MatchTypeOuterClass.MatchType getMatchType();
/**
* uint32 match_id = 7;
* @return The matchId.
*/
int getMatchId();
/**
* uint32 punish_end_time = 10;
* @return The punishEndTime.
*/
int getPunishEndTime();
}
/**
*
* CmdId: 4158 * Obf: EPIGPKHDAID ** * Protobuf type {@code PlayerStartMatchRsp} */ public static final class PlayerStartMatchRsp extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:PlayerStartMatchRsp) PlayerStartMatchRspOrBuilder { private static final long serialVersionUID = 0L; // Use PlayerStartMatchRsp.newBuilder() to construct. private PlayerStartMatchRsp(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } private PlayerStartMatchRsp() { matchType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PlayerStartMatchRsp(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PlayerStartMatchRsp( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 16: { int rawValue = input.readEnum(); matchType_ = rawValue; break; } case 32: { mechanicusDifficultLevel_ = input.readUInt32(); break; } case 40: { param_ = input.readUInt32(); break; } case 56: { matchId_ = input.readUInt32(); break; } case 72: { dungeonId_ = input.readUInt32(); break; } case 80: { punishEndTime_ = input.readUInt32(); break; } case 112: { retcode_ = input.readInt32(); break; } case 120: { mpPlayId_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.internal_static_PlayerStartMatchRsp_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.internal_static_PlayerStartMatchRsp_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp.class, emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp.Builder.class); } public static final int MP_PLAY_ID_FIELD_NUMBER = 15; private int mpPlayId_; /** *
uint32 mp_play_id = 15;
* @return The mpPlayId.
*/
@java.lang.Override
public int getMpPlayId() {
return mpPlayId_;
}
public static final int MECHANICUS_DIFFICULT_LEVEL_FIELD_NUMBER = 4;
private int mechanicusDifficultLevel_;
/**
* uint32 mechanicus_difficult_level = 4;
* @return The mechanicusDifficultLevel.
*/
@java.lang.Override
public int getMechanicusDifficultLevel() {
return mechanicusDifficultLevel_;
}
public static final int DUNGEON_ID_FIELD_NUMBER = 9;
private int dungeonId_;
/**
* uint32 dungeon_id = 9;
* @return The dungeonId.
*/
@java.lang.Override
public int getDungeonId() {
return dungeonId_;
}
public static final int RETCODE_FIELD_NUMBER = 14;
private int retcode_;
/**
* int32 retcode = 14;
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
public static final int PARAM_FIELD_NUMBER = 5;
private int param_;
/**
* uint32 param = 5;
* @return The param.
*/
@java.lang.Override
public int getParam() {
return param_;
}
public static final int MATCH_TYPE_FIELD_NUMBER = 2;
private int matchType_;
/**
* .MatchType match_type = 2;
* @return The enum numeric value on the wire for matchType.
*/
@java.lang.Override public int getMatchTypeValue() {
return matchType_;
}
/**
* .MatchType match_type = 2;
* @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_ID_FIELD_NUMBER = 7;
private int matchId_;
/**
* uint32 match_id = 7;
* @return The matchId.
*/
@java.lang.Override
public int getMatchId() {
return matchId_;
}
public static final int PUNISH_END_TIME_FIELD_NUMBER = 10;
private int punishEndTime_;
/**
* uint32 punish_end_time = 10;
* @return The punishEndTime.
*/
@java.lang.Override
public int getPunishEndTime() {
return punishEndTime_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (matchType_ != emu.grasscutter.net.proto.MatchTypeOuterClass.MatchType.MATCH_TYPE_NONE.getNumber()) {
output.writeEnum(2, matchType_);
}
if (mechanicusDifficultLevel_ != 0) {
output.writeUInt32(4, mechanicusDifficultLevel_);
}
if (param_ != 0) {
output.writeUInt32(5, param_);
}
if (matchId_ != 0) {
output.writeUInt32(7, matchId_);
}
if (dungeonId_ != 0) {
output.writeUInt32(9, dungeonId_);
}
if (punishEndTime_ != 0) {
output.writeUInt32(10, punishEndTime_);
}
if (retcode_ != 0) {
output.writeInt32(14, retcode_);
}
if (mpPlayId_ != 0) {
output.writeUInt32(15, mpPlayId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (matchType_ != emu.grasscutter.net.proto.MatchTypeOuterClass.MatchType.MATCH_TYPE_NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, matchType_);
}
if (mechanicusDifficultLevel_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, mechanicusDifficultLevel_);
}
if (param_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, param_);
}
if (matchId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, matchId_);
}
if (dungeonId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, dungeonId_);
}
if (punishEndTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, punishEndTime_);
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(14, retcode_);
}
if (mpPlayId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, mpPlayId_);
}
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.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp other = (emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp) obj;
if (getMpPlayId()
!= other.getMpPlayId()) return false;
if (getMechanicusDifficultLevel()
!= other.getMechanicusDifficultLevel()) return false;
if (getDungeonId()
!= other.getDungeonId()) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (getParam()
!= other.getParam()) return false;
if (matchType_ != other.matchType_) return false;
if (getMatchId()
!= other.getMatchId()) return false;
if (getPunishEndTime()
!= other.getPunishEndTime()) 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) + MP_PLAY_ID_FIELD_NUMBER;
hash = (53 * hash) + getMpPlayId();
hash = (37 * hash) + MECHANICUS_DIFFICULT_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getMechanicusDifficultLevel();
hash = (37 * hash) + DUNGEON_ID_FIELD_NUMBER;
hash = (53 * hash) + getDungeonId();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + PARAM_FIELD_NUMBER;
hash = (53 * hash) + getParam();
hash = (37 * hash) + MATCH_TYPE_FIELD_NUMBER;
hash = (53 * hash) + matchType_;
hash = (37 * hash) + MATCH_ID_FIELD_NUMBER;
hash = (53 * hash) + getMatchId();
hash = (37 * hash) + PUNISH_END_TIME_FIELD_NUMBER;
hash = (53 * hash) + getPunishEndTime();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp 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.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp 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.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp 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.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp 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.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp 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.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp 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: 4158 * Obf: EPIGPKHDAID ** * Protobuf type {@code PlayerStartMatchRsp} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
uint32 mp_play_id = 15;
* @return The mpPlayId.
*/
@java.lang.Override
public int getMpPlayId() {
return mpPlayId_;
}
/**
* uint32 mp_play_id = 15;
* @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 = 15;
* @return This builder for chaining.
*/
public Builder clearMpPlayId() {
mpPlayId_ = 0;
onChanged();
return this;
}
private int mechanicusDifficultLevel_ ;
/**
* uint32 mechanicus_difficult_level = 4;
* @return The mechanicusDifficultLevel.
*/
@java.lang.Override
public int getMechanicusDifficultLevel() {
return mechanicusDifficultLevel_;
}
/**
* uint32 mechanicus_difficult_level = 4;
* @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 = 4;
* @return This builder for chaining.
*/
public Builder clearMechanicusDifficultLevel() {
mechanicusDifficultLevel_ = 0;
onChanged();
return this;
}
private int dungeonId_ ;
/**
* uint32 dungeon_id = 9;
* @return The dungeonId.
*/
@java.lang.Override
public int getDungeonId() {
return dungeonId_;
}
/**
* uint32 dungeon_id = 9;
* @param value The dungeonId to set.
* @return This builder for chaining.
*/
public Builder setDungeonId(int value) {
dungeonId_ = value;
onChanged();
return this;
}
/**
* uint32 dungeon_id = 9;
* @return This builder for chaining.
*/
public Builder clearDungeonId() {
dungeonId_ = 0;
onChanged();
return this;
}
private int retcode_ ;
/**
* int32 retcode = 14;
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* int32 retcode = 14;
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
retcode_ = value;
onChanged();
return this;
}
/**
* int32 retcode = 14;
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 0;
onChanged();
return this;
}
private int param_ ;
/**
* uint32 param = 5;
* @return The param.
*/
@java.lang.Override
public int getParam() {
return param_;
}
/**
* uint32 param = 5;
* @param value The param to set.
* @return This builder for chaining.
*/
public Builder setParam(int value) {
param_ = value;
onChanged();
return this;
}
/**
* uint32 param = 5;
* @return This builder for chaining.
*/
public Builder clearParam() {
param_ = 0;
onChanged();
return this;
}
private int matchType_ = 0;
/**
* .MatchType match_type = 2;
* @return The enum numeric value on the wire for matchType.
*/
@java.lang.Override public int getMatchTypeValue() {
return matchType_;
}
/**
* .MatchType match_type = 2;
* @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 = 2;
* @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 = 2;
* @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 = 2;
* @return This builder for chaining.
*/
public Builder clearMatchType() {
matchType_ = 0;
onChanged();
return this;
}
private int matchId_ ;
/**
* uint32 match_id = 7;
* @return The matchId.
*/
@java.lang.Override
public int getMatchId() {
return matchId_;
}
/**
* uint32 match_id = 7;
* @param value The matchId to set.
* @return This builder for chaining.
*/
public Builder setMatchId(int value) {
matchId_ = value;
onChanged();
return this;
}
/**
* uint32 match_id = 7;
* @return This builder for chaining.
*/
public Builder clearMatchId() {
matchId_ = 0;
onChanged();
return this;
}
private int punishEndTime_ ;
/**
* uint32 punish_end_time = 10;
* @return The punishEndTime.
*/
@java.lang.Override
public int getPunishEndTime() {
return punishEndTime_;
}
/**
* uint32 punish_end_time = 10;
* @param value The punishEndTime to set.
* @return This builder for chaining.
*/
public Builder setPunishEndTime(int value) {
punishEndTime_ = value;
onChanged();
return this;
}
/**
* uint32 punish_end_time = 10;
* @return This builder for chaining.
*/
public Builder clearPunishEndTime() {
punishEndTime_ = 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:PlayerStartMatchRsp)
}
// @@protoc_insertion_point(class_scope:PlayerStartMatchRsp)
private static final emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp();
}
public static emu.grasscutter.net.proto.PlayerStartMatchRspOuterClass.PlayerStartMatchRsp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser