Grasscutter/src/main/java/emu/grasscutter/net/proto/DungeonEntryInfoOuterClass.java
2022-04-17 05:43:07 -07:00

1239 lines
43 KiB
Java

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: DungeonEntryInfo.proto
package emu.grasscutter.net.proto;
public final class DungeonEntryInfoOuterClass {
private DungeonEntryInfoOuterClass() {}
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 DungeonEntryInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:DungeonEntryInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 dungeonId = 1;</code>
* @return The dungeonId.
*/
int getDungeonId();
/**
* <code>bool isPassed = 2;</code>
* @return The isPassed.
*/
boolean getIsPassed();
/**
* <code>uint32 leftTimes = 3;</code>
* @return The leftTimes.
*/
int getLeftTimes();
/**
* <code>uint32 startTime = 4;</code>
* @return The startTime.
*/
int getStartTime();
/**
* <code>uint32 endTime = 5;</code>
* @return The endTime.
*/
int getEndTime();
/**
* <code>uint32 maxBossChestNum = 6;</code>
* @return The maxBossChestNum.
*/
int getMaxBossChestNum();
/**
* <code>uint32 bossChestNum = 7;</code>
* @return The bossChestNum.
*/
int getBossChestNum();
/**
* <code>uint32 nextRefreshTime = 8;</code>
* @return The nextRefreshTime.
*/
int getNextRefreshTime();
/**
* <code>.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 9;</code>
* @return Whether the weeklyBossResinDiscountInfo field is set.
*/
boolean hasWeeklyBossResinDiscountInfo();
/**
* <code>.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 9;</code>
* @return The weeklyBossResinDiscountInfo.
*/
emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo getWeeklyBossResinDiscountInfo();
/**
* <code>.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 9;</code>
*/
emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder getWeeklyBossResinDiscountInfoOrBuilder();
}
/**
* Protobuf type {@code DungeonEntryInfo}
*/
public static final class DungeonEntryInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:DungeonEntryInfo)
DungeonEntryInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use DungeonEntryInfo.newBuilder() to construct.
private DungeonEntryInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DungeonEntryInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DungeonEntryInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DungeonEntryInfo(
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: {
dungeonId_ = input.readUInt32();
break;
}
case 16: {
isPassed_ = input.readBool();
break;
}
case 24: {
leftTimes_ = input.readUInt32();
break;
}
case 32: {
startTime_ = input.readUInt32();
break;
}
case 40: {
endTime_ = input.readUInt32();
break;
}
case 48: {
maxBossChestNum_ = input.readUInt32();
break;
}
case 56: {
bossChestNum_ = input.readUInt32();
break;
}
case 64: {
nextRefreshTime_ = input.readUInt32();
break;
}
case 74: {
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;
}
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.DungeonEntryInfoOuterClass.internal_static_DungeonEntryInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.internal_static_DungeonEntryInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.class, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder.class);
}
public static final int DUNGEONID_FIELD_NUMBER = 1;
private int dungeonId_;
/**
* <code>uint32 dungeonId = 1;</code>
* @return The dungeonId.
*/
@java.lang.Override
public int getDungeonId() {
return dungeonId_;
}
public static final int ISPASSED_FIELD_NUMBER = 2;
private boolean isPassed_;
/**
* <code>bool isPassed = 2;</code>
* @return The isPassed.
*/
@java.lang.Override
public boolean getIsPassed() {
return isPassed_;
}
public static final int LEFTTIMES_FIELD_NUMBER = 3;
private int leftTimes_;
/**
* <code>uint32 leftTimes = 3;</code>
* @return The leftTimes.
*/
@java.lang.Override
public int getLeftTimes() {
return leftTimes_;
}
public static final int STARTTIME_FIELD_NUMBER = 4;
private int startTime_;
/**
* <code>uint32 startTime = 4;</code>
* @return The startTime.
*/
@java.lang.Override
public int getStartTime() {
return startTime_;
}
public static final int ENDTIME_FIELD_NUMBER = 5;
private int endTime_;
/**
* <code>uint32 endTime = 5;</code>
* @return The endTime.
*/
@java.lang.Override
public int getEndTime() {
return endTime_;
}
public static final int MAXBOSSCHESTNUM_FIELD_NUMBER = 6;
private int maxBossChestNum_;
/**
* <code>uint32 maxBossChestNum = 6;</code>
* @return The maxBossChestNum.
*/
@java.lang.Override
public int getMaxBossChestNum() {
return maxBossChestNum_;
}
public static final int BOSSCHESTNUM_FIELD_NUMBER = 7;
private int bossChestNum_;
/**
* <code>uint32 bossChestNum = 7;</code>
* @return The bossChestNum.
*/
@java.lang.Override
public int getBossChestNum() {
return bossChestNum_;
}
public static final int NEXTREFRESHTIME_FIELD_NUMBER = 8;
private int nextRefreshTime_;
/**
* <code>uint32 nextRefreshTime = 8;</code>
* @return The nextRefreshTime.
*/
@java.lang.Override
public int getNextRefreshTime() {
return nextRefreshTime_;
}
public static final int WEEKLYBOSSRESINDISCOUNTINFO_FIELD_NUMBER = 9;
private emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo_;
/**
* <code>.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 9;</code>
* @return Whether the weeklyBossResinDiscountInfo field is set.
*/
@java.lang.Override
public boolean hasWeeklyBossResinDiscountInfo() {
return weeklyBossResinDiscountInfo_ != null;
}
/**
* <code>.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 9;</code>
* @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_;
}
/**
* <code>.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 9;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder getWeeklyBossResinDiscountInfoOrBuilder() {
return getWeeklyBossResinDiscountInfo();
}
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 (dungeonId_ != 0) {
output.writeUInt32(1, dungeonId_);
}
if (isPassed_ != false) {
output.writeBool(2, isPassed_);
}
if (leftTimes_ != 0) {
output.writeUInt32(3, leftTimes_);
}
if (startTime_ != 0) {
output.writeUInt32(4, startTime_);
}
if (endTime_ != 0) {
output.writeUInt32(5, endTime_);
}
if (maxBossChestNum_ != 0) {
output.writeUInt32(6, maxBossChestNum_);
}
if (bossChestNum_ != 0) {
output.writeUInt32(7, bossChestNum_);
}
if (nextRefreshTime_ != 0) {
output.writeUInt32(8, nextRefreshTime_);
}
if (weeklyBossResinDiscountInfo_ != null) {
output.writeMessage(9, getWeeklyBossResinDiscountInfo());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (dungeonId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, dungeonId_);
}
if (isPassed_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, isPassed_);
}
if (leftTimes_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, leftTimes_);
}
if (startTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, startTime_);
}
if (endTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, endTime_);
}
if (maxBossChestNum_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, maxBossChestNum_);
}
if (bossChestNum_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, bossChestNum_);
}
if (nextRefreshTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, nextRefreshTime_);
}
if (weeklyBossResinDiscountInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getWeeklyBossResinDiscountInfo());
}
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.DungeonEntryInfoOuterClass.DungeonEntryInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo other = (emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo) obj;
if (getDungeonId()
!= other.getDungeonId()) return false;
if (getIsPassed()
!= other.getIsPassed()) return false;
if (getLeftTimes()
!= other.getLeftTimes()) return false;
if (getStartTime()
!= other.getStartTime()) return false;
if (getEndTime()
!= other.getEndTime()) return false;
if (getMaxBossChestNum()
!= other.getMaxBossChestNum()) return false;
if (getBossChestNum()
!= other.getBossChestNum()) return false;
if (getNextRefreshTime()
!= other.getNextRefreshTime()) return false;
if (hasWeeklyBossResinDiscountInfo() != other.hasWeeklyBossResinDiscountInfo()) return false;
if (hasWeeklyBossResinDiscountInfo()) {
if (!getWeeklyBossResinDiscountInfo()
.equals(other.getWeeklyBossResinDiscountInfo())) 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) + DUNGEONID_FIELD_NUMBER;
hash = (53 * hash) + getDungeonId();
hash = (37 * hash) + ISPASSED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsPassed());
hash = (37 * hash) + LEFTTIMES_FIELD_NUMBER;
hash = (53 * hash) + getLeftTimes();
hash = (37 * hash) + STARTTIME_FIELD_NUMBER;
hash = (53 * hash) + getStartTime();
hash = (37 * hash) + ENDTIME_FIELD_NUMBER;
hash = (53 * hash) + getEndTime();
hash = (37 * hash) + MAXBOSSCHESTNUM_FIELD_NUMBER;
hash = (53 * hash) + getMaxBossChestNum();
hash = (37 * hash) + BOSSCHESTNUM_FIELD_NUMBER;
hash = (53 * hash) + getBossChestNum();
hash = (37 * hash) + NEXTREFRESHTIME_FIELD_NUMBER;
hash = (53 * hash) + getNextRefreshTime();
if (hasWeeklyBossResinDiscountInfo()) {
hash = (37 * hash) + WEEKLYBOSSRESINDISCOUNTINFO_FIELD_NUMBER;
hash = (53 * hash) + getWeeklyBossResinDiscountInfo().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo 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.DungeonEntryInfoOuterClass.DungeonEntryInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo 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.DungeonEntryInfoOuterClass.DungeonEntryInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo 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.DungeonEntryInfoOuterClass.DungeonEntryInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo 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.DungeonEntryInfoOuterClass.DungeonEntryInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo 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.DungeonEntryInfoOuterClass.DungeonEntryInfo 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 DungeonEntryInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:DungeonEntryInfo)
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.internal_static_DungeonEntryInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.internal_static_DungeonEntryInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.class, emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.Builder.class);
}
// Construct using emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.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();
dungeonId_ = 0;
isPassed_ = false;
leftTimes_ = 0;
startTime_ = 0;
endTime_ = 0;
maxBossChestNum_ = 0;
bossChestNum_ = 0;
nextRefreshTime_ = 0;
if (weeklyBossResinDiscountInfoBuilder_ == null) {
weeklyBossResinDiscountInfo_ = null;
} else {
weeklyBossResinDiscountInfo_ = null;
weeklyBossResinDiscountInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.internal_static_DungeonEntryInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getDefaultInstanceForType() {
return emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo build() {
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo buildPartial() {
emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo result = new emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo(this);
result.dungeonId_ = dungeonId_;
result.isPassed_ = isPassed_;
result.leftTimes_ = leftTimes_;
result.startTime_ = startTime_;
result.endTime_ = endTime_;
result.maxBossChestNum_ = maxBossChestNum_;
result.bossChestNum_ = bossChestNum_;
result.nextRefreshTime_ = nextRefreshTime_;
if (weeklyBossResinDiscountInfoBuilder_ == null) {
result.weeklyBossResinDiscountInfo_ = weeklyBossResinDiscountInfo_;
} else {
result.weeklyBossResinDiscountInfo_ = weeklyBossResinDiscountInfoBuilder_.build();
}
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.DungeonEntryInfoOuterClass.DungeonEntryInfo) {
return mergeFrom((emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo other) {
if (other == emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.getDefaultInstance()) return this;
if (other.getDungeonId() != 0) {
setDungeonId(other.getDungeonId());
}
if (other.getIsPassed() != false) {
setIsPassed(other.getIsPassed());
}
if (other.getLeftTimes() != 0) {
setLeftTimes(other.getLeftTimes());
}
if (other.getStartTime() != 0) {
setStartTime(other.getStartTime());
}
if (other.getEndTime() != 0) {
setEndTime(other.getEndTime());
}
if (other.getMaxBossChestNum() != 0) {
setMaxBossChestNum(other.getMaxBossChestNum());
}
if (other.getBossChestNum() != 0) {
setBossChestNum(other.getBossChestNum());
}
if (other.getNextRefreshTime() != 0) {
setNextRefreshTime(other.getNextRefreshTime());
}
if (other.hasWeeklyBossResinDiscountInfo()) {
mergeWeeklyBossResinDiscountInfo(other.getWeeklyBossResinDiscountInfo());
}
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.DungeonEntryInfoOuterClass.DungeonEntryInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int dungeonId_ ;
/**
* <code>uint32 dungeonId = 1;</code>
* @return The dungeonId.
*/
@java.lang.Override
public int getDungeonId() {
return dungeonId_;
}
/**
* <code>uint32 dungeonId = 1;</code>
* @param value The dungeonId to set.
* @return This builder for chaining.
*/
public Builder setDungeonId(int value) {
dungeonId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 dungeonId = 1;</code>
* @return This builder for chaining.
*/
public Builder clearDungeonId() {
dungeonId_ = 0;
onChanged();
return this;
}
private boolean isPassed_ ;
/**
* <code>bool isPassed = 2;</code>
* @return The isPassed.
*/
@java.lang.Override
public boolean getIsPassed() {
return isPassed_;
}
/**
* <code>bool isPassed = 2;</code>
* @param value The isPassed to set.
* @return This builder for chaining.
*/
public Builder setIsPassed(boolean value) {
isPassed_ = value;
onChanged();
return this;
}
/**
* <code>bool isPassed = 2;</code>
* @return This builder for chaining.
*/
public Builder clearIsPassed() {
isPassed_ = false;
onChanged();
return this;
}
private int leftTimes_ ;
/**
* <code>uint32 leftTimes = 3;</code>
* @return The leftTimes.
*/
@java.lang.Override
public int getLeftTimes() {
return leftTimes_;
}
/**
* <code>uint32 leftTimes = 3;</code>
* @param value The leftTimes to set.
* @return This builder for chaining.
*/
public Builder setLeftTimes(int value) {
leftTimes_ = value;
onChanged();
return this;
}
/**
* <code>uint32 leftTimes = 3;</code>
* @return This builder for chaining.
*/
public Builder clearLeftTimes() {
leftTimes_ = 0;
onChanged();
return this;
}
private int startTime_ ;
/**
* <code>uint32 startTime = 4;</code>
* @return The startTime.
*/
@java.lang.Override
public int getStartTime() {
return startTime_;
}
/**
* <code>uint32 startTime = 4;</code>
* @param value The startTime to set.
* @return This builder for chaining.
*/
public Builder setStartTime(int value) {
startTime_ = value;
onChanged();
return this;
}
/**
* <code>uint32 startTime = 4;</code>
* @return This builder for chaining.
*/
public Builder clearStartTime() {
startTime_ = 0;
onChanged();
return this;
}
private int endTime_ ;
/**
* <code>uint32 endTime = 5;</code>
* @return The endTime.
*/
@java.lang.Override
public int getEndTime() {
return endTime_;
}
/**
* <code>uint32 endTime = 5;</code>
* @param value The endTime to set.
* @return This builder for chaining.
*/
public Builder setEndTime(int value) {
endTime_ = value;
onChanged();
return this;
}
/**
* <code>uint32 endTime = 5;</code>
* @return This builder for chaining.
*/
public Builder clearEndTime() {
endTime_ = 0;
onChanged();
return this;
}
private int maxBossChestNum_ ;
/**
* <code>uint32 maxBossChestNum = 6;</code>
* @return The maxBossChestNum.
*/
@java.lang.Override
public int getMaxBossChestNum() {
return maxBossChestNum_;
}
/**
* <code>uint32 maxBossChestNum = 6;</code>
* @param value The maxBossChestNum to set.
* @return This builder for chaining.
*/
public Builder setMaxBossChestNum(int value) {
maxBossChestNum_ = value;
onChanged();
return this;
}
/**
* <code>uint32 maxBossChestNum = 6;</code>
* @return This builder for chaining.
*/
public Builder clearMaxBossChestNum() {
maxBossChestNum_ = 0;
onChanged();
return this;
}
private int bossChestNum_ ;
/**
* <code>uint32 bossChestNum = 7;</code>
* @return The bossChestNum.
*/
@java.lang.Override
public int getBossChestNum() {
return bossChestNum_;
}
/**
* <code>uint32 bossChestNum = 7;</code>
* @param value The bossChestNum to set.
* @return This builder for chaining.
*/
public Builder setBossChestNum(int value) {
bossChestNum_ = value;
onChanged();
return this;
}
/**
* <code>uint32 bossChestNum = 7;</code>
* @return This builder for chaining.
*/
public Builder clearBossChestNum() {
bossChestNum_ = 0;
onChanged();
return this;
}
private int nextRefreshTime_ ;
/**
* <code>uint32 nextRefreshTime = 8;</code>
* @return The nextRefreshTime.
*/
@java.lang.Override
public int getNextRefreshTime() {
return nextRefreshTime_;
}
/**
* <code>uint32 nextRefreshTime = 8;</code>
* @param value The nextRefreshTime to set.
* @return This builder for chaining.
*/
public Builder setNextRefreshTime(int value) {
nextRefreshTime_ = value;
onChanged();
return this;
}
/**
* <code>uint32 nextRefreshTime = 8;</code>
* @return This builder for chaining.
*/
public Builder clearNextRefreshTime() {
nextRefreshTime_ = 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_;
/**
* <code>.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 9;</code>
* @return Whether the weeklyBossResinDiscountInfo field is set.
*/
public boolean hasWeeklyBossResinDiscountInfo() {
return weeklyBossResinDiscountInfoBuilder_ != null || weeklyBossResinDiscountInfo_ != null;
}
/**
* <code>.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 9;</code>
* @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();
}
}
/**
* <code>.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 9;</code>
*/
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;
}
/**
* <code>.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 9;</code>
*/
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;
}
/**
* <code>.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 9;</code>
*/
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;
}
/**
* <code>.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 9;</code>
*/
public Builder clearWeeklyBossResinDiscountInfo() {
if (weeklyBossResinDiscountInfoBuilder_ == null) {
weeklyBossResinDiscountInfo_ = null;
onChanged();
} else {
weeklyBossResinDiscountInfo_ = null;
weeklyBossResinDiscountInfoBuilder_ = null;
}
return this;
}
/**
* <code>.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 9;</code>
*/
public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.Builder getWeeklyBossResinDiscountInfoBuilder() {
onChanged();
return getWeeklyBossResinDiscountInfoFieldBuilder().getBuilder();
}
/**
* <code>.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 9;</code>
*/
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_;
}
}
/**
* <code>.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 9;</code>
*/
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_;
}
@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:DungeonEntryInfo)
}
// @@protoc_insertion_point(class_scope:DungeonEntryInfo)
private static final emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo();
}
public static emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<DungeonEntryInfo>
PARSER = new com.google.protobuf.AbstractParser<DungeonEntryInfo>() {
@java.lang.Override
public DungeonEntryInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DungeonEntryInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<DungeonEntryInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DungeonEntryInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_DungeonEntryInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_DungeonEntryInfo_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\026DungeonEntryInfo.proto\032!WeeklyBossResi" +
"nDiscountInfo.proto\"\371\001\n\020DungeonEntryInfo" +
"\022\021\n\tdungeonId\030\001 \001(\r\022\020\n\010isPassed\030\002 \001(\010\022\021\n" +
"\tleftTimes\030\003 \001(\r\022\021\n\tstartTime\030\004 \001(\r\022\017\n\007e" +
"ndTime\030\005 \001(\r\022\027\n\017maxBossChestNum\030\006 \001(\r\022\024\n" +
"\014bossChestNum\030\007 \001(\r\022\027\n\017nextRefreshTime\030\010" +
" \001(\r\022A\n\033weeklyBossResinDiscountInfo\030\t \001(" +
"\0132\034.WeeklyBossResinDiscountInfoB\033\n\031emu.g" +
"rasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.getDescriptor(),
});
internal_static_DungeonEntryInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_DungeonEntryInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_DungeonEntryInfo_descriptor,
new java.lang.String[] { "DungeonId", "IsPassed", "LeftTimes", "StartTime", "EndTime", "MaxBossChestNum", "BossChestNum", "NextRefreshTime", "WeeklyBossResinDiscountInfo", });
emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}