大赛管理功能
This commit is contained in:
parent
823888ac35
commit
9df4de84b6
@ -1 +1 @@
|
||||
Subproject commit 64053645db2ecf352e7fdf8e4d19ec607d03c887
|
||||
Subproject commit 6b8e54c0216e2465e84bbd6032f860647381a611
|
@ -1975,10 +1975,20 @@ public final class RaceScoringRule {
|
||||
*单元id,纯前端维护,每次提交都可能会导致值的变化
|
||||
* </pre>
|
||||
*
|
||||
* <code>uint32 id = 6;</code>
|
||||
* <code>string id = 6;</code>
|
||||
* @return The id.
|
||||
*/
|
||||
int getId();
|
||||
java.lang.String getId();
|
||||
/**
|
||||
* <pre>
|
||||
*单元id,纯前端维护,每次提交都可能会导致值的变化
|
||||
* </pre>
|
||||
*
|
||||
* <code>string id = 6;</code>
|
||||
* @return The bytes for id.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getIdBytes();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
@ -2001,6 +2011,7 @@ public final class RaceScoringRule {
|
||||
content_ = "";
|
||||
criteria_ = "";
|
||||
children_ = java.util.Collections.emptyList();
|
||||
id_ = "";
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@ -2241,18 +2252,50 @@ public final class RaceScoringRule {
|
||||
}
|
||||
|
||||
public static final int ID_FIELD_NUMBER = 6;
|
||||
private int id_ = 0;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object id_ = "";
|
||||
/**
|
||||
* <pre>
|
||||
*单元id,纯前端维护,每次提交都可能会导致值的变化
|
||||
* </pre>
|
||||
*
|
||||
* <code>uint32 id = 6;</code>
|
||||
* <code>string id = 6;</code>
|
||||
* @return The id.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getId() {
|
||||
return id_;
|
||||
public java.lang.String getId() {
|
||||
java.lang.Object ref = id_;
|
||||
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();
|
||||
id_ = s;
|
||||
return s;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*单元id,纯前端维护,每次提交都可能会导致值的变化
|
||||
* </pre>
|
||||
*
|
||||
* <code>string id = 6;</code>
|
||||
* @return The bytes for id.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getIdBytes() {
|
||||
java.lang.Object ref = id_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
id_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@ -2284,8 +2327,8 @@ 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_);
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, id_);
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
}
|
||||
@ -2313,9 +2356,8 @@ 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_);
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, id_);
|
||||
}
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@ -2342,8 +2384,8 @@ public final class RaceScoringRule {
|
||||
.equals(other.getCriteria())) return false;
|
||||
if (!getChildrenList()
|
||||
.equals(other.getChildrenList())) return false;
|
||||
if (getId()
|
||||
!= other.getId()) return false;
|
||||
if (!getId()
|
||||
.equals(other.getId())) return false;
|
||||
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
||||
return true;
|
||||
}
|
||||
@ -2368,7 +2410,7 @@ public final class RaceScoringRule {
|
||||
hash = (53 * hash) + getChildrenList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getId();
|
||||
hash = (53 * hash) + getId().hashCode();
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@ -2515,7 +2557,7 @@ public final class RaceScoringRule {
|
||||
childrenBuilder_.clear();
|
||||
}
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
id_ = 0;
|
||||
id_ = "";
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -2635,8 +2677,10 @@ public final class RaceScoringRule {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (other.getId() != 0) {
|
||||
setId(other.getId());
|
||||
if (!other.getId().isEmpty()) {
|
||||
id_ = other.id_;
|
||||
bitField0_ |= 0x00000020;
|
||||
onChanged();
|
||||
}
|
||||
this.mergeUnknownFields(other.getUnknownFields());
|
||||
onChanged();
|
||||
@ -2697,11 +2741,11 @@ public final class RaceScoringRule {
|
||||
}
|
||||
break;
|
||||
} // case 42
|
||||
case 48: {
|
||||
id_ = input.readUInt32();
|
||||
case 50: {
|
||||
id_ = input.readStringRequireUtf8();
|
||||
bitField0_ |= 0x00000020;
|
||||
break;
|
||||
} // case 48
|
||||
} // case 50
|
||||
default: {
|
||||
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||
done = true; // was an endgroup tag
|
||||
@ -3351,30 +3395,60 @@ public final class RaceScoringRule {
|
||||
return childrenBuilder_;
|
||||
}
|
||||
|
||||
private int id_ ;
|
||||
private java.lang.Object id_ = "";
|
||||
/**
|
||||
* <pre>
|
||||
*单元id,纯前端维护,每次提交都可能会导致值的变化
|
||||
* </pre>
|
||||
*
|
||||
* <code>uint32 id = 6;</code>
|
||||
* <code>string id = 6;</code>
|
||||
* @return The id.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getId() {
|
||||
return id_;
|
||||
public java.lang.String getId() {
|
||||
java.lang.Object ref = id_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
id_ = s;
|
||||
return s;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*单元id,纯前端维护,每次提交都可能会导致值的变化
|
||||
* </pre>
|
||||
*
|
||||
* <code>uint32 id = 6;</code>
|
||||
* <code>string id = 6;</code>
|
||||
* @return The bytes for id.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getIdBytes() {
|
||||
java.lang.Object ref = id_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
id_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*单元id,纯前端维护,每次提交都可能会导致值的变化
|
||||
* </pre>
|
||||
*
|
||||
* <code>string id = 6;</code>
|
||||
* @param value The id to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setId(int value) {
|
||||
|
||||
public Builder setId(
|
||||
java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
id_ = value;
|
||||
bitField0_ |= 0x00000020;
|
||||
onChanged();
|
||||
@ -3385,12 +3459,30 @@ public final class RaceScoringRule {
|
||||
*单元id,纯前端维护,每次提交都可能会导致值的变化
|
||||
* </pre>
|
||||
*
|
||||
* <code>uint32 id = 6;</code>
|
||||
* <code>string id = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearId() {
|
||||
id_ = getDefaultInstance().getId();
|
||||
bitField0_ = (bitField0_ & ~0x00000020);
|
||||
id_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
*单元id,纯前端维护,每次提交都可能会导致值的变化
|
||||
* </pre>
|
||||
*
|
||||
* <code>string id = 6;</code>
|
||||
* @param value The bytes for id to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setIdBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
id_ = value;
|
||||
bitField0_ |= 0x00000020;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@ -4183,7 +4275,7 @@ public final class RaceScoringRule {
|
||||
"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.Unit\022\n\n\002id\030\006 \001(\rB\033\n\031club.joyl" +
|
||||
".race.Rule.Unit\022\n\n\002id\030\006 \001(\tB\033\n\031club.joyl" +
|
||||
"ink.rtss.vo.raceb\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
Loading…
Reference in New Issue
Block a user