// Generated by the protocol buffer compiler. DO NOT EDIT! // source: DungeonChallengeFinishNotify.proto package emu.grasscutter.net.proto; public final class DungeonChallengeFinishNotifyOuterClass { private DungeonChallengeFinishNotifyOuterClass() {} 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 DungeonChallengeFinishNotifyOrBuilder extends // @@protoc_insertion_point(interface_extends:DungeonChallengeFinishNotify) com.google.protobuf.MessageOrBuilder { /** * bool is_new_record = 9; * @return The isNewRecord. */ boolean getIsNewRecord(); /** * uint32 current_value = 5; * @return The currentValue. */ int getCurrentValue(); /** * .ChallengeFinishType finish_type = 3; * @return The enum numeric value on the wire for finishType. */ int getFinishTypeValue(); /** * .ChallengeFinishType finish_type = 3; * @return The finishType. */ emu.grasscutter.net.proto.ChallengeFinishTypeOuterClass.ChallengeFinishType getFinishType(); /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ int getStrengthenPointDataMapCount(); /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ boolean containsStrengthenPointDataMap( int key); /** * Use {@link #getStrengthenPointDataMapMap()} instead. */ @java.lang.Deprecated java.util.Map getStrengthenPointDataMap(); /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ java.util.Map getStrengthenPointDataMapMap(); /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData getStrengthenPointDataMapOrDefault( int key, emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData defaultValue); /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData getStrengthenPointDataMapOrThrow( int key); /** * uint32 challenge_record_type = 2; * @return The challengeRecordType. */ int getChallengeRecordType(); /** * bool is_success = 8; * @return The isSuccess. */ boolean getIsSuccess(); /** * uint32 challenge_index = 12; * @return The challengeIndex. */ int getChallengeIndex(); /** * uint32 time_cost = 7; * @return The timeCost. */ int getTimeCost(); /** * .ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; * @return Whether the channellerSlabLoopDungeonResultInfo field is set. */ boolean hasChannellerSlabLoopDungeonResultInfo(); /** * .ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; * @return The channellerSlabLoopDungeonResultInfo. */ emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo getChannellerSlabLoopDungeonResultInfo(); /** * .ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; */ emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfoOrBuilder getChannellerSlabLoopDungeonResultInfoOrBuilder(); /** * .EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; * @return Whether the effigyChallengeDungeonResultInfo field is set. */ boolean hasEffigyChallengeDungeonResultInfo(); /** * .EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; * @return The effigyChallengeDungeonResultInfo. */ emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo getEffigyChallengeDungeonResultInfo(); /** * .EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; */ emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfoOrBuilder getEffigyChallengeDungeonResultInfoOrBuilder(); /** * .PotionDungeonResultInfo potion_dungeon_result_info = 216; * @return Whether the potionDungeonResultInfo field is set. */ boolean hasPotionDungeonResultInfo(); /** * .PotionDungeonResultInfo potion_dungeon_result_info = 216; * @return The potionDungeonResultInfo. */ emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo getPotionDungeonResultInfo(); /** * .PotionDungeonResultInfo potion_dungeon_result_info = 216; */ emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfoOrBuilder getPotionDungeonResultInfoOrBuilder(); /** * .CustomDungeonResultInfo custom_dungeon_result_info = 1678; * @return Whether the customDungeonResultInfo field is set. */ boolean hasCustomDungeonResultInfo(); /** * .CustomDungeonResultInfo custom_dungeon_result_info = 1678; * @return The customDungeonResultInfo. */ emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo getCustomDungeonResultInfo(); /** * .CustomDungeonResultInfo custom_dungeon_result_info = 1678; */ emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfoOrBuilder getCustomDungeonResultInfoOrBuilder(); public emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify.DetailCase getDetailCase(); } /** *
   * enum CmdId {
   *   option allow_alias = true;
   *   NONE = 0;
   *   CMD_ID = 916;
   *   ENET_CHANNEL_ID = 0;
   *   ENET_IS_RELIABLE = 1;
   * }
   * 
* * Protobuf type {@code DungeonChallengeFinishNotify} */ public static final class DungeonChallengeFinishNotify extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:DungeonChallengeFinishNotify) DungeonChallengeFinishNotifyOrBuilder { private static final long serialVersionUID = 0L; // Use DungeonChallengeFinishNotify.newBuilder() to construct. private DungeonChallengeFinishNotify(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DungeonChallengeFinishNotify() { finishType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DungeonChallengeFinishNotify(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DungeonChallengeFinishNotify( 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 16: { challengeRecordType_ = input.readUInt32(); break; } case 24: { int rawValue = input.readEnum(); finishType_ = rawValue; break; } case 40: { currentValue_ = input.readUInt32(); break; } case 56: { timeCost_ = input.readUInt32(); break; } case 64: { isSuccess_ = input.readBool(); break; } case 72: { isNewRecord_ = input.readBool(); break; } case 90: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { strengthenPointDataMap_ = com.google.protobuf.MapField.newMapField( StrengthenPointDataMapDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry strengthenPointDataMap__ = input.readMessage( StrengthenPointDataMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); strengthenPointDataMap_.getMutableMap().put( strengthenPointDataMap__.getKey(), strengthenPointDataMap__.getValue()); break; } case 96: { challengeIndex_ = input.readUInt32(); break; } case 610: { emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo.Builder subBuilder = null; if (detailCase_ == 76) { subBuilder = ((emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo) detail_).toBuilder(); } detail_ = input.readMessage(emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo) detail_); detail_ = subBuilder.buildPartial(); } detailCase_ = 76; break; } case 1730: { emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo.Builder subBuilder = null; if (detailCase_ == 216) { subBuilder = ((emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo) detail_).toBuilder(); } detail_ = input.readMessage(emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo) detail_); detail_ = subBuilder.buildPartial(); } detailCase_ = 216; break; } case 12362: { emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo.Builder subBuilder = null; if (detailCase_ == 1545) { subBuilder = ((emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo) detail_).toBuilder(); } detail_ = input.readMessage(emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo) detail_); detail_ = subBuilder.buildPartial(); } detailCase_ = 1545; break; } case 13426: { emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo.Builder subBuilder = null; if (detailCase_ == 1678) { subBuilder = ((emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo) detail_).toBuilder(); } detail_ = input.readMessage(emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo) detail_); detail_ = subBuilder.buildPartial(); } detailCase_ = 1678; 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.DungeonChallengeFinishNotifyOuterClass.internal_static_DungeonChallengeFinishNotify_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 11: return internalGetStrengthenPointDataMap(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.internal_static_DungeonChallengeFinishNotify_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify.class, emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify.Builder.class); } private int detailCase_ = 0; private java.lang.Object detail_; public enum DetailCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CHANNELLER_SLAB_LOOP_DUNGEON_RESULT_INFO(1545), EFFIGY_CHALLENGE_DUNGEON_RESULT_INFO(76), POTION_DUNGEON_RESULT_INFO(216), CUSTOM_DUNGEON_RESULT_INFO(1678), DETAIL_NOT_SET(0); private final int value; private DetailCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DetailCase valueOf(int value) { return forNumber(value); } public static DetailCase forNumber(int value) { switch (value) { case 1545: return CHANNELLER_SLAB_LOOP_DUNGEON_RESULT_INFO; case 76: return EFFIGY_CHALLENGE_DUNGEON_RESULT_INFO; case 216: return POTION_DUNGEON_RESULT_INFO; case 1678: return CUSTOM_DUNGEON_RESULT_INFO; case 0: return DETAIL_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DetailCase getDetailCase() { return DetailCase.forNumber( detailCase_); } public static final int IS_NEW_RECORD_FIELD_NUMBER = 9; private boolean isNewRecord_; /** * bool is_new_record = 9; * @return The isNewRecord. */ @java.lang.Override public boolean getIsNewRecord() { return isNewRecord_; } public static final int CURRENT_VALUE_FIELD_NUMBER = 5; private int currentValue_; /** * uint32 current_value = 5; * @return The currentValue. */ @java.lang.Override public int getCurrentValue() { return currentValue_; } public static final int FINISH_TYPE_FIELD_NUMBER = 3; private int finishType_; /** * .ChallengeFinishType finish_type = 3; * @return The enum numeric value on the wire for finishType. */ @java.lang.Override public int getFinishTypeValue() { return finishType_; } /** * .ChallengeFinishType finish_type = 3; * @return The finishType. */ @java.lang.Override public emu.grasscutter.net.proto.ChallengeFinishTypeOuterClass.ChallengeFinishType getFinishType() { @SuppressWarnings("deprecation") emu.grasscutter.net.proto.ChallengeFinishTypeOuterClass.ChallengeFinishType result = emu.grasscutter.net.proto.ChallengeFinishTypeOuterClass.ChallengeFinishType.valueOf(finishType_); return result == null ? emu.grasscutter.net.proto.ChallengeFinishTypeOuterClass.ChallengeFinishType.UNRECOGNIZED : result; } public static final int STRENGTHEN_POINT_DATA_MAP_FIELD_NUMBER = 11; private static final class StrengthenPointDataMapDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.Integer, emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.internal_static_DungeonChallengeFinishNotify_StrengthenPointDataMapEntry_descriptor, com.google.protobuf.WireFormat.FieldType.UINT32, 0, com.google.protobuf.WireFormat.FieldType.MESSAGE, emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.Integer, emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData> strengthenPointDataMap_; private com.google.protobuf.MapField internalGetStrengthenPointDataMap() { if (strengthenPointDataMap_ == null) { return com.google.protobuf.MapField.emptyMapField( StrengthenPointDataMapDefaultEntryHolder.defaultEntry); } return strengthenPointDataMap_; } public int getStrengthenPointDataMapCount() { return internalGetStrengthenPointDataMap().getMap().size(); } /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ @java.lang.Override public boolean containsStrengthenPointDataMap( int key) { return internalGetStrengthenPointDataMap().getMap().containsKey(key); } /** * Use {@link #getStrengthenPointDataMapMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getStrengthenPointDataMap() { return getStrengthenPointDataMapMap(); } /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ @java.lang.Override public java.util.Map getStrengthenPointDataMapMap() { return internalGetStrengthenPointDataMap().getMap(); } /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ @java.lang.Override public emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData getStrengthenPointDataMapOrDefault( int key, emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData defaultValue) { java.util.Map map = internalGetStrengthenPointDataMap().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ @java.lang.Override public emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData getStrengthenPointDataMapOrThrow( int key) { java.util.Map map = internalGetStrengthenPointDataMap().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int CHALLENGE_RECORD_TYPE_FIELD_NUMBER = 2; private int challengeRecordType_; /** * uint32 challenge_record_type = 2; * @return The challengeRecordType. */ @java.lang.Override public int getChallengeRecordType() { return challengeRecordType_; } public static final int IS_SUCCESS_FIELD_NUMBER = 8; private boolean isSuccess_; /** * bool is_success = 8; * @return The isSuccess. */ @java.lang.Override public boolean getIsSuccess() { return isSuccess_; } public static final int CHALLENGE_INDEX_FIELD_NUMBER = 12; private int challengeIndex_; /** * uint32 challenge_index = 12; * @return The challengeIndex. */ @java.lang.Override public int getChallengeIndex() { return challengeIndex_; } public static final int TIME_COST_FIELD_NUMBER = 7; private int timeCost_; /** * uint32 time_cost = 7; * @return The timeCost. */ @java.lang.Override public int getTimeCost() { return timeCost_; } public static final int CHANNELLER_SLAB_LOOP_DUNGEON_RESULT_INFO_FIELD_NUMBER = 1545; /** * .ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; * @return Whether the channellerSlabLoopDungeonResultInfo field is set. */ @java.lang.Override public boolean hasChannellerSlabLoopDungeonResultInfo() { return detailCase_ == 1545; } /** * .ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; * @return The channellerSlabLoopDungeonResultInfo. */ @java.lang.Override public emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo getChannellerSlabLoopDungeonResultInfo() { if (detailCase_ == 1545) { return (emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo.getDefaultInstance(); } /** * .ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; */ @java.lang.Override public emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfoOrBuilder getChannellerSlabLoopDungeonResultInfoOrBuilder() { if (detailCase_ == 1545) { return (emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo.getDefaultInstance(); } public static final int EFFIGY_CHALLENGE_DUNGEON_RESULT_INFO_FIELD_NUMBER = 76; /** * .EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; * @return Whether the effigyChallengeDungeonResultInfo field is set. */ @java.lang.Override public boolean hasEffigyChallengeDungeonResultInfo() { return detailCase_ == 76; } /** * .EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; * @return The effigyChallengeDungeonResultInfo. */ @java.lang.Override public emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo getEffigyChallengeDungeonResultInfo() { if (detailCase_ == 76) { return (emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo.getDefaultInstance(); } /** * .EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; */ @java.lang.Override public emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfoOrBuilder getEffigyChallengeDungeonResultInfoOrBuilder() { if (detailCase_ == 76) { return (emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo.getDefaultInstance(); } public static final int POTION_DUNGEON_RESULT_INFO_FIELD_NUMBER = 216; /** * .PotionDungeonResultInfo potion_dungeon_result_info = 216; * @return Whether the potionDungeonResultInfo field is set. */ @java.lang.Override public boolean hasPotionDungeonResultInfo() { return detailCase_ == 216; } /** * .PotionDungeonResultInfo potion_dungeon_result_info = 216; * @return The potionDungeonResultInfo. */ @java.lang.Override public emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo getPotionDungeonResultInfo() { if (detailCase_ == 216) { return (emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo.getDefaultInstance(); } /** * .PotionDungeonResultInfo potion_dungeon_result_info = 216; */ @java.lang.Override public emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfoOrBuilder getPotionDungeonResultInfoOrBuilder() { if (detailCase_ == 216) { return (emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo.getDefaultInstance(); } public static final int CUSTOM_DUNGEON_RESULT_INFO_FIELD_NUMBER = 1678; /** * .CustomDungeonResultInfo custom_dungeon_result_info = 1678; * @return Whether the customDungeonResultInfo field is set. */ @java.lang.Override public boolean hasCustomDungeonResultInfo() { return detailCase_ == 1678; } /** * .CustomDungeonResultInfo custom_dungeon_result_info = 1678; * @return The customDungeonResultInfo. */ @java.lang.Override public emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo getCustomDungeonResultInfo() { if (detailCase_ == 1678) { return (emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo.getDefaultInstance(); } /** * .CustomDungeonResultInfo custom_dungeon_result_info = 1678; */ @java.lang.Override public emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfoOrBuilder getCustomDungeonResultInfoOrBuilder() { if (detailCase_ == 1678) { return (emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo.getDefaultInstance(); } 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 (challengeRecordType_ != 0) { output.writeUInt32(2, challengeRecordType_); } if (finishType_ != emu.grasscutter.net.proto.ChallengeFinishTypeOuterClass.ChallengeFinishType.CHALLENGE_FINISH_TYPE_NONE.getNumber()) { output.writeEnum(3, finishType_); } if (currentValue_ != 0) { output.writeUInt32(5, currentValue_); } if (timeCost_ != 0) { output.writeUInt32(7, timeCost_); } if (isSuccess_ != false) { output.writeBool(8, isSuccess_); } if (isNewRecord_ != false) { output.writeBool(9, isNewRecord_); } com.google.protobuf.GeneratedMessageV3 .serializeIntegerMapTo( output, internalGetStrengthenPointDataMap(), StrengthenPointDataMapDefaultEntryHolder.defaultEntry, 11); if (challengeIndex_ != 0) { output.writeUInt32(12, challengeIndex_); } if (detailCase_ == 76) { output.writeMessage(76, (emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo) detail_); } if (detailCase_ == 216) { output.writeMessage(216, (emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo) detail_); } if (detailCase_ == 1545) { output.writeMessage(1545, (emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo) detail_); } if (detailCase_ == 1678) { output.writeMessage(1678, (emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo) detail_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (challengeRecordType_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, challengeRecordType_); } if (finishType_ != emu.grasscutter.net.proto.ChallengeFinishTypeOuterClass.ChallengeFinishType.CHALLENGE_FINISH_TYPE_NONE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, finishType_); } if (currentValue_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, currentValue_); } if (timeCost_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, timeCost_); } if (isSuccess_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, isSuccess_); } if (isNewRecord_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, isNewRecord_); } for (java.util.Map.Entry entry : internalGetStrengthenPointDataMap().getMap().entrySet()) { com.google.protobuf.MapEntry strengthenPointDataMap__ = StrengthenPointDataMapDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, strengthenPointDataMap__); } if (challengeIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(12, challengeIndex_); } if (detailCase_ == 76) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(76, (emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo) detail_); } if (detailCase_ == 216) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(216, (emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo) detail_); } if (detailCase_ == 1545) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1545, (emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo) detail_); } if (detailCase_ == 1678) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1678, (emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo) detail_); } 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.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify)) { return super.equals(obj); } emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify other = (emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify) obj; if (getIsNewRecord() != other.getIsNewRecord()) return false; if (getCurrentValue() != other.getCurrentValue()) return false; if (finishType_ != other.finishType_) return false; if (!internalGetStrengthenPointDataMap().equals( other.internalGetStrengthenPointDataMap())) return false; if (getChallengeRecordType() != other.getChallengeRecordType()) return false; if (getIsSuccess() != other.getIsSuccess()) return false; if (getChallengeIndex() != other.getChallengeIndex()) return false; if (getTimeCost() != other.getTimeCost()) return false; if (!getDetailCase().equals(other.getDetailCase())) return false; switch (detailCase_) { case 1545: if (!getChannellerSlabLoopDungeonResultInfo() .equals(other.getChannellerSlabLoopDungeonResultInfo())) return false; break; case 76: if (!getEffigyChallengeDungeonResultInfo() .equals(other.getEffigyChallengeDungeonResultInfo())) return false; break; case 216: if (!getPotionDungeonResultInfo() .equals(other.getPotionDungeonResultInfo())) return false; break; case 1678: if (!getCustomDungeonResultInfo() .equals(other.getCustomDungeonResultInfo())) return false; break; case 0: default: } 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) + IS_NEW_RECORD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsNewRecord()); hash = (37 * hash) + CURRENT_VALUE_FIELD_NUMBER; hash = (53 * hash) + getCurrentValue(); hash = (37 * hash) + FINISH_TYPE_FIELD_NUMBER; hash = (53 * hash) + finishType_; if (!internalGetStrengthenPointDataMap().getMap().isEmpty()) { hash = (37 * hash) + STRENGTHEN_POINT_DATA_MAP_FIELD_NUMBER; hash = (53 * hash) + internalGetStrengthenPointDataMap().hashCode(); } hash = (37 * hash) + CHALLENGE_RECORD_TYPE_FIELD_NUMBER; hash = (53 * hash) + getChallengeRecordType(); hash = (37 * hash) + IS_SUCCESS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsSuccess()); hash = (37 * hash) + CHALLENGE_INDEX_FIELD_NUMBER; hash = (53 * hash) + getChallengeIndex(); hash = (37 * hash) + TIME_COST_FIELD_NUMBER; hash = (53 * hash) + getTimeCost(); switch (detailCase_) { case 1545: hash = (37 * hash) + CHANNELLER_SLAB_LOOP_DUNGEON_RESULT_INFO_FIELD_NUMBER; hash = (53 * hash) + getChannellerSlabLoopDungeonResultInfo().hashCode(); break; case 76: hash = (37 * hash) + EFFIGY_CHALLENGE_DUNGEON_RESULT_INFO_FIELD_NUMBER; hash = (53 * hash) + getEffigyChallengeDungeonResultInfo().hashCode(); break; case 216: hash = (37 * hash) + POTION_DUNGEON_RESULT_INFO_FIELD_NUMBER; hash = (53 * hash) + getPotionDungeonResultInfo().hashCode(); break; case 1678: hash = (37 * hash) + CUSTOM_DUNGEON_RESULT_INFO_FIELD_NUMBER; hash = (53 * hash) + getCustomDungeonResultInfo().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify 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.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify 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.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify 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.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify 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.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify 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.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify 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; } /** *
     * enum CmdId {
     *   option allow_alias = true;
     *   NONE = 0;
     *   CMD_ID = 916;
     *   ENET_CHANNEL_ID = 0;
     *   ENET_IS_RELIABLE = 1;
     * }
     * 
* * Protobuf type {@code DungeonChallengeFinishNotify} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:DungeonChallengeFinishNotify) emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotifyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.internal_static_DungeonChallengeFinishNotify_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 11: return internalGetStrengthenPointDataMap(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 11: return internalGetMutableStrengthenPointDataMap(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.internal_static_DungeonChallengeFinishNotify_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify.class, emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify.Builder.class); } // Construct using emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify.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(); isNewRecord_ = false; currentValue_ = 0; finishType_ = 0; internalGetMutableStrengthenPointDataMap().clear(); challengeRecordType_ = 0; isSuccess_ = false; challengeIndex_ = 0; timeCost_ = 0; detailCase_ = 0; detail_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.internal_static_DungeonChallengeFinishNotify_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify getDefaultInstanceForType() { return emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify build() { emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify buildPartial() { emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify result = new emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify(this); int from_bitField0_ = bitField0_; result.isNewRecord_ = isNewRecord_; result.currentValue_ = currentValue_; result.finishType_ = finishType_; result.strengthenPointDataMap_ = internalGetStrengthenPointDataMap(); result.strengthenPointDataMap_.makeImmutable(); result.challengeRecordType_ = challengeRecordType_; result.isSuccess_ = isSuccess_; result.challengeIndex_ = challengeIndex_; result.timeCost_ = timeCost_; if (detailCase_ == 1545) { if (channellerSlabLoopDungeonResultInfoBuilder_ == null) { result.detail_ = detail_; } else { result.detail_ = channellerSlabLoopDungeonResultInfoBuilder_.build(); } } if (detailCase_ == 76) { if (effigyChallengeDungeonResultInfoBuilder_ == null) { result.detail_ = detail_; } else { result.detail_ = effigyChallengeDungeonResultInfoBuilder_.build(); } } if (detailCase_ == 216) { if (potionDungeonResultInfoBuilder_ == null) { result.detail_ = detail_; } else { result.detail_ = potionDungeonResultInfoBuilder_.build(); } } if (detailCase_ == 1678) { if (customDungeonResultInfoBuilder_ == null) { result.detail_ = detail_; } else { result.detail_ = customDungeonResultInfoBuilder_.build(); } } result.detailCase_ = detailCase_; 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.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify) { return mergeFrom((emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify other) { if (other == emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify.getDefaultInstance()) return this; if (other.getIsNewRecord() != false) { setIsNewRecord(other.getIsNewRecord()); } if (other.getCurrentValue() != 0) { setCurrentValue(other.getCurrentValue()); } if (other.finishType_ != 0) { setFinishTypeValue(other.getFinishTypeValue()); } internalGetMutableStrengthenPointDataMap().mergeFrom( other.internalGetStrengthenPointDataMap()); if (other.getChallengeRecordType() != 0) { setChallengeRecordType(other.getChallengeRecordType()); } if (other.getIsSuccess() != false) { setIsSuccess(other.getIsSuccess()); } if (other.getChallengeIndex() != 0) { setChallengeIndex(other.getChallengeIndex()); } if (other.getTimeCost() != 0) { setTimeCost(other.getTimeCost()); } switch (other.getDetailCase()) { case CHANNELLER_SLAB_LOOP_DUNGEON_RESULT_INFO: { mergeChannellerSlabLoopDungeonResultInfo(other.getChannellerSlabLoopDungeonResultInfo()); break; } case EFFIGY_CHALLENGE_DUNGEON_RESULT_INFO: { mergeEffigyChallengeDungeonResultInfo(other.getEffigyChallengeDungeonResultInfo()); break; } case POTION_DUNGEON_RESULT_INFO: { mergePotionDungeonResultInfo(other.getPotionDungeonResultInfo()); break; } case CUSTOM_DUNGEON_RESULT_INFO: { mergeCustomDungeonResultInfo(other.getCustomDungeonResultInfo()); break; } case DETAIL_NOT_SET: { break; } } 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.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int detailCase_ = 0; private java.lang.Object detail_; public DetailCase getDetailCase() { return DetailCase.forNumber( detailCase_); } public Builder clearDetail() { detailCase_ = 0; detail_ = null; onChanged(); return this; } private int bitField0_; private boolean isNewRecord_ ; /** * bool is_new_record = 9; * @return The isNewRecord. */ @java.lang.Override public boolean getIsNewRecord() { return isNewRecord_; } /** * bool is_new_record = 9; * @param value The isNewRecord to set. * @return This builder for chaining. */ public Builder setIsNewRecord(boolean value) { isNewRecord_ = value; onChanged(); return this; } /** * bool is_new_record = 9; * @return This builder for chaining. */ public Builder clearIsNewRecord() { isNewRecord_ = false; onChanged(); return this; } private int currentValue_ ; /** * uint32 current_value = 5; * @return The currentValue. */ @java.lang.Override public int getCurrentValue() { return currentValue_; } /** * uint32 current_value = 5; * @param value The currentValue to set. * @return This builder for chaining. */ public Builder setCurrentValue(int value) { currentValue_ = value; onChanged(); return this; } /** * uint32 current_value = 5; * @return This builder for chaining. */ public Builder clearCurrentValue() { currentValue_ = 0; onChanged(); return this; } private int finishType_ = 0; /** * .ChallengeFinishType finish_type = 3; * @return The enum numeric value on the wire for finishType. */ @java.lang.Override public int getFinishTypeValue() { return finishType_; } /** * .ChallengeFinishType finish_type = 3; * @param value The enum numeric value on the wire for finishType to set. * @return This builder for chaining. */ public Builder setFinishTypeValue(int value) { finishType_ = value; onChanged(); return this; } /** * .ChallengeFinishType finish_type = 3; * @return The finishType. */ @java.lang.Override public emu.grasscutter.net.proto.ChallengeFinishTypeOuterClass.ChallengeFinishType getFinishType() { @SuppressWarnings("deprecation") emu.grasscutter.net.proto.ChallengeFinishTypeOuterClass.ChallengeFinishType result = emu.grasscutter.net.proto.ChallengeFinishTypeOuterClass.ChallengeFinishType.valueOf(finishType_); return result == null ? emu.grasscutter.net.proto.ChallengeFinishTypeOuterClass.ChallengeFinishType.UNRECOGNIZED : result; } /** * .ChallengeFinishType finish_type = 3; * @param value The finishType to set. * @return This builder for chaining. */ public Builder setFinishType(emu.grasscutter.net.proto.ChallengeFinishTypeOuterClass.ChallengeFinishType value) { if (value == null) { throw new NullPointerException(); } finishType_ = value.getNumber(); onChanged(); return this; } /** * .ChallengeFinishType finish_type = 3; * @return This builder for chaining. */ public Builder clearFinishType() { finishType_ = 0; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.Integer, emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData> strengthenPointDataMap_; private com.google.protobuf.MapField internalGetStrengthenPointDataMap() { if (strengthenPointDataMap_ == null) { return com.google.protobuf.MapField.emptyMapField( StrengthenPointDataMapDefaultEntryHolder.defaultEntry); } return strengthenPointDataMap_; } private com.google.protobuf.MapField internalGetMutableStrengthenPointDataMap() { onChanged();; if (strengthenPointDataMap_ == null) { strengthenPointDataMap_ = com.google.protobuf.MapField.newMapField( StrengthenPointDataMapDefaultEntryHolder.defaultEntry); } if (!strengthenPointDataMap_.isMutable()) { strengthenPointDataMap_ = strengthenPointDataMap_.copy(); } return strengthenPointDataMap_; } public int getStrengthenPointDataMapCount() { return internalGetStrengthenPointDataMap().getMap().size(); } /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ @java.lang.Override public boolean containsStrengthenPointDataMap( int key) { return internalGetStrengthenPointDataMap().getMap().containsKey(key); } /** * Use {@link #getStrengthenPointDataMapMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getStrengthenPointDataMap() { return getStrengthenPointDataMapMap(); } /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ @java.lang.Override public java.util.Map getStrengthenPointDataMapMap() { return internalGetStrengthenPointDataMap().getMap(); } /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ @java.lang.Override public emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData getStrengthenPointDataMapOrDefault( int key, emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData defaultValue) { java.util.Map map = internalGetStrengthenPointDataMap().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ @java.lang.Override public emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData getStrengthenPointDataMapOrThrow( int key) { java.util.Map map = internalGetStrengthenPointDataMap().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearStrengthenPointDataMap() { internalGetMutableStrengthenPointDataMap().getMutableMap() .clear(); return this; } /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ public Builder removeStrengthenPointDataMap( int key) { internalGetMutableStrengthenPointDataMap().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableStrengthenPointDataMap() { return internalGetMutableStrengthenPointDataMap().getMutableMap(); } /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ public Builder putStrengthenPointDataMap( int key, emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData value) { if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableStrengthenPointDataMap().getMutableMap() .put(key, value); return this; } /** * map<uint32, .StrengthenPointData> strengthen_point_data_map = 11; */ public Builder putAllStrengthenPointDataMap( java.util.Map values) { internalGetMutableStrengthenPointDataMap().getMutableMap() .putAll(values); return this; } private int challengeRecordType_ ; /** * uint32 challenge_record_type = 2; * @return The challengeRecordType. */ @java.lang.Override public int getChallengeRecordType() { return challengeRecordType_; } /** * uint32 challenge_record_type = 2; * @param value The challengeRecordType to set. * @return This builder for chaining. */ public Builder setChallengeRecordType(int value) { challengeRecordType_ = value; onChanged(); return this; } /** * uint32 challenge_record_type = 2; * @return This builder for chaining. */ public Builder clearChallengeRecordType() { challengeRecordType_ = 0; onChanged(); return this; } private boolean isSuccess_ ; /** * bool is_success = 8; * @return The isSuccess. */ @java.lang.Override public boolean getIsSuccess() { return isSuccess_; } /** * bool is_success = 8; * @param value The isSuccess to set. * @return This builder for chaining. */ public Builder setIsSuccess(boolean value) { isSuccess_ = value; onChanged(); return this; } /** * bool is_success = 8; * @return This builder for chaining. */ public Builder clearIsSuccess() { isSuccess_ = false; onChanged(); return this; } private int challengeIndex_ ; /** * uint32 challenge_index = 12; * @return The challengeIndex. */ @java.lang.Override public int getChallengeIndex() { return challengeIndex_; } /** * uint32 challenge_index = 12; * @param value The challengeIndex to set. * @return This builder for chaining. */ public Builder setChallengeIndex(int value) { challengeIndex_ = value; onChanged(); return this; } /** * uint32 challenge_index = 12; * @return This builder for chaining. */ public Builder clearChallengeIndex() { challengeIndex_ = 0; onChanged(); return this; } private int timeCost_ ; /** * uint32 time_cost = 7; * @return The timeCost. */ @java.lang.Override public int getTimeCost() { return timeCost_; } /** * uint32 time_cost = 7; * @param value The timeCost to set. * @return This builder for chaining. */ public Builder setTimeCost(int value) { timeCost_ = value; onChanged(); return this; } /** * uint32 time_cost = 7; * @return This builder for chaining. */ public Builder clearTimeCost() { timeCost_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo, emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo.Builder, emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfoOrBuilder> channellerSlabLoopDungeonResultInfoBuilder_; /** * .ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; * @return Whether the channellerSlabLoopDungeonResultInfo field is set. */ @java.lang.Override public boolean hasChannellerSlabLoopDungeonResultInfo() { return detailCase_ == 1545; } /** * .ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; * @return The channellerSlabLoopDungeonResultInfo. */ @java.lang.Override public emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo getChannellerSlabLoopDungeonResultInfo() { if (channellerSlabLoopDungeonResultInfoBuilder_ == null) { if (detailCase_ == 1545) { return (emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo.getDefaultInstance(); } else { if (detailCase_ == 1545) { return channellerSlabLoopDungeonResultInfoBuilder_.getMessage(); } return emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo.getDefaultInstance(); } } /** * .ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; */ public Builder setChannellerSlabLoopDungeonResultInfo(emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo value) { if (channellerSlabLoopDungeonResultInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } detail_ = value; onChanged(); } else { channellerSlabLoopDungeonResultInfoBuilder_.setMessage(value); } detailCase_ = 1545; return this; } /** * .ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; */ public Builder setChannellerSlabLoopDungeonResultInfo( emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo.Builder builderForValue) { if (channellerSlabLoopDungeonResultInfoBuilder_ == null) { detail_ = builderForValue.build(); onChanged(); } else { channellerSlabLoopDungeonResultInfoBuilder_.setMessage(builderForValue.build()); } detailCase_ = 1545; return this; } /** * .ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; */ public Builder mergeChannellerSlabLoopDungeonResultInfo(emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo value) { if (channellerSlabLoopDungeonResultInfoBuilder_ == null) { if (detailCase_ == 1545 && detail_ != emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo.getDefaultInstance()) { detail_ = emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo.newBuilder((emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo) detail_) .mergeFrom(value).buildPartial(); } else { detail_ = value; } onChanged(); } else { if (detailCase_ == 1545) { channellerSlabLoopDungeonResultInfoBuilder_.mergeFrom(value); } channellerSlabLoopDungeonResultInfoBuilder_.setMessage(value); } detailCase_ = 1545; return this; } /** * .ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; */ public Builder clearChannellerSlabLoopDungeonResultInfo() { if (channellerSlabLoopDungeonResultInfoBuilder_ == null) { if (detailCase_ == 1545) { detailCase_ = 0; detail_ = null; onChanged(); } } else { if (detailCase_ == 1545) { detailCase_ = 0; detail_ = null; } channellerSlabLoopDungeonResultInfoBuilder_.clear(); } return this; } /** * .ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; */ public emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo.Builder getChannellerSlabLoopDungeonResultInfoBuilder() { return getChannellerSlabLoopDungeonResultInfoFieldBuilder().getBuilder(); } /** * .ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; */ @java.lang.Override public emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfoOrBuilder getChannellerSlabLoopDungeonResultInfoOrBuilder() { if ((detailCase_ == 1545) && (channellerSlabLoopDungeonResultInfoBuilder_ != null)) { return channellerSlabLoopDungeonResultInfoBuilder_.getMessageOrBuilder(); } else { if (detailCase_ == 1545) { return (emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo.getDefaultInstance(); } } /** * .ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo, emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo.Builder, emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfoOrBuilder> getChannellerSlabLoopDungeonResultInfoFieldBuilder() { if (channellerSlabLoopDungeonResultInfoBuilder_ == null) { if (!(detailCase_ == 1545)) { detail_ = emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo.getDefaultInstance(); } channellerSlabLoopDungeonResultInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo, emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo.Builder, emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfoOrBuilder>( (emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.ChannelerSlabLoopDungeonResultInfo) detail_, getParentForChildren(), isClean()); detail_ = null; } detailCase_ = 1545; onChanged();; return channellerSlabLoopDungeonResultInfoBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo, emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo.Builder, emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfoOrBuilder> effigyChallengeDungeonResultInfoBuilder_; /** * .EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; * @return Whether the effigyChallengeDungeonResultInfo field is set. */ @java.lang.Override public boolean hasEffigyChallengeDungeonResultInfo() { return detailCase_ == 76; } /** * .EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; * @return The effigyChallengeDungeonResultInfo. */ @java.lang.Override public emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo getEffigyChallengeDungeonResultInfo() { if (effigyChallengeDungeonResultInfoBuilder_ == null) { if (detailCase_ == 76) { return (emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo.getDefaultInstance(); } else { if (detailCase_ == 76) { return effigyChallengeDungeonResultInfoBuilder_.getMessage(); } return emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo.getDefaultInstance(); } } /** * .EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; */ public Builder setEffigyChallengeDungeonResultInfo(emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo value) { if (effigyChallengeDungeonResultInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } detail_ = value; onChanged(); } else { effigyChallengeDungeonResultInfoBuilder_.setMessage(value); } detailCase_ = 76; return this; } /** * .EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; */ public Builder setEffigyChallengeDungeonResultInfo( emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo.Builder builderForValue) { if (effigyChallengeDungeonResultInfoBuilder_ == null) { detail_ = builderForValue.build(); onChanged(); } else { effigyChallengeDungeonResultInfoBuilder_.setMessage(builderForValue.build()); } detailCase_ = 76; return this; } /** * .EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; */ public Builder mergeEffigyChallengeDungeonResultInfo(emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo value) { if (effigyChallengeDungeonResultInfoBuilder_ == null) { if (detailCase_ == 76 && detail_ != emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo.getDefaultInstance()) { detail_ = emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo.newBuilder((emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo) detail_) .mergeFrom(value).buildPartial(); } else { detail_ = value; } onChanged(); } else { if (detailCase_ == 76) { effigyChallengeDungeonResultInfoBuilder_.mergeFrom(value); } effigyChallengeDungeonResultInfoBuilder_.setMessage(value); } detailCase_ = 76; return this; } /** * .EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; */ public Builder clearEffigyChallengeDungeonResultInfo() { if (effigyChallengeDungeonResultInfoBuilder_ == null) { if (detailCase_ == 76) { detailCase_ = 0; detail_ = null; onChanged(); } } else { if (detailCase_ == 76) { detailCase_ = 0; detail_ = null; } effigyChallengeDungeonResultInfoBuilder_.clear(); } return this; } /** * .EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; */ public emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo.Builder getEffigyChallengeDungeonResultInfoBuilder() { return getEffigyChallengeDungeonResultInfoFieldBuilder().getBuilder(); } /** * .EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; */ @java.lang.Override public emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfoOrBuilder getEffigyChallengeDungeonResultInfoOrBuilder() { if ((detailCase_ == 76) && (effigyChallengeDungeonResultInfoBuilder_ != null)) { return effigyChallengeDungeonResultInfoBuilder_.getMessageOrBuilder(); } else { if (detailCase_ == 76) { return (emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo.getDefaultInstance(); } } /** * .EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo, emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo.Builder, emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfoOrBuilder> getEffigyChallengeDungeonResultInfoFieldBuilder() { if (effigyChallengeDungeonResultInfoBuilder_ == null) { if (!(detailCase_ == 76)) { detail_ = emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo.getDefaultInstance(); } effigyChallengeDungeonResultInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo, emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo.Builder, emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfoOrBuilder>( (emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.EffigyChallengeDungeonResultInfo) detail_, getParentForChildren(), isClean()); detail_ = null; } detailCase_ = 76; onChanged();; return effigyChallengeDungeonResultInfoBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo, emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo.Builder, emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfoOrBuilder> potionDungeonResultInfoBuilder_; /** * .PotionDungeonResultInfo potion_dungeon_result_info = 216; * @return Whether the potionDungeonResultInfo field is set. */ @java.lang.Override public boolean hasPotionDungeonResultInfo() { return detailCase_ == 216; } /** * .PotionDungeonResultInfo potion_dungeon_result_info = 216; * @return The potionDungeonResultInfo. */ @java.lang.Override public emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo getPotionDungeonResultInfo() { if (potionDungeonResultInfoBuilder_ == null) { if (detailCase_ == 216) { return (emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo.getDefaultInstance(); } else { if (detailCase_ == 216) { return potionDungeonResultInfoBuilder_.getMessage(); } return emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo.getDefaultInstance(); } } /** * .PotionDungeonResultInfo potion_dungeon_result_info = 216; */ public Builder setPotionDungeonResultInfo(emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo value) { if (potionDungeonResultInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } detail_ = value; onChanged(); } else { potionDungeonResultInfoBuilder_.setMessage(value); } detailCase_ = 216; return this; } /** * .PotionDungeonResultInfo potion_dungeon_result_info = 216; */ public Builder setPotionDungeonResultInfo( emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo.Builder builderForValue) { if (potionDungeonResultInfoBuilder_ == null) { detail_ = builderForValue.build(); onChanged(); } else { potionDungeonResultInfoBuilder_.setMessage(builderForValue.build()); } detailCase_ = 216; return this; } /** * .PotionDungeonResultInfo potion_dungeon_result_info = 216; */ public Builder mergePotionDungeonResultInfo(emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo value) { if (potionDungeonResultInfoBuilder_ == null) { if (detailCase_ == 216 && detail_ != emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo.getDefaultInstance()) { detail_ = emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo.newBuilder((emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo) detail_) .mergeFrom(value).buildPartial(); } else { detail_ = value; } onChanged(); } else { if (detailCase_ == 216) { potionDungeonResultInfoBuilder_.mergeFrom(value); } potionDungeonResultInfoBuilder_.setMessage(value); } detailCase_ = 216; return this; } /** * .PotionDungeonResultInfo potion_dungeon_result_info = 216; */ public Builder clearPotionDungeonResultInfo() { if (potionDungeonResultInfoBuilder_ == null) { if (detailCase_ == 216) { detailCase_ = 0; detail_ = null; onChanged(); } } else { if (detailCase_ == 216) { detailCase_ = 0; detail_ = null; } potionDungeonResultInfoBuilder_.clear(); } return this; } /** * .PotionDungeonResultInfo potion_dungeon_result_info = 216; */ public emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo.Builder getPotionDungeonResultInfoBuilder() { return getPotionDungeonResultInfoFieldBuilder().getBuilder(); } /** * .PotionDungeonResultInfo potion_dungeon_result_info = 216; */ @java.lang.Override public emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfoOrBuilder getPotionDungeonResultInfoOrBuilder() { if ((detailCase_ == 216) && (potionDungeonResultInfoBuilder_ != null)) { return potionDungeonResultInfoBuilder_.getMessageOrBuilder(); } else { if (detailCase_ == 216) { return (emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo.getDefaultInstance(); } } /** * .PotionDungeonResultInfo potion_dungeon_result_info = 216; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo, emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo.Builder, emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfoOrBuilder> getPotionDungeonResultInfoFieldBuilder() { if (potionDungeonResultInfoBuilder_ == null) { if (!(detailCase_ == 216)) { detail_ = emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo.getDefaultInstance(); } potionDungeonResultInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo, emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo.Builder, emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfoOrBuilder>( (emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.PotionDungeonResultInfo) detail_, getParentForChildren(), isClean()); detail_ = null; } detailCase_ = 216; onChanged();; return potionDungeonResultInfoBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo, emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo.Builder, emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfoOrBuilder> customDungeonResultInfoBuilder_; /** * .CustomDungeonResultInfo custom_dungeon_result_info = 1678; * @return Whether the customDungeonResultInfo field is set. */ @java.lang.Override public boolean hasCustomDungeonResultInfo() { return detailCase_ == 1678; } /** * .CustomDungeonResultInfo custom_dungeon_result_info = 1678; * @return The customDungeonResultInfo. */ @java.lang.Override public emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo getCustomDungeonResultInfo() { if (customDungeonResultInfoBuilder_ == null) { if (detailCase_ == 1678) { return (emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo.getDefaultInstance(); } else { if (detailCase_ == 1678) { return customDungeonResultInfoBuilder_.getMessage(); } return emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo.getDefaultInstance(); } } /** * .CustomDungeonResultInfo custom_dungeon_result_info = 1678; */ public Builder setCustomDungeonResultInfo(emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo value) { if (customDungeonResultInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } detail_ = value; onChanged(); } else { customDungeonResultInfoBuilder_.setMessage(value); } detailCase_ = 1678; return this; } /** * .CustomDungeonResultInfo custom_dungeon_result_info = 1678; */ public Builder setCustomDungeonResultInfo( emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo.Builder builderForValue) { if (customDungeonResultInfoBuilder_ == null) { detail_ = builderForValue.build(); onChanged(); } else { customDungeonResultInfoBuilder_.setMessage(builderForValue.build()); } detailCase_ = 1678; return this; } /** * .CustomDungeonResultInfo custom_dungeon_result_info = 1678; */ public Builder mergeCustomDungeonResultInfo(emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo value) { if (customDungeonResultInfoBuilder_ == null) { if (detailCase_ == 1678 && detail_ != emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo.getDefaultInstance()) { detail_ = emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo.newBuilder((emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo) detail_) .mergeFrom(value).buildPartial(); } else { detail_ = value; } onChanged(); } else { if (detailCase_ == 1678) { customDungeonResultInfoBuilder_.mergeFrom(value); } customDungeonResultInfoBuilder_.setMessage(value); } detailCase_ = 1678; return this; } /** * .CustomDungeonResultInfo custom_dungeon_result_info = 1678; */ public Builder clearCustomDungeonResultInfo() { if (customDungeonResultInfoBuilder_ == null) { if (detailCase_ == 1678) { detailCase_ = 0; detail_ = null; onChanged(); } } else { if (detailCase_ == 1678) { detailCase_ = 0; detail_ = null; } customDungeonResultInfoBuilder_.clear(); } return this; } /** * .CustomDungeonResultInfo custom_dungeon_result_info = 1678; */ public emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo.Builder getCustomDungeonResultInfoBuilder() { return getCustomDungeonResultInfoFieldBuilder().getBuilder(); } /** * .CustomDungeonResultInfo custom_dungeon_result_info = 1678; */ @java.lang.Override public emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfoOrBuilder getCustomDungeonResultInfoOrBuilder() { if ((detailCase_ == 1678) && (customDungeonResultInfoBuilder_ != null)) { return customDungeonResultInfoBuilder_.getMessageOrBuilder(); } else { if (detailCase_ == 1678) { return (emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo) detail_; } return emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo.getDefaultInstance(); } } /** * .CustomDungeonResultInfo custom_dungeon_result_info = 1678; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo, emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo.Builder, emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfoOrBuilder> getCustomDungeonResultInfoFieldBuilder() { if (customDungeonResultInfoBuilder_ == null) { if (!(detailCase_ == 1678)) { detail_ = emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo.getDefaultInstance(); } customDungeonResultInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo, emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo.Builder, emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfoOrBuilder>( (emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.CustomDungeonResultInfo) detail_, getParentForChildren(), isClean()); detail_ = null; } detailCase_ = 1678; onChanged();; return customDungeonResultInfoBuilder_; } @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:DungeonChallengeFinishNotify) } // @@protoc_insertion_point(class_scope:DungeonChallengeFinishNotify) private static final emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify(); } public static emu.grasscutter.net.proto.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DungeonChallengeFinishNotify parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DungeonChallengeFinishNotify(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.DungeonChallengeFinishNotifyOuterClass.DungeonChallengeFinishNotify getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_DungeonChallengeFinishNotify_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_DungeonChallengeFinishNotify_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_DungeonChallengeFinishNotify_StrengthenPointDataMapEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_DungeonChallengeFinishNotify_StrengthenPointDataMapEntry_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\"DungeonChallengeFinishNotify.proto\032\031Ch" + "allengeFinishType.proto\032(ChannelerSlabLo" + "opDungeonResultInfo.proto\032\035CustomDungeon" + "ResultInfo.proto\032&EffigyChallengeDungeon" + "ResultInfo.proto\032\035PotionDungeonResultInf" + "o.proto\032\031StrengthenPointData.proto\"\302\005\n\034D" + "ungeonChallengeFinishNotify\022\025\n\ris_new_re" + "cord\030\t \001(\010\022\025\n\rcurrent_value\030\005 \001(\r\022)\n\013fin" + "ish_type\030\003 \001(\0162\024.ChallengeFinishType\022\\\n\031" + "strengthen_point_data_map\030\013 \003(\01329.Dungeo" + "nChallengeFinishNotify.StrengthenPointDa" + "taMapEntry\022\035\n\025challenge_record_type\030\002 \001(" + "\r\022\022\n\nis_success\030\010 \001(\010\022\027\n\017challenge_index" + "\030\014 \001(\r\022\021\n\ttime_cost\030\007 \001(\r\022X\n(channeller_" + "slab_loop_dungeon_result_info\030\211\014 \001(\0132#.C" + "hannelerSlabLoopDungeonResultInfoH\000\022Q\n$e" + "ffigy_challenge_dungeon_result_info\030L \001(" + "\0132!.EffigyChallengeDungeonResultInfoH\000\022?" + "\n\032potion_dungeon_result_info\030\330\001 \001(\0132\030.Po" + "tionDungeonResultInfoH\000\022?\n\032custom_dungeo" + "n_result_info\030\216\r \001(\0132\030.CustomDungeonResu" + "ltInfoH\000\032S\n\033StrengthenPointDataMapEntry\022" + "\013\n\003key\030\001 \001(\r\022#\n\005value\030\002 \001(\0132\024.Strengthen" + "PointData:\0028\001B\010\n\006detailB\033\n\031emu.grasscutt" + "er.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { emu.grasscutter.net.proto.ChallengeFinishTypeOuterClass.getDescriptor(), emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.getDescriptor(), emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.getDescriptor(), emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.getDescriptor(), emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.getDescriptor(), emu.grasscutter.net.proto.StrengthenPointDataOuterClass.getDescriptor(), }); internal_static_DungeonChallengeFinishNotify_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_DungeonChallengeFinishNotify_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_DungeonChallengeFinishNotify_descriptor, new java.lang.String[] { "IsNewRecord", "CurrentValue", "FinishType", "StrengthenPointDataMap", "ChallengeRecordType", "IsSuccess", "ChallengeIndex", "TimeCost", "ChannellerSlabLoopDungeonResultInfo", "EffigyChallengeDungeonResultInfo", "PotionDungeonResultInfo", "CustomDungeonResultInfo", "Detail", }); internal_static_DungeonChallengeFinishNotify_StrengthenPointDataMapEntry_descriptor = internal_static_DungeonChallengeFinishNotify_descriptor.getNestedTypes().get(0); internal_static_DungeonChallengeFinishNotify_StrengthenPointDataMapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_DungeonChallengeFinishNotify_StrengthenPointDataMapEntry_descriptor, new java.lang.String[] { "Key", "Value", }); emu.grasscutter.net.proto.ChallengeFinishTypeOuterClass.getDescriptor(); emu.grasscutter.net.proto.ChannelerSlabLoopDungeonResultInfoOuterClass.getDescriptor(); emu.grasscutter.net.proto.CustomDungeonResultInfoOuterClass.getDescriptor(); emu.grasscutter.net.proto.EffigyChallengeDungeonResultInfoOuterClass.getDescriptor(); emu.grasscutter.net.proto.PotionDungeonResultInfoOuterClass.getDescriptor(); emu.grasscutter.net.proto.StrengthenPointDataOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }