mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-27 02:43:15 +00:00
1344 lines
44 KiB
Java
1344 lines
44 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: AnnounceData.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class AnnounceDataOuterClass {
|
|
private AnnounceDataOuterClass() {}
|
|
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 AnnounceDataOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:AnnounceData)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>string count_down_text = 9;</code>
|
|
* @return The countDownText.
|
|
*/
|
|
java.lang.String getCountDownText();
|
|
/**
|
|
* <code>string count_down_text = 9;</code>
|
|
* @return The bytes for countDownText.
|
|
*/
|
|
com.google.protobuf.ByteString
|
|
getCountDownTextBytes();
|
|
|
|
/**
|
|
* <code>string center_system_text = 8;</code>
|
|
* @return The centerSystemText.
|
|
*/
|
|
java.lang.String getCenterSystemText();
|
|
/**
|
|
* <code>string center_system_text = 8;</code>
|
|
* @return The bytes for centerSystemText.
|
|
*/
|
|
com.google.protobuf.ByteString
|
|
getCenterSystemTextBytes();
|
|
|
|
/**
|
|
* <code>uint32 count_down_frequency = 1;</code>
|
|
* @return The countDownFrequency.
|
|
*/
|
|
int getCountDownFrequency();
|
|
|
|
/**
|
|
* <code>uint32 config_id = 7;</code>
|
|
* @return The configId.
|
|
*/
|
|
int getConfigId();
|
|
|
|
/**
|
|
* <code>uint32 begin_time = 4;</code>
|
|
* @return The beginTime.
|
|
*/
|
|
int getBeginTime();
|
|
|
|
/**
|
|
* <code>uint32 center_system_frequency = 11;</code>
|
|
* @return The centerSystemFrequency.
|
|
*/
|
|
int getCenterSystemFrequency();
|
|
|
|
/**
|
|
* <code>string dungeon_confirm_text = 2;</code>
|
|
* @return The dungeonConfirmText.
|
|
*/
|
|
java.lang.String getDungeonConfirmText();
|
|
/**
|
|
* <code>string dungeon_confirm_text = 2;</code>
|
|
* @return The bytes for dungeonConfirmText.
|
|
*/
|
|
com.google.protobuf.ByteString
|
|
getDungeonConfirmTextBytes();
|
|
|
|
/**
|
|
* <code>bool is_center_system_last5_every_minutes = 14;</code>
|
|
* @return The isCenterSystemLast5EveryMinutes.
|
|
*/
|
|
boolean getIsCenterSystemLast5EveryMinutes();
|
|
|
|
/**
|
|
* <code>uint32 end_time = 10;</code>
|
|
* @return The endTime.
|
|
*/
|
|
int getEndTime();
|
|
}
|
|
/**
|
|
* Protobuf type {@code AnnounceData}
|
|
*/
|
|
public static final class AnnounceData extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:AnnounceData)
|
|
AnnounceDataOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use AnnounceData.newBuilder() to construct.
|
|
private AnnounceData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private AnnounceData() {
|
|
countDownText_ = "";
|
|
centerSystemText_ = "";
|
|
dungeonConfirmText_ = "";
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(
|
|
UnusedPrivateParameter unused) {
|
|
return new AnnounceData();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private AnnounceData(
|
|
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: {
|
|
|
|
countDownFrequency_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
java.lang.String s = input.readStringRequireUtf8();
|
|
|
|
dungeonConfirmText_ = s;
|
|
break;
|
|
}
|
|
case 32: {
|
|
|
|
beginTime_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
|
|
configId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 66: {
|
|
java.lang.String s = input.readStringRequireUtf8();
|
|
|
|
centerSystemText_ = s;
|
|
break;
|
|
}
|
|
case 74: {
|
|
java.lang.String s = input.readStringRequireUtf8();
|
|
|
|
countDownText_ = s;
|
|
break;
|
|
}
|
|
case 80: {
|
|
|
|
endTime_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
|
|
centerSystemFrequency_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
|
|
isCenterSystemLast5EveryMinutes_ = input.readBool();
|
|
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.AnnounceDataOuterClass.internal_static_AnnounceData_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.AnnounceDataOuterClass.internal_static_AnnounceData_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData.class, emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData.Builder.class);
|
|
}
|
|
|
|
public static final int COUNT_DOWN_TEXT_FIELD_NUMBER = 9;
|
|
private volatile java.lang.Object countDownText_;
|
|
/**
|
|
* <code>string count_down_text = 9;</code>
|
|
* @return The countDownText.
|
|
*/
|
|
@java.lang.Override
|
|
public java.lang.String getCountDownText() {
|
|
java.lang.Object ref = countDownText_;
|
|
if (ref instanceof java.lang.String) {
|
|
return (java.lang.String) ref;
|
|
} else {
|
|
com.google.protobuf.ByteString bs =
|
|
(com.google.protobuf.ByteString) ref;
|
|
java.lang.String s = bs.toStringUtf8();
|
|
countDownText_ = s;
|
|
return s;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string count_down_text = 9;</code>
|
|
* @return The bytes for countDownText.
|
|
*/
|
|
@java.lang.Override
|
|
public com.google.protobuf.ByteString
|
|
getCountDownTextBytes() {
|
|
java.lang.Object ref = countDownText_;
|
|
if (ref instanceof java.lang.String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
countDownText_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
|
|
public static final int CENTER_SYSTEM_TEXT_FIELD_NUMBER = 8;
|
|
private volatile java.lang.Object centerSystemText_;
|
|
/**
|
|
* <code>string center_system_text = 8;</code>
|
|
* @return The centerSystemText.
|
|
*/
|
|
@java.lang.Override
|
|
public java.lang.String getCenterSystemText() {
|
|
java.lang.Object ref = centerSystemText_;
|
|
if (ref instanceof java.lang.String) {
|
|
return (java.lang.String) ref;
|
|
} else {
|
|
com.google.protobuf.ByteString bs =
|
|
(com.google.protobuf.ByteString) ref;
|
|
java.lang.String s = bs.toStringUtf8();
|
|
centerSystemText_ = s;
|
|
return s;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string center_system_text = 8;</code>
|
|
* @return The bytes for centerSystemText.
|
|
*/
|
|
@java.lang.Override
|
|
public com.google.protobuf.ByteString
|
|
getCenterSystemTextBytes() {
|
|
java.lang.Object ref = centerSystemText_;
|
|
if (ref instanceof java.lang.String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
centerSystemText_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
|
|
public static final int COUNT_DOWN_FREQUENCY_FIELD_NUMBER = 1;
|
|
private int countDownFrequency_;
|
|
/**
|
|
* <code>uint32 count_down_frequency = 1;</code>
|
|
* @return The countDownFrequency.
|
|
*/
|
|
@java.lang.Override
|
|
public int getCountDownFrequency() {
|
|
return countDownFrequency_;
|
|
}
|
|
|
|
public static final int CONFIG_ID_FIELD_NUMBER = 7;
|
|
private int configId_;
|
|
/**
|
|
* <code>uint32 config_id = 7;</code>
|
|
* @return The configId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getConfigId() {
|
|
return configId_;
|
|
}
|
|
|
|
public static final int BEGIN_TIME_FIELD_NUMBER = 4;
|
|
private int beginTime_;
|
|
/**
|
|
* <code>uint32 begin_time = 4;</code>
|
|
* @return The beginTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getBeginTime() {
|
|
return beginTime_;
|
|
}
|
|
|
|
public static final int CENTER_SYSTEM_FREQUENCY_FIELD_NUMBER = 11;
|
|
private int centerSystemFrequency_;
|
|
/**
|
|
* <code>uint32 center_system_frequency = 11;</code>
|
|
* @return The centerSystemFrequency.
|
|
*/
|
|
@java.lang.Override
|
|
public int getCenterSystemFrequency() {
|
|
return centerSystemFrequency_;
|
|
}
|
|
|
|
public static final int DUNGEON_CONFIRM_TEXT_FIELD_NUMBER = 2;
|
|
private volatile java.lang.Object dungeonConfirmText_;
|
|
/**
|
|
* <code>string dungeon_confirm_text = 2;</code>
|
|
* @return The dungeonConfirmText.
|
|
*/
|
|
@java.lang.Override
|
|
public java.lang.String getDungeonConfirmText() {
|
|
java.lang.Object ref = dungeonConfirmText_;
|
|
if (ref instanceof java.lang.String) {
|
|
return (java.lang.String) ref;
|
|
} else {
|
|
com.google.protobuf.ByteString bs =
|
|
(com.google.protobuf.ByteString) ref;
|
|
java.lang.String s = bs.toStringUtf8();
|
|
dungeonConfirmText_ = s;
|
|
return s;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string dungeon_confirm_text = 2;</code>
|
|
* @return The bytes for dungeonConfirmText.
|
|
*/
|
|
@java.lang.Override
|
|
public com.google.protobuf.ByteString
|
|
getDungeonConfirmTextBytes() {
|
|
java.lang.Object ref = dungeonConfirmText_;
|
|
if (ref instanceof java.lang.String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
dungeonConfirmText_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
|
|
public static final int IS_CENTER_SYSTEM_LAST5_EVERY_MINUTES_FIELD_NUMBER = 14;
|
|
private boolean isCenterSystemLast5EveryMinutes_;
|
|
/**
|
|
* <code>bool is_center_system_last5_every_minutes = 14;</code>
|
|
* @return The isCenterSystemLast5EveryMinutes.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsCenterSystemLast5EveryMinutes() {
|
|
return isCenterSystemLast5EveryMinutes_;
|
|
}
|
|
|
|
public static final int END_TIME_FIELD_NUMBER = 10;
|
|
private int endTime_;
|
|
/**
|
|
* <code>uint32 end_time = 10;</code>
|
|
* @return The endTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getEndTime() {
|
|
return endTime_;
|
|
}
|
|
|
|
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 (countDownFrequency_ != 0) {
|
|
output.writeUInt32(1, countDownFrequency_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dungeonConfirmText_)) {
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dungeonConfirmText_);
|
|
}
|
|
if (beginTime_ != 0) {
|
|
output.writeUInt32(4, beginTime_);
|
|
}
|
|
if (configId_ != 0) {
|
|
output.writeUInt32(7, configId_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(centerSystemText_)) {
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, centerSystemText_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(countDownText_)) {
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, countDownText_);
|
|
}
|
|
if (endTime_ != 0) {
|
|
output.writeUInt32(10, endTime_);
|
|
}
|
|
if (centerSystemFrequency_ != 0) {
|
|
output.writeUInt32(11, centerSystemFrequency_);
|
|
}
|
|
if (isCenterSystemLast5EveryMinutes_ != false) {
|
|
output.writeBool(14, isCenterSystemLast5EveryMinutes_);
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (countDownFrequency_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(1, countDownFrequency_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dungeonConfirmText_)) {
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dungeonConfirmText_);
|
|
}
|
|
if (beginTime_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(4, beginTime_);
|
|
}
|
|
if (configId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(7, configId_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(centerSystemText_)) {
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, centerSystemText_);
|
|
}
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(countDownText_)) {
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, countDownText_);
|
|
}
|
|
if (endTime_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(10, endTime_);
|
|
}
|
|
if (centerSystemFrequency_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(11, centerSystemFrequency_);
|
|
}
|
|
if (isCenterSystemLast5EveryMinutes_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(14, isCenterSystemLast5EveryMinutes_);
|
|
}
|
|
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.AnnounceDataOuterClass.AnnounceData)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData other = (emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData) obj;
|
|
|
|
if (!getCountDownText()
|
|
.equals(other.getCountDownText())) return false;
|
|
if (!getCenterSystemText()
|
|
.equals(other.getCenterSystemText())) return false;
|
|
if (getCountDownFrequency()
|
|
!= other.getCountDownFrequency()) return false;
|
|
if (getConfigId()
|
|
!= other.getConfigId()) return false;
|
|
if (getBeginTime()
|
|
!= other.getBeginTime()) return false;
|
|
if (getCenterSystemFrequency()
|
|
!= other.getCenterSystemFrequency()) return false;
|
|
if (!getDungeonConfirmText()
|
|
.equals(other.getDungeonConfirmText())) return false;
|
|
if (getIsCenterSystemLast5EveryMinutes()
|
|
!= other.getIsCenterSystemLast5EveryMinutes()) return false;
|
|
if (getEndTime()
|
|
!= other.getEndTime()) 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) + COUNT_DOWN_TEXT_FIELD_NUMBER;
|
|
hash = (53 * hash) + getCountDownText().hashCode();
|
|
hash = (37 * hash) + CENTER_SYSTEM_TEXT_FIELD_NUMBER;
|
|
hash = (53 * hash) + getCenterSystemText().hashCode();
|
|
hash = (37 * hash) + COUNT_DOWN_FREQUENCY_FIELD_NUMBER;
|
|
hash = (53 * hash) + getCountDownFrequency();
|
|
hash = (37 * hash) + CONFIG_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getConfigId();
|
|
hash = (37 * hash) + BEGIN_TIME_FIELD_NUMBER;
|
|
hash = (53 * hash) + getBeginTime();
|
|
hash = (37 * hash) + CENTER_SYSTEM_FREQUENCY_FIELD_NUMBER;
|
|
hash = (53 * hash) + getCenterSystemFrequency();
|
|
hash = (37 * hash) + DUNGEON_CONFIRM_TEXT_FIELD_NUMBER;
|
|
hash = (53 * hash) + getDungeonConfirmText().hashCode();
|
|
hash = (37 * hash) + IS_CENTER_SYSTEM_LAST5_EVERY_MINUTES_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getIsCenterSystemLast5EveryMinutes());
|
|
hash = (37 * hash) + END_TIME_FIELD_NUMBER;
|
|
hash = (53 * hash) + getEndTime();
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData 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.AnnounceDataOuterClass.AnnounceData parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData 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.AnnounceDataOuterClass.AnnounceData parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData 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.AnnounceDataOuterClass.AnnounceData parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData 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.AnnounceDataOuterClass.AnnounceData parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData 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.AnnounceDataOuterClass.AnnounceData 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 AnnounceData}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:AnnounceData)
|
|
emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceDataOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.AnnounceDataOuterClass.internal_static_AnnounceData_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.AnnounceDataOuterClass.internal_static_AnnounceData_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData.class, emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData.Builder.class);
|
|
}
|
|
|
|
// Construct using emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData.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();
|
|
countDownText_ = "";
|
|
|
|
centerSystemText_ = "";
|
|
|
|
countDownFrequency_ = 0;
|
|
|
|
configId_ = 0;
|
|
|
|
beginTime_ = 0;
|
|
|
|
centerSystemFrequency_ = 0;
|
|
|
|
dungeonConfirmText_ = "";
|
|
|
|
isCenterSystemLast5EveryMinutes_ = false;
|
|
|
|
endTime_ = 0;
|
|
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.AnnounceDataOuterClass.internal_static_AnnounceData_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData build() {
|
|
emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData buildPartial() {
|
|
emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData result = new emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData(this);
|
|
result.countDownText_ = countDownText_;
|
|
result.centerSystemText_ = centerSystemText_;
|
|
result.countDownFrequency_ = countDownFrequency_;
|
|
result.configId_ = configId_;
|
|
result.beginTime_ = beginTime_;
|
|
result.centerSystemFrequency_ = centerSystemFrequency_;
|
|
result.dungeonConfirmText_ = dungeonConfirmText_;
|
|
result.isCenterSystemLast5EveryMinutes_ = isCenterSystemLast5EveryMinutes_;
|
|
result.endTime_ = endTime_;
|
|
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.AnnounceDataOuterClass.AnnounceData) {
|
|
return mergeFrom((emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData other) {
|
|
if (other == emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData.getDefaultInstance()) return this;
|
|
if (!other.getCountDownText().isEmpty()) {
|
|
countDownText_ = other.countDownText_;
|
|
onChanged();
|
|
}
|
|
if (!other.getCenterSystemText().isEmpty()) {
|
|
centerSystemText_ = other.centerSystemText_;
|
|
onChanged();
|
|
}
|
|
if (other.getCountDownFrequency() != 0) {
|
|
setCountDownFrequency(other.getCountDownFrequency());
|
|
}
|
|
if (other.getConfigId() != 0) {
|
|
setConfigId(other.getConfigId());
|
|
}
|
|
if (other.getBeginTime() != 0) {
|
|
setBeginTime(other.getBeginTime());
|
|
}
|
|
if (other.getCenterSystemFrequency() != 0) {
|
|
setCenterSystemFrequency(other.getCenterSystemFrequency());
|
|
}
|
|
if (!other.getDungeonConfirmText().isEmpty()) {
|
|
dungeonConfirmText_ = other.dungeonConfirmText_;
|
|
onChanged();
|
|
}
|
|
if (other.getIsCenterSystemLast5EveryMinutes() != false) {
|
|
setIsCenterSystemLast5EveryMinutes(other.getIsCenterSystemLast5EveryMinutes());
|
|
}
|
|
if (other.getEndTime() != 0) {
|
|
setEndTime(other.getEndTime());
|
|
}
|
|
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.AnnounceDataOuterClass.AnnounceData parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
|
|
private java.lang.Object countDownText_ = "";
|
|
/**
|
|
* <code>string count_down_text = 9;</code>
|
|
* @return The countDownText.
|
|
*/
|
|
public java.lang.String getCountDownText() {
|
|
java.lang.Object ref = countDownText_;
|
|
if (!(ref instanceof java.lang.String)) {
|
|
com.google.protobuf.ByteString bs =
|
|
(com.google.protobuf.ByteString) ref;
|
|
java.lang.String s = bs.toStringUtf8();
|
|
countDownText_ = s;
|
|
return s;
|
|
} else {
|
|
return (java.lang.String) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string count_down_text = 9;</code>
|
|
* @return The bytes for countDownText.
|
|
*/
|
|
public com.google.protobuf.ByteString
|
|
getCountDownTextBytes() {
|
|
java.lang.Object ref = countDownText_;
|
|
if (ref instanceof String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
countDownText_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string count_down_text = 9;</code>
|
|
* @param value The countDownText to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setCountDownText(
|
|
java.lang.String value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
countDownText_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string count_down_text = 9;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearCountDownText() {
|
|
|
|
countDownText_ = getDefaultInstance().getCountDownText();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string count_down_text = 9;</code>
|
|
* @param value The bytes for countDownText to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setCountDownTextBytes(
|
|
com.google.protobuf.ByteString value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
checkByteStringIsUtf8(value);
|
|
|
|
countDownText_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private java.lang.Object centerSystemText_ = "";
|
|
/**
|
|
* <code>string center_system_text = 8;</code>
|
|
* @return The centerSystemText.
|
|
*/
|
|
public java.lang.String getCenterSystemText() {
|
|
java.lang.Object ref = centerSystemText_;
|
|
if (!(ref instanceof java.lang.String)) {
|
|
com.google.protobuf.ByteString bs =
|
|
(com.google.protobuf.ByteString) ref;
|
|
java.lang.String s = bs.toStringUtf8();
|
|
centerSystemText_ = s;
|
|
return s;
|
|
} else {
|
|
return (java.lang.String) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string center_system_text = 8;</code>
|
|
* @return The bytes for centerSystemText.
|
|
*/
|
|
public com.google.protobuf.ByteString
|
|
getCenterSystemTextBytes() {
|
|
java.lang.Object ref = centerSystemText_;
|
|
if (ref instanceof String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
centerSystemText_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string center_system_text = 8;</code>
|
|
* @param value The centerSystemText to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setCenterSystemText(
|
|
java.lang.String value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
centerSystemText_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string center_system_text = 8;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearCenterSystemText() {
|
|
|
|
centerSystemText_ = getDefaultInstance().getCenterSystemText();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string center_system_text = 8;</code>
|
|
* @param value The bytes for centerSystemText to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setCenterSystemTextBytes(
|
|
com.google.protobuf.ByteString value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
checkByteStringIsUtf8(value);
|
|
|
|
centerSystemText_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int countDownFrequency_ ;
|
|
/**
|
|
* <code>uint32 count_down_frequency = 1;</code>
|
|
* @return The countDownFrequency.
|
|
*/
|
|
@java.lang.Override
|
|
public int getCountDownFrequency() {
|
|
return countDownFrequency_;
|
|
}
|
|
/**
|
|
* <code>uint32 count_down_frequency = 1;</code>
|
|
* @param value The countDownFrequency to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setCountDownFrequency(int value) {
|
|
|
|
countDownFrequency_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 count_down_frequency = 1;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearCountDownFrequency() {
|
|
|
|
countDownFrequency_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int configId_ ;
|
|
/**
|
|
* <code>uint32 config_id = 7;</code>
|
|
* @return The configId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getConfigId() {
|
|
return configId_;
|
|
}
|
|
/**
|
|
* <code>uint32 config_id = 7;</code>
|
|
* @param value The configId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setConfigId(int value) {
|
|
|
|
configId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 config_id = 7;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearConfigId() {
|
|
|
|
configId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int beginTime_ ;
|
|
/**
|
|
* <code>uint32 begin_time = 4;</code>
|
|
* @return The beginTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getBeginTime() {
|
|
return beginTime_;
|
|
}
|
|
/**
|
|
* <code>uint32 begin_time = 4;</code>
|
|
* @param value The beginTime to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setBeginTime(int value) {
|
|
|
|
beginTime_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 begin_time = 4;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearBeginTime() {
|
|
|
|
beginTime_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int centerSystemFrequency_ ;
|
|
/**
|
|
* <code>uint32 center_system_frequency = 11;</code>
|
|
* @return The centerSystemFrequency.
|
|
*/
|
|
@java.lang.Override
|
|
public int getCenterSystemFrequency() {
|
|
return centerSystemFrequency_;
|
|
}
|
|
/**
|
|
* <code>uint32 center_system_frequency = 11;</code>
|
|
* @param value The centerSystemFrequency to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setCenterSystemFrequency(int value) {
|
|
|
|
centerSystemFrequency_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 center_system_frequency = 11;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearCenterSystemFrequency() {
|
|
|
|
centerSystemFrequency_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private java.lang.Object dungeonConfirmText_ = "";
|
|
/**
|
|
* <code>string dungeon_confirm_text = 2;</code>
|
|
* @return The dungeonConfirmText.
|
|
*/
|
|
public java.lang.String getDungeonConfirmText() {
|
|
java.lang.Object ref = dungeonConfirmText_;
|
|
if (!(ref instanceof java.lang.String)) {
|
|
com.google.protobuf.ByteString bs =
|
|
(com.google.protobuf.ByteString) ref;
|
|
java.lang.String s = bs.toStringUtf8();
|
|
dungeonConfirmText_ = s;
|
|
return s;
|
|
} else {
|
|
return (java.lang.String) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string dungeon_confirm_text = 2;</code>
|
|
* @return The bytes for dungeonConfirmText.
|
|
*/
|
|
public com.google.protobuf.ByteString
|
|
getDungeonConfirmTextBytes() {
|
|
java.lang.Object ref = dungeonConfirmText_;
|
|
if (ref instanceof String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
dungeonConfirmText_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <code>string dungeon_confirm_text = 2;</code>
|
|
* @param value The dungeonConfirmText to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setDungeonConfirmText(
|
|
java.lang.String value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
dungeonConfirmText_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string dungeon_confirm_text = 2;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearDungeonConfirmText() {
|
|
|
|
dungeonConfirmText_ = getDefaultInstance().getDungeonConfirmText();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>string dungeon_confirm_text = 2;</code>
|
|
* @param value The bytes for dungeonConfirmText to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setDungeonConfirmTextBytes(
|
|
com.google.protobuf.ByteString value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
checkByteStringIsUtf8(value);
|
|
|
|
dungeonConfirmText_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean isCenterSystemLast5EveryMinutes_ ;
|
|
/**
|
|
* <code>bool is_center_system_last5_every_minutes = 14;</code>
|
|
* @return The isCenterSystemLast5EveryMinutes.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsCenterSystemLast5EveryMinutes() {
|
|
return isCenterSystemLast5EveryMinutes_;
|
|
}
|
|
/**
|
|
* <code>bool is_center_system_last5_every_minutes = 14;</code>
|
|
* @param value The isCenterSystemLast5EveryMinutes to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsCenterSystemLast5EveryMinutes(boolean value) {
|
|
|
|
isCenterSystemLast5EveryMinutes_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_center_system_last5_every_minutes = 14;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsCenterSystemLast5EveryMinutes() {
|
|
|
|
isCenterSystemLast5EveryMinutes_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int endTime_ ;
|
|
/**
|
|
* <code>uint32 end_time = 10;</code>
|
|
* @return The endTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getEndTime() {
|
|
return endTime_;
|
|
}
|
|
/**
|
|
* <code>uint32 end_time = 10;</code>
|
|
* @param value The endTime to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setEndTime(int value) {
|
|
|
|
endTime_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 end_time = 10;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearEndTime() {
|
|
|
|
endTime_ = 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:AnnounceData)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:AnnounceData)
|
|
private static final emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<AnnounceData>
|
|
PARSER = new com.google.protobuf.AbstractParser<AnnounceData>() {
|
|
@java.lang.Override
|
|
public AnnounceData parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new AnnounceData(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<AnnounceData> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<AnnounceData> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AnnounceDataOuterClass.AnnounceData getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_AnnounceData_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_AnnounceData_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\022AnnounceData.proto\"\207\002\n\014AnnounceData\022\027\n" +
|
|
"\017count_down_text\030\t \001(\t\022\032\n\022center_system_" +
|
|
"text\030\010 \001(\t\022\034\n\024count_down_frequency\030\001 \001(\r" +
|
|
"\022\021\n\tconfig_id\030\007 \001(\r\022\022\n\nbegin_time\030\004 \001(\r\022" +
|
|
"\037\n\027center_system_frequency\030\013 \001(\r\022\034\n\024dung" +
|
|
"eon_confirm_text\030\002 \001(\t\022,\n$is_center_syst" +
|
|
"em_last5_every_minutes\030\016 \001(\010\022\020\n\010end_time" +
|
|
"\030\n \001(\rB\033\n\031emu.grasscutter.net.protob\006pro" +
|
|
"to3"
|
|
};
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
});
|
|
internal_static_AnnounceData_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_AnnounceData_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_AnnounceData_descriptor,
|
|
new java.lang.String[] { "CountDownText", "CenterSystemText", "CountDownFrequency", "ConfigId", "BeginTime", "CenterSystemFrequency", "DungeonConfirmText", "IsCenterSystemLast5EveryMinutes", "EndTime", });
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|