Grasscutter/src/generated/main/java/emu/grasscutter/net/proto/TowerBriefDataNotifyOuterClass.java
Magix 71f6198361
Upgrade to REL3.7 (#2164)
* Remove hardcoded quest data

* Remove deprecated fields

* Try to fix packet

* Apply fix for token exchange

* Upgrade to REL3.7

* Add obfuscated protocol definitions

* Add missing enum (other protos too maybe)

* Re-add field setters and add note on removal
2023-05-27 00:29:02 -04:00

973 lines
33 KiB
Java

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TowerBriefDataNotify.proto
package emu.grasscutter.net.proto;
public final class TowerBriefDataNotifyOuterClass {
private TowerBriefDataNotifyOuterClass() {}
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 TowerBriefDataNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:TowerBriefDataNotify)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 schedule_start_time = 4;</code>
* @return The scheduleStartTime.
*/
int getScheduleStartTime();
/**
* <code>uint32 total_star_num = 14;</code>
* @return The totalStarNum.
*/
int getTotalStarNum();
/**
* <code>uint32 tower_schedule_id = 1;</code>
* @return The towerScheduleId.
*/
int getTowerScheduleId();
/**
* <code>uint32 next_schedule_change_time = 8;</code>
* @return The nextScheduleChangeTime.
*/
int getNextScheduleChangeTime();
/**
* <code>bool is_finished_entrance_floor = 11;</code>
* @return The isFinishedEntranceFloor.
*/
boolean getIsFinishedEntranceFloor();
/**
* <code>uint32 last_floor_index = 6;</code>
* @return The lastFloorIndex.
*/
int getLastFloorIndex();
/**
* <code>uint32 last_level_index = 5;</code>
* @return The lastLevelIndex.
*/
int getLastLevelIndex();
}
/**
* <pre>
* CmdId: 2490
* Name: DOOOMKLOHOB
* </pre>
*
* Protobuf type {@code TowerBriefDataNotify}
*/
public static final class TowerBriefDataNotify extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:TowerBriefDataNotify)
TowerBriefDataNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use TowerBriefDataNotify.newBuilder() to construct.
private TowerBriefDataNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TowerBriefDataNotify() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TowerBriefDataNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TowerBriefDataNotify(
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: {
towerScheduleId_ = input.readUInt32();
break;
}
case 32: {
scheduleStartTime_ = input.readUInt32();
break;
}
case 40: {
lastLevelIndex_ = input.readUInt32();
break;
}
case 48: {
lastFloorIndex_ = input.readUInt32();
break;
}
case 64: {
nextScheduleChangeTime_ = input.readUInt32();
break;
}
case 88: {
isFinishedEntranceFloor_ = input.readBool();
break;
}
case 112: {
totalStarNum_ = 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.TowerBriefDataNotifyOuterClass.internal_static_TowerBriefDataNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.internal_static_TowerBriefDataNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify.class, emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify.Builder.class);
}
public static final int SCHEDULE_START_TIME_FIELD_NUMBER = 4;
private int scheduleStartTime_;
/**
* <code>uint32 schedule_start_time = 4;</code>
* @return The scheduleStartTime.
*/
@java.lang.Override
public int getScheduleStartTime() {
return scheduleStartTime_;
}
public static final int TOTAL_STAR_NUM_FIELD_NUMBER = 14;
private int totalStarNum_;
/**
* <code>uint32 total_star_num = 14;</code>
* @return The totalStarNum.
*/
@java.lang.Override
public int getTotalStarNum() {
return totalStarNum_;
}
public static final int TOWER_SCHEDULE_ID_FIELD_NUMBER = 1;
private int towerScheduleId_;
/**
* <code>uint32 tower_schedule_id = 1;</code>
* @return The towerScheduleId.
*/
@java.lang.Override
public int getTowerScheduleId() {
return towerScheduleId_;
}
public static final int NEXT_SCHEDULE_CHANGE_TIME_FIELD_NUMBER = 8;
private int nextScheduleChangeTime_;
/**
* <code>uint32 next_schedule_change_time = 8;</code>
* @return The nextScheduleChangeTime.
*/
@java.lang.Override
public int getNextScheduleChangeTime() {
return nextScheduleChangeTime_;
}
public static final int IS_FINISHED_ENTRANCE_FLOOR_FIELD_NUMBER = 11;
private boolean isFinishedEntranceFloor_;
/**
* <code>bool is_finished_entrance_floor = 11;</code>
* @return The isFinishedEntranceFloor.
*/
@java.lang.Override
public boolean getIsFinishedEntranceFloor() {
return isFinishedEntranceFloor_;
}
public static final int LAST_FLOOR_INDEX_FIELD_NUMBER = 6;
private int lastFloorIndex_;
/**
* <code>uint32 last_floor_index = 6;</code>
* @return The lastFloorIndex.
*/
@java.lang.Override
public int getLastFloorIndex() {
return lastFloorIndex_;
}
public static final int LAST_LEVEL_INDEX_FIELD_NUMBER = 5;
private int lastLevelIndex_;
/**
* <code>uint32 last_level_index = 5;</code>
* @return The lastLevelIndex.
*/
@java.lang.Override
public int getLastLevelIndex() {
return lastLevelIndex_;
}
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 (towerScheduleId_ != 0) {
output.writeUInt32(1, towerScheduleId_);
}
if (scheduleStartTime_ != 0) {
output.writeUInt32(4, scheduleStartTime_);
}
if (lastLevelIndex_ != 0) {
output.writeUInt32(5, lastLevelIndex_);
}
if (lastFloorIndex_ != 0) {
output.writeUInt32(6, lastFloorIndex_);
}
if (nextScheduleChangeTime_ != 0) {
output.writeUInt32(8, nextScheduleChangeTime_);
}
if (isFinishedEntranceFloor_ != false) {
output.writeBool(11, isFinishedEntranceFloor_);
}
if (totalStarNum_ != 0) {
output.writeUInt32(14, totalStarNum_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (towerScheduleId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, towerScheduleId_);
}
if (scheduleStartTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, scheduleStartTime_);
}
if (lastLevelIndex_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, lastLevelIndex_);
}
if (lastFloorIndex_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, lastFloorIndex_);
}
if (nextScheduleChangeTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, nextScheduleChangeTime_);
}
if (isFinishedEntranceFloor_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, isFinishedEntranceFloor_);
}
if (totalStarNum_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, totalStarNum_);
}
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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify other = (emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify) obj;
if (getScheduleStartTime()
!= other.getScheduleStartTime()) return false;
if (getTotalStarNum()
!= other.getTotalStarNum()) return false;
if (getTowerScheduleId()
!= other.getTowerScheduleId()) return false;
if (getNextScheduleChangeTime()
!= other.getNextScheduleChangeTime()) return false;
if (getIsFinishedEntranceFloor()
!= other.getIsFinishedEntranceFloor()) return false;
if (getLastFloorIndex()
!= other.getLastFloorIndex()) return false;
if (getLastLevelIndex()
!= other.getLastLevelIndex()) 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) + SCHEDULE_START_TIME_FIELD_NUMBER;
hash = (53 * hash) + getScheduleStartTime();
hash = (37 * hash) + TOTAL_STAR_NUM_FIELD_NUMBER;
hash = (53 * hash) + getTotalStarNum();
hash = (37 * hash) + TOWER_SCHEDULE_ID_FIELD_NUMBER;
hash = (53 * hash) + getTowerScheduleId();
hash = (37 * hash) + NEXT_SCHEDULE_CHANGE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getNextScheduleChangeTime();
hash = (37 * hash) + IS_FINISHED_ENTRANCE_FLOOR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsFinishedEntranceFloor());
hash = (37 * hash) + LAST_FLOOR_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getLastFloorIndex();
hash = (37 * hash) + LAST_LEVEL_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getLastLevelIndex();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify 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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify 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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify 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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify 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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify 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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify 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;
}
/**
* <pre>
* CmdId: 2490
* Name: DOOOMKLOHOB
* </pre>
*
* Protobuf type {@code TowerBriefDataNotify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:TowerBriefDataNotify)
emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.internal_static_TowerBriefDataNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.internal_static_TowerBriefDataNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify.class, emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify.Builder.class);
}
// Construct using emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify.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();
scheduleStartTime_ = 0;
totalStarNum_ = 0;
towerScheduleId_ = 0;
nextScheduleChangeTime_ = 0;
isFinishedEntranceFloor_ = false;
lastFloorIndex_ = 0;
lastLevelIndex_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.internal_static_TowerBriefDataNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify getDefaultInstanceForType() {
return emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify build() {
emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify buildPartial() {
emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify result = new emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify(this);
result.scheduleStartTime_ = scheduleStartTime_;
result.totalStarNum_ = totalStarNum_;
result.towerScheduleId_ = towerScheduleId_;
result.nextScheduleChangeTime_ = nextScheduleChangeTime_;
result.isFinishedEntranceFloor_ = isFinishedEntranceFloor_;
result.lastFloorIndex_ = lastFloorIndex_;
result.lastLevelIndex_ = lastLevelIndex_;
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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify) {
return mergeFrom((emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify other) {
if (other == emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify.getDefaultInstance()) return this;
if (other.getScheduleStartTime() != 0) {
setScheduleStartTime(other.getScheduleStartTime());
}
if (other.getTotalStarNum() != 0) {
setTotalStarNum(other.getTotalStarNum());
}
if (other.getTowerScheduleId() != 0) {
setTowerScheduleId(other.getTowerScheduleId());
}
if (other.getNextScheduleChangeTime() != 0) {
setNextScheduleChangeTime(other.getNextScheduleChangeTime());
}
if (other.getIsFinishedEntranceFloor() != false) {
setIsFinishedEntranceFloor(other.getIsFinishedEntranceFloor());
}
if (other.getLastFloorIndex() != 0) {
setLastFloorIndex(other.getLastFloorIndex());
}
if (other.getLastLevelIndex() != 0) {
setLastLevelIndex(other.getLastLevelIndex());
}
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.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int scheduleStartTime_ ;
/**
* <code>uint32 schedule_start_time = 4;</code>
* @return The scheduleStartTime.
*/
@java.lang.Override
public int getScheduleStartTime() {
return scheduleStartTime_;
}
/**
* <code>uint32 schedule_start_time = 4;</code>
* @param value The scheduleStartTime to set.
* @return This builder for chaining.
*/
public Builder setScheduleStartTime(int value) {
scheduleStartTime_ = value;
onChanged();
return this;
}
/**
* <code>uint32 schedule_start_time = 4;</code>
* @return This builder for chaining.
*/
public Builder clearScheduleStartTime() {
scheduleStartTime_ = 0;
onChanged();
return this;
}
private int totalStarNum_ ;
/**
* <code>uint32 total_star_num = 14;</code>
* @return The totalStarNum.
*/
@java.lang.Override
public int getTotalStarNum() {
return totalStarNum_;
}
/**
* <code>uint32 total_star_num = 14;</code>
* @param value The totalStarNum to set.
* @return This builder for chaining.
*/
public Builder setTotalStarNum(int value) {
totalStarNum_ = value;
onChanged();
return this;
}
/**
* <code>uint32 total_star_num = 14;</code>
* @return This builder for chaining.
*/
public Builder clearTotalStarNum() {
totalStarNum_ = 0;
onChanged();
return this;
}
private int towerScheduleId_ ;
/**
* <code>uint32 tower_schedule_id = 1;</code>
* @return The towerScheduleId.
*/
@java.lang.Override
public int getTowerScheduleId() {
return towerScheduleId_;
}
/**
* <code>uint32 tower_schedule_id = 1;</code>
* @param value The towerScheduleId to set.
* @return This builder for chaining.
*/
public Builder setTowerScheduleId(int value) {
towerScheduleId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 tower_schedule_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTowerScheduleId() {
towerScheduleId_ = 0;
onChanged();
return this;
}
private int nextScheduleChangeTime_ ;
/**
* <code>uint32 next_schedule_change_time = 8;</code>
* @return The nextScheduleChangeTime.
*/
@java.lang.Override
public int getNextScheduleChangeTime() {
return nextScheduleChangeTime_;
}
/**
* <code>uint32 next_schedule_change_time = 8;</code>
* @param value The nextScheduleChangeTime to set.
* @return This builder for chaining.
*/
public Builder setNextScheduleChangeTime(int value) {
nextScheduleChangeTime_ = value;
onChanged();
return this;
}
/**
* <code>uint32 next_schedule_change_time = 8;</code>
* @return This builder for chaining.
*/
public Builder clearNextScheduleChangeTime() {
nextScheduleChangeTime_ = 0;
onChanged();
return this;
}
private boolean isFinishedEntranceFloor_ ;
/**
* <code>bool is_finished_entrance_floor = 11;</code>
* @return The isFinishedEntranceFloor.
*/
@java.lang.Override
public boolean getIsFinishedEntranceFloor() {
return isFinishedEntranceFloor_;
}
/**
* <code>bool is_finished_entrance_floor = 11;</code>
* @param value The isFinishedEntranceFloor to set.
* @return This builder for chaining.
*/
public Builder setIsFinishedEntranceFloor(boolean value) {
isFinishedEntranceFloor_ = value;
onChanged();
return this;
}
/**
* <code>bool is_finished_entrance_floor = 11;</code>
* @return This builder for chaining.
*/
public Builder clearIsFinishedEntranceFloor() {
isFinishedEntranceFloor_ = false;
onChanged();
return this;
}
private int lastFloorIndex_ ;
/**
* <code>uint32 last_floor_index = 6;</code>
* @return The lastFloorIndex.
*/
@java.lang.Override
public int getLastFloorIndex() {
return lastFloorIndex_;
}
/**
* <code>uint32 last_floor_index = 6;</code>
* @param value The lastFloorIndex to set.
* @return This builder for chaining.
*/
public Builder setLastFloorIndex(int value) {
lastFloorIndex_ = value;
onChanged();
return this;
}
/**
* <code>uint32 last_floor_index = 6;</code>
* @return This builder for chaining.
*/
public Builder clearLastFloorIndex() {
lastFloorIndex_ = 0;
onChanged();
return this;
}
private int lastLevelIndex_ ;
/**
* <code>uint32 last_level_index = 5;</code>
* @return The lastLevelIndex.
*/
@java.lang.Override
public int getLastLevelIndex() {
return lastLevelIndex_;
}
/**
* <code>uint32 last_level_index = 5;</code>
* @param value The lastLevelIndex to set.
* @return This builder for chaining.
*/
public Builder setLastLevelIndex(int value) {
lastLevelIndex_ = value;
onChanged();
return this;
}
/**
* <code>uint32 last_level_index = 5;</code>
* @return This builder for chaining.
*/
public Builder clearLastLevelIndex() {
lastLevelIndex_ = 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:TowerBriefDataNotify)
}
// @@protoc_insertion_point(class_scope:TowerBriefDataNotify)
private static final emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify();
}
public static emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TowerBriefDataNotify>
PARSER = new com.google.protobuf.AbstractParser<TowerBriefDataNotify>() {
@java.lang.Override
public TowerBriefDataNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TowerBriefDataNotify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<TowerBriefDataNotify> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TowerBriefDataNotify> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.TowerBriefDataNotifyOuterClass.TowerBriefDataNotify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_TowerBriefDataNotify_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_TowerBriefDataNotify_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\032TowerBriefDataNotify.proto\"\341\001\n\024TowerBr" +
"iefDataNotify\022\033\n\023schedule_start_time\030\004 \001" +
"(\r\022\026\n\016total_star_num\030\016 \001(\r\022\031\n\021tower_sche" +
"dule_id\030\001 \001(\r\022!\n\031next_schedule_change_ti" +
"me\030\010 \001(\r\022\"\n\032is_finished_entrance_floor\030\013" +
" \001(\010\022\030\n\020last_floor_index\030\006 \001(\r\022\030\n\020last_l" +
"evel_index\030\005 \001(\rB!\n\031emu.grasscutter.net." +
"protoZ\004/genb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_TowerBriefDataNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_TowerBriefDataNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_TowerBriefDataNotify_descriptor,
new java.lang.String[] { "ScheduleStartTime", "TotalStarNum", "TowerScheduleId", "NextScheduleChangeTime", "IsFinishedEntranceFloor", "LastFloorIndex", "LastLevelIndex", });
}
// @@protoc_insertion_point(outer_class_scope)
}