大赛管理功能
This commit is contained in:
parent
1e927b29af
commit
823888ac35
|
@ -1888,7 +1888,7 @@ public final class RaceScoringRule {
|
|||
|
||||
/**
|
||||
* <pre>
|
||||
*作业程序
|
||||
*项目
|
||||
* </pre>
|
||||
*
|
||||
* <code>string content = 3;</code>
|
||||
|
@ -1897,7 +1897,7 @@ public final class RaceScoringRule {
|
|||
java.lang.String getContent();
|
||||
/**
|
||||
* <pre>
|
||||
*作业程序
|
||||
*项目
|
||||
* </pre>
|
||||
*
|
||||
* <code>string content = 3;</code>
|
||||
|
@ -1969,6 +1969,16 @@ public final class RaceScoringRule {
|
|||
*/
|
||||
club.joylink.rtss.vo.race.RaceScoringRule.Rule.UnitOrBuilder getChildrenOrBuilder(
|
||||
int index);
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*单元id,纯前端维护,每次提交都可能会导致值的变化
|
||||
* </pre>
|
||||
*
|
||||
* <code>uint32 id = 6;</code>
|
||||
* @return The id.
|
||||
*/
|
||||
int getId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
|
@ -2080,7 +2090,7 @@ public final class RaceScoringRule {
|
|||
private volatile java.lang.Object content_ = "";
|
||||
/**
|
||||
* <pre>
|
||||
*作业程序
|
||||
*项目
|
||||
* </pre>
|
||||
*
|
||||
* <code>string content = 3;</code>
|
||||
|
@ -2101,7 +2111,7 @@ public final class RaceScoringRule {
|
|||
}
|
||||
/**
|
||||
* <pre>
|
||||
*作业程序
|
||||
*项目
|
||||
* </pre>
|
||||
*
|
||||
* <code>string content = 3;</code>
|
||||
|
@ -2230,6 +2240,21 @@ public final class RaceScoringRule {
|
|||
return children_.get(index);
|
||||
}
|
||||
|
||||
public static final int ID_FIELD_NUMBER = 6;
|
||||
private int id_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
*单元id,纯前端维护,每次提交都可能会导致值的变化
|
||||
* </pre>
|
||||
*
|
||||
* <code>uint32 id = 6;</code>
|
||||
* @return The id.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getId() {
|
||||
return id_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
|
@ -2259,6 +2284,9 @@ public final class RaceScoringRule {
|
|||
for (int i = 0; i < children_.size(); i++) {
|
||||
output.writeMessage(5, children_.get(i));
|
||||
}
|
||||
if (id_ != 0) {
|
||||
output.writeUInt32(6, id_);
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
}
|
||||
|
||||
|
@ -2285,6 +2313,10 @@ public final class RaceScoringRule {
|
|||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(5, children_.get(i));
|
||||
}
|
||||
if (id_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(6, id_);
|
||||
}
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
|
@ -2310,6 +2342,8 @@ public final class RaceScoringRule {
|
|||
.equals(other.getCriteria())) return false;
|
||||
if (!getChildrenList()
|
||||
.equals(other.getChildrenList())) return false;
|
||||
if (getId()
|
||||
!= other.getId()) return false;
|
||||
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
||||
return true;
|
||||
}
|
||||
|
@ -2333,6 +2367,8 @@ public final class RaceScoringRule {
|
|||
hash = (37 * hash) + CHILDREN_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getChildrenList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getId();
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
|
@ -2479,6 +2515,7 @@ public final class RaceScoringRule {
|
|||
childrenBuilder_.clear();
|
||||
}
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
id_ = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@ -2537,6 +2574,9 @@ public final class RaceScoringRule {
|
|||
if (((from_bitField0_ & 0x00000008) != 0)) {
|
||||
result.criteria_ = criteria_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000020) != 0)) {
|
||||
result.id_ = id_;
|
||||
}
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
|
@ -2595,6 +2635,9 @@ public final class RaceScoringRule {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (other.getId() != 0) {
|
||||
setId(other.getId());
|
||||
}
|
||||
this.mergeUnknownFields(other.getUnknownFields());
|
||||
onChanged();
|
||||
return this;
|
||||
|
@ -2654,6 +2697,11 @@ public final class RaceScoringRule {
|
|||
}
|
||||
break;
|
||||
} // case 42
|
||||
case 48: {
|
||||
id_ = input.readUInt32();
|
||||
bitField0_ |= 0x00000020;
|
||||
break;
|
||||
} // case 48
|
||||
default: {
|
||||
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||
done = true; // was an endgroup tag
|
||||
|
@ -2810,7 +2858,7 @@ public final class RaceScoringRule {
|
|||
private java.lang.Object content_ = "";
|
||||
/**
|
||||
* <pre>
|
||||
*作业程序
|
||||
*项目
|
||||
* </pre>
|
||||
*
|
||||
* <code>string content = 3;</code>
|
||||
|
@ -2830,7 +2878,7 @@ public final class RaceScoringRule {
|
|||
}
|
||||
/**
|
||||
* <pre>
|
||||
*作业程序
|
||||
*项目
|
||||
* </pre>
|
||||
*
|
||||
* <code>string content = 3;</code>
|
||||
|
@ -2851,7 +2899,7 @@ public final class RaceScoringRule {
|
|||
}
|
||||
/**
|
||||
* <pre>
|
||||
*作业程序
|
||||
*项目
|
||||
* </pre>
|
||||
*
|
||||
* <code>string content = 3;</code>
|
||||
|
@ -2868,7 +2916,7 @@ public final class RaceScoringRule {
|
|||
}
|
||||
/**
|
||||
* <pre>
|
||||
*作业程序
|
||||
*项目
|
||||
* </pre>
|
||||
*
|
||||
* <code>string content = 3;</code>
|
||||
|
@ -2882,7 +2930,7 @@ public final class RaceScoringRule {
|
|||
}
|
||||
/**
|
||||
* <pre>
|
||||
*作业程序
|
||||
*项目
|
||||
* </pre>
|
||||
*
|
||||
* <code>string content = 3;</code>
|
||||
|
@ -3302,6 +3350,50 @@ public final class RaceScoringRule {
|
|||
}
|
||||
return childrenBuilder_;
|
||||
}
|
||||
|
||||
private int id_ ;
|
||||
/**
|
||||
* <pre>
|
||||
*单元id,纯前端维护,每次提交都可能会导致值的变化
|
||||
* </pre>
|
||||
*
|
||||
* <code>uint32 id = 6;</code>
|
||||
* @return The id.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getId() {
|
||||
return id_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*单元id,纯前端维护,每次提交都可能会导致值的变化
|
||||
* </pre>
|
||||
*
|
||||
* <code>uint32 id = 6;</code>
|
||||
* @param value The id to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setId(int value) {
|
||||
|
||||
id_ = value;
|
||||
bitField0_ |= 0x00000020;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*单元id,纯前端维护,每次提交都可能会导致值的变化
|
||||
* </pre>
|
||||
*
|
||||
* <code>uint32 id = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearId() {
|
||||
bitField0_ = (bitField0_ & ~0x00000020);
|
||||
id_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
|
@ -4087,12 +4179,12 @@ public final class RaceScoringRule {
|
|||
".race.Rule\022)\n\013modify_info\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\013modify_info\030" +
|
||||
"\003 \001(\0132\024.common.ModifyInfoVO\"\221\001\n\004Rule\022\036\n\005" +
|
||||
"units\030\001 \003(\0132\017.race.Rule.Unit\032i\n\004Unit\022\014\n\004" +
|
||||
"\003 \001(\0132\024.common.ModifyInfoVO\"\235\001\n\004Rule\022\036\n\005" +
|
||||
"units\030\001 \003(\0132\017.race.Rule.Unit\032u\n\004Unit\022\014\n\004" +
|
||||
"name\030\001 \001(\t\022\r\n\005score\030\002 \001(\r\022\017\n\007content\030\003 \001" +
|
||||
"(\t\022\020\n\010criteria\030\004 \001(\t\022!\n\010children\030\005 \003(\0132\017" +
|
||||
".race.Rule.UnitB\033\n\031club.joylink.rtss.vo." +
|
||||
"raceb\006proto3"
|
||||
".race.Rule.Unit\022\n\n\002id\030\006 \001(\rB\033\n\031club.joyl" +
|
||||
"ink.rtss.vo.raceb\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
|
@ -4122,7 +4214,7 @@ public final class RaceScoringRule {
|
|||
internal_static_race_Rule_Unit_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_race_Rule_Unit_descriptor,
|
||||
new java.lang.String[] { "Name", "Score", "Content", "Criteria", "Children", });
|
||||
new java.lang.String[] { "Name", "Score", "Content", "Criteria", "Children", "Id", });
|
||||
club.joylink.rtss.vo.common.ModifyInfo.getDescriptor();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue