mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 10:55:02 +08:00
Update 3.0 protos
This commit is contained in:
committed by
Luke H-W
Unverified
parent
5db73d2849
commit
d575d1ccea
@@ -24,17 +24,17 @@ public final class BattlePassCycleOuterClass {
|
||||
*/
|
||||
int getCycleIdx();
|
||||
|
||||
/**
|
||||
* <code>uint32 begin_time = 13;</code>
|
||||
* @return The beginTime.
|
||||
*/
|
||||
int getBeginTime();
|
||||
|
||||
/**
|
||||
* <code>uint32 end_time = 10;</code>
|
||||
* @return The endTime.
|
||||
*/
|
||||
int getEndTime();
|
||||
|
||||
/**
|
||||
* <code>uint32 begin_time = 13;</code>
|
||||
* @return The beginTime.
|
||||
*/
|
||||
int getBeginTime();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code BattlePassCycle}
|
||||
@@ -139,17 +139,6 @@ public final class BattlePassCycleOuterClass {
|
||||
return cycleIdx_;
|
||||
}
|
||||
|
||||
public static final int BEGIN_TIME_FIELD_NUMBER = 13;
|
||||
private int beginTime_;
|
||||
/**
|
||||
* <code>uint32 begin_time = 13;</code>
|
||||
* @return The beginTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getBeginTime() {
|
||||
return beginTime_;
|
||||
}
|
||||
|
||||
public static final int END_TIME_FIELD_NUMBER = 10;
|
||||
private int endTime_;
|
||||
/**
|
||||
@@ -161,6 +150,17 @@ public final class BattlePassCycleOuterClass {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
public static final int BEGIN_TIME_FIELD_NUMBER = 13;
|
||||
private int beginTime_;
|
||||
/**
|
||||
* <code>uint32 begin_time = 13;</code>
|
||||
* @return The beginTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getBeginTime() {
|
||||
return beginTime_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -222,10 +222,10 @@ public final class BattlePassCycleOuterClass {
|
||||
|
||||
if (getCycleIdx()
|
||||
!= other.getCycleIdx()) return false;
|
||||
if (getBeginTime()
|
||||
!= other.getBeginTime()) return false;
|
||||
if (getEndTime()
|
||||
!= other.getEndTime()) return false;
|
||||
if (getBeginTime()
|
||||
!= other.getBeginTime()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -239,10 +239,10 @@ public final class BattlePassCycleOuterClass {
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + CYCLE_IDX_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCycleIdx();
|
||||
hash = (37 * hash) + BEGIN_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getBeginTime();
|
||||
hash = (37 * hash) + END_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getEndTime();
|
||||
hash = (37 * hash) + BEGIN_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getBeginTime();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -378,10 +378,10 @@ public final class BattlePassCycleOuterClass {
|
||||
super.clear();
|
||||
cycleIdx_ = 0;
|
||||
|
||||
beginTime_ = 0;
|
||||
|
||||
endTime_ = 0;
|
||||
|
||||
beginTime_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -409,8 +409,8 @@ public final class BattlePassCycleOuterClass {
|
||||
public emu.grasscutter.net.proto.BattlePassCycleOuterClass.BattlePassCycle buildPartial() {
|
||||
emu.grasscutter.net.proto.BattlePassCycleOuterClass.BattlePassCycle result = new emu.grasscutter.net.proto.BattlePassCycleOuterClass.BattlePassCycle(this);
|
||||
result.cycleIdx_ = cycleIdx_;
|
||||
result.beginTime_ = beginTime_;
|
||||
result.endTime_ = endTime_;
|
||||
result.beginTime_ = beginTime_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -462,12 +462,12 @@ public final class BattlePassCycleOuterClass {
|
||||
if (other.getCycleIdx() != 0) {
|
||||
setCycleIdx(other.getCycleIdx());
|
||||
}
|
||||
if (other.getBeginTime() != 0) {
|
||||
setBeginTime(other.getBeginTime());
|
||||
}
|
||||
if (other.getEndTime() != 0) {
|
||||
setEndTime(other.getEndTime());
|
||||
}
|
||||
if (other.getBeginTime() != 0) {
|
||||
setBeginTime(other.getBeginTime());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -528,37 +528,6 @@ public final class BattlePassCycleOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int beginTime_ ;
|
||||
/**
|
||||
* <code>uint32 begin_time = 13;</code>
|
||||
* @return The beginTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getBeginTime() {
|
||||
return beginTime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 begin_time = 13;</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 = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearBeginTime() {
|
||||
|
||||
beginTime_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int endTime_ ;
|
||||
/**
|
||||
* <code>uint32 end_time = 10;</code>
|
||||
@@ -589,6 +558,37 @@ public final class BattlePassCycleOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int beginTime_ ;
|
||||
/**
|
||||
* <code>uint32 begin_time = 13;</code>
|
||||
* @return The beginTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getBeginTime() {
|
||||
return beginTime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 begin_time = 13;</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 = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearBeginTime() {
|
||||
|
||||
beginTime_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -657,8 +657,8 @@ public final class BattlePassCycleOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\025BattlePassCycle.proto\"J\n\017BattlePassCyc" +
|
||||
"le\022\021\n\tcycle_idx\030\003 \001(\r\022\022\n\nbegin_time\030\r \001(" +
|
||||
"\r\022\020\n\010end_time\030\n \001(\rB\033\n\031emu.grasscutter.n" +
|
||||
"le\022\021\n\tcycle_idx\030\003 \001(\r\022\020\n\010end_time\030\n \001(\r\022" +
|
||||
"\022\n\nbegin_time\030\r \001(\rB\033\n\031emu.grasscutter.n" +
|
||||
"et.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -670,7 +670,7 @@ public final class BattlePassCycleOuterClass {
|
||||
internal_static_BattlePassCycle_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_BattlePassCycle_descriptor,
|
||||
new java.lang.String[] { "CycleIdx", "BeginTime", "EndTime", });
|
||||
new java.lang.String[] { "CycleIdx", "EndTime", "BeginTime", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user