大赛管理功能

This commit is contained in:
tiger_zhou 2024-03-11 09:46:46 +08:00
parent a5b71e159a
commit c18a073dee
1 changed files with 60 additions and 36 deletions

View File

@ -2538,28 +2538,28 @@ public final class RaceSceneOuterClass {
getNameBytes();
/**
* <code>.race.RaceScene.Type type = 3;</code>
* <code>.race.RaceScene.Type type = 2;</code>
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* <code>.race.RaceScene.Type type = 3;</code>
* <code>.race.RaceScene.Type type = 2;</code>
* @return The type.
*/
club.joylink.rtss.vo.race.RaceSceneOuterClass.RaceScene.Type getType();
/**
* <code>.race.Scene scene = 4;</code>
* <code>.race.Scene scene = 3;</code>
* @return Whether the scene field is set.
*/
boolean hasScene();
/**
* <code>.race.Scene scene = 4;</code>
* <code>.race.Scene scene = 3;</code>
* @return The scene.
*/
club.joylink.rtss.vo.race.RaceSceneOuterClass.Scene getScene();
/**
* <code>.race.Scene scene = 4;</code>
* <code>.race.Scene scene = 3;</code>
*/
club.joylink.rtss.vo.race.RaceSceneOuterClass.SceneOrBuilder getSceneOrBuilder();
}
@ -2643,17 +2643,17 @@ public final class RaceSceneOuterClass {
}
}
public static final int TYPE_FIELD_NUMBER = 3;
public static final int TYPE_FIELD_NUMBER = 2;
private int type_ = 0;
/**
* <code>.race.RaceScene.Type type = 3;</code>
* <code>.race.RaceScene.Type type = 2;</code>
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* <code>.race.RaceScene.Type type = 3;</code>
* <code>.race.RaceScene.Type type = 2;</code>
* @return The type.
*/
@java.lang.Override public club.joylink.rtss.vo.race.RaceSceneOuterClass.RaceScene.Type getType() {
@ -2661,10 +2661,10 @@ public final class RaceSceneOuterClass {
return result == null ? club.joylink.rtss.vo.race.RaceSceneOuterClass.RaceScene.Type.UNRECOGNIZED : result;
}
public static final int SCENE_FIELD_NUMBER = 4;
public static final int SCENE_FIELD_NUMBER = 3;
private club.joylink.rtss.vo.race.RaceSceneOuterClass.Scene scene_;
/**
* <code>.race.Scene scene = 4;</code>
* <code>.race.Scene scene = 3;</code>
* @return Whether the scene field is set.
*/
@java.lang.Override
@ -2672,7 +2672,7 @@ public final class RaceSceneOuterClass {
return scene_ != null;
}
/**
* <code>.race.Scene scene = 4;</code>
* <code>.race.Scene scene = 3;</code>
* @return The scene.
*/
@java.lang.Override
@ -2680,7 +2680,7 @@ public final class RaceSceneOuterClass {
return scene_ == null ? club.joylink.rtss.vo.race.RaceSceneOuterClass.Scene.getDefaultInstance() : scene_;
}
/**
* <code>.race.Scene scene = 4;</code>
* <code>.race.Scene scene = 3;</code>
*/
@java.lang.Override
public club.joylink.rtss.vo.race.RaceSceneOuterClass.SceneOrBuilder getSceneOrBuilder() {
@ -2705,10 +2705,10 @@ public final class RaceSceneOuterClass {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (type_ != club.joylink.rtss.vo.race.RaceSceneOuterClass.RaceScene.Type.Unknown.getNumber()) {
output.writeEnum(3, type_);
output.writeEnum(2, type_);
}
if (scene_ != null) {
output.writeMessage(4, getScene());
output.writeMessage(3, getScene());
}
getUnknownFields().writeTo(output);
}
@ -2724,11 +2724,11 @@ public final class RaceSceneOuterClass {
}
if (type_ != club.joylink.rtss.vo.race.RaceSceneOuterClass.RaceScene.Type.Unknown.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, type_);
.computeEnumSize(2, type_);
}
if (scene_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getScene());
.computeMessageSize(3, getScene());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@ -3014,18 +3014,18 @@ public final class RaceSceneOuterClass {
bitField0_ |= 0x00000001;
break;
} // case 10
case 24: {
case 16: {
type_ = input.readEnum();
bitField0_ |= 0x00000002;
break;
} // case 24
case 34: {
} // case 16
case 26: {
input.readMessage(
getSceneFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 34
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
@ -3117,14 +3117,14 @@ public final class RaceSceneOuterClass {
private int type_ = 0;
/**
* <code>.race.RaceScene.Type type = 3;</code>
* <code>.race.RaceScene.Type type = 2;</code>
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* <code>.race.RaceScene.Type type = 3;</code>
* <code>.race.RaceScene.Type type = 2;</code>
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
@ -3135,7 +3135,7 @@ public final class RaceSceneOuterClass {
return this;
}
/**
* <code>.race.RaceScene.Type type = 3;</code>
* <code>.race.RaceScene.Type type = 2;</code>
* @return The type.
*/
@java.lang.Override
@ -3144,7 +3144,7 @@ public final class RaceSceneOuterClass {
return result == null ? club.joylink.rtss.vo.race.RaceSceneOuterClass.RaceScene.Type.UNRECOGNIZED : result;
}
/**
* <code>.race.RaceScene.Type type = 3;</code>
* <code>.race.RaceScene.Type type = 2;</code>
* @param value The type to set.
* @return This builder for chaining.
*/
@ -3158,7 +3158,7 @@ public final class RaceSceneOuterClass {
return this;
}
/**
* <code>.race.RaceScene.Type type = 3;</code>
* <code>.race.RaceScene.Type type = 2;</code>
* @return This builder for chaining.
*/
public Builder clearType() {
@ -3172,14 +3172,14 @@ public final class RaceSceneOuterClass {
private com.google.protobuf.SingleFieldBuilderV3<
club.joylink.rtss.vo.race.RaceSceneOuterClass.Scene, club.joylink.rtss.vo.race.RaceSceneOuterClass.Scene.Builder, club.joylink.rtss.vo.race.RaceSceneOuterClass.SceneOrBuilder> sceneBuilder_;
/**
* <code>.race.Scene scene = 4;</code>
* <code>.race.Scene scene = 3;</code>
* @return Whether the scene field is set.
*/
public boolean hasScene() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>.race.Scene scene = 4;</code>
* <code>.race.Scene scene = 3;</code>
* @return The scene.
*/
public club.joylink.rtss.vo.race.RaceSceneOuterClass.Scene getScene() {
@ -3190,7 +3190,7 @@ public final class RaceSceneOuterClass {
}
}
/**
* <code>.race.Scene scene = 4;</code>
* <code>.race.Scene scene = 3;</code>
*/
public Builder setScene(club.joylink.rtss.vo.race.RaceSceneOuterClass.Scene value) {
if (sceneBuilder_ == null) {
@ -3206,7 +3206,7 @@ public final class RaceSceneOuterClass {
return this;
}
/**
* <code>.race.Scene scene = 4;</code>
* <code>.race.Scene scene = 3;</code>
*/
public Builder setScene(
club.joylink.rtss.vo.race.RaceSceneOuterClass.Scene.Builder builderForValue) {
@ -3220,7 +3220,7 @@ public final class RaceSceneOuterClass {
return this;
}
/**
* <code>.race.Scene scene = 4;</code>
* <code>.race.Scene scene = 3;</code>
*/
public Builder mergeScene(club.joylink.rtss.vo.race.RaceSceneOuterClass.Scene value) {
if (sceneBuilder_ == null) {
@ -3239,7 +3239,7 @@ public final class RaceSceneOuterClass {
return this;
}
/**
* <code>.race.Scene scene = 4;</code>
* <code>.race.Scene scene = 3;</code>
*/
public Builder clearScene() {
bitField0_ = (bitField0_ & ~0x00000004);
@ -3252,7 +3252,7 @@ public final class RaceSceneOuterClass {
return this;
}
/**
* <code>.race.Scene scene = 4;</code>
* <code>.race.Scene scene = 3;</code>
*/
public club.joylink.rtss.vo.race.RaceSceneOuterClass.Scene.Builder getSceneBuilder() {
bitField0_ |= 0x00000004;
@ -3260,7 +3260,7 @@ public final class RaceSceneOuterClass {
return getSceneFieldBuilder().getBuilder();
}
/**
* <code>.race.Scene scene = 4;</code>
* <code>.race.Scene scene = 3;</code>
*/
public club.joylink.rtss.vo.race.RaceSceneOuterClass.SceneOrBuilder getSceneOrBuilder() {
if (sceneBuilder_ != null) {
@ -3271,7 +3271,7 @@ public final class RaceSceneOuterClass {
}
}
/**
* <code>.race.Scene scene = 4;</code>
* <code>.race.Scene scene = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
club.joylink.rtss.vo.race.RaceSceneOuterClass.Scene, club.joylink.rtss.vo.race.RaceSceneOuterClass.Scene.Builder, club.joylink.rtss.vo.race.RaceSceneOuterClass.SceneOrBuilder>
@ -6199,14 +6199,26 @@ public final class RaceSceneOuterClass {
*/
Unknown(0),
/**
* <pre>
* 场景
* </pre>
*
* <code>Local = 1;</code>
*/
Local(1),
/**
* <pre>
*连接
* </pre>
*
* <code>Link = 2;</code>
*/
Link(2),
/**
* <pre>
*视频演示
* </pre>
*
* <code>Video = 3;</code>
*/
Video(3),
@ -6218,14 +6230,26 @@ public final class RaceSceneOuterClass {
*/
public static final int Unknown_VALUE = 0;
/**
* <pre>
* 场景
* </pre>
*
* <code>Local = 1;</code>
*/
public static final int Local_VALUE = 1;
/**
* <pre>
*连接
* </pre>
*
* <code>Link = 2;</code>
*/
public static final int Link_VALUE = 2;
/**
* <pre>
*视频演示
* </pre>
*
* <code>Video = 3;</code>
*/
public static final int Video_VALUE = 3;
@ -6696,8 +6720,8 @@ public final class RaceSceneOuterClass {
"ceScene.Type\022\016\n\006map_id\030\004 \001(\003\022\020\n\010map_name" +
"\030\005 \001(\t\022)\n\013modify_info\030\006 \001(\0132\024.common.Mod" +
"ifyInfoVO\"c\n\023SceneCustomCreateVO\022\014\n\004name" +
"\030\001 \001(\t\022\"\n\004type\030\003 \001(\0162\024.race.RaceScene.Ty" +
"pe\022\032\n\005scene\030\004 \001(\0132\013.race.Scene\"J\n\022RaceSc" +
"\030\001 \001(\t\022\"\n\004type\030\002 \001(\0162\024.race.RaceScene.Ty" +
"pe\022\032\n\005scene\030\003 \001(\0132\013.race.Scene\"J\n\022RaceSc" +
"enePublishVO\022\017\n\007dafitid\030\001 \001(\003\022\014\n\004name\030\003 " +
"\001(\t\022\025\n\rforce_publish\030\004 \001(\010\"\\\n\005Scene\022\013\n\003u" +
"rl\030\001 \001(\t\0223\n\022storage_simulation\030\002 \001(\0132\027.r" +