mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-23 09:45:06 +01:00
2952 lines
80 KiB
Java
2952 lines
80 KiB
Java
// Code generated by protocol buffer compiler. Do not edit!
|
|
package emu.nebula.proto;
|
|
|
|
import java.io.IOException;
|
|
import us.hebi.quickbuf.FieldName;
|
|
import us.hebi.quickbuf.InvalidProtocolBufferException;
|
|
import us.hebi.quickbuf.JsonSink;
|
|
import us.hebi.quickbuf.JsonSource;
|
|
import us.hebi.quickbuf.MessageFactory;
|
|
import us.hebi.quickbuf.ProtoMessage;
|
|
import us.hebi.quickbuf.ProtoSink;
|
|
import us.hebi.quickbuf.ProtoSource;
|
|
import us.hebi.quickbuf.RepeatedByte;
|
|
import us.hebi.quickbuf.RepeatedMessage;
|
|
import us.hebi.quickbuf.Utf8String;
|
|
|
|
public final class JointDrillRank {
|
|
/**
|
|
* Protobuf type {@code JointDrillRankInfo}
|
|
*/
|
|
public static final class JointDrillRankInfo extends ProtoMessage<JointDrillRankInfo> implements Cloneable {
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
/**
|
|
* <code>optional int64 LastRefreshTime = 1;</code>
|
|
*/
|
|
private long lastRefreshTime;
|
|
|
|
/**
|
|
* <code>optional uint32 Total = 4;</code>
|
|
*/
|
|
private int total;
|
|
|
|
/**
|
|
* <code>optional .JointDrillRankData Self = 2;</code>
|
|
*/
|
|
private final JointDrillRankData self = JointDrillRankData.newInstance();
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
*/
|
|
private final RepeatedByte nextPackage = RepeatedByte.newEmptyInstance();
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankData Rank = 3;</code>
|
|
*/
|
|
private final RepeatedMessage<JointDrillRankData> rank = RepeatedMessage.newEmptyInstance(JointDrillRankData.getFactory());
|
|
|
|
private JointDrillRankInfo() {
|
|
}
|
|
|
|
/**
|
|
* @return a new empty instance of {@code JointDrillRankInfo}
|
|
*/
|
|
public static JointDrillRankInfo newInstance() {
|
|
return new JointDrillRankInfo();
|
|
}
|
|
|
|
/**
|
|
* <code>optional int64 LastRefreshTime = 1;</code>
|
|
* @return whether the lastRefreshTime field is set
|
|
*/
|
|
public boolean hasLastRefreshTime() {
|
|
return (bitField0_ & 0x00000001) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional int64 LastRefreshTime = 1;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankInfo clearLastRefreshTime() {
|
|
bitField0_ &= ~0x00000001;
|
|
lastRefreshTime = 0L;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional int64 LastRefreshTime = 1;</code>
|
|
* @return the lastRefreshTime
|
|
*/
|
|
public long getLastRefreshTime() {
|
|
return lastRefreshTime;
|
|
}
|
|
|
|
/**
|
|
* <code>optional int64 LastRefreshTime = 1;</code>
|
|
* @param value the lastRefreshTime to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankInfo setLastRefreshTime(final long value) {
|
|
bitField0_ |= 0x00000001;
|
|
lastRefreshTime = value;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Total = 4;</code>
|
|
* @return whether the total field is set
|
|
*/
|
|
public boolean hasTotal() {
|
|
return (bitField0_ & 0x00000002) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Total = 4;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankInfo clearTotal() {
|
|
bitField0_ &= ~0x00000002;
|
|
total = 0;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Total = 4;</code>
|
|
* @return the total
|
|
*/
|
|
public int getTotal() {
|
|
return total;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Total = 4;</code>
|
|
* @param value the total to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankInfo setTotal(final int value) {
|
|
bitField0_ |= 0x00000002;
|
|
total = value;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional .JointDrillRankData Self = 2;</code>
|
|
* @return whether the self field is set
|
|
*/
|
|
public boolean hasSelf() {
|
|
return (bitField0_ & 0x00000004) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional .JointDrillRankData Self = 2;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankInfo clearSelf() {
|
|
bitField0_ &= ~0x00000004;
|
|
self.clear();
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional .JointDrillRankData Self = 2;</code>
|
|
*
|
|
* This method returns the internal storage object without modifying any has state.
|
|
* The returned object should not be modified and be treated as read-only.
|
|
*
|
|
* Use {@link #getMutableSelf()} if you want to modify it.
|
|
*
|
|
* @return internal storage object for reading
|
|
*/
|
|
public JointDrillRankData getSelf() {
|
|
return self;
|
|
}
|
|
|
|
/**
|
|
* <code>optional .JointDrillRankData Self = 2;</code>
|
|
*
|
|
* This method returns the internal storage object and sets the corresponding
|
|
* has state. The returned object will become part of this message and its
|
|
* contents may be modified as long as the has state is not cleared.
|
|
*
|
|
* @return internal storage object for modifications
|
|
*/
|
|
public JointDrillRankData getMutableSelf() {
|
|
bitField0_ |= 0x00000004;
|
|
return self;
|
|
}
|
|
|
|
/**
|
|
* <code>optional .JointDrillRankData Self = 2;</code>
|
|
* @param value the self to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankInfo setSelf(final JointDrillRankData value) {
|
|
bitField0_ |= 0x00000004;
|
|
self.copyFrom(value);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @return whether the nextPackage field is set
|
|
*/
|
|
public boolean hasNextPackage() {
|
|
return (bitField0_ & 0x00000008) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankInfo clearNextPackage() {
|
|
bitField0_ &= ~0x00000008;
|
|
nextPackage.clear();
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
*
|
|
* This method returns the internal storage object without modifying any has state.
|
|
* The returned object should not be modified and be treated as read-only.
|
|
*
|
|
* Use {@link #getMutableNextPackage()} if you want to modify it.
|
|
*
|
|
* @return internal storage object for reading
|
|
*/
|
|
public RepeatedByte getNextPackage() {
|
|
return nextPackage;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
*
|
|
* This method returns the internal storage object and sets the corresponding
|
|
* has state. The returned object will become part of this message and its
|
|
* contents may be modified as long as the has state is not cleared.
|
|
*
|
|
* @return internal storage object for modifications
|
|
*/
|
|
public RepeatedByte getMutableNextPackage() {
|
|
bitField0_ |= 0x00000008;
|
|
return nextPackage;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @param value the nextPackage to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankInfo addNextPackage(final byte value) {
|
|
bitField0_ |= 0x00000008;
|
|
nextPackage.add(value);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @param values the nextPackage to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankInfo addAllNextPackage(final byte... values) {
|
|
bitField0_ |= 0x00000008;
|
|
nextPackage.addAll(values);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @param values the nextPackage to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankInfo setNextPackage(final byte... values) {
|
|
bitField0_ |= 0x00000008;
|
|
nextPackage.copyFrom(values);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankData Rank = 3;</code>
|
|
* @return whether the rank field is set
|
|
*/
|
|
public boolean hasRank() {
|
|
return (bitField0_ & 0x00000010) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankData Rank = 3;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankInfo clearRank() {
|
|
bitField0_ &= ~0x00000010;
|
|
rank.clear();
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankData Rank = 3;</code>
|
|
*
|
|
* This method returns the internal storage object without modifying any has state.
|
|
* The returned object should not be modified and be treated as read-only.
|
|
*
|
|
* Use {@link #getMutableRank()} if you want to modify it.
|
|
*
|
|
* @return internal storage object for reading
|
|
*/
|
|
public RepeatedMessage<JointDrillRankData> getRank() {
|
|
return rank;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankData Rank = 3;</code>
|
|
*
|
|
* This method returns the internal storage object and sets the corresponding
|
|
* has state. The returned object will become part of this message and its
|
|
* contents may be modified as long as the has state is not cleared.
|
|
*
|
|
* @return internal storage object for modifications
|
|
*/
|
|
public RepeatedMessage<JointDrillRankData> getMutableRank() {
|
|
bitField0_ |= 0x00000010;
|
|
return rank;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankData Rank = 3;</code>
|
|
* @param value the rank to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankInfo addRank(final JointDrillRankData value) {
|
|
bitField0_ |= 0x00000010;
|
|
rank.add(value);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankData Rank = 3;</code>
|
|
* @param values the rank to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankInfo addAllRank(final JointDrillRankData... values) {
|
|
bitField0_ |= 0x00000010;
|
|
rank.addAll(values);
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankInfo copyFrom(final JointDrillRankInfo other) {
|
|
cachedSize = other.cachedSize;
|
|
if ((bitField0_ | other.bitField0_) != 0) {
|
|
bitField0_ = other.bitField0_;
|
|
lastRefreshTime = other.lastRefreshTime;
|
|
total = other.total;
|
|
self.copyFrom(other.self);
|
|
nextPackage.copyFrom(other.nextPackage);
|
|
rank.copyFrom(other.rank);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankInfo mergeFrom(final JointDrillRankInfo other) {
|
|
if (other.isEmpty()) {
|
|
return this;
|
|
}
|
|
cachedSize = -1;
|
|
if (other.hasLastRefreshTime()) {
|
|
setLastRefreshTime(other.lastRefreshTime);
|
|
}
|
|
if (other.hasTotal()) {
|
|
setTotal(other.total);
|
|
}
|
|
if (other.hasSelf()) {
|
|
getMutableSelf().mergeFrom(other.self);
|
|
}
|
|
if (other.hasNextPackage()) {
|
|
getMutableNextPackage().copyFrom(other.nextPackage);
|
|
}
|
|
if (other.hasRank()) {
|
|
getMutableRank().addAll(other.rank);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankInfo clear() {
|
|
if (isEmpty()) {
|
|
return this;
|
|
}
|
|
cachedSize = -1;
|
|
bitField0_ = 0;
|
|
lastRefreshTime = 0L;
|
|
total = 0;
|
|
self.clear();
|
|
nextPackage.clear();
|
|
rank.clear();
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankInfo clearQuick() {
|
|
if (isEmpty()) {
|
|
return this;
|
|
}
|
|
cachedSize = -1;
|
|
bitField0_ = 0;
|
|
self.clearQuick();
|
|
nextPackage.clear();
|
|
rank.clearQuick();
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public boolean equals(Object o) {
|
|
if (o == this) {
|
|
return true;
|
|
}
|
|
if (!(o instanceof JointDrillRankInfo)) {
|
|
return false;
|
|
}
|
|
JointDrillRankInfo other = (JointDrillRankInfo) o;
|
|
return bitField0_ == other.bitField0_
|
|
&& (!hasLastRefreshTime() || lastRefreshTime == other.lastRefreshTime)
|
|
&& (!hasTotal() || total == other.total)
|
|
&& (!hasSelf() || self.equals(other.self))
|
|
&& (!hasNextPackage() || nextPackage.equals(other.nextPackage))
|
|
&& (!hasRank() || rank.equals(other.rank));
|
|
}
|
|
|
|
@Override
|
|
public void writeTo(final ProtoSink output) throws IOException {
|
|
if ((bitField0_ & 0x00000001) != 0) {
|
|
output.writeRawByte((byte) 8);
|
|
output.writeInt64NoTag(lastRefreshTime);
|
|
}
|
|
if ((bitField0_ & 0x00000002) != 0) {
|
|
output.writeRawByte((byte) 32);
|
|
output.writeUInt32NoTag(total);
|
|
}
|
|
if ((bitField0_ & 0x00000004) != 0) {
|
|
output.writeRawByte((byte) 18);
|
|
output.writeMessageNoTag(self);
|
|
}
|
|
if ((bitField0_ & 0x00000008) != 0) {
|
|
output.writeRawLittleEndian16((short) 32762);
|
|
output.writeBytesNoTag(nextPackage);
|
|
}
|
|
if ((bitField0_ & 0x00000010) != 0) {
|
|
for (int i = 0; i < rank.length(); i++) {
|
|
output.writeRawByte((byte) 26);
|
|
output.writeMessageNoTag(rank.get(i));
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override
|
|
protected int computeSerializedSize() {
|
|
int size = 0;
|
|
if ((bitField0_ & 0x00000001) != 0) {
|
|
size += 1 + ProtoSink.computeInt64SizeNoTag(lastRefreshTime);
|
|
}
|
|
if ((bitField0_ & 0x00000002) != 0) {
|
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(total);
|
|
}
|
|
if ((bitField0_ & 0x00000004) != 0) {
|
|
size += 1 + ProtoSink.computeMessageSizeNoTag(self);
|
|
}
|
|
if ((bitField0_ & 0x00000008) != 0) {
|
|
size += 2 + ProtoSink.computeBytesSizeNoTag(nextPackage);
|
|
}
|
|
if ((bitField0_ & 0x00000010) != 0) {
|
|
size += (1 * rank.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(rank);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
@Override
|
|
@SuppressWarnings("fallthrough")
|
|
public JointDrillRankInfo mergeFrom(final ProtoSource input) throws IOException {
|
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
|
int tag = input.readTag();
|
|
while (true) {
|
|
switch (tag) {
|
|
case 8: {
|
|
// lastRefreshTime
|
|
lastRefreshTime = input.readInt64();
|
|
bitField0_ |= 0x00000001;
|
|
tag = input.readTag();
|
|
if (tag != 32) {
|
|
break;
|
|
}
|
|
}
|
|
case 32: {
|
|
// total
|
|
total = input.readUInt32();
|
|
bitField0_ |= 0x00000002;
|
|
tag = input.readTag();
|
|
if (tag != 18) {
|
|
break;
|
|
}
|
|
}
|
|
case 18: {
|
|
// self
|
|
input.readMessage(self);
|
|
bitField0_ |= 0x00000004;
|
|
tag = input.readTag();
|
|
if (tag != 16378) {
|
|
break;
|
|
}
|
|
}
|
|
case 16378: {
|
|
// nextPackage
|
|
input.readBytes(nextPackage);
|
|
bitField0_ |= 0x00000008;
|
|
tag = input.readTag();
|
|
if (tag != 26) {
|
|
break;
|
|
}
|
|
}
|
|
case 26: {
|
|
// rank
|
|
tag = input.readRepeatedMessage(rank, tag);
|
|
bitField0_ |= 0x00000010;
|
|
if (tag != 0) {
|
|
break;
|
|
}
|
|
}
|
|
case 0: {
|
|
return this;
|
|
}
|
|
default: {
|
|
if (!input.skipField(tag)) {
|
|
return this;
|
|
}
|
|
tag = input.readTag();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override
|
|
public void writeTo(final JsonSink output) throws IOException {
|
|
output.beginObject();
|
|
if ((bitField0_ & 0x00000001) != 0) {
|
|
output.writeInt64(FieldNames.lastRefreshTime, lastRefreshTime);
|
|
}
|
|
if ((bitField0_ & 0x00000002) != 0) {
|
|
output.writeUInt32(FieldNames.total, total);
|
|
}
|
|
if ((bitField0_ & 0x00000004) != 0) {
|
|
output.writeMessage(FieldNames.self, self);
|
|
}
|
|
if ((bitField0_ & 0x00000008) != 0) {
|
|
output.writeBytes(FieldNames.nextPackage, nextPackage);
|
|
}
|
|
if ((bitField0_ & 0x00000010) != 0) {
|
|
output.writeRepeatedMessage(FieldNames.rank, rank);
|
|
}
|
|
output.endObject();
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankInfo mergeFrom(final JsonSource input) throws IOException {
|
|
if (!input.beginObject()) {
|
|
return this;
|
|
}
|
|
while (!input.isAtEnd()) {
|
|
switch (input.readFieldHash()) {
|
|
case -197072974: {
|
|
if (input.isAtField(FieldNames.lastRefreshTime)) {
|
|
if (!input.trySkipNullValue()) {
|
|
lastRefreshTime = input.readInt64();
|
|
bitField0_ |= 0x00000001;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case 80997156: {
|
|
if (input.isAtField(FieldNames.total)) {
|
|
if (!input.trySkipNullValue()) {
|
|
total = input.readUInt32();
|
|
bitField0_ |= 0x00000002;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case 2573164: {
|
|
if (input.isAtField(FieldNames.self)) {
|
|
if (!input.trySkipNullValue()) {
|
|
input.readMessage(self);
|
|
bitField0_ |= 0x00000004;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case -2082324045: {
|
|
if (input.isAtField(FieldNames.nextPackage)) {
|
|
if (!input.trySkipNullValue()) {
|
|
input.readBytes(nextPackage);
|
|
bitField0_ |= 0x00000008;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case 2539596: {
|
|
if (input.isAtField(FieldNames.rank)) {
|
|
if (!input.trySkipNullValue()) {
|
|
input.readRepeatedMessage(rank);
|
|
bitField0_ |= 0x00000010;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
default: {
|
|
input.skipUnknownField();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
input.endObject();
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankInfo clone() {
|
|
return new JointDrillRankInfo().copyFrom(this);
|
|
}
|
|
|
|
@Override
|
|
public boolean isEmpty() {
|
|
return ((bitField0_) == 0);
|
|
}
|
|
|
|
public static JointDrillRankInfo parseFrom(final byte[] data) throws
|
|
InvalidProtocolBufferException {
|
|
return ProtoMessage.mergeFrom(new JointDrillRankInfo(), data).checkInitialized();
|
|
}
|
|
|
|
public static JointDrillRankInfo parseFrom(final ProtoSource input) throws IOException {
|
|
return ProtoMessage.mergeFrom(new JointDrillRankInfo(), input).checkInitialized();
|
|
}
|
|
|
|
public static JointDrillRankInfo parseFrom(final JsonSource input) throws IOException {
|
|
return ProtoMessage.mergeFrom(new JointDrillRankInfo(), input).checkInitialized();
|
|
}
|
|
|
|
/**
|
|
* @return factory for creating JointDrillRankInfo messages
|
|
*/
|
|
public static MessageFactory<JointDrillRankInfo> getFactory() {
|
|
return JointDrillRankInfoFactory.INSTANCE;
|
|
}
|
|
|
|
private enum JointDrillRankInfoFactory implements MessageFactory<JointDrillRankInfo> {
|
|
INSTANCE;
|
|
|
|
@Override
|
|
public JointDrillRankInfo create() {
|
|
return JointDrillRankInfo.newInstance();
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Contains name constants used for serializing JSON
|
|
*/
|
|
static class FieldNames {
|
|
static final FieldName lastRefreshTime = FieldName.forField("LastRefreshTime");
|
|
|
|
static final FieldName total = FieldName.forField("Total");
|
|
|
|
static final FieldName self = FieldName.forField("Self");
|
|
|
|
static final FieldName nextPackage = FieldName.forField("NextPackage");
|
|
|
|
static final FieldName rank = FieldName.forField("Rank");
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Protobuf type {@code JointDrillRankChar}
|
|
*/
|
|
public static final class JointDrillRankChar extends ProtoMessage<JointDrillRankChar> implements Cloneable {
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
/**
|
|
* <code>optional uint32 Id = 1;</code>
|
|
*/
|
|
private int id;
|
|
|
|
/**
|
|
* <code>optional uint32 Level = 2;</code>
|
|
*/
|
|
private int level;
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
*/
|
|
private final RepeatedByte nextPackage = RepeatedByte.newEmptyInstance();
|
|
|
|
private JointDrillRankChar() {
|
|
}
|
|
|
|
/**
|
|
* @return a new empty instance of {@code JointDrillRankChar}
|
|
*/
|
|
public static JointDrillRankChar newInstance() {
|
|
return new JointDrillRankChar();
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Id = 1;</code>
|
|
* @return whether the id field is set
|
|
*/
|
|
public boolean hasId() {
|
|
return (bitField0_ & 0x00000001) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Id = 1;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankChar clearId() {
|
|
bitField0_ &= ~0x00000001;
|
|
id = 0;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Id = 1;</code>
|
|
* @return the id
|
|
*/
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Id = 1;</code>
|
|
* @param value the id to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankChar setId(final int value) {
|
|
bitField0_ |= 0x00000001;
|
|
id = value;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Level = 2;</code>
|
|
* @return whether the level field is set
|
|
*/
|
|
public boolean hasLevel() {
|
|
return (bitField0_ & 0x00000002) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Level = 2;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankChar clearLevel() {
|
|
bitField0_ &= ~0x00000002;
|
|
level = 0;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Level = 2;</code>
|
|
* @return the level
|
|
*/
|
|
public int getLevel() {
|
|
return level;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Level = 2;</code>
|
|
* @param value the level to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankChar setLevel(final int value) {
|
|
bitField0_ |= 0x00000002;
|
|
level = value;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @return whether the nextPackage field is set
|
|
*/
|
|
public boolean hasNextPackage() {
|
|
return (bitField0_ & 0x00000004) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankChar clearNextPackage() {
|
|
bitField0_ &= ~0x00000004;
|
|
nextPackage.clear();
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
*
|
|
* This method returns the internal storage object without modifying any has state.
|
|
* The returned object should not be modified and be treated as read-only.
|
|
*
|
|
* Use {@link #getMutableNextPackage()} if you want to modify it.
|
|
*
|
|
* @return internal storage object for reading
|
|
*/
|
|
public RepeatedByte getNextPackage() {
|
|
return nextPackage;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
*
|
|
* This method returns the internal storage object and sets the corresponding
|
|
* has state. The returned object will become part of this message and its
|
|
* contents may be modified as long as the has state is not cleared.
|
|
*
|
|
* @return internal storage object for modifications
|
|
*/
|
|
public RepeatedByte getMutableNextPackage() {
|
|
bitField0_ |= 0x00000004;
|
|
return nextPackage;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @param value the nextPackage to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankChar addNextPackage(final byte value) {
|
|
bitField0_ |= 0x00000004;
|
|
nextPackage.add(value);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @param values the nextPackage to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankChar addAllNextPackage(final byte... values) {
|
|
bitField0_ |= 0x00000004;
|
|
nextPackage.addAll(values);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @param values the nextPackage to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankChar setNextPackage(final byte... values) {
|
|
bitField0_ |= 0x00000004;
|
|
nextPackage.copyFrom(values);
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankChar copyFrom(final JointDrillRankChar other) {
|
|
cachedSize = other.cachedSize;
|
|
if ((bitField0_ | other.bitField0_) != 0) {
|
|
bitField0_ = other.bitField0_;
|
|
id = other.id;
|
|
level = other.level;
|
|
nextPackage.copyFrom(other.nextPackage);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankChar mergeFrom(final JointDrillRankChar other) {
|
|
if (other.isEmpty()) {
|
|
return this;
|
|
}
|
|
cachedSize = -1;
|
|
if (other.hasId()) {
|
|
setId(other.id);
|
|
}
|
|
if (other.hasLevel()) {
|
|
setLevel(other.level);
|
|
}
|
|
if (other.hasNextPackage()) {
|
|
getMutableNextPackage().copyFrom(other.nextPackage);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankChar clear() {
|
|
if (isEmpty()) {
|
|
return this;
|
|
}
|
|
cachedSize = -1;
|
|
bitField0_ = 0;
|
|
id = 0;
|
|
level = 0;
|
|
nextPackage.clear();
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankChar clearQuick() {
|
|
if (isEmpty()) {
|
|
return this;
|
|
}
|
|
cachedSize = -1;
|
|
bitField0_ = 0;
|
|
nextPackage.clear();
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public boolean equals(Object o) {
|
|
if (o == this) {
|
|
return true;
|
|
}
|
|
if (!(o instanceof JointDrillRankChar)) {
|
|
return false;
|
|
}
|
|
JointDrillRankChar other = (JointDrillRankChar) o;
|
|
return bitField0_ == other.bitField0_
|
|
&& (!hasId() || id == other.id)
|
|
&& (!hasLevel() || level == other.level)
|
|
&& (!hasNextPackage() || nextPackage.equals(other.nextPackage));
|
|
}
|
|
|
|
@Override
|
|
public void writeTo(final ProtoSink output) throws IOException {
|
|
if ((bitField0_ & 0x00000001) != 0) {
|
|
output.writeRawByte((byte) 8);
|
|
output.writeUInt32NoTag(id);
|
|
}
|
|
if ((bitField0_ & 0x00000002) != 0) {
|
|
output.writeRawByte((byte) 16);
|
|
output.writeUInt32NoTag(level);
|
|
}
|
|
if ((bitField0_ & 0x00000004) != 0) {
|
|
output.writeRawLittleEndian16((short) 32762);
|
|
output.writeBytesNoTag(nextPackage);
|
|
}
|
|
}
|
|
|
|
@Override
|
|
protected int computeSerializedSize() {
|
|
int size = 0;
|
|
if ((bitField0_ & 0x00000001) != 0) {
|
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(id);
|
|
}
|
|
if ((bitField0_ & 0x00000002) != 0) {
|
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
|
|
}
|
|
if ((bitField0_ & 0x00000004) != 0) {
|
|
size += 2 + ProtoSink.computeBytesSizeNoTag(nextPackage);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
@Override
|
|
@SuppressWarnings("fallthrough")
|
|
public JointDrillRankChar mergeFrom(final ProtoSource input) throws IOException {
|
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
|
int tag = input.readTag();
|
|
while (true) {
|
|
switch (tag) {
|
|
case 8: {
|
|
// id
|
|
id = input.readUInt32();
|
|
bitField0_ |= 0x00000001;
|
|
tag = input.readTag();
|
|
if (tag != 16) {
|
|
break;
|
|
}
|
|
}
|
|
case 16: {
|
|
// level
|
|
level = input.readUInt32();
|
|
bitField0_ |= 0x00000002;
|
|
tag = input.readTag();
|
|
if (tag != 16378) {
|
|
break;
|
|
}
|
|
}
|
|
case 16378: {
|
|
// nextPackage
|
|
input.readBytes(nextPackage);
|
|
bitField0_ |= 0x00000004;
|
|
tag = input.readTag();
|
|
if (tag != 0) {
|
|
break;
|
|
}
|
|
}
|
|
case 0: {
|
|
return this;
|
|
}
|
|
default: {
|
|
if (!input.skipField(tag)) {
|
|
return this;
|
|
}
|
|
tag = input.readTag();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override
|
|
public void writeTo(final JsonSink output) throws IOException {
|
|
output.beginObject();
|
|
if ((bitField0_ & 0x00000001) != 0) {
|
|
output.writeUInt32(FieldNames.id, id);
|
|
}
|
|
if ((bitField0_ & 0x00000002) != 0) {
|
|
output.writeUInt32(FieldNames.level, level);
|
|
}
|
|
if ((bitField0_ & 0x00000004) != 0) {
|
|
output.writeBytes(FieldNames.nextPackage, nextPackage);
|
|
}
|
|
output.endObject();
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankChar mergeFrom(final JsonSource input) throws IOException {
|
|
if (!input.beginObject()) {
|
|
return this;
|
|
}
|
|
while (!input.isAtEnd()) {
|
|
switch (input.readFieldHash()) {
|
|
case 2363: {
|
|
if (input.isAtField(FieldNames.id)) {
|
|
if (!input.trySkipNullValue()) {
|
|
id = input.readUInt32();
|
|
bitField0_ |= 0x00000001;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case 73313124: {
|
|
if (input.isAtField(FieldNames.level)) {
|
|
if (!input.trySkipNullValue()) {
|
|
level = input.readUInt32();
|
|
bitField0_ |= 0x00000002;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case -2082324045: {
|
|
if (input.isAtField(FieldNames.nextPackage)) {
|
|
if (!input.trySkipNullValue()) {
|
|
input.readBytes(nextPackage);
|
|
bitField0_ |= 0x00000004;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
default: {
|
|
input.skipUnknownField();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
input.endObject();
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankChar clone() {
|
|
return new JointDrillRankChar().copyFrom(this);
|
|
}
|
|
|
|
@Override
|
|
public boolean isEmpty() {
|
|
return ((bitField0_) == 0);
|
|
}
|
|
|
|
public static JointDrillRankChar parseFrom(final byte[] data) throws
|
|
InvalidProtocolBufferException {
|
|
return ProtoMessage.mergeFrom(new JointDrillRankChar(), data).checkInitialized();
|
|
}
|
|
|
|
public static JointDrillRankChar parseFrom(final ProtoSource input) throws IOException {
|
|
return ProtoMessage.mergeFrom(new JointDrillRankChar(), input).checkInitialized();
|
|
}
|
|
|
|
public static JointDrillRankChar parseFrom(final JsonSource input) throws IOException {
|
|
return ProtoMessage.mergeFrom(new JointDrillRankChar(), input).checkInitialized();
|
|
}
|
|
|
|
/**
|
|
* @return factory for creating JointDrillRankChar messages
|
|
*/
|
|
public static MessageFactory<JointDrillRankChar> getFactory() {
|
|
return JointDrillRankCharFactory.INSTANCE;
|
|
}
|
|
|
|
private enum JointDrillRankCharFactory implements MessageFactory<JointDrillRankChar> {
|
|
INSTANCE;
|
|
|
|
@Override
|
|
public JointDrillRankChar create() {
|
|
return JointDrillRankChar.newInstance();
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Contains name constants used for serializing JSON
|
|
*/
|
|
static class FieldNames {
|
|
static final FieldName id = FieldName.forField("Id");
|
|
|
|
static final FieldName level = FieldName.forField("Level");
|
|
|
|
static final FieldName nextPackage = FieldName.forField("NextPackage");
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Protobuf type {@code JointDrillRankTeam}
|
|
*/
|
|
public static final class JointDrillRankTeam extends ProtoMessage<JointDrillRankTeam> implements Cloneable {
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
/**
|
|
* <code>optional uint32 BuildScore = 2;</code>
|
|
*/
|
|
private int buildScore;
|
|
|
|
/**
|
|
* <code>optional uint32 Damage = 3;</code>
|
|
*/
|
|
private int damage;
|
|
|
|
/**
|
|
* <code>optional uint32 Time = 4;</code>
|
|
*/
|
|
private int time;
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
*/
|
|
private final RepeatedByte nextPackage = RepeatedByte.newEmptyInstance();
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankChar Chars = 1;</code>
|
|
*/
|
|
private final RepeatedMessage<JointDrillRankChar> chars = RepeatedMessage.newEmptyInstance(JointDrillRankChar.getFactory());
|
|
|
|
private JointDrillRankTeam() {
|
|
}
|
|
|
|
/**
|
|
* @return a new empty instance of {@code JointDrillRankTeam}
|
|
*/
|
|
public static JointDrillRankTeam newInstance() {
|
|
return new JointDrillRankTeam();
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 BuildScore = 2;</code>
|
|
* @return whether the buildScore field is set
|
|
*/
|
|
public boolean hasBuildScore() {
|
|
return (bitField0_ & 0x00000001) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 BuildScore = 2;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankTeam clearBuildScore() {
|
|
bitField0_ &= ~0x00000001;
|
|
buildScore = 0;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 BuildScore = 2;</code>
|
|
* @return the buildScore
|
|
*/
|
|
public int getBuildScore() {
|
|
return buildScore;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 BuildScore = 2;</code>
|
|
* @param value the buildScore to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankTeam setBuildScore(final int value) {
|
|
bitField0_ |= 0x00000001;
|
|
buildScore = value;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Damage = 3;</code>
|
|
* @return whether the damage field is set
|
|
*/
|
|
public boolean hasDamage() {
|
|
return (bitField0_ & 0x00000002) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Damage = 3;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankTeam clearDamage() {
|
|
bitField0_ &= ~0x00000002;
|
|
damage = 0;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Damage = 3;</code>
|
|
* @return the damage
|
|
*/
|
|
public int getDamage() {
|
|
return damage;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Damage = 3;</code>
|
|
* @param value the damage to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankTeam setDamage(final int value) {
|
|
bitField0_ |= 0x00000002;
|
|
damage = value;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Time = 4;</code>
|
|
* @return whether the time field is set
|
|
*/
|
|
public boolean hasTime() {
|
|
return (bitField0_ & 0x00000004) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Time = 4;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankTeam clearTime() {
|
|
bitField0_ &= ~0x00000004;
|
|
time = 0;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Time = 4;</code>
|
|
* @return the time
|
|
*/
|
|
public int getTime() {
|
|
return time;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Time = 4;</code>
|
|
* @param value the time to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankTeam setTime(final int value) {
|
|
bitField0_ |= 0x00000004;
|
|
time = value;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @return whether the nextPackage field is set
|
|
*/
|
|
public boolean hasNextPackage() {
|
|
return (bitField0_ & 0x00000008) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankTeam clearNextPackage() {
|
|
bitField0_ &= ~0x00000008;
|
|
nextPackage.clear();
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
*
|
|
* This method returns the internal storage object without modifying any has state.
|
|
* The returned object should not be modified and be treated as read-only.
|
|
*
|
|
* Use {@link #getMutableNextPackage()} if you want to modify it.
|
|
*
|
|
* @return internal storage object for reading
|
|
*/
|
|
public RepeatedByte getNextPackage() {
|
|
return nextPackage;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
*
|
|
* This method returns the internal storage object and sets the corresponding
|
|
* has state. The returned object will become part of this message and its
|
|
* contents may be modified as long as the has state is not cleared.
|
|
*
|
|
* @return internal storage object for modifications
|
|
*/
|
|
public RepeatedByte getMutableNextPackage() {
|
|
bitField0_ |= 0x00000008;
|
|
return nextPackage;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @param value the nextPackage to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankTeam addNextPackage(final byte value) {
|
|
bitField0_ |= 0x00000008;
|
|
nextPackage.add(value);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @param values the nextPackage to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankTeam addAllNextPackage(final byte... values) {
|
|
bitField0_ |= 0x00000008;
|
|
nextPackage.addAll(values);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @param values the nextPackage to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankTeam setNextPackage(final byte... values) {
|
|
bitField0_ |= 0x00000008;
|
|
nextPackage.copyFrom(values);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankChar Chars = 1;</code>
|
|
* @return whether the chars field is set
|
|
*/
|
|
public boolean hasChars() {
|
|
return (bitField0_ & 0x00000010) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankChar Chars = 1;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankTeam clearChars() {
|
|
bitField0_ &= ~0x00000010;
|
|
chars.clear();
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankChar Chars = 1;</code>
|
|
*
|
|
* This method returns the internal storage object without modifying any has state.
|
|
* The returned object should not be modified and be treated as read-only.
|
|
*
|
|
* Use {@link #getMutableChars()} if you want to modify it.
|
|
*
|
|
* @return internal storage object for reading
|
|
*/
|
|
public RepeatedMessage<JointDrillRankChar> getChars() {
|
|
return chars;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankChar Chars = 1;</code>
|
|
*
|
|
* This method returns the internal storage object and sets the corresponding
|
|
* has state. The returned object will become part of this message and its
|
|
* contents may be modified as long as the has state is not cleared.
|
|
*
|
|
* @return internal storage object for modifications
|
|
*/
|
|
public RepeatedMessage<JointDrillRankChar> getMutableChars() {
|
|
bitField0_ |= 0x00000010;
|
|
return chars;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankChar Chars = 1;</code>
|
|
* @param value the chars to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankTeam addChars(final JointDrillRankChar value) {
|
|
bitField0_ |= 0x00000010;
|
|
chars.add(value);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankChar Chars = 1;</code>
|
|
* @param values the chars to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankTeam addAllChars(final JointDrillRankChar... values) {
|
|
bitField0_ |= 0x00000010;
|
|
chars.addAll(values);
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankTeam copyFrom(final JointDrillRankTeam other) {
|
|
cachedSize = other.cachedSize;
|
|
if ((bitField0_ | other.bitField0_) != 0) {
|
|
bitField0_ = other.bitField0_;
|
|
buildScore = other.buildScore;
|
|
damage = other.damage;
|
|
time = other.time;
|
|
nextPackage.copyFrom(other.nextPackage);
|
|
chars.copyFrom(other.chars);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankTeam mergeFrom(final JointDrillRankTeam other) {
|
|
if (other.isEmpty()) {
|
|
return this;
|
|
}
|
|
cachedSize = -1;
|
|
if (other.hasBuildScore()) {
|
|
setBuildScore(other.buildScore);
|
|
}
|
|
if (other.hasDamage()) {
|
|
setDamage(other.damage);
|
|
}
|
|
if (other.hasTime()) {
|
|
setTime(other.time);
|
|
}
|
|
if (other.hasNextPackage()) {
|
|
getMutableNextPackage().copyFrom(other.nextPackage);
|
|
}
|
|
if (other.hasChars()) {
|
|
getMutableChars().addAll(other.chars);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankTeam clear() {
|
|
if (isEmpty()) {
|
|
return this;
|
|
}
|
|
cachedSize = -1;
|
|
bitField0_ = 0;
|
|
buildScore = 0;
|
|
damage = 0;
|
|
time = 0;
|
|
nextPackage.clear();
|
|
chars.clear();
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankTeam clearQuick() {
|
|
if (isEmpty()) {
|
|
return this;
|
|
}
|
|
cachedSize = -1;
|
|
bitField0_ = 0;
|
|
nextPackage.clear();
|
|
chars.clearQuick();
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public boolean equals(Object o) {
|
|
if (o == this) {
|
|
return true;
|
|
}
|
|
if (!(o instanceof JointDrillRankTeam)) {
|
|
return false;
|
|
}
|
|
JointDrillRankTeam other = (JointDrillRankTeam) o;
|
|
return bitField0_ == other.bitField0_
|
|
&& (!hasBuildScore() || buildScore == other.buildScore)
|
|
&& (!hasDamage() || damage == other.damage)
|
|
&& (!hasTime() || time == other.time)
|
|
&& (!hasNextPackage() || nextPackage.equals(other.nextPackage))
|
|
&& (!hasChars() || chars.equals(other.chars));
|
|
}
|
|
|
|
@Override
|
|
public void writeTo(final ProtoSink output) throws IOException {
|
|
if ((bitField0_ & 0x00000001) != 0) {
|
|
output.writeRawByte((byte) 16);
|
|
output.writeUInt32NoTag(buildScore);
|
|
}
|
|
if ((bitField0_ & 0x00000002) != 0) {
|
|
output.writeRawByte((byte) 24);
|
|
output.writeUInt32NoTag(damage);
|
|
}
|
|
if ((bitField0_ & 0x00000004) != 0) {
|
|
output.writeRawByte((byte) 32);
|
|
output.writeUInt32NoTag(time);
|
|
}
|
|
if ((bitField0_ & 0x00000008) != 0) {
|
|
output.writeRawLittleEndian16((short) 32762);
|
|
output.writeBytesNoTag(nextPackage);
|
|
}
|
|
if ((bitField0_ & 0x00000010) != 0) {
|
|
for (int i = 0; i < chars.length(); i++) {
|
|
output.writeRawByte((byte) 10);
|
|
output.writeMessageNoTag(chars.get(i));
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override
|
|
protected int computeSerializedSize() {
|
|
int size = 0;
|
|
if ((bitField0_ & 0x00000001) != 0) {
|
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(buildScore);
|
|
}
|
|
if ((bitField0_ & 0x00000002) != 0) {
|
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(damage);
|
|
}
|
|
if ((bitField0_ & 0x00000004) != 0) {
|
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(time);
|
|
}
|
|
if ((bitField0_ & 0x00000008) != 0) {
|
|
size += 2 + ProtoSink.computeBytesSizeNoTag(nextPackage);
|
|
}
|
|
if ((bitField0_ & 0x00000010) != 0) {
|
|
size += (1 * chars.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(chars);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
@Override
|
|
@SuppressWarnings("fallthrough")
|
|
public JointDrillRankTeam mergeFrom(final ProtoSource input) throws IOException {
|
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
|
int tag = input.readTag();
|
|
while (true) {
|
|
switch (tag) {
|
|
case 16: {
|
|
// buildScore
|
|
buildScore = input.readUInt32();
|
|
bitField0_ |= 0x00000001;
|
|
tag = input.readTag();
|
|
if (tag != 24) {
|
|
break;
|
|
}
|
|
}
|
|
case 24: {
|
|
// damage
|
|
damage = input.readUInt32();
|
|
bitField0_ |= 0x00000002;
|
|
tag = input.readTag();
|
|
if (tag != 32) {
|
|
break;
|
|
}
|
|
}
|
|
case 32: {
|
|
// time
|
|
time = input.readUInt32();
|
|
bitField0_ |= 0x00000004;
|
|
tag = input.readTag();
|
|
if (tag != 16378) {
|
|
break;
|
|
}
|
|
}
|
|
case 16378: {
|
|
// nextPackage
|
|
input.readBytes(nextPackage);
|
|
bitField0_ |= 0x00000008;
|
|
tag = input.readTag();
|
|
if (tag != 10) {
|
|
break;
|
|
}
|
|
}
|
|
case 10: {
|
|
// chars
|
|
tag = input.readRepeatedMessage(chars, tag);
|
|
bitField0_ |= 0x00000010;
|
|
if (tag != 0) {
|
|
break;
|
|
}
|
|
}
|
|
case 0: {
|
|
return this;
|
|
}
|
|
default: {
|
|
if (!input.skipField(tag)) {
|
|
return this;
|
|
}
|
|
tag = input.readTag();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override
|
|
public void writeTo(final JsonSink output) throws IOException {
|
|
output.beginObject();
|
|
if ((bitField0_ & 0x00000001) != 0) {
|
|
output.writeUInt32(FieldNames.buildScore, buildScore);
|
|
}
|
|
if ((bitField0_ & 0x00000002) != 0) {
|
|
output.writeUInt32(FieldNames.damage, damage);
|
|
}
|
|
if ((bitField0_ & 0x00000004) != 0) {
|
|
output.writeUInt32(FieldNames.time, time);
|
|
}
|
|
if ((bitField0_ & 0x00000008) != 0) {
|
|
output.writeBytes(FieldNames.nextPackage, nextPackage);
|
|
}
|
|
if ((bitField0_ & 0x00000010) != 0) {
|
|
output.writeRepeatedMessage(FieldNames.chars, chars);
|
|
}
|
|
output.endObject();
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankTeam mergeFrom(final JsonSource input) throws IOException {
|
|
if (!input.beginObject()) {
|
|
return this;
|
|
}
|
|
while (!input.isAtEnd()) {
|
|
switch (input.readFieldHash()) {
|
|
case 1511471332: {
|
|
if (input.isAtField(FieldNames.buildScore)) {
|
|
if (!input.trySkipNullValue()) {
|
|
buildScore = input.readUInt32();
|
|
bitField0_ |= 0x00000001;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case 2039707535: {
|
|
if (input.isAtField(FieldNames.damage)) {
|
|
if (!input.trySkipNullValue()) {
|
|
damage = input.readUInt32();
|
|
bitField0_ |= 0x00000002;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case 2606829: {
|
|
if (input.isAtField(FieldNames.time)) {
|
|
if (!input.trySkipNullValue()) {
|
|
time = input.readUInt32();
|
|
bitField0_ |= 0x00000004;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case -2082324045: {
|
|
if (input.isAtField(FieldNames.nextPackage)) {
|
|
if (!input.trySkipNullValue()) {
|
|
input.readBytes(nextPackage);
|
|
bitField0_ |= 0x00000008;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case 65071037: {
|
|
if (input.isAtField(FieldNames.chars)) {
|
|
if (!input.trySkipNullValue()) {
|
|
input.readRepeatedMessage(chars);
|
|
bitField0_ |= 0x00000010;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
default: {
|
|
input.skipUnknownField();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
input.endObject();
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankTeam clone() {
|
|
return new JointDrillRankTeam().copyFrom(this);
|
|
}
|
|
|
|
@Override
|
|
public boolean isEmpty() {
|
|
return ((bitField0_) == 0);
|
|
}
|
|
|
|
public static JointDrillRankTeam parseFrom(final byte[] data) throws
|
|
InvalidProtocolBufferException {
|
|
return ProtoMessage.mergeFrom(new JointDrillRankTeam(), data).checkInitialized();
|
|
}
|
|
|
|
public static JointDrillRankTeam parseFrom(final ProtoSource input) throws IOException {
|
|
return ProtoMessage.mergeFrom(new JointDrillRankTeam(), input).checkInitialized();
|
|
}
|
|
|
|
public static JointDrillRankTeam parseFrom(final JsonSource input) throws IOException {
|
|
return ProtoMessage.mergeFrom(new JointDrillRankTeam(), input).checkInitialized();
|
|
}
|
|
|
|
/**
|
|
* @return factory for creating JointDrillRankTeam messages
|
|
*/
|
|
public static MessageFactory<JointDrillRankTeam> getFactory() {
|
|
return JointDrillRankTeamFactory.INSTANCE;
|
|
}
|
|
|
|
private enum JointDrillRankTeamFactory implements MessageFactory<JointDrillRankTeam> {
|
|
INSTANCE;
|
|
|
|
@Override
|
|
public JointDrillRankTeam create() {
|
|
return JointDrillRankTeam.newInstance();
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Contains name constants used for serializing JSON
|
|
*/
|
|
static class FieldNames {
|
|
static final FieldName buildScore = FieldName.forField("BuildScore");
|
|
|
|
static final FieldName damage = FieldName.forField("Damage");
|
|
|
|
static final FieldName time = FieldName.forField("Time");
|
|
|
|
static final FieldName nextPackage = FieldName.forField("NextPackage");
|
|
|
|
static final FieldName chars = FieldName.forField("Chars");
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Protobuf type {@code JointDrillRankData}
|
|
*/
|
|
public static final class JointDrillRankData extends ProtoMessage<JointDrillRankData> implements Cloneable {
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
/**
|
|
* <code>optional uint64 Id = 1;</code>
|
|
*/
|
|
private long id;
|
|
|
|
/**
|
|
* <code>optional uint32 WorldClass = 3;</code>
|
|
*/
|
|
private int worldClass;
|
|
|
|
/**
|
|
* <code>optional uint32 HeadIcon = 4;</code>
|
|
*/
|
|
private int headIcon;
|
|
|
|
/**
|
|
* <code>optional uint32 Score = 5;</code>
|
|
*/
|
|
private int score;
|
|
|
|
/**
|
|
* <code>optional uint32 Rank = 6;</code>
|
|
*/
|
|
private int rank;
|
|
|
|
/**
|
|
* <code>optional uint32 TitlePrefix = 7;</code>
|
|
*/
|
|
private int titlePrefix;
|
|
|
|
/**
|
|
* <code>optional uint32 TitleSuffix = 8;</code>
|
|
*/
|
|
private int titleSuffix;
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
*/
|
|
private final RepeatedByte nextPackage = RepeatedByte.newEmptyInstance();
|
|
|
|
/**
|
|
* <code>optional string NickName = 2;</code>
|
|
*/
|
|
private final Utf8String nickName = Utf8String.newEmptyInstance();
|
|
|
|
/**
|
|
* <code>repeated .HonorInfo Honors = 9;</code>
|
|
*/
|
|
private final RepeatedMessage<Public.HonorInfo> honors = RepeatedMessage.newEmptyInstance(Public.HonorInfo.getFactory());
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankTeam Teams = 10;</code>
|
|
*/
|
|
private final RepeatedMessage<JointDrillRankTeam> teams = RepeatedMessage.newEmptyInstance(JointDrillRankTeam.getFactory());
|
|
|
|
private JointDrillRankData() {
|
|
}
|
|
|
|
/**
|
|
* @return a new empty instance of {@code JointDrillRankData}
|
|
*/
|
|
public static JointDrillRankData newInstance() {
|
|
return new JointDrillRankData();
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint64 Id = 1;</code>
|
|
* @return whether the id field is set
|
|
*/
|
|
public boolean hasId() {
|
|
return (bitField0_ & 0x00000001) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint64 Id = 1;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData clearId() {
|
|
bitField0_ &= ~0x00000001;
|
|
id = 0L;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint64 Id = 1;</code>
|
|
* @return the id
|
|
*/
|
|
public long getId() {
|
|
return id;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint64 Id = 1;</code>
|
|
* @param value the id to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData setId(final long value) {
|
|
bitField0_ |= 0x00000001;
|
|
id = value;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 WorldClass = 3;</code>
|
|
* @return whether the worldClass field is set
|
|
*/
|
|
public boolean hasWorldClass() {
|
|
return (bitField0_ & 0x00000002) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 WorldClass = 3;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData clearWorldClass() {
|
|
bitField0_ &= ~0x00000002;
|
|
worldClass = 0;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 WorldClass = 3;</code>
|
|
* @return the worldClass
|
|
*/
|
|
public int getWorldClass() {
|
|
return worldClass;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 WorldClass = 3;</code>
|
|
* @param value the worldClass to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData setWorldClass(final int value) {
|
|
bitField0_ |= 0x00000002;
|
|
worldClass = value;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 HeadIcon = 4;</code>
|
|
* @return whether the headIcon field is set
|
|
*/
|
|
public boolean hasHeadIcon() {
|
|
return (bitField0_ & 0x00000004) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 HeadIcon = 4;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData clearHeadIcon() {
|
|
bitField0_ &= ~0x00000004;
|
|
headIcon = 0;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 HeadIcon = 4;</code>
|
|
* @return the headIcon
|
|
*/
|
|
public int getHeadIcon() {
|
|
return headIcon;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 HeadIcon = 4;</code>
|
|
* @param value the headIcon to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData setHeadIcon(final int value) {
|
|
bitField0_ |= 0x00000004;
|
|
headIcon = value;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Score = 5;</code>
|
|
* @return whether the score field is set
|
|
*/
|
|
public boolean hasScore() {
|
|
return (bitField0_ & 0x00000008) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Score = 5;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData clearScore() {
|
|
bitField0_ &= ~0x00000008;
|
|
score = 0;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Score = 5;</code>
|
|
* @return the score
|
|
*/
|
|
public int getScore() {
|
|
return score;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Score = 5;</code>
|
|
* @param value the score to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData setScore(final int value) {
|
|
bitField0_ |= 0x00000008;
|
|
score = value;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Rank = 6;</code>
|
|
* @return whether the rank field is set
|
|
*/
|
|
public boolean hasRank() {
|
|
return (bitField0_ & 0x00000010) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Rank = 6;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData clearRank() {
|
|
bitField0_ &= ~0x00000010;
|
|
rank = 0;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Rank = 6;</code>
|
|
* @return the rank
|
|
*/
|
|
public int getRank() {
|
|
return rank;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 Rank = 6;</code>
|
|
* @param value the rank to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData setRank(final int value) {
|
|
bitField0_ |= 0x00000010;
|
|
rank = value;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 TitlePrefix = 7;</code>
|
|
* @return whether the titlePrefix field is set
|
|
*/
|
|
public boolean hasTitlePrefix() {
|
|
return (bitField0_ & 0x00000020) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 TitlePrefix = 7;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData clearTitlePrefix() {
|
|
bitField0_ &= ~0x00000020;
|
|
titlePrefix = 0;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 TitlePrefix = 7;</code>
|
|
* @return the titlePrefix
|
|
*/
|
|
public int getTitlePrefix() {
|
|
return titlePrefix;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 TitlePrefix = 7;</code>
|
|
* @param value the titlePrefix to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData setTitlePrefix(final int value) {
|
|
bitField0_ |= 0x00000020;
|
|
titlePrefix = value;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 TitleSuffix = 8;</code>
|
|
* @return whether the titleSuffix field is set
|
|
*/
|
|
public boolean hasTitleSuffix() {
|
|
return (bitField0_ & 0x00000040) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 TitleSuffix = 8;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData clearTitleSuffix() {
|
|
bitField0_ &= ~0x00000040;
|
|
titleSuffix = 0;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 TitleSuffix = 8;</code>
|
|
* @return the titleSuffix
|
|
*/
|
|
public int getTitleSuffix() {
|
|
return titleSuffix;
|
|
}
|
|
|
|
/**
|
|
* <code>optional uint32 TitleSuffix = 8;</code>
|
|
* @param value the titleSuffix to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData setTitleSuffix(final int value) {
|
|
bitField0_ |= 0x00000040;
|
|
titleSuffix = value;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @return whether the nextPackage field is set
|
|
*/
|
|
public boolean hasNextPackage() {
|
|
return (bitField0_ & 0x00000080) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData clearNextPackage() {
|
|
bitField0_ &= ~0x00000080;
|
|
nextPackage.clear();
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
*
|
|
* This method returns the internal storage object without modifying any has state.
|
|
* The returned object should not be modified and be treated as read-only.
|
|
*
|
|
* Use {@link #getMutableNextPackage()} if you want to modify it.
|
|
*
|
|
* @return internal storage object for reading
|
|
*/
|
|
public RepeatedByte getNextPackage() {
|
|
return nextPackage;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
*
|
|
* This method returns the internal storage object and sets the corresponding
|
|
* has state. The returned object will become part of this message and its
|
|
* contents may be modified as long as the has state is not cleared.
|
|
*
|
|
* @return internal storage object for modifications
|
|
*/
|
|
public RepeatedByte getMutableNextPackage() {
|
|
bitField0_ |= 0x00000080;
|
|
return nextPackage;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @param value the nextPackage to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData addNextPackage(final byte value) {
|
|
bitField0_ |= 0x00000080;
|
|
nextPackage.add(value);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @param values the nextPackage to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData addAllNextPackage(final byte... values) {
|
|
bitField0_ |= 0x00000080;
|
|
nextPackage.addAll(values);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional bytes NextPackage = 2047;</code>
|
|
* @param values the nextPackage to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData setNextPackage(final byte... values) {
|
|
bitField0_ |= 0x00000080;
|
|
nextPackage.copyFrom(values);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional string NickName = 2;</code>
|
|
* @return whether the nickName field is set
|
|
*/
|
|
public boolean hasNickName() {
|
|
return (bitField0_ & 0x00000100) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>optional string NickName = 2;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData clearNickName() {
|
|
bitField0_ &= ~0x00000100;
|
|
nickName.clear();
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional string NickName = 2;</code>
|
|
* @return the nickName
|
|
*/
|
|
public String getNickName() {
|
|
return nickName.getString();
|
|
}
|
|
|
|
/**
|
|
* <code>optional string NickName = 2;</code>
|
|
* @return internal {@code Utf8String} representation of nickName for reading
|
|
*/
|
|
public Utf8String getNickNameBytes() {
|
|
return this.nickName;
|
|
}
|
|
|
|
/**
|
|
* <code>optional string NickName = 2;</code>
|
|
* @return internal {@code Utf8String} representation of nickName for modifications
|
|
*/
|
|
public Utf8String getMutableNickNameBytes() {
|
|
bitField0_ |= 0x00000100;
|
|
return this.nickName;
|
|
}
|
|
|
|
/**
|
|
* <code>optional string NickName = 2;</code>
|
|
* @param value the nickName to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData setNickName(final CharSequence value) {
|
|
bitField0_ |= 0x00000100;
|
|
nickName.copyFrom(value);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>optional string NickName = 2;</code>
|
|
* @param value the nickName to set
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData setNickName(final Utf8String value) {
|
|
bitField0_ |= 0x00000100;
|
|
nickName.copyFrom(value);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .HonorInfo Honors = 9;</code>
|
|
* @return whether the honors field is set
|
|
*/
|
|
public boolean hasHonors() {
|
|
return (bitField0_ & 0x00000200) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .HonorInfo Honors = 9;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData clearHonors() {
|
|
bitField0_ &= ~0x00000200;
|
|
honors.clear();
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .HonorInfo Honors = 9;</code>
|
|
*
|
|
* This method returns the internal storage object without modifying any has state.
|
|
* The returned object should not be modified and be treated as read-only.
|
|
*
|
|
* Use {@link #getMutableHonors()} if you want to modify it.
|
|
*
|
|
* @return internal storage object for reading
|
|
*/
|
|
public RepeatedMessage<Public.HonorInfo> getHonors() {
|
|
return honors;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .HonorInfo Honors = 9;</code>
|
|
*
|
|
* This method returns the internal storage object and sets the corresponding
|
|
* has state. The returned object will become part of this message and its
|
|
* contents may be modified as long as the has state is not cleared.
|
|
*
|
|
* @return internal storage object for modifications
|
|
*/
|
|
public RepeatedMessage<Public.HonorInfo> getMutableHonors() {
|
|
bitField0_ |= 0x00000200;
|
|
return honors;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .HonorInfo Honors = 9;</code>
|
|
* @param value the honors to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData addHonors(final Public.HonorInfo value) {
|
|
bitField0_ |= 0x00000200;
|
|
honors.add(value);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .HonorInfo Honors = 9;</code>
|
|
* @param values the honors to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData addAllHonors(final Public.HonorInfo... values) {
|
|
bitField0_ |= 0x00000200;
|
|
honors.addAll(values);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankTeam Teams = 10;</code>
|
|
* @return whether the teams field is set
|
|
*/
|
|
public boolean hasTeams() {
|
|
return (bitField0_ & 0x00000400) != 0;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankTeam Teams = 10;</code>
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData clearTeams() {
|
|
bitField0_ &= ~0x00000400;
|
|
teams.clear();
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankTeam Teams = 10;</code>
|
|
*
|
|
* This method returns the internal storage object without modifying any has state.
|
|
* The returned object should not be modified and be treated as read-only.
|
|
*
|
|
* Use {@link #getMutableTeams()} if you want to modify it.
|
|
*
|
|
* @return internal storage object for reading
|
|
*/
|
|
public RepeatedMessage<JointDrillRankTeam> getTeams() {
|
|
return teams;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankTeam Teams = 10;</code>
|
|
*
|
|
* This method returns the internal storage object and sets the corresponding
|
|
* has state. The returned object will become part of this message and its
|
|
* contents may be modified as long as the has state is not cleared.
|
|
*
|
|
* @return internal storage object for modifications
|
|
*/
|
|
public RepeatedMessage<JointDrillRankTeam> getMutableTeams() {
|
|
bitField0_ |= 0x00000400;
|
|
return teams;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankTeam Teams = 10;</code>
|
|
* @param value the teams to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData addTeams(final JointDrillRankTeam value) {
|
|
bitField0_ |= 0x00000400;
|
|
teams.add(value);
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>repeated .JointDrillRankTeam Teams = 10;</code>
|
|
* @param values the teams to add
|
|
* @return this
|
|
*/
|
|
public JointDrillRankData addAllTeams(final JointDrillRankTeam... values) {
|
|
bitField0_ |= 0x00000400;
|
|
teams.addAll(values);
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankData copyFrom(final JointDrillRankData other) {
|
|
cachedSize = other.cachedSize;
|
|
if ((bitField0_ | other.bitField0_) != 0) {
|
|
bitField0_ = other.bitField0_;
|
|
id = other.id;
|
|
worldClass = other.worldClass;
|
|
headIcon = other.headIcon;
|
|
score = other.score;
|
|
rank = other.rank;
|
|
titlePrefix = other.titlePrefix;
|
|
titleSuffix = other.titleSuffix;
|
|
nextPackage.copyFrom(other.nextPackage);
|
|
nickName.copyFrom(other.nickName);
|
|
honors.copyFrom(other.honors);
|
|
teams.copyFrom(other.teams);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankData mergeFrom(final JointDrillRankData other) {
|
|
if (other.isEmpty()) {
|
|
return this;
|
|
}
|
|
cachedSize = -1;
|
|
if (other.hasId()) {
|
|
setId(other.id);
|
|
}
|
|
if (other.hasWorldClass()) {
|
|
setWorldClass(other.worldClass);
|
|
}
|
|
if (other.hasHeadIcon()) {
|
|
setHeadIcon(other.headIcon);
|
|
}
|
|
if (other.hasScore()) {
|
|
setScore(other.score);
|
|
}
|
|
if (other.hasRank()) {
|
|
setRank(other.rank);
|
|
}
|
|
if (other.hasTitlePrefix()) {
|
|
setTitlePrefix(other.titlePrefix);
|
|
}
|
|
if (other.hasTitleSuffix()) {
|
|
setTitleSuffix(other.titleSuffix);
|
|
}
|
|
if (other.hasNextPackage()) {
|
|
getMutableNextPackage().copyFrom(other.nextPackage);
|
|
}
|
|
if (other.hasNickName()) {
|
|
getMutableNickNameBytes().copyFrom(other.nickName);
|
|
}
|
|
if (other.hasHonors()) {
|
|
getMutableHonors().addAll(other.honors);
|
|
}
|
|
if (other.hasTeams()) {
|
|
getMutableTeams().addAll(other.teams);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankData clear() {
|
|
if (isEmpty()) {
|
|
return this;
|
|
}
|
|
cachedSize = -1;
|
|
bitField0_ = 0;
|
|
id = 0L;
|
|
worldClass = 0;
|
|
headIcon = 0;
|
|
score = 0;
|
|
rank = 0;
|
|
titlePrefix = 0;
|
|
titleSuffix = 0;
|
|
nextPackage.clear();
|
|
nickName.clear();
|
|
honors.clear();
|
|
teams.clear();
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankData clearQuick() {
|
|
if (isEmpty()) {
|
|
return this;
|
|
}
|
|
cachedSize = -1;
|
|
bitField0_ = 0;
|
|
nextPackage.clear();
|
|
nickName.clear();
|
|
honors.clearQuick();
|
|
teams.clearQuick();
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public boolean equals(Object o) {
|
|
if (o == this) {
|
|
return true;
|
|
}
|
|
if (!(o instanceof JointDrillRankData)) {
|
|
return false;
|
|
}
|
|
JointDrillRankData other = (JointDrillRankData) o;
|
|
return bitField0_ == other.bitField0_
|
|
&& (!hasId() || id == other.id)
|
|
&& (!hasWorldClass() || worldClass == other.worldClass)
|
|
&& (!hasHeadIcon() || headIcon == other.headIcon)
|
|
&& (!hasScore() || score == other.score)
|
|
&& (!hasRank() || rank == other.rank)
|
|
&& (!hasTitlePrefix() || titlePrefix == other.titlePrefix)
|
|
&& (!hasTitleSuffix() || titleSuffix == other.titleSuffix)
|
|
&& (!hasNextPackage() || nextPackage.equals(other.nextPackage))
|
|
&& (!hasNickName() || nickName.equals(other.nickName))
|
|
&& (!hasHonors() || honors.equals(other.honors))
|
|
&& (!hasTeams() || teams.equals(other.teams));
|
|
}
|
|
|
|
@Override
|
|
public void writeTo(final ProtoSink output) throws IOException {
|
|
if ((bitField0_ & 0x00000001) != 0) {
|
|
output.writeRawByte((byte) 8);
|
|
output.writeUInt64NoTag(id);
|
|
}
|
|
if ((bitField0_ & 0x00000002) != 0) {
|
|
output.writeRawByte((byte) 24);
|
|
output.writeUInt32NoTag(worldClass);
|
|
}
|
|
if ((bitField0_ & 0x00000004) != 0) {
|
|
output.writeRawByte((byte) 32);
|
|
output.writeUInt32NoTag(headIcon);
|
|
}
|
|
if ((bitField0_ & 0x00000008) != 0) {
|
|
output.writeRawByte((byte) 40);
|
|
output.writeUInt32NoTag(score);
|
|
}
|
|
if ((bitField0_ & 0x00000010) != 0) {
|
|
output.writeRawByte((byte) 48);
|
|
output.writeUInt32NoTag(rank);
|
|
}
|
|
if ((bitField0_ & 0x00000020) != 0) {
|
|
output.writeRawByte((byte) 56);
|
|
output.writeUInt32NoTag(titlePrefix);
|
|
}
|
|
if ((bitField0_ & 0x00000040) != 0) {
|
|
output.writeRawByte((byte) 64);
|
|
output.writeUInt32NoTag(titleSuffix);
|
|
}
|
|
if ((bitField0_ & 0x00000080) != 0) {
|
|
output.writeRawLittleEndian16((short) 32762);
|
|
output.writeBytesNoTag(nextPackage);
|
|
}
|
|
if ((bitField0_ & 0x00000100) != 0) {
|
|
output.writeRawByte((byte) 18);
|
|
output.writeStringNoTag(nickName);
|
|
}
|
|
if ((bitField0_ & 0x00000200) != 0) {
|
|
for (int i = 0; i < honors.length(); i++) {
|
|
output.writeRawByte((byte) 74);
|
|
output.writeMessageNoTag(honors.get(i));
|
|
}
|
|
}
|
|
if ((bitField0_ & 0x00000400) != 0) {
|
|
for (int i = 0; i < teams.length(); i++) {
|
|
output.writeRawByte((byte) 82);
|
|
output.writeMessageNoTag(teams.get(i));
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override
|
|
protected int computeSerializedSize() {
|
|
int size = 0;
|
|
if ((bitField0_ & 0x00000001) != 0) {
|
|
size += 1 + ProtoSink.computeUInt64SizeNoTag(id);
|
|
}
|
|
if ((bitField0_ & 0x00000002) != 0) {
|
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(worldClass);
|
|
}
|
|
if ((bitField0_ & 0x00000004) != 0) {
|
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(headIcon);
|
|
}
|
|
if ((bitField0_ & 0x00000008) != 0) {
|
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(score);
|
|
}
|
|
if ((bitField0_ & 0x00000010) != 0) {
|
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(rank);
|
|
}
|
|
if ((bitField0_ & 0x00000020) != 0) {
|
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(titlePrefix);
|
|
}
|
|
if ((bitField0_ & 0x00000040) != 0) {
|
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(titleSuffix);
|
|
}
|
|
if ((bitField0_ & 0x00000080) != 0) {
|
|
size += 2 + ProtoSink.computeBytesSizeNoTag(nextPackage);
|
|
}
|
|
if ((bitField0_ & 0x00000100) != 0) {
|
|
size += 1 + ProtoSink.computeStringSizeNoTag(nickName);
|
|
}
|
|
if ((bitField0_ & 0x00000200) != 0) {
|
|
size += (1 * honors.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(honors);
|
|
}
|
|
if ((bitField0_ & 0x00000400) != 0) {
|
|
size += (1 * teams.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(teams);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
@Override
|
|
@SuppressWarnings("fallthrough")
|
|
public JointDrillRankData mergeFrom(final ProtoSource input) throws IOException {
|
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
|
int tag = input.readTag();
|
|
while (true) {
|
|
switch (tag) {
|
|
case 8: {
|
|
// id
|
|
id = input.readUInt64();
|
|
bitField0_ |= 0x00000001;
|
|
tag = input.readTag();
|
|
if (tag != 24) {
|
|
break;
|
|
}
|
|
}
|
|
case 24: {
|
|
// worldClass
|
|
worldClass = input.readUInt32();
|
|
bitField0_ |= 0x00000002;
|
|
tag = input.readTag();
|
|
if (tag != 32) {
|
|
break;
|
|
}
|
|
}
|
|
case 32: {
|
|
// headIcon
|
|
headIcon = input.readUInt32();
|
|
bitField0_ |= 0x00000004;
|
|
tag = input.readTag();
|
|
if (tag != 40) {
|
|
break;
|
|
}
|
|
}
|
|
case 40: {
|
|
// score
|
|
score = input.readUInt32();
|
|
bitField0_ |= 0x00000008;
|
|
tag = input.readTag();
|
|
if (tag != 48) {
|
|
break;
|
|
}
|
|
}
|
|
case 48: {
|
|
// rank
|
|
rank = input.readUInt32();
|
|
bitField0_ |= 0x00000010;
|
|
tag = input.readTag();
|
|
if (tag != 56) {
|
|
break;
|
|
}
|
|
}
|
|
case 56: {
|
|
// titlePrefix
|
|
titlePrefix = input.readUInt32();
|
|
bitField0_ |= 0x00000020;
|
|
tag = input.readTag();
|
|
if (tag != 64) {
|
|
break;
|
|
}
|
|
}
|
|
case 64: {
|
|
// titleSuffix
|
|
titleSuffix = input.readUInt32();
|
|
bitField0_ |= 0x00000040;
|
|
tag = input.readTag();
|
|
if (tag != 16378) {
|
|
break;
|
|
}
|
|
}
|
|
case 16378: {
|
|
// nextPackage
|
|
input.readBytes(nextPackage);
|
|
bitField0_ |= 0x00000080;
|
|
tag = input.readTag();
|
|
if (tag != 18) {
|
|
break;
|
|
}
|
|
}
|
|
case 18: {
|
|
// nickName
|
|
input.readString(nickName);
|
|
bitField0_ |= 0x00000100;
|
|
tag = input.readTag();
|
|
if (tag != 74) {
|
|
break;
|
|
}
|
|
}
|
|
case 74: {
|
|
// honors
|
|
tag = input.readRepeatedMessage(honors, tag);
|
|
bitField0_ |= 0x00000200;
|
|
if (tag != 82) {
|
|
break;
|
|
}
|
|
}
|
|
case 82: {
|
|
// teams
|
|
tag = input.readRepeatedMessage(teams, tag);
|
|
bitField0_ |= 0x00000400;
|
|
if (tag != 0) {
|
|
break;
|
|
}
|
|
}
|
|
case 0: {
|
|
return this;
|
|
}
|
|
default: {
|
|
if (!input.skipField(tag)) {
|
|
return this;
|
|
}
|
|
tag = input.readTag();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override
|
|
public void writeTo(final JsonSink output) throws IOException {
|
|
output.beginObject();
|
|
if ((bitField0_ & 0x00000001) != 0) {
|
|
output.writeUInt64(FieldNames.id, id);
|
|
}
|
|
if ((bitField0_ & 0x00000002) != 0) {
|
|
output.writeUInt32(FieldNames.worldClass, worldClass);
|
|
}
|
|
if ((bitField0_ & 0x00000004) != 0) {
|
|
output.writeUInt32(FieldNames.headIcon, headIcon);
|
|
}
|
|
if ((bitField0_ & 0x00000008) != 0) {
|
|
output.writeUInt32(FieldNames.score, score);
|
|
}
|
|
if ((bitField0_ & 0x00000010) != 0) {
|
|
output.writeUInt32(FieldNames.rank, rank);
|
|
}
|
|
if ((bitField0_ & 0x00000020) != 0) {
|
|
output.writeUInt32(FieldNames.titlePrefix, titlePrefix);
|
|
}
|
|
if ((bitField0_ & 0x00000040) != 0) {
|
|
output.writeUInt32(FieldNames.titleSuffix, titleSuffix);
|
|
}
|
|
if ((bitField0_ & 0x00000080) != 0) {
|
|
output.writeBytes(FieldNames.nextPackage, nextPackage);
|
|
}
|
|
if ((bitField0_ & 0x00000100) != 0) {
|
|
output.writeString(FieldNames.nickName, nickName);
|
|
}
|
|
if ((bitField0_ & 0x00000200) != 0) {
|
|
output.writeRepeatedMessage(FieldNames.honors, honors);
|
|
}
|
|
if ((bitField0_ & 0x00000400) != 0) {
|
|
output.writeRepeatedMessage(FieldNames.teams, teams);
|
|
}
|
|
output.endObject();
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankData mergeFrom(final JsonSource input) throws IOException {
|
|
if (!input.beginObject()) {
|
|
return this;
|
|
}
|
|
while (!input.isAtEnd()) {
|
|
switch (input.readFieldHash()) {
|
|
case 2363: {
|
|
if (input.isAtField(FieldNames.id)) {
|
|
if (!input.trySkipNullValue()) {
|
|
id = input.readUInt64();
|
|
bitField0_ |= 0x00000001;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case -1869617882: {
|
|
if (input.isAtField(FieldNames.worldClass)) {
|
|
if (!input.trySkipNullValue()) {
|
|
worldClass = input.readUInt32();
|
|
bitField0_ |= 0x00000002;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case -1051463015: {
|
|
if (input.isAtField(FieldNames.headIcon)) {
|
|
if (!input.trySkipNullValue()) {
|
|
headIcon = input.readUInt32();
|
|
bitField0_ |= 0x00000004;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case 79711858: {
|
|
if (input.isAtField(FieldNames.score)) {
|
|
if (!input.trySkipNullValue()) {
|
|
score = input.readUInt32();
|
|
bitField0_ |= 0x00000008;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case 2539596: {
|
|
if (input.isAtField(FieldNames.rank)) {
|
|
if (!input.trySkipNullValue()) {
|
|
rank = input.readUInt32();
|
|
bitField0_ |= 0x00000010;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case 2096776938: {
|
|
if (input.isAtField(FieldNames.titlePrefix)) {
|
|
if (!input.trySkipNullValue()) {
|
|
titlePrefix = input.readUInt32();
|
|
bitField0_ |= 0x00000020;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case -2109502551: {
|
|
if (input.isAtField(FieldNames.titleSuffix)) {
|
|
if (!input.trySkipNullValue()) {
|
|
titleSuffix = input.readUInt32();
|
|
bitField0_ |= 0x00000040;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case -2082324045: {
|
|
if (input.isAtField(FieldNames.nextPackage)) {
|
|
if (!input.trySkipNullValue()) {
|
|
input.readBytes(nextPackage);
|
|
bitField0_ |= 0x00000080;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case 134381742: {
|
|
if (input.isAtField(FieldNames.nickName)) {
|
|
if (!input.trySkipNullValue()) {
|
|
input.readString(nickName);
|
|
bitField0_ |= 0x00000100;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case -2127770263: {
|
|
if (input.isAtField(FieldNames.honors)) {
|
|
if (!input.trySkipNullValue()) {
|
|
input.readRepeatedMessage(honors);
|
|
bitField0_ |= 0x00000200;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
case 80681366: {
|
|
if (input.isAtField(FieldNames.teams)) {
|
|
if (!input.trySkipNullValue()) {
|
|
input.readRepeatedMessage(teams);
|
|
bitField0_ |= 0x00000400;
|
|
}
|
|
} else {
|
|
input.skipUnknownField();
|
|
}
|
|
break;
|
|
}
|
|
default: {
|
|
input.skipUnknownField();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
input.endObject();
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public JointDrillRankData clone() {
|
|
return new JointDrillRankData().copyFrom(this);
|
|
}
|
|
|
|
@Override
|
|
public boolean isEmpty() {
|
|
return ((bitField0_) == 0);
|
|
}
|
|
|
|
public static JointDrillRankData parseFrom(final byte[] data) throws
|
|
InvalidProtocolBufferException {
|
|
return ProtoMessage.mergeFrom(new JointDrillRankData(), data).checkInitialized();
|
|
}
|
|
|
|
public static JointDrillRankData parseFrom(final ProtoSource input) throws IOException {
|
|
return ProtoMessage.mergeFrom(new JointDrillRankData(), input).checkInitialized();
|
|
}
|
|
|
|
public static JointDrillRankData parseFrom(final JsonSource input) throws IOException {
|
|
return ProtoMessage.mergeFrom(new JointDrillRankData(), input).checkInitialized();
|
|
}
|
|
|
|
/**
|
|
* @return factory for creating JointDrillRankData messages
|
|
*/
|
|
public static MessageFactory<JointDrillRankData> getFactory() {
|
|
return JointDrillRankDataFactory.INSTANCE;
|
|
}
|
|
|
|
private enum JointDrillRankDataFactory implements MessageFactory<JointDrillRankData> {
|
|
INSTANCE;
|
|
|
|
@Override
|
|
public JointDrillRankData create() {
|
|
return JointDrillRankData.newInstance();
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Contains name constants used for serializing JSON
|
|
*/
|
|
static class FieldNames {
|
|
static final FieldName id = FieldName.forField("Id");
|
|
|
|
static final FieldName worldClass = FieldName.forField("WorldClass");
|
|
|
|
static final FieldName headIcon = FieldName.forField("HeadIcon");
|
|
|
|
static final FieldName score = FieldName.forField("Score");
|
|
|
|
static final FieldName rank = FieldName.forField("Rank");
|
|
|
|
static final FieldName titlePrefix = FieldName.forField("TitlePrefix");
|
|
|
|
static final FieldName titleSuffix = FieldName.forField("TitleSuffix");
|
|
|
|
static final FieldName nextPackage = FieldName.forField("NextPackage");
|
|
|
|
static final FieldName nickName = FieldName.forField("NickName");
|
|
|
|
static final FieldName honors = FieldName.forField("Honors");
|
|
|
|
static final FieldName teams = FieldName.forField("Teams");
|
|
}
|
|
}
|
|
}
|