// 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 {
/**
* uint32 nextRefreshTime = 1;
* @return The nextRefreshTime.
*/
int getNextRefreshTime();
/**
* uint32 bossChestNum = 10;
* @return The bossChestNum.
*/
int getBossChestNum();
/**
* .WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 8;
* @return Whether the weeklyBossResinDiscountInfo field is set.
*/
boolean hasWeeklyBossResinDiscountInfo();
/**
* .WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 8;
* @return The weeklyBossResinDiscountInfo.
*/
emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo getWeeklyBossResinDiscountInfo();
/**
* .WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 8;
*/
emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder getWeeklyBossResinDiscountInfoOrBuilder();
/**
* .LockState lockState = 2;
* @return The enum numeric value on the wire for lockState.
*/
int getLockStateValue();
/**
* .LockState lockState = 2;
* @return The lockState.
*/
emu.grasscutter.net.proto.LockStateOuterClass.LockState getLockState();
/**
* uint32 refreshInterval = 6;
* @return The refreshInterval.
*/
int getRefreshInterval();
/**
* uint32 groupId = 80;
* @return The groupId.
*/
int getGroupId();
/**
* uint32 sceneId = 13;
* @return The sceneId.
*/
int getSceneId();
/**
* uint32 cityId = 7;
* @return The cityId.
*/
int getCityId();
/**
* uint32 maxBossChestNum = 11;
* @return The maxBossChestNum.
*/
int getMaxBossChestNum();
/**
* .Vector pos = 4;
* @return Whether the pos field is set.
*/
boolean hasPos();
/**
* .Vector pos = 4;
* @return The pos.
*/
emu.grasscutter.net.proto.VectorOuterClass.Vector getPos();
/**
* .Vector pos = 4;
*/
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder();
/**
* bool isAreaLocked = 5;
* @return The isAreaLocked.
*/
boolean getIsAreaLocked();
/**
* uint32 level = 3;
* @return The level.
*/
int getLevel();
/**
* uint32 id = 15;
* @return The id.
*/
int getId();
/**
* uint32 monsterId = 1493;
* @return The monsterId.
*/
int getMonsterId();
/**
* uint32 nextBossChestRefreshTime = 12;
* @return The nextBossChestRefreshTime.
*/
int getNextBossChestRefreshTime();
/**
* uint32 resin = 9;
* @return The resin.
*/
int getResin();
/**
* bool isAlive = 14;
* @return The isAlive.
*/
boolean getIsAlive();
}
/**
* 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: {
nextRefreshTime_ = input.readUInt32();
break;
}
case 16: {
int rawValue = input.readEnum();
lockState_ = rawValue;
break;
}
case 24: {
level_ = input.readUInt32();
break;
}
case 34: {
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 40: {
isAreaLocked_ = input.readBool();
break;
}
case 48: {
refreshInterval_ = input.readUInt32();
break;
}
case 56: {
cityId_ = input.readUInt32();
break;
}
case 66: {
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 72: {
resin_ = input.readUInt32();
break;
}
case 80: {
bossChestNum_ = input.readUInt32();
break;
}
case 88: {
maxBossChestNum_ = input.readUInt32();
break;
}
case 96: {
nextBossChestRefreshTime_ = input.readUInt32();
break;
}
case 104: {
sceneId_ = input.readUInt32();
break;
}
case 112: {
isAlive_ = input.readBool();
break;
}
case 120: {
id_ = input.readUInt32();
break;
}
case 640: {
groupId_ = input.readUInt32();
break;
}
case 11944: {
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);
}
public static final int NEXTREFRESHTIME_FIELD_NUMBER = 1;
private int nextRefreshTime_;
/**
* uint32 nextRefreshTime = 1;
* @return The nextRefreshTime.
*/
@java.lang.Override
public int getNextRefreshTime() {
return nextRefreshTime_;
}
public static final int BOSSCHESTNUM_FIELD_NUMBER = 10;
private int bossChestNum_;
/**
* uint32 bossChestNum = 10;
* @return The bossChestNum.
*/
@java.lang.Override
public int getBossChestNum() {
return bossChestNum_;
}
public static final int WEEKLYBOSSRESINDISCOUNTINFO_FIELD_NUMBER = 8;
private emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo_;
/**
* .WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 8;
* @return Whether the weeklyBossResinDiscountInfo field is set.
*/
@java.lang.Override
public boolean hasWeeklyBossResinDiscountInfo() {
return weeklyBossResinDiscountInfo_ != null;
}
/**
* .WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 8;
* @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 weeklyBossResinDiscountInfo = 8;
*/
@java.lang.Override
public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder getWeeklyBossResinDiscountInfoOrBuilder() {
return getWeeklyBossResinDiscountInfo();
}
public static final int LOCKSTATE_FIELD_NUMBER = 2;
private int lockState_;
/**
* .LockState lockState = 2;
* @return The enum numeric value on the wire for lockState.
*/
@java.lang.Override public int getLockStateValue() {
return lockState_;
}
/**
* .LockState lockState = 2;
* @return The lockState.
*/
@java.lang.Override public emu.grasscutter.net.proto.LockStateOuterClass.LockState getLockState() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.LockStateOuterClass.LockState result = emu.grasscutter.net.proto.LockStateOuterClass.LockState.valueOf(lockState_);
return result == null ? emu.grasscutter.net.proto.LockStateOuterClass.LockState.UNRECOGNIZED : result;
}
public static final int REFRESHINTERVAL_FIELD_NUMBER = 6;
private int refreshInterval_;
/**
* uint32 refreshInterval = 6;
* @return The refreshInterval.
*/
@java.lang.Override
public int getRefreshInterval() {
return refreshInterval_;
}
public static final int GROUPID_FIELD_NUMBER = 80;
private int groupId_;
/**
* uint32 groupId = 80;
* @return The groupId.
*/
@java.lang.Override
public int getGroupId() {
return groupId_;
}
public static final int SCENEID_FIELD_NUMBER = 13;
private int sceneId_;
/**
* uint32 sceneId = 13;
* @return The sceneId.
*/
@java.lang.Override
public int getSceneId() {
return sceneId_;
}
public static final int CITYID_FIELD_NUMBER = 7;
private int cityId_;
/**
* uint32 cityId = 7;
* @return The cityId.
*/
@java.lang.Override
public int getCityId() {
return cityId_;
}
public static final int MAXBOSSCHESTNUM_FIELD_NUMBER = 11;
private int maxBossChestNum_;
/**
* uint32 maxBossChestNum = 11;
* @return The maxBossChestNum.
*/
@java.lang.Override
public int getMaxBossChestNum() {
return maxBossChestNum_;
}
public static final int POS_FIELD_NUMBER = 4;
private emu.grasscutter.net.proto.VectorOuterClass.Vector pos_;
/**
* .Vector pos = 4;
* @return Whether the pos field is set.
*/
@java.lang.Override
public boolean hasPos() {
return pos_ != null;
}
/**
* .Vector pos = 4;
* @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 = 4;
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder() {
return getPos();
}
public static final int ISAREALOCKED_FIELD_NUMBER = 5;
private boolean isAreaLocked_;
/**
* bool isAreaLocked = 5;
* @return The isAreaLocked.
*/
@java.lang.Override
public boolean getIsAreaLocked() {
return isAreaLocked_;
}
public static final int LEVEL_FIELD_NUMBER = 3;
private int level_;
/**
* uint32 level = 3;
* @return The level.
*/
@java.lang.Override
public int getLevel() {
return level_;
}
public static final int ID_FIELD_NUMBER = 15;
private int id_;
/**
* uint32 id = 15;
* @return The id.
*/
@java.lang.Override
public int getId() {
return id_;
}
public static final int MONSTERID_FIELD_NUMBER = 1493;
private int monsterId_;
/**
* uint32 monsterId = 1493;
* @return The monsterId.
*/
@java.lang.Override
public int getMonsterId() {
return monsterId_;
}
public static final int NEXTBOSSCHESTREFRESHTIME_FIELD_NUMBER = 12;
private int nextBossChestRefreshTime_;
/**
* uint32 nextBossChestRefreshTime = 12;
* @return The nextBossChestRefreshTime.
*/
@java.lang.Override
public int getNextBossChestRefreshTime() {
return nextBossChestRefreshTime_;
}
public static final int RESIN_FIELD_NUMBER = 9;
private int resin_;
/**
* uint32 resin = 9;
* @return The resin.
*/
@java.lang.Override
public int getResin() {
return resin_;
}
public static final int ISALIVE_FIELD_NUMBER = 14;
private boolean isAlive_;
/**
* bool isAlive = 14;
* @return The isAlive.
*/
@java.lang.Override
public boolean getIsAlive() {
return isAlive_;
}
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 (nextRefreshTime_ != 0) {
output.writeUInt32(1, nextRefreshTime_);
}
if (lockState_ != emu.grasscutter.net.proto.LockStateOuterClass.LockState.LOCK_STATE_NONE.getNumber()) {
output.writeEnum(2, lockState_);
}
if (level_ != 0) {
output.writeUInt32(3, level_);
}
if (pos_ != null) {
output.writeMessage(4, getPos());
}
if (isAreaLocked_ != false) {
output.writeBool(5, isAreaLocked_);
}
if (refreshInterval_ != 0) {
output.writeUInt32(6, refreshInterval_);
}
if (cityId_ != 0) {
output.writeUInt32(7, cityId_);
}
if (weeklyBossResinDiscountInfo_ != null) {
output.writeMessage(8, getWeeklyBossResinDiscountInfo());
}
if (resin_ != 0) {
output.writeUInt32(9, resin_);
}
if (bossChestNum_ != 0) {
output.writeUInt32(10, bossChestNum_);
}
if (maxBossChestNum_ != 0) {
output.writeUInt32(11, maxBossChestNum_);
}
if (nextBossChestRefreshTime_ != 0) {
output.writeUInt32(12, nextBossChestRefreshTime_);
}
if (sceneId_ != 0) {
output.writeUInt32(13, sceneId_);
}
if (isAlive_ != false) {
output.writeBool(14, isAlive_);
}
if (id_ != 0) {
output.writeUInt32(15, id_);
}
if (groupId_ != 0) {
output.writeUInt32(80, groupId_);
}
if (monsterId_ != 0) {
output.writeUInt32(1493, monsterId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (nextRefreshTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, nextRefreshTime_);
}
if (lockState_ != emu.grasscutter.net.proto.LockStateOuterClass.LockState.LOCK_STATE_NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, lockState_);
}
if (level_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, level_);
}
if (pos_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getPos());
}
if (isAreaLocked_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, isAreaLocked_);
}
if (refreshInterval_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, refreshInterval_);
}
if (cityId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, cityId_);
}
if (weeklyBossResinDiscountInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getWeeklyBossResinDiscountInfo());
}
if (resin_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, resin_);
}
if (bossChestNum_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, bossChestNum_);
}
if (maxBossChestNum_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, maxBossChestNum_);
}
if (nextBossChestRefreshTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, nextBossChestRefreshTime_);
}
if (sceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, sceneId_);
}
if (isAlive_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(14, isAlive_);
}
if (id_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, id_);
}
if (groupId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(80, groupId_);
}
if (monsterId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1493, 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 (getNextRefreshTime()
!= other.getNextRefreshTime()) return false;
if (getBossChestNum()
!= other.getBossChestNum()) return false;
if (hasWeeklyBossResinDiscountInfo() != other.hasWeeklyBossResinDiscountInfo()) return false;
if (hasWeeklyBossResinDiscountInfo()) {
if (!getWeeklyBossResinDiscountInfo()
.equals(other.getWeeklyBossResinDiscountInfo())) return false;
}
if (lockState_ != other.lockState_) return false;
if (getRefreshInterval()
!= other.getRefreshInterval()) return false;
if (getGroupId()
!= other.getGroupId()) return false;
if (getSceneId()
!= other.getSceneId()) return false;
if (getCityId()
!= other.getCityId()) return false;
if (getMaxBossChestNum()
!= other.getMaxBossChestNum()) return false;
if (hasPos() != other.hasPos()) return false;
if (hasPos()) {
if (!getPos()
.equals(other.getPos())) return false;
}
if (getIsAreaLocked()
!= other.getIsAreaLocked()) return false;
if (getLevel()
!= other.getLevel()) return false;
if (getId()
!= other.getId()) return false;
if (getMonsterId()
!= other.getMonsterId()) return false;
if (getNextBossChestRefreshTime()
!= other.getNextBossChestRefreshTime()) return false;
if (getResin()
!= other.getResin()) return false;
if (getIsAlive()
!= other.getIsAlive()) 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) + NEXTREFRESHTIME_FIELD_NUMBER;
hash = (53 * hash) + getNextRefreshTime();
hash = (37 * hash) + BOSSCHESTNUM_FIELD_NUMBER;
hash = (53 * hash) + getBossChestNum();
if (hasWeeklyBossResinDiscountInfo()) {
hash = (37 * hash) + WEEKLYBOSSRESINDISCOUNTINFO_FIELD_NUMBER;
hash = (53 * hash) + getWeeklyBossResinDiscountInfo().hashCode();
}
hash = (37 * hash) + LOCKSTATE_FIELD_NUMBER;
hash = (53 * hash) + lockState_;
hash = (37 * hash) + REFRESHINTERVAL_FIELD_NUMBER;
hash = (53 * hash) + getRefreshInterval();
hash = (37 * hash) + GROUPID_FIELD_NUMBER;
hash = (53 * hash) + getGroupId();
hash = (37 * hash) + SCENEID_FIELD_NUMBER;
hash = (53 * hash) + getSceneId();
hash = (37 * hash) + CITYID_FIELD_NUMBER;
hash = (53 * hash) + getCityId();
hash = (37 * hash) + MAXBOSSCHESTNUM_FIELD_NUMBER;
hash = (53 * hash) + getMaxBossChestNum();
if (hasPos()) {
hash = (37 * hash) + POS_FIELD_NUMBER;
hash = (53 * hash) + getPos().hashCode();
}
hash = (37 * hash) + ISAREALOCKED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsAreaLocked());
hash = (37 * hash) + LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getLevel();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId();
hash = (37 * hash) + MONSTERID_FIELD_NUMBER;
hash = (53 * hash) + getMonsterId();
hash = (37 * hash) + NEXTBOSSCHESTREFRESHTIME_FIELD_NUMBER;
hash = (53 * hash) + getNextBossChestRefreshTime();
hash = (37 * hash) + RESIN_FIELD_NUMBER;
hash = (53 * hash) + getResin();
hash = (37 * hash) + ISALIVE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsAlive());
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();
nextRefreshTime_ = 0;
bossChestNum_ = 0;
if (weeklyBossResinDiscountInfoBuilder_ == null) {
weeklyBossResinDiscountInfo_ = null;
} else {
weeklyBossResinDiscountInfo_ = null;
weeklyBossResinDiscountInfoBuilder_ = null;
}
lockState_ = 0;
refreshInterval_ = 0;
groupId_ = 0;
sceneId_ = 0;
cityId_ = 0;
maxBossChestNum_ = 0;
if (posBuilder_ == null) {
pos_ = null;
} else {
pos_ = null;
posBuilder_ = null;
}
isAreaLocked_ = false;
level_ = 0;
id_ = 0;
monsterId_ = 0;
nextBossChestRefreshTime_ = 0;
resin_ = 0;
isAlive_ = false;
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.nextRefreshTime_ = nextRefreshTime_;
result.bossChestNum_ = bossChestNum_;
if (weeklyBossResinDiscountInfoBuilder_ == null) {
result.weeklyBossResinDiscountInfo_ = weeklyBossResinDiscountInfo_;
} else {
result.weeklyBossResinDiscountInfo_ = weeklyBossResinDiscountInfoBuilder_.build();
}
result.lockState_ = lockState_;
result.refreshInterval_ = refreshInterval_;
result.groupId_ = groupId_;
result.sceneId_ = sceneId_;
result.cityId_ = cityId_;
result.maxBossChestNum_ = maxBossChestNum_;
if (posBuilder_ == null) {
result.pos_ = pos_;
} else {
result.pos_ = posBuilder_.build();
}
result.isAreaLocked_ = isAreaLocked_;
result.level_ = level_;
result.id_ = id_;
result.monsterId_ = monsterId_;
result.nextBossChestRefreshTime_ = nextBossChestRefreshTime_;
result.resin_ = resin_;
result.isAlive_ = isAlive_;
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.getNextRefreshTime() != 0) {
setNextRefreshTime(other.getNextRefreshTime());
}
if (other.getBossChestNum() != 0) {
setBossChestNum(other.getBossChestNum());
}
if (other.hasWeeklyBossResinDiscountInfo()) {
mergeWeeklyBossResinDiscountInfo(other.getWeeklyBossResinDiscountInfo());
}
if (other.lockState_ != 0) {
setLockStateValue(other.getLockStateValue());
}
if (other.getRefreshInterval() != 0) {
setRefreshInterval(other.getRefreshInterval());
}
if (other.getGroupId() != 0) {
setGroupId(other.getGroupId());
}
if (other.getSceneId() != 0) {
setSceneId(other.getSceneId());
}
if (other.getCityId() != 0) {
setCityId(other.getCityId());
}
if (other.getMaxBossChestNum() != 0) {
setMaxBossChestNum(other.getMaxBossChestNum());
}
if (other.hasPos()) {
mergePos(other.getPos());
}
if (other.getIsAreaLocked() != false) {
setIsAreaLocked(other.getIsAreaLocked());
}
if (other.getLevel() != 0) {
setLevel(other.getLevel());
}
if (other.getId() != 0) {
setId(other.getId());
}
if (other.getMonsterId() != 0) {
setMonsterId(other.getMonsterId());
}
if (other.getNextBossChestRefreshTime() != 0) {
setNextBossChestRefreshTime(other.getNextBossChestRefreshTime());
}
if (other.getResin() != 0) {
setResin(other.getResin());
}
if (other.getIsAlive() != false) {
setIsAlive(other.getIsAlive());
}
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 int nextRefreshTime_ ;
/**
* uint32 nextRefreshTime = 1;
* @return The nextRefreshTime.
*/
@java.lang.Override
public int getNextRefreshTime() {
return nextRefreshTime_;
}
/**
* uint32 nextRefreshTime = 1;
* @param value The nextRefreshTime to set.
* @return This builder for chaining.
*/
public Builder setNextRefreshTime(int value) {
nextRefreshTime_ = value;
onChanged();
return this;
}
/**
* uint32 nextRefreshTime = 1;
* @return This builder for chaining.
*/
public Builder clearNextRefreshTime() {
nextRefreshTime_ = 0;
onChanged();
return this;
}
private int bossChestNum_ ;
/**
* uint32 bossChestNum = 10;
* @return The bossChestNum.
*/
@java.lang.Override
public int getBossChestNum() {
return bossChestNum_;
}
/**
* uint32 bossChestNum = 10;
* @param value The bossChestNum to set.
* @return This builder for chaining.
*/
public Builder setBossChestNum(int value) {
bossChestNum_ = value;
onChanged();
return this;
}
/**
* uint32 bossChestNum = 10;
* @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 weeklyBossResinDiscountInfo = 8;
* @return Whether the weeklyBossResinDiscountInfo field is set.
*/
public boolean hasWeeklyBossResinDiscountInfo() {
return weeklyBossResinDiscountInfoBuilder_ != null || weeklyBossResinDiscountInfo_ != null;
}
/**
* .WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 8;
* @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 weeklyBossResinDiscountInfo = 8;
*/
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 weeklyBossResinDiscountInfo = 8;
*/
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 weeklyBossResinDiscountInfo = 8;
*/
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 weeklyBossResinDiscountInfo = 8;
*/
public Builder clearWeeklyBossResinDiscountInfo() {
if (weeklyBossResinDiscountInfoBuilder_ == null) {
weeklyBossResinDiscountInfo_ = null;
onChanged();
} else {
weeklyBossResinDiscountInfo_ = null;
weeklyBossResinDiscountInfoBuilder_ = null;
}
return this;
}
/**
* .WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 8;
*/
public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.Builder getWeeklyBossResinDiscountInfoBuilder() {
onChanged();
return getWeeklyBossResinDiscountInfoFieldBuilder().getBuilder();
}
/**
* .WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 8;
*/
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 weeklyBossResinDiscountInfo = 8;
*/
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 lockState_ = 0;
/**
* .LockState lockState = 2;
* @return The enum numeric value on the wire for lockState.
*/
@java.lang.Override public int getLockStateValue() {
return lockState_;
}
/**
* .LockState lockState = 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;
}
/**
* .LockState lockState = 2;
* @return The lockState.
*/
@java.lang.Override
public emu.grasscutter.net.proto.LockStateOuterClass.LockState getLockState() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.LockStateOuterClass.LockState result = emu.grasscutter.net.proto.LockStateOuterClass.LockState.valueOf(lockState_);
return result == null ? emu.grasscutter.net.proto.LockStateOuterClass.LockState.UNRECOGNIZED : result;
}
/**
* .LockState lockState = 2;
* @param value The lockState to set.
* @return This builder for chaining.
*/
public Builder setLockState(emu.grasscutter.net.proto.LockStateOuterClass.LockState value) {
if (value == null) {
throw new NullPointerException();
}
lockState_ = value.getNumber();
onChanged();
return this;
}
/**
* .LockState lockState = 2;
* @return This builder for chaining.
*/
public Builder clearLockState() {
lockState_ = 0;
onChanged();
return this;
}
private int refreshInterval_ ;
/**
* uint32 refreshInterval = 6;
* @return The refreshInterval.
*/
@java.lang.Override
public int getRefreshInterval() {
return refreshInterval_;
}
/**
* uint32 refreshInterval = 6;
* @param value The refreshInterval to set.
* @return This builder for chaining.
*/
public Builder setRefreshInterval(int value) {
refreshInterval_ = value;
onChanged();
return this;
}
/**
* uint32 refreshInterval = 6;
* @return This builder for chaining.
*/
public Builder clearRefreshInterval() {
refreshInterval_ = 0;
onChanged();
return this;
}
private int groupId_ ;
/**
* uint32 groupId = 80;
* @return The groupId.
*/
@java.lang.Override
public int getGroupId() {
return groupId_;
}
/**
* uint32 groupId = 80;
* @param value The groupId to set.
* @return This builder for chaining.
*/
public Builder setGroupId(int value) {
groupId_ = value;
onChanged();
return this;
}
/**
* uint32 groupId = 80;
* @return This builder for chaining.
*/
public Builder clearGroupId() {
groupId_ = 0;
onChanged();
return this;
}
private int sceneId_ ;
/**
* uint32 sceneId = 13;
* @return The sceneId.
*/
@java.lang.Override
public int getSceneId() {
return sceneId_;
}
/**
* uint32 sceneId = 13;
* @param value The sceneId to set.
* @return This builder for chaining.
*/
public Builder setSceneId(int value) {
sceneId_ = value;
onChanged();
return this;
}
/**
* uint32 sceneId = 13;
* @return This builder for chaining.
*/
public Builder clearSceneId() {
sceneId_ = 0;
onChanged();
return this;
}
private int cityId_ ;
/**
* uint32 cityId = 7;
* @return The cityId.
*/
@java.lang.Override
public int getCityId() {
return cityId_;
}
/**
* uint32 cityId = 7;
* @param value The cityId to set.
* @return This builder for chaining.
*/
public Builder setCityId(int value) {
cityId_ = value;
onChanged();
return this;
}
/**
* uint32 cityId = 7;
* @return This builder for chaining.
*/
public Builder clearCityId() {
cityId_ = 0;
onChanged();
return this;
}
private int maxBossChestNum_ ;
/**
* uint32 maxBossChestNum = 11;
* @return The maxBossChestNum.
*/
@java.lang.Override
public int getMaxBossChestNum() {
return maxBossChestNum_;
}
/**
* uint32 maxBossChestNum = 11;
* @param value The maxBossChestNum to set.
* @return This builder for chaining.
*/
public Builder setMaxBossChestNum(int value) {
maxBossChestNum_ = value;
onChanged();
return this;
}
/**
* uint32 maxBossChestNum = 11;
* @return This builder for chaining.
*/
public Builder clearMaxBossChestNum() {
maxBossChestNum_ = 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 = 4;
* @return Whether the pos field is set.
*/
public boolean hasPos() {
return posBuilder_ != null || pos_ != null;
}
/**
* .Vector pos = 4;
* @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 = 4;
*/
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 = 4;
*/
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 = 4;
*/
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 = 4;
*/
public Builder clearPos() {
if (posBuilder_ == null) {
pos_ = null;
onChanged();
} else {
pos_ = null;
posBuilder_ = null;
}
return this;
}
/**
* .Vector pos = 4;
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPosBuilder() {
onChanged();
return getPosFieldBuilder().getBuilder();
}
/**
* .Vector pos = 4;
*/
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 = 4;
*/
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 boolean isAreaLocked_ ;
/**
* bool isAreaLocked = 5;
* @return The isAreaLocked.
*/
@java.lang.Override
public boolean getIsAreaLocked() {
return isAreaLocked_;
}
/**
* bool isAreaLocked = 5;
* @param value The isAreaLocked to set.
* @return This builder for chaining.
*/
public Builder setIsAreaLocked(boolean value) {
isAreaLocked_ = value;
onChanged();
return this;
}
/**
* bool isAreaLocked = 5;
* @return This builder for chaining.
*/
public Builder clearIsAreaLocked() {
isAreaLocked_ = false;
onChanged();
return this;
}
private int level_ ;
/**
* uint32 level = 3;
* @return The level.
*/
@java.lang.Override
public int getLevel() {
return level_;
}
/**
* uint32 level = 3;
* @param value The level to set.
* @return This builder for chaining.
*/
public Builder setLevel(int value) {
level_ = value;
onChanged();
return this;
}
/**
* uint32 level = 3;
* @return This builder for chaining.
*/
public Builder clearLevel() {
level_ = 0;
onChanged();
return this;
}
private int id_ ;
/**
* uint32 id = 15;
* @return The id.
*/
@java.lang.Override
public int getId() {
return id_;
}
/**
* uint32 id = 15;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(int value) {
id_ = value;
onChanged();
return this;
}
/**
* uint32 id = 15;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = 0;
onChanged();
return this;
}
private int monsterId_ ;
/**
* uint32 monsterId = 1493;
* @return The monsterId.
*/
@java.lang.Override
public int getMonsterId() {
return monsterId_;
}
/**
* uint32 monsterId = 1493;
* @param value The monsterId to set.
* @return This builder for chaining.
*/
public Builder setMonsterId(int value) {
monsterId_ = value;
onChanged();
return this;
}
/**
* uint32 monsterId = 1493;
* @return This builder for chaining.
*/
public Builder clearMonsterId() {
monsterId_ = 0;
onChanged();
return this;
}
private int nextBossChestRefreshTime_ ;
/**
* uint32 nextBossChestRefreshTime = 12;
* @return The nextBossChestRefreshTime.
*/
@java.lang.Override
public int getNextBossChestRefreshTime() {
return nextBossChestRefreshTime_;
}
/**
* uint32 nextBossChestRefreshTime = 12;
* @param value The nextBossChestRefreshTime to set.
* @return This builder for chaining.
*/
public Builder setNextBossChestRefreshTime(int value) {
nextBossChestRefreshTime_ = value;
onChanged();
return this;
}
/**
* uint32 nextBossChestRefreshTime = 12;
* @return This builder for chaining.
*/
public Builder clearNextBossChestRefreshTime() {
nextBossChestRefreshTime_ = 0;
onChanged();
return this;
}
private int resin_ ;
/**
* uint32 resin = 9;
* @return The resin.
*/
@java.lang.Override
public int getResin() {
return resin_;
}
/**
* uint32 resin = 9;
* @param value The resin to set.
* @return This builder for chaining.
*/
public Builder setResin(int value) {
resin_ = value;
onChanged();
return this;
}
/**
* uint32 resin = 9;
* @return This builder for chaining.
*/
public Builder clearResin() {
resin_ = 0;
onChanged();
return this;
}
private boolean isAlive_ ;
/**
* bool isAlive = 14;
* @return The isAlive.
*/
@java.lang.Override
public boolean getIsAlive() {
return isAlive_;
}
/**
* bool isAlive = 14;
* @param value The isAlive to set.
* @return This builder for chaining.
*/
public Builder setIsAlive(boolean value) {
isAlive_ = value;
onChanged();
return this;
}
/**
* bool isAlive = 14;
* @return This builder for chaining.
*/
public Builder clearIsAlive() {
isAlive_ = false;
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!WeeklyBoss" +
"ResinDiscountInfo.proto\032\017LockState.proto" +
"\032\014Vector.proto\"\250\003\n\024InvestigationMonster\022" +
"\027\n\017nextRefreshTime\030\001 \001(\r\022\024\n\014bossChestNum" +
"\030\n \001(\r\022A\n\033weeklyBossResinDiscountInfo\030\010 " +
"\001(\0132\034.WeeklyBossResinDiscountInfo\022\035\n\tloc" +
"kState\030\002 \001(\0162\n.LockState\022\027\n\017refreshInter" +
"val\030\006 \001(\r\022\017\n\007groupId\030P \001(\r\022\017\n\007sceneId\030\r " +
"\001(\r\022\016\n\006cityId\030\007 \001(\r\022\027\n\017maxBossChestNum\030\013" +
" \001(\r\022\024\n\003pos\030\004 \001(\0132\007.Vector\022\024\n\014isAreaLock" +
"ed\030\005 \001(\010\022\r\n\005level\030\003 \001(\r\022\n\n\002id\030\017 \001(\r\022\022\n\tm" +
"onsterId\030\325\013 \001(\r\022 \n\030nextBossChestRefreshT" +
"ime\030\014 \001(\r\022\r\n\005resin\030\t \001(\r\022\017\n\007isAlive\030\016 \001(" +
"\010B\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.getDescriptor(),
emu.grasscutter.net.proto.LockStateOuterClass.getDescriptor(),
emu.grasscutter.net.proto.VectorOuterClass.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[] { "NextRefreshTime", "BossChestNum", "WeeklyBossResinDiscountInfo", "LockState", "RefreshInterval", "GroupId", "SceneId", "CityId", "MaxBossChestNum", "Pos", "IsAreaLocked", "Level", "Id", "MonsterId", "NextBossChestRefreshTime", "Resin", "IsAlive", });
emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.getDescriptor();
emu.grasscutter.net.proto.LockStateOuterClass.getDescriptor();
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}