// Generated by the protocol buffer compiler. DO NOT EDIT! // source: InvestigationMonster.proto package emu.grasscutter.net.proto; public final class InvestigationMonsterOuterClass { private InvestigationMonsterOuterClass() {} 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 InvestigationMonsterOrBuilder extends // @@protoc_insertion_point(interface_extends:InvestigationMonster) com.google.protobuf.MessageOrBuilder { /** * bool is_alive = 9; * @return The isAlive. */ boolean getIsAlive(); /** * uint32 refresh_interval = 3; * @return The refreshInterval. */ int getRefreshInterval(); /** * uint32 id = 13; * @return The id. */ int getId(); /** * uint32 level = 5; * @return The level. */ int getLevel(); /** * uint32 boss_chest_num = 1; * @return The bossChestNum. */ int getBossChestNum(); /** * .WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; * @return Whether the weeklyBossResinDiscountInfo field is set. */ boolean hasWeeklyBossResinDiscountInfo(); /** * .WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; * @return The weeklyBossResinDiscountInfo. */ emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo getWeeklyBossResinDiscountInfo(); /** * .WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; */ emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder getWeeklyBossResinDiscountInfoOrBuilder(); /** * uint32 monster_id = 301; * @return The monsterId. */ int getMonsterId(); /** * .Vector pos = 14; * @return Whether the pos field is set. */ boolean hasPos(); /** * .Vector pos = 14; * @return The pos. */ emu.grasscutter.net.proto.VectorOuterClass.Vector getPos(); /** * .Vector pos = 14; */ emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder(); /** * uint32 resin = 8; * @return The resin. */ int getResin(); /** * uint32 max_boss_chest_num = 4; * @return The maxBossChestNum. */ int getMaxBossChestNum(); /** * uint32 next_refresh_time = 11; * @return The nextRefreshTime. */ int getNextRefreshTime(); /** * uint32 group_id = 285; * @return The groupId. */ int getGroupId(); /** * uint32 scene_id = 10; * @return The sceneId. */ int getSceneId(); /** * bool is_area_locked = 15; * @return The isAreaLocked. */ boolean getIsAreaLocked(); /** * .InvestigationMonster.LockState lock_state = 2; * @return The enum numeric value on the wire for lockState. */ int getLockStateValue(); /** * .InvestigationMonster.LockState lock_state = 2; * @return The lockState. */ emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.LockState getLockState(); /** * uint32 next_boss_chest_refresh_time = 7; * @return The nextBossChestRefreshTime. */ int getNextBossChestRefreshTime(); /** * uint32 city_id = 6; * @return The cityId. */ int getCityId(); } /** * Protobuf type {@code InvestigationMonster} */ public static final class InvestigationMonster extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:InvestigationMonster) InvestigationMonsterOrBuilder { private static final long serialVersionUID = 0L; // Use InvestigationMonster.newBuilder() to construct. private InvestigationMonster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InvestigationMonster() { lockState_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InvestigationMonster(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InvestigationMonster( 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 8: { bossChestNum_ = input.readUInt32(); break; } case 16: { int rawValue = input.readEnum(); lockState_ = rawValue; break; } case 24: { refreshInterval_ = input.readUInt32(); break; } case 32: { maxBossChestNum_ = input.readUInt32(); break; } case 40: { level_ = input.readUInt32(); break; } case 48: { cityId_ = input.readUInt32(); break; } case 56: { nextBossChestRefreshTime_ = input.readUInt32(); break; } case 64: { resin_ = input.readUInt32(); break; } case 72: { isAlive_ = input.readBool(); break; } case 80: { sceneId_ = input.readUInt32(); break; } case 88: { nextRefreshTime_ = input.readUInt32(); break; } case 98: { emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.Builder subBuilder = null; if (weeklyBossResinDiscountInfo_ != null) { subBuilder = weeklyBossResinDiscountInfo_.toBuilder(); } weeklyBossResinDiscountInfo_ = input.readMessage(emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(weeklyBossResinDiscountInfo_); weeklyBossResinDiscountInfo_ = subBuilder.buildPartial(); } break; } case 104: { id_ = input.readUInt32(); break; } case 114: { emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null; if (pos_ != null) { subBuilder = pos_.toBuilder(); } pos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pos_); pos_ = subBuilder.buildPartial(); } break; } case 120: { isAreaLocked_ = input.readBool(); break; } case 2280: { groupId_ = input.readUInt32(); break; } case 2408: { monsterId_ = 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.InvestigationMonsterOuterClass.internal_static_InvestigationMonster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.InvestigationMonsterOuterClass.internal_static_InvestigationMonster_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.class, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder.class); } /** * Protobuf enum {@code InvestigationMonster.LockState} */ public enum LockState implements com.google.protobuf.ProtocolMessageEnum { /** * LOCK_STATE_NONE = 0; */ LOCK_STATE_NONE(0), /** * LOCK_STATE_QUEST = 1; */ LOCK_STATE_QUEST(1), UNRECOGNIZED(-1), ; /** * LOCK_STATE_NONE = 0; */ public static final int LOCK_STATE_NONE_VALUE = 0; /** * LOCK_STATE_QUEST = 1; */ public static final int LOCK_STATE_QUEST_VALUE = 1; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static LockState valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static LockState forNumber(int value) { switch (value) { case 0: return LOCK_STATE_NONE; case 1: return LOCK_STATE_QUEST; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< LockState> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public LockState findValueByNumber(int number) { return LockState.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.getDescriptor().getEnumTypes().get(0); } private static final LockState[] VALUES = values(); public static LockState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private LockState(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:InvestigationMonster.LockState) } public static final int IS_ALIVE_FIELD_NUMBER = 9; private boolean isAlive_; /** * bool is_alive = 9; * @return The isAlive. */ @java.lang.Override public boolean getIsAlive() { return isAlive_; } public static final int REFRESH_INTERVAL_FIELD_NUMBER = 3; private int refreshInterval_; /** * uint32 refresh_interval = 3; * @return The refreshInterval. */ @java.lang.Override public int getRefreshInterval() { return refreshInterval_; } public static final int ID_FIELD_NUMBER = 13; private int id_; /** * uint32 id = 13; * @return The id. */ @java.lang.Override public int getId() { return id_; } public static final int LEVEL_FIELD_NUMBER = 5; private int level_; /** * uint32 level = 5; * @return The level. */ @java.lang.Override public int getLevel() { return level_; } public static final int BOSS_CHEST_NUM_FIELD_NUMBER = 1; private int bossChestNum_; /** * uint32 boss_chest_num = 1; * @return The bossChestNum. */ @java.lang.Override public int getBossChestNum() { return bossChestNum_; } public static final int WEEKLY_BOSS_RESIN_DISCOUNT_INFO_FIELD_NUMBER = 12; private emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo_; /** * .WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; * @return Whether the weeklyBossResinDiscountInfo field is set. */ @java.lang.Override public boolean hasWeeklyBossResinDiscountInfo() { return weeklyBossResinDiscountInfo_ != null; } /** * .WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; * @return The weeklyBossResinDiscountInfo. */ @java.lang.Override public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo getWeeklyBossResinDiscountInfo() { return weeklyBossResinDiscountInfo_ == null ? emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.getDefaultInstance() : weeklyBossResinDiscountInfo_; } /** * .WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; */ @java.lang.Override public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder getWeeklyBossResinDiscountInfoOrBuilder() { return getWeeklyBossResinDiscountInfo(); } public static final int MONSTER_ID_FIELD_NUMBER = 301; private int monsterId_; /** * uint32 monster_id = 301; * @return The monsterId. */ @java.lang.Override public int getMonsterId() { return monsterId_; } public static final int POS_FIELD_NUMBER = 14; private emu.grasscutter.net.proto.VectorOuterClass.Vector pos_; /** * .Vector pos = 14; * @return Whether the pos field is set. */ @java.lang.Override public boolean hasPos() { return pos_ != null; } /** * .Vector pos = 14; * @return The pos. */ @java.lang.Override public emu.grasscutter.net.proto.VectorOuterClass.Vector getPos() { return pos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : pos_; } /** * .Vector pos = 14; */ @java.lang.Override public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder() { return getPos(); } public static final int RESIN_FIELD_NUMBER = 8; private int resin_; /** * uint32 resin = 8; * @return The resin. */ @java.lang.Override public int getResin() { return resin_; } public static final int MAX_BOSS_CHEST_NUM_FIELD_NUMBER = 4; private int maxBossChestNum_; /** * uint32 max_boss_chest_num = 4; * @return The maxBossChestNum. */ @java.lang.Override public int getMaxBossChestNum() { return maxBossChestNum_; } public static final int NEXT_REFRESH_TIME_FIELD_NUMBER = 11; private int nextRefreshTime_; /** * uint32 next_refresh_time = 11; * @return The nextRefreshTime. */ @java.lang.Override public int getNextRefreshTime() { return nextRefreshTime_; } public static final int GROUP_ID_FIELD_NUMBER = 285; private int groupId_; /** * uint32 group_id = 285; * @return The groupId. */ @java.lang.Override public int getGroupId() { return groupId_; } public static final int SCENE_ID_FIELD_NUMBER = 10; private int sceneId_; /** * uint32 scene_id = 10; * @return The sceneId. */ @java.lang.Override public int getSceneId() { return sceneId_; } public static final int IS_AREA_LOCKED_FIELD_NUMBER = 15; private boolean isAreaLocked_; /** * bool is_area_locked = 15; * @return The isAreaLocked. */ @java.lang.Override public boolean getIsAreaLocked() { return isAreaLocked_; } public static final int LOCK_STATE_FIELD_NUMBER = 2; private int lockState_; /** * .InvestigationMonster.LockState lock_state = 2; * @return The enum numeric value on the wire for lockState. */ @java.lang.Override public int getLockStateValue() { return lockState_; } /** * .InvestigationMonster.LockState lock_state = 2; * @return The lockState. */ @java.lang.Override public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.LockState getLockState() { @SuppressWarnings("deprecation") emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.LockState result = emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.LockState.valueOf(lockState_); return result == null ? emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.LockState.UNRECOGNIZED : result; } public static final int NEXT_BOSS_CHEST_REFRESH_TIME_FIELD_NUMBER = 7; private int nextBossChestRefreshTime_; /** * uint32 next_boss_chest_refresh_time = 7; * @return The nextBossChestRefreshTime. */ @java.lang.Override public int getNextBossChestRefreshTime() { return nextBossChestRefreshTime_; } public static final int CITY_ID_FIELD_NUMBER = 6; private int cityId_; /** * uint32 city_id = 6; * @return The cityId. */ @java.lang.Override public int getCityId() { return cityId_; } 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 (bossChestNum_ != 0) { output.writeUInt32(1, bossChestNum_); } if (lockState_ != emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.LockState.LOCK_STATE_NONE.getNumber()) { output.writeEnum(2, lockState_); } if (refreshInterval_ != 0) { output.writeUInt32(3, refreshInterval_); } if (maxBossChestNum_ != 0) { output.writeUInt32(4, maxBossChestNum_); } if (level_ != 0) { output.writeUInt32(5, level_); } if (cityId_ != 0) { output.writeUInt32(6, cityId_); } if (nextBossChestRefreshTime_ != 0) { output.writeUInt32(7, nextBossChestRefreshTime_); } if (resin_ != 0) { output.writeUInt32(8, resin_); } if (isAlive_ != false) { output.writeBool(9, isAlive_); } if (sceneId_ != 0) { output.writeUInt32(10, sceneId_); } if (nextRefreshTime_ != 0) { output.writeUInt32(11, nextRefreshTime_); } if (weeklyBossResinDiscountInfo_ != null) { output.writeMessage(12, getWeeklyBossResinDiscountInfo()); } if (id_ != 0) { output.writeUInt32(13, id_); } if (pos_ != null) { output.writeMessage(14, getPos()); } if (isAreaLocked_ != false) { output.writeBool(15, isAreaLocked_); } if (groupId_ != 0) { output.writeUInt32(285, groupId_); } if (monsterId_ != 0) { output.writeUInt32(301, monsterId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (bossChestNum_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, bossChestNum_); } if (lockState_ != emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.LockState.LOCK_STATE_NONE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, lockState_); } if (refreshInterval_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, refreshInterval_); } if (maxBossChestNum_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, maxBossChestNum_); } if (level_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, level_); } if (cityId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, cityId_); } if (nextBossChestRefreshTime_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, nextBossChestRefreshTime_); } if (resin_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, resin_); } if (isAlive_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, isAlive_); } if (sceneId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(10, sceneId_); } if (nextRefreshTime_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(11, nextRefreshTime_); } if (weeklyBossResinDiscountInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getWeeklyBossResinDiscountInfo()); } if (id_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(13, id_); } if (pos_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getPos()); } if (isAreaLocked_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(15, isAreaLocked_); } if (groupId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(285, groupId_); } if (monsterId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(301, monsterId_); } 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.InvestigationMonsterOuterClass.InvestigationMonster)) { return super.equals(obj); } emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster other = (emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster) obj; if (getIsAlive() != other.getIsAlive()) return false; if (getRefreshInterval() != other.getRefreshInterval()) return false; if (getId() != other.getId()) return false; if (getLevel() != other.getLevel()) return false; if (getBossChestNum() != other.getBossChestNum()) return false; if (hasWeeklyBossResinDiscountInfo() != other.hasWeeklyBossResinDiscountInfo()) return false; if (hasWeeklyBossResinDiscountInfo()) { if (!getWeeklyBossResinDiscountInfo() .equals(other.getWeeklyBossResinDiscountInfo())) return false; } if (getMonsterId() != other.getMonsterId()) return false; if (hasPos() != other.hasPos()) return false; if (hasPos()) { if (!getPos() .equals(other.getPos())) return false; } if (getResin() != other.getResin()) return false; if (getMaxBossChestNum() != other.getMaxBossChestNum()) return false; if (getNextRefreshTime() != other.getNextRefreshTime()) return false; if (getGroupId() != other.getGroupId()) return false; if (getSceneId() != other.getSceneId()) return false; if (getIsAreaLocked() != other.getIsAreaLocked()) return false; if (lockState_ != other.lockState_) return false; if (getNextBossChestRefreshTime() != other.getNextBossChestRefreshTime()) return false; if (getCityId() != other.getCityId()) 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) + IS_ALIVE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsAlive()); hash = (37 * hash) + REFRESH_INTERVAL_FIELD_NUMBER; hash = (53 * hash) + getRefreshInterval(); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId(); hash = (37 * hash) + LEVEL_FIELD_NUMBER; hash = (53 * hash) + getLevel(); hash = (37 * hash) + BOSS_CHEST_NUM_FIELD_NUMBER; hash = (53 * hash) + getBossChestNum(); if (hasWeeklyBossResinDiscountInfo()) { hash = (37 * hash) + WEEKLY_BOSS_RESIN_DISCOUNT_INFO_FIELD_NUMBER; hash = (53 * hash) + getWeeklyBossResinDiscountInfo().hashCode(); } hash = (37 * hash) + MONSTER_ID_FIELD_NUMBER; hash = (53 * hash) + getMonsterId(); if (hasPos()) { hash = (37 * hash) + POS_FIELD_NUMBER; hash = (53 * hash) + getPos().hashCode(); } hash = (37 * hash) + RESIN_FIELD_NUMBER; hash = (53 * hash) + getResin(); hash = (37 * hash) + MAX_BOSS_CHEST_NUM_FIELD_NUMBER; hash = (53 * hash) + getMaxBossChestNum(); hash = (37 * hash) + NEXT_REFRESH_TIME_FIELD_NUMBER; hash = (53 * hash) + getNextRefreshTime(); hash = (37 * hash) + GROUP_ID_FIELD_NUMBER; hash = (53 * hash) + getGroupId(); hash = (37 * hash) + SCENE_ID_FIELD_NUMBER; hash = (53 * hash) + getSceneId(); hash = (37 * hash) + IS_AREA_LOCKED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsAreaLocked()); hash = (37 * hash) + LOCK_STATE_FIELD_NUMBER; hash = (53 * hash) + lockState_; hash = (37 * hash) + NEXT_BOSS_CHEST_REFRESH_TIME_FIELD_NUMBER; hash = (53 * hash) + getNextBossChestRefreshTime(); hash = (37 * hash) + CITY_ID_FIELD_NUMBER; hash = (53 * hash) + getCityId(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster 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.InvestigationMonsterOuterClass.InvestigationMonster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster 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.InvestigationMonsterOuterClass.InvestigationMonster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster 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.InvestigationMonsterOuterClass.InvestigationMonster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster 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.InvestigationMonsterOuterClass.InvestigationMonster parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster 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.InvestigationMonsterOuterClass.InvestigationMonster 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; } /** * Protobuf type {@code InvestigationMonster} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:InvestigationMonster) emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonsterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.InvestigationMonsterOuterClass.internal_static_InvestigationMonster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.InvestigationMonsterOuterClass.internal_static_InvestigationMonster_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.class, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder.class); } // Construct using emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.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(); isAlive_ = false; refreshInterval_ = 0; id_ = 0; level_ = 0; bossChestNum_ = 0; if (weeklyBossResinDiscountInfoBuilder_ == null) { weeklyBossResinDiscountInfo_ = null; } else { weeklyBossResinDiscountInfo_ = null; weeklyBossResinDiscountInfoBuilder_ = null; } monsterId_ = 0; if (posBuilder_ == null) { pos_ = null; } else { pos_ = null; posBuilder_ = null; } resin_ = 0; maxBossChestNum_ = 0; nextRefreshTime_ = 0; groupId_ = 0; sceneId_ = 0; isAreaLocked_ = false; lockState_ = 0; nextBossChestRefreshTime_ = 0; cityId_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.InvestigationMonsterOuterClass.internal_static_InvestigationMonster_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster getDefaultInstanceForType() { return emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster build() { emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster buildPartial() { emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster result = new emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster(this); result.isAlive_ = isAlive_; result.refreshInterval_ = refreshInterval_; result.id_ = id_; result.level_ = level_; result.bossChestNum_ = bossChestNum_; if (weeklyBossResinDiscountInfoBuilder_ == null) { result.weeklyBossResinDiscountInfo_ = weeklyBossResinDiscountInfo_; } else { result.weeklyBossResinDiscountInfo_ = weeklyBossResinDiscountInfoBuilder_.build(); } result.monsterId_ = monsterId_; if (posBuilder_ == null) { result.pos_ = pos_; } else { result.pos_ = posBuilder_.build(); } result.resin_ = resin_; result.maxBossChestNum_ = maxBossChestNum_; result.nextRefreshTime_ = nextRefreshTime_; result.groupId_ = groupId_; result.sceneId_ = sceneId_; result.isAreaLocked_ = isAreaLocked_; result.lockState_ = lockState_; result.nextBossChestRefreshTime_ = nextBossChestRefreshTime_; result.cityId_ = cityId_; 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.InvestigationMonsterOuterClass.InvestigationMonster) { return mergeFrom((emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster other) { if (other == emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.getDefaultInstance()) return this; if (other.getIsAlive() != false) { setIsAlive(other.getIsAlive()); } if (other.getRefreshInterval() != 0) { setRefreshInterval(other.getRefreshInterval()); } if (other.getId() != 0) { setId(other.getId()); } if (other.getLevel() != 0) { setLevel(other.getLevel()); } if (other.getBossChestNum() != 0) { setBossChestNum(other.getBossChestNum()); } if (other.hasWeeklyBossResinDiscountInfo()) { mergeWeeklyBossResinDiscountInfo(other.getWeeklyBossResinDiscountInfo()); } if (other.getMonsterId() != 0) { setMonsterId(other.getMonsterId()); } if (other.hasPos()) { mergePos(other.getPos()); } if (other.getResin() != 0) { setResin(other.getResin()); } if (other.getMaxBossChestNum() != 0) { setMaxBossChestNum(other.getMaxBossChestNum()); } if (other.getNextRefreshTime() != 0) { setNextRefreshTime(other.getNextRefreshTime()); } if (other.getGroupId() != 0) { setGroupId(other.getGroupId()); } if (other.getSceneId() != 0) { setSceneId(other.getSceneId()); } if (other.getIsAreaLocked() != false) { setIsAreaLocked(other.getIsAreaLocked()); } if (other.lockState_ != 0) { setLockStateValue(other.getLockStateValue()); } if (other.getNextBossChestRefreshTime() != 0) { setNextBossChestRefreshTime(other.getNextBossChestRefreshTime()); } if (other.getCityId() != 0) { setCityId(other.getCityId()); } 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.InvestigationMonsterOuterClass.InvestigationMonster parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean isAlive_ ; /** * bool is_alive = 9; * @return The isAlive. */ @java.lang.Override public boolean getIsAlive() { return isAlive_; } /** * bool is_alive = 9; * @param value The isAlive to set. * @return This builder for chaining. */ public Builder setIsAlive(boolean value) { isAlive_ = value; onChanged(); return this; } /** * bool is_alive = 9; * @return This builder for chaining. */ public Builder clearIsAlive() { isAlive_ = false; onChanged(); return this; } private int refreshInterval_ ; /** * uint32 refresh_interval = 3; * @return The refreshInterval. */ @java.lang.Override public int getRefreshInterval() { return refreshInterval_; } /** * uint32 refresh_interval = 3; * @param value The refreshInterval to set. * @return This builder for chaining. */ public Builder setRefreshInterval(int value) { refreshInterval_ = value; onChanged(); return this; } /** * uint32 refresh_interval = 3; * @return This builder for chaining. */ public Builder clearRefreshInterval() { refreshInterval_ = 0; onChanged(); return this; } private int id_ ; /** * uint32 id = 13; * @return The id. */ @java.lang.Override public int getId() { return id_; } /** * uint32 id = 13; * @param value The id to set. * @return This builder for chaining. */ public Builder setId(int value) { id_ = value; onChanged(); return this; } /** * uint32 id = 13; * @return This builder for chaining. */ public Builder clearId() { id_ = 0; onChanged(); return this; } private int level_ ; /** * uint32 level = 5; * @return The level. */ @java.lang.Override public int getLevel() { return level_; } /** * uint32 level = 5; * @param value The level to set. * @return This builder for chaining. */ public Builder setLevel(int value) { level_ = value; onChanged(); return this; } /** * uint32 level = 5; * @return This builder for chaining. */ public Builder clearLevel() { level_ = 0; onChanged(); return this; } private int bossChestNum_ ; /** * uint32 boss_chest_num = 1; * @return The bossChestNum. */ @java.lang.Override public int getBossChestNum() { return bossChestNum_; } /** * uint32 boss_chest_num = 1; * @param value The bossChestNum to set. * @return This builder for chaining. */ public Builder setBossChestNum(int value) { bossChestNum_ = value; onChanged(); return this; } /** * uint32 boss_chest_num = 1; * @return This builder for chaining. */ public Builder clearBossChestNum() { bossChestNum_ = 0; onChanged(); return this; } private emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo_; private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo, emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.Builder, emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder> weeklyBossResinDiscountInfoBuilder_; /** * .WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; * @return Whether the weeklyBossResinDiscountInfo field is set. */ public boolean hasWeeklyBossResinDiscountInfo() { return weeklyBossResinDiscountInfoBuilder_ != null || weeklyBossResinDiscountInfo_ != null; } /** * .WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; * @return The weeklyBossResinDiscountInfo. */ public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo getWeeklyBossResinDiscountInfo() { if (weeklyBossResinDiscountInfoBuilder_ == null) { return weeklyBossResinDiscountInfo_ == null ? emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.getDefaultInstance() : weeklyBossResinDiscountInfo_; } else { return weeklyBossResinDiscountInfoBuilder_.getMessage(); } } /** * .WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; */ public Builder setWeeklyBossResinDiscountInfo(emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo value) { if (weeklyBossResinDiscountInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } weeklyBossResinDiscountInfo_ = value; onChanged(); } else { weeklyBossResinDiscountInfoBuilder_.setMessage(value); } return this; } /** * .WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; */ public Builder setWeeklyBossResinDiscountInfo( emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.Builder builderForValue) { if (weeklyBossResinDiscountInfoBuilder_ == null) { weeklyBossResinDiscountInfo_ = builderForValue.build(); onChanged(); } else { weeklyBossResinDiscountInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; */ public Builder mergeWeeklyBossResinDiscountInfo(emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo value) { if (weeklyBossResinDiscountInfoBuilder_ == null) { if (weeklyBossResinDiscountInfo_ != null) { weeklyBossResinDiscountInfo_ = emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.newBuilder(weeklyBossResinDiscountInfo_).mergeFrom(value).buildPartial(); } else { weeklyBossResinDiscountInfo_ = value; } onChanged(); } else { weeklyBossResinDiscountInfoBuilder_.mergeFrom(value); } return this; } /** * .WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; */ public Builder clearWeeklyBossResinDiscountInfo() { if (weeklyBossResinDiscountInfoBuilder_ == null) { weeklyBossResinDiscountInfo_ = null; onChanged(); } else { weeklyBossResinDiscountInfo_ = null; weeklyBossResinDiscountInfoBuilder_ = null; } return this; } /** * .WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; */ public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.Builder getWeeklyBossResinDiscountInfoBuilder() { onChanged(); return getWeeklyBossResinDiscountInfoFieldBuilder().getBuilder(); } /** * .WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; */ public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder getWeeklyBossResinDiscountInfoOrBuilder() { if (weeklyBossResinDiscountInfoBuilder_ != null) { return weeklyBossResinDiscountInfoBuilder_.getMessageOrBuilder(); } else { return weeklyBossResinDiscountInfo_ == null ? emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.getDefaultInstance() : weeklyBossResinDiscountInfo_; } } /** * .WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo, emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.Builder, emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder> getWeeklyBossResinDiscountInfoFieldBuilder() { if (weeklyBossResinDiscountInfoBuilder_ == null) { weeklyBossResinDiscountInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo, emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.Builder, emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder>( getWeeklyBossResinDiscountInfo(), getParentForChildren(), isClean()); weeklyBossResinDiscountInfo_ = null; } return weeklyBossResinDiscountInfoBuilder_; } private int monsterId_ ; /** * uint32 monster_id = 301; * @return The monsterId. */ @java.lang.Override public int getMonsterId() { return monsterId_; } /** * uint32 monster_id = 301; * @param value The monsterId to set. * @return This builder for chaining. */ public Builder setMonsterId(int value) { monsterId_ = value; onChanged(); return this; } /** * uint32 monster_id = 301; * @return This builder for chaining. */ public Builder clearMonsterId() { monsterId_ = 0; onChanged(); return this; } private emu.grasscutter.net.proto.VectorOuterClass.Vector pos_; private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> posBuilder_; /** * .Vector pos = 14; * @return Whether the pos field is set. */ public boolean hasPos() { return posBuilder_ != null || pos_ != null; } /** * .Vector pos = 14; * @return The pos. */ public emu.grasscutter.net.proto.VectorOuterClass.Vector getPos() { if (posBuilder_ == null) { return pos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : pos_; } else { return posBuilder_.getMessage(); } } /** * .Vector pos = 14; */ public Builder setPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { if (posBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pos_ = value; onChanged(); } else { posBuilder_.setMessage(value); } return this; } /** * .Vector pos = 14; */ public Builder setPos( emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) { if (posBuilder_ == null) { pos_ = builderForValue.build(); onChanged(); } else { posBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Vector pos = 14; */ public Builder mergePos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { if (posBuilder_ == null) { if (pos_ != null) { pos_ = emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(pos_).mergeFrom(value).buildPartial(); } else { pos_ = value; } onChanged(); } else { posBuilder_.mergeFrom(value); } return this; } /** * .Vector pos = 14; */ public Builder clearPos() { if (posBuilder_ == null) { pos_ = null; onChanged(); } else { pos_ = null; posBuilder_ = null; } return this; } /** * .Vector pos = 14; */ public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPosBuilder() { onChanged(); return getPosFieldBuilder().getBuilder(); } /** * .Vector pos = 14; */ public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder() { if (posBuilder_ != null) { return posBuilder_.getMessageOrBuilder(); } else { return pos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : pos_; } } /** * .Vector pos = 14; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> getPosFieldBuilder() { if (posBuilder_ == null) { posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>( getPos(), getParentForChildren(), isClean()); pos_ = null; } return posBuilder_; } private int resin_ ; /** * uint32 resin = 8; * @return The resin. */ @java.lang.Override public int getResin() { return resin_; } /** * uint32 resin = 8; * @param value The resin to set. * @return This builder for chaining. */ public Builder setResin(int value) { resin_ = value; onChanged(); return this; } /** * uint32 resin = 8; * @return This builder for chaining. */ public Builder clearResin() { resin_ = 0; onChanged(); return this; } private int maxBossChestNum_ ; /** * uint32 max_boss_chest_num = 4; * @return The maxBossChestNum. */ @java.lang.Override public int getMaxBossChestNum() { return maxBossChestNum_; } /** * uint32 max_boss_chest_num = 4; * @param value The maxBossChestNum to set. * @return This builder for chaining. */ public Builder setMaxBossChestNum(int value) { maxBossChestNum_ = value; onChanged(); return this; } /** * uint32 max_boss_chest_num = 4; * @return This builder for chaining. */ public Builder clearMaxBossChestNum() { maxBossChestNum_ = 0; onChanged(); return this; } private int nextRefreshTime_ ; /** * uint32 next_refresh_time = 11; * @return The nextRefreshTime. */ @java.lang.Override public int getNextRefreshTime() { return nextRefreshTime_; } /** * uint32 next_refresh_time = 11; * @param value The nextRefreshTime to set. * @return This builder for chaining. */ public Builder setNextRefreshTime(int value) { nextRefreshTime_ = value; onChanged(); return this; } /** * uint32 next_refresh_time = 11; * @return This builder for chaining. */ public Builder clearNextRefreshTime() { nextRefreshTime_ = 0; onChanged(); return this; } private int groupId_ ; /** * uint32 group_id = 285; * @return The groupId. */ @java.lang.Override public int getGroupId() { return groupId_; } /** * uint32 group_id = 285; * @param value The groupId to set. * @return This builder for chaining. */ public Builder setGroupId(int value) { groupId_ = value; onChanged(); return this; } /** * uint32 group_id = 285; * @return This builder for chaining. */ public Builder clearGroupId() { groupId_ = 0; onChanged(); return this; } private int sceneId_ ; /** * uint32 scene_id = 10; * @return The sceneId. */ @java.lang.Override public int getSceneId() { return sceneId_; } /** * uint32 scene_id = 10; * @param value The sceneId to set. * @return This builder for chaining. */ public Builder setSceneId(int value) { sceneId_ = value; onChanged(); return this; } /** * uint32 scene_id = 10; * @return This builder for chaining. */ public Builder clearSceneId() { sceneId_ = 0; onChanged(); return this; } private boolean isAreaLocked_ ; /** * bool is_area_locked = 15; * @return The isAreaLocked. */ @java.lang.Override public boolean getIsAreaLocked() { return isAreaLocked_; } /** * bool is_area_locked = 15; * @param value The isAreaLocked to set. * @return This builder for chaining. */ public Builder setIsAreaLocked(boolean value) { isAreaLocked_ = value; onChanged(); return this; } /** * bool is_area_locked = 15; * @return This builder for chaining. */ public Builder clearIsAreaLocked() { isAreaLocked_ = false; onChanged(); return this; } private int lockState_ = 0; /** * .InvestigationMonster.LockState lock_state = 2; * @return The enum numeric value on the wire for lockState. */ @java.lang.Override public int getLockStateValue() { return lockState_; } /** * .InvestigationMonster.LockState lock_state = 2; * @param value The enum numeric value on the wire for lockState to set. * @return This builder for chaining. */ public Builder setLockStateValue(int value) { lockState_ = value; onChanged(); return this; } /** * .InvestigationMonster.LockState lock_state = 2; * @return The lockState. */ @java.lang.Override public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.LockState getLockState() { @SuppressWarnings("deprecation") emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.LockState result = emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.LockState.valueOf(lockState_); return result == null ? emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.LockState.UNRECOGNIZED : result; } /** * .InvestigationMonster.LockState lock_state = 2; * @param value The lockState to set. * @return This builder for chaining. */ public Builder setLockState(emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.LockState value) { if (value == null) { throw new NullPointerException(); } lockState_ = value.getNumber(); onChanged(); return this; } /** * .InvestigationMonster.LockState lock_state = 2; * @return This builder for chaining. */ public Builder clearLockState() { lockState_ = 0; onChanged(); return this; } private int nextBossChestRefreshTime_ ; /** * uint32 next_boss_chest_refresh_time = 7; * @return The nextBossChestRefreshTime. */ @java.lang.Override public int getNextBossChestRefreshTime() { return nextBossChestRefreshTime_; } /** * uint32 next_boss_chest_refresh_time = 7; * @param value The nextBossChestRefreshTime to set. * @return This builder for chaining. */ public Builder setNextBossChestRefreshTime(int value) { nextBossChestRefreshTime_ = value; onChanged(); return this; } /** * uint32 next_boss_chest_refresh_time = 7; * @return This builder for chaining. */ public Builder clearNextBossChestRefreshTime() { nextBossChestRefreshTime_ = 0; onChanged(); return this; } private int cityId_ ; /** * uint32 city_id = 6; * @return The cityId. */ @java.lang.Override public int getCityId() { return cityId_; } /** * uint32 city_id = 6; * @param value The cityId to set. * @return This builder for chaining. */ public Builder setCityId(int value) { cityId_ = value; onChanged(); return this; } /** * uint32 city_id = 6; * @return This builder for chaining. */ public Builder clearCityId() { cityId_ = 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:InvestigationMonster) } // @@protoc_insertion_point(class_scope:InvestigationMonster) private static final emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster(); } public static emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InvestigationMonster parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InvestigationMonster(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.InvestigationMonsterOuterClass.InvestigationMonster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_InvestigationMonster_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_InvestigationMonster_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\032InvestigationMonster.proto\032\014Vector.pro" + "to\032!WeeklyBossResinDiscountInfo.proto\"\216\004" + "\n\024InvestigationMonster\022\020\n\010is_alive\030\t \001(\010" + "\022\030\n\020refresh_interval\030\003 \001(\r\022\n\n\002id\030\r \001(\r\022\r" + "\n\005level\030\005 \001(\r\022\026\n\016boss_chest_num\030\001 \001(\r\022E\n" + "\037weekly_boss_resin_discount_info\030\014 \001(\0132\034" + ".WeeklyBossResinDiscountInfo\022\023\n\nmonster_" + "id\030\255\002 \001(\r\022\024\n\003pos\030\016 \001(\0132\007.Vector\022\r\n\005resin" + "\030\010 \001(\r\022\032\n\022max_boss_chest_num\030\004 \001(\r\022\031\n\021ne" + "xt_refresh_time\030\013 \001(\r\022\021\n\010group_id\030\235\002 \001(\r" + "\022\020\n\010scene_id\030\n \001(\r\022\026\n\016is_area_locked\030\017 \001" + "(\010\0223\n\nlock_state\030\002 \001(\0162\037.InvestigationMo" + "nster.LockState\022$\n\034next_boss_chest_refre" + "sh_time\030\007 \001(\r\022\017\n\007city_id\030\006 \001(\r\"6\n\tLockSt" + "ate\022\023\n\017LOCK_STATE_NONE\020\000\022\024\n\020LOCK_STATE_Q" + "UEST\020\001B\033\n\031emu.grasscutter.net.protob\006pro" + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(), emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.getDescriptor(), }); internal_static_InvestigationMonster_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_InvestigationMonster_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_InvestigationMonster_descriptor, new java.lang.String[] { "IsAlive", "RefreshInterval", "Id", "Level", "BossChestNum", "WeeklyBossResinDiscountInfo", "MonsterId", "Pos", "Resin", "MaxBossChestNum", "NextRefreshTime", "GroupId", "SceneId", "IsAreaLocked", "LockState", "NextBossChestRefreshTime", "CityId", }); emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(); emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }