大赛管理功能

This commit is contained in:
tiger_zhou 2024-02-23 11:27:32 +08:00
parent cc58504b5b
commit 49aff5b340
6 changed files with 99 additions and 944 deletions

View File

@ -3,7 +3,6 @@ package club.joylink.rtss.controller.racetr;
import club.joylink.rtss.services.race.RaceTaskService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskBind;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskCreateVO;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskDetailVO;
import club.joylink.rtss.vo.race.RaceTaskTreeVO;

View File

@ -10,7 +10,7 @@ import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.common.ModifyInfo.ModifyInfoVO;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskBind;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskBind.TaskBindType;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskCreateVO;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskDetailVO;
import club.joylink.rtss.vo.race.RaceTaskTreeVO;

View File

@ -2591,7 +2591,7 @@ public final class RaceModule {
getDescBytes();
/**
* <code>int64 paperId = 3;</code>
* <code>int64 paper_id = 3;</code>
* @return The paperId.
*/
long getPaperId();
@ -2721,10 +2721,10 @@ public final class RaceModule {
}
}
public static final int PAPERID_FIELD_NUMBER = 3;
public static final int PAPER_ID_FIELD_NUMBER = 3;
private long paperId_ = 0L;
/**
* <code>int64 paperId = 3;</code>
* <code>int64 paper_id = 3;</code>
* @return The paperId.
*/
@java.lang.Override
@ -2834,7 +2834,7 @@ public final class RaceModule {
hash = (53 * hash) + getCode().hashCode();
hash = (37 * hash) + DESC_FIELD_NUMBER;
hash = (53 * hash) + getDesc().hashCode();
hash = (37 * hash) + PAPERID_FIELD_NUMBER;
hash = (37 * hash) + PAPER_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPaperId());
hash = (37 * hash) + DURATION_FIELD_NUMBER;
@ -3258,7 +3258,7 @@ public final class RaceModule {
private long paperId_ ;
/**
* <code>int64 paperId = 3;</code>
* <code>int64 paper_id = 3;</code>
* @return The paperId.
*/
@java.lang.Override
@ -3266,7 +3266,7 @@ public final class RaceModule {
return paperId_;
}
/**
* <code>int64 paperId = 3;</code>
* <code>int64 paper_id = 3;</code>
* @param value The paperId to set.
* @return This builder for chaining.
*/
@ -3278,7 +3278,7 @@ public final class RaceModule {
return this;
}
/**
* <code>int64 paperId = 3;</code>
* <code>int64 paper_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearPaperId() {
@ -3401,36 +3401,7 @@ public final class RaceModule {
/**
* <pre>
*此模块包含的任务的ID
* </pre>
*
* <code>repeated int64 taskIds = 1;</code>
* @return A list containing the taskIds.
*/
java.util.List<java.lang.Long> getTaskIdsList();
/**
* <pre>
*此模块包含的任务的ID
* </pre>
*
* <code>repeated int64 taskIds = 1;</code>
* @return The count of taskIds.
*/
int getTaskIdsCount();
/**
* <pre>
*此模块包含的任务的ID
* </pre>
*
* <code>repeated int64 taskIds = 1;</code>
* @param index The index of the element to return.
* @return The taskIds at the given index.
*/
long getTaskIds(int index);
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -3439,7 +3410,7 @@ public final class RaceModule {
getGroupList();
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -3447,7 +3418,7 @@ public final class RaceModule {
club.joylink.rtss.vo.race.RaceModule.TaskSetting.Group getGroup(int index);
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -3455,7 +3426,7 @@ public final class RaceModule {
int getGroupCount();
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -3464,7 +3435,7 @@ public final class RaceModule {
getGroupOrBuilderList();
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -3489,7 +3460,6 @@ public final class RaceModule {
super(builder);
}
private TaskSetting() {
taskIds_ = emptyLongList();
group_ = java.util.Collections.emptyList();
}
@ -4807,53 +4777,12 @@ public final class RaceModule {
}
public static final int TASKIDS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList taskIds_;
/**
* <pre>
*此模块包含的任务的ID
* </pre>
*
* <code>repeated int64 taskIds = 1;</code>
* @return A list containing the taskIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTaskIdsList() {
return taskIds_;
}
/**
* <pre>
*此模块包含的任务的ID
* </pre>
*
* <code>repeated int64 taskIds = 1;</code>
* @return The count of taskIds.
*/
public int getTaskIdsCount() {
return taskIds_.size();
}
/**
* <pre>
*此模块包含的任务的ID
* </pre>
*
* <code>repeated int64 taskIds = 1;</code>
* @param index The index of the element to return.
* @return The taskIds at the given index.
*/
public long getTaskIds(int index) {
return taskIds_.getLong(index);
}
private int taskIdsMemoizedSerializedSize = -1;
public static final int GROUP_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<club.joylink.rtss.vo.race.RaceModule.TaskSetting.Group> group_;
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -4864,7 +4793,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -4876,7 +4805,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -4887,7 +4816,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -4898,7 +4827,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -4923,14 +4852,6 @@ public final class RaceModule {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (getTaskIdsList().size() > 0) {
output.writeUInt32NoTag(10);
output.writeUInt32NoTag(taskIdsMemoizedSerializedSize);
}
for (int i = 0; i < taskIds_.size(); i++) {
output.writeInt64NoTag(taskIds_.getLong(i));
}
for (int i = 0; i < group_.size(); i++) {
output.writeMessage(2, group_.get(i));
}
@ -4943,20 +4864,6 @@ public final class RaceModule {
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < taskIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(taskIds_.getLong(i));
}
size += dataSize;
if (!getTaskIdsList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
taskIdsMemoizedSerializedSize = dataSize;
}
for (int i = 0; i < group_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, group_.get(i));
@ -4976,8 +4883,6 @@ public final class RaceModule {
}
club.joylink.rtss.vo.race.RaceModule.TaskSetting other = (club.joylink.rtss.vo.race.RaceModule.TaskSetting) obj;
if (!getTaskIdsList()
.equals(other.getTaskIdsList())) return false;
if (!getGroupList()
.equals(other.getGroupList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
@ -4991,10 +4896,6 @@ public final class RaceModule {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getTaskIdsCount() > 0) {
hash = (37 * hash) + TASKIDS_FIELD_NUMBER;
hash = (53 * hash) + getTaskIdsList().hashCode();
}
if (getGroupCount() > 0) {
hash = (37 * hash) + GROUP_FIELD_NUMBER;
hash = (53 * hash) + getGroupList().hashCode();
@ -5134,14 +5035,13 @@ public final class RaceModule {
public Builder clear() {
super.clear();
bitField0_ = 0;
taskIds_ = emptyLongList();
if (groupBuilder_ == null) {
group_ = java.util.Collections.emptyList();
} else {
group_ = null;
groupBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@ -5175,15 +5075,10 @@ public final class RaceModule {
}
private void buildPartialRepeatedFields(club.joylink.rtss.vo.race.RaceModule.TaskSetting result) {
if (((bitField0_ & 0x00000001) != 0)) {
taskIds_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.taskIds_ = taskIds_;
if (groupBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
if (((bitField0_ & 0x00000001) != 0)) {
group_ = java.util.Collections.unmodifiableList(group_);
bitField0_ = (bitField0_ & ~0x00000002);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.group_ = group_;
} else {
@ -5207,21 +5102,11 @@ public final class RaceModule {
public Builder mergeFrom(club.joylink.rtss.vo.race.RaceModule.TaskSetting other) {
if (other == club.joylink.rtss.vo.race.RaceModule.TaskSetting.getDefaultInstance()) return this;
if (!other.taskIds_.isEmpty()) {
if (taskIds_.isEmpty()) {
taskIds_ = other.taskIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTaskIdsIsMutable();
taskIds_.addAll(other.taskIds_);
}
onChanged();
}
if (groupBuilder_ == null) {
if (!other.group_.isEmpty()) {
if (group_.isEmpty()) {
group_ = other.group_;
bitField0_ = (bitField0_ & ~0x00000002);
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureGroupIsMutable();
group_.addAll(other.group_);
@ -5234,7 +5119,7 @@ public final class RaceModule {
groupBuilder_.dispose();
groupBuilder_ = null;
group_ = other.group_;
bitField0_ = (bitField0_ & ~0x00000002);
bitField0_ = (bitField0_ & ~0x00000001);
groupBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getGroupFieldBuilder() : null;
@ -5269,22 +5154,6 @@ public final class RaceModule {
case 0:
done = true;
break;
case 8: {
long v = input.readInt64();
ensureTaskIdsIsMutable();
taskIds_.addLong(v);
break;
} // case 8
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureTaskIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
taskIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 10
case 18: {
club.joylink.rtss.vo.race.RaceModule.TaskSetting.Group m =
input.readMessage(
@ -5315,121 +5184,12 @@ public final class RaceModule {
}
private int bitField0_;
private com.google.protobuf.Internal.LongList taskIds_ = emptyLongList();
private void ensureTaskIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
taskIds_ = mutableCopy(taskIds_);
bitField0_ |= 0x00000001;
}
}
/**
* <pre>
*此模块包含的任务的ID
* </pre>
*
* <code>repeated int64 taskIds = 1;</code>
* @return A list containing the taskIds.
*/
public java.util.List<java.lang.Long>
getTaskIdsList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(taskIds_) : taskIds_;
}
/**
* <pre>
*此模块包含的任务的ID
* </pre>
*
* <code>repeated int64 taskIds = 1;</code>
* @return The count of taskIds.
*/
public int getTaskIdsCount() {
return taskIds_.size();
}
/**
* <pre>
*此模块包含的任务的ID
* </pre>
*
* <code>repeated int64 taskIds = 1;</code>
* @param index The index of the element to return.
* @return The taskIds at the given index.
*/
public long getTaskIds(int index) {
return taskIds_.getLong(index);
}
/**
* <pre>
*此模块包含的任务的ID
* </pre>
*
* <code>repeated int64 taskIds = 1;</code>
* @param index The index to set the value at.
* @param value The taskIds to set.
* @return This builder for chaining.
*/
public Builder setTaskIds(
int index, long value) {
ensureTaskIdsIsMutable();
taskIds_.setLong(index, value);
onChanged();
return this;
}
/**
* <pre>
*此模块包含的任务的ID
* </pre>
*
* <code>repeated int64 taskIds = 1;</code>
* @param value The taskIds to add.
* @return This builder for chaining.
*/
public Builder addTaskIds(long value) {
ensureTaskIdsIsMutable();
taskIds_.addLong(value);
onChanged();
return this;
}
/**
* <pre>
*此模块包含的任务的ID
* </pre>
*
* <code>repeated int64 taskIds = 1;</code>
* @param values The taskIds to add.
* @return This builder for chaining.
*/
public Builder addAllTaskIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureTaskIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, taskIds_);
onChanged();
return this;
}
/**
* <pre>
*此模块包含的任务的ID
* </pre>
*
* <code>repeated int64 taskIds = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTaskIds() {
taskIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private java.util.List<club.joylink.rtss.vo.race.RaceModule.TaskSetting.Group> group_ =
java.util.Collections.emptyList();
private void ensureGroupIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
if (!((bitField0_ & 0x00000001) != 0)) {
group_ = new java.util.ArrayList<club.joylink.rtss.vo.race.RaceModule.TaskSetting.Group>(group_);
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
}
}
@ -5438,7 +5198,7 @@ public final class RaceModule {
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5452,7 +5212,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5466,7 +5226,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5480,7 +5240,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5501,7 +5261,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5519,7 +5279,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5539,7 +5299,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5560,7 +5320,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5578,7 +5338,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5596,7 +5356,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5615,7 +5375,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5623,7 +5383,7 @@ public final class RaceModule {
public Builder clearGroup() {
if (groupBuilder_ == null) {
group_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
groupBuilder_.clear();
@ -5632,7 +5392,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5649,7 +5409,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5660,7 +5420,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5674,7 +5434,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5689,7 +5449,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5700,7 +5460,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5712,7 +5472,7 @@ public final class RaceModule {
}
/**
* <pre>
*任务分组此分组目前看仅为称呼
* repeated int64 taskIds = 1; //此模块包含的任务的ID
* </pre>
*
* <code>repeated .race.TaskSetting.Group group = 2;</code>
@ -5728,7 +5488,7 @@ public final class RaceModule {
groupBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
club.joylink.rtss.vo.race.RaceModule.TaskSetting.Group, club.joylink.rtss.vo.race.RaceModule.TaskSetting.Group.Builder, club.joylink.rtss.vo.race.RaceModule.TaskSetting.GroupOrBuilder>(
group_,
((bitField0_ & 0x00000002) != 0),
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
group_ = null;
@ -5842,14 +5602,14 @@ public final class RaceModule {
"ListVO\022\n\n\002id\030\001 \001(\003\022\014\n\004code\030\003 \001(\t\022\014\n\004desc" +
"\030\004 \001(\t\022\017\n\007paperId\030\005 \001(\003\022\021\n\tpaperName\030\006 \001" +
"(\t\022\020\n\010duration\030\007 \001(\005\022(\n\nmodifyInfo\030\010 \001(\013" +
"2\024.common.ModifyInfoVO\"S\n\022RaceModuleCrea" +
"teVO\022\014\n\004code\030\001 \001(\t\022\014\n\004desc\030\002 \001(\t\022\017\n\007pape" +
"rId\030\003 \001(\003\022\020\n\010duration\030\004 \001(\005\"\226\001\n\013TaskSett" +
"ing\022\017\n\007taskIds\030\001 \003(\003\022&\n\005group\030\002 \003(\0132\027.ra" +
"ce.TaskSetting.Group\032N\n\005Group\022\017\n\007taskIds" +
"\030\001 \003(\003\022&\n\005group\030\002 \003(\0132\027.race.TaskSetting" +
".Group\022\014\n\004name\030\003 \001(\tB\033\n\031club.joylink.rts" +
"s.vo.raceb\006proto3"
"2\024.common.ModifyInfoVO\"T\n\022RaceModuleCrea" +
"teVO\022\014\n\004code\030\001 \001(\t\022\014\n\004desc\030\002 \001(\t\022\020\n\010pape" +
"r_id\030\003 \001(\003\022\020\n\010duration\030\004 \001(\005\"\205\001\n\013TaskSet" +
"ting\022&\n\005group\030\002 \003(\0132\027.race.TaskSetting.G" +
"roup\032N\n\005Group\022\017\n\007taskIds\030\001 \003(\003\022&\n\005group\030" +
"\002 \003(\0132\027.race.TaskSetting.Group\022\014\n\004name\030\003" +
" \001(\tB\033\n\031club.joylink.rtss.vo.raceb\006proto" +
"3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@ -5879,7 +5639,7 @@ public final class RaceModule {
internal_static_race_TaskSetting_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_race_TaskSetting_descriptor,
new java.lang.String[] { "TaskIds", "Group", });
new java.lang.String[] { "Group", });
internal_static_race_TaskSetting_Group_descriptor =
internal_static_race_TaskSetting_descriptor.getNestedTypes().get(0);
internal_static_race_TaskSetting_Group_fieldAccessorTable = new

View File

@ -1249,7 +1249,7 @@ public final class RacePaper {
getDescBytes();
/**
* <code>int64 seasonId = 3;</code>
* <code>int64 season_id = 3;</code>
* @return The seasonId.
*/
long getSeasonId();
@ -1377,10 +1377,10 @@ public final class RacePaper {
}
}
public static final int SEASONID_FIELD_NUMBER = 3;
public static final int SEASON_ID_FIELD_NUMBER = 3;
private long seasonId_ = 0L;
/**
* <code>int64 seasonId = 3;</code>
* <code>int64 season_id = 3;</code>
* @return The seasonId.
*/
@java.lang.Override
@ -1466,7 +1466,7 @@ public final class RacePaper {
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + DESC_FIELD_NUMBER;
hash = (53 * hash) + getDesc().hashCode();
hash = (37 * hash) + SEASONID_FIELD_NUMBER;
hash = (37 * hash) + SEASON_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSeasonId());
hash = (29 * hash) + getUnknownFields().hashCode();
@ -1896,7 +1896,7 @@ public final class RacePaper {
private long seasonId_ ;
/**
* <code>int64 seasonId = 3;</code>
* <code>int64 season_id = 3;</code>
* @return The seasonId.
*/
@java.lang.Override
@ -1904,7 +1904,7 @@ public final class RacePaper {
return seasonId_;
}
/**
* <code>int64 seasonId = 3;</code>
* <code>int64 season_id = 3;</code>
* @param value The seasonId to set.
* @return This builder for chaining.
*/
@ -1916,7 +1916,7 @@ public final class RacePaper {
return this;
}
/**
* <code>int64 seasonId = 3;</code>
* <code>int64 season_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearSeasonId() {
@ -2013,9 +2013,9 @@ public final class RacePaper {
"acePaperVO\022\n\n\002id\030\001 \001(\003\022\014\n\004name\030\002 \001(\t\022\014\n\004" +
"desc\030\003 \001(\t\022\020\n\010seasonId\030\005 \001(\003\022\022\n\nseasonNa" +
"me\030\006 \001(\t\022(\n\nmodifyInfo\030\007 \001(\0132\024.common.Mo" +
"difyInfoVO\"A\n\021RacePaperCreateVO\022\014\n\004name\030" +
"\001 \001(\t\022\014\n\004desc\030\002 \001(\t\022\020\n\010seasonId\030\003 \001(\003B\033\n" +
"\031club.joylink.rtss.vo.raceb\006proto3"
"difyInfoVO\"B\n\021RacePaperCreateVO\022\014\n\004name\030" +
"\001 \001(\t\022\014\n\004desc\030\002 \001(\t\022\021\n\tseason_id\030\003 \001(\003B\033" +
"\n\031club.joylink.rtss.vo.raceb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,

View File

@ -1881,7 +1881,7 @@ public final class RaceScoringRule {
*场景步骤ID
* </pre>
*
* <code>uint32 sceneStepId = 2;</code>
* <code>uint32 scene_step_id = 2;</code>
* @return The sceneStepId.
*/
int getSceneStepId();
@ -2025,14 +2025,14 @@ public final class RaceScoringRule {
}
}
public static final int SCENESTEPID_FIELD_NUMBER = 2;
public static final int SCENE_STEP_ID_FIELD_NUMBER = 2;
private int sceneStepId_ = 0;
/**
* <pre>
*场景步骤ID
* </pre>
*
* <code>uint32 sceneStepId = 2;</code>
* <code>uint32 scene_step_id = 2;</code>
* @return The sceneStepId.
*/
@java.lang.Override
@ -2242,7 +2242,7 @@ public final class RaceScoringRule {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TEXT_FIELD_NUMBER;
hash = (53 * hash) + getText().hashCode();
hash = (37 * hash) + SCENESTEPID_FIELD_NUMBER;
hash = (37 * hash) + SCENE_STEP_ID_FIELD_NUMBER;
hash = (53 * hash) + getSceneStepId();
hash = (37 * hash) + SCORE_FIELD_NUMBER;
hash = (53 * hash) + getScore();
@ -2639,7 +2639,7 @@ public final class RaceScoringRule {
*场景步骤ID
* </pre>
*
* <code>uint32 sceneStepId = 2;</code>
* <code>uint32 scene_step_id = 2;</code>
* @return The sceneStepId.
*/
@java.lang.Override
@ -2651,7 +2651,7 @@ public final class RaceScoringRule {
*场景步骤ID
* </pre>
*
* <code>uint32 sceneStepId = 2;</code>
* <code>uint32 scene_step_id = 2;</code>
* @param value The sceneStepId to set.
* @return This builder for chaining.
*/
@ -2667,7 +2667,7 @@ public final class RaceScoringRule {
*场景步骤ID
* </pre>
*
* <code>uint32 sceneStepId = 2;</code>
* <code>uint32 scene_step_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearSceneStepId() {
@ -3689,11 +3689,11 @@ public final class RaceScoringRule {
".race.Rule\022(\n\nmodifyInfo\030\004 \001(\0132\024.common." +
"ModifyInfoVO\"[\n\025RaceScoringRuleListVO\022\n\n" +
"\002id\030\001 \001(\003\022\014\n\004name\030\002 \001(\t\022(\n\nmodifyInfo\030\003 " +
"\001(\0132\024.common.ModifyInfoVO\"\202\001\n\004Rule\022\036\n\005un" +
"its\030\001 \003(\0132\017.race.Rule.Unit\032Z\n\004Unit\022\014\n\004te" +
"xt\030\001 \001(\t\022\023\n\013sceneStepId\030\002 \001(\r\022\r\n\005score\030\003" +
" \001(\r\022\016\n\006worker\030\004 \001(\t\022\020\n\010criteria\030\005 \001(\tB\033" +
"\n\031club.joylink.rtss.vo.raceb\006proto3"
"\001(\0132\024.common.ModifyInfoVO\"\204\001\n\004Rule\022\036\n\005un" +
"its\030\001 \003(\0132\017.race.Rule.Unit\032\\\n\004Unit\022\014\n\004te" +
"xt\030\001 \001(\t\022\025\n\rscene_step_id\030\002 \001(\r\022\r\n\005score" +
"\030\003 \001(\r\022\016\n\006worker\030\004 \001(\t\022\020\n\010criteria\030\005 \001(\t" +
"B\033\n\031club.joylink.rtss.vo.raceb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,

View File

@ -4439,18 +4439,18 @@ public final class RaceTask {
com.google.protobuf.MessageOrBuilder {
/**
* <code>int64 bindId = 2;</code>
* <code>int64 bind_id = 2;</code>
* @return The bindId.
*/
long getBindId();
/**
* <code>.race.RaceTaskBind.TaskBindType bindType = 3;</code>
* <code>.race.RaceTaskBind.TaskBindType bind_type = 3;</code>
* @return The enum numeric value on the wire for bindType.
*/
int getBindTypeValue();
/**
* <code>.race.RaceTaskBind.TaskBindType bindType = 3;</code>
* <code>.race.RaceTaskBind.TaskBindType bind_type = 3;</code>
* @return The bindType.
*/
club.joylink.rtss.vo.race.RaceTask.RaceTaskBind.TaskBindType getBindType();
@ -4609,10 +4609,10 @@ public final class RaceTask {
// @@protoc_insertion_point(enum_scope:race.RaceTaskBind.TaskBindType)
}
public static final int BINDID_FIELD_NUMBER = 2;
public static final int BIND_ID_FIELD_NUMBER = 2;
private long bindId_ = 0L;
/**
* <code>int64 bindId = 2;</code>
* <code>int64 bind_id = 2;</code>
* @return The bindId.
*/
@java.lang.Override
@ -4620,17 +4620,17 @@ public final class RaceTask {
return bindId_;
}
public static final int BINDTYPE_FIELD_NUMBER = 3;
public static final int BIND_TYPE_FIELD_NUMBER = 3;
private int bindType_ = 0;
/**
* <code>.race.RaceTaskBind.TaskBindType bindType = 3;</code>
* <code>.race.RaceTaskBind.TaskBindType bind_type = 3;</code>
* @return The enum numeric value on the wire for bindType.
*/
@java.lang.Override public int getBindTypeValue() {
return bindType_;
}
/**
* <code>.race.RaceTaskBind.TaskBindType bindType = 3;</code>
* <code>.race.RaceTaskBind.TaskBindType bind_type = 3;</code>
* @return The bindType.
*/
@java.lang.Override public club.joylink.rtss.vo.race.RaceTask.RaceTaskBind.TaskBindType getBindType() {
@ -4728,10 +4728,10 @@ public final class RaceTask {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + BINDID_FIELD_NUMBER;
hash = (37 * hash) + BIND_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBindId());
hash = (37 * hash) + BINDTYPE_FIELD_NUMBER;
hash = (37 * hash) + BIND_TYPE_FIELD_NUMBER;
hash = (53 * hash) + bindType_;
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus();
@ -4994,7 +4994,7 @@ public final class RaceTask {
private long bindId_ ;
/**
* <code>int64 bindId = 2;</code>
* <code>int64 bind_id = 2;</code>
* @return The bindId.
*/
@java.lang.Override
@ -5002,7 +5002,7 @@ public final class RaceTask {
return bindId_;
}
/**
* <code>int64 bindId = 2;</code>
* <code>int64 bind_id = 2;</code>
* @param value The bindId to set.
* @return This builder for chaining.
*/
@ -5014,7 +5014,7 @@ public final class RaceTask {
return this;
}
/**
* <code>int64 bindId = 2;</code>
* <code>int64 bind_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearBindId() {
@ -5026,14 +5026,14 @@ public final class RaceTask {
private int bindType_ = 0;
/**
* <code>.race.RaceTaskBind.TaskBindType bindType = 3;</code>
* <code>.race.RaceTaskBind.TaskBindType bind_type = 3;</code>
* @return The enum numeric value on the wire for bindType.
*/
@java.lang.Override public int getBindTypeValue() {
return bindType_;
}
/**
* <code>.race.RaceTaskBind.TaskBindType bindType = 3;</code>
* <code>.race.RaceTaskBind.TaskBindType bind_type = 3;</code>
* @param value The enum numeric value on the wire for bindType to set.
* @return This builder for chaining.
*/
@ -5044,7 +5044,7 @@ public final class RaceTask {
return this;
}
/**
* <code>.race.RaceTaskBind.TaskBindType bindType = 3;</code>
* <code>.race.RaceTaskBind.TaskBindType bind_type = 3;</code>
* @return The bindType.
*/
@java.lang.Override
@ -5053,7 +5053,7 @@ public final class RaceTask {
return result == null ? club.joylink.rtss.vo.race.RaceTask.RaceTaskBind.TaskBindType.UNRECOGNIZED : result;
}
/**
* <code>.race.RaceTaskBind.TaskBindType bindType = 3;</code>
* <code>.race.RaceTaskBind.TaskBindType bind_type = 3;</code>
* @param value The bindType to set.
* @return This builder for chaining.
*/
@ -5067,7 +5067,7 @@ public final class RaceTask {
return this;
}
/**
* <code>.race.RaceTaskBind.TaskBindType bindType = 3;</code>
* <code>.race.RaceTaskBind.TaskBindType bind_type = 3;</code>
* @return This builder for chaining.
*/
public Builder clearBindType() {
@ -5184,597 +5184,6 @@ public final class RaceTask {
}
public interface RaceTaskBindAllOrBuilder extends
// @@protoc_insertion_point(interface_extends:race.RaceTaskBindAll)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int64 taskId = 1;</code>
* @return The taskId.
*/
long getTaskId();
/**
* <code>int64 ruleId = 2;</code>
* @return The ruleId.
*/
long getRuleId();
/**
* <code>int64 sceneId = 3;</code>
* @return The sceneId.
*/
long getSceneId();
}
/**
* Protobuf type {@code race.RaceTaskBindAll}
*/
public static final class RaceTaskBindAll extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:race.RaceTaskBindAll)
RaceTaskBindAllOrBuilder {
private static final long serialVersionUID = 0L;
// Use RaceTaskBindAll.newBuilder() to construct.
private RaceTaskBindAll(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RaceTaskBindAll() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RaceTaskBindAll();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return club.joylink.rtss.vo.race.RaceTask.internal_static_race_RaceTaskBindAll_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return club.joylink.rtss.vo.race.RaceTask.internal_static_race_RaceTaskBindAll_fieldAccessorTable
.ensureFieldAccessorsInitialized(
club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll.class, club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll.Builder.class);
}
public static final int TASKID_FIELD_NUMBER = 1;
private long taskId_ = 0L;
/**
* <code>int64 taskId = 1;</code>
* @return The taskId.
*/
@java.lang.Override
public long getTaskId() {
return taskId_;
}
public static final int RULEID_FIELD_NUMBER = 2;
private long ruleId_ = 0L;
/**
* <code>int64 ruleId = 2;</code>
* @return The ruleId.
*/
@java.lang.Override
public long getRuleId() {
return ruleId_;
}
public static final int SCENEID_FIELD_NUMBER = 3;
private long sceneId_ = 0L;
/**
* <code>int64 sceneId = 3;</code>
* @return The sceneId.
*/
@java.lang.Override
public long getSceneId() {
return sceneId_;
}
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 (taskId_ != 0L) {
output.writeInt64(1, taskId_);
}
if (ruleId_ != 0L) {
output.writeInt64(2, ruleId_);
}
if (sceneId_ != 0L) {
output.writeInt64(3, sceneId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (taskId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, taskId_);
}
if (ruleId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, ruleId_);
}
if (sceneId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, sceneId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll)) {
return super.equals(obj);
}
club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll other = (club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll) obj;
if (getTaskId()
!= other.getTaskId()) return false;
if (getRuleId()
!= other.getRuleId()) return false;
if (getSceneId()
!= other.getSceneId()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + TASKID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTaskId());
hash = (37 * hash) + RULEID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRuleId());
hash = (37 * hash) + SCENEID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSceneId());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll 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 club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll 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 club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll 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(club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll 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 race.RaceTaskBindAll}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:race.RaceTaskBindAll)
club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAllOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return club.joylink.rtss.vo.race.RaceTask.internal_static_race_RaceTaskBindAll_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return club.joylink.rtss.vo.race.RaceTask.internal_static_race_RaceTaskBindAll_fieldAccessorTable
.ensureFieldAccessorsInitialized(
club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll.class, club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll.Builder.class);
}
// Construct using club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
taskId_ = 0L;
ruleId_ = 0L;
sceneId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return club.joylink.rtss.vo.race.RaceTask.internal_static_race_RaceTaskBindAll_descriptor;
}
@java.lang.Override
public club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll getDefaultInstanceForType() {
return club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll.getDefaultInstance();
}
@java.lang.Override
public club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll build() {
club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll buildPartial() {
club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll result = new club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.taskId_ = taskId_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.ruleId_ = ruleId_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.sceneId_ = sceneId_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll) {
return mergeFrom((club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll other) {
if (other == club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll.getDefaultInstance()) return this;
if (other.getTaskId() != 0L) {
setTaskId(other.getTaskId());
}
if (other.getRuleId() != 0L) {
setRuleId(other.getRuleId());
}
if (other.getSceneId() != 0L) {
setSceneId(other.getSceneId());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
taskId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
ruleId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
sceneId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long taskId_ ;
/**
* <code>int64 taskId = 1;</code>
* @return The taskId.
*/
@java.lang.Override
public long getTaskId() {
return taskId_;
}
/**
* <code>int64 taskId = 1;</code>
* @param value The taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskId(long value) {
taskId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>int64 taskId = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTaskId() {
bitField0_ = (bitField0_ & ~0x00000001);
taskId_ = 0L;
onChanged();
return this;
}
private long ruleId_ ;
/**
* <code>int64 ruleId = 2;</code>
* @return The ruleId.
*/
@java.lang.Override
public long getRuleId() {
return ruleId_;
}
/**
* <code>int64 ruleId = 2;</code>
* @param value The ruleId to set.
* @return This builder for chaining.
*/
public Builder setRuleId(long value) {
ruleId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>int64 ruleId = 2;</code>
* @return This builder for chaining.
*/
public Builder clearRuleId() {
bitField0_ = (bitField0_ & ~0x00000002);
ruleId_ = 0L;
onChanged();
return this;
}
private long sceneId_ ;
/**
* <code>int64 sceneId = 3;</code>
* @return The sceneId.
*/
@java.lang.Override
public long getSceneId() {
return sceneId_;
}
/**
* <code>int64 sceneId = 3;</code>
* @param value The sceneId to set.
* @return This builder for chaining.
*/
public Builder setSceneId(long value) {
sceneId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>int64 sceneId = 3;</code>
* @return This builder for chaining.
*/
public Builder clearSceneId() {
bitField0_ = (bitField0_ & ~0x00000004);
sceneId_ = 0L;
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:race.RaceTaskBindAll)
}
// @@protoc_insertion_point(class_scope:race.RaceTaskBindAll)
private static final club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll();
}
public static club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<RaceTaskBindAll>
PARSER = new com.google.protobuf.AbstractParser<RaceTaskBindAll>() {
@java.lang.Override
public RaceTaskBindAll parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RaceTaskBindAll> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RaceTaskBindAll> getParserForType() {
return PARSER;
}
@java.lang.Override
public club.joylink.rtss.vo.race.RaceTask.RaceTaskBindAll getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_race_RaceTaskVO_descriptor;
private static final
@ -5795,11 +5204,6 @@ public final class RaceTask {
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_race_RaceTaskBind_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_race_RaceTaskBindAll_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_race_RaceTaskBindAll_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
@ -5823,13 +5227,11 @@ public final class RaceTask {
"yInfoVO\"w\n\020RaceTaskCreateVO\022\014\n\004name\030\001 \001(" +
"\t\022\014\n\004desc\030\002 \001(\t\022\017\n\007content\030\003 \001(\t\022\021\n\tstan" +
"dards\030\004 \001(\t\022\020\n\010scene_id\030\005 \001(\003\022\021\n\tparent_" +
"id\030\006 \001(\003\"\206\001\n\014RaceTaskBind\022\016\n\006bindId\030\002 \001(" +
"\003\0221\n\010bindType\030\003 \001(\0162\037.race.RaceTaskBind." +
"TaskBindType\022\016\n\006status\030\004 \001(\005\"#\n\014TaskBind" +
"Type\022\010\n\004rule\020\000\022\t\n\005scene\020\001\"B\n\017RaceTaskBin" +
"dAll\022\016\n\006taskId\030\001 \001(\003\022\016\n\006ruleId\030\002 \001(\003\022\017\n\007" +
"sceneId\030\003 \001(\003B\033\n\031club.joylink.rtss.vo.ra" +
"ceb\006proto3"
"id\030\006 \001(\003\"\210\001\n\014RaceTaskBind\022\017\n\007bind_id\030\002 \001" +
"(\003\0222\n\tbind_type\030\003 \001(\0162\037.race.RaceTaskBin" +
"d.TaskBindType\022\016\n\006status\030\004 \001(\005\"#\n\014TaskBi" +
"ndType\022\010\n\004rule\020\000\022\t\n\005scene\020\001B\033\n\031club.joyl" +
"ink.rtss.vo.raceb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@ -5861,12 +5263,6 @@ public final class RaceTask {
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_race_RaceTaskBind_descriptor,
new java.lang.String[] { "BindId", "BindType", "Status", });
internal_static_race_RaceTaskBindAll_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_race_RaceTaskBindAll_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_race_RaceTaskBindAll_descriptor,
new java.lang.String[] { "TaskId", "RuleId", "SceneId", });
club.joylink.rtss.vo.common.ModifyInfo.getDescriptor();
club.joylink.rtss.vo.race.RaceSceneOuterClass.getDescriptor();
}