Update to support game version 2.5.0

This commit is contained in:
Melledy
2024-09-10 20:26:37 -07:00
parent 8263beb0e8
commit 16714d1001
486 changed files with 33965 additions and 31270 deletions

View File

@@ -1,4 +1,4 @@
![LunarCore](https://socialify.git.ci/Melledy/LunarCore/image?description=1&descriptionEditable=A%20game%20server%20reimplementation%20for%20version%202.4.0%20of%20a%20certain%20turn-based%20anime%20game%20for%20educational%20purposes.%20&font=Inter&forks=1&issues=1&language=1&name=1&owner=1&pulls=1&stargazers=1&theme=Light)
![LunarCore](https://socialify.git.ci/Melledy/LunarCore/image?description=1&descriptionEditable=A%20game%20server%20reimplementation%20for%20version%202.5.0%20of%20a%20certain%20turn-based%20anime%20game%20for%20educational%20purposes.%20&font=Inter&forks=1&issues=1&language=1&name=1&owner=1&pulls=1&stargazers=1&theme=Light)
<div align="center"><img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/Melledy/LunarCore?logo=java&style=for-the-badge"> <img alt="GitHub" src="https://img.shields.io/github/license/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/Melledy/LunarCore?style=for-the-badge"> <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/Melledy/LunarCore/build.yml?branch=development&logo=github&style=for-the-badge"></div>
<div align="center"><a href="https://discord.gg/cfPKJ6N5hw"><img alt="Discord - LunarCore" src="https://img.shields.io/discord/1163718404067303444?label=Discord&logo=discord&style=for-the-badge"></a></div>

View File

@@ -19,12 +19,12 @@ public final class ActivateFarmElementCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 world_level = 13;</code>
* <code>optional uint32 world_level = 9;</code>
*/
private int worldLevel;
/**
* <code>optional uint32 entity_id = 15;</code>
* <code>optional uint32 entity_id = 13;</code>
*/
private int entityId;
@@ -39,7 +39,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
* <code>optional uint32 world_level = 13;</code>
* <code>optional uint32 world_level = 9;</code>
* @return whether the worldLevel field is set
*/
public boolean hasWorldLevel() {
@@ -47,7 +47,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
* <code>optional uint32 world_level = 13;</code>
* <code>optional uint32 world_level = 9;</code>
* @return this
*/
public ActivateFarmElementCsReq clearWorldLevel() {
@@ -57,7 +57,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
* <code>optional uint32 world_level = 13;</code>
* <code>optional uint32 world_level = 9;</code>
* @return the worldLevel
*/
public int getWorldLevel() {
@@ -65,7 +65,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
* <code>optional uint32 world_level = 13;</code>
* <code>optional uint32 world_level = 9;</code>
* @param value the worldLevel to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
* <code>optional uint32 entity_id = 15;</code>
* <code>optional uint32 entity_id = 13;</code>
* @return whether the entityId field is set
*/
public boolean hasEntityId() {
@@ -84,7 +84,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
* <code>optional uint32 entity_id = 15;</code>
* <code>optional uint32 entity_id = 13;</code>
* @return this
*/
public ActivateFarmElementCsReq clearEntityId() {
@@ -94,7 +94,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
* <code>optional uint32 entity_id = 15;</code>
* <code>optional uint32 entity_id = 13;</code>
* @return the entityId
*/
public int getEntityId() {
@@ -102,7 +102,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
* <code>optional uint32 entity_id = 15;</code>
* <code>optional uint32 entity_id = 13;</code>
* @param value the entityId to set
* @return this
*/
@@ -177,11 +177,11 @@ public final class ActivateFarmElementCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 104);
output.writeRawByte((byte) 72);
output.writeUInt32NoTag(worldLevel);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 120);
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(entityId);
}
}
@@ -205,16 +205,16 @@ public final class ActivateFarmElementCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 104: {
case 72: {
// worldLevel
worldLevel = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 120) {
if (tag != 104) {
break;
}
}
case 120: {
case 104: {
// entityId
entityId = input.readUInt32();
bitField0_ |= 0x00000002;

View File

@@ -19,7 +19,7 @@ public final class ActivateFarmElementScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 entity_id = 7;</code>
* <code>optional uint32 entity_id = 2;</code>
*/
private int entityId;
@@ -29,7 +29,7 @@ public final class ActivateFarmElementScRspOuterClass {
private int worldLevel;
/**
* <code>optional uint32 retcode = 12;</code>
* <code>optional uint32 retcode = 11;</code>
*/
private int retcode;
@@ -44,7 +44,7 @@ public final class ActivateFarmElementScRspOuterClass {
}
/**
* <code>optional uint32 entity_id = 7;</code>
* <code>optional uint32 entity_id = 2;</code>
* @return whether the entityId field is set
*/
public boolean hasEntityId() {
@@ -52,7 +52,7 @@ public final class ActivateFarmElementScRspOuterClass {
}
/**
* <code>optional uint32 entity_id = 7;</code>
* <code>optional uint32 entity_id = 2;</code>
* @return this
*/
public ActivateFarmElementScRsp clearEntityId() {
@@ -62,7 +62,7 @@ public final class ActivateFarmElementScRspOuterClass {
}
/**
* <code>optional uint32 entity_id = 7;</code>
* <code>optional uint32 entity_id = 2;</code>
* @return the entityId
*/
public int getEntityId() {
@@ -70,7 +70,7 @@ public final class ActivateFarmElementScRspOuterClass {
}
/**
* <code>optional uint32 entity_id = 7;</code>
* <code>optional uint32 entity_id = 2;</code>
* @param value the entityId to set
* @return this
*/
@@ -118,7 +118,7 @@ public final class ActivateFarmElementScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 12;</code>
* <code>optional uint32 retcode = 11;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -126,7 +126,7 @@ public final class ActivateFarmElementScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 12;</code>
* <code>optional uint32 retcode = 11;</code>
* @return this
*/
public ActivateFarmElementScRsp clearRetcode() {
@@ -136,7 +136,7 @@ public final class ActivateFarmElementScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 12;</code>
* <code>optional uint32 retcode = 11;</code>
* @return the retcode
*/
public int getRetcode() {
@@ -144,7 +144,7 @@ public final class ActivateFarmElementScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 12;</code>
* <code>optional uint32 retcode = 11;</code>
* @param value the retcode to set
* @return this
*/
@@ -225,7 +225,7 @@ public final class ActivateFarmElementScRspOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 56);
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(entityId);
}
if ((bitField0_ & 0x00000002) != 0) {
@@ -233,7 +233,7 @@ public final class ActivateFarmElementScRspOuterClass {
output.writeUInt32NoTag(worldLevel);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 96);
output.writeRawByte((byte) 88);
output.writeUInt32NoTag(retcode);
}
}
@@ -260,7 +260,7 @@ public final class ActivateFarmElementScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 56: {
case 16: {
// entityId
entityId = input.readUInt32();
bitField0_ |= 0x00000001;
@@ -274,11 +274,11 @@ public final class ActivateFarmElementScRspOuterClass {
worldLevel = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 96) {
if (tag != 88) {
break;
}
}
case 96: {
case 88: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000004;

View File

@@ -19,25 +19,25 @@ public final class ActivityScheduleInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional int64 end_time = 7;</code>
*/
private long endTime;
/**
* <code>optional int64 begin_time = 13;</code>
* <code>optional int64 begin_time = 5;</code>
*/
private long beginTime;
/**
* <code>optional uint32 module_id = 6;</code>
* <code>optional int64 end_time = 9;</code>
*/
private int moduleId;
private long endTime;
/**
* <code>optional uint32 activity_id = 9;</code>
* <code>optional uint32 activity_id = 11;</code>
*/
private int activityId;
/**
* <code>optional uint32 module_id = 12;</code>
*/
private int moduleId;
private ActivityScheduleInfo() {
}
@@ -49,62 +49,25 @@ public final class ActivityScheduleInfoOuterClass {
}
/**
* <code>optional int64 end_time = 7;</code>
* @return whether the endTime field is set
* <code>optional int64 begin_time = 5;</code>
* @return whether the beginTime field is set
*/
public boolean hasEndTime() {
public boolean hasBeginTime() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional int64 end_time = 7;</code>
* @return this
*/
public ActivityScheduleInfo clearEndTime() {
bitField0_ &= ~0x00000001;
endTime = 0L;
return this;
}
/**
* <code>optional int64 end_time = 7;</code>
* @return the endTime
*/
public long getEndTime() {
return endTime;
}
/**
* <code>optional int64 end_time = 7;</code>
* @param value the endTime to set
* @return this
*/
public ActivityScheduleInfo setEndTime(final long value) {
bitField0_ |= 0x00000001;
endTime = value;
return this;
}
/**
* <code>optional int64 begin_time = 13;</code>
* @return whether the beginTime field is set
*/
public boolean hasBeginTime() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional int64 begin_time = 13;</code>
* <code>optional int64 begin_time = 5;</code>
* @return this
*/
public ActivityScheduleInfo clearBeginTime() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
beginTime = 0L;
return this;
}
/**
* <code>optional int64 begin_time = 13;</code>
* <code>optional int64 begin_time = 5;</code>
* @return the beginTime
*/
public long getBeginTime() {
@@ -112,73 +75,73 @@ public final class ActivityScheduleInfoOuterClass {
}
/**
* <code>optional int64 begin_time = 13;</code>
* <code>optional int64 begin_time = 5;</code>
* @param value the beginTime to set
* @return this
*/
public ActivityScheduleInfo setBeginTime(final long value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
beginTime = value;
return this;
}
/**
* <code>optional uint32 module_id = 6;</code>
* @return whether the moduleId field is set
* <code>optional int64 end_time = 9;</code>
* @return whether the endTime field is set
*/
public boolean hasModuleId() {
public boolean hasEndTime() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional int64 end_time = 9;</code>
* @return this
*/
public ActivityScheduleInfo clearEndTime() {
bitField0_ &= ~0x00000002;
endTime = 0L;
return this;
}
/**
* <code>optional int64 end_time = 9;</code>
* @return the endTime
*/
public long getEndTime() {
return endTime;
}
/**
* <code>optional int64 end_time = 9;</code>
* @param value the endTime to set
* @return this
*/
public ActivityScheduleInfo setEndTime(final long value) {
bitField0_ |= 0x00000002;
endTime = value;
return this;
}
/**
* <code>optional uint32 activity_id = 11;</code>
* @return whether the activityId field is set
*/
public boolean hasActivityId() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 module_id = 6;</code>
* @return this
*/
public ActivityScheduleInfo clearModuleId() {
bitField0_ &= ~0x00000004;
moduleId = 0;
return this;
}
/**
* <code>optional uint32 module_id = 6;</code>
* @return the moduleId
*/
public int getModuleId() {
return moduleId;
}
/**
* <code>optional uint32 module_id = 6;</code>
* @param value the moduleId to set
* @return this
*/
public ActivityScheduleInfo setModuleId(final int value) {
bitField0_ |= 0x00000004;
moduleId = value;
return this;
}
/**
* <code>optional uint32 activity_id = 9;</code>
* @return whether the activityId field is set
*/
public boolean hasActivityId() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 activity_id = 9;</code>
* <code>optional uint32 activity_id = 11;</code>
* @return this
*/
public ActivityScheduleInfo clearActivityId() {
bitField0_ &= ~0x00000008;
bitField0_ &= ~0x00000004;
activityId = 0;
return this;
}
/**
* <code>optional uint32 activity_id = 9;</code>
* <code>optional uint32 activity_id = 11;</code>
* @return the activityId
*/
public int getActivityId() {
@@ -186,25 +149,62 @@ public final class ActivityScheduleInfoOuterClass {
}
/**
* <code>optional uint32 activity_id = 9;</code>
* <code>optional uint32 activity_id = 11;</code>
* @param value the activityId to set
* @return this
*/
public ActivityScheduleInfo setActivityId(final int value) {
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000004;
activityId = value;
return this;
}
/**
* <code>optional uint32 module_id = 12;</code>
* @return whether the moduleId field is set
*/
public boolean hasModuleId() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 module_id = 12;</code>
* @return this
*/
public ActivityScheduleInfo clearModuleId() {
bitField0_ &= ~0x00000008;
moduleId = 0;
return this;
}
/**
* <code>optional uint32 module_id = 12;</code>
* @return the moduleId
*/
public int getModuleId() {
return moduleId;
}
/**
* <code>optional uint32 module_id = 12;</code>
* @param value the moduleId to set
* @return this
*/
public ActivityScheduleInfo setModuleId(final int value) {
bitField0_ |= 0x00000008;
moduleId = value;
return this;
}
@Override
public ActivityScheduleInfo copyFrom(final ActivityScheduleInfo other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
endTime = other.endTime;
beginTime = other.beginTime;
moduleId = other.moduleId;
endTime = other.endTime;
activityId = other.activityId;
moduleId = other.moduleId;
}
return this;
}
@@ -215,18 +215,18 @@ public final class ActivityScheduleInfoOuterClass {
return this;
}
cachedSize = -1;
if (other.hasEndTime()) {
setEndTime(other.endTime);
}
if (other.hasBeginTime()) {
setBeginTime(other.beginTime);
}
if (other.hasModuleId()) {
setModuleId(other.moduleId);
if (other.hasEndTime()) {
setEndTime(other.endTime);
}
if (other.hasActivityId()) {
setActivityId(other.activityId);
}
if (other.hasModuleId()) {
setModuleId(other.moduleId);
}
return this;
}
@@ -237,10 +237,10 @@ public final class ActivityScheduleInfoOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
endTime = 0L;
beginTime = 0L;
moduleId = 0;
endTime = 0L;
activityId = 0;
moduleId = 0;
return this;
}
@@ -264,29 +264,29 @@ public final class ActivityScheduleInfoOuterClass {
}
ActivityScheduleInfo other = (ActivityScheduleInfo) o;
return bitField0_ == other.bitField0_
&& (!hasEndTime() || endTime == other.endTime)
&& (!hasBeginTime() || beginTime == other.beginTime)
&& (!hasModuleId() || moduleId == other.moduleId)
&& (!hasActivityId() || activityId == other.activityId);
&& (!hasEndTime() || endTime == other.endTime)
&& (!hasActivityId() || activityId == other.activityId)
&& (!hasModuleId() || moduleId == other.moduleId);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 56);
output.writeInt64NoTag(endTime);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 104);
output.writeRawByte((byte) 40);
output.writeInt64NoTag(beginTime);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 72);
output.writeInt64NoTag(endTime);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 48);
output.writeUInt32NoTag(moduleId);
output.writeRawByte((byte) 88);
output.writeUInt32NoTag(activityId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 72);
output.writeUInt32NoTag(activityId);
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(moduleId);
}
}
@@ -294,16 +294,16 @@ public final class ActivityScheduleInfoOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeInt64SizeNoTag(endTime);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeInt64SizeNoTag(beginTime);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeInt64SizeNoTag(endTime);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(moduleId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(activityId);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(activityId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(moduleId);
}
return size;
}
@@ -315,36 +315,36 @@ public final class ActivityScheduleInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 56: {
// endTime
endTime = input.readInt64();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 104) {
break;
}
}
case 104: {
case 40: {
// beginTime
beginTime = input.readInt64();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 48) {
break;
}
}
case 48: {
// moduleId
moduleId = input.readUInt32();
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 72) {
break;
}
}
case 72: {
// endTime
endTime = input.readInt64();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 88) {
break;
}
}
case 88: {
// activityId
activityId = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 96) {
break;
}
}
case 96: {
// moduleId
moduleId = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 0) {
@@ -369,16 +369,16 @@ public final class ActivityScheduleInfoOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeInt64(FieldNames.endTime, endTime);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeInt64(FieldNames.beginTime, beginTime);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeInt64(FieldNames.endTime, endTime);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.moduleId, moduleId);
output.writeUInt32(FieldNames.activityId, activityId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.activityId, activityId);
output.writeUInt32(FieldNames.moduleId, moduleId);
}
output.endObject();
}
@@ -390,11 +390,11 @@ public final class ActivityScheduleInfoOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -1607243192:
case 1725551537: {
if (input.isAtField(FieldNames.endTime)) {
case -1072839914:
case 1112183971: {
if (input.isAtField(FieldNames.beginTime)) {
if (!input.trySkipNullValue()) {
endTime = input.readInt64();
beginTime = input.readInt64();
bitField0_ |= 0x00000001;
}
} else {
@@ -402,11 +402,11 @@ public final class ActivityScheduleInfoOuterClass {
}
break;
}
case -1072839914:
case 1112183971: {
if (input.isAtField(FieldNames.beginTime)) {
case -1607243192:
case 1725551537: {
if (input.isAtField(FieldNames.endTime)) {
if (!input.trySkipNullValue()) {
beginTime = input.readInt64();
endTime = input.readInt64();
bitField0_ |= 0x00000002;
}
} else {
@@ -414,23 +414,23 @@ public final class ActivityScheduleInfoOuterClass {
}
break;
}
case -604257113:
case -1552079922: {
if (input.isAtField(FieldNames.moduleId)) {
if (!input.trySkipNullValue()) {
moduleId = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
input.skipUnknownField();
}
break;
}
case 2048619658:
case -917278645: {
if (input.isAtField(FieldNames.activityId)) {
if (!input.trySkipNullValue()) {
activityId = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
input.skipUnknownField();
}
break;
}
case -604257113:
case -1552079922: {
if (input.isAtField(FieldNames.moduleId)) {
if (!input.trySkipNullValue()) {
moduleId = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -491,13 +491,13 @@ public final class ActivityScheduleInfoOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName endTime = FieldName.forField("endTime", "end_time");
static final FieldName beginTime = FieldName.forField("beginTime", "begin_time");
static final FieldName moduleId = FieldName.forField("moduleId", "module_id");
static final FieldName endTime = FieldName.forField("endTime", "end_time");
static final FieldName activityId = FieldName.forField("activityId", "activity_id");
static final FieldName moduleId = FieldName.forField("moduleId", "module_id");
}
}
}

View File

@@ -19,12 +19,12 @@ public final class ApplyFriendCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 uid = 5;</code>
* <code>optional uint32 uid = 7;</code>
*/
private int uid;
/**
* <code>optional .FriendApplySource source = 12;</code>
* <code>optional .FriendApplySource source = 8;</code>
*/
private int source;
@@ -39,7 +39,7 @@ public final class ApplyFriendCsReqOuterClass {
}
/**
* <code>optional uint32 uid = 5;</code>
* <code>optional uint32 uid = 7;</code>
* @return whether the uid field is set
*/
public boolean hasUid() {
@@ -47,7 +47,7 @@ public final class ApplyFriendCsReqOuterClass {
}
/**
* <code>optional uint32 uid = 5;</code>
* <code>optional uint32 uid = 7;</code>
* @return this
*/
public ApplyFriendCsReq clearUid() {
@@ -57,7 +57,7 @@ public final class ApplyFriendCsReqOuterClass {
}
/**
* <code>optional uint32 uid = 5;</code>
* <code>optional uint32 uid = 7;</code>
* @return the uid
*/
public int getUid() {
@@ -65,7 +65,7 @@ public final class ApplyFriendCsReqOuterClass {
}
/**
* <code>optional uint32 uid = 5;</code>
* <code>optional uint32 uid = 7;</code>
* @param value the uid to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class ApplyFriendCsReqOuterClass {
}
/**
* <code>optional .FriendApplySource source = 12;</code>
* <code>optional .FriendApplySource source = 8;</code>
* @return whether the source field is set
*/
public boolean hasSource() {
@@ -84,7 +84,7 @@ public final class ApplyFriendCsReqOuterClass {
}
/**
* <code>optional .FriendApplySource source = 12;</code>
* <code>optional .FriendApplySource source = 8;</code>
* @return this
*/
public ApplyFriendCsReq clearSource() {
@@ -94,7 +94,7 @@ public final class ApplyFriendCsReqOuterClass {
}
/**
* <code>optional .FriendApplySource source = 12;</code>
* <code>optional .FriendApplySource source = 8;</code>
* @return the source
*/
public FriendApplySourceOuterClass.FriendApplySource getSource() {
@@ -127,7 +127,7 @@ public final class ApplyFriendCsReqOuterClass {
}
/**
* <code>optional .FriendApplySource source = 12;</code>
* <code>optional .FriendApplySource source = 8;</code>
* @param value the source to set
* @return this
*/
@@ -202,11 +202,11 @@ public final class ApplyFriendCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 40);
output.writeRawByte((byte) 56);
output.writeUInt32NoTag(uid);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 96);
output.writeRawByte((byte) 64);
output.writeEnumNoTag(source);
}
}
@@ -230,16 +230,16 @@ public final class ApplyFriendCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 40: {
case 56: {
// uid
uid = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 96) {
if (tag != 64) {
break;
}
}
case 96: {
case 64: {
// source
final int value = input.readInt32();
if (FriendApplySourceOuterClass.FriendApplySource.forNumber(value) != null) {

View File

@@ -26,20 +26,20 @@ public final class ArchiveDataOuterClass {
* repeated uint32 archive_missing_equipment_id_list = 14; // isnt used
* </pre>
*
* <code>repeated uint32 archive_equipment_id_list = 2;</code>
* <code>repeated uint32 archive_equipment_id_list = 12;</code>
*/
private final RepeatedInt archiveEquipmentIdList = RepeatedInt.newEmptyInstance();
/**
* <code>repeated .MonsterArchive archive_monster_id_list = 11;</code>
*/
private final RepeatedMessage<MonsterArchiveOuterClass.MonsterArchive> archiveMonsterIdList = RepeatedMessage.newEmptyInstance(MonsterArchiveOuterClass.MonsterArchive.getFactory());
/**
* <code>repeated .RelicArchive relic_list = 12;</code>
* <code>repeated .RelicArchive relic_list = 2;</code>
*/
private final RepeatedMessage<RelicArchiveOuterClass.RelicArchive> relicList = RepeatedMessage.newEmptyInstance(RelicArchiveOuterClass.RelicArchive.getFactory());
/**
* <code>repeated .MonsterArchive archive_monster_id_list = 5;</code>
*/
private final RepeatedMessage<MonsterArchiveOuterClass.MonsterArchive> archiveMonsterIdList = RepeatedMessage.newEmptyInstance(MonsterArchiveOuterClass.MonsterArchive.getFactory());
private ArchiveData() {
}
@@ -56,7 +56,7 @@ public final class ArchiveDataOuterClass {
* repeated uint32 archive_missing_equipment_id_list = 14; // isnt used
* </pre>
*
* <code>repeated uint32 archive_equipment_id_list = 2;</code>
* <code>repeated uint32 archive_equipment_id_list = 12;</code>
* @return whether the archiveEquipmentIdList field is set
*/
public boolean hasArchiveEquipmentIdList() {
@@ -69,7 +69,7 @@ public final class ArchiveDataOuterClass {
* repeated uint32 archive_missing_equipment_id_list = 14; // isnt used
* </pre>
*
* <code>repeated uint32 archive_equipment_id_list = 2;</code>
* <code>repeated uint32 archive_equipment_id_list = 12;</code>
* @return this
*/
public ArchiveData clearArchiveEquipmentIdList() {
@@ -84,7 +84,7 @@ public final class ArchiveDataOuterClass {
* repeated uint32 archive_missing_equipment_id_list = 14; // isnt used
* </pre>
*
* <code>repeated uint32 archive_equipment_id_list = 2;</code>
* <code>repeated uint32 archive_equipment_id_list = 12;</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.
@@ -103,7 +103,7 @@ public final class ArchiveDataOuterClass {
* repeated uint32 archive_missing_equipment_id_list = 14; // isnt used
* </pre>
*
* <code>repeated uint32 archive_equipment_id_list = 2;</code>
* <code>repeated uint32 archive_equipment_id_list = 12;</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
@@ -122,7 +122,7 @@ public final class ArchiveDataOuterClass {
* repeated uint32 archive_missing_equipment_id_list = 14; // isnt used
* </pre>
*
* <code>repeated uint32 archive_equipment_id_list = 2;</code>
* <code>repeated uint32 archive_equipment_id_list = 12;</code>
* @param value the archiveEquipmentIdList to add
* @return this
*/
@@ -138,7 +138,7 @@ public final class ArchiveDataOuterClass {
* repeated uint32 archive_missing_equipment_id_list = 14; // isnt used
* </pre>
*
* <code>repeated uint32 archive_equipment_id_list = 2;</code>
* <code>repeated uint32 archive_equipment_id_list = 12;</code>
* @param values the archiveEquipmentIdList to add
* @return this
*/
@@ -149,96 +149,25 @@ public final class ArchiveDataOuterClass {
}
/**
* <code>repeated .MonsterArchive archive_monster_id_list = 11;</code>
* @return whether the archiveMonsterIdList field is set
* <code>repeated .RelicArchive relic_list = 2;</code>
* @return whether the relicList field is set
*/
public boolean hasArchiveMonsterIdList() {
public boolean hasRelicList() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>repeated .MonsterArchive archive_monster_id_list = 11;</code>
* @return this
*/
public ArchiveData clearArchiveMonsterIdList() {
bitField0_ &= ~0x00000002;
archiveMonsterIdList.clear();
return this;
}
/**
* <code>repeated .MonsterArchive archive_monster_id_list = 11;</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 #getMutableArchiveMonsterIdList()} if you want to modify it.
*
* @return internal storage object for reading
*/
public RepeatedMessage<MonsterArchiveOuterClass.MonsterArchive> getArchiveMonsterIdList() {
return archiveMonsterIdList;
}
/**
* <code>repeated .MonsterArchive archive_monster_id_list = 11;</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<MonsterArchiveOuterClass.MonsterArchive> getMutableArchiveMonsterIdList(
) {
bitField0_ |= 0x00000002;
return archiveMonsterIdList;
}
/**
* <code>repeated .MonsterArchive archive_monster_id_list = 11;</code>
* @param value the archiveMonsterIdList to add
* @return this
*/
public ArchiveData addArchiveMonsterIdList(
final MonsterArchiveOuterClass.MonsterArchive value) {
bitField0_ |= 0x00000002;
archiveMonsterIdList.add(value);
return this;
}
/**
* <code>repeated .MonsterArchive archive_monster_id_list = 11;</code>
* @param values the archiveMonsterIdList to add
* @return this
*/
public ArchiveData addAllArchiveMonsterIdList(
final MonsterArchiveOuterClass.MonsterArchive... values) {
bitField0_ |= 0x00000002;
archiveMonsterIdList.addAll(values);
return this;
}
/**
* <code>repeated .RelicArchive relic_list = 12;</code>
* @return whether the relicList field is set
*/
public boolean hasRelicList() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>repeated .RelicArchive relic_list = 12;</code>
* <code>repeated .RelicArchive relic_list = 2;</code>
* @return this
*/
public ArchiveData clearRelicList() {
bitField0_ &= ~0x00000004;
bitField0_ &= ~0x00000002;
relicList.clear();
return this;
}
/**
* <code>repeated .RelicArchive relic_list = 12;</code>
* <code>repeated .RelicArchive relic_list = 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.
@@ -252,7 +181,7 @@ public final class ArchiveDataOuterClass {
}
/**
* <code>repeated .RelicArchive relic_list = 12;</code>
* <code>repeated .RelicArchive relic_list = 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
@@ -261,40 +190,111 @@ public final class ArchiveDataOuterClass {
* @return internal storage object for modifications
*/
public RepeatedMessage<RelicArchiveOuterClass.RelicArchive> getMutableRelicList() {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000002;
return relicList;
}
/**
* <code>repeated .RelicArchive relic_list = 12;</code>
* <code>repeated .RelicArchive relic_list = 2;</code>
* @param value the relicList to add
* @return this
*/
public ArchiveData addRelicList(final RelicArchiveOuterClass.RelicArchive value) {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000002;
relicList.add(value);
return this;
}
/**
* <code>repeated .RelicArchive relic_list = 12;</code>
* <code>repeated .RelicArchive relic_list = 2;</code>
* @param values the relicList to add
* @return this
*/
public ArchiveData addAllRelicList(final RelicArchiveOuterClass.RelicArchive... values) {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000002;
relicList.addAll(values);
return this;
}
/**
* <code>repeated .MonsterArchive archive_monster_id_list = 5;</code>
* @return whether the archiveMonsterIdList field is set
*/
public boolean hasArchiveMonsterIdList() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>repeated .MonsterArchive archive_monster_id_list = 5;</code>
* @return this
*/
public ArchiveData clearArchiveMonsterIdList() {
bitField0_ &= ~0x00000004;
archiveMonsterIdList.clear();
return this;
}
/**
* <code>repeated .MonsterArchive archive_monster_id_list = 5;</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 #getMutableArchiveMonsterIdList()} if you want to modify it.
*
* @return internal storage object for reading
*/
public RepeatedMessage<MonsterArchiveOuterClass.MonsterArchive> getArchiveMonsterIdList() {
return archiveMonsterIdList;
}
/**
* <code>repeated .MonsterArchive archive_monster_id_list = 5;</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<MonsterArchiveOuterClass.MonsterArchive> getMutableArchiveMonsterIdList(
) {
bitField0_ |= 0x00000004;
return archiveMonsterIdList;
}
/**
* <code>repeated .MonsterArchive archive_monster_id_list = 5;</code>
* @param value the archiveMonsterIdList to add
* @return this
*/
public ArchiveData addArchiveMonsterIdList(
final MonsterArchiveOuterClass.MonsterArchive value) {
bitField0_ |= 0x00000004;
archiveMonsterIdList.add(value);
return this;
}
/**
* <code>repeated .MonsterArchive archive_monster_id_list = 5;</code>
* @param values the archiveMonsterIdList to add
* @return this
*/
public ArchiveData addAllArchiveMonsterIdList(
final MonsterArchiveOuterClass.MonsterArchive... values) {
bitField0_ |= 0x00000004;
archiveMonsterIdList.addAll(values);
return this;
}
@Override
public ArchiveData copyFrom(final ArchiveData other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
archiveEquipmentIdList.copyFrom(other.archiveEquipmentIdList);
archiveMonsterIdList.copyFrom(other.archiveMonsterIdList);
relicList.copyFrom(other.relicList);
archiveMonsterIdList.copyFrom(other.archiveMonsterIdList);
}
return this;
}
@@ -308,12 +308,12 @@ public final class ArchiveDataOuterClass {
if (other.hasArchiveEquipmentIdList()) {
getMutableArchiveEquipmentIdList().addAll(other.archiveEquipmentIdList);
}
if (other.hasArchiveMonsterIdList()) {
getMutableArchiveMonsterIdList().addAll(other.archiveMonsterIdList);
}
if (other.hasRelicList()) {
getMutableRelicList().addAll(other.relicList);
}
if (other.hasArchiveMonsterIdList()) {
getMutableArchiveMonsterIdList().addAll(other.archiveMonsterIdList);
}
return this;
}
@@ -325,8 +325,8 @@ public final class ArchiveDataOuterClass {
cachedSize = -1;
bitField0_ = 0;
archiveEquipmentIdList.clear();
archiveMonsterIdList.clear();
relicList.clear();
archiveMonsterIdList.clear();
return this;
}
@@ -338,8 +338,8 @@ public final class ArchiveDataOuterClass {
cachedSize = -1;
bitField0_ = 0;
archiveEquipmentIdList.clear();
archiveMonsterIdList.clearQuick();
relicList.clearQuick();
archiveMonsterIdList.clearQuick();
return this;
}
@@ -354,28 +354,28 @@ public final class ArchiveDataOuterClass {
ArchiveData other = (ArchiveData) o;
return bitField0_ == other.bitField0_
&& (!hasArchiveEquipmentIdList() || archiveEquipmentIdList.equals(other.archiveEquipmentIdList))
&& (!hasArchiveMonsterIdList() || archiveMonsterIdList.equals(other.archiveMonsterIdList))
&& (!hasRelicList() || relicList.equals(other.relicList));
&& (!hasRelicList() || relicList.equals(other.relicList))
&& (!hasArchiveMonsterIdList() || archiveMonsterIdList.equals(other.archiveMonsterIdList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
for (int i = 0; i < archiveEquipmentIdList.length(); i++) {
output.writeRawByte((byte) 16);
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(archiveEquipmentIdList.array()[i]);
}
}
if ((bitField0_ & 0x00000002) != 0) {
for (int i = 0; i < archiveMonsterIdList.length(); i++) {
output.writeRawByte((byte) 90);
output.writeMessageNoTag(archiveMonsterIdList.get(i));
for (int i = 0; i < relicList.length(); i++) {
output.writeRawByte((byte) 18);
output.writeMessageNoTag(relicList.get(i));
}
}
if ((bitField0_ & 0x00000004) != 0) {
for (int i = 0; i < relicList.length(); i++) {
output.writeRawByte((byte) 98);
output.writeMessageNoTag(relicList.get(i));
for (int i = 0; i < archiveMonsterIdList.length(); i++) {
output.writeRawByte((byte) 42);
output.writeMessageNoTag(archiveMonsterIdList.get(i));
}
}
}
@@ -387,10 +387,10 @@ public final class ArchiveDataOuterClass {
size += (1 * archiveEquipmentIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(archiveEquipmentIdList);
}
if ((bitField0_ & 0x00000002) != 0) {
size += (1 * archiveMonsterIdList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(archiveMonsterIdList);
size += (1 * relicList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(relicList);
}
if ((bitField0_ & 0x00000004) != 0) {
size += (1 * relicList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(relicList);
size += (1 * archiveMonsterIdList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(archiveMonsterIdList);
}
return size;
}
@@ -402,26 +402,26 @@ public final class ArchiveDataOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 18: {
case 98: {
// archiveEquipmentIdList [packed=true]
input.readPackedUInt32(archiveEquipmentIdList, tag);
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 90) {
if (tag != 18) {
break;
}
}
case 90: {
// archiveMonsterIdList
tag = input.readRepeatedMessage(archiveMonsterIdList, tag);
bitField0_ |= 0x00000002;
if (tag != 98) {
break;
}
}
case 98: {
case 18: {
// relicList
tag = input.readRepeatedMessage(relicList, tag);
bitField0_ |= 0x00000002;
if (tag != 42) {
break;
}
}
case 42: {
// archiveMonsterIdList
tag = input.readRepeatedMessage(archiveMonsterIdList, tag);
bitField0_ |= 0x00000004;
if (tag != 0) {
break;
@@ -437,7 +437,7 @@ public final class ArchiveDataOuterClass {
tag = input.readTag();
break;
}
case 16: {
case 96: {
// archiveEquipmentIdList [packed=false]
tag = input.readRepeatedUInt32(archiveEquipmentIdList, tag);
bitField0_ |= 0x00000001;
@@ -454,10 +454,10 @@ public final class ArchiveDataOuterClass {
output.writeRepeatedUInt32(FieldNames.archiveEquipmentIdList, archiveEquipmentIdList);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRepeatedMessage(FieldNames.archiveMonsterIdList, archiveMonsterIdList);
output.writeRepeatedMessage(FieldNames.relicList, relicList);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRepeatedMessage(FieldNames.relicList, relicList);
output.writeRepeatedMessage(FieldNames.archiveMonsterIdList, archiveMonsterIdList);
}
output.endObject();
}
@@ -481,11 +481,11 @@ public final class ArchiveDataOuterClass {
}
break;
}
case 912174897:
case 1817787488: {
if (input.isAtField(FieldNames.archiveMonsterIdList)) {
case 204814001:
case 2071893482: {
if (input.isAtField(FieldNames.relicList)) {
if (!input.trySkipNullValue()) {
input.readRepeatedMessage(archiveMonsterIdList);
input.readRepeatedMessage(relicList);
bitField0_ |= 0x00000002;
}
} else {
@@ -493,11 +493,11 @@ public final class ArchiveDataOuterClass {
}
break;
}
case 204814001:
case 2071893482: {
if (input.isAtField(FieldNames.relicList)) {
case 912174897:
case 1817787488: {
if (input.isAtField(FieldNames.archiveMonsterIdList)) {
if (!input.trySkipNullValue()) {
input.readRepeatedMessage(relicList);
input.readRepeatedMessage(archiveMonsterIdList);
bitField0_ |= 0x00000004;
}
} else {
@@ -559,9 +559,9 @@ public final class ArchiveDataOuterClass {
static class FieldNames {
static final FieldName archiveEquipmentIdList = FieldName.forField("archiveEquipmentIdList", "archive_equipment_id_list");
static final FieldName archiveMonsterIdList = FieldName.forField("archiveMonsterIdList", "archive_monster_id_list");
static final FieldName relicList = FieldName.forField("relicList", "relic_list");
static final FieldName archiveMonsterIdList = FieldName.forField("archiveMonsterIdList", "archive_monster_id_list");
}
}
}

View File

@@ -20,7 +20,7 @@ public final class AssistMonsterWaveOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>repeated uint32 entity_id_list = 9;</code>
* <code>repeated uint32 entity_id_list = 4;</code>
*/
private final RepeatedInt entityIdList = RepeatedInt.newEmptyInstance();
@@ -35,7 +35,7 @@ public final class AssistMonsterWaveOuterClass {
}
/**
* <code>repeated uint32 entity_id_list = 9;</code>
* <code>repeated uint32 entity_id_list = 4;</code>
* @return whether the entityIdList field is set
*/
public boolean hasEntityIdList() {
@@ -43,7 +43,7 @@ public final class AssistMonsterWaveOuterClass {
}
/**
* <code>repeated uint32 entity_id_list = 9;</code>
* <code>repeated uint32 entity_id_list = 4;</code>
* @return this
*/
public AssistMonsterWave clearEntityIdList() {
@@ -53,7 +53,7 @@ public final class AssistMonsterWaveOuterClass {
}
/**
* <code>repeated uint32 entity_id_list = 9;</code>
* <code>repeated uint32 entity_id_list = 4;</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.
@@ -67,7 +67,7 @@ public final class AssistMonsterWaveOuterClass {
}
/**
* <code>repeated uint32 entity_id_list = 9;</code>
* <code>repeated uint32 entity_id_list = 4;</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
@@ -81,7 +81,7 @@ public final class AssistMonsterWaveOuterClass {
}
/**
* <code>repeated uint32 entity_id_list = 9;</code>
* <code>repeated uint32 entity_id_list = 4;</code>
* @param value the entityIdList to add
* @return this
*/
@@ -92,7 +92,7 @@ public final class AssistMonsterWaveOuterClass {
}
/**
* <code>repeated uint32 entity_id_list = 9;</code>
* <code>repeated uint32 entity_id_list = 4;</code>
* @param values the entityIdList to add
* @return this
*/
@@ -163,7 +163,7 @@ public final class AssistMonsterWaveOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
for (int i = 0; i < entityIdList.length(); i++) {
output.writeRawByte((byte) 72);
output.writeRawByte((byte) 32);
output.writeUInt32NoTag(entityIdList.array()[i]);
}
}
@@ -185,7 +185,7 @@ public final class AssistMonsterWaveOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 74: {
case 34: {
// entityIdList [packed=true]
input.readPackedUInt32(entityIdList, tag);
bitField0_ |= 0x00000001;
@@ -204,7 +204,7 @@ public final class AssistMonsterWaveOuterClass {
tag = input.readTag();
break;
}
case 72: {
case 32: {
// entityIdList [packed=false]
tag = input.readRepeatedUInt32(entityIdList, tag);
bitField0_ |= 0x00000001;

View File

@@ -19,25 +19,25 @@ public final class AssistSimpleInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 level = 1;</code>
*/
private int level;
/**
* <code>optional uint32 dressed_skin_id = 5;</code>
*/
private int dressedSkinId;
/**
* <code>optional uint32 avatar_id = 9;</code>
* <code>optional uint32 avatar_id = 2;</code>
*/
private int avatarId;
/**
* <code>optional uint32 pos = 12;</code>
* <code>optional uint32 pos = 6;</code>
*/
private int pos;
/**
* <code>optional uint32 level = 12;</code>
*/
private int level;
/**
* <code>optional uint32 dressed_skin_id = 15;</code>
*/
private int dressedSkinId;
private AssistSimpleInfo() {
}
@@ -49,99 +49,25 @@ public final class AssistSimpleInfoOuterClass {
}
/**
* <code>optional uint32 level = 1;</code>
* @return whether the level field is set
* <code>optional uint32 avatar_id = 2;</code>
* @return whether the avatarId field is set
*/
public boolean hasLevel() {
public boolean hasAvatarId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 level = 1;</code>
* @return this
*/
public AssistSimpleInfo clearLevel() {
bitField0_ &= ~0x00000001;
level = 0;
return this;
}
/**
* <code>optional uint32 level = 1;</code>
* @return the level
*/
public int getLevel() {
return level;
}
/**
* <code>optional uint32 level = 1;</code>
* @param value the level to set
* @return this
*/
public AssistSimpleInfo setLevel(final int value) {
bitField0_ |= 0x00000001;
level = value;
return this;
}
/**
* <code>optional uint32 dressed_skin_id = 5;</code>
* @return whether the dressedSkinId field is set
*/
public boolean hasDressedSkinId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 dressed_skin_id = 5;</code>
* @return this
*/
public AssistSimpleInfo clearDressedSkinId() {
bitField0_ &= ~0x00000002;
dressedSkinId = 0;
return this;
}
/**
* <code>optional uint32 dressed_skin_id = 5;</code>
* @return the dressedSkinId
*/
public int getDressedSkinId() {
return dressedSkinId;
}
/**
* <code>optional uint32 dressed_skin_id = 5;</code>
* @param value the dressedSkinId to set
* @return this
*/
public AssistSimpleInfo setDressedSkinId(final int value) {
bitField0_ |= 0x00000002;
dressedSkinId = value;
return this;
}
/**
* <code>optional uint32 avatar_id = 9;</code>
* @return whether the avatarId field is set
*/
public boolean hasAvatarId() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 avatar_id = 9;</code>
* <code>optional uint32 avatar_id = 2;</code>
* @return this
*/
public AssistSimpleInfo clearAvatarId() {
bitField0_ &= ~0x00000004;
bitField0_ &= ~0x00000001;
avatarId = 0;
return this;
}
/**
* <code>optional uint32 avatar_id = 9;</code>
* <code>optional uint32 avatar_id = 2;</code>
* @return the avatarId
*/
public int getAvatarId() {
@@ -149,36 +75,36 @@ public final class AssistSimpleInfoOuterClass {
}
/**
* <code>optional uint32 avatar_id = 9;</code>
* <code>optional uint32 avatar_id = 2;</code>
* @param value the avatarId to set
* @return this
*/
public AssistSimpleInfo setAvatarId(final int value) {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000001;
avatarId = value;
return this;
}
/**
* <code>optional uint32 pos = 12;</code>
* <code>optional uint32 pos = 6;</code>
* @return whether the pos field is set
*/
public boolean hasPos() {
return (bitField0_ & 0x00000008) != 0;
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 pos = 12;</code>
* <code>optional uint32 pos = 6;</code>
* @return this
*/
public AssistSimpleInfo clearPos() {
bitField0_ &= ~0x00000008;
bitField0_ &= ~0x00000002;
pos = 0;
return this;
}
/**
* <code>optional uint32 pos = 12;</code>
* <code>optional uint32 pos = 6;</code>
* @return the pos
*/
public int getPos() {
@@ -186,25 +112,99 @@ public final class AssistSimpleInfoOuterClass {
}
/**
* <code>optional uint32 pos = 12;</code>
* <code>optional uint32 pos = 6;</code>
* @param value the pos to set
* @return this
*/
public AssistSimpleInfo setPos(final int value) {
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000002;
pos = value;
return this;
}
/**
* <code>optional uint32 level = 12;</code>
* @return whether the level field is set
*/
public boolean hasLevel() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 level = 12;</code>
* @return this
*/
public AssistSimpleInfo clearLevel() {
bitField0_ &= ~0x00000004;
level = 0;
return this;
}
/**
* <code>optional uint32 level = 12;</code>
* @return the level
*/
public int getLevel() {
return level;
}
/**
* <code>optional uint32 level = 12;</code>
* @param value the level to set
* @return this
*/
public AssistSimpleInfo setLevel(final int value) {
bitField0_ |= 0x00000004;
level = value;
return this;
}
/**
* <code>optional uint32 dressed_skin_id = 15;</code>
* @return whether the dressedSkinId field is set
*/
public boolean hasDressedSkinId() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 dressed_skin_id = 15;</code>
* @return this
*/
public AssistSimpleInfo clearDressedSkinId() {
bitField0_ &= ~0x00000008;
dressedSkinId = 0;
return this;
}
/**
* <code>optional uint32 dressed_skin_id = 15;</code>
* @return the dressedSkinId
*/
public int getDressedSkinId() {
return dressedSkinId;
}
/**
* <code>optional uint32 dressed_skin_id = 15;</code>
* @param value the dressedSkinId to set
* @return this
*/
public AssistSimpleInfo setDressedSkinId(final int value) {
bitField0_ |= 0x00000008;
dressedSkinId = value;
return this;
}
@Override
public AssistSimpleInfo copyFrom(final AssistSimpleInfo other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
level = other.level;
dressedSkinId = other.dressedSkinId;
avatarId = other.avatarId;
pos = other.pos;
level = other.level;
dressedSkinId = other.dressedSkinId;
}
return this;
}
@@ -215,18 +215,18 @@ public final class AssistSimpleInfoOuterClass {
return this;
}
cachedSize = -1;
if (other.hasLevel()) {
setLevel(other.level);
}
if (other.hasDressedSkinId()) {
setDressedSkinId(other.dressedSkinId);
}
if (other.hasAvatarId()) {
setAvatarId(other.avatarId);
}
if (other.hasPos()) {
setPos(other.pos);
}
if (other.hasLevel()) {
setLevel(other.level);
}
if (other.hasDressedSkinId()) {
setDressedSkinId(other.dressedSkinId);
}
return this;
}
@@ -237,10 +237,10 @@ public final class AssistSimpleInfoOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
level = 0;
dressedSkinId = 0;
avatarId = 0;
pos = 0;
level = 0;
dressedSkinId = 0;
return this;
}
@@ -264,47 +264,47 @@ public final class AssistSimpleInfoOuterClass {
}
AssistSimpleInfo other = (AssistSimpleInfo) o;
return bitField0_ == other.bitField0_
&& (!hasLevel() || level == other.level)
&& (!hasDressedSkinId() || dressedSkinId == other.dressedSkinId)
&& (!hasAvatarId() || avatarId == other.avatarId)
&& (!hasPos() || pos == other.pos);
&& (!hasPos() || pos == other.pos)
&& (!hasLevel() || level == other.level)
&& (!hasDressedSkinId() || dressedSkinId == other.dressedSkinId);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 8);
output.writeUInt32NoTag(level);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 40);
output.writeUInt32NoTag(dressedSkinId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 72);
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(avatarId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 96);
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 48);
output.writeUInt32NoTag(pos);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(level);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 120);
output.writeUInt32NoTag(dressedSkinId);
}
}
@Override
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(dressedSkinId);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(avatarId);
}
if ((bitField0_ & 0x00000008) != 0) {
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(pos);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(dressedSkinId);
}
return size;
}
@@ -315,36 +315,36 @@ public final class AssistSimpleInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 8: {
// level
level = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 40) {
break;
}
}
case 40: {
// dressedSkinId
dressedSkinId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 72) {
break;
}
}
case 72: {
case 16: {
// avatarId
avatarId = input.readUInt32();
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 48) {
break;
}
}
case 48: {
// pos
pos = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 96) {
break;
}
}
case 96: {
// pos
pos = input.readUInt32();
// level
level = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 120) {
break;
}
}
case 120: {
// dressedSkinId
dressedSkinId = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 0) {
@@ -369,17 +369,17 @@ public final class AssistSimpleInfoOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.level, level);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.dressedSkinId, dressedSkinId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.avatarId, avatarId);
}
if ((bitField0_ & 0x00000008) != 0) {
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.pos, pos);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.level, level);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.dressedSkinId, dressedSkinId);
}
output.endObject();
}
@@ -390,11 +390,34 @@ public final class AssistSimpleInfoOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case 1787287636:
case -428636735: {
if (input.isAtField(FieldNames.avatarId)) {
if (!input.trySkipNullValue()) {
avatarId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
input.skipUnknownField();
}
break;
}
case 111188: {
if (input.isAtField(FieldNames.pos)) {
if (!input.trySkipNullValue()) {
pos = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
}
break;
}
case 102865796: {
if (input.isAtField(FieldNames.level)) {
if (!input.trySkipNullValue()) {
level = input.readUInt32();
bitField0_ |= 0x00000001;
bitField0_ |= 0x00000004;
}
} else {
input.skipUnknownField();
@@ -406,29 +429,6 @@ public final class AssistSimpleInfoOuterClass {
if (input.isAtField(FieldNames.dressedSkinId)) {
if (!input.trySkipNullValue()) {
dressedSkinId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
}
break;
}
case 1787287636:
case -428636735: {
if (input.isAtField(FieldNames.avatarId)) {
if (!input.trySkipNullValue()) {
avatarId = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
input.skipUnknownField();
}
break;
}
case 111188: {
if (input.isAtField(FieldNames.pos)) {
if (!input.trySkipNullValue()) {
pos = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -489,13 +489,13 @@ public final class AssistSimpleInfoOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName level = FieldName.forField("level");
static final FieldName dressedSkinId = FieldName.forField("dressedSkinId", "dressed_skin_id");
static final FieldName avatarId = FieldName.forField("avatarId", "avatar_id");
static final FieldName pos = FieldName.forField("pos");
static final FieldName level = FieldName.forField("level");
static final FieldName dressedSkinId = FieldName.forField("dressedSkinId", "dressed_skin_id");
}
}
}

View File

@@ -19,12 +19,12 @@ public final class AvatarExpUpCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 base_avatar_id = 12;</code>
* <code>optional uint32 base_avatar_id = 1;</code>
*/
private int baseAvatarId;
/**
* <code>optional .ItemCostList item_cost_list = 14;</code>
* <code>optional .ItemCostList item_cost_list = 4;</code>
*/
private final ItemCostListOuterClass.ItemCostList itemCostList = ItemCostListOuterClass.ItemCostList.newInstance();
@@ -39,7 +39,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
* <code>optional uint32 base_avatar_id = 12;</code>
* <code>optional uint32 base_avatar_id = 1;</code>
* @return whether the baseAvatarId field is set
*/
public boolean hasBaseAvatarId() {
@@ -47,7 +47,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
* <code>optional uint32 base_avatar_id = 12;</code>
* <code>optional uint32 base_avatar_id = 1;</code>
* @return this
*/
public AvatarExpUpCsReq clearBaseAvatarId() {
@@ -57,7 +57,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
* <code>optional uint32 base_avatar_id = 12;</code>
* <code>optional uint32 base_avatar_id = 1;</code>
* @return the baseAvatarId
*/
public int getBaseAvatarId() {
@@ -65,7 +65,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
* <code>optional uint32 base_avatar_id = 12;</code>
* <code>optional uint32 base_avatar_id = 1;</code>
* @param value the baseAvatarId to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
* <code>optional .ItemCostList item_cost_list = 14;</code>
* <code>optional .ItemCostList item_cost_list = 4;</code>
* @return whether the itemCostList field is set
*/
public boolean hasItemCostList() {
@@ -84,7 +84,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
* <code>optional .ItemCostList item_cost_list = 14;</code>
* <code>optional .ItemCostList item_cost_list = 4;</code>
* @return this
*/
public AvatarExpUpCsReq clearItemCostList() {
@@ -94,7 +94,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
* <code>optional .ItemCostList item_cost_list = 14;</code>
* <code>optional .ItemCostList item_cost_list = 4;</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.
@@ -108,7 +108,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
* <code>optional .ItemCostList item_cost_list = 14;</code>
* <code>optional .ItemCostList item_cost_list = 4;</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
@@ -122,7 +122,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
* <code>optional .ItemCostList item_cost_list = 14;</code>
* <code>optional .ItemCostList item_cost_list = 4;</code>
* @param value the itemCostList to set
* @return this
*/
@@ -198,11 +198,11 @@ public final class AvatarExpUpCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 96);
output.writeRawByte((byte) 8);
output.writeUInt32NoTag(baseAvatarId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 114);
output.writeRawByte((byte) 34);
output.writeMessageNoTag(itemCostList);
}
}
@@ -226,16 +226,16 @@ public final class AvatarExpUpCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 96: {
case 8: {
// baseAvatarId
baseAvatarId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 114) {
if (tag != 34) {
break;
}
}
case 114: {
case 34: {
// itemCostList
input.readMessage(itemCostList);
bitField0_ |= 0x00000002;

View File

@@ -20,12 +20,12 @@ public final class AvatarExpUpScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 retcode = 9;</code>
* <code>optional uint32 retcode = 12;</code>
*/
private int retcode;
/**
* <code>repeated .PileItem return_item_list = 12;</code>
* <code>repeated .PileItem return_item_list = 11;</code>
*/
private final RepeatedMessage<PileItemOuterClass.PileItem> returnItemList = RepeatedMessage.newEmptyInstance(PileItemOuterClass.PileItem.getFactory());
@@ -40,7 +40,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 9;</code>
* <code>optional uint32 retcode = 12;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -48,7 +48,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 9;</code>
* <code>optional uint32 retcode = 12;</code>
* @return this
*/
public AvatarExpUpScRsp clearRetcode() {
@@ -58,7 +58,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 9;</code>
* <code>optional uint32 retcode = 12;</code>
* @return the retcode
*/
public int getRetcode() {
@@ -66,7 +66,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 9;</code>
* <code>optional uint32 retcode = 12;</code>
* @param value the retcode to set
* @return this
*/
@@ -77,7 +77,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 12;</code>
* <code>repeated .PileItem return_item_list = 11;</code>
* @return whether the returnItemList field is set
*/
public boolean hasReturnItemList() {
@@ -85,7 +85,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 12;</code>
* <code>repeated .PileItem return_item_list = 11;</code>
* @return this
*/
public AvatarExpUpScRsp clearReturnItemList() {
@@ -95,7 +95,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 12;</code>
* <code>repeated .PileItem return_item_list = 11;</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.
@@ -109,7 +109,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 12;</code>
* <code>repeated .PileItem return_item_list = 11;</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
@@ -123,7 +123,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 12;</code>
* <code>repeated .PileItem return_item_list = 11;</code>
* @param value the returnItemList to add
* @return this
*/
@@ -134,7 +134,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 12;</code>
* <code>repeated .PileItem return_item_list = 11;</code>
* @param values the returnItemList to add
* @return this
*/
@@ -210,12 +210,12 @@ public final class AvatarExpUpScRspOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 72);
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
for (int i = 0; i < returnItemList.length(); i++) {
output.writeRawByte((byte) 98);
output.writeRawByte((byte) 90);
output.writeMessageNoTag(returnItemList.get(i));
}
}
@@ -240,16 +240,16 @@ public final class AvatarExpUpScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 72: {
case 96: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 98) {
if (tag != 90) {
break;
}
}
case 98: {
case 90: {
// returnItemList
tag = input.readRepeatedMessage(returnItemList, tag);
bitField0_ |= 0x00000002;

File diff suppressed because it is too large Load Diff

View File

@@ -24,7 +24,7 @@ public final class AvatarPathChangedNotifyOuterClass {
private int baseAvatarId;
/**
* <code>optional .MultiPathAvatarType changed_avatar_type = 9;</code>
* <code>optional .MultiPathAvatarType changed_avatar_type = 8;</code>
*/
private int changedAvatarType;
@@ -76,7 +76,7 @@ public final class AvatarPathChangedNotifyOuterClass {
}
/**
* <code>optional .MultiPathAvatarType changed_avatar_type = 9;</code>
* <code>optional .MultiPathAvatarType changed_avatar_type = 8;</code>
* @return whether the changedAvatarType field is set
*/
public boolean hasChangedAvatarType() {
@@ -84,7 +84,7 @@ public final class AvatarPathChangedNotifyOuterClass {
}
/**
* <code>optional .MultiPathAvatarType changed_avatar_type = 9;</code>
* <code>optional .MultiPathAvatarType changed_avatar_type = 8;</code>
* @return this
*/
public AvatarPathChangedNotify clearChangedAvatarType() {
@@ -94,7 +94,7 @@ public final class AvatarPathChangedNotifyOuterClass {
}
/**
* <code>optional .MultiPathAvatarType changed_avatar_type = 9;</code>
* <code>optional .MultiPathAvatarType changed_avatar_type = 8;</code>
* @return the changedAvatarType
*/
public MultiPathAvatarTypeOuterClass.MultiPathAvatarType getChangedAvatarType() {
@@ -127,7 +127,7 @@ public final class AvatarPathChangedNotifyOuterClass {
}
/**
* <code>optional .MultiPathAvatarType changed_avatar_type = 9;</code>
* <code>optional .MultiPathAvatarType changed_avatar_type = 8;</code>
* @param value the changedAvatarType to set
* @return this
*/
@@ -207,7 +207,7 @@ public final class AvatarPathChangedNotifyOuterClass {
output.writeUInt32NoTag(baseAvatarId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 72);
output.writeRawByte((byte) 64);
output.writeEnumNoTag(changedAvatarType);
}
}
@@ -236,11 +236,11 @@ public final class AvatarPathChangedNotifyOuterClass {
baseAvatarId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 72) {
if (tag != 64) {
break;
}
}
case 72: {
case 64: {
// changedAvatarType
final int value = input.readInt32();
if (MultiPathAvatarTypeOuterClass.MultiPathAvatarType.forNumber(value) != null) {

View File

@@ -20,7 +20,7 @@ public final class AvatarSyncOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>repeated .Avatar avatar_list = 12;</code>
* <code>repeated .Avatar avatar_list = 10;</code>
*/
private final RepeatedMessage<AvatarOuterClass.Avatar> avatarList = RepeatedMessage.newEmptyInstance(AvatarOuterClass.Avatar.getFactory());
@@ -35,7 +35,7 @@ public final class AvatarSyncOuterClass {
}
/**
* <code>repeated .Avatar avatar_list = 12;</code>
* <code>repeated .Avatar avatar_list = 10;</code>
* @return whether the avatarList field is set
*/
public boolean hasAvatarList() {
@@ -43,7 +43,7 @@ public final class AvatarSyncOuterClass {
}
/**
* <code>repeated .Avatar avatar_list = 12;</code>
* <code>repeated .Avatar avatar_list = 10;</code>
* @return this
*/
public AvatarSync clearAvatarList() {
@@ -53,7 +53,7 @@ public final class AvatarSyncOuterClass {
}
/**
* <code>repeated .Avatar avatar_list = 12;</code>
* <code>repeated .Avatar avatar_list = 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.
@@ -67,7 +67,7 @@ public final class AvatarSyncOuterClass {
}
/**
* <code>repeated .Avatar avatar_list = 12;</code>
* <code>repeated .Avatar avatar_list = 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
@@ -81,7 +81,7 @@ public final class AvatarSyncOuterClass {
}
/**
* <code>repeated .Avatar avatar_list = 12;</code>
* <code>repeated .Avatar avatar_list = 10;</code>
* @param value the avatarList to add
* @return this
*/
@@ -92,7 +92,7 @@ public final class AvatarSyncOuterClass {
}
/**
* <code>repeated .Avatar avatar_list = 12;</code>
* <code>repeated .Avatar avatar_list = 10;</code>
* @param values the avatarList to add
* @return this
*/
@@ -163,7 +163,7 @@ public final class AvatarSyncOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
for (int i = 0; i < avatarList.length(); i++) {
output.writeRawByte((byte) 98);
output.writeRawByte((byte) 82);
output.writeMessageNoTag(avatarList.get(i));
}
}
@@ -185,7 +185,7 @@ public final class AvatarSyncOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 98: {
case 82: {
// avatarList
tag = input.readRepeatedMessage(avatarList, tag);
bitField0_ |= 0x00000001;

View File

@@ -87,7 +87,7 @@ public final class AvatarTypeOuterClass {
/**
* @return a converter that maps between this enum's numeric and text representations
*/
public static EnumConverter<AvatarType> converter() {
public static ProtoEnum.EnumConverter<AvatarType> converter() {
return AvatarTypeConverter.INSTANCE;
}
@@ -109,7 +109,7 @@ public final class AvatarTypeOuterClass {
return value == null ? other : value;
}
enum AvatarTypeConverter implements EnumConverter<AvatarType> {
enum AvatarTypeConverter implements ProtoEnum.EnumConverter<AvatarType> {
INSTANCE;
private static final AvatarType[] lookup = new AvatarType[5];

View File

@@ -67,7 +67,7 @@ public final class BattleEndReasonOuterClass {
/**
* @return a converter that maps between this enum's numeric and text representations
*/
public static EnumConverter<BattleEndReason> converter() {
public static ProtoEnum.EnumConverter<BattleEndReason> converter() {
return BattleEndReasonConverter.INSTANCE;
}
@@ -89,7 +89,7 @@ public final class BattleEndReasonOuterClass {
return value == null ? other : value;
}
enum BattleEndReasonConverter implements EnumConverter<BattleEndReason> {
enum BattleEndReasonConverter implements ProtoEnum.EnumConverter<BattleEndReason> {
INSTANCE;
private static final BattleEndReason[] lookup = new BattleEndReason[3];

View File

@@ -77,7 +77,7 @@ public final class BattleEndStatusOuterClass {
/**
* @return a converter that maps between this enum's numeric and text representations
*/
public static EnumConverter<BattleEndStatus> converter() {
public static ProtoEnum.EnumConverter<BattleEndStatus> converter() {
return BattleEndStatusConverter.INSTANCE;
}
@@ -99,7 +99,7 @@ public final class BattleEndStatusOuterClass {
return value == null ? other : value;
}
enum BattleEndStatusConverter implements EnumConverter<BattleEndStatus> {
enum BattleEndStatusConverter implements ProtoEnum.EnumConverter<BattleEndStatus> {
INSTANCE;
private static final BattleEndStatus[] lookup = new BattleEndStatus[4];

View File

@@ -21,12 +21,12 @@ public final class BoardDataSyncOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional string signature = 6;</code>
* <code>optional string signature = 13;</code>
*/
private final Utf8String signature = Utf8String.newEmptyInstance();
/**
* <code>repeated .HeadIcon unlocked_head_icon_list = 15;</code>
* <code>repeated .HeadIcon unlocked_head_icon_list = 14;</code>
*/
private final RepeatedMessage<HeadIconOuterClass.HeadIcon> unlockedHeadIconList = RepeatedMessage.newEmptyInstance(HeadIconOuterClass.HeadIcon.getFactory());
@@ -41,7 +41,7 @@ public final class BoardDataSyncOuterClass {
}
/**
* <code>optional string signature = 6;</code>
* <code>optional string signature = 13;</code>
* @return whether the signature field is set
*/
public boolean hasSignature() {
@@ -49,7 +49,7 @@ public final class BoardDataSyncOuterClass {
}
/**
* <code>optional string signature = 6;</code>
* <code>optional string signature = 13;</code>
* @return this
*/
public BoardDataSync clearSignature() {
@@ -59,7 +59,7 @@ public final class BoardDataSyncOuterClass {
}
/**
* <code>optional string signature = 6;</code>
* <code>optional string signature = 13;</code>
* @return the signature
*/
public String getSignature() {
@@ -67,7 +67,7 @@ public final class BoardDataSyncOuterClass {
}
/**
* <code>optional string signature = 6;</code>
* <code>optional string signature = 13;</code>
* @return internal {@code Utf8String} representation of signature for reading
*/
public Utf8String getSignatureBytes() {
@@ -75,7 +75,7 @@ public final class BoardDataSyncOuterClass {
}
/**
* <code>optional string signature = 6;</code>
* <code>optional string signature = 13;</code>
* @return internal {@code Utf8String} representation of signature for modifications
*/
public Utf8String getMutableSignatureBytes() {
@@ -84,7 +84,7 @@ public final class BoardDataSyncOuterClass {
}
/**
* <code>optional string signature = 6;</code>
* <code>optional string signature = 13;</code>
* @param value the signature to set
* @return this
*/
@@ -95,7 +95,7 @@ public final class BoardDataSyncOuterClass {
}
/**
* <code>optional string signature = 6;</code>
* <code>optional string signature = 13;</code>
* @param value the signature to set
* @return this
*/
@@ -106,7 +106,7 @@ public final class BoardDataSyncOuterClass {
}
/**
* <code>repeated .HeadIcon unlocked_head_icon_list = 15;</code>
* <code>repeated .HeadIcon unlocked_head_icon_list = 14;</code>
* @return whether the unlockedHeadIconList field is set
*/
public boolean hasUnlockedHeadIconList() {
@@ -114,7 +114,7 @@ public final class BoardDataSyncOuterClass {
}
/**
* <code>repeated .HeadIcon unlocked_head_icon_list = 15;</code>
* <code>repeated .HeadIcon unlocked_head_icon_list = 14;</code>
* @return this
*/
public BoardDataSync clearUnlockedHeadIconList() {
@@ -124,7 +124,7 @@ public final class BoardDataSyncOuterClass {
}
/**
* <code>repeated .HeadIcon unlocked_head_icon_list = 15;</code>
* <code>repeated .HeadIcon unlocked_head_icon_list = 14;</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.
@@ -138,7 +138,7 @@ public final class BoardDataSyncOuterClass {
}
/**
* <code>repeated .HeadIcon unlocked_head_icon_list = 15;</code>
* <code>repeated .HeadIcon unlocked_head_icon_list = 14;</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
@@ -152,7 +152,7 @@ public final class BoardDataSyncOuterClass {
}
/**
* <code>repeated .HeadIcon unlocked_head_icon_list = 15;</code>
* <code>repeated .HeadIcon unlocked_head_icon_list = 14;</code>
* @param value the unlockedHeadIconList to add
* @return this
*/
@@ -163,7 +163,7 @@ public final class BoardDataSyncOuterClass {
}
/**
* <code>repeated .HeadIcon unlocked_head_icon_list = 15;</code>
* <code>repeated .HeadIcon unlocked_head_icon_list = 14;</code>
* @param values the unlockedHeadIconList to add
* @return this
*/
@@ -240,12 +240,12 @@ public final class BoardDataSyncOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 50);
output.writeRawByte((byte) 106);
output.writeStringNoTag(signature);
}
if ((bitField0_ & 0x00000002) != 0) {
for (int i = 0; i < unlockedHeadIconList.length(); i++) {
output.writeRawByte((byte) 122);
output.writeRawByte((byte) 114);
output.writeMessageNoTag(unlockedHeadIconList.get(i));
}
}
@@ -270,16 +270,16 @@ public final class BoardDataSyncOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 50: {
case 106: {
// signature
input.readString(signature);
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 122) {
if (tag != 114) {
break;
}
}
case 122: {
case 114: {
// unlockedHeadIconList
tag = input.readRepeatedMessage(unlockedHeadIconList, tag);
bitField0_ |= 0x00000002;

View File

@@ -22,37 +22,37 @@ public final class BuffInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint64 add_time_ms = 15;</code>
* <code>optional uint64 add_time_ms = 11;</code>
*/
private long addTimeMs;
/**
* <code>optional float life_time = 11;</code>
* <code>optional float life_time = 15;</code>
*/
private float lifeTime;
/**
* <code>optional uint32 buff_id = 3;</code>
*/
private int buffId;
/**
* <code>optional uint32 base_avatar_id = 5;</code>
* <code>optional uint32 base_avatar_id = 3;</code>
*/
private int baseAvatarId;
/**
* <code>optional uint32 level = 7;</code>
*/
private int level;
/**
* <code>optional uint32 count = 8;</code>
* <code>optional uint32 count = 5;</code>
*/
private int count;
/**
* <code>repeated .BuffInfo.DynamicValuesEntry dynamic_values = 4;</code>
* <code>optional uint32 level = 9;</code>
*/
private int level;
/**
* <code>optional uint32 buff_id = 13;</code>
*/
private int buffId;
/**
* <code>repeated .BuffInfo.DynamicValuesEntry dynamic_values = 1;</code>
*/
private final RepeatedMessage<DynamicValuesEntry> dynamicValues = RepeatedMessage.newEmptyInstance(DynamicValuesEntry.getFactory());
@@ -67,7 +67,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>optional uint64 add_time_ms = 15;</code>
* <code>optional uint64 add_time_ms = 11;</code>
* @return whether the addTimeMs field is set
*/
public boolean hasAddTimeMs() {
@@ -75,7 +75,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>optional uint64 add_time_ms = 15;</code>
* <code>optional uint64 add_time_ms = 11;</code>
* @return this
*/
public BuffInfo clearAddTimeMs() {
@@ -85,7 +85,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>optional uint64 add_time_ms = 15;</code>
* <code>optional uint64 add_time_ms = 11;</code>
* @return the addTimeMs
*/
public long getAddTimeMs() {
@@ -93,7 +93,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>optional uint64 add_time_ms = 15;</code>
* <code>optional uint64 add_time_ms = 11;</code>
* @param value the addTimeMs to set
* @return this
*/
@@ -104,7 +104,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>optional float life_time = 11;</code>
* <code>optional float life_time = 15;</code>
* @return whether the lifeTime field is set
*/
public boolean hasLifeTime() {
@@ -112,7 +112,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>optional float life_time = 11;</code>
* <code>optional float life_time = 15;</code>
* @return this
*/
public BuffInfo clearLifeTime() {
@@ -122,7 +122,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>optional float life_time = 11;</code>
* <code>optional float life_time = 15;</code>
* @return the lifeTime
*/
public float getLifeTime() {
@@ -130,7 +130,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>optional float life_time = 11;</code>
* <code>optional float life_time = 15;</code>
* @param value the lifeTime to set
* @return this
*/
@@ -141,62 +141,25 @@ public final class BuffInfoOuterClass {
}
/**
* <code>optional uint32 buff_id = 3;</code>
* @return whether the buffId field is set
* <code>optional uint32 base_avatar_id = 3;</code>
* @return whether the baseAvatarId field is set
*/
public boolean hasBuffId() {
public boolean hasBaseAvatarId() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 buff_id = 3;</code>
* @return this
*/
public BuffInfo clearBuffId() {
bitField0_ &= ~0x00000004;
buffId = 0;
return this;
}
/**
* <code>optional uint32 buff_id = 3;</code>
* @return the buffId
*/
public int getBuffId() {
return buffId;
}
/**
* <code>optional uint32 buff_id = 3;</code>
* @param value the buffId to set
* @return this
*/
public BuffInfo setBuffId(final int value) {
bitField0_ |= 0x00000004;
buffId = value;
return this;
}
/**
* <code>optional uint32 base_avatar_id = 5;</code>
* @return whether the baseAvatarId field is set
*/
public boolean hasBaseAvatarId() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 base_avatar_id = 5;</code>
* <code>optional uint32 base_avatar_id = 3;</code>
* @return this
*/
public BuffInfo clearBaseAvatarId() {
bitField0_ &= ~0x00000008;
bitField0_ &= ~0x00000004;
baseAvatarId = 0;
return this;
}
/**
* <code>optional uint32 base_avatar_id = 5;</code>
* <code>optional uint32 base_avatar_id = 3;</code>
* @return the baseAvatarId
*/
public int getBaseAvatarId() {
@@ -204,18 +167,55 @@ public final class BuffInfoOuterClass {
}
/**
* <code>optional uint32 base_avatar_id = 5;</code>
* <code>optional uint32 base_avatar_id = 3;</code>
* @param value the baseAvatarId to set
* @return this
*/
public BuffInfo setBaseAvatarId(final int value) {
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000004;
baseAvatarId = value;
return this;
}
/**
* <code>optional uint32 level = 7;</code>
* <code>optional uint32 count = 5;</code>
* @return whether the count field is set
*/
public boolean hasCount() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 count = 5;</code>
* @return this
*/
public BuffInfo clearCount() {
bitField0_ &= ~0x00000008;
count = 0;
return this;
}
/**
* <code>optional uint32 count = 5;</code>
* @return the count
*/
public int getCount() {
return count;
}
/**
* <code>optional uint32 count = 5;</code>
* @param value the count to set
* @return this
*/
public BuffInfo setCount(final int value) {
bitField0_ |= 0x00000008;
count = value;
return this;
}
/**
* <code>optional uint32 level = 9;</code>
* @return whether the level field is set
*/
public boolean hasLevel() {
@@ -223,7 +223,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>optional uint32 level = 7;</code>
* <code>optional uint32 level = 9;</code>
* @return this
*/
public BuffInfo clearLevel() {
@@ -233,7 +233,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>optional uint32 level = 7;</code>
* <code>optional uint32 level = 9;</code>
* @return the level
*/
public int getLevel() {
@@ -241,7 +241,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>optional uint32 level = 7;</code>
* <code>optional uint32 level = 9;</code>
* @param value the level to set
* @return this
*/
@@ -252,44 +252,44 @@ public final class BuffInfoOuterClass {
}
/**
* <code>optional uint32 count = 8;</code>
* @return whether the count field is set
* <code>optional uint32 buff_id = 13;</code>
* @return whether the buffId field is set
*/
public boolean hasCount() {
public boolean hasBuffId() {
return (bitField0_ & 0x00000020) != 0;
}
/**
* <code>optional uint32 count = 8;</code>
* <code>optional uint32 buff_id = 13;</code>
* @return this
*/
public BuffInfo clearCount() {
public BuffInfo clearBuffId() {
bitField0_ &= ~0x00000020;
count = 0;
buffId = 0;
return this;
}
/**
* <code>optional uint32 count = 8;</code>
* @return the count
* <code>optional uint32 buff_id = 13;</code>
* @return the buffId
*/
public int getCount() {
return count;
public int getBuffId() {
return buffId;
}
/**
* <code>optional uint32 count = 8;</code>
* @param value the count to set
* <code>optional uint32 buff_id = 13;</code>
* @param value the buffId to set
* @return this
*/
public BuffInfo setCount(final int value) {
public BuffInfo setBuffId(final int value) {
bitField0_ |= 0x00000020;
count = value;
buffId = value;
return this;
}
/**
* <code>repeated .BuffInfo.DynamicValuesEntry dynamic_values = 4;</code>
* <code>repeated .BuffInfo.DynamicValuesEntry dynamic_values = 1;</code>
* @return whether the dynamicValues field is set
*/
public boolean hasDynamicValues() {
@@ -297,7 +297,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>repeated .BuffInfo.DynamicValuesEntry dynamic_values = 4;</code>
* <code>repeated .BuffInfo.DynamicValuesEntry dynamic_values = 1;</code>
* @return this
*/
public BuffInfo clearDynamicValues() {
@@ -307,7 +307,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>repeated .BuffInfo.DynamicValuesEntry dynamic_values = 4;</code>
* <code>repeated .BuffInfo.DynamicValuesEntry dynamic_values = 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.
@@ -321,7 +321,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>repeated .BuffInfo.DynamicValuesEntry dynamic_values = 4;</code>
* <code>repeated .BuffInfo.DynamicValuesEntry dynamic_values = 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
@@ -335,7 +335,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>repeated .BuffInfo.DynamicValuesEntry dynamic_values = 4;</code>
* <code>repeated .BuffInfo.DynamicValuesEntry dynamic_values = 1;</code>
* @param value the dynamicValues to add
* @return this
*/
@@ -346,7 +346,7 @@ public final class BuffInfoOuterClass {
}
/**
* <code>repeated .BuffInfo.DynamicValuesEntry dynamic_values = 4;</code>
* <code>repeated .BuffInfo.DynamicValuesEntry dynamic_values = 1;</code>
* @param values the dynamicValues to add
* @return this
*/
@@ -363,10 +363,10 @@ public final class BuffInfoOuterClass {
bitField0_ = other.bitField0_;
addTimeMs = other.addTimeMs;
lifeTime = other.lifeTime;
buffId = other.buffId;
baseAvatarId = other.baseAvatarId;
level = other.level;
count = other.count;
level = other.level;
buffId = other.buffId;
dynamicValues.copyFrom(other.dynamicValues);
}
return this;
@@ -384,17 +384,17 @@ public final class BuffInfoOuterClass {
if (other.hasLifeTime()) {
setLifeTime(other.lifeTime);
}
if (other.hasBuffId()) {
setBuffId(other.buffId);
}
if (other.hasBaseAvatarId()) {
setBaseAvatarId(other.baseAvatarId);
}
if (other.hasCount()) {
setCount(other.count);
}
if (other.hasLevel()) {
setLevel(other.level);
}
if (other.hasCount()) {
setCount(other.count);
if (other.hasBuffId()) {
setBuffId(other.buffId);
}
if (other.hasDynamicValues()) {
getMutableDynamicValues().addAll(other.dynamicValues);
@@ -411,10 +411,10 @@ public final class BuffInfoOuterClass {
bitField0_ = 0;
addTimeMs = 0L;
lifeTime = 0F;
buffId = 0;
baseAvatarId = 0;
level = 0;
count = 0;
level = 0;
buffId = 0;
dynamicValues.clear();
return this;
}
@@ -442,42 +442,42 @@ public final class BuffInfoOuterClass {
return bitField0_ == other.bitField0_
&& (!hasAddTimeMs() || addTimeMs == other.addTimeMs)
&& (!hasLifeTime() || ProtoUtil.isEqual(lifeTime, other.lifeTime))
&& (!hasBuffId() || buffId == other.buffId)
&& (!hasBaseAvatarId() || baseAvatarId == other.baseAvatarId)
&& (!hasLevel() || level == other.level)
&& (!hasCount() || count == other.count)
&& (!hasLevel() || level == other.level)
&& (!hasBuffId() || buffId == other.buffId)
&& (!hasDynamicValues() || dynamicValues.equals(other.dynamicValues));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 120);
output.writeRawByte((byte) 88);
output.writeUInt64NoTag(addTimeMs);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 93);
output.writeRawByte((byte) 125);
output.writeFloatNoTag(lifeTime);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(buffId);
output.writeUInt32NoTag(baseAvatarId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 40);
output.writeUInt32NoTag(baseAvatarId);
output.writeUInt32NoTag(count);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 56);
output.writeRawByte((byte) 72);
output.writeUInt32NoTag(level);
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(count);
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(buffId);
}
if ((bitField0_ & 0x00000040) != 0) {
for (int i = 0; i < dynamicValues.length(); i++) {
output.writeRawByte((byte) 34);
output.writeRawByte((byte) 10);
output.writeMessageNoTag(dynamicValues.get(i));
}
}
@@ -493,16 +493,16 @@ public final class BuffInfoOuterClass {
size += 5;
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(buffId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(baseAvatarId);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(baseAvatarId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(count);
}
if ((bitField0_ & 0x00000010) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
}
if ((bitField0_ & 0x00000020) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(count);
size += 1 + ProtoSink.computeUInt32SizeNoTag(buffId);
}
if ((bitField0_ & 0x00000040) != 0) {
size += (1 * dynamicValues.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(dynamicValues);
@@ -517,16 +517,16 @@ public final class BuffInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 120: {
case 88: {
// addTimeMs
addTimeMs = input.readUInt64();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 93) {
if (tag != 125) {
break;
}
}
case 93: {
case 125: {
// lifeTime
lifeTime = input.readFloat();
bitField0_ |= 0x00000002;
@@ -536,8 +536,8 @@ public final class BuffInfoOuterClass {
}
}
case 24: {
// buffId
buffId = input.readUInt32();
// baseAvatarId
baseAvatarId = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 40) {
@@ -545,33 +545,33 @@ public final class BuffInfoOuterClass {
}
}
case 40: {
// baseAvatarId
baseAvatarId = input.readUInt32();
// count
count = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 56) {
if (tag != 72) {
break;
}
}
case 56: {
case 72: {
// level
level = input.readUInt32();
bitField0_ |= 0x00000010;
tag = input.readTag();
if (tag != 64) {
if (tag != 104) {
break;
}
}
case 64: {
// count
count = input.readUInt32();
case 104: {
// buffId
buffId = input.readUInt32();
bitField0_ |= 0x00000020;
tag = input.readTag();
if (tag != 34) {
if (tag != 10) {
break;
}
}
case 34: {
case 10: {
// dynamicValues
tag = input.readRepeatedMessage(dynamicValues, tag);
bitField0_ |= 0x00000040;
@@ -603,16 +603,16 @@ public final class BuffInfoOuterClass {
output.writeFloat(FieldNames.lifeTime, lifeTime);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.buffId, buffId);
output.writeUInt32(FieldNames.baseAvatarId, baseAvatarId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.baseAvatarId, baseAvatarId);
output.writeUInt32(FieldNames.count, count);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeUInt32(FieldNames.level, level);
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeUInt32(FieldNames.count, count);
output.writeUInt32(FieldNames.buffId, buffId);
}
if ((bitField0_ & 0x00000040) != 0) {
output.writeRepeatedMessage(FieldNames.dynamicValues, dynamicValues);
@@ -651,11 +651,11 @@ public final class BuffInfoOuterClass {
}
break;
}
case -1378119474:
case 227990663: {
if (input.isAtField(FieldNames.buffId)) {
case 118022725:
case -1756826157: {
if (input.isAtField(FieldNames.baseAvatarId)) {
if (!input.trySkipNullValue()) {
buffId = input.readUInt32();
baseAvatarId = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -663,11 +663,10 @@ public final class BuffInfoOuterClass {
}
break;
}
case 118022725:
case -1756826157: {
if (input.isAtField(FieldNames.baseAvatarId)) {
case 94851343: {
if (input.isAtField(FieldNames.count)) {
if (!input.trySkipNullValue()) {
baseAvatarId = input.readUInt32();
count = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -686,10 +685,11 @@ public final class BuffInfoOuterClass {
}
break;
}
case 94851343: {
if (input.isAtField(FieldNames.count)) {
case -1378119474:
case 227990663: {
if (input.isAtField(FieldNames.buffId)) {
if (!input.trySkipNullValue()) {
count = input.readUInt32();
buffId = input.readUInt32();
bitField0_ |= 0x00000020;
}
} else {
@@ -1119,13 +1119,13 @@ public final class BuffInfoOuterClass {
static final FieldName lifeTime = FieldName.forField("lifeTime", "life_time");
static final FieldName buffId = FieldName.forField("buffId", "buff_id");
static final FieldName baseAvatarId = FieldName.forField("baseAvatarId", "base_avatar_id");
static final FieldName count = FieldName.forField("count");
static final FieldName level = FieldName.forField("level");
static final FieldName count = FieldName.forField("count");
static final FieldName buffId = FieldName.forField("buffId", "buff_id");
static final FieldName dynamicValues = FieldName.forField("dynamicValues", "dynamic_values");
}

View File

@@ -19,27 +19,27 @@ public final class BuyGoodsScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 shop_id = 2;</code>
*/
private int shopId;
/**
* <code>optional uint32 goods_buy_times = 8;</code>
*/
private int goodsBuyTimes;
/**
* <code>optional uint32 goods_id = 11;</code>
*/
private int goodsId;
/**
* <code>optional uint32 retcode = 14;</code>
* <code>optional uint32 retcode = 1;</code>
*/
private int retcode;
/**
* <code>optional .ItemList return_item_list = 7;</code>
* <code>optional uint32 goods_buy_times = 10;</code>
*/
private int goodsBuyTimes;
/**
* <code>optional uint32 goods_id = 13;</code>
*/
private int goodsId;
/**
* <code>optional uint32 shop_id = 15;</code>
*/
private int shopId;
/**
* <code>optional .ItemList return_item_list = 6;</code>
*/
private final ItemListOuterClass.ItemList returnItemList = ItemListOuterClass.ItemList.newInstance();
@@ -54,44 +54,44 @@ public final class BuyGoodsScRspOuterClass {
}
/**
* <code>optional uint32 shop_id = 2;</code>
* @return whether the shopId field is set
* <code>optional uint32 retcode = 1;</code>
* @return whether the retcode field is set
*/
public boolean hasShopId() {
public boolean hasRetcode() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 shop_id = 2;</code>
* <code>optional uint32 retcode = 1;</code>
* @return this
*/
public BuyGoodsScRsp clearShopId() {
public BuyGoodsScRsp clearRetcode() {
bitField0_ &= ~0x00000001;
shopId = 0;
retcode = 0;
return this;
}
/**
* <code>optional uint32 shop_id = 2;</code>
* @return the shopId
* <code>optional uint32 retcode = 1;</code>
* @return the retcode
*/
public int getShopId() {
return shopId;
public int getRetcode() {
return retcode;
}
/**
* <code>optional uint32 shop_id = 2;</code>
* @param value the shopId to set
* <code>optional uint32 retcode = 1;</code>
* @param value the retcode to set
* @return this
*/
public BuyGoodsScRsp setShopId(final int value) {
public BuyGoodsScRsp setRetcode(final int value) {
bitField0_ |= 0x00000001;
shopId = value;
retcode = value;
return this;
}
/**
* <code>optional uint32 goods_buy_times = 8;</code>
* <code>optional uint32 goods_buy_times = 10;</code>
* @return whether the goodsBuyTimes field is set
*/
public boolean hasGoodsBuyTimes() {
@@ -99,7 +99,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
* <code>optional uint32 goods_buy_times = 8;</code>
* <code>optional uint32 goods_buy_times = 10;</code>
* @return this
*/
public BuyGoodsScRsp clearGoodsBuyTimes() {
@@ -109,7 +109,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
* <code>optional uint32 goods_buy_times = 8;</code>
* <code>optional uint32 goods_buy_times = 10;</code>
* @return the goodsBuyTimes
*/
public int getGoodsBuyTimes() {
@@ -117,7 +117,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
* <code>optional uint32 goods_buy_times = 8;</code>
* <code>optional uint32 goods_buy_times = 10;</code>
* @param value the goodsBuyTimes to set
* @return this
*/
@@ -128,7 +128,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
* <code>optional uint32 goods_id = 11;</code>
* <code>optional uint32 goods_id = 13;</code>
* @return whether the goodsId field is set
*/
public boolean hasGoodsId() {
@@ -136,7 +136,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
* <code>optional uint32 goods_id = 11;</code>
* <code>optional uint32 goods_id = 13;</code>
* @return this
*/
public BuyGoodsScRsp clearGoodsId() {
@@ -146,7 +146,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
* <code>optional uint32 goods_id = 11;</code>
* <code>optional uint32 goods_id = 13;</code>
* @return the goodsId
*/
public int getGoodsId() {
@@ -154,7 +154,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
* <code>optional uint32 goods_id = 11;</code>
* <code>optional uint32 goods_id = 13;</code>
* @param value the goodsId to set
* @return this
*/
@@ -165,44 +165,44 @@ public final class BuyGoodsScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 14;</code>
* @return whether the retcode field is set
* <code>optional uint32 shop_id = 15;</code>
* @return whether the shopId field is set
*/
public boolean hasRetcode() {
public boolean hasShopId() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 retcode = 14;</code>
* <code>optional uint32 shop_id = 15;</code>
* @return this
*/
public BuyGoodsScRsp clearRetcode() {
public BuyGoodsScRsp clearShopId() {
bitField0_ &= ~0x00000008;
retcode = 0;
shopId = 0;
return this;
}
/**
* <code>optional uint32 retcode = 14;</code>
* @return the retcode
* <code>optional uint32 shop_id = 15;</code>
* @return the shopId
*/
public int getRetcode() {
return retcode;
public int getShopId() {
return shopId;
}
/**
* <code>optional uint32 retcode = 14;</code>
* @param value the retcode to set
* <code>optional uint32 shop_id = 15;</code>
* @param value the shopId to set
* @return this
*/
public BuyGoodsScRsp setRetcode(final int value) {
public BuyGoodsScRsp setShopId(final int value) {
bitField0_ |= 0x00000008;
retcode = value;
shopId = value;
return this;
}
/**
* <code>optional .ItemList return_item_list = 7;</code>
* <code>optional .ItemList return_item_list = 6;</code>
* @return whether the returnItemList field is set
*/
public boolean hasReturnItemList() {
@@ -210,7 +210,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
* <code>optional .ItemList return_item_list = 7;</code>
* <code>optional .ItemList return_item_list = 6;</code>
* @return this
*/
public BuyGoodsScRsp clearReturnItemList() {
@@ -220,7 +220,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
* <code>optional .ItemList return_item_list = 7;</code>
* <code>optional .ItemList return_item_list = 6;</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.
@@ -234,7 +234,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
* <code>optional .ItemList return_item_list = 7;</code>
* <code>optional .ItemList return_item_list = 6;</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
@@ -248,7 +248,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
* <code>optional .ItemList return_item_list = 7;</code>
* <code>optional .ItemList return_item_list = 6;</code>
* @param value the returnItemList to set
* @return this
*/
@@ -263,10 +263,10 @@ public final class BuyGoodsScRspOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
shopId = other.shopId;
retcode = other.retcode;
goodsBuyTimes = other.goodsBuyTimes;
goodsId = other.goodsId;
retcode = other.retcode;
shopId = other.shopId;
returnItemList.copyFrom(other.returnItemList);
}
return this;
@@ -278,8 +278,8 @@ public final class BuyGoodsScRspOuterClass {
return this;
}
cachedSize = -1;
if (other.hasShopId()) {
setShopId(other.shopId);
if (other.hasRetcode()) {
setRetcode(other.retcode);
}
if (other.hasGoodsBuyTimes()) {
setGoodsBuyTimes(other.goodsBuyTimes);
@@ -287,8 +287,8 @@ public final class BuyGoodsScRspOuterClass {
if (other.hasGoodsId()) {
setGoodsId(other.goodsId);
}
if (other.hasRetcode()) {
setRetcode(other.retcode);
if (other.hasShopId()) {
setShopId(other.shopId);
}
if (other.hasReturnItemList()) {
getMutableReturnItemList().mergeFrom(other.returnItemList);
@@ -303,10 +303,10 @@ public final class BuyGoodsScRspOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
shopId = 0;
retcode = 0;
goodsBuyTimes = 0;
goodsId = 0;
retcode = 0;
shopId = 0;
returnItemList.clear();
return this;
}
@@ -332,33 +332,33 @@ public final class BuyGoodsScRspOuterClass {
}
BuyGoodsScRsp other = (BuyGoodsScRsp) o;
return bitField0_ == other.bitField0_
&& (!hasShopId() || shopId == other.shopId)
&& (!hasRetcode() || retcode == other.retcode)
&& (!hasGoodsBuyTimes() || goodsBuyTimes == other.goodsBuyTimes)
&& (!hasGoodsId() || goodsId == other.goodsId)
&& (!hasRetcode() || retcode == other.retcode)
&& (!hasShopId() || shopId == other.shopId)
&& (!hasReturnItemList() || returnItemList.equals(other.returnItemList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(shopId);
output.writeRawByte((byte) 8);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 64);
output.writeRawByte((byte) 80);
output.writeUInt32NoTag(goodsBuyTimes);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 88);
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(goodsId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(retcode);
output.writeRawByte((byte) 120);
output.writeUInt32NoTag(shopId);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 58);
output.writeRawByte((byte) 50);
output.writeMessageNoTag(returnItemList);
}
}
@@ -367,7 +367,7 @@ public final class BuyGoodsScRspOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(shopId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(goodsBuyTimes);
@@ -376,7 +376,7 @@ public final class BuyGoodsScRspOuterClass {
size += 1 + ProtoSink.computeUInt32SizeNoTag(goodsId);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
size += 1 + ProtoSink.computeUInt32SizeNoTag(shopId);
}
if ((bitField0_ & 0x00000010) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(returnItemList);
@@ -391,43 +391,43 @@ public final class BuyGoodsScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 16: {
// shopId
shopId = input.readUInt32();
case 8: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 64) {
if (tag != 80) {
break;
}
}
case 64: {
case 80: {
// goodsBuyTimes
goodsBuyTimes = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 88) {
if (tag != 104) {
break;
}
}
case 88: {
case 104: {
// goodsId
goodsId = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 112) {
if (tag != 120) {
break;
}
}
case 112: {
// retcode
retcode = input.readUInt32();
case 120: {
// shopId
shopId = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 58) {
if (tag != 50) {
break;
}
}
case 58: {
case 50: {
// returnItemList
input.readMessage(returnItemList);
bitField0_ |= 0x00000010;
@@ -454,7 +454,7 @@ public final class BuyGoodsScRspOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.shopId, shopId);
output.writeUInt32(FieldNames.retcode, retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.goodsBuyTimes, goodsBuyTimes);
@@ -463,7 +463,7 @@ public final class BuyGoodsScRspOuterClass {
output.writeUInt32(FieldNames.goodsId, goodsId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.retcode, retcode);
output.writeUInt32(FieldNames.shopId, shopId);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeMessage(FieldNames.returnItemList, returnItemList);
@@ -478,11 +478,10 @@ public final class BuyGoodsScRspOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -903151951:
case 2067081988: {
if (input.isAtField(FieldNames.shopId)) {
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
if (!input.trySkipNullValue()) {
shopId = input.readUInt32();
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -514,10 +513,11 @@ public final class BuyGoodsScRspOuterClass {
}
break;
}
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
case -903151951:
case 2067081988: {
if (input.isAtField(FieldNames.shopId)) {
if (!input.trySkipNullValue()) {
retcode = input.readUInt32();
shopId = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -589,13 +589,13 @@ public final class BuyGoodsScRspOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName shopId = FieldName.forField("shopId", "shop_id");
static final FieldName retcode = FieldName.forField("retcode");
static final FieldName goodsBuyTimes = FieldName.forField("goodsBuyTimes", "goods_buy_times");
static final FieldName goodsId = FieldName.forField("goodsId", "goods_id");
static final FieldName retcode = FieldName.forField("retcode");
static final FieldName shopId = FieldName.forField("shopId", "shop_id");
static final FieldName returnItemList = FieldName.forField("returnItemList", "return_item_list");
}

View File

@@ -20,7 +20,7 @@ public final class ChallengeBossBuffInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>repeated uint32 buff_list = 9;</code>
* <code>repeated uint32 buff_list = 10;</code>
*/
private final RepeatedInt buffList = RepeatedInt.newEmptyInstance();
@@ -35,7 +35,7 @@ public final class ChallengeBossBuffInfoOuterClass {
}
/**
* <code>repeated uint32 buff_list = 9;</code>
* <code>repeated uint32 buff_list = 10;</code>
* @return whether the buffList field is set
*/
public boolean hasBuffList() {
@@ -43,7 +43,7 @@ public final class ChallengeBossBuffInfoOuterClass {
}
/**
* <code>repeated uint32 buff_list = 9;</code>
* <code>repeated uint32 buff_list = 10;</code>
* @return this
*/
public ChallengeBossBuffInfo clearBuffList() {
@@ -53,7 +53,7 @@ public final class ChallengeBossBuffInfoOuterClass {
}
/**
* <code>repeated uint32 buff_list = 9;</code>
* <code>repeated uint32 buff_list = 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.
@@ -67,7 +67,7 @@ public final class ChallengeBossBuffInfoOuterClass {
}
/**
* <code>repeated uint32 buff_list = 9;</code>
* <code>repeated uint32 buff_list = 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
@@ -81,7 +81,7 @@ public final class ChallengeBossBuffInfoOuterClass {
}
/**
* <code>repeated uint32 buff_list = 9;</code>
* <code>repeated uint32 buff_list = 10;</code>
* @param value the buffList to add
* @return this
*/
@@ -92,7 +92,7 @@ public final class ChallengeBossBuffInfoOuterClass {
}
/**
* <code>repeated uint32 buff_list = 9;</code>
* <code>repeated uint32 buff_list = 10;</code>
* @param values the buffList to add
* @return this
*/
@@ -163,7 +163,7 @@ public final class ChallengeBossBuffInfoOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
for (int i = 0; i < buffList.length(); i++) {
output.writeRawByte((byte) 72);
output.writeRawByte((byte) 80);
output.writeUInt32NoTag(buffList.array()[i]);
}
}
@@ -185,7 +185,7 @@ public final class ChallengeBossBuffInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 74: {
case 82: {
// buffList [packed=true]
input.readPackedUInt32(buffList, tag);
bitField0_ |= 0x00000001;
@@ -204,7 +204,7 @@ public final class ChallengeBossBuffInfoOuterClass {
tag = input.readTag();
break;
}
case 72: {
case 80: {
// buffList [packed=false]
tag = input.readRepeatedUInt32(buffList, tag);
bitField0_ |= 0x00000001;

View File

@@ -14,6 +14,10 @@ import us.hebi.quickbuf.RepeatedInt;
public final class ChallengeBossInfoOuterClass {
/**
* <pre>
* TODO: verify nodes and lineups
* </pre>
*
* Protobuf type {@code ChallengeBossInfo}
*/
public static final class ChallengeBossInfo extends ProtoMessage<ChallengeBossInfo> implements Cloneable {
@@ -21,10 +25,10 @@ public final class ChallengeBossInfoOuterClass {
/**
* <pre>
* map<uint32, JBDNIEFPHLE> MPHILJEPBDD = 3;
* map<uint32, GOHIDDNLHBD> PKADBAODMOL = 6;
* </pre>
*
* <code>optional bool ACGHCDLBCGD = 14;</code>
* <code>optional bool ACGHCDLBCGD = 13;</code>
*/
private boolean aCGHCDLBCGD;
@@ -34,28 +38,32 @@ public final class ChallengeBossInfoOuterClass {
private final ChallengeBossSingleNodeInfoOuterClass.ChallengeBossSingleNodeInfo firstNode = ChallengeBossSingleNodeInfoOuterClass.ChallengeBossSingleNodeInfo.newInstance();
/**
* <code>optional .ChallengeBossSingleNodeInfo second_node = 5;</code>
* <code>optional .ChallengeBossSingleNodeInfo second_node = 15;</code>
*/
private final ChallengeBossSingleNodeInfoOuterClass.ChallengeBossSingleNodeInfo secondNode = ChallengeBossSingleNodeInfoOuterClass.ChallengeBossSingleNodeInfo.newInstance();
/**
* <pre>
* map<uint32, BMLNHLAGLIP> GJPKHDHDCDN = 12;
* </pre>
*
* <code>repeated uint32 lineup2 = 2;</code>
*/
private final RepeatedInt lineup2 = RepeatedInt.newEmptyInstance();
/**
* <code>repeated uint32 lineup1 = 11;</code>
* <code>repeated uint32 lineup1 = 3;</code>
*/
private final RepeatedInt lineup1 = RepeatedInt.newEmptyInstance();
/**
* <pre>
* map<uint32, NCJLKLJHJCF> NIDHAKJENJJ = 11;
* </pre>
*
* <code>repeated uint32 lineup2 = 12;</code>
*/
private final RepeatedInt lineup2 = RepeatedInt.newEmptyInstance();
private ChallengeBossInfo() {
}
/**
* <pre>
* TODO: verify nodes and lineups
* </pre>
*
* @return a new empty instance of {@code ChallengeBossInfo}
*/
public static ChallengeBossInfo newInstance() {
@@ -64,10 +72,10 @@ public final class ChallengeBossInfoOuterClass {
/**
* <pre>
* map<uint32, JBDNIEFPHLE> MPHILJEPBDD = 3;
* map<uint32, GOHIDDNLHBD> PKADBAODMOL = 6;
* </pre>
*
* <code>optional bool ACGHCDLBCGD = 14;</code>
* <code>optional bool ACGHCDLBCGD = 13;</code>
* @return whether the aCGHCDLBCGD field is set
*/
public boolean hasACGHCDLBCGD() {
@@ -76,10 +84,10 @@ public final class ChallengeBossInfoOuterClass {
/**
* <pre>
* map<uint32, JBDNIEFPHLE> MPHILJEPBDD = 3;
* map<uint32, GOHIDDNLHBD> PKADBAODMOL = 6;
* </pre>
*
* <code>optional bool ACGHCDLBCGD = 14;</code>
* <code>optional bool ACGHCDLBCGD = 13;</code>
* @return this
*/
public ChallengeBossInfo clearACGHCDLBCGD() {
@@ -90,10 +98,10 @@ public final class ChallengeBossInfoOuterClass {
/**
* <pre>
* map<uint32, JBDNIEFPHLE> MPHILJEPBDD = 3;
* map<uint32, GOHIDDNLHBD> PKADBAODMOL = 6;
* </pre>
*
* <code>optional bool ACGHCDLBCGD = 14;</code>
* <code>optional bool ACGHCDLBCGD = 13;</code>
* @return the aCGHCDLBCGD
*/
public boolean getACGHCDLBCGD() {
@@ -102,10 +110,10 @@ public final class ChallengeBossInfoOuterClass {
/**
* <pre>
* map<uint32, JBDNIEFPHLE> MPHILJEPBDD = 3;
* map<uint32, GOHIDDNLHBD> PKADBAODMOL = 6;
* </pre>
*
* <code>optional bool ACGHCDLBCGD = 14;</code>
* <code>optional bool ACGHCDLBCGD = 13;</code>
* @param value the aCGHCDLBCGD to set
* @return this
*/
@@ -174,7 +182,7 @@ public final class ChallengeBossInfoOuterClass {
}
/**
* <code>optional .ChallengeBossSingleNodeInfo second_node = 5;</code>
* <code>optional .ChallengeBossSingleNodeInfo second_node = 15;</code>
* @return whether the secondNode field is set
*/
public boolean hasSecondNode() {
@@ -182,7 +190,7 @@ public final class ChallengeBossInfoOuterClass {
}
/**
* <code>optional .ChallengeBossSingleNodeInfo second_node = 5;</code>
* <code>optional .ChallengeBossSingleNodeInfo second_node = 15;</code>
* @return this
*/
public ChallengeBossInfo clearSecondNode() {
@@ -192,7 +200,7 @@ public final class ChallengeBossInfoOuterClass {
}
/**
* <code>optional .ChallengeBossSingleNodeInfo second_node = 5;</code>
* <code>optional .ChallengeBossSingleNodeInfo second_node = 15;</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.
@@ -206,7 +214,7 @@ public final class ChallengeBossInfoOuterClass {
}
/**
* <code>optional .ChallengeBossSingleNodeInfo second_node = 5;</code>
* <code>optional .ChallengeBossSingleNodeInfo second_node = 15;</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
@@ -221,7 +229,7 @@ public final class ChallengeBossInfoOuterClass {
}
/**
* <code>optional .ChallengeBossSingleNodeInfo second_node = 5;</code>
* <code>optional .ChallengeBossSingleNodeInfo second_node = 15;</code>
* @param value the secondNode to set
* @return this
*/
@@ -233,37 +241,105 @@ public final class ChallengeBossInfoOuterClass {
}
/**
* <pre>
* map<uint32, BMLNHLAGLIP> GJPKHDHDCDN = 12;
* </pre>
*
* <code>repeated uint32 lineup2 = 2;</code>
* @return whether the lineup2 field is set
* <code>repeated uint32 lineup1 = 3;</code>
* @return whether the lineup1 field is set
*/
public boolean hasLineup2() {
public boolean hasLineup1() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>repeated uint32 lineup1 = 3;</code>
* @return this
*/
public ChallengeBossInfo clearLineup1() {
bitField0_ &= ~0x00000008;
lineup1.clear();
return this;
}
/**
* <code>repeated uint32 lineup1 = 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 #getMutableLineup1()} if you want to modify it.
*
* @return internal storage object for reading
*/
public RepeatedInt getLineup1() {
return lineup1;
}
/**
* <code>repeated uint32 lineup1 = 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 RepeatedInt getMutableLineup1() {
bitField0_ |= 0x00000008;
return lineup1;
}
/**
* <code>repeated uint32 lineup1 = 3;</code>
* @param value the lineup1 to add
* @return this
*/
public ChallengeBossInfo addLineup1(final int value) {
bitField0_ |= 0x00000008;
lineup1.add(value);
return this;
}
/**
* <code>repeated uint32 lineup1 = 3;</code>
* @param values the lineup1 to add
* @return this
*/
public ChallengeBossInfo addAllLineup1(final int... values) {
bitField0_ |= 0x00000008;
lineup1.addAll(values);
return this;
}
/**
* <pre>
* map<uint32, BMLNHLAGLIP> GJPKHDHDCDN = 12;
* map<uint32, NCJLKLJHJCF> NIDHAKJENJJ = 11;
* </pre>
*
* <code>repeated uint32 lineup2 = 2;</code>
* <code>repeated uint32 lineup2 = 12;</code>
* @return whether the lineup2 field is set
*/
public boolean hasLineup2() {
return (bitField0_ & 0x00000010) != 0;
}
/**
* <pre>
* map<uint32, NCJLKLJHJCF> NIDHAKJENJJ = 11;
* </pre>
*
* <code>repeated uint32 lineup2 = 12;</code>
* @return this
*/
public ChallengeBossInfo clearLineup2() {
bitField0_ &= ~0x00000008;
bitField0_ &= ~0x00000010;
lineup2.clear();
return this;
}
/**
* <pre>
* map<uint32, BMLNHLAGLIP> GJPKHDHDCDN = 12;
* map<uint32, NCJLKLJHJCF> NIDHAKJENJJ = 11;
* </pre>
*
* <code>repeated uint32 lineup2 = 2;</code>
* <code>repeated uint32 lineup2 = 12;</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.
@@ -278,10 +354,10 @@ public final class ChallengeBossInfoOuterClass {
/**
* <pre>
* map<uint32, BMLNHLAGLIP> GJPKHDHDCDN = 12;
* map<uint32, NCJLKLJHJCF> NIDHAKJENJJ = 11;
* </pre>
*
* <code>repeated uint32 lineup2 = 2;</code>
* <code>repeated uint32 lineup2 = 12;</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
@@ -290,108 +366,40 @@ public final class ChallengeBossInfoOuterClass {
* @return internal storage object for modifications
*/
public RepeatedInt getMutableLineup2() {
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000010;
return lineup2;
}
/**
* <pre>
* map<uint32, BMLNHLAGLIP> GJPKHDHDCDN = 12;
* map<uint32, NCJLKLJHJCF> NIDHAKJENJJ = 11;
* </pre>
*
* <code>repeated uint32 lineup2 = 2;</code>
* <code>repeated uint32 lineup2 = 12;</code>
* @param value the lineup2 to add
* @return this
*/
public ChallengeBossInfo addLineup2(final int value) {
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000010;
lineup2.add(value);
return this;
}
/**
* <pre>
* map<uint32, BMLNHLAGLIP> GJPKHDHDCDN = 12;
* map<uint32, NCJLKLJHJCF> NIDHAKJENJJ = 11;
* </pre>
*
* <code>repeated uint32 lineup2 = 2;</code>
* <code>repeated uint32 lineup2 = 12;</code>
* @param values the lineup2 to add
* @return this
*/
public ChallengeBossInfo addAllLineup2(final int... values) {
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000010;
lineup2.addAll(values);
return this;
}
/**
* <code>repeated uint32 lineup1 = 11;</code>
* @return whether the lineup1 field is set
*/
public boolean hasLineup1() {
return (bitField0_ & 0x00000010) != 0;
}
/**
* <code>repeated uint32 lineup1 = 11;</code>
* @return this
*/
public ChallengeBossInfo clearLineup1() {
bitField0_ &= ~0x00000010;
lineup1.clear();
return this;
}
/**
* <code>repeated uint32 lineup1 = 11;</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 #getMutableLineup1()} if you want to modify it.
*
* @return internal storage object for reading
*/
public RepeatedInt getLineup1() {
return lineup1;
}
/**
* <code>repeated uint32 lineup1 = 11;</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 RepeatedInt getMutableLineup1() {
bitField0_ |= 0x00000010;
return lineup1;
}
/**
* <code>repeated uint32 lineup1 = 11;</code>
* @param value the lineup1 to add
* @return this
*/
public ChallengeBossInfo addLineup1(final int value) {
bitField0_ |= 0x00000010;
lineup1.add(value);
return this;
}
/**
* <code>repeated uint32 lineup1 = 11;</code>
* @param values the lineup1 to add
* @return this
*/
public ChallengeBossInfo addAllLineup1(final int... values) {
bitField0_ |= 0x00000010;
lineup1.addAll(values);
return this;
}
@Override
public ChallengeBossInfo copyFrom(final ChallengeBossInfo other) {
cachedSize = other.cachedSize;
@@ -400,8 +408,8 @@ public final class ChallengeBossInfoOuterClass {
aCGHCDLBCGD = other.aCGHCDLBCGD;
firstNode.copyFrom(other.firstNode);
secondNode.copyFrom(other.secondNode);
lineup2.copyFrom(other.lineup2);
lineup1.copyFrom(other.lineup1);
lineup2.copyFrom(other.lineup2);
}
return this;
}
@@ -421,12 +429,12 @@ public final class ChallengeBossInfoOuterClass {
if (other.hasSecondNode()) {
getMutableSecondNode().mergeFrom(other.secondNode);
}
if (other.hasLineup2()) {
getMutableLineup2().addAll(other.lineup2);
}
if (other.hasLineup1()) {
getMutableLineup1().addAll(other.lineup1);
}
if (other.hasLineup2()) {
getMutableLineup2().addAll(other.lineup2);
}
return this;
}
@@ -440,8 +448,8 @@ public final class ChallengeBossInfoOuterClass {
aCGHCDLBCGD = false;
firstNode.clear();
secondNode.clear();
lineup2.clear();
lineup1.clear();
lineup2.clear();
return this;
}
@@ -454,8 +462,8 @@ public final class ChallengeBossInfoOuterClass {
bitField0_ = 0;
firstNode.clearQuick();
secondNode.clearQuick();
lineup2.clear();
lineup1.clear();
lineup2.clear();
return this;
}
@@ -472,14 +480,14 @@ public final class ChallengeBossInfoOuterClass {
&& (!hasACGHCDLBCGD() || aCGHCDLBCGD == other.aCGHCDLBCGD)
&& (!hasFirstNode() || firstNode.equals(other.firstNode))
&& (!hasSecondNode() || secondNode.equals(other.secondNode))
&& (!hasLineup2() || lineup2.equals(other.lineup2))
&& (!hasLineup1() || lineup1.equals(other.lineup1));
&& (!hasLineup1() || lineup1.equals(other.lineup1))
&& (!hasLineup2() || lineup2.equals(other.lineup2));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 112);
output.writeRawByte((byte) 104);
output.writeBoolNoTag(aCGHCDLBCGD);
}
if ((bitField0_ & 0x00000002) != 0) {
@@ -487,19 +495,19 @@ public final class ChallengeBossInfoOuterClass {
output.writeMessageNoTag(firstNode);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 42);
output.writeRawByte((byte) 122);
output.writeMessageNoTag(secondNode);
}
if ((bitField0_ & 0x00000008) != 0) {
for (int i = 0; i < lineup2.length(); i++) {
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(lineup2.array()[i]);
for (int i = 0; i < lineup1.length(); i++) {
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(lineup1.array()[i]);
}
}
if ((bitField0_ & 0x00000010) != 0) {
for (int i = 0; i < lineup1.length(); i++) {
output.writeRawByte((byte) 88);
output.writeUInt32NoTag(lineup1.array()[i]);
for (int i = 0; i < lineup2.length(); i++) {
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(lineup2.array()[i]);
}
}
}
@@ -517,10 +525,10 @@ public final class ChallengeBossInfoOuterClass {
size += 1 + ProtoSink.computeMessageSizeNoTag(secondNode);
}
if ((bitField0_ & 0x00000008) != 0) {
size += (1 * lineup2.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(lineup2);
size += (1 * lineup1.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(lineup1);
}
if ((bitField0_ & 0x00000010) != 0) {
size += (1 * lineup1.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(lineup1);
size += (1 * lineup2.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(lineup2);
}
return size;
}
@@ -532,7 +540,7 @@ public final class ChallengeBossInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 112: {
case 104: {
// aCGHCDLBCGD
aCGHCDLBCGD = input.readBool();
bitField0_ |= 0x00000001;
@@ -546,31 +554,31 @@ public final class ChallengeBossInfoOuterClass {
input.readMessage(firstNode);
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 42) {
if (tag != 122) {
break;
}
}
case 42: {
case 122: {
// secondNode
input.readMessage(secondNode);
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 18) {
if (tag != 26) {
break;
}
}
case 18: {
// lineup2 [packed=true]
input.readPackedUInt32(lineup2, tag);
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 90) {
break;
}
}
case 90: {
case 26: {
// lineup1 [packed=true]
input.readPackedUInt32(lineup1, tag);
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 98) {
break;
}
}
case 98: {
// lineup2 [packed=true]
input.readPackedUInt32(lineup2, tag);
bitField0_ |= 0x00000010;
tag = input.readTag();
if (tag != 0) {
@@ -587,15 +595,15 @@ public final class ChallengeBossInfoOuterClass {
tag = input.readTag();
break;
}
case 16: {
// lineup2 [packed=false]
tag = input.readRepeatedUInt32(lineup2, tag);
case 24: {
// lineup1 [packed=false]
tag = input.readRepeatedUInt32(lineup1, tag);
bitField0_ |= 0x00000008;
break;
}
case 88: {
// lineup1 [packed=false]
tag = input.readRepeatedUInt32(lineup1, tag);
case 96: {
// lineup2 [packed=false]
tag = input.readRepeatedUInt32(lineup2, tag);
bitField0_ |= 0x00000010;
break;
}
@@ -616,10 +624,10 @@ public final class ChallengeBossInfoOuterClass {
output.writeMessage(FieldNames.secondNode, secondNode);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRepeatedUInt32(FieldNames.lineup2, lineup2);
output.writeRepeatedUInt32(FieldNames.lineup1, lineup1);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRepeatedUInt32(FieldNames.lineup1, lineup1);
output.writeRepeatedUInt32(FieldNames.lineup2, lineup2);
}
output.endObject();
}
@@ -666,10 +674,10 @@ public final class ChallengeBossInfoOuterClass {
}
break;
}
case 176922755: {
if (input.isAtField(FieldNames.lineup2)) {
case 176922754: {
if (input.isAtField(FieldNames.lineup1)) {
if (!input.trySkipNullValue()) {
input.readRepeatedUInt32(lineup2);
input.readRepeatedUInt32(lineup1);
bitField0_ |= 0x00000008;
}
} else {
@@ -677,10 +685,10 @@ public final class ChallengeBossInfoOuterClass {
}
break;
}
case 176922754: {
if (input.isAtField(FieldNames.lineup1)) {
case 176922755: {
if (input.isAtField(FieldNames.lineup2)) {
if (!input.trySkipNullValue()) {
input.readRepeatedUInt32(lineup1);
input.readRepeatedUInt32(lineup2);
bitField0_ |= 0x00000010;
}
} else {
@@ -747,9 +755,9 @@ public final class ChallengeBossInfoOuterClass {
static final FieldName secondNode = FieldName.forField("secondNode", "second_node");
static final FieldName lineup2 = FieldName.forField("lineup2");
static final FieldName lineup1 = FieldName.forField("lineup1");
static final FieldName lineup2 = FieldName.forField("lineup2");
}
}
}

View File

@@ -20,52 +20,52 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 COKFJJOLMDI = 3;</code>
*/
private int cOKFJJOLMDI;
/**
* <code>optional uint32 challenge_score = 6;</code>
*/
private int challengeScore;
/**
* <code>optional uint32 phase = 8;</code>
*/
private int phase;
/**
* <code>optional uint32 stars = 9;</code>
*/
private int stars;
/**
* <code>optional uint32 challenge_id = 10;</code>
*/
private int challengeId;
/**
* <code>optional uint32 score_two = 14;</code>
* <code>optional uint32 score_two = 2;</code>
*/
private int scoreTwo;
/**
* <code>optional bool is_win = 1;</code>
* <code>optional uint32 challenge_score = 3;</code>
*/
private boolean isWin;
private int challengeScore;
/**
* <code>optional bool unkbool1 = 2;</code>
* <code>optional uint32 stars = 4;</code>
*/
private int stars;
/**
* <code>optional uint32 COKFJJOLMDI = 12;</code>
*/
private int cOKFJJOLMDI;
/**
* <code>optional uint32 challenge_id = 13;</code>
*/
private int challengeId;
/**
* <code>optional uint32 phase = 14;</code>
*/
private int phase;
/**
* <code>optional bool unkbool1 = 7;</code>
*/
private boolean unkbool1;
/**
* <code>optional bool is_win = 11;</code>
*/
private boolean isWin;
/**
* <code>optional bool unkbool2 = 15;</code>
*/
private boolean unkbool2;
/**
* <code>repeated .BattleTarget BIPEPADLEIA = 7;</code>
* <code>repeated .BattleTarget BIPEPADLEIA = 1;</code>
*/
private final RepeatedMessage<BattleTargetOuterClass.BattleTarget> bIPEPADLEIA = RepeatedMessage.newEmptyInstance(BattleTargetOuterClass.BattleTarget.getFactory());
@@ -80,44 +80,44 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>optional uint32 COKFJJOLMDI = 3;</code>
* @return whether the cOKFJJOLMDI field is set
* <code>optional uint32 score_two = 2;</code>
* @return whether the scoreTwo field is set
*/
public boolean hasCOKFJJOLMDI() {
public boolean hasScoreTwo() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 COKFJJOLMDI = 3;</code>
* <code>optional uint32 score_two = 2;</code>
* @return this
*/
public ChallengeBossPhaseSettleNotify clearCOKFJJOLMDI() {
public ChallengeBossPhaseSettleNotify clearScoreTwo() {
bitField0_ &= ~0x00000001;
cOKFJJOLMDI = 0;
scoreTwo = 0;
return this;
}
/**
* <code>optional uint32 COKFJJOLMDI = 3;</code>
* @return the cOKFJJOLMDI
* <code>optional uint32 score_two = 2;</code>
* @return the scoreTwo
*/
public int getCOKFJJOLMDI() {
return cOKFJJOLMDI;
public int getScoreTwo() {
return scoreTwo;
}
/**
* <code>optional uint32 COKFJJOLMDI = 3;</code>
* @param value the cOKFJJOLMDI to set
* <code>optional uint32 score_two = 2;</code>
* @param value the scoreTwo to set
* @return this
*/
public ChallengeBossPhaseSettleNotify setCOKFJJOLMDI(final int value) {
public ChallengeBossPhaseSettleNotify setScoreTwo(final int value) {
bitField0_ |= 0x00000001;
cOKFJJOLMDI = value;
scoreTwo = value;
return this;
}
/**
* <code>optional uint32 challenge_score = 6;</code>
* <code>optional uint32 challenge_score = 3;</code>
* @return whether the challengeScore field is set
*/
public boolean hasChallengeScore() {
@@ -125,7 +125,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>optional uint32 challenge_score = 6;</code>
* <code>optional uint32 challenge_score = 3;</code>
* @return this
*/
public ChallengeBossPhaseSettleNotify clearChallengeScore() {
@@ -135,7 +135,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>optional uint32 challenge_score = 6;</code>
* <code>optional uint32 challenge_score = 3;</code>
* @return the challengeScore
*/
public int getChallengeScore() {
@@ -143,7 +143,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>optional uint32 challenge_score = 6;</code>
* <code>optional uint32 challenge_score = 3;</code>
* @param value the challengeScore to set
* @return this
*/
@@ -154,62 +154,25 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>optional uint32 phase = 8;</code>
* @return whether the phase field is set
* <code>optional uint32 stars = 4;</code>
* @return whether the stars field is set
*/
public boolean hasPhase() {
public boolean hasStars() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 phase = 8;</code>
* @return this
*/
public ChallengeBossPhaseSettleNotify clearPhase() {
bitField0_ &= ~0x00000004;
phase = 0;
return this;
}
/**
* <code>optional uint32 phase = 8;</code>
* @return the phase
*/
public int getPhase() {
return phase;
}
/**
* <code>optional uint32 phase = 8;</code>
* @param value the phase to set
* @return this
*/
public ChallengeBossPhaseSettleNotify setPhase(final int value) {
bitField0_ |= 0x00000004;
phase = value;
return this;
}
/**
* <code>optional uint32 stars = 9;</code>
* @return whether the stars field is set
*/
public boolean hasStars() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 stars = 9;</code>
* <code>optional uint32 stars = 4;</code>
* @return this
*/
public ChallengeBossPhaseSettleNotify clearStars() {
bitField0_ &= ~0x00000008;
bitField0_ &= ~0x00000004;
stars = 0;
return this;
}
/**
* <code>optional uint32 stars = 9;</code>
* <code>optional uint32 stars = 4;</code>
* @return the stars
*/
public int getStars() {
@@ -217,18 +180,55 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>optional uint32 stars = 9;</code>
* <code>optional uint32 stars = 4;</code>
* @param value the stars to set
* @return this
*/
public ChallengeBossPhaseSettleNotify setStars(final int value) {
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000004;
stars = value;
return this;
}
/**
* <code>optional uint32 challenge_id = 10;</code>
* <code>optional uint32 COKFJJOLMDI = 12;</code>
* @return whether the cOKFJJOLMDI field is set
*/
public boolean hasCOKFJJOLMDI() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 COKFJJOLMDI = 12;</code>
* @return this
*/
public ChallengeBossPhaseSettleNotify clearCOKFJJOLMDI() {
bitField0_ &= ~0x00000008;
cOKFJJOLMDI = 0;
return this;
}
/**
* <code>optional uint32 COKFJJOLMDI = 12;</code>
* @return the cOKFJJOLMDI
*/
public int getCOKFJJOLMDI() {
return cOKFJJOLMDI;
}
/**
* <code>optional uint32 COKFJJOLMDI = 12;</code>
* @param value the cOKFJJOLMDI to set
* @return this
*/
public ChallengeBossPhaseSettleNotify setCOKFJJOLMDI(final int value) {
bitField0_ |= 0x00000008;
cOKFJJOLMDI = value;
return this;
}
/**
* <code>optional uint32 challenge_id = 13;</code>
* @return whether the challengeId field is set
*/
public boolean hasChallengeId() {
@@ -236,7 +236,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>optional uint32 challenge_id = 10;</code>
* <code>optional uint32 challenge_id = 13;</code>
* @return this
*/
public ChallengeBossPhaseSettleNotify clearChallengeId() {
@@ -246,7 +246,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>optional uint32 challenge_id = 10;</code>
* <code>optional uint32 challenge_id = 13;</code>
* @return the challengeId
*/
public int getChallengeId() {
@@ -254,7 +254,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>optional uint32 challenge_id = 10;</code>
* <code>optional uint32 challenge_id = 13;</code>
* @param value the challengeId to set
* @return this
*/
@@ -265,99 +265,62 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>optional uint32 score_two = 14;</code>
* @return whether the scoreTwo field is set
* <code>optional uint32 phase = 14;</code>
* @return whether the phase field is set
*/
public boolean hasScoreTwo() {
public boolean hasPhase() {
return (bitField0_ & 0x00000020) != 0;
}
/**
* <code>optional uint32 score_two = 14;</code>
* <code>optional uint32 phase = 14;</code>
* @return this
*/
public ChallengeBossPhaseSettleNotify clearScoreTwo() {
public ChallengeBossPhaseSettleNotify clearPhase() {
bitField0_ &= ~0x00000020;
scoreTwo = 0;
phase = 0;
return this;
}
/**
* <code>optional uint32 score_two = 14;</code>
* @return the scoreTwo
* <code>optional uint32 phase = 14;</code>
* @return the phase
*/
public int getScoreTwo() {
return scoreTwo;
public int getPhase() {
return phase;
}
/**
* <code>optional uint32 score_two = 14;</code>
* @param value the scoreTwo to set
* <code>optional uint32 phase = 14;</code>
* @param value the phase to set
* @return this
*/
public ChallengeBossPhaseSettleNotify setScoreTwo(final int value) {
public ChallengeBossPhaseSettleNotify setPhase(final int value) {
bitField0_ |= 0x00000020;
scoreTwo = value;
phase = value;
return this;
}
/**
* <code>optional bool is_win = 1;</code>
* @return whether the isWin field is set
* <code>optional bool unkbool1 = 7;</code>
* @return whether the unkbool1 field is set
*/
public boolean hasIsWin() {
public boolean hasUnkbool1() {
return (bitField0_ & 0x00000040) != 0;
}
/**
* <code>optional bool is_win = 1;</code>
* @return this
*/
public ChallengeBossPhaseSettleNotify clearIsWin() {
bitField0_ &= ~0x00000040;
isWin = false;
return this;
}
/**
* <code>optional bool is_win = 1;</code>
* @return the isWin
*/
public boolean getIsWin() {
return isWin;
}
/**
* <code>optional bool is_win = 1;</code>
* @param value the isWin to set
* @return this
*/
public ChallengeBossPhaseSettleNotify setIsWin(final boolean value) {
bitField0_ |= 0x00000040;
isWin = value;
return this;
}
/**
* <code>optional bool unkbool1 = 2;</code>
* @return whether the unkbool1 field is set
*/
public boolean hasUnkbool1() {
return (bitField0_ & 0x00000080) != 0;
}
/**
* <code>optional bool unkbool1 = 2;</code>
* <code>optional bool unkbool1 = 7;</code>
* @return this
*/
public ChallengeBossPhaseSettleNotify clearUnkbool1() {
bitField0_ &= ~0x00000080;
bitField0_ &= ~0x00000040;
unkbool1 = false;
return this;
}
/**
* <code>optional bool unkbool1 = 2;</code>
* <code>optional bool unkbool1 = 7;</code>
* @return the unkbool1
*/
public boolean getUnkbool1() {
@@ -365,16 +328,53 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>optional bool unkbool1 = 2;</code>
* <code>optional bool unkbool1 = 7;</code>
* @param value the unkbool1 to set
* @return this
*/
public ChallengeBossPhaseSettleNotify setUnkbool1(final boolean value) {
bitField0_ |= 0x00000080;
bitField0_ |= 0x00000040;
unkbool1 = value;
return this;
}
/**
* <code>optional bool is_win = 11;</code>
* @return whether the isWin field is set
*/
public boolean hasIsWin() {
return (bitField0_ & 0x00000080) != 0;
}
/**
* <code>optional bool is_win = 11;</code>
* @return this
*/
public ChallengeBossPhaseSettleNotify clearIsWin() {
bitField0_ &= ~0x00000080;
isWin = false;
return this;
}
/**
* <code>optional bool is_win = 11;</code>
* @return the isWin
*/
public boolean getIsWin() {
return isWin;
}
/**
* <code>optional bool is_win = 11;</code>
* @param value the isWin to set
* @return this
*/
public ChallengeBossPhaseSettleNotify setIsWin(final boolean value) {
bitField0_ |= 0x00000080;
isWin = value;
return this;
}
/**
* <code>optional bool unkbool2 = 15;</code>
* @return whether the unkbool2 field is set
@@ -413,7 +413,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>repeated .BattleTarget BIPEPADLEIA = 7;</code>
* <code>repeated .BattleTarget BIPEPADLEIA = 1;</code>
* @return whether the bIPEPADLEIA field is set
*/
public boolean hasBIPEPADLEIA() {
@@ -421,7 +421,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>repeated .BattleTarget BIPEPADLEIA = 7;</code>
* <code>repeated .BattleTarget BIPEPADLEIA = 1;</code>
* @return this
*/
public ChallengeBossPhaseSettleNotify clearBIPEPADLEIA() {
@@ -431,7 +431,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>repeated .BattleTarget BIPEPADLEIA = 7;</code>
* <code>repeated .BattleTarget BIPEPADLEIA = 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.
@@ -445,7 +445,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>repeated .BattleTarget BIPEPADLEIA = 7;</code>
* <code>repeated .BattleTarget BIPEPADLEIA = 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
@@ -459,7 +459,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>repeated .BattleTarget BIPEPADLEIA = 7;</code>
* <code>repeated .BattleTarget BIPEPADLEIA = 1;</code>
* @param value the bIPEPADLEIA to add
* @return this
*/
@@ -471,7 +471,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
* <code>repeated .BattleTarget BIPEPADLEIA = 7;</code>
* <code>repeated .BattleTarget BIPEPADLEIA = 1;</code>
* @param values the bIPEPADLEIA to add
* @return this
*/
@@ -487,14 +487,14 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
cOKFJJOLMDI = other.cOKFJJOLMDI;
challengeScore = other.challengeScore;
phase = other.phase;
stars = other.stars;
challengeId = other.challengeId;
scoreTwo = other.scoreTwo;
isWin = other.isWin;
challengeScore = other.challengeScore;
stars = other.stars;
cOKFJJOLMDI = other.cOKFJJOLMDI;
challengeId = other.challengeId;
phase = other.phase;
unkbool1 = other.unkbool1;
isWin = other.isWin;
unkbool2 = other.unkbool2;
bIPEPADLEIA.copyFrom(other.bIPEPADLEIA);
}
@@ -507,30 +507,30 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
return this;
}
cachedSize = -1;
if (other.hasCOKFJJOLMDI()) {
setCOKFJJOLMDI(other.cOKFJJOLMDI);
if (other.hasScoreTwo()) {
setScoreTwo(other.scoreTwo);
}
if (other.hasChallengeScore()) {
setChallengeScore(other.challengeScore);
}
if (other.hasPhase()) {
setPhase(other.phase);
}
if (other.hasStars()) {
setStars(other.stars);
}
if (other.hasCOKFJJOLMDI()) {
setCOKFJJOLMDI(other.cOKFJJOLMDI);
}
if (other.hasChallengeId()) {
setChallengeId(other.challengeId);
}
if (other.hasScoreTwo()) {
setScoreTwo(other.scoreTwo);
}
if (other.hasIsWin()) {
setIsWin(other.isWin);
if (other.hasPhase()) {
setPhase(other.phase);
}
if (other.hasUnkbool1()) {
setUnkbool1(other.unkbool1);
}
if (other.hasIsWin()) {
setIsWin(other.isWin);
}
if (other.hasUnkbool2()) {
setUnkbool2(other.unkbool2);
}
@@ -547,14 +547,14 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
cOKFJJOLMDI = 0;
challengeScore = 0;
phase = 0;
stars = 0;
challengeId = 0;
scoreTwo = 0;
isWin = false;
challengeScore = 0;
stars = 0;
cOKFJJOLMDI = 0;
challengeId = 0;
phase = 0;
unkbool1 = false;
isWin = false;
unkbool2 = false;
bIPEPADLEIA.clear();
return this;
@@ -581,14 +581,14 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
ChallengeBossPhaseSettleNotify other = (ChallengeBossPhaseSettleNotify) o;
return bitField0_ == other.bitField0_
&& (!hasCOKFJJOLMDI() || cOKFJJOLMDI == other.cOKFJJOLMDI)
&& (!hasChallengeScore() || challengeScore == other.challengeScore)
&& (!hasPhase() || phase == other.phase)
&& (!hasStars() || stars == other.stars)
&& (!hasChallengeId() || challengeId == other.challengeId)
&& (!hasScoreTwo() || scoreTwo == other.scoreTwo)
&& (!hasIsWin() || isWin == other.isWin)
&& (!hasChallengeScore() || challengeScore == other.challengeScore)
&& (!hasStars() || stars == other.stars)
&& (!hasCOKFJJOLMDI() || cOKFJJOLMDI == other.cOKFJJOLMDI)
&& (!hasChallengeId() || challengeId == other.challengeId)
&& (!hasPhase() || phase == other.phase)
&& (!hasUnkbool1() || unkbool1 == other.unkbool1)
&& (!hasIsWin() || isWin == other.isWin)
&& (!hasUnkbool2() || unkbool2 == other.unkbool2)
&& (!hasBIPEPADLEIA() || bIPEPADLEIA.equals(other.bIPEPADLEIA));
}
@@ -596,36 +596,36 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(cOKFJJOLMDI);
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(scoreTwo);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 48);
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(challengeScore);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(phase);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 72);
output.writeRawByte((byte) 32);
output.writeUInt32NoTag(stars);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(cOKFJJOLMDI);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 80);
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(challengeId);
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(scoreTwo);
output.writeUInt32NoTag(phase);
}
if ((bitField0_ & 0x00000040) != 0) {
output.writeRawByte((byte) 8);
output.writeBoolNoTag(isWin);
output.writeRawByte((byte) 56);
output.writeBoolNoTag(unkbool1);
}
if ((bitField0_ & 0x00000080) != 0) {
output.writeRawByte((byte) 16);
output.writeBoolNoTag(unkbool1);
output.writeRawByte((byte) 88);
output.writeBoolNoTag(isWin);
}
if ((bitField0_ & 0x00000100) != 0) {
output.writeRawByte((byte) 120);
@@ -633,7 +633,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
if ((bitField0_ & 0x00000200) != 0) {
for (int i = 0; i < bIPEPADLEIA.length(); i++) {
output.writeRawByte((byte) 58);
output.writeRawByte((byte) 10);
output.writeMessageNoTag(bIPEPADLEIA.get(i));
}
}
@@ -643,22 +643,22 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(cOKFJJOLMDI);
size += 1 + ProtoSink.computeUInt32SizeNoTag(scoreTwo);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeScore);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(phase);
size += 1 + ProtoSink.computeUInt32SizeNoTag(stars);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(stars);
size += 1 + ProtoSink.computeUInt32SizeNoTag(cOKFJJOLMDI);
}
if ((bitField0_ & 0x00000010) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeId);
}
if ((bitField0_ & 0x00000020) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(scoreTwo);
size += 1 + ProtoSink.computeUInt32SizeNoTag(phase);
}
if ((bitField0_ & 0x00000040) != 0) {
size += 2;
@@ -682,43 +682,43 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 24: {
// cOKFJJOLMDI
cOKFJJOLMDI = input.readUInt32();
case 16: {
// scoreTwo
scoreTwo = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 48) {
if (tag != 24) {
break;
}
}
case 48: {
case 24: {
// challengeScore
challengeScore = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 64) {
if (tag != 32) {
break;
}
}
case 64: {
// phase
phase = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 72) {
break;
}
}
case 72: {
case 32: {
// stars
stars = input.readUInt32();
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 80) {
if (tag != 96) {
break;
}
}
case 80: {
case 96: {
// cOKFJJOLMDI
cOKFJJOLMDI = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 104) {
break;
}
}
case 104: {
// challengeId
challengeId = input.readUInt32();
bitField0_ |= 0x00000010;
@@ -728,26 +728,26 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
}
case 112: {
// scoreTwo
scoreTwo = input.readUInt32();
// phase
phase = input.readUInt32();
bitField0_ |= 0x00000020;
tag = input.readTag();
if (tag != 8) {
if (tag != 56) {
break;
}
}
case 8: {
// isWin
isWin = input.readBool();
bitField0_ |= 0x00000040;
tag = input.readTag();
if (tag != 16) {
break;
}
}
case 16: {
case 56: {
// unkbool1
unkbool1 = input.readBool();
bitField0_ |= 0x00000040;
tag = input.readTag();
if (tag != 88) {
break;
}
}
case 88: {
// isWin
isWin = input.readBool();
bitField0_ |= 0x00000080;
tag = input.readTag();
if (tag != 120) {
@@ -759,11 +759,11 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
unkbool2 = input.readBool();
bitField0_ |= 0x00000100;
tag = input.readTag();
if (tag != 58) {
if (tag != 10) {
break;
}
}
case 58: {
case 10: {
// bIPEPADLEIA
tag = input.readRepeatedMessage(bIPEPADLEIA, tag);
bitField0_ |= 0x00000200;
@@ -789,28 +789,28 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.cOKFJJOLMDI, cOKFJJOLMDI);
output.writeUInt32(FieldNames.scoreTwo, scoreTwo);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.challengeScore, challengeScore);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.phase, phase);
output.writeUInt32(FieldNames.stars, stars);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.stars, stars);
output.writeUInt32(FieldNames.cOKFJJOLMDI, cOKFJJOLMDI);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeUInt32(FieldNames.challengeId, challengeId);
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeUInt32(FieldNames.scoreTwo, scoreTwo);
output.writeUInt32(FieldNames.phase, phase);
}
if ((bitField0_ & 0x00000040) != 0) {
output.writeBool(FieldNames.isWin, isWin);
output.writeBool(FieldNames.unkbool1, unkbool1);
}
if ((bitField0_ & 0x00000080) != 0) {
output.writeBool(FieldNames.unkbool1, unkbool1);
output.writeBool(FieldNames.isWin, isWin);
}
if ((bitField0_ & 0x00000100) != 0) {
output.writeBool(FieldNames.unkbool2, unkbool2);
@@ -828,10 +828,11 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -9162578: {
if (input.isAtField(FieldNames.cOKFJJOLMDI)) {
case -485512614:
case 2129303327: {
if (input.isAtField(FieldNames.scoreTwo)) {
if (!input.trySkipNullValue()) {
cOKFJJOLMDI = input.readUInt32();
scoreTwo = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -851,10 +852,10 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
break;
}
case 106629499: {
if (input.isAtField(FieldNames.phase)) {
case 109757537: {
if (input.isAtField(FieldNames.stars)) {
if (!input.trySkipNullValue()) {
phase = input.readUInt32();
stars = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -862,10 +863,10 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
break;
}
case 109757537: {
if (input.isAtField(FieldNames.stars)) {
case -9162578: {
if (input.isAtField(FieldNames.cOKFJJOLMDI)) {
if (!input.trySkipNullValue()) {
stars = input.readUInt32();
cOKFJJOLMDI = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -885,11 +886,10 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
break;
}
case -485512614:
case 2129303327: {
if (input.isAtField(FieldNames.scoreTwo)) {
case 106629499: {
if (input.isAtField(FieldNames.phase)) {
if (!input.trySkipNullValue()) {
scoreTwo = input.readUInt32();
phase = input.readUInt32();
bitField0_ |= 0x00000020;
}
} else {
@@ -897,22 +897,22 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
break;
}
case -251222827: {
if (input.isAtField(FieldNames.unkbool1)) {
if (!input.trySkipNullValue()) {
unkbool1 = input.readBool();
bitField0_ |= 0x00000040;
}
} else {
input.skipUnknownField();
}
break;
}
case 100482642:
case -1179753657: {
if (input.isAtField(FieldNames.isWin)) {
if (!input.trySkipNullValue()) {
isWin = input.readBool();
bitField0_ |= 0x00000040;
}
} else {
input.skipUnknownField();
}
break;
}
case -251222827: {
if (input.isAtField(FieldNames.unkbool1)) {
if (!input.trySkipNullValue()) {
unkbool1 = input.readBool();
bitField0_ |= 0x00000080;
}
} else {
@@ -997,22 +997,22 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName cOKFJJOLMDI = FieldName.forField("COKFJJOLMDI");
static final FieldName scoreTwo = FieldName.forField("scoreTwo", "score_two");
static final FieldName challengeScore = FieldName.forField("challengeScore", "challenge_score");
static final FieldName phase = FieldName.forField("phase");
static final FieldName stars = FieldName.forField("stars");
static final FieldName cOKFJJOLMDI = FieldName.forField("COKFJJOLMDI");
static final FieldName challengeId = FieldName.forField("challengeId", "challenge_id");
static final FieldName scoreTwo = FieldName.forField("scoreTwo", "score_two");
static final FieldName isWin = FieldName.forField("isWin", "is_win");
static final FieldName phase = FieldName.forField("phase");
static final FieldName unkbool1 = FieldName.forField("unkbool1");
static final FieldName isWin = FieldName.forField("isWin", "is_win");
static final FieldName unkbool2 = FieldName.forField("unkbool2");
static final FieldName bIPEPADLEIA = FieldName.forField("BIPEPADLEIA");

View File

@@ -19,24 +19,24 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 KLJPBAAGNFN = 11;</code>
* <code>optional uint32 buff_id = 3;</code>
*/
private int kLJPBAAGNFN;
private int buffId;
/**
* <code>optional uint32 DAIMOOEMHJF = 14;</code>
* <code>optional uint32 max_score = 14;</code>
*/
private int dAIMOOEMHJF;
private int maxScore;
/**
* <code>optional bool BMIKMFLHMJD = 5;</code>
* <code>optional bool is_win = 12;</code>
*/
private boolean bMIKMFLHMJD;
private boolean isWin;
/**
* <code>optional bool NAGJMPMHMMC = 7;</code>
* <code>optional bool has_been_challenged = 13;</code>
*/
private boolean nAGJMPMHMMC;
private boolean hasBeenChallenged;
private ChallengeBossSingleNodeInfo() {
}
@@ -49,150 +49,150 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
/**
* <code>optional uint32 KLJPBAAGNFN = 11;</code>
* @return whether the kLJPBAAGNFN field is set
* <code>optional uint32 buff_id = 3;</code>
* @return whether the buffId field is set
*/
public boolean hasKLJPBAAGNFN() {
public boolean hasBuffId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 KLJPBAAGNFN = 11;</code>
* <code>optional uint32 buff_id = 3;</code>
* @return this
*/
public ChallengeBossSingleNodeInfo clearKLJPBAAGNFN() {
public ChallengeBossSingleNodeInfo clearBuffId() {
bitField0_ &= ~0x00000001;
kLJPBAAGNFN = 0;
buffId = 0;
return this;
}
/**
* <code>optional uint32 KLJPBAAGNFN = 11;</code>
* @return the kLJPBAAGNFN
* <code>optional uint32 buff_id = 3;</code>
* @return the buffId
*/
public int getKLJPBAAGNFN() {
return kLJPBAAGNFN;
public int getBuffId() {
return buffId;
}
/**
* <code>optional uint32 KLJPBAAGNFN = 11;</code>
* @param value the kLJPBAAGNFN to set
* <code>optional uint32 buff_id = 3;</code>
* @param value the buffId to set
* @return this
*/
public ChallengeBossSingleNodeInfo setKLJPBAAGNFN(final int value) {
public ChallengeBossSingleNodeInfo setBuffId(final int value) {
bitField0_ |= 0x00000001;
kLJPBAAGNFN = value;
buffId = value;
return this;
}
/**
* <code>optional uint32 DAIMOOEMHJF = 14;</code>
* @return whether the dAIMOOEMHJF field is set
* <code>optional uint32 max_score = 14;</code>
* @return whether the maxScore field is set
*/
public boolean hasDAIMOOEMHJF() {
public boolean hasMaxScore() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 DAIMOOEMHJF = 14;</code>
* <code>optional uint32 max_score = 14;</code>
* @return this
*/
public ChallengeBossSingleNodeInfo clearDAIMOOEMHJF() {
public ChallengeBossSingleNodeInfo clearMaxScore() {
bitField0_ &= ~0x00000002;
dAIMOOEMHJF = 0;
maxScore = 0;
return this;
}
/**
* <code>optional uint32 DAIMOOEMHJF = 14;</code>
* @return the dAIMOOEMHJF
* <code>optional uint32 max_score = 14;</code>
* @return the maxScore
*/
public int getDAIMOOEMHJF() {
return dAIMOOEMHJF;
public int getMaxScore() {
return maxScore;
}
/**
* <code>optional uint32 DAIMOOEMHJF = 14;</code>
* @param value the dAIMOOEMHJF to set
* <code>optional uint32 max_score = 14;</code>
* @param value the maxScore to set
* @return this
*/
public ChallengeBossSingleNodeInfo setDAIMOOEMHJF(final int value) {
public ChallengeBossSingleNodeInfo setMaxScore(final int value) {
bitField0_ |= 0x00000002;
dAIMOOEMHJF = value;
maxScore = value;
return this;
}
/**
* <code>optional bool BMIKMFLHMJD = 5;</code>
* @return whether the bMIKMFLHMJD field is set
* <code>optional bool is_win = 12;</code>
* @return whether the isWin field is set
*/
public boolean hasBMIKMFLHMJD() {
public boolean hasIsWin() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional bool BMIKMFLHMJD = 5;</code>
* <code>optional bool is_win = 12;</code>
* @return this
*/
public ChallengeBossSingleNodeInfo clearBMIKMFLHMJD() {
public ChallengeBossSingleNodeInfo clearIsWin() {
bitField0_ &= ~0x00000004;
bMIKMFLHMJD = false;
isWin = false;
return this;
}
/**
* <code>optional bool BMIKMFLHMJD = 5;</code>
* @return the bMIKMFLHMJD
* <code>optional bool is_win = 12;</code>
* @return the isWin
*/
public boolean getBMIKMFLHMJD() {
return bMIKMFLHMJD;
public boolean getIsWin() {
return isWin;
}
/**
* <code>optional bool BMIKMFLHMJD = 5;</code>
* @param value the bMIKMFLHMJD to set
* <code>optional bool is_win = 12;</code>
* @param value the isWin to set
* @return this
*/
public ChallengeBossSingleNodeInfo setBMIKMFLHMJD(final boolean value) {
public ChallengeBossSingleNodeInfo setIsWin(final boolean value) {
bitField0_ |= 0x00000004;
bMIKMFLHMJD = value;
isWin = value;
return this;
}
/**
* <code>optional bool NAGJMPMHMMC = 7;</code>
* @return whether the nAGJMPMHMMC field is set
* <code>optional bool has_been_challenged = 13;</code>
* @return whether the hasBeenChallenged field is set
*/
public boolean hasNAGJMPMHMMC() {
public boolean hasHasBeenChallenged() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional bool NAGJMPMHMMC = 7;</code>
* <code>optional bool has_been_challenged = 13;</code>
* @return this
*/
public ChallengeBossSingleNodeInfo clearNAGJMPMHMMC() {
public ChallengeBossSingleNodeInfo clearHasBeenChallenged() {
bitField0_ &= ~0x00000008;
nAGJMPMHMMC = false;
hasBeenChallenged = false;
return this;
}
/**
* <code>optional bool NAGJMPMHMMC = 7;</code>
* @return the nAGJMPMHMMC
* <code>optional bool has_been_challenged = 13;</code>
* @return the hasBeenChallenged
*/
public boolean getNAGJMPMHMMC() {
return nAGJMPMHMMC;
public boolean getHasBeenChallenged() {
return hasBeenChallenged;
}
/**
* <code>optional bool NAGJMPMHMMC = 7;</code>
* @param value the nAGJMPMHMMC to set
* <code>optional bool has_been_challenged = 13;</code>
* @param value the hasBeenChallenged to set
* @return this
*/
public ChallengeBossSingleNodeInfo setNAGJMPMHMMC(final boolean value) {
public ChallengeBossSingleNodeInfo setHasBeenChallenged(final boolean value) {
bitField0_ |= 0x00000008;
nAGJMPMHMMC = value;
hasBeenChallenged = value;
return this;
}
@@ -201,10 +201,10 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
kLJPBAAGNFN = other.kLJPBAAGNFN;
dAIMOOEMHJF = other.dAIMOOEMHJF;
bMIKMFLHMJD = other.bMIKMFLHMJD;
nAGJMPMHMMC = other.nAGJMPMHMMC;
buffId = other.buffId;
maxScore = other.maxScore;
isWin = other.isWin;
hasBeenChallenged = other.hasBeenChallenged;
}
return this;
}
@@ -215,17 +215,17 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
return this;
}
cachedSize = -1;
if (other.hasKLJPBAAGNFN()) {
setKLJPBAAGNFN(other.kLJPBAAGNFN);
if (other.hasBuffId()) {
setBuffId(other.buffId);
}
if (other.hasDAIMOOEMHJF()) {
setDAIMOOEMHJF(other.dAIMOOEMHJF);
if (other.hasMaxScore()) {
setMaxScore(other.maxScore);
}
if (other.hasBMIKMFLHMJD()) {
setBMIKMFLHMJD(other.bMIKMFLHMJD);
if (other.hasIsWin()) {
setIsWin(other.isWin);
}
if (other.hasNAGJMPMHMMC()) {
setNAGJMPMHMMC(other.nAGJMPMHMMC);
if (other.hasHasBeenChallenged()) {
setHasBeenChallenged(other.hasBeenChallenged);
}
return this;
}
@@ -237,10 +237,10 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
kLJPBAAGNFN = 0;
dAIMOOEMHJF = 0;
bMIKMFLHMJD = false;
nAGJMPMHMMC = false;
buffId = 0;
maxScore = 0;
isWin = false;
hasBeenChallenged = false;
return this;
}
@@ -264,29 +264,29 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
ChallengeBossSingleNodeInfo other = (ChallengeBossSingleNodeInfo) o;
return bitField0_ == other.bitField0_
&& (!hasKLJPBAAGNFN() || kLJPBAAGNFN == other.kLJPBAAGNFN)
&& (!hasDAIMOOEMHJF() || dAIMOOEMHJF == other.dAIMOOEMHJF)
&& (!hasBMIKMFLHMJD() || bMIKMFLHMJD == other.bMIKMFLHMJD)
&& (!hasNAGJMPMHMMC() || nAGJMPMHMMC == other.nAGJMPMHMMC);
&& (!hasBuffId() || buffId == other.buffId)
&& (!hasMaxScore() || maxScore == other.maxScore)
&& (!hasIsWin() || isWin == other.isWin)
&& (!hasHasBeenChallenged() || hasBeenChallenged == other.hasBeenChallenged);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 88);
output.writeUInt32NoTag(kLJPBAAGNFN);
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(buffId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(dAIMOOEMHJF);
output.writeUInt32NoTag(maxScore);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 40);
output.writeBoolNoTag(bMIKMFLHMJD);
output.writeRawByte((byte) 96);
output.writeBoolNoTag(isWin);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 56);
output.writeBoolNoTag(nAGJMPMHMMC);
output.writeRawByte((byte) 104);
output.writeBoolNoTag(hasBeenChallenged);
}
}
@@ -294,10 +294,10 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(kLJPBAAGNFN);
size += 1 + ProtoSink.computeUInt32SizeNoTag(buffId);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(dAIMOOEMHJF);
size += 1 + ProtoSink.computeUInt32SizeNoTag(maxScore);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 2;
@@ -315,9 +315,9 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 88: {
// kLJPBAAGNFN
kLJPBAAGNFN = input.readUInt32();
case 24: {
// buffId
buffId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 112) {
@@ -325,26 +325,26 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
}
case 112: {
// dAIMOOEMHJF
dAIMOOEMHJF = input.readUInt32();
// maxScore
maxScore = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 40) {
if (tag != 96) {
break;
}
}
case 40: {
// bMIKMFLHMJD
bMIKMFLHMJD = input.readBool();
case 96: {
// isWin
isWin = input.readBool();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 56) {
if (tag != 104) {
break;
}
}
case 56: {
// nAGJMPMHMMC
nAGJMPMHMMC = input.readBool();
case 104: {
// hasBeenChallenged
hasBeenChallenged = input.readBool();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 0) {
@@ -369,16 +369,16 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.kLJPBAAGNFN, kLJPBAAGNFN);
output.writeUInt32(FieldNames.buffId, buffId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.dAIMOOEMHJF, dAIMOOEMHJF);
output.writeUInt32(FieldNames.maxScore, maxScore);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeBool(FieldNames.bMIKMFLHMJD, bMIKMFLHMJD);
output.writeBool(FieldNames.isWin, isWin);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeBool(FieldNames.nAGJMPMHMMC, nAGJMPMHMMC);
output.writeBool(FieldNames.hasBeenChallenged, hasBeenChallenged);
}
output.endObject();
}
@@ -390,10 +390,11 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -1930444150: {
if (input.isAtField(FieldNames.kLJPBAAGNFN)) {
case -1378119474:
case 227990663: {
if (input.isAtField(FieldNames.buffId)) {
if (!input.trySkipNullValue()) {
kLJPBAAGNFN = input.readUInt32();
buffId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -401,10 +402,11 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
break;
}
case -143725957: {
if (input.isAtField(FieldNames.dAIMOOEMHJF)) {
case 396519310:
case -234837001: {
if (input.isAtField(FieldNames.maxScore)) {
if (!input.trySkipNullValue()) {
dAIMOOEMHJF = input.readUInt32();
maxScore = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -412,10 +414,11 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
break;
}
case -124987899: {
if (input.isAtField(FieldNames.bMIKMFLHMJD)) {
case 100482642:
case -1179753657: {
if (input.isAtField(FieldNames.isWin)) {
if (!input.trySkipNullValue()) {
bMIKMFLHMJD = input.readBool();
isWin = input.readBool();
bitField0_ |= 0x00000004;
}
} else {
@@ -423,10 +426,11 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
break;
}
case 8940751: {
if (input.isAtField(FieldNames.nAGJMPMHMMC)) {
case -1986428185:
case 1158132399: {
if (input.isAtField(FieldNames.hasBeenChallenged)) {
if (!input.trySkipNullValue()) {
nAGJMPMHMMC = input.readBool();
hasBeenChallenged = input.readBool();
bitField0_ |= 0x00000008;
}
} else {
@@ -488,13 +492,13 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName kLJPBAAGNFN = FieldName.forField("KLJPBAAGNFN");
static final FieldName buffId = FieldName.forField("buffId", "buff_id");
static final FieldName dAIMOOEMHJF = FieldName.forField("DAIMOOEMHJF");
static final FieldName maxScore = FieldName.forField("maxScore", "max_score");
static final FieldName bMIKMFLHMJD = FieldName.forField("BMIKMFLHMJD");
static final FieldName isWin = FieldName.forField("isWin", "is_win");
static final FieldName nAGJMPMHMMC = FieldName.forField("NAGJMPMHMMC");
static final FieldName hasBeenChallenged = FieldName.forField("hasBeenChallenged", "has_been_challenged");
}
}
}

View File

@@ -19,7 +19,7 @@ public final class ChallengeDevelopmentInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 challenge_id = 1;</code>
* <code>optional uint32 challenge_id = 14;</code>
*/
private int challengeId;
@@ -34,7 +34,7 @@ public final class ChallengeDevelopmentInfoOuterClass {
}
/**
* <code>optional uint32 challenge_id = 1;</code>
* <code>optional uint32 challenge_id = 14;</code>
* @return whether the challengeId field is set
*/
public boolean hasChallengeId() {
@@ -42,7 +42,7 @@ public final class ChallengeDevelopmentInfoOuterClass {
}
/**
* <code>optional uint32 challenge_id = 1;</code>
* <code>optional uint32 challenge_id = 14;</code>
* @return this
*/
public ChallengeDevelopmentInfo clearChallengeId() {
@@ -52,7 +52,7 @@ public final class ChallengeDevelopmentInfoOuterClass {
}
/**
* <code>optional uint32 challenge_id = 1;</code>
* <code>optional uint32 challenge_id = 14;</code>
* @return the challengeId
*/
public int getChallengeId() {
@@ -60,7 +60,7 @@ public final class ChallengeDevelopmentInfoOuterClass {
}
/**
* <code>optional uint32 challenge_id = 1;</code>
* <code>optional uint32 challenge_id = 14;</code>
* @param value the challengeId to set
* @return this
*/
@@ -129,7 +129,7 @@ public final class ChallengeDevelopmentInfoOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 8);
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(challengeId);
}
}
@@ -150,7 +150,7 @@ public final class ChallengeDevelopmentInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 8: {
case 112: {
// challengeId
challengeId = input.readUInt32();
bitField0_ |= 0x00000001;

View File

@@ -19,7 +19,7 @@ public final class ChallengeExtInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional .ChallengeBossInfo boss_info = 11;</code>
* <code>optional .ChallengeBossInfo boss_info = 4;</code>
*/
private final ChallengeBossInfoOuterClass.ChallengeBossInfo bossInfo = ChallengeBossInfoOuterClass.ChallengeBossInfo.newInstance();
@@ -33,8 +33,19 @@ public final class ChallengeExtInfoOuterClass {
return new ChallengeExtInfo();
}
public boolean hasChallengeExt() {
return (((bitField0_ & 0x00000001)) != 0);
}
public ChallengeExtInfo clearChallengeExt() {
if (hasChallengeExt()) {
clearBossInfo();
}
return this;
}
/**
* <code>optional .ChallengeBossInfo boss_info = 11;</code>
* <code>optional .ChallengeBossInfo boss_info = 4;</code>
* @return whether the bossInfo field is set
*/
public boolean hasBossInfo() {
@@ -42,7 +53,7 @@ public final class ChallengeExtInfoOuterClass {
}
/**
* <code>optional .ChallengeBossInfo boss_info = 11;</code>
* <code>optional .ChallengeBossInfo boss_info = 4;</code>
* @return this
*/
public ChallengeExtInfo clearBossInfo() {
@@ -52,7 +63,7 @@ public final class ChallengeExtInfoOuterClass {
}
/**
* <code>optional .ChallengeBossInfo boss_info = 11;</code>
* <code>optional .ChallengeBossInfo boss_info = 4;</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.
@@ -66,7 +77,7 @@ public final class ChallengeExtInfoOuterClass {
}
/**
* <code>optional .ChallengeBossInfo boss_info = 11;</code>
* <code>optional .ChallengeBossInfo boss_info = 4;</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
@@ -80,7 +91,7 @@ public final class ChallengeExtInfoOuterClass {
}
/**
* <code>optional .ChallengeBossInfo boss_info = 11;</code>
* <code>optional .ChallengeBossInfo boss_info = 4;</code>
* @param value the bossInfo to set
* @return this
*/
@@ -150,7 +161,7 @@ public final class ChallengeExtInfoOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 90);
output.writeRawByte((byte) 34);
output.writeMessageNoTag(bossInfo);
}
}
@@ -171,7 +182,7 @@ public final class ChallengeExtInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 90: {
case 34: {
// bossInfo
input.readMessage(bossInfo);
bitField0_ |= 0x00000001;

View File

@@ -19,37 +19,37 @@ public final class ChallengeInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 score = 3;</code>
*/
private int score;
/**
* <code>optional uint32 challenge_id = 5;</code>
* <code>optional uint32 challenge_id = 4;</code>
*/
private int challengeId;
/**
* <code>optional uint32 score_two = 12;</code>
* <code>optional uint32 score_two = 5;</code>
*/
private int scoreTwo;
/**
* <code>optional uint32 round_count = 14;</code>
* <code>optional uint32 round_count = 13;</code>
*/
private int roundCount;
/**
* <code>optional .ExtraLineupType extra_lineup_type = 7;</code>
* <code>optional uint32 score = 14;</code>
*/
private int extraLineupType;
private int score;
/**
* <code>optional .ChallengeStatus status = 13;</code>
* <code>optional .ChallengeStatus status = 1;</code>
*/
private int status;
/**
* <code>optional .ChallengeStoryInfo ext_info = 9;</code>
* <code>optional .ExtraLineupType extra_lineup_type = 11;</code>
*/
private int extraLineupType;
/**
* <code>optional .ChallengeStoryInfo ext_info = 7;</code>
*/
private final ChallengeStoryInfoOuterClass.ChallengeStoryInfo extInfo = ChallengeStoryInfoOuterClass.ChallengeStoryInfo.newInstance();
@@ -64,62 +64,25 @@ public final class ChallengeInfoOuterClass {
}
/**
* <code>optional uint32 score = 3;</code>
* @return whether the score field is set
* <code>optional uint32 challenge_id = 4;</code>
* @return whether the challengeId field is set
*/
public boolean hasScore() {
public boolean hasChallengeId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 score = 3;</code>
* @return this
*/
public ChallengeInfo clearScore() {
bitField0_ &= ~0x00000001;
score = 0;
return this;
}
/**
* <code>optional uint32 score = 3;</code>
* @return the score
*/
public int getScore() {
return score;
}
/**
* <code>optional uint32 score = 3;</code>
* @param value the score to set
* @return this
*/
public ChallengeInfo setScore(final int value) {
bitField0_ |= 0x00000001;
score = value;
return this;
}
/**
* <code>optional uint32 challenge_id = 5;</code>
* @return whether the challengeId field is set
*/
public boolean hasChallengeId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 challenge_id = 5;</code>
* <code>optional uint32 challenge_id = 4;</code>
* @return this
*/
public ChallengeInfo clearChallengeId() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
challengeId = 0;
return this;
}
/**
* <code>optional uint32 challenge_id = 5;</code>
* <code>optional uint32 challenge_id = 4;</code>
* @return the challengeId
*/
public int getChallengeId() {
@@ -127,36 +90,36 @@ public final class ChallengeInfoOuterClass {
}
/**
* <code>optional uint32 challenge_id = 5;</code>
* <code>optional uint32 challenge_id = 4;</code>
* @param value the challengeId to set
* @return this
*/
public ChallengeInfo setChallengeId(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
challengeId = value;
return this;
}
/**
* <code>optional uint32 score_two = 12;</code>
* <code>optional uint32 score_two = 5;</code>
* @return whether the scoreTwo field is set
*/
public boolean hasScoreTwo() {
return (bitField0_ & 0x00000004) != 0;
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 score_two = 12;</code>
* <code>optional uint32 score_two = 5;</code>
* @return this
*/
public ChallengeInfo clearScoreTwo() {
bitField0_ &= ~0x00000004;
bitField0_ &= ~0x00000002;
scoreTwo = 0;
return this;
}
/**
* <code>optional uint32 score_two = 12;</code>
* <code>optional uint32 score_two = 5;</code>
* @return the scoreTwo
*/
public int getScoreTwo() {
@@ -164,36 +127,36 @@ public final class ChallengeInfoOuterClass {
}
/**
* <code>optional uint32 score_two = 12;</code>
* <code>optional uint32 score_two = 5;</code>
* @param value the scoreTwo to set
* @return this
*/
public ChallengeInfo setScoreTwo(final int value) {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000002;
scoreTwo = value;
return this;
}
/**
* <code>optional uint32 round_count = 14;</code>
* <code>optional uint32 round_count = 13;</code>
* @return whether the roundCount field is set
*/
public boolean hasRoundCount() {
return (bitField0_ & 0x00000008) != 0;
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 round_count = 14;</code>
* <code>optional uint32 round_count = 13;</code>
* @return this
*/
public ChallengeInfo clearRoundCount() {
bitField0_ &= ~0x00000008;
bitField0_ &= ~0x00000004;
roundCount = 0;
return this;
}
/**
* <code>optional uint32 round_count = 14;</code>
* <code>optional uint32 round_count = 13;</code>
* @return the roundCount
*/
public int getRoundCount() {
@@ -201,98 +164,73 @@ public final class ChallengeInfoOuterClass {
}
/**
* <code>optional uint32 round_count = 14;</code>
* <code>optional uint32 round_count = 13;</code>
* @param value the roundCount to set
* @return this
*/
public ChallengeInfo setRoundCount(final int value) {
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000004;
roundCount = value;
return this;
}
/**
* <code>optional .ExtraLineupType extra_lineup_type = 7;</code>
* @return whether the extraLineupType field is set
* <code>optional uint32 score = 14;</code>
* @return whether the score field is set
*/
public boolean hasExtraLineupType() {
public boolean hasScore() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 score = 14;</code>
* @return this
*/
public ChallengeInfo clearScore() {
bitField0_ &= ~0x00000008;
score = 0;
return this;
}
/**
* <code>optional uint32 score = 14;</code>
* @return the score
*/
public int getScore() {
return score;
}
/**
* <code>optional uint32 score = 14;</code>
* @param value the score to set
* @return this
*/
public ChallengeInfo setScore(final int value) {
bitField0_ |= 0x00000008;
score = value;
return this;
}
/**
* <code>optional .ChallengeStatus status = 1;</code>
* @return whether the status field is set
*/
public boolean hasStatus() {
return (bitField0_ & 0x00000010) != 0;
}
/**
* <code>optional .ExtraLineupType extra_lineup_type = 7;</code>
* @return this
*/
public ChallengeInfo clearExtraLineupType() {
bitField0_ &= ~0x00000010;
extraLineupType = 0;
return this;
}
/**
* <code>optional .ExtraLineupType extra_lineup_type = 7;</code>
* @return the extraLineupType
*/
public ExtraLineupTypeOuterClass.ExtraLineupType getExtraLineupType() {
return ExtraLineupTypeOuterClass.ExtraLineupType.forNumber(extraLineupType);
}
/**
* Gets the value of the internal enum store. The result is
* equivalent to {@link ChallengeInfo#getExtraLineupType()}.getNumber().
*
* @return numeric wire representation
*/
public int getExtraLineupTypeValue() {
return extraLineupType;
}
/**
* Sets the value of the internal enum store. This does not
* do any validity checks, so be sure to use appropriate value
* constants from {@link ExtraLineupTypeOuterClass.ExtraLineupType}. Setting an invalid value
* can cause {@link ChallengeInfo#getExtraLineupType()} to return null
*
* @param value the numeric wire value to set
* @return this
*/
public ChallengeInfo setExtraLineupTypeValue(final int value) {
bitField0_ |= 0x00000010;
extraLineupType = value;
return this;
}
/**
* <code>optional .ExtraLineupType extra_lineup_type = 7;</code>
* @param value the extraLineupType to set
* @return this
*/
public ChallengeInfo setExtraLineupType(final ExtraLineupTypeOuterClass.ExtraLineupType value) {
bitField0_ |= 0x00000010;
extraLineupType = value.getNumber();
return this;
}
/**
* <code>optional .ChallengeStatus status = 13;</code>
* @return whether the status field is set
*/
public boolean hasStatus() {
return (bitField0_ & 0x00000020) != 0;
}
/**
* <code>optional .ChallengeStatus status = 13;</code>
* <code>optional .ChallengeStatus status = 1;</code>
* @return this
*/
public ChallengeInfo clearStatus() {
bitField0_ &= ~0x00000020;
bitField0_ &= ~0x00000010;
status = 0;
return this;
}
/**
* <code>optional .ChallengeStatus status = 13;</code>
* <code>optional .ChallengeStatus status = 1;</code>
* @return the status
*/
public ChallengeStatusOuterClass.ChallengeStatus getStatus() {
@@ -319,24 +257,86 @@ public final class ChallengeInfoOuterClass {
* @return this
*/
public ChallengeInfo setStatusValue(final int value) {
bitField0_ |= 0x00000020;
bitField0_ |= 0x00000010;
status = value;
return this;
}
/**
* <code>optional .ChallengeStatus status = 13;</code>
* <code>optional .ChallengeStatus status = 1;</code>
* @param value the status to set
* @return this
*/
public ChallengeInfo setStatus(final ChallengeStatusOuterClass.ChallengeStatus value) {
bitField0_ |= 0x00000020;
bitField0_ |= 0x00000010;
status = value.getNumber();
return this;
}
/**
* <code>optional .ChallengeStoryInfo ext_info = 9;</code>
* <code>optional .ExtraLineupType extra_lineup_type = 11;</code>
* @return whether the extraLineupType field is set
*/
public boolean hasExtraLineupType() {
return (bitField0_ & 0x00000020) != 0;
}
/**
* <code>optional .ExtraLineupType extra_lineup_type = 11;</code>
* @return this
*/
public ChallengeInfo clearExtraLineupType() {
bitField0_ &= ~0x00000020;
extraLineupType = 0;
return this;
}
/**
* <code>optional .ExtraLineupType extra_lineup_type = 11;</code>
* @return the extraLineupType
*/
public ExtraLineupTypeOuterClass.ExtraLineupType getExtraLineupType() {
return ExtraLineupTypeOuterClass.ExtraLineupType.forNumber(extraLineupType);
}
/**
* Gets the value of the internal enum store. The result is
* equivalent to {@link ChallengeInfo#getExtraLineupType()}.getNumber().
*
* @return numeric wire representation
*/
public int getExtraLineupTypeValue() {
return extraLineupType;
}
/**
* Sets the value of the internal enum store. This does not
* do any validity checks, so be sure to use appropriate value
* constants from {@link ExtraLineupTypeOuterClass.ExtraLineupType}. Setting an invalid value
* can cause {@link ChallengeInfo#getExtraLineupType()} to return null
*
* @param value the numeric wire value to set
* @return this
*/
public ChallengeInfo setExtraLineupTypeValue(final int value) {
bitField0_ |= 0x00000020;
extraLineupType = value;
return this;
}
/**
* <code>optional .ExtraLineupType extra_lineup_type = 11;</code>
* @param value the extraLineupType to set
* @return this
*/
public ChallengeInfo setExtraLineupType(final ExtraLineupTypeOuterClass.ExtraLineupType value) {
bitField0_ |= 0x00000020;
extraLineupType = value.getNumber();
return this;
}
/**
* <code>optional .ChallengeStoryInfo ext_info = 7;</code>
* @return whether the extInfo field is set
*/
public boolean hasExtInfo() {
@@ -344,7 +344,7 @@ public final class ChallengeInfoOuterClass {
}
/**
* <code>optional .ChallengeStoryInfo ext_info = 9;</code>
* <code>optional .ChallengeStoryInfo ext_info = 7;</code>
* @return this
*/
public ChallengeInfo clearExtInfo() {
@@ -354,7 +354,7 @@ public final class ChallengeInfoOuterClass {
}
/**
* <code>optional .ChallengeStoryInfo ext_info = 9;</code>
* <code>optional .ChallengeStoryInfo ext_info = 7;</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.
@@ -368,7 +368,7 @@ public final class ChallengeInfoOuterClass {
}
/**
* <code>optional .ChallengeStoryInfo ext_info = 9;</code>
* <code>optional .ChallengeStoryInfo ext_info = 7;</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
@@ -382,7 +382,7 @@ public final class ChallengeInfoOuterClass {
}
/**
* <code>optional .ChallengeStoryInfo ext_info = 9;</code>
* <code>optional .ChallengeStoryInfo ext_info = 7;</code>
* @param value the extInfo to set
* @return this
*/
@@ -397,12 +397,12 @@ public final class ChallengeInfoOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
score = other.score;
challengeId = other.challengeId;
scoreTwo = other.scoreTwo;
roundCount = other.roundCount;
extraLineupType = other.extraLineupType;
score = other.score;
status = other.status;
extraLineupType = other.extraLineupType;
extInfo.copyFrom(other.extInfo);
}
return this;
@@ -414,9 +414,6 @@ public final class ChallengeInfoOuterClass {
return this;
}
cachedSize = -1;
if (other.hasScore()) {
setScore(other.score);
}
if (other.hasChallengeId()) {
setChallengeId(other.challengeId);
}
@@ -426,12 +423,15 @@ public final class ChallengeInfoOuterClass {
if (other.hasRoundCount()) {
setRoundCount(other.roundCount);
}
if (other.hasExtraLineupType()) {
setExtraLineupTypeValue(other.extraLineupType);
if (other.hasScore()) {
setScore(other.score);
}
if (other.hasStatus()) {
setStatusValue(other.status);
}
if (other.hasExtraLineupType()) {
setExtraLineupTypeValue(other.extraLineupType);
}
if (other.hasExtInfo()) {
getMutableExtInfo().mergeFrom(other.extInfo);
}
@@ -445,12 +445,12 @@ public final class ChallengeInfoOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
score = 0;
challengeId = 0;
scoreTwo = 0;
roundCount = 0;
extraLineupType = 0;
score = 0;
status = 0;
extraLineupType = 0;
extInfo.clear();
return this;
}
@@ -476,43 +476,43 @@ public final class ChallengeInfoOuterClass {
}
ChallengeInfo other = (ChallengeInfo) o;
return bitField0_ == other.bitField0_
&& (!hasScore() || score == other.score)
&& (!hasChallengeId() || challengeId == other.challengeId)
&& (!hasScoreTwo() || scoreTwo == other.scoreTwo)
&& (!hasRoundCount() || roundCount == other.roundCount)
&& (!hasExtraLineupType() || extraLineupType == other.extraLineupType)
&& (!hasScore() || score == other.score)
&& (!hasStatus() || status == other.status)
&& (!hasExtraLineupType() || extraLineupType == other.extraLineupType)
&& (!hasExtInfo() || extInfo.equals(other.extInfo));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(score);
output.writeRawByte((byte) 32);
output.writeUInt32NoTag(challengeId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 40);
output.writeUInt32NoTag(challengeId);
output.writeUInt32NoTag(scoreTwo);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(scoreTwo);
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(roundCount);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(roundCount);
output.writeUInt32NoTag(score);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 56);
output.writeEnumNoTag(extraLineupType);
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeRawByte((byte) 104);
output.writeRawByte((byte) 8);
output.writeEnumNoTag(status);
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeRawByte((byte) 88);
output.writeEnumNoTag(extraLineupType);
}
if ((bitField0_ & 0x00000040) != 0) {
output.writeRawByte((byte) 74);
output.writeRawByte((byte) 58);
output.writeMessageNoTag(extInfo);
}
}
@@ -521,22 +521,22 @@ public final class ChallengeInfoOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(score);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeId);
}
if ((bitField0_ & 0x00000004) != 0) {
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(scoreTwo);
}
if ((bitField0_ & 0x00000008) != 0) {
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(roundCount);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(score);
}
if ((bitField0_ & 0x00000010) != 0) {
size += 1 + ProtoSink.computeEnumSizeNoTag(extraLineupType);
size += 1 + ProtoSink.computeEnumSizeNoTag(status);
}
if ((bitField0_ & 0x00000020) != 0) {
size += 1 + ProtoSink.computeEnumSizeNoTag(status);
size += 1 + ProtoSink.computeEnumSizeNoTag(extraLineupType);
}
if ((bitField0_ & 0x00000040) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(extInfo);
@@ -551,9 +551,9 @@ public final class ChallengeInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 24: {
// score
score = input.readUInt32();
case 32: {
// challengeId
challengeId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 40) {
@@ -561,17 +561,17 @@ public final class ChallengeInfoOuterClass {
}
}
case 40: {
// challengeId
challengeId = input.readUInt32();
// scoreTwo
scoreTwo = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 96) {
if (tag != 104) {
break;
}
}
case 96: {
// scoreTwo
scoreTwo = input.readUInt32();
case 104: {
// roundCount
roundCount = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 112) {
@@ -579,39 +579,39 @@ public final class ChallengeInfoOuterClass {
}
}
case 112: {
// roundCount
roundCount = input.readUInt32();
// score
score = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 56) {
if (tag != 8) {
break;
}
}
case 56: {
// extraLineupType
final int value = input.readInt32();
if (ExtraLineupTypeOuterClass.ExtraLineupType.forNumber(value) != null) {
extraLineupType = value;
bitField0_ |= 0x00000010;
}
tag = input.readTag();
if (tag != 104) {
break;
}
}
case 104: {
case 8: {
// status
final int value = input.readInt32();
if (ChallengeStatusOuterClass.ChallengeStatus.forNumber(value) != null) {
status = value;
bitField0_ |= 0x00000020;
bitField0_ |= 0x00000010;
}
tag = input.readTag();
if (tag != 74) {
if (tag != 88) {
break;
}
}
case 74: {
case 88: {
// extraLineupType
final int value = input.readInt32();
if (ExtraLineupTypeOuterClass.ExtraLineupType.forNumber(value) != null) {
extraLineupType = value;
bitField0_ |= 0x00000020;
}
tag = input.readTag();
if (tag != 58) {
break;
}
}
case 58: {
// extInfo
input.readMessage(extInfo);
bitField0_ |= 0x00000040;
@@ -638,22 +638,22 @@ public final class ChallengeInfoOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.score, score);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.challengeId, challengeId);
}
if ((bitField0_ & 0x00000004) != 0) {
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.scoreTwo, scoreTwo);
}
if ((bitField0_ & 0x00000008) != 0) {
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.roundCount, roundCount);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.score, score);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeEnum(FieldNames.extraLineupType, extraLineupType, ExtraLineupTypeOuterClass.ExtraLineupType.converter());
output.writeEnum(FieldNames.status, status, ChallengeStatusOuterClass.ChallengeStatus.converter());
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeEnum(FieldNames.status, status, ChallengeStatusOuterClass.ChallengeStatus.converter());
output.writeEnum(FieldNames.extraLineupType, extraLineupType, ExtraLineupTypeOuterClass.ExtraLineupType.converter());
}
if ((bitField0_ & 0x00000040) != 0) {
output.writeMessage(FieldNames.extInfo, extInfo);
@@ -668,23 +668,12 @@ public final class ChallengeInfoOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case 109264530: {
if (input.isAtField(FieldNames.score)) {
if (!input.trySkipNullValue()) {
score = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
input.skipUnknownField();
}
break;
}
case -689112866:
case 112359031: {
if (input.isAtField(FieldNames.challengeId)) {
if (!input.trySkipNullValue()) {
challengeId = input.readUInt32();
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
}
} else {
input.skipUnknownField();
@@ -696,7 +685,7 @@ public final class ChallengeInfoOuterClass {
if (input.isAtField(FieldNames.scoreTwo)) {
if (!input.trySkipNullValue()) {
scoreTwo = input.readUInt32();
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
@@ -708,6 +697,17 @@ public final class ChallengeInfoOuterClass {
if (input.isAtField(FieldNames.roundCount)) {
if (!input.trySkipNullValue()) {
roundCount = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
input.skipUnknownField();
}
break;
}
case 109264530: {
if (input.isAtField(FieldNames.score)) {
if (!input.trySkipNullValue()) {
score = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -715,6 +715,22 @@ public final class ChallengeInfoOuterClass {
}
break;
}
case -892481550: {
if (input.isAtField(FieldNames.status)) {
if (!input.trySkipNullValue()) {
final ChallengeStatusOuterClass.ChallengeStatus value = input.readEnum(ChallengeStatusOuterClass.ChallengeStatus.converter());
if (value != null) {
status = value.getNumber();
bitField0_ |= 0x00000010;
} else {
input.skipUnknownEnumValue();
}
}
} else {
input.skipUnknownField();
}
break;
}
case -468135527:
case -1144475077: {
if (input.isAtField(FieldNames.extraLineupType)) {
@@ -722,22 +738,6 @@ public final class ChallengeInfoOuterClass {
final ExtraLineupTypeOuterClass.ExtraLineupType value = input.readEnum(ExtraLineupTypeOuterClass.ExtraLineupType.converter());
if (value != null) {
extraLineupType = value.getNumber();
bitField0_ |= 0x00000010;
} else {
input.skipUnknownEnumValue();
}
}
} else {
input.skipUnknownField();
}
break;
}
case -892481550: {
if (input.isAtField(FieldNames.status)) {
if (!input.trySkipNullValue()) {
final ChallengeStatusOuterClass.ChallengeStatus value = input.readEnum(ChallengeStatusOuterClass.ChallengeStatus.converter());
if (value != null) {
status = value.getNumber();
bitField0_ |= 0x00000020;
} else {
input.skipUnknownEnumValue();
@@ -812,18 +812,18 @@ public final class ChallengeInfoOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName score = FieldName.forField("score");
static final FieldName challengeId = FieldName.forField("challengeId", "challenge_id");
static final FieldName scoreTwo = FieldName.forField("scoreTwo", "score_two");
static final FieldName roundCount = FieldName.forField("roundCount", "round_count");
static final FieldName extraLineupType = FieldName.forField("extraLineupType", "extra_lineup_type");
static final FieldName score = FieldName.forField("score");
static final FieldName status = FieldName.forField("status");
static final FieldName extraLineupType = FieldName.forField("extraLineupType", "extra_lineup_type");
static final FieldName extInfo = FieldName.forField("extInfo", "ext_info");
}
}

View File

@@ -19,7 +19,7 @@ public final class ChallengeLineupNotifyOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional .ExtraLineupType extra_lineup_type = 13;</code>
* <code>optional .ExtraLineupType extra_lineup_type = 2;</code>
*/
private int extraLineupType;
@@ -34,7 +34,7 @@ public final class ChallengeLineupNotifyOuterClass {
}
/**
* <code>optional .ExtraLineupType extra_lineup_type = 13;</code>
* <code>optional .ExtraLineupType extra_lineup_type = 2;</code>
* @return whether the extraLineupType field is set
*/
public boolean hasExtraLineupType() {
@@ -42,7 +42,7 @@ public final class ChallengeLineupNotifyOuterClass {
}
/**
* <code>optional .ExtraLineupType extra_lineup_type = 13;</code>
* <code>optional .ExtraLineupType extra_lineup_type = 2;</code>
* @return this
*/
public ChallengeLineupNotify clearExtraLineupType() {
@@ -52,7 +52,7 @@ public final class ChallengeLineupNotifyOuterClass {
}
/**
* <code>optional .ExtraLineupType extra_lineup_type = 13;</code>
* <code>optional .ExtraLineupType extra_lineup_type = 2;</code>
* @return the extraLineupType
*/
public ExtraLineupTypeOuterClass.ExtraLineupType getExtraLineupType() {
@@ -85,7 +85,7 @@ public final class ChallengeLineupNotifyOuterClass {
}
/**
* <code>optional .ExtraLineupType extra_lineup_type = 13;</code>
* <code>optional .ExtraLineupType extra_lineup_type = 2;</code>
* @param value the extraLineupType to set
* @return this
*/
@@ -155,7 +155,7 @@ public final class ChallengeLineupNotifyOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 104);
output.writeRawByte((byte) 16);
output.writeEnumNoTag(extraLineupType);
}
}
@@ -176,7 +176,7 @@ public final class ChallengeLineupNotifyOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 104: {
case 16: {
// extraLineupType
final int value = input.readInt32();
if (ExtraLineupTypeOuterClass.ExtraLineupType.forNumber(value) != null) {

View File

@@ -19,27 +19,27 @@ public final class ChallengeOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 score = 1;</code>
*/
private int score;
/**
* <code>optional uint32 challenge_id = 5;</code>
*/
private int challengeId;
/**
* <code>optional uint32 taken_reward = 9;</code>
*/
private int takenReward;
/**
* <code>optional uint32 stars = 14;</code>
* <code>optional uint32 stars = 1;</code>
*/
private int stars;
/**
* <code>optional .ChallengeExtInfo ext_info = 3;</code>
* <code>optional uint32 taken_reward = 6;</code>
*/
private int takenReward;
/**
* <code>optional uint32 score = 7;</code>
*/
private int score;
/**
* <code>optional uint32 challenge_id = 10;</code>
*/
private int challengeId;
/**
* <code>optional .ChallengeExtInfo ext_info = 5;</code>
*/
private final ChallengeExtInfoOuterClass.ChallengeExtInfo extInfo = ChallengeExtInfoOuterClass.ChallengeExtInfo.newInstance();
@@ -54,136 +54,25 @@ public final class ChallengeOuterClass {
}
/**
* <code>optional uint32 score = 1;</code>
* @return whether the score field is set
* <code>optional uint32 stars = 1;</code>
* @return whether the stars field is set
*/
public boolean hasScore() {
public boolean hasStars() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 score = 1;</code>
* @return this
*/
public Challenge clearScore() {
bitField0_ &= ~0x00000001;
score = 0;
return this;
}
/**
* <code>optional uint32 score = 1;</code>
* @return the score
*/
public int getScore() {
return score;
}
/**
* <code>optional uint32 score = 1;</code>
* @param value the score to set
* @return this
*/
public Challenge setScore(final int value) {
bitField0_ |= 0x00000001;
score = value;
return this;
}
/**
* <code>optional uint32 challenge_id = 5;</code>
* @return whether the challengeId field is set
*/
public boolean hasChallengeId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 challenge_id = 5;</code>
* @return this
*/
public Challenge clearChallengeId() {
bitField0_ &= ~0x00000002;
challengeId = 0;
return this;
}
/**
* <code>optional uint32 challenge_id = 5;</code>
* @return the challengeId
*/
public int getChallengeId() {
return challengeId;
}
/**
* <code>optional uint32 challenge_id = 5;</code>
* @param value the challengeId to set
* @return this
*/
public Challenge setChallengeId(final int value) {
bitField0_ |= 0x00000002;
challengeId = value;
return this;
}
/**
* <code>optional uint32 taken_reward = 9;</code>
* @return whether the takenReward field is set
*/
public boolean hasTakenReward() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 taken_reward = 9;</code>
* @return this
*/
public Challenge clearTakenReward() {
bitField0_ &= ~0x00000004;
takenReward = 0;
return this;
}
/**
* <code>optional uint32 taken_reward = 9;</code>
* @return the takenReward
*/
public int getTakenReward() {
return takenReward;
}
/**
* <code>optional uint32 taken_reward = 9;</code>
* @param value the takenReward to set
* @return this
*/
public Challenge setTakenReward(final int value) {
bitField0_ |= 0x00000004;
takenReward = value;
return this;
}
/**
* <code>optional uint32 stars = 14;</code>
* @return whether the stars field is set
*/
public boolean hasStars() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 stars = 14;</code>
* <code>optional uint32 stars = 1;</code>
* @return this
*/
public Challenge clearStars() {
bitField0_ &= ~0x00000008;
bitField0_ &= ~0x00000001;
stars = 0;
return this;
}
/**
* <code>optional uint32 stars = 14;</code>
* <code>optional uint32 stars = 1;</code>
* @return the stars
*/
public int getStars() {
@@ -191,18 +80,129 @@ public final class ChallengeOuterClass {
}
/**
* <code>optional uint32 stars = 14;</code>
* <code>optional uint32 stars = 1;</code>
* @param value the stars to set
* @return this
*/
public Challenge setStars(final int value) {
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000001;
stars = value;
return this;
}
/**
* <code>optional .ChallengeExtInfo ext_info = 3;</code>
* <code>optional uint32 taken_reward = 6;</code>
* @return whether the takenReward field is set
*/
public boolean hasTakenReward() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 taken_reward = 6;</code>
* @return this
*/
public Challenge clearTakenReward() {
bitField0_ &= ~0x00000002;
takenReward = 0;
return this;
}
/**
* <code>optional uint32 taken_reward = 6;</code>
* @return the takenReward
*/
public int getTakenReward() {
return takenReward;
}
/**
* <code>optional uint32 taken_reward = 6;</code>
* @param value the takenReward to set
* @return this
*/
public Challenge setTakenReward(final int value) {
bitField0_ |= 0x00000002;
takenReward = value;
return this;
}
/**
* <code>optional uint32 score = 7;</code>
* @return whether the score field is set
*/
public boolean hasScore() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 score = 7;</code>
* @return this
*/
public Challenge clearScore() {
bitField0_ &= ~0x00000004;
score = 0;
return this;
}
/**
* <code>optional uint32 score = 7;</code>
* @return the score
*/
public int getScore() {
return score;
}
/**
* <code>optional uint32 score = 7;</code>
* @param value the score to set
* @return this
*/
public Challenge setScore(final int value) {
bitField0_ |= 0x00000004;
score = value;
return this;
}
/**
* <code>optional uint32 challenge_id = 10;</code>
* @return whether the challengeId field is set
*/
public boolean hasChallengeId() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 challenge_id = 10;</code>
* @return this
*/
public Challenge clearChallengeId() {
bitField0_ &= ~0x00000008;
challengeId = 0;
return this;
}
/**
* <code>optional uint32 challenge_id = 10;</code>
* @return the challengeId
*/
public int getChallengeId() {
return challengeId;
}
/**
* <code>optional uint32 challenge_id = 10;</code>
* @param value the challengeId to set
* @return this
*/
public Challenge setChallengeId(final int value) {
bitField0_ |= 0x00000008;
challengeId = value;
return this;
}
/**
* <code>optional .ChallengeExtInfo ext_info = 5;</code>
* @return whether the extInfo field is set
*/
public boolean hasExtInfo() {
@@ -210,7 +210,7 @@ public final class ChallengeOuterClass {
}
/**
* <code>optional .ChallengeExtInfo ext_info = 3;</code>
* <code>optional .ChallengeExtInfo ext_info = 5;</code>
* @return this
*/
public Challenge clearExtInfo() {
@@ -220,7 +220,7 @@ public final class ChallengeOuterClass {
}
/**
* <code>optional .ChallengeExtInfo ext_info = 3;</code>
* <code>optional .ChallengeExtInfo ext_info = 5;</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.
@@ -234,7 +234,7 @@ public final class ChallengeOuterClass {
}
/**
* <code>optional .ChallengeExtInfo ext_info = 3;</code>
* <code>optional .ChallengeExtInfo ext_info = 5;</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
@@ -248,7 +248,7 @@ public final class ChallengeOuterClass {
}
/**
* <code>optional .ChallengeExtInfo ext_info = 3;</code>
* <code>optional .ChallengeExtInfo ext_info = 5;</code>
* @param value the extInfo to set
* @return this
*/
@@ -263,10 +263,10 @@ public final class ChallengeOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
stars = other.stars;
takenReward = other.takenReward;
score = other.score;
challengeId = other.challengeId;
takenReward = other.takenReward;
stars = other.stars;
extInfo.copyFrom(other.extInfo);
}
return this;
@@ -278,18 +278,18 @@ public final class ChallengeOuterClass {
return this;
}
cachedSize = -1;
if (other.hasStars()) {
setStars(other.stars);
}
if (other.hasTakenReward()) {
setTakenReward(other.takenReward);
}
if (other.hasScore()) {
setScore(other.score);
}
if (other.hasChallengeId()) {
setChallengeId(other.challengeId);
}
if (other.hasTakenReward()) {
setTakenReward(other.takenReward);
}
if (other.hasStars()) {
setStars(other.stars);
}
if (other.hasExtInfo()) {
getMutableExtInfo().mergeFrom(other.extInfo);
}
@@ -303,10 +303,10 @@ public final class ChallengeOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
stars = 0;
takenReward = 0;
score = 0;
challengeId = 0;
takenReward = 0;
stars = 0;
extInfo.clear();
return this;
}
@@ -332,10 +332,10 @@ public final class ChallengeOuterClass {
}
Challenge other = (Challenge) o;
return bitField0_ == other.bitField0_
&& (!hasStars() || stars == other.stars)
&& (!hasTakenReward() || takenReward == other.takenReward)
&& (!hasScore() || score == other.score)
&& (!hasChallengeId() || challengeId == other.challengeId)
&& (!hasTakenReward() || takenReward == other.takenReward)
&& (!hasStars() || stars == other.stars)
&& (!hasExtInfo() || extInfo.equals(other.extInfo));
}
@@ -343,22 +343,22 @@ public final class ChallengeOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 8);
output.writeUInt32NoTag(score);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 40);
output.writeUInt32NoTag(challengeId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 72);
output.writeUInt32NoTag(takenReward);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(stars);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 48);
output.writeUInt32NoTag(takenReward);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 56);
output.writeUInt32NoTag(score);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 80);
output.writeUInt32NoTag(challengeId);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 26);
output.writeRawByte((byte) 42);
output.writeMessageNoTag(extInfo);
}
}
@@ -367,16 +367,16 @@ public final class ChallengeOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(score);
size += 1 + ProtoSink.computeUInt32SizeNoTag(stars);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeId);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(takenReward);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(score);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(stars);
size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeId);
}
if ((bitField0_ & 0x00000010) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(extInfo);
@@ -392,42 +392,42 @@ public final class ChallengeOuterClass {
while (true) {
switch (tag) {
case 8: {
// score
score = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 40) {
break;
}
}
case 40: {
// challengeId
challengeId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 72) {
break;
}
}
case 72: {
// takenReward
takenReward = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 112) {
break;
}
}
case 112: {
// stars
stars = input.readUInt32();
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 26) {
if (tag != 48) {
break;
}
}
case 26: {
case 48: {
// takenReward
takenReward = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 56) {
break;
}
}
case 56: {
// score
score = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 80) {
break;
}
}
case 80: {
// challengeId
challengeId = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 42) {
break;
}
}
case 42: {
// extInfo
input.readMessage(extInfo);
bitField0_ |= 0x00000010;
@@ -454,16 +454,16 @@ public final class ChallengeOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.score, score);
output.writeUInt32(FieldNames.stars, stars);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.challengeId, challengeId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.takenReward, takenReward);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.score, score);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.stars, stars);
output.writeUInt32(FieldNames.challengeId, challengeId);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeMessage(FieldNames.extInfo, extInfo);
@@ -478,10 +478,10 @@ public final class ChallengeOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case 109264530: {
if (input.isAtField(FieldNames.score)) {
case 109757537: {
if (input.isAtField(FieldNames.stars)) {
if (!input.trySkipNullValue()) {
score = input.readUInt32();
stars = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -489,23 +489,22 @@ public final class ChallengeOuterClass {
}
break;
}
case -689112866:
case 112359031: {
if (input.isAtField(FieldNames.challengeId)) {
if (!input.trySkipNullValue()) {
challengeId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
}
break;
}
case 1216849622:
case -1923526233: {
if (input.isAtField(FieldNames.takenReward)) {
if (!input.trySkipNullValue()) {
takenReward = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
}
break;
}
case 109264530: {
if (input.isAtField(FieldNames.score)) {
if (!input.trySkipNullValue()) {
score = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -513,10 +512,11 @@ public final class ChallengeOuterClass {
}
break;
}
case 109757537: {
if (input.isAtField(FieldNames.stars)) {
case -689112866:
case 112359031: {
if (input.isAtField(FieldNames.challengeId)) {
if (!input.trySkipNullValue()) {
stars = input.readUInt32();
challengeId = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -588,13 +588,13 @@ public final class ChallengeOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName score = FieldName.forField("score");
static final FieldName challengeId = FieldName.forField("challengeId", "challenge_id");
static final FieldName stars = FieldName.forField("stars");
static final FieldName takenReward = FieldName.forField("takenReward", "taken_reward");
static final FieldName stars = FieldName.forField("stars");
static final FieldName score = FieldName.forField("score");
static final FieldName challengeId = FieldName.forField("challengeId", "challenge_id");
static final FieldName extInfo = FieldName.forField("extInfo", "ext_info");
}

View File

@@ -19,12 +19,12 @@ public final class ChallengeRewardOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint64 taken_challenge_reward = 5;</code>
* <code>optional uint64 taken_challenge_reward = 3;</code>
*/
private long takenChallengeReward;
/**
* <code>optional uint32 group_id = 6;</code>
* <code>optional uint32 group_id = 1;</code>
*/
private int groupId;
@@ -39,7 +39,7 @@ public final class ChallengeRewardOuterClass {
}
/**
* <code>optional uint64 taken_challenge_reward = 5;</code>
* <code>optional uint64 taken_challenge_reward = 3;</code>
* @return whether the takenChallengeReward field is set
*/
public boolean hasTakenChallengeReward() {
@@ -47,7 +47,7 @@ public final class ChallengeRewardOuterClass {
}
/**
* <code>optional uint64 taken_challenge_reward = 5;</code>
* <code>optional uint64 taken_challenge_reward = 3;</code>
* @return this
*/
public ChallengeReward clearTakenChallengeReward() {
@@ -57,7 +57,7 @@ public final class ChallengeRewardOuterClass {
}
/**
* <code>optional uint64 taken_challenge_reward = 5;</code>
* <code>optional uint64 taken_challenge_reward = 3;</code>
* @return the takenChallengeReward
*/
public long getTakenChallengeReward() {
@@ -65,7 +65,7 @@ public final class ChallengeRewardOuterClass {
}
/**
* <code>optional uint64 taken_challenge_reward = 5;</code>
* <code>optional uint64 taken_challenge_reward = 3;</code>
* @param value the takenChallengeReward to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class ChallengeRewardOuterClass {
}
/**
* <code>optional uint32 group_id = 6;</code>
* <code>optional uint32 group_id = 1;</code>
* @return whether the groupId field is set
*/
public boolean hasGroupId() {
@@ -84,7 +84,7 @@ public final class ChallengeRewardOuterClass {
}
/**
* <code>optional uint32 group_id = 6;</code>
* <code>optional uint32 group_id = 1;</code>
* @return this
*/
public ChallengeReward clearGroupId() {
@@ -94,7 +94,7 @@ public final class ChallengeRewardOuterClass {
}
/**
* <code>optional uint32 group_id = 6;</code>
* <code>optional uint32 group_id = 1;</code>
* @return the groupId
*/
public int getGroupId() {
@@ -102,7 +102,7 @@ public final class ChallengeRewardOuterClass {
}
/**
* <code>optional uint32 group_id = 6;</code>
* <code>optional uint32 group_id = 1;</code>
* @param value the groupId to set
* @return this
*/
@@ -177,11 +177,11 @@ public final class ChallengeRewardOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 40);
output.writeRawByte((byte) 24);
output.writeUInt64NoTag(takenChallengeReward);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 48);
output.writeRawByte((byte) 8);
output.writeUInt32NoTag(groupId);
}
}
@@ -205,16 +205,16 @@ public final class ChallengeRewardOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 40: {
case 24: {
// takenChallengeReward
takenChallengeReward = input.readUInt64();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 48) {
if (tag != 8) {
break;
}
}
case 48: {
case 8: {
// groupId
groupId = input.readUInt32();
bitField0_ |= 0x00000002;

View File

@@ -19,32 +19,32 @@ public final class ChallengeSettleNotifyOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 score_two = 1;</code>
*/
private int scoreTwo;
/**
* <code>optional uint32 stars = 8;</code>
*/
private int stars;
/**
* <code>optional uint32 challenge_score = 10;</code>
* <code>optional uint32 challenge_score = 1;</code>
*/
private int challengeScore;
/**
* <code>optional uint32 challenge_id = 14;</code>
* <code>optional uint32 challenge_id = 5;</code>
*/
private int challengeId;
/**
* <code>optional bool is_win = 5;</code>
* <code>optional uint32 score_two = 12;</code>
*/
private int scoreTwo;
/**
* <code>optional uint32 stars = 14;</code>
*/
private int stars;
/**
* <code>optional bool is_win = 4;</code>
*/
private boolean isWin;
/**
* <code>optional .ItemList reward = 9;</code>
* <code>optional .ItemList reward = 10;</code>
*/
private final ItemListOuterClass.ItemList reward = ItemListOuterClass.ItemList.newInstance();
@@ -59,99 +59,25 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
* <code>optional uint32 score_two = 1;</code>
* @return whether the scoreTwo field is set
* <code>optional uint32 challenge_score = 1;</code>
* @return whether the challengeScore field is set
*/
public boolean hasScoreTwo() {
public boolean hasChallengeScore() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 score_two = 1;</code>
* @return this
*/
public ChallengeSettleNotify clearScoreTwo() {
bitField0_ &= ~0x00000001;
scoreTwo = 0;
return this;
}
/**
* <code>optional uint32 score_two = 1;</code>
* @return the scoreTwo
*/
public int getScoreTwo() {
return scoreTwo;
}
/**
* <code>optional uint32 score_two = 1;</code>
* @param value the scoreTwo to set
* @return this
*/
public ChallengeSettleNotify setScoreTwo(final int value) {
bitField0_ |= 0x00000001;
scoreTwo = value;
return this;
}
/**
* <code>optional uint32 stars = 8;</code>
* @return whether the stars field is set
*/
public boolean hasStars() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 stars = 8;</code>
* @return this
*/
public ChallengeSettleNotify clearStars() {
bitField0_ &= ~0x00000002;
stars = 0;
return this;
}
/**
* <code>optional uint32 stars = 8;</code>
* @return the stars
*/
public int getStars() {
return stars;
}
/**
* <code>optional uint32 stars = 8;</code>
* @param value the stars to set
* @return this
*/
public ChallengeSettleNotify setStars(final int value) {
bitField0_ |= 0x00000002;
stars = value;
return this;
}
/**
* <code>optional uint32 challenge_score = 10;</code>
* @return whether the challengeScore field is set
*/
public boolean hasChallengeScore() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 challenge_score = 10;</code>
* <code>optional uint32 challenge_score = 1;</code>
* @return this
*/
public ChallengeSettleNotify clearChallengeScore() {
bitField0_ &= ~0x00000004;
bitField0_ &= ~0x00000001;
challengeScore = 0;
return this;
}
/**
* <code>optional uint32 challenge_score = 10;</code>
* <code>optional uint32 challenge_score = 1;</code>
* @return the challengeScore
*/
public int getChallengeScore() {
@@ -159,36 +85,36 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
* <code>optional uint32 challenge_score = 10;</code>
* <code>optional uint32 challenge_score = 1;</code>
* @param value the challengeScore to set
* @return this
*/
public ChallengeSettleNotify setChallengeScore(final int value) {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000001;
challengeScore = value;
return this;
}
/**
* <code>optional uint32 challenge_id = 14;</code>
* <code>optional uint32 challenge_id = 5;</code>
* @return whether the challengeId field is set
*/
public boolean hasChallengeId() {
return (bitField0_ & 0x00000008) != 0;
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 challenge_id = 14;</code>
* <code>optional uint32 challenge_id = 5;</code>
* @return this
*/
public ChallengeSettleNotify clearChallengeId() {
bitField0_ &= ~0x00000008;
bitField0_ &= ~0x00000002;
challengeId = 0;
return this;
}
/**
* <code>optional uint32 challenge_id = 14;</code>
* <code>optional uint32 challenge_id = 5;</code>
* @return the challengeId
*/
public int getChallengeId() {
@@ -196,18 +122,92 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
* <code>optional uint32 challenge_id = 14;</code>
* <code>optional uint32 challenge_id = 5;</code>
* @param value the challengeId to set
* @return this
*/
public ChallengeSettleNotify setChallengeId(final int value) {
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000002;
challengeId = value;
return this;
}
/**
* <code>optional bool is_win = 5;</code>
* <code>optional uint32 score_two = 12;</code>
* @return whether the scoreTwo field is set
*/
public boolean hasScoreTwo() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 score_two = 12;</code>
* @return this
*/
public ChallengeSettleNotify clearScoreTwo() {
bitField0_ &= ~0x00000004;
scoreTwo = 0;
return this;
}
/**
* <code>optional uint32 score_two = 12;</code>
* @return the scoreTwo
*/
public int getScoreTwo() {
return scoreTwo;
}
/**
* <code>optional uint32 score_two = 12;</code>
* @param value the scoreTwo to set
* @return this
*/
public ChallengeSettleNotify setScoreTwo(final int value) {
bitField0_ |= 0x00000004;
scoreTwo = value;
return this;
}
/**
* <code>optional uint32 stars = 14;</code>
* @return whether the stars field is set
*/
public boolean hasStars() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 stars = 14;</code>
* @return this
*/
public ChallengeSettleNotify clearStars() {
bitField0_ &= ~0x00000008;
stars = 0;
return this;
}
/**
* <code>optional uint32 stars = 14;</code>
* @return the stars
*/
public int getStars() {
return stars;
}
/**
* <code>optional uint32 stars = 14;</code>
* @param value the stars to set
* @return this
*/
public ChallengeSettleNotify setStars(final int value) {
bitField0_ |= 0x00000008;
stars = value;
return this;
}
/**
* <code>optional bool is_win = 4;</code>
* @return whether the isWin field is set
*/
public boolean hasIsWin() {
@@ -215,7 +215,7 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
* <code>optional bool is_win = 5;</code>
* <code>optional bool is_win = 4;</code>
* @return this
*/
public ChallengeSettleNotify clearIsWin() {
@@ -225,7 +225,7 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
* <code>optional bool is_win = 5;</code>
* <code>optional bool is_win = 4;</code>
* @return the isWin
*/
public boolean getIsWin() {
@@ -233,7 +233,7 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
* <code>optional bool is_win = 5;</code>
* <code>optional bool is_win = 4;</code>
* @param value the isWin to set
* @return this
*/
@@ -244,7 +244,7 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
* <code>optional .ItemList reward = 9;</code>
* <code>optional .ItemList reward = 10;</code>
* @return whether the reward field is set
*/
public boolean hasReward() {
@@ -252,7 +252,7 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
* <code>optional .ItemList reward = 9;</code>
* <code>optional .ItemList reward = 10;</code>
* @return this
*/
public ChallengeSettleNotify clearReward() {
@@ -262,7 +262,7 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
* <code>optional .ItemList reward = 9;</code>
* <code>optional .ItemList reward = 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.
@@ -276,7 +276,7 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
* <code>optional .ItemList reward = 9;</code>
* <code>optional .ItemList reward = 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
@@ -290,7 +290,7 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
* <code>optional .ItemList reward = 9;</code>
* <code>optional .ItemList reward = 10;</code>
* @param value the reward to set
* @return this
*/
@@ -305,10 +305,10 @@ public final class ChallengeSettleNotifyOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
scoreTwo = other.scoreTwo;
stars = other.stars;
challengeScore = other.challengeScore;
challengeId = other.challengeId;
scoreTwo = other.scoreTwo;
stars = other.stars;
isWin = other.isWin;
reward.copyFrom(other.reward);
}
@@ -321,18 +321,18 @@ public final class ChallengeSettleNotifyOuterClass {
return this;
}
cachedSize = -1;
if (other.hasScoreTwo()) {
setScoreTwo(other.scoreTwo);
}
if (other.hasStars()) {
setStars(other.stars);
}
if (other.hasChallengeScore()) {
setChallengeScore(other.challengeScore);
}
if (other.hasChallengeId()) {
setChallengeId(other.challengeId);
}
if (other.hasScoreTwo()) {
setScoreTwo(other.scoreTwo);
}
if (other.hasStars()) {
setStars(other.stars);
}
if (other.hasIsWin()) {
setIsWin(other.isWin);
}
@@ -349,10 +349,10 @@ public final class ChallengeSettleNotifyOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
scoreTwo = 0;
stars = 0;
challengeScore = 0;
challengeId = 0;
scoreTwo = 0;
stars = 0;
isWin = false;
reward.clear();
return this;
@@ -379,10 +379,10 @@ public final class ChallengeSettleNotifyOuterClass {
}
ChallengeSettleNotify other = (ChallengeSettleNotify) o;
return bitField0_ == other.bitField0_
&& (!hasScoreTwo() || scoreTwo == other.scoreTwo)
&& (!hasStars() || stars == other.stars)
&& (!hasChallengeScore() || challengeScore == other.challengeScore)
&& (!hasChallengeId() || challengeId == other.challengeId)
&& (!hasScoreTwo() || scoreTwo == other.scoreTwo)
&& (!hasStars() || stars == other.stars)
&& (!hasIsWin() || isWin == other.isWin)
&& (!hasReward() || reward.equals(other.reward));
}
@@ -391,26 +391,26 @@ public final class ChallengeSettleNotifyOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 8);
output.writeUInt32NoTag(scoreTwo);
output.writeUInt32NoTag(challengeScore);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(stars);
output.writeRawByte((byte) 40);
output.writeUInt32NoTag(challengeId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 80);
output.writeUInt32NoTag(challengeScore);
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(scoreTwo);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(challengeId);
output.writeUInt32NoTag(stars);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 40);
output.writeRawByte((byte) 32);
output.writeBoolNoTag(isWin);
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeRawByte((byte) 74);
output.writeRawByte((byte) 82);
output.writeMessageNoTag(reward);
}
}
@@ -419,17 +419,17 @@ public final class ChallengeSettleNotifyOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(scoreTwo);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(stars);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeScore);
}
if ((bitField0_ & 0x00000008) != 0) {
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeId);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(scoreTwo);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(stars);
}
if ((bitField0_ & 0x00000010) != 0) {
size += 2;
}
@@ -447,26 +447,26 @@ public final class ChallengeSettleNotifyOuterClass {
while (true) {
switch (tag) {
case 8: {
// scoreTwo
scoreTwo = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 64) {
break;
}
}
case 64: {
// stars
stars = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 80) {
break;
}
}
case 80: {
// challengeScore
challengeScore = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 40) {
break;
}
}
case 40: {
// challengeId
challengeId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 96) {
break;
}
}
case 96: {
// scoreTwo
scoreTwo = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 112) {
@@ -474,24 +474,24 @@ public final class ChallengeSettleNotifyOuterClass {
}
}
case 112: {
// challengeId
challengeId = input.readUInt32();
// stars
stars = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 40) {
if (tag != 32) {
break;
}
}
case 40: {
case 32: {
// isWin
isWin = input.readBool();
bitField0_ |= 0x00000010;
tag = input.readTag();
if (tag != 74) {
if (tag != 82) {
break;
}
}
case 74: {
case 82: {
// reward
input.readMessage(reward);
bitField0_ |= 0x00000020;
@@ -518,17 +518,17 @@ public final class ChallengeSettleNotifyOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.scoreTwo, scoreTwo);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.stars, stars);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.challengeScore, challengeScore);
}
if ((bitField0_ & 0x00000008) != 0) {
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.challengeId, challengeId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.scoreTwo, scoreTwo);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.stars, stars);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeBool(FieldNames.isWin, isWin);
}
@@ -545,35 +545,12 @@ public final class ChallengeSettleNotifyOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -485512614:
case 2129303327: {
if (input.isAtField(FieldNames.scoreTwo)) {
if (!input.trySkipNullValue()) {
scoreTwo = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
input.skipUnknownField();
}
break;
}
case 109757537: {
if (input.isAtField(FieldNames.stars)) {
if (!input.trySkipNullValue()) {
stars = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
}
break;
}
case 591599599:
case 1517684662: {
if (input.isAtField(FieldNames.challengeScore)) {
if (!input.trySkipNullValue()) {
challengeScore = input.readUInt32();
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000001;
}
} else {
input.skipUnknownField();
@@ -585,6 +562,29 @@ public final class ChallengeSettleNotifyOuterClass {
if (input.isAtField(FieldNames.challengeId)) {
if (!input.trySkipNullValue()) {
challengeId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
}
break;
}
case -485512614:
case 2129303327: {
if (input.isAtField(FieldNames.scoreTwo)) {
if (!input.trySkipNullValue()) {
scoreTwo = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
input.skipUnknownField();
}
break;
}
case 109757537: {
if (input.isAtField(FieldNames.stars)) {
if (!input.trySkipNullValue()) {
stars = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -668,14 +668,14 @@ public final class ChallengeSettleNotifyOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName scoreTwo = FieldName.forField("scoreTwo", "score_two");
static final FieldName stars = FieldName.forField("stars");
static final FieldName challengeScore = FieldName.forField("challengeScore", "challenge_score");
static final FieldName challengeId = FieldName.forField("challengeId", "challenge_id");
static final FieldName scoreTwo = FieldName.forField("scoreTwo", "score_two");
static final FieldName stars = FieldName.forField("stars");
static final FieldName isWin = FieldName.forField("isWin", "is_win");
static final FieldName reward = FieldName.forField("reward");

View File

@@ -77,7 +77,7 @@ public final class ChallengeStatusOuterClass {
/**
* @return a converter that maps between this enum's numeric and text representations
*/
public static EnumConverter<ChallengeStatus> converter() {
public static ProtoEnum.EnumConverter<ChallengeStatus> converter() {
return ChallengeStatusConverter.INSTANCE;
}
@@ -99,7 +99,7 @@ public final class ChallengeStatusOuterClass {
return value == null ? other : value;
}
enum ChallengeStatusConverter implements EnumConverter<ChallengeStatus> {
enum ChallengeStatusConverter implements ProtoEnum.EnumConverter<ChallengeStatus> {
INSTANCE;
private static final ChallengeStatus[] lookup = new ChallengeStatus[4];

View File

@@ -20,7 +20,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>repeated uint32 buff_list = 3;</code>
* <code>repeated uint32 buff_list = 1;</code>
*/
private final RepeatedInt buffList = RepeatedInt.newEmptyInstance();
@@ -35,7 +35,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
}
/**
* <code>repeated uint32 buff_list = 3;</code>
* <code>repeated uint32 buff_list = 1;</code>
* @return whether the buffList field is set
*/
public boolean hasBuffList() {
@@ -43,7 +43,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
}
/**
* <code>repeated uint32 buff_list = 3;</code>
* <code>repeated uint32 buff_list = 1;</code>
* @return this
*/
public ChallengeStoryBuffInfo clearBuffList() {
@@ -53,7 +53,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
}
/**
* <code>repeated uint32 buff_list = 3;</code>
* <code>repeated uint32 buff_list = 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.
@@ -67,7 +67,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
}
/**
* <code>repeated uint32 buff_list = 3;</code>
* <code>repeated uint32 buff_list = 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
@@ -81,7 +81,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
}
/**
* <code>repeated uint32 buff_list = 3;</code>
* <code>repeated uint32 buff_list = 1;</code>
* @param value the buffList to add
* @return this
*/
@@ -92,7 +92,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
}
/**
* <code>repeated uint32 buff_list = 3;</code>
* <code>repeated uint32 buff_list = 1;</code>
* @param values the buffList to add
* @return this
*/
@@ -163,7 +163,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
for (int i = 0; i < buffList.length(); i++) {
output.writeRawByte((byte) 24);
output.writeRawByte((byte) 8);
output.writeUInt32NoTag(buffList.array()[i]);
}
}
@@ -185,7 +185,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 26: {
case 10: {
// buffList [packed=true]
input.readPackedUInt32(buffList, tag);
bitField0_ |= 0x00000001;
@@ -204,7 +204,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
tag = input.readTag();
break;
}
case 24: {
case 8: {
// buffList [packed=false]
tag = input.readRepeatedUInt32(buffList, tag);
bitField0_ |= 0x00000001;

View File

@@ -19,7 +19,7 @@ public final class ChangeLineupLeaderCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 slot = 9;</code>
* <code>optional uint32 slot = 8;</code>
*/
private int slot;
@@ -34,7 +34,7 @@ public final class ChangeLineupLeaderCsReqOuterClass {
}
/**
* <code>optional uint32 slot = 9;</code>
* <code>optional uint32 slot = 8;</code>
* @return whether the slot field is set
*/
public boolean hasSlot() {
@@ -42,7 +42,7 @@ public final class ChangeLineupLeaderCsReqOuterClass {
}
/**
* <code>optional uint32 slot = 9;</code>
* <code>optional uint32 slot = 8;</code>
* @return this
*/
public ChangeLineupLeaderCsReq clearSlot() {
@@ -52,7 +52,7 @@ public final class ChangeLineupLeaderCsReqOuterClass {
}
/**
* <code>optional uint32 slot = 9;</code>
* <code>optional uint32 slot = 8;</code>
* @return the slot
*/
public int getSlot() {
@@ -60,7 +60,7 @@ public final class ChangeLineupLeaderCsReqOuterClass {
}
/**
* <code>optional uint32 slot = 9;</code>
* <code>optional uint32 slot = 8;</code>
* @param value the slot to set
* @return this
*/
@@ -129,7 +129,7 @@ public final class ChangeLineupLeaderCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 72);
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(slot);
}
}
@@ -150,7 +150,7 @@ public final class ChangeLineupLeaderCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 72: {
case 64: {
// slot
slot = input.readUInt32();
bitField0_ |= 0x00000001;

View File

@@ -19,12 +19,12 @@ public final class ChangeLineupLeaderScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 slot = 5;</code>
* <code>optional uint32 slot = 8;</code>
*/
private int slot;
/**
* <code>optional uint32 retcode = 8;</code>
* <code>optional uint32 retcode = 11;</code>
*/
private int retcode;
@@ -39,7 +39,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
* <code>optional uint32 slot = 5;</code>
* <code>optional uint32 slot = 8;</code>
* @return whether the slot field is set
*/
public boolean hasSlot() {
@@ -47,7 +47,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
* <code>optional uint32 slot = 5;</code>
* <code>optional uint32 slot = 8;</code>
* @return this
*/
public ChangeLineupLeaderScRsp clearSlot() {
@@ -57,7 +57,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
* <code>optional uint32 slot = 5;</code>
* <code>optional uint32 slot = 8;</code>
* @return the slot
*/
public int getSlot() {
@@ -65,7 +65,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
* <code>optional uint32 slot = 5;</code>
* <code>optional uint32 slot = 8;</code>
* @param value the slot to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 8;</code>
* <code>optional uint32 retcode = 11;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -84,7 +84,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 8;</code>
* <code>optional uint32 retcode = 11;</code>
* @return this
*/
public ChangeLineupLeaderScRsp clearRetcode() {
@@ -94,7 +94,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 8;</code>
* <code>optional uint32 retcode = 11;</code>
* @return the retcode
*/
public int getRetcode() {
@@ -102,7 +102,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 8;</code>
* <code>optional uint32 retcode = 11;</code>
* @param value the retcode to set
* @return this
*/
@@ -177,11 +177,11 @@ public final class ChangeLineupLeaderScRspOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 40);
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(slot);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 64);
output.writeRawByte((byte) 88);
output.writeUInt32NoTag(retcode);
}
}
@@ -205,16 +205,16 @@ public final class ChangeLineupLeaderScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 40: {
case 64: {
// slot
slot = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 64) {
if (tag != 88) {
break;
}
}
case 64: {
case 88: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000002;

View File

@@ -19,15 +19,15 @@ public final class ChargerInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 unk_int = 7;</code>
*/
private int unkInt;
/**
* <code>optional uint32 group_id = 15;</code>
* <code>optional uint32 group_id = 4;</code>
*/
private int groupId;
/**
* <code>optional uint32 unk_int = 9;</code>
*/
private int unkInt;
private ChargerInfo() {
}
@@ -39,62 +39,25 @@ public final class ChargerInfoOuterClass {
}
/**
* <code>optional uint32 unk_int = 7;</code>
* @return whether the unkInt field is set
* <code>optional uint32 group_id = 4;</code>
* @return whether the groupId field is set
*/
public boolean hasUnkInt() {
public boolean hasGroupId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 unk_int = 7;</code>
* @return this
*/
public ChargerInfo clearUnkInt() {
bitField0_ &= ~0x00000001;
unkInt = 0;
return this;
}
/**
* <code>optional uint32 unk_int = 7;</code>
* @return the unkInt
*/
public int getUnkInt() {
return unkInt;
}
/**
* <code>optional uint32 unk_int = 7;</code>
* @param value the unkInt to set
* @return this
*/
public ChargerInfo setUnkInt(final int value) {
bitField0_ |= 0x00000001;
unkInt = value;
return this;
}
/**
* <code>optional uint32 group_id = 15;</code>
* @return whether the groupId field is set
*/
public boolean hasGroupId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 group_id = 15;</code>
* <code>optional uint32 group_id = 4;</code>
* @return this
*/
public ChargerInfo clearGroupId() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
groupId = 0;
return this;
}
/**
* <code>optional uint32 group_id = 15;</code>
* <code>optional uint32 group_id = 4;</code>
* @return the groupId
*/
public int getGroupId() {
@@ -102,23 +65,60 @@ public final class ChargerInfoOuterClass {
}
/**
* <code>optional uint32 group_id = 15;</code>
* <code>optional uint32 group_id = 4;</code>
* @param value the groupId to set
* @return this
*/
public ChargerInfo setGroupId(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
groupId = value;
return this;
}
/**
* <code>optional uint32 unk_int = 9;</code>
* @return whether the unkInt field is set
*/
public boolean hasUnkInt() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 unk_int = 9;</code>
* @return this
*/
public ChargerInfo clearUnkInt() {
bitField0_ &= ~0x00000002;
unkInt = 0;
return this;
}
/**
* <code>optional uint32 unk_int = 9;</code>
* @return the unkInt
*/
public int getUnkInt() {
return unkInt;
}
/**
* <code>optional uint32 unk_int = 9;</code>
* @param value the unkInt to set
* @return this
*/
public ChargerInfo setUnkInt(final int value) {
bitField0_ |= 0x00000002;
unkInt = value;
return this;
}
@Override
public ChargerInfo copyFrom(final ChargerInfo other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
unkInt = other.unkInt;
groupId = other.groupId;
unkInt = other.unkInt;
}
return this;
}
@@ -129,12 +129,12 @@ public final class ChargerInfoOuterClass {
return this;
}
cachedSize = -1;
if (other.hasUnkInt()) {
setUnkInt(other.unkInt);
}
if (other.hasGroupId()) {
setGroupId(other.groupId);
}
if (other.hasUnkInt()) {
setUnkInt(other.unkInt);
}
return this;
}
@@ -145,8 +145,8 @@ public final class ChargerInfoOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
unkInt = 0;
groupId = 0;
unkInt = 0;
return this;
}
@@ -170,19 +170,19 @@ public final class ChargerInfoOuterClass {
}
ChargerInfo other = (ChargerInfo) o;
return bitField0_ == other.bitField0_
&& (!hasUnkInt() || unkInt == other.unkInt)
&& (!hasGroupId() || groupId == other.groupId);
&& (!hasGroupId() || groupId == other.groupId)
&& (!hasUnkInt() || unkInt == other.unkInt);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 56);
output.writeUInt32NoTag(unkInt);
output.writeRawByte((byte) 32);
output.writeUInt32NoTag(groupId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 120);
output.writeUInt32NoTag(groupId);
output.writeRawByte((byte) 72);
output.writeUInt32NoTag(unkInt);
}
}
@@ -190,10 +190,10 @@ public final class ChargerInfoOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(unkInt);
size += 1 + ProtoSink.computeUInt32SizeNoTag(groupId);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(groupId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(unkInt);
}
return size;
}
@@ -205,18 +205,18 @@ public final class ChargerInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 56: {
// unkInt
unkInt = input.readUInt32();
case 32: {
// groupId
groupId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 120) {
if (tag != 72) {
break;
}
}
case 120: {
// groupId
groupId = input.readUInt32();
case 72: {
// unkInt
unkInt = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 0) {
@@ -241,10 +241,10 @@ public final class ChargerInfoOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.unkInt, unkInt);
output.writeUInt32(FieldNames.groupId, groupId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.groupId, groupId);
output.writeUInt32(FieldNames.unkInt, unkInt);
}
output.endObject();
}
@@ -256,11 +256,11 @@ public final class ChargerInfoOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -840508003:
case -285293790: {
if (input.isAtField(FieldNames.unkInt)) {
case 293428218:
case 506361563: {
if (input.isAtField(FieldNames.groupId)) {
if (!input.trySkipNullValue()) {
unkInt = input.readUInt32();
groupId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -268,11 +268,11 @@ public final class ChargerInfoOuterClass {
}
break;
}
case 293428218:
case 506361563: {
if (input.isAtField(FieldNames.groupId)) {
case -840508003:
case -285293790: {
if (input.isAtField(FieldNames.unkInt)) {
if (!input.trySkipNullValue()) {
groupId = input.readUInt32();
unkInt = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -332,9 +332,9 @@ public final class ChargerInfoOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName unkInt = FieldName.forField("unkInt", "unk_int");
static final FieldName groupId = FieldName.forField("groupId", "group_id");
static final FieldName unkInt = FieldName.forField("unkInt", "unk_int");
}
}
}

View File

@@ -20,27 +20,27 @@ public final class ChatOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint64 sent_time = 13;</code>
* <code>optional uint64 sent_time = 12;</code>
*/
private long sentTime;
/**
* <code>optional uint32 sender_uid = 5;</code>
* <code>optional uint32 sender_uid = 2;</code>
*/
private int senderUid;
/**
* <code>optional uint32 emote = 11;</code>
* <code>optional uint32 emote = 3;</code>
*/
private int emote;
/**
* <code>optional .MsgType msg_type = 15;</code>
* <code>optional .MsgType msg_type = 10;</code>
*/
private int msgType;
/**
* <code>optional string text = 10;</code>
* <code>optional string text = 11;</code>
*/
private final Utf8String text = Utf8String.newEmptyInstance();
@@ -55,7 +55,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional uint64 sent_time = 13;</code>
* <code>optional uint64 sent_time = 12;</code>
* @return whether the sentTime field is set
*/
public boolean hasSentTime() {
@@ -63,7 +63,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional uint64 sent_time = 13;</code>
* <code>optional uint64 sent_time = 12;</code>
* @return this
*/
public Chat clearSentTime() {
@@ -73,7 +73,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional uint64 sent_time = 13;</code>
* <code>optional uint64 sent_time = 12;</code>
* @return the sentTime
*/
public long getSentTime() {
@@ -81,7 +81,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional uint64 sent_time = 13;</code>
* <code>optional uint64 sent_time = 12;</code>
* @param value the sentTime to set
* @return this
*/
@@ -92,7 +92,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional uint32 sender_uid = 5;</code>
* <code>optional uint32 sender_uid = 2;</code>
* @return whether the senderUid field is set
*/
public boolean hasSenderUid() {
@@ -100,7 +100,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional uint32 sender_uid = 5;</code>
* <code>optional uint32 sender_uid = 2;</code>
* @return this
*/
public Chat clearSenderUid() {
@@ -110,7 +110,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional uint32 sender_uid = 5;</code>
* <code>optional uint32 sender_uid = 2;</code>
* @return the senderUid
*/
public int getSenderUid() {
@@ -118,7 +118,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional uint32 sender_uid = 5;</code>
* <code>optional uint32 sender_uid = 2;</code>
* @param value the senderUid to set
* @return this
*/
@@ -129,7 +129,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional uint32 emote = 11;</code>
* <code>optional uint32 emote = 3;</code>
* @return whether the emote field is set
*/
public boolean hasEmote() {
@@ -137,7 +137,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional uint32 emote = 11;</code>
* <code>optional uint32 emote = 3;</code>
* @return this
*/
public Chat clearEmote() {
@@ -147,7 +147,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional uint32 emote = 11;</code>
* <code>optional uint32 emote = 3;</code>
* @return the emote
*/
public int getEmote() {
@@ -155,7 +155,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional uint32 emote = 11;</code>
* <code>optional uint32 emote = 3;</code>
* @param value the emote to set
* @return this
*/
@@ -166,7 +166,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional .MsgType msg_type = 15;</code>
* <code>optional .MsgType msg_type = 10;</code>
* @return whether the msgType field is set
*/
public boolean hasMsgType() {
@@ -174,7 +174,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional .MsgType msg_type = 15;</code>
* <code>optional .MsgType msg_type = 10;</code>
* @return this
*/
public Chat clearMsgType() {
@@ -184,7 +184,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional .MsgType msg_type = 15;</code>
* <code>optional .MsgType msg_type = 10;</code>
* @return the msgType
*/
public MsgTypeOuterClass.MsgType getMsgType() {
@@ -217,7 +217,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional .MsgType msg_type = 15;</code>
* <code>optional .MsgType msg_type = 10;</code>
* @param value the msgType to set
* @return this
*/
@@ -228,7 +228,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional string text = 10;</code>
* <code>optional string text = 11;</code>
* @return whether the text field is set
*/
public boolean hasText() {
@@ -236,7 +236,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional string text = 10;</code>
* <code>optional string text = 11;</code>
* @return this
*/
public Chat clearText() {
@@ -246,7 +246,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional string text = 10;</code>
* <code>optional string text = 11;</code>
* @return the text
*/
public String getText() {
@@ -254,7 +254,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional string text = 10;</code>
* <code>optional string text = 11;</code>
* @return internal {@code Utf8String} representation of text for reading
*/
public Utf8String getTextBytes() {
@@ -262,7 +262,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional string text = 10;</code>
* <code>optional string text = 11;</code>
* @return internal {@code Utf8String} representation of text for modifications
*/
public Utf8String getMutableTextBytes() {
@@ -271,7 +271,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional string text = 10;</code>
* <code>optional string text = 11;</code>
* @param value the text to set
* @return this
*/
@@ -282,7 +282,7 @@ public final class ChatOuterClass {
}
/**
* <code>optional string text = 10;</code>
* <code>optional string text = 11;</code>
* @param value the text to set
* @return this
*/
@@ -376,23 +376,23 @@ public final class ChatOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 104);
output.writeRawByte((byte) 96);
output.writeUInt64NoTag(sentTime);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 40);
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(senderUid);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 88);
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(emote);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 120);
output.writeRawByte((byte) 80);
output.writeEnumNoTag(msgType);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 82);
output.writeRawByte((byte) 90);
output.writeStringNoTag(text);
}
}
@@ -425,34 +425,34 @@ public final class ChatOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 104: {
case 96: {
// sentTime
sentTime = input.readUInt64();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 40) {
if (tag != 16) {
break;
}
}
case 40: {
case 16: {
// senderUid
senderUid = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 88) {
if (tag != 24) {
break;
}
}
case 88: {
case 24: {
// emote
emote = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 120) {
if (tag != 80) {
break;
}
}
case 120: {
case 80: {
// msgType
final int value = input.readInt32();
if (MsgTypeOuterClass.MsgType.forNumber(value) != null) {
@@ -460,11 +460,11 @@ public final class ChatOuterClass {
bitField0_ |= 0x00000008;
}
tag = input.readTag();
if (tag != 82) {
if (tag != 90) {
break;
}
}
case 82: {
case 90: {
// text
input.readString(text);
bitField0_ |= 0x00000010;

View File

@@ -67,7 +67,7 @@ public final class ChatTypeOuterClass {
/**
* @return a converter that maps between this enum's numeric and text representations
*/
public static EnumConverter<ChatType> converter() {
public static ProtoEnum.EnumConverter<ChatType> converter() {
return ChatTypeConverter.INSTANCE;
}
@@ -89,7 +89,7 @@ public final class ChatTypeOuterClass {
return value == null ? other : value;
}
enum ChatTypeConverter implements EnumConverter<ChatType> {
enum ChatTypeConverter implements ProtoEnum.EnumConverter<ChatType> {
INSTANCE;
private static final ChatType[] lookup = new ChatType[3];

View File

@@ -19,7 +19,7 @@ public final class ChessRogueSelectCellCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 cell_id = 2;</code>
* <code>optional uint32 cell_id = 15;</code>
*/
private int cellId;
@@ -34,7 +34,7 @@ public final class ChessRogueSelectCellCsReqOuterClass {
}
/**
* <code>optional uint32 cell_id = 2;</code>
* <code>optional uint32 cell_id = 15;</code>
* @return whether the cellId field is set
*/
public boolean hasCellId() {
@@ -42,7 +42,7 @@ public final class ChessRogueSelectCellCsReqOuterClass {
}
/**
* <code>optional uint32 cell_id = 2;</code>
* <code>optional uint32 cell_id = 15;</code>
* @return this
*/
public ChessRogueSelectCellCsReq clearCellId() {
@@ -52,7 +52,7 @@ public final class ChessRogueSelectCellCsReqOuterClass {
}
/**
* <code>optional uint32 cell_id = 2;</code>
* <code>optional uint32 cell_id = 15;</code>
* @return the cellId
*/
public int getCellId() {
@@ -60,7 +60,7 @@ public final class ChessRogueSelectCellCsReqOuterClass {
}
/**
* <code>optional uint32 cell_id = 2;</code>
* <code>optional uint32 cell_id = 15;</code>
* @param value the cellId to set
* @return this
*/
@@ -129,7 +129,7 @@ public final class ChessRogueSelectCellCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 16);
output.writeRawByte((byte) 120);
output.writeUInt32NoTag(cellId);
}
}
@@ -150,7 +150,7 @@ public final class ChessRogueSelectCellCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 16: {
case 120: {
// cellId
cellId = input.readUInt32();
bitField0_ |= 0x00000001;

View File

@@ -19,15 +19,15 @@ public final class ChessRogueSelectCellScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 cell_id = 8;</code>
*/
private int cellId;
/**
* <code>optional uint32 retcode = 15;</code>
* <code>optional uint32 retcode = 5;</code>
*/
private int retcode;
/**
* <code>optional uint32 cell_id = 7;</code>
*/
private int cellId;
private ChessRogueSelectCellScRsp() {
}
@@ -39,62 +39,25 @@ public final class ChessRogueSelectCellScRspOuterClass {
}
/**
* <code>optional uint32 cell_id = 8;</code>
* @return whether the cellId field is set
* <code>optional uint32 retcode = 5;</code>
* @return whether the retcode field is set
*/
public boolean hasCellId() {
public boolean hasRetcode() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 cell_id = 8;</code>
* @return this
*/
public ChessRogueSelectCellScRsp clearCellId() {
bitField0_ &= ~0x00000001;
cellId = 0;
return this;
}
/**
* <code>optional uint32 cell_id = 8;</code>
* @return the cellId
*/
public int getCellId() {
return cellId;
}
/**
* <code>optional uint32 cell_id = 8;</code>
* @param value the cellId to set
* @return this
*/
public ChessRogueSelectCellScRsp setCellId(final int value) {
bitField0_ |= 0x00000001;
cellId = value;
return this;
}
/**
* <code>optional uint32 retcode = 15;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 retcode = 15;</code>
* <code>optional uint32 retcode = 5;</code>
* @return this
*/
public ChessRogueSelectCellScRsp clearRetcode() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
retcode = 0;
return this;
}
/**
* <code>optional uint32 retcode = 15;</code>
* <code>optional uint32 retcode = 5;</code>
* @return the retcode
*/
public int getRetcode() {
@@ -102,23 +65,60 @@ public final class ChessRogueSelectCellScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 15;</code>
* <code>optional uint32 retcode = 5;</code>
* @param value the retcode to set
* @return this
*/
public ChessRogueSelectCellScRsp setRetcode(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
retcode = value;
return this;
}
/**
* <code>optional uint32 cell_id = 7;</code>
* @return whether the cellId field is set
*/
public boolean hasCellId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 cell_id = 7;</code>
* @return this
*/
public ChessRogueSelectCellScRsp clearCellId() {
bitField0_ &= ~0x00000002;
cellId = 0;
return this;
}
/**
* <code>optional uint32 cell_id = 7;</code>
* @return the cellId
*/
public int getCellId() {
return cellId;
}
/**
* <code>optional uint32 cell_id = 7;</code>
* @param value the cellId to set
* @return this
*/
public ChessRogueSelectCellScRsp setCellId(final int value) {
bitField0_ |= 0x00000002;
cellId = value;
return this;
}
@Override
public ChessRogueSelectCellScRsp copyFrom(final ChessRogueSelectCellScRsp other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
cellId = other.cellId;
retcode = other.retcode;
cellId = other.cellId;
}
return this;
}
@@ -129,12 +129,12 @@ public final class ChessRogueSelectCellScRspOuterClass {
return this;
}
cachedSize = -1;
if (other.hasCellId()) {
setCellId(other.cellId);
}
if (other.hasRetcode()) {
setRetcode(other.retcode);
}
if (other.hasCellId()) {
setCellId(other.cellId);
}
return this;
}
@@ -145,8 +145,8 @@ public final class ChessRogueSelectCellScRspOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
cellId = 0;
retcode = 0;
cellId = 0;
return this;
}
@@ -170,19 +170,19 @@ public final class ChessRogueSelectCellScRspOuterClass {
}
ChessRogueSelectCellScRsp other = (ChessRogueSelectCellScRsp) o;
return bitField0_ == other.bitField0_
&& (!hasCellId() || cellId == other.cellId)
&& (!hasRetcode() || retcode == other.retcode);
&& (!hasRetcode() || retcode == other.retcode)
&& (!hasCellId() || cellId == other.cellId);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(cellId);
output.writeRawByte((byte) 40);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 120);
output.writeUInt32NoTag(retcode);
output.writeRawByte((byte) 56);
output.writeUInt32NoTag(cellId);
}
}
@@ -190,10 +190,10 @@ public final class ChessRogueSelectCellScRspOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(cellId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
size += 1 + ProtoSink.computeUInt32SizeNoTag(cellId);
}
return size;
}
@@ -205,18 +205,18 @@ public final class ChessRogueSelectCellScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 64: {
// cellId
cellId = input.readUInt32();
case 40: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 120) {
if (tag != 56) {
break;
}
}
case 120: {
// retcode
retcode = input.readUInt32();
case 56: {
// cellId
cellId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 0) {
@@ -241,10 +241,10 @@ public final class ChessRogueSelectCellScRspOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.cellId, cellId);
output.writeUInt32(FieldNames.retcode, retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.retcode, retcode);
output.writeUInt32(FieldNames.cellId, cellId);
}
output.endObject();
}
@@ -256,11 +256,10 @@ public final class ChessRogueSelectCellScRspOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -1364082147:
case 663147800: {
if (input.isAtField(FieldNames.cellId)) {
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
if (!input.trySkipNullValue()) {
cellId = input.readUInt32();
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -268,10 +267,11 @@ public final class ChessRogueSelectCellScRspOuterClass {
}
break;
}
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
case -1364082147:
case 663147800: {
if (input.isAtField(FieldNames.cellId)) {
if (!input.trySkipNullValue()) {
retcode = input.readUInt32();
cellId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -332,9 +332,9 @@ public final class ChessRogueSelectCellScRspOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName cellId = FieldName.forField("cellId", "cell_id");
static final FieldName retcode = FieldName.forField("retcode");
static final FieldName cellId = FieldName.forField("cellId", "cell_id");
}
}
}

View File

@@ -21,52 +21,52 @@ public final class ClientMailOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional int64 expire_time = 1;</code>
* <code>optional int64 expire_time = 3;</code>
*/
private long expireTime;
/**
* <code>optional int64 time = 6;</code>
* <code>optional int64 time = 15;</code>
*/
private long time;
/**
* <code>optional uint32 template_id = 5;</code>
* <code>optional uint32 template_id = 8;</code>
*/
private int templateId;
/**
* <code>optional uint32 id = 7;</code>
* <code>optional uint32 id = 12;</code>
*/
private int id;
/**
* <code>optional bool is_read = 4;</code>
* <code>optional bool is_read = 13;</code>
*/
private boolean isRead;
/**
* <code>optional .ItemList attachment = 15;</code>
* <code>optional .ItemList attachment = 14;</code>
*/
private final ItemListOuterClass.ItemList attachment = ItemListOuterClass.ItemList.newInstance();
/**
* <code>optional string title = 8;</code>
* <code>optional string title = 1;</code>
*/
private final Utf8String title = Utf8String.newEmptyInstance();
/**
* <code>optional string sender = 9;</code>
* <code>optional string sender = 7;</code>
*/
private final Utf8String sender = Utf8String.newEmptyInstance();
/**
* <code>optional string content = 10;</code>
* <code>optional string content = 11;</code>
*/
private final Utf8String content = Utf8String.newEmptyInstance();
/**
* <code>repeated string para_list = 3;</code>
* <code>repeated string para_list = 9;</code>
*/
private final RepeatedString paraList = RepeatedString.newEmptyInstance();
@@ -81,7 +81,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional int64 expire_time = 1;</code>
* <code>optional int64 expire_time = 3;</code>
* @return whether the expireTime field is set
*/
public boolean hasExpireTime() {
@@ -89,7 +89,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional int64 expire_time = 1;</code>
* <code>optional int64 expire_time = 3;</code>
* @return this
*/
public ClientMail clearExpireTime() {
@@ -99,7 +99,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional int64 expire_time = 1;</code>
* <code>optional int64 expire_time = 3;</code>
* @return the expireTime
*/
public long getExpireTime() {
@@ -107,7 +107,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional int64 expire_time = 1;</code>
* <code>optional int64 expire_time = 3;</code>
* @param value the expireTime to set
* @return this
*/
@@ -118,7 +118,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional int64 time = 6;</code>
* <code>optional int64 time = 15;</code>
* @return whether the time field is set
*/
public boolean hasTime() {
@@ -126,7 +126,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional int64 time = 6;</code>
* <code>optional int64 time = 15;</code>
* @return this
*/
public ClientMail clearTime() {
@@ -136,7 +136,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional int64 time = 6;</code>
* <code>optional int64 time = 15;</code>
* @return the time
*/
public long getTime() {
@@ -144,7 +144,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional int64 time = 6;</code>
* <code>optional int64 time = 15;</code>
* @param value the time to set
* @return this
*/
@@ -155,7 +155,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional uint32 template_id = 5;</code>
* <code>optional uint32 template_id = 8;</code>
* @return whether the templateId field is set
*/
public boolean hasTemplateId() {
@@ -163,7 +163,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional uint32 template_id = 5;</code>
* <code>optional uint32 template_id = 8;</code>
* @return this
*/
public ClientMail clearTemplateId() {
@@ -173,7 +173,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional uint32 template_id = 5;</code>
* <code>optional uint32 template_id = 8;</code>
* @return the templateId
*/
public int getTemplateId() {
@@ -181,7 +181,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional uint32 template_id = 5;</code>
* <code>optional uint32 template_id = 8;</code>
* @param value the templateId to set
* @return this
*/
@@ -192,7 +192,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional uint32 id = 7;</code>
* <code>optional uint32 id = 12;</code>
* @return whether the id field is set
*/
public boolean hasId() {
@@ -200,7 +200,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional uint32 id = 7;</code>
* <code>optional uint32 id = 12;</code>
* @return this
*/
public ClientMail clearId() {
@@ -210,7 +210,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional uint32 id = 7;</code>
* <code>optional uint32 id = 12;</code>
* @return the id
*/
public int getId() {
@@ -218,7 +218,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional uint32 id = 7;</code>
* <code>optional uint32 id = 12;</code>
* @param value the id to set
* @return this
*/
@@ -229,7 +229,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional bool is_read = 4;</code>
* <code>optional bool is_read = 13;</code>
* @return whether the isRead field is set
*/
public boolean hasIsRead() {
@@ -237,7 +237,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional bool is_read = 4;</code>
* <code>optional bool is_read = 13;</code>
* @return this
*/
public ClientMail clearIsRead() {
@@ -247,7 +247,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional bool is_read = 4;</code>
* <code>optional bool is_read = 13;</code>
* @return the isRead
*/
public boolean getIsRead() {
@@ -255,7 +255,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional bool is_read = 4;</code>
* <code>optional bool is_read = 13;</code>
* @param value the isRead to set
* @return this
*/
@@ -266,7 +266,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional .ItemList attachment = 15;</code>
* <code>optional .ItemList attachment = 14;</code>
* @return whether the attachment field is set
*/
public boolean hasAttachment() {
@@ -274,7 +274,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional .ItemList attachment = 15;</code>
* <code>optional .ItemList attachment = 14;</code>
* @return this
*/
public ClientMail clearAttachment() {
@@ -284,7 +284,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional .ItemList attachment = 15;</code>
* <code>optional .ItemList attachment = 14;</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.
@@ -298,7 +298,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional .ItemList attachment = 15;</code>
* <code>optional .ItemList attachment = 14;</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
@@ -312,7 +312,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional .ItemList attachment = 15;</code>
* <code>optional .ItemList attachment = 14;</code>
* @param value the attachment to set
* @return this
*/
@@ -323,7 +323,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string title = 8;</code>
* <code>optional string title = 1;</code>
* @return whether the title field is set
*/
public boolean hasTitle() {
@@ -331,7 +331,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string title = 8;</code>
* <code>optional string title = 1;</code>
* @return this
*/
public ClientMail clearTitle() {
@@ -341,7 +341,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string title = 8;</code>
* <code>optional string title = 1;</code>
* @return the title
*/
public String getTitle() {
@@ -349,7 +349,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string title = 8;</code>
* <code>optional string title = 1;</code>
* @return internal {@code Utf8String} representation of title for reading
*/
public Utf8String getTitleBytes() {
@@ -357,7 +357,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string title = 8;</code>
* <code>optional string title = 1;</code>
* @return internal {@code Utf8String} representation of title for modifications
*/
public Utf8String getMutableTitleBytes() {
@@ -366,7 +366,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string title = 8;</code>
* <code>optional string title = 1;</code>
* @param value the title to set
* @return this
*/
@@ -377,7 +377,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string title = 8;</code>
* <code>optional string title = 1;</code>
* @param value the title to set
* @return this
*/
@@ -388,7 +388,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string sender = 9;</code>
* <code>optional string sender = 7;</code>
* @return whether the sender field is set
*/
public boolean hasSender() {
@@ -396,7 +396,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string sender = 9;</code>
* <code>optional string sender = 7;</code>
* @return this
*/
public ClientMail clearSender() {
@@ -406,7 +406,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string sender = 9;</code>
* <code>optional string sender = 7;</code>
* @return the sender
*/
public String getSender() {
@@ -414,7 +414,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string sender = 9;</code>
* <code>optional string sender = 7;</code>
* @return internal {@code Utf8String} representation of sender for reading
*/
public Utf8String getSenderBytes() {
@@ -422,7 +422,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string sender = 9;</code>
* <code>optional string sender = 7;</code>
* @return internal {@code Utf8String} representation of sender for modifications
*/
public Utf8String getMutableSenderBytes() {
@@ -431,7 +431,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string sender = 9;</code>
* <code>optional string sender = 7;</code>
* @param value the sender to set
* @return this
*/
@@ -442,7 +442,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string sender = 9;</code>
* <code>optional string sender = 7;</code>
* @param value the sender to set
* @return this
*/
@@ -453,7 +453,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string content = 10;</code>
* <code>optional string content = 11;</code>
* @return whether the content field is set
*/
public boolean hasContent() {
@@ -461,7 +461,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string content = 10;</code>
* <code>optional string content = 11;</code>
* @return this
*/
public ClientMail clearContent() {
@@ -471,7 +471,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string content = 10;</code>
* <code>optional string content = 11;</code>
* @return the content
*/
public String getContent() {
@@ -479,7 +479,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string content = 10;</code>
* <code>optional string content = 11;</code>
* @return internal {@code Utf8String} representation of content for reading
*/
public Utf8String getContentBytes() {
@@ -487,7 +487,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string content = 10;</code>
* <code>optional string content = 11;</code>
* @return internal {@code Utf8String} representation of content for modifications
*/
public Utf8String getMutableContentBytes() {
@@ -496,7 +496,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string content = 10;</code>
* <code>optional string content = 11;</code>
* @param value the content to set
* @return this
*/
@@ -507,7 +507,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>optional string content = 10;</code>
* <code>optional string content = 11;</code>
* @param value the content to set
* @return this
*/
@@ -518,7 +518,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>repeated string para_list = 3;</code>
* <code>repeated string para_list = 9;</code>
* @return whether the paraList field is set
*/
public boolean hasParaList() {
@@ -526,7 +526,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>repeated string para_list = 3;</code>
* <code>repeated string para_list = 9;</code>
* @return this
*/
public ClientMail clearParaList() {
@@ -536,7 +536,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>repeated string para_list = 3;</code>
* <code>repeated string para_list = 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.
@@ -550,7 +550,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>repeated string para_list = 3;</code>
* <code>repeated string para_list = 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
@@ -564,7 +564,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>repeated string para_list = 3;</code>
* <code>repeated string para_list = 9;</code>
* @param value the paraList to add
* @return this
*/
@@ -575,7 +575,7 @@ public final class ClientMailOuterClass {
}
/**
* <code>repeated string para_list = 3;</code>
* <code>repeated string para_list = 9;</code>
* @param values the paraList to add
* @return this
*/
@@ -703,44 +703,44 @@ public final class ClientMailOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 8);
output.writeRawByte((byte) 24);
output.writeInt64NoTag(expireTime);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 48);
output.writeRawByte((byte) 120);
output.writeInt64NoTag(time);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 40);
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(templateId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 56);
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(id);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 32);
output.writeRawByte((byte) 104);
output.writeBoolNoTag(isRead);
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeRawByte((byte) 122);
output.writeRawByte((byte) 114);
output.writeMessageNoTag(attachment);
}
if ((bitField0_ & 0x00000040) != 0) {
output.writeRawByte((byte) 66);
output.writeRawByte((byte) 10);
output.writeStringNoTag(title);
}
if ((bitField0_ & 0x00000080) != 0) {
output.writeRawByte((byte) 74);
output.writeRawByte((byte) 58);
output.writeStringNoTag(sender);
}
if ((bitField0_ & 0x00000100) != 0) {
output.writeRawByte((byte) 82);
output.writeRawByte((byte) 90);
output.writeStringNoTag(content);
}
if ((bitField0_ & 0x00000200) != 0) {
for (int i = 0; i < paraList.length(); i++) {
output.writeRawByte((byte) 26);
output.writeRawByte((byte) 74);
output.writeStringNoTag(paraList.get(i));
}
}
@@ -789,88 +789,88 @@ public final class ClientMailOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 8: {
case 24: {
// expireTime
expireTime = input.readInt64();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 48) {
if (tag != 120) {
break;
}
}
case 48: {
case 120: {
// time
time = input.readInt64();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 40) {
if (tag != 64) {
break;
}
}
case 40: {
case 64: {
// templateId
templateId = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 56) {
if (tag != 96) {
break;
}
}
case 56: {
case 96: {
// id
id = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 32) {
if (tag != 104) {
break;
}
}
case 32: {
case 104: {
// isRead
isRead = input.readBool();
bitField0_ |= 0x00000010;
tag = input.readTag();
if (tag != 122) {
if (tag != 114) {
break;
}
}
case 122: {
case 114: {
// attachment
input.readMessage(attachment);
bitField0_ |= 0x00000020;
tag = input.readTag();
if (tag != 66) {
if (tag != 10) {
break;
}
}
case 66: {
case 10: {
// title
input.readString(title);
bitField0_ |= 0x00000040;
tag = input.readTag();
if (tag != 58) {
break;
}
}
case 58: {
// sender
input.readString(sender);
bitField0_ |= 0x00000080;
tag = input.readTag();
if (tag != 90) {
break;
}
}
case 90: {
// content
input.readString(content);
bitField0_ |= 0x00000100;
tag = input.readTag();
if (tag != 74) {
break;
}
}
case 74: {
// sender
input.readString(sender);
bitField0_ |= 0x00000080;
tag = input.readTag();
if (tag != 82) {
break;
}
}
case 82: {
// content
input.readString(content);
bitField0_ |= 0x00000100;
tag = input.readTag();
if (tag != 26) {
break;
}
}
case 26: {
// paraList
tag = input.readRepeatedString(paraList, tag);
bitField0_ |= 0x00000200;

View File

@@ -19,17 +19,17 @@ public final class ComposeItemCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 count = 4;</code>
*/
private int count;
/**
* <code>optional uint32 compose_id = 9;</code>
* <code>optional uint32 compose_id = 5;</code>
*/
private int composeId;
/**
* <code>optional .ItemCostList compose_item_list = 8;</code>
* <code>optional uint32 count = 6;</code>
*/
private int count;
/**
* <code>optional .ItemCostList compose_item_list = 3;</code>
*/
private final ItemCostListOuterClass.ItemCostList composeItemList = ItemCostListOuterClass.ItemCostList.newInstance();
@@ -44,62 +44,25 @@ public final class ComposeItemCsReqOuterClass {
}
/**
* <code>optional uint32 count = 4;</code>
* @return whether the count field is set
* <code>optional uint32 compose_id = 5;</code>
* @return whether the composeId field is set
*/
public boolean hasCount() {
public boolean hasComposeId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 count = 4;</code>
* @return this
*/
public ComposeItemCsReq clearCount() {
bitField0_ &= ~0x00000001;
count = 0;
return this;
}
/**
* <code>optional uint32 count = 4;</code>
* @return the count
*/
public int getCount() {
return count;
}
/**
* <code>optional uint32 count = 4;</code>
* @param value the count to set
* @return this
*/
public ComposeItemCsReq setCount(final int value) {
bitField0_ |= 0x00000001;
count = value;
return this;
}
/**
* <code>optional uint32 compose_id = 9;</code>
* @return whether the composeId field is set
*/
public boolean hasComposeId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 compose_id = 9;</code>
* <code>optional uint32 compose_id = 5;</code>
* @return this
*/
public ComposeItemCsReq clearComposeId() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
composeId = 0;
return this;
}
/**
* <code>optional uint32 compose_id = 9;</code>
* <code>optional uint32 compose_id = 5;</code>
* @return the composeId
*/
public int getComposeId() {
@@ -107,18 +70,55 @@ public final class ComposeItemCsReqOuterClass {
}
/**
* <code>optional uint32 compose_id = 9;</code>
* <code>optional uint32 compose_id = 5;</code>
* @param value the composeId to set
* @return this
*/
public ComposeItemCsReq setComposeId(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
composeId = value;
return this;
}
/**
* <code>optional .ItemCostList compose_item_list = 8;</code>
* <code>optional uint32 count = 6;</code>
* @return whether the count field is set
*/
public boolean hasCount() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 count = 6;</code>
* @return this
*/
public ComposeItemCsReq clearCount() {
bitField0_ &= ~0x00000002;
count = 0;
return this;
}
/**
* <code>optional uint32 count = 6;</code>
* @return the count
*/
public int getCount() {
return count;
}
/**
* <code>optional uint32 count = 6;</code>
* @param value the count to set
* @return this
*/
public ComposeItemCsReq setCount(final int value) {
bitField0_ |= 0x00000002;
count = value;
return this;
}
/**
* <code>optional .ItemCostList compose_item_list = 3;</code>
* @return whether the composeItemList field is set
*/
public boolean hasComposeItemList() {
@@ -126,7 +126,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
* <code>optional .ItemCostList compose_item_list = 8;</code>
* <code>optional .ItemCostList compose_item_list = 3;</code>
* @return this
*/
public ComposeItemCsReq clearComposeItemList() {
@@ -136,7 +136,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
* <code>optional .ItemCostList compose_item_list = 8;</code>
* <code>optional .ItemCostList compose_item_list = 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.
@@ -150,7 +150,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
* <code>optional .ItemCostList compose_item_list = 8;</code>
* <code>optional .ItemCostList compose_item_list = 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
@@ -164,7 +164,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
* <code>optional .ItemCostList compose_item_list = 8;</code>
* <code>optional .ItemCostList compose_item_list = 3;</code>
* @param value the composeItemList to set
* @return this
*/
@@ -179,8 +179,8 @@ public final class ComposeItemCsReqOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
count = other.count;
composeId = other.composeId;
count = other.count;
composeItemList.copyFrom(other.composeItemList);
}
return this;
@@ -192,12 +192,12 @@ public final class ComposeItemCsReqOuterClass {
return this;
}
cachedSize = -1;
if (other.hasCount()) {
setCount(other.count);
}
if (other.hasComposeId()) {
setComposeId(other.composeId);
}
if (other.hasCount()) {
setCount(other.count);
}
if (other.hasComposeItemList()) {
getMutableComposeItemList().mergeFrom(other.composeItemList);
}
@@ -211,8 +211,8 @@ public final class ComposeItemCsReqOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
count = 0;
composeId = 0;
count = 0;
composeItemList.clear();
return this;
}
@@ -238,23 +238,23 @@ public final class ComposeItemCsReqOuterClass {
}
ComposeItemCsReq other = (ComposeItemCsReq) o;
return bitField0_ == other.bitField0_
&& (!hasCount() || count == other.count)
&& (!hasComposeId() || composeId == other.composeId)
&& (!hasCount() || count == other.count)
&& (!hasComposeItemList() || composeItemList.equals(other.composeItemList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 32);
output.writeUInt32NoTag(count);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 72);
output.writeRawByte((byte) 40);
output.writeUInt32NoTag(composeId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 48);
output.writeUInt32NoTag(count);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 66);
output.writeRawByte((byte) 26);
output.writeMessageNoTag(composeItemList);
}
}
@@ -263,10 +263,10 @@ public final class ComposeItemCsReqOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(count);
size += 1 + ProtoSink.computeUInt32SizeNoTag(composeId);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(composeId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(count);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(composeItemList);
@@ -281,25 +281,25 @@ public final class ComposeItemCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 32: {
// count
count = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 72) {
break;
}
}
case 72: {
case 40: {
// composeId
composeId = input.readUInt32();
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 66) {
if (tag != 48) {
break;
}
}
case 66: {
case 48: {
// count
count = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 26) {
break;
}
}
case 26: {
// composeItemList
input.readMessage(composeItemList);
bitField0_ |= 0x00000004;
@@ -326,10 +326,10 @@ public final class ComposeItemCsReqOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.count, count);
output.writeUInt32(FieldNames.composeId, composeId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.composeId, composeId);
output.writeUInt32(FieldNames.count, count);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeMessage(FieldNames.composeItemList, composeItemList);
@@ -344,10 +344,11 @@ public final class ComposeItemCsReqOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case 94851343: {
if (input.isAtField(FieldNames.count)) {
case -1399759283:
case -442843416: {
if (input.isAtField(FieldNames.composeId)) {
if (!input.trySkipNullValue()) {
count = input.readUInt32();
composeId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -355,11 +356,10 @@ public final class ComposeItemCsReqOuterClass {
}
break;
}
case -1399759283:
case -442843416: {
if (input.isAtField(FieldNames.composeId)) {
case 94851343: {
if (input.isAtField(FieldNames.count)) {
if (!input.trySkipNullValue()) {
composeId = input.readUInt32();
count = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -432,10 +432,10 @@ public final class ComposeItemCsReqOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName count = FieldName.forField("count");
static final FieldName composeId = FieldName.forField("composeId", "compose_id");
static final FieldName count = FieldName.forField("count");
static final FieldName composeItemList = FieldName.forField("composeItemList", "compose_item_list");
}
}

View File

@@ -19,22 +19,22 @@ public final class ComposeItemScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 count = 3;</code>
*/
private int count;
/**
* <code>optional uint32 retcode = 10;</code>
*/
private int retcode;
/**
* <code>optional uint32 compose_id = 15;</code>
* <code>optional uint32 compose_id = 1;</code>
*/
private int composeId;
/**
* <code>optional .ItemList return_item_list = 14;</code>
* <code>optional uint32 count = 2;</code>
*/
private int count;
/**
* <code>optional uint32 retcode = 14;</code>
*/
private int retcode;
/**
* <code>optional .ItemList return_item_list = 8;</code>
*/
private final ItemListOuterClass.ItemList returnItemList = ItemListOuterClass.ItemList.newInstance();
@@ -49,99 +49,25 @@ public final class ComposeItemScRspOuterClass {
}
/**
* <code>optional uint32 count = 3;</code>
* @return whether the count field is set
* <code>optional uint32 compose_id = 1;</code>
* @return whether the composeId field is set
*/
public boolean hasCount() {
public boolean hasComposeId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 count = 3;</code>
* @return this
*/
public ComposeItemScRsp clearCount() {
bitField0_ &= ~0x00000001;
count = 0;
return this;
}
/**
* <code>optional uint32 count = 3;</code>
* @return the count
*/
public int getCount() {
return count;
}
/**
* <code>optional uint32 count = 3;</code>
* @param value the count to set
* @return this
*/
public ComposeItemScRsp setCount(final int value) {
bitField0_ |= 0x00000001;
count = value;
return this;
}
/**
* <code>optional uint32 retcode = 10;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 retcode = 10;</code>
* @return this
*/
public ComposeItemScRsp clearRetcode() {
bitField0_ &= ~0x00000002;
retcode = 0;
return this;
}
/**
* <code>optional uint32 retcode = 10;</code>
* @return the retcode
*/
public int getRetcode() {
return retcode;
}
/**
* <code>optional uint32 retcode = 10;</code>
* @param value the retcode to set
* @return this
*/
public ComposeItemScRsp setRetcode(final int value) {
bitField0_ |= 0x00000002;
retcode = value;
return this;
}
/**
* <code>optional uint32 compose_id = 15;</code>
* @return whether the composeId field is set
*/
public boolean hasComposeId() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 compose_id = 15;</code>
* <code>optional uint32 compose_id = 1;</code>
* @return this
*/
public ComposeItemScRsp clearComposeId() {
bitField0_ &= ~0x00000004;
bitField0_ &= ~0x00000001;
composeId = 0;
return this;
}
/**
* <code>optional uint32 compose_id = 15;</code>
* <code>optional uint32 compose_id = 1;</code>
* @return the composeId
*/
public int getComposeId() {
@@ -149,18 +75,92 @@ public final class ComposeItemScRspOuterClass {
}
/**
* <code>optional uint32 compose_id = 15;</code>
* <code>optional uint32 compose_id = 1;</code>
* @param value the composeId to set
* @return this
*/
public ComposeItemScRsp setComposeId(final int value) {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000001;
composeId = value;
return this;
}
/**
* <code>optional .ItemList return_item_list = 14;</code>
* <code>optional uint32 count = 2;</code>
* @return whether the count field is set
*/
public boolean hasCount() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 count = 2;</code>
* @return this
*/
public ComposeItemScRsp clearCount() {
bitField0_ &= ~0x00000002;
count = 0;
return this;
}
/**
* <code>optional uint32 count = 2;</code>
* @return the count
*/
public int getCount() {
return count;
}
/**
* <code>optional uint32 count = 2;</code>
* @param value the count to set
* @return this
*/
public ComposeItemScRsp setCount(final int value) {
bitField0_ |= 0x00000002;
count = value;
return this;
}
/**
* <code>optional uint32 retcode = 14;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 retcode = 14;</code>
* @return this
*/
public ComposeItemScRsp clearRetcode() {
bitField0_ &= ~0x00000004;
retcode = 0;
return this;
}
/**
* <code>optional uint32 retcode = 14;</code>
* @return the retcode
*/
public int getRetcode() {
return retcode;
}
/**
* <code>optional uint32 retcode = 14;</code>
* @param value the retcode to set
* @return this
*/
public ComposeItemScRsp setRetcode(final int value) {
bitField0_ |= 0x00000004;
retcode = value;
return this;
}
/**
* <code>optional .ItemList return_item_list = 8;</code>
* @return whether the returnItemList field is set
*/
public boolean hasReturnItemList() {
@@ -168,7 +168,7 @@ public final class ComposeItemScRspOuterClass {
}
/**
* <code>optional .ItemList return_item_list = 14;</code>
* <code>optional .ItemList return_item_list = 8;</code>
* @return this
*/
public ComposeItemScRsp clearReturnItemList() {
@@ -178,7 +178,7 @@ public final class ComposeItemScRspOuterClass {
}
/**
* <code>optional .ItemList return_item_list = 14;</code>
* <code>optional .ItemList return_item_list = 8;</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.
@@ -192,7 +192,7 @@ public final class ComposeItemScRspOuterClass {
}
/**
* <code>optional .ItemList return_item_list = 14;</code>
* <code>optional .ItemList return_item_list = 8;</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
@@ -206,7 +206,7 @@ public final class ComposeItemScRspOuterClass {
}
/**
* <code>optional .ItemList return_item_list = 14;</code>
* <code>optional .ItemList return_item_list = 8;</code>
* @param value the returnItemList to set
* @return this
*/
@@ -221,9 +221,9 @@ public final class ComposeItemScRspOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
composeId = other.composeId;
count = other.count;
retcode = other.retcode;
composeId = other.composeId;
returnItemList.copyFrom(other.returnItemList);
}
return this;
@@ -235,15 +235,15 @@ public final class ComposeItemScRspOuterClass {
return this;
}
cachedSize = -1;
if (other.hasComposeId()) {
setComposeId(other.composeId);
}
if (other.hasCount()) {
setCount(other.count);
}
if (other.hasRetcode()) {
setRetcode(other.retcode);
}
if (other.hasComposeId()) {
setComposeId(other.composeId);
}
if (other.hasReturnItemList()) {
getMutableReturnItemList().mergeFrom(other.returnItemList);
}
@@ -257,9 +257,9 @@ public final class ComposeItemScRspOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
composeId = 0;
count = 0;
retcode = 0;
composeId = 0;
returnItemList.clear();
return this;
}
@@ -285,28 +285,28 @@ public final class ComposeItemScRspOuterClass {
}
ComposeItemScRsp other = (ComposeItemScRsp) o;
return bitField0_ == other.bitField0_
&& (!hasComposeId() || composeId == other.composeId)
&& (!hasCount() || count == other.count)
&& (!hasRetcode() || retcode == other.retcode)
&& (!hasComposeId() || composeId == other.composeId)
&& (!hasReturnItemList() || returnItemList.equals(other.returnItemList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(count);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 80);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 120);
output.writeRawByte((byte) 8);
output.writeUInt32NoTag(composeId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(count);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 114);
output.writeRawByte((byte) 66);
output.writeMessageNoTag(returnItemList);
}
}
@@ -315,13 +315,13 @@ public final class ComposeItemScRspOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(count);
size += 1 + ProtoSink.computeUInt32SizeNoTag(composeId);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
size += 1 + ProtoSink.computeUInt32SizeNoTag(count);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(composeId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(returnItemList);
@@ -336,34 +336,34 @@ public final class ComposeItemScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 24: {
// count
count = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 80) {
break;
}
}
case 80: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 120) {
break;
}
}
case 120: {
case 8: {
// composeId
composeId = input.readUInt32();
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 114) {
if (tag != 16) {
break;
}
}
case 114: {
case 16: {
// count
count = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 112) {
break;
}
}
case 112: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 66) {
break;
}
}
case 66: {
// returnItemList
input.readMessage(returnItemList);
bitField0_ |= 0x00000008;
@@ -390,13 +390,13 @@ public final class ComposeItemScRspOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.count, count);
output.writeUInt32(FieldNames.composeId, composeId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.retcode, retcode);
output.writeUInt32(FieldNames.count, count);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.composeId, composeId);
output.writeUInt32(FieldNames.retcode, retcode);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeMessage(FieldNames.returnItemList, returnItemList);
@@ -411,11 +411,23 @@ public final class ComposeItemScRspOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -1399759283:
case -442843416: {
if (input.isAtField(FieldNames.composeId)) {
if (!input.trySkipNullValue()) {
composeId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
input.skipUnknownField();
}
break;
}
case 94851343: {
if (input.isAtField(FieldNames.count)) {
if (!input.trySkipNullValue()) {
count = input.readUInt32();
bitField0_ |= 0x00000001;
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
@@ -426,18 +438,6 @@ public final class ComposeItemScRspOuterClass {
if (input.isAtField(FieldNames.retcode)) {
if (!input.trySkipNullValue()) {
retcode = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
}
break;
}
case -1399759283:
case -442843416: {
if (input.isAtField(FieldNames.composeId)) {
if (!input.trySkipNullValue()) {
composeId = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -510,12 +510,12 @@ public final class ComposeItemScRspOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName composeId = FieldName.forField("composeId", "compose_id");
static final FieldName count = FieldName.forField("count");
static final FieldName retcode = FieldName.forField("retcode");
static final FieldName composeId = FieldName.forField("composeId", "compose_id");
static final FieldName returnItemList = FieldName.forField("returnItemList", "return_item_list");
}
}

View File

@@ -19,27 +19,27 @@ public final class ComposeSelectedRelicCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 compose_id = 2;</code>
*/
private int composeId;
/**
* <code>optional uint32 main_affix_id = 3;</code>
*/
private int mainAffixId;
/**
* <code>optional uint32 compose_relic_id = 6;</code>
* <code>optional uint32 compose_relic_id = 7;</code>
*/
private int composeRelicId;
/**
* <code>optional uint32 count = 7;</code>
* <code>optional uint32 count = 8;</code>
*/
private int count;
/**
* <code>optional .ItemCostList compose_item_list = 12;</code>
* <code>optional uint32 main_affix_id = 12;</code>
*/
private int mainAffixId;
/**
* <code>optional uint32 compose_id = 14;</code>
*/
private int composeId;
/**
* <code>optional .ItemCostList compose_item_list = 10;</code>
*/
private final ItemCostListOuterClass.ItemCostList composeItemList = ItemCostListOuterClass.ItemCostList.newInstance();
@@ -54,99 +54,25 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
* <code>optional uint32 compose_id = 2;</code>
* @return whether the composeId field is set
* <code>optional uint32 compose_relic_id = 7;</code>
* @return whether the composeRelicId field is set
*/
public boolean hasComposeId() {
public boolean hasComposeRelicId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 compose_id = 2;</code>
* @return this
*/
public ComposeSelectedRelicCsReq clearComposeId() {
bitField0_ &= ~0x00000001;
composeId = 0;
return this;
}
/**
* <code>optional uint32 compose_id = 2;</code>
* @return the composeId
*/
public int getComposeId() {
return composeId;
}
/**
* <code>optional uint32 compose_id = 2;</code>
* @param value the composeId to set
* @return this
*/
public ComposeSelectedRelicCsReq setComposeId(final int value) {
bitField0_ |= 0x00000001;
composeId = value;
return this;
}
/**
* <code>optional uint32 main_affix_id = 3;</code>
* @return whether the mainAffixId field is set
*/
public boolean hasMainAffixId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 main_affix_id = 3;</code>
* @return this
*/
public ComposeSelectedRelicCsReq clearMainAffixId() {
bitField0_ &= ~0x00000002;
mainAffixId = 0;
return this;
}
/**
* <code>optional uint32 main_affix_id = 3;</code>
* @return the mainAffixId
*/
public int getMainAffixId() {
return mainAffixId;
}
/**
* <code>optional uint32 main_affix_id = 3;</code>
* @param value the mainAffixId to set
* @return this
*/
public ComposeSelectedRelicCsReq setMainAffixId(final int value) {
bitField0_ |= 0x00000002;
mainAffixId = value;
return this;
}
/**
* <code>optional uint32 compose_relic_id = 6;</code>
* @return whether the composeRelicId field is set
*/
public boolean hasComposeRelicId() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 compose_relic_id = 6;</code>
* <code>optional uint32 compose_relic_id = 7;</code>
* @return this
*/
public ComposeSelectedRelicCsReq clearComposeRelicId() {
bitField0_ &= ~0x00000004;
bitField0_ &= ~0x00000001;
composeRelicId = 0;
return this;
}
/**
* <code>optional uint32 compose_relic_id = 6;</code>
* <code>optional uint32 compose_relic_id = 7;</code>
* @return the composeRelicId
*/
public int getComposeRelicId() {
@@ -154,36 +80,36 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
* <code>optional uint32 compose_relic_id = 6;</code>
* <code>optional uint32 compose_relic_id = 7;</code>
* @param value the composeRelicId to set
* @return this
*/
public ComposeSelectedRelicCsReq setComposeRelicId(final int value) {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000001;
composeRelicId = value;
return this;
}
/**
* <code>optional uint32 count = 7;</code>
* <code>optional uint32 count = 8;</code>
* @return whether the count field is set
*/
public boolean hasCount() {
return (bitField0_ & 0x00000008) != 0;
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 count = 7;</code>
* <code>optional uint32 count = 8;</code>
* @return this
*/
public ComposeSelectedRelicCsReq clearCount() {
bitField0_ &= ~0x00000008;
bitField0_ &= ~0x00000002;
count = 0;
return this;
}
/**
* <code>optional uint32 count = 7;</code>
* <code>optional uint32 count = 8;</code>
* @return the count
*/
public int getCount() {
@@ -191,18 +117,92 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
* <code>optional uint32 count = 7;</code>
* <code>optional uint32 count = 8;</code>
* @param value the count to set
* @return this
*/
public ComposeSelectedRelicCsReq setCount(final int value) {
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000002;
count = value;
return this;
}
/**
* <code>optional .ItemCostList compose_item_list = 12;</code>
* <code>optional uint32 main_affix_id = 12;</code>
* @return whether the mainAffixId field is set
*/
public boolean hasMainAffixId() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 main_affix_id = 12;</code>
* @return this
*/
public ComposeSelectedRelicCsReq clearMainAffixId() {
bitField0_ &= ~0x00000004;
mainAffixId = 0;
return this;
}
/**
* <code>optional uint32 main_affix_id = 12;</code>
* @return the mainAffixId
*/
public int getMainAffixId() {
return mainAffixId;
}
/**
* <code>optional uint32 main_affix_id = 12;</code>
* @param value the mainAffixId to set
* @return this
*/
public ComposeSelectedRelicCsReq setMainAffixId(final int value) {
bitField0_ |= 0x00000004;
mainAffixId = value;
return this;
}
/**
* <code>optional uint32 compose_id = 14;</code>
* @return whether the composeId field is set
*/
public boolean hasComposeId() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 compose_id = 14;</code>
* @return this
*/
public ComposeSelectedRelicCsReq clearComposeId() {
bitField0_ &= ~0x00000008;
composeId = 0;
return this;
}
/**
* <code>optional uint32 compose_id = 14;</code>
* @return the composeId
*/
public int getComposeId() {
return composeId;
}
/**
* <code>optional uint32 compose_id = 14;</code>
* @param value the composeId to set
* @return this
*/
public ComposeSelectedRelicCsReq setComposeId(final int value) {
bitField0_ |= 0x00000008;
composeId = value;
return this;
}
/**
* <code>optional .ItemCostList compose_item_list = 10;</code>
* @return whether the composeItemList field is set
*/
public boolean hasComposeItemList() {
@@ -210,7 +210,7 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
* <code>optional .ItemCostList compose_item_list = 12;</code>
* <code>optional .ItemCostList compose_item_list = 10;</code>
* @return this
*/
public ComposeSelectedRelicCsReq clearComposeItemList() {
@@ -220,7 +220,7 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
* <code>optional .ItemCostList compose_item_list = 12;</code>
* <code>optional .ItemCostList compose_item_list = 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.
@@ -234,7 +234,7 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
* <code>optional .ItemCostList compose_item_list = 12;</code>
* <code>optional .ItemCostList compose_item_list = 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
@@ -248,7 +248,7 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
* <code>optional .ItemCostList compose_item_list = 12;</code>
* <code>optional .ItemCostList compose_item_list = 10;</code>
* @param value the composeItemList to set
* @return this
*/
@@ -264,10 +264,10 @@ public final class ComposeSelectedRelicCsReqOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
composeId = other.composeId;
mainAffixId = other.mainAffixId;
composeRelicId = other.composeRelicId;
count = other.count;
mainAffixId = other.mainAffixId;
composeId = other.composeId;
composeItemList.copyFrom(other.composeItemList);
}
return this;
@@ -279,18 +279,18 @@ public final class ComposeSelectedRelicCsReqOuterClass {
return this;
}
cachedSize = -1;
if (other.hasComposeId()) {
setComposeId(other.composeId);
}
if (other.hasMainAffixId()) {
setMainAffixId(other.mainAffixId);
}
if (other.hasComposeRelicId()) {
setComposeRelicId(other.composeRelicId);
}
if (other.hasCount()) {
setCount(other.count);
}
if (other.hasMainAffixId()) {
setMainAffixId(other.mainAffixId);
}
if (other.hasComposeId()) {
setComposeId(other.composeId);
}
if (other.hasComposeItemList()) {
getMutableComposeItemList().mergeFrom(other.composeItemList);
}
@@ -304,10 +304,10 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
composeId = 0;
mainAffixId = 0;
composeRelicId = 0;
count = 0;
mainAffixId = 0;
composeId = 0;
composeItemList.clear();
return this;
}
@@ -333,33 +333,33 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
ComposeSelectedRelicCsReq other = (ComposeSelectedRelicCsReq) o;
return bitField0_ == other.bitField0_
&& (!hasComposeId() || composeId == other.composeId)
&& (!hasMainAffixId() || mainAffixId == other.mainAffixId)
&& (!hasComposeRelicId() || composeRelicId == other.composeRelicId)
&& (!hasCount() || count == other.count)
&& (!hasMainAffixId() || mainAffixId == other.mainAffixId)
&& (!hasComposeId() || composeId == other.composeId)
&& (!hasComposeItemList() || composeItemList.equals(other.composeItemList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(composeId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(mainAffixId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 48);
output.writeRawByte((byte) 56);
output.writeUInt32NoTag(composeRelicId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 56);
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(count);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(mainAffixId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(composeId);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 98);
output.writeRawByte((byte) 82);
output.writeMessageNoTag(composeItemList);
}
}
@@ -368,17 +368,17 @@ public final class ComposeSelectedRelicCsReqOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(composeId);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(mainAffixId);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(composeRelicId);
}
if ((bitField0_ & 0x00000008) != 0) {
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(count);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(mainAffixId);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(composeId);
}
if ((bitField0_ & 0x00000010) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(composeItemList);
}
@@ -392,43 +392,43 @@ public final class ComposeSelectedRelicCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 16: {
// composeId
composeId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 24) {
break;
}
}
case 24: {
// mainAffixId
mainAffixId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 48) {
break;
}
}
case 48: {
case 56: {
// composeRelicId
composeRelicId = input.readUInt32();
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 56) {
if (tag != 64) {
break;
}
}
case 56: {
case 64: {
// count
count = input.readUInt32();
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 98) {
if (tag != 96) {
break;
}
}
case 98: {
case 96: {
// mainAffixId
mainAffixId = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 112) {
break;
}
}
case 112: {
// composeId
composeId = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 82) {
break;
}
}
case 82: {
// composeItemList
input.readMessage(composeItemList);
bitField0_ |= 0x00000010;
@@ -455,17 +455,17 @@ public final class ComposeSelectedRelicCsReqOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.composeId, composeId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.mainAffixId, mainAffixId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.composeRelicId, composeRelicId);
}
if ((bitField0_ & 0x00000008) != 0) {
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.count, count);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.mainAffixId, mainAffixId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.composeId, composeId);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeMessage(FieldNames.composeItemList, composeItemList);
}
@@ -479,11 +479,11 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -1399759283:
case -442843416: {
if (input.isAtField(FieldNames.composeId)) {
case 1424923132:
case 885799284: {
if (input.isAtField(FieldNames.composeRelicId)) {
if (!input.trySkipNullValue()) {
composeId = input.readUInt32();
composeRelicId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -491,23 +491,22 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
break;
}
case 94851343: {
if (input.isAtField(FieldNames.count)) {
if (!input.trySkipNullValue()) {
count = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
}
break;
}
case -1973876974:
case -1426712144: {
if (input.isAtField(FieldNames.mainAffixId)) {
if (!input.trySkipNullValue()) {
mainAffixId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
}
break;
}
case 1424923132:
case 885799284: {
if (input.isAtField(FieldNames.composeRelicId)) {
if (!input.trySkipNullValue()) {
composeRelicId = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -515,10 +514,11 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
break;
}
case 94851343: {
if (input.isAtField(FieldNames.count)) {
case -1399759283:
case -442843416: {
if (input.isAtField(FieldNames.composeId)) {
if (!input.trySkipNullValue()) {
count = input.readUInt32();
composeId = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -591,14 +591,14 @@ public final class ComposeSelectedRelicCsReqOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName composeId = FieldName.forField("composeId", "compose_id");
static final FieldName mainAffixId = FieldName.forField("mainAffixId", "main_affix_id");
static final FieldName composeRelicId = FieldName.forField("composeRelicId", "compose_relic_id");
static final FieldName count = FieldName.forField("count");
static final FieldName mainAffixId = FieldName.forField("mainAffixId", "main_affix_id");
static final FieldName composeId = FieldName.forField("composeId", "compose_id");
static final FieldName composeItemList = FieldName.forField("composeItemList", "compose_item_list");
}
}

View File

@@ -19,17 +19,17 @@ public final class ComposeSelectedRelicScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 compose_id = 4;</code>
*/
private int composeId;
/**
* <code>optional uint32 retcode = 12;</code>
* <code>optional uint32 retcode = 10;</code>
*/
private int retcode;
/**
* <code>optional .ItemList return_item_list = 5;</code>
* <code>optional uint32 compose_id = 15;</code>
*/
private int composeId;
/**
* <code>optional .ItemList return_item_list = 8;</code>
*/
private final ItemListOuterClass.ItemList returnItemList = ItemListOuterClass.ItemList.newInstance();
@@ -44,62 +44,25 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
/**
* <code>optional uint32 compose_id = 4;</code>
* @return whether the composeId field is set
* <code>optional uint32 retcode = 10;</code>
* @return whether the retcode field is set
*/
public boolean hasComposeId() {
public boolean hasRetcode() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 compose_id = 4;</code>
* @return this
*/
public ComposeSelectedRelicScRsp clearComposeId() {
bitField0_ &= ~0x00000001;
composeId = 0;
return this;
}
/**
* <code>optional uint32 compose_id = 4;</code>
* @return the composeId
*/
public int getComposeId() {
return composeId;
}
/**
* <code>optional uint32 compose_id = 4;</code>
* @param value the composeId to set
* @return this
*/
public ComposeSelectedRelicScRsp setComposeId(final int value) {
bitField0_ |= 0x00000001;
composeId = value;
return this;
}
/**
* <code>optional uint32 retcode = 12;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 retcode = 12;</code>
* <code>optional uint32 retcode = 10;</code>
* @return this
*/
public ComposeSelectedRelicScRsp clearRetcode() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
retcode = 0;
return this;
}
/**
* <code>optional uint32 retcode = 12;</code>
* <code>optional uint32 retcode = 10;</code>
* @return the retcode
*/
public int getRetcode() {
@@ -107,18 +70,55 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 12;</code>
* <code>optional uint32 retcode = 10;</code>
* @param value the retcode to set
* @return this
*/
public ComposeSelectedRelicScRsp setRetcode(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
retcode = value;
return this;
}
/**
* <code>optional .ItemList return_item_list = 5;</code>
* <code>optional uint32 compose_id = 15;</code>
* @return whether the composeId field is set
*/
public boolean hasComposeId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 compose_id = 15;</code>
* @return this
*/
public ComposeSelectedRelicScRsp clearComposeId() {
bitField0_ &= ~0x00000002;
composeId = 0;
return this;
}
/**
* <code>optional uint32 compose_id = 15;</code>
* @return the composeId
*/
public int getComposeId() {
return composeId;
}
/**
* <code>optional uint32 compose_id = 15;</code>
* @param value the composeId to set
* @return this
*/
public ComposeSelectedRelicScRsp setComposeId(final int value) {
bitField0_ |= 0x00000002;
composeId = value;
return this;
}
/**
* <code>optional .ItemList return_item_list = 8;</code>
* @return whether the returnItemList field is set
*/
public boolean hasReturnItemList() {
@@ -126,7 +126,7 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
/**
* <code>optional .ItemList return_item_list = 5;</code>
* <code>optional .ItemList return_item_list = 8;</code>
* @return this
*/
public ComposeSelectedRelicScRsp clearReturnItemList() {
@@ -136,7 +136,7 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
/**
* <code>optional .ItemList return_item_list = 5;</code>
* <code>optional .ItemList return_item_list = 8;</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.
@@ -150,7 +150,7 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
/**
* <code>optional .ItemList return_item_list = 5;</code>
* <code>optional .ItemList return_item_list = 8;</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
@@ -164,7 +164,7 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
/**
* <code>optional .ItemList return_item_list = 5;</code>
* <code>optional .ItemList return_item_list = 8;</code>
* @param value the returnItemList to set
* @return this
*/
@@ -179,8 +179,8 @@ public final class ComposeSelectedRelicScRspOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
composeId = other.composeId;
retcode = other.retcode;
composeId = other.composeId;
returnItemList.copyFrom(other.returnItemList);
}
return this;
@@ -192,12 +192,12 @@ public final class ComposeSelectedRelicScRspOuterClass {
return this;
}
cachedSize = -1;
if (other.hasComposeId()) {
setComposeId(other.composeId);
}
if (other.hasRetcode()) {
setRetcode(other.retcode);
}
if (other.hasComposeId()) {
setComposeId(other.composeId);
}
if (other.hasReturnItemList()) {
getMutableReturnItemList().mergeFrom(other.returnItemList);
}
@@ -211,8 +211,8 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
composeId = 0;
retcode = 0;
composeId = 0;
returnItemList.clear();
return this;
}
@@ -238,23 +238,23 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
ComposeSelectedRelicScRsp other = (ComposeSelectedRelicScRsp) o;
return bitField0_ == other.bitField0_
&& (!hasComposeId() || composeId == other.composeId)
&& (!hasRetcode() || retcode == other.retcode)
&& (!hasComposeId() || composeId == other.composeId)
&& (!hasReturnItemList() || returnItemList.equals(other.returnItemList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 32);
output.writeUInt32NoTag(composeId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 96);
output.writeRawByte((byte) 80);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 120);
output.writeUInt32NoTag(composeId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 42);
output.writeRawByte((byte) 66);
output.writeMessageNoTag(returnItemList);
}
}
@@ -263,10 +263,10 @@ public final class ComposeSelectedRelicScRspOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(composeId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
size += 1 + ProtoSink.computeUInt32SizeNoTag(composeId);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(returnItemList);
@@ -281,25 +281,25 @@ public final class ComposeSelectedRelicScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 32: {
// composeId
composeId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 96) {
break;
}
}
case 96: {
case 80: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 42) {
if (tag != 120) {
break;
}
}
case 42: {
case 120: {
// composeId
composeId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 66) {
break;
}
}
case 66: {
// returnItemList
input.readMessage(returnItemList);
bitField0_ |= 0x00000004;
@@ -326,10 +326,10 @@ public final class ComposeSelectedRelicScRspOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.composeId, composeId);
output.writeUInt32(FieldNames.retcode, retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.retcode, retcode);
output.writeUInt32(FieldNames.composeId, composeId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeMessage(FieldNames.returnItemList, returnItemList);
@@ -344,11 +344,10 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -1399759283:
case -442843416: {
if (input.isAtField(FieldNames.composeId)) {
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
if (!input.trySkipNullValue()) {
composeId = input.readUInt32();
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -356,10 +355,11 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
break;
}
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
case -1399759283:
case -442843416: {
if (input.isAtField(FieldNames.composeId)) {
if (!input.trySkipNullValue()) {
retcode = input.readUInt32();
composeId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -432,10 +432,10 @@ public final class ComposeSelectedRelicScRspOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName composeId = FieldName.forField("composeId", "compose_id");
static final FieldName retcode = FieldName.forField("retcode");
static final FieldName composeId = FieldName.forField("composeId", "compose_id");
static final FieldName returnItemList = FieldName.forField("returnItemList", "return_item_list");
}
}

View File

@@ -20,12 +20,12 @@ public final class ContentPackageDataOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 cur_content_id = 11;</code>
* <code>optional uint32 cur_content_id = 2;</code>
*/
private int curContentId;
/**
* <code>repeated .ContentPackageInfo content_package_list = 13;</code>
* <code>repeated .ContentPackageInfo content_package_list = 14;</code>
*/
private final RepeatedMessage<ContentPackageInfoOuterClass.ContentPackageInfo> contentPackageList = RepeatedMessage.newEmptyInstance(ContentPackageInfoOuterClass.ContentPackageInfo.getFactory());
@@ -40,7 +40,7 @@ public final class ContentPackageDataOuterClass {
}
/**
* <code>optional uint32 cur_content_id = 11;</code>
* <code>optional uint32 cur_content_id = 2;</code>
* @return whether the curContentId field is set
*/
public boolean hasCurContentId() {
@@ -48,7 +48,7 @@ public final class ContentPackageDataOuterClass {
}
/**
* <code>optional uint32 cur_content_id = 11;</code>
* <code>optional uint32 cur_content_id = 2;</code>
* @return this
*/
public ContentPackageData clearCurContentId() {
@@ -58,7 +58,7 @@ public final class ContentPackageDataOuterClass {
}
/**
* <code>optional uint32 cur_content_id = 11;</code>
* <code>optional uint32 cur_content_id = 2;</code>
* @return the curContentId
*/
public int getCurContentId() {
@@ -66,7 +66,7 @@ public final class ContentPackageDataOuterClass {
}
/**
* <code>optional uint32 cur_content_id = 11;</code>
* <code>optional uint32 cur_content_id = 2;</code>
* @param value the curContentId to set
* @return this
*/
@@ -77,7 +77,7 @@ public final class ContentPackageDataOuterClass {
}
/**
* <code>repeated .ContentPackageInfo content_package_list = 13;</code>
* <code>repeated .ContentPackageInfo content_package_list = 14;</code>
* @return whether the contentPackageList field is set
*/
public boolean hasContentPackageList() {
@@ -85,7 +85,7 @@ public final class ContentPackageDataOuterClass {
}
/**
* <code>repeated .ContentPackageInfo content_package_list = 13;</code>
* <code>repeated .ContentPackageInfo content_package_list = 14;</code>
* @return this
*/
public ContentPackageData clearContentPackageList() {
@@ -95,7 +95,7 @@ public final class ContentPackageDataOuterClass {
}
/**
* <code>repeated .ContentPackageInfo content_package_list = 13;</code>
* <code>repeated .ContentPackageInfo content_package_list = 14;</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.
@@ -110,7 +110,7 @@ public final class ContentPackageDataOuterClass {
}
/**
* <code>repeated .ContentPackageInfo content_package_list = 13;</code>
* <code>repeated .ContentPackageInfo content_package_list = 14;</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
@@ -125,7 +125,7 @@ public final class ContentPackageDataOuterClass {
}
/**
* <code>repeated .ContentPackageInfo content_package_list = 13;</code>
* <code>repeated .ContentPackageInfo content_package_list = 14;</code>
* @param value the contentPackageList to add
* @return this
*/
@@ -137,7 +137,7 @@ public final class ContentPackageDataOuterClass {
}
/**
* <code>repeated .ContentPackageInfo content_package_list = 13;</code>
* <code>repeated .ContentPackageInfo content_package_list = 14;</code>
* @param values the contentPackageList to add
* @return this
*/
@@ -214,12 +214,12 @@ public final class ContentPackageDataOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 88);
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(curContentId);
}
if ((bitField0_ & 0x00000002) != 0) {
for (int i = 0; i < contentPackageList.length(); i++) {
output.writeRawByte((byte) 106);
output.writeRawByte((byte) 114);
output.writeMessageNoTag(contentPackageList.get(i));
}
}
@@ -244,16 +244,16 @@ public final class ContentPackageDataOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 88: {
case 16: {
// curContentId
curContentId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 106) {
if (tag != 114) {
break;
}
}
case 106: {
case 114: {
// contentPackageList
tag = input.readRepeatedMessage(contentPackageList, tag);
bitField0_ |= 0x00000002;

View File

@@ -19,12 +19,12 @@ public final class ContentPackageGetDataScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 8;</code>
*/
private int retcode;
/**
* <code>optional .ContentPackageData data = 7;</code>
* <code>optional .ContentPackageData data = 6;</code>
*/
private final ContentPackageDataOuterClass.ContentPackageData data = ContentPackageDataOuterClass.ContentPackageData.newInstance();
@@ -39,7 +39,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 8;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -47,7 +47,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 8;</code>
* @return this
*/
public ContentPackageGetDataScRsp clearRetcode() {
@@ -57,7 +57,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 8;</code>
* @return the retcode
*/
public int getRetcode() {
@@ -65,7 +65,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 8;</code>
* @param value the retcode to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
* <code>optional .ContentPackageData data = 7;</code>
* <code>optional .ContentPackageData data = 6;</code>
* @return whether the data field is set
*/
public boolean hasData() {
@@ -84,7 +84,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
* <code>optional .ContentPackageData data = 7;</code>
* <code>optional .ContentPackageData data = 6;</code>
* @return this
*/
public ContentPackageGetDataScRsp clearData() {
@@ -94,7 +94,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
* <code>optional .ContentPackageData data = 7;</code>
* <code>optional .ContentPackageData data = 6;</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.
@@ -108,7 +108,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
* <code>optional .ContentPackageData data = 7;</code>
* <code>optional .ContentPackageData data = 6;</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
@@ -122,7 +122,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
* <code>optional .ContentPackageData data = 7;</code>
* <code>optional .ContentPackageData data = 6;</code>
* @param value the data to set
* @return this
*/
@@ -199,11 +199,11 @@ public final class ContentPackageGetDataScRspOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 24);
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 58);
output.writeRawByte((byte) 50);
output.writeMessageNoTag(data);
}
}
@@ -227,16 +227,16 @@ public final class ContentPackageGetDataScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 24: {
case 64: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 58) {
if (tag != 50) {
break;
}
}
case 58: {
case 50: {
// data
input.readMessage(data);
bitField0_ |= 0x00000002;

View File

@@ -24,7 +24,7 @@ public final class ContentPackageInfoOuterClass {
private int contentId;
/**
* <code>optional .ContentPackageStatus status = 7;</code>
* <code>optional .ContentPackageStatus status = 12;</code>
*/
private int status;
@@ -76,7 +76,7 @@ public final class ContentPackageInfoOuterClass {
}
/**
* <code>optional .ContentPackageStatus status = 7;</code>
* <code>optional .ContentPackageStatus status = 12;</code>
* @return whether the status field is set
*/
public boolean hasStatus() {
@@ -84,7 +84,7 @@ public final class ContentPackageInfoOuterClass {
}
/**
* <code>optional .ContentPackageStatus status = 7;</code>
* <code>optional .ContentPackageStatus status = 12;</code>
* @return this
*/
public ContentPackageInfo clearStatus() {
@@ -94,7 +94,7 @@ public final class ContentPackageInfoOuterClass {
}
/**
* <code>optional .ContentPackageStatus status = 7;</code>
* <code>optional .ContentPackageStatus status = 12;</code>
* @return the status
*/
public ContentPackageStatusOuterClass.ContentPackageStatus getStatus() {
@@ -127,7 +127,7 @@ public final class ContentPackageInfoOuterClass {
}
/**
* <code>optional .ContentPackageStatus status = 7;</code>
* <code>optional .ContentPackageStatus status = 12;</code>
* @param value the status to set
* @return this
*/
@@ -207,7 +207,7 @@ public final class ContentPackageInfoOuterClass {
output.writeUInt32NoTag(contentId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 56);
output.writeRawByte((byte) 96);
output.writeEnumNoTag(status);
}
}
@@ -236,11 +236,11 @@ public final class ContentPackageInfoOuterClass {
contentId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 56) {
if (tag != 96) {
break;
}
}
case 56: {
case 96: {
// status
final int value = input.readInt32();
if (ContentPackageStatusOuterClass.ContentPackageStatus.forNumber(value) != null) {

View File

@@ -77,7 +77,7 @@ public final class ContentPackageStatusOuterClass {
/**
* @return a converter that maps between this enum's numeric and text representations
*/
public static EnumConverter<ContentPackageStatus> converter() {
public static ProtoEnum.EnumConverter<ContentPackageStatus> converter() {
return ContentPackageStatusConverter.INSTANCE;
}
@@ -99,7 +99,7 @@ public final class ContentPackageStatusOuterClass {
return value == null ? other : value;
}
enum ContentPackageStatusConverter implements EnumConverter<ContentPackageStatus> {
enum ContentPackageStatusConverter implements ProtoEnum.EnumConverter<ContentPackageStatus> {
INSTANCE;
private static final ContentPackageStatus[] lookup = new ContentPackageStatus[4];

View File

@@ -0,0 +1,260 @@
// Code generated by protocol buffer compiler. Do not edit!
package emu.lunarcore.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;
public final class CurPetChangedScNotifyOuterClass {
/**
* Protobuf type {@code CurPetChangedScNotify}
*/
public static final class CurPetChangedScNotify extends ProtoMessage<CurPetChangedScNotify> implements Cloneable {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 cur_pet_id = 8;</code>
*/
private int curPetId;
private CurPetChangedScNotify() {
}
/**
* @return a new empty instance of {@code CurPetChangedScNotify}
*/
public static CurPetChangedScNotify newInstance() {
return new CurPetChangedScNotify();
}
/**
* <code>optional uint32 cur_pet_id = 8;</code>
* @return whether the curPetId field is set
*/
public boolean hasCurPetId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 cur_pet_id = 8;</code>
* @return this
*/
public CurPetChangedScNotify clearCurPetId() {
bitField0_ &= ~0x00000001;
curPetId = 0;
return this;
}
/**
* <code>optional uint32 cur_pet_id = 8;</code>
* @return the curPetId
*/
public int getCurPetId() {
return curPetId;
}
/**
* <code>optional uint32 cur_pet_id = 8;</code>
* @param value the curPetId to set
* @return this
*/
public CurPetChangedScNotify setCurPetId(final int value) {
bitField0_ |= 0x00000001;
curPetId = value;
return this;
}
@Override
public CurPetChangedScNotify copyFrom(final CurPetChangedScNotify other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
curPetId = other.curPetId;
}
return this;
}
@Override
public CurPetChangedScNotify mergeFrom(final CurPetChangedScNotify other) {
if (other.isEmpty()) {
return this;
}
cachedSize = -1;
if (other.hasCurPetId()) {
setCurPetId(other.curPetId);
}
return this;
}
@Override
public CurPetChangedScNotify clear() {
if (isEmpty()) {
return this;
}
cachedSize = -1;
bitField0_ = 0;
curPetId = 0;
return this;
}
@Override
public CurPetChangedScNotify clearQuick() {
if (isEmpty()) {
return this;
}
cachedSize = -1;
bitField0_ = 0;
return this;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (!(o instanceof CurPetChangedScNotify)) {
return false;
}
CurPetChangedScNotify other = (CurPetChangedScNotify) o;
return bitField0_ == other.bitField0_
&& (!hasCurPetId() || curPetId == other.curPetId);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(curPetId);
}
}
@Override
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(curPetId);
}
return size;
}
@Override
@SuppressWarnings("fallthrough")
public CurPetChangedScNotify mergeFrom(final ProtoSource input) throws IOException {
// Enabled Fall-Through Optimization (QuickBuffers)
int tag = input.readTag();
while (true) {
switch (tag) {
case 64: {
// curPetId
curPetId = input.readUInt32();
bitField0_ |= 0x00000001;
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.curPetId, curPetId);
}
output.endObject();
}
@Override
public CurPetChangedScNotify mergeFrom(final JsonSource input) throws IOException {
if (!input.beginObject()) {
return this;
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case 544007226:
case -465065190: {
if (input.isAtField(FieldNames.curPetId)) {
if (!input.trySkipNullValue()) {
curPetId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
input.skipUnknownField();
}
break;
}
default: {
input.skipUnknownField();
break;
}
}
}
input.endObject();
return this;
}
@Override
public CurPetChangedScNotify clone() {
return new CurPetChangedScNotify().copyFrom(this);
}
@Override
public boolean isEmpty() {
return ((bitField0_) == 0);
}
public static CurPetChangedScNotify parseFrom(final byte[] data) throws
InvalidProtocolBufferException {
return ProtoMessage.mergeFrom(new CurPetChangedScNotify(), data).checkInitialized();
}
public static CurPetChangedScNotify parseFrom(final ProtoSource input) throws IOException {
return ProtoMessage.mergeFrom(new CurPetChangedScNotify(), input).checkInitialized();
}
public static CurPetChangedScNotify parseFrom(final JsonSource input) throws IOException {
return ProtoMessage.mergeFrom(new CurPetChangedScNotify(), input).checkInitialized();
}
/**
* @return factory for creating CurPetChangedScNotify messages
*/
public static MessageFactory<CurPetChangedScNotify> getFactory() {
return CurPetChangedScNotifyFactory.INSTANCE;
}
private enum CurPetChangedScNotifyFactory implements MessageFactory<CurPetChangedScNotify> {
INSTANCE;
@Override
public CurPetChangedScNotify create() {
return CurPetChangedScNotify.newInstance();
}
}
/**
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName curPetId = FieldName.forField("curPetId", "cur_pet_id");
}
}
}

View File

@@ -21,17 +21,17 @@ public final class DailyActiveInfoNotifyOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 daily_active_point = 9;</code>
* <code>optional uint32 daily_active_point = 13;</code>
*/
private int dailyActivePoint;
/**
* <code>repeated uint32 daily_active_quest_id_list = 14;</code>
* <code>repeated uint32 daily_active_quest_id_list = 6;</code>
*/
private final RepeatedInt dailyActiveQuestIdList = RepeatedInt.newEmptyInstance();
/**
* <code>repeated .DailyActivityInfo daily_active_level_list = 11;</code>
* <code>repeated .DailyActivityInfo daily_active_level_list = 10;</code>
*/
private final RepeatedMessage<DailyActivityInfoOuterClass.DailyActivityInfo> dailyActiveLevelList = RepeatedMessage.newEmptyInstance(DailyActivityInfoOuterClass.DailyActivityInfo.getFactory());
@@ -46,7 +46,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>optional uint32 daily_active_point = 9;</code>
* <code>optional uint32 daily_active_point = 13;</code>
* @return whether the dailyActivePoint field is set
*/
public boolean hasDailyActivePoint() {
@@ -54,7 +54,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>optional uint32 daily_active_point = 9;</code>
* <code>optional uint32 daily_active_point = 13;</code>
* @return this
*/
public DailyActiveInfoNotify clearDailyActivePoint() {
@@ -64,7 +64,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>optional uint32 daily_active_point = 9;</code>
* <code>optional uint32 daily_active_point = 13;</code>
* @return the dailyActivePoint
*/
public int getDailyActivePoint() {
@@ -72,7 +72,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>optional uint32 daily_active_point = 9;</code>
* <code>optional uint32 daily_active_point = 13;</code>
* @param value the dailyActivePoint to set
* @return this
*/
@@ -83,7 +83,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>repeated uint32 daily_active_quest_id_list = 14;</code>
* <code>repeated uint32 daily_active_quest_id_list = 6;</code>
* @return whether the dailyActiveQuestIdList field is set
*/
public boolean hasDailyActiveQuestIdList() {
@@ -91,7 +91,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>repeated uint32 daily_active_quest_id_list = 14;</code>
* <code>repeated uint32 daily_active_quest_id_list = 6;</code>
* @return this
*/
public DailyActiveInfoNotify clearDailyActiveQuestIdList() {
@@ -101,7 +101,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>repeated uint32 daily_active_quest_id_list = 14;</code>
* <code>repeated uint32 daily_active_quest_id_list = 6;</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.
@@ -115,7 +115,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>repeated uint32 daily_active_quest_id_list = 14;</code>
* <code>repeated uint32 daily_active_quest_id_list = 6;</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
@@ -129,7 +129,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>repeated uint32 daily_active_quest_id_list = 14;</code>
* <code>repeated uint32 daily_active_quest_id_list = 6;</code>
* @param value the dailyActiveQuestIdList to add
* @return this
*/
@@ -140,7 +140,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>repeated uint32 daily_active_quest_id_list = 14;</code>
* <code>repeated uint32 daily_active_quest_id_list = 6;</code>
* @param values the dailyActiveQuestIdList to add
* @return this
*/
@@ -151,7 +151,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>repeated .DailyActivityInfo daily_active_level_list = 11;</code>
* <code>repeated .DailyActivityInfo daily_active_level_list = 10;</code>
* @return whether the dailyActiveLevelList field is set
*/
public boolean hasDailyActiveLevelList() {
@@ -159,7 +159,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>repeated .DailyActivityInfo daily_active_level_list = 11;</code>
* <code>repeated .DailyActivityInfo daily_active_level_list = 10;</code>
* @return this
*/
public DailyActiveInfoNotify clearDailyActiveLevelList() {
@@ -169,7 +169,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>repeated .DailyActivityInfo daily_active_level_list = 11;</code>
* <code>repeated .DailyActivityInfo daily_active_level_list = 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.
@@ -184,7 +184,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>repeated .DailyActivityInfo daily_active_level_list = 11;</code>
* <code>repeated .DailyActivityInfo daily_active_level_list = 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
@@ -199,7 +199,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>repeated .DailyActivityInfo daily_active_level_list = 11;</code>
* <code>repeated .DailyActivityInfo daily_active_level_list = 10;</code>
* @param value the dailyActiveLevelList to add
* @return this
*/
@@ -211,7 +211,7 @@ public final class DailyActiveInfoNotifyOuterClass {
}
/**
* <code>repeated .DailyActivityInfo daily_active_level_list = 11;</code>
* <code>repeated .DailyActivityInfo daily_active_level_list = 10;</code>
* @param values the dailyActiveLevelList to add
* @return this
*/
@@ -295,18 +295,18 @@ public final class DailyActiveInfoNotifyOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 72);
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(dailyActivePoint);
}
if ((bitField0_ & 0x00000002) != 0) {
for (int i = 0; i < dailyActiveQuestIdList.length(); i++) {
output.writeRawByte((byte) 112);
output.writeRawByte((byte) 48);
output.writeUInt32NoTag(dailyActiveQuestIdList.array()[i]);
}
}
if ((bitField0_ & 0x00000004) != 0) {
for (int i = 0; i < dailyActiveLevelList.length(); i++) {
output.writeRawByte((byte) 90);
output.writeRawByte((byte) 82);
output.writeMessageNoTag(dailyActiveLevelList.get(i));
}
}
@@ -334,25 +334,25 @@ public final class DailyActiveInfoNotifyOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 72: {
case 104: {
// dailyActivePoint
dailyActivePoint = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 114) {
if (tag != 50) {
break;
}
}
case 114: {
case 50: {
// dailyActiveQuestIdList [packed=true]
input.readPackedUInt32(dailyActiveQuestIdList, tag);
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 90) {
if (tag != 82) {
break;
}
}
case 90: {
case 82: {
// dailyActiveLevelList
tag = input.readRepeatedMessage(dailyActiveLevelList, tag);
bitField0_ |= 0x00000004;
@@ -370,7 +370,7 @@ public final class DailyActiveInfoNotifyOuterClass {
tag = input.readTag();
break;
}
case 112: {
case 48: {
// dailyActiveQuestIdList [packed=false]
tag = input.readRepeatedUInt32(dailyActiveQuestIdList, tag);
bitField0_ |= 0x00000002;

View File

@@ -19,22 +19,22 @@ public final class DailyActivityInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 level = 4;</code>
* <code>optional uint32 level = 1;</code>
*/
private int level;
/**
* <code>optional uint32 daily_active_point = 10;</code>
*/
private int dailyActivePoint;
/**
* <code>optional uint32 world_level = 11;</code>
* <code>optional uint32 world_level = 3;</code>
*/
private int worldLevel;
/**
* <code>optional bool is_has_taken = 13;</code>
* <code>optional uint32 daily_active_point = 13;</code>
*/
private int dailyActivePoint;
/**
* <code>optional bool is_has_taken = 2;</code>
*/
private boolean isHasTaken;
@@ -49,7 +49,7 @@ public final class DailyActivityInfoOuterClass {
}
/**
* <code>optional uint32 level = 4;</code>
* <code>optional uint32 level = 1;</code>
* @return whether the level field is set
*/
public boolean hasLevel() {
@@ -57,7 +57,7 @@ public final class DailyActivityInfoOuterClass {
}
/**
* <code>optional uint32 level = 4;</code>
* <code>optional uint32 level = 1;</code>
* @return this
*/
public DailyActivityInfo clearLevel() {
@@ -67,7 +67,7 @@ public final class DailyActivityInfoOuterClass {
}
/**
* <code>optional uint32 level = 4;</code>
* <code>optional uint32 level = 1;</code>
* @return the level
*/
public int getLevel() {
@@ -75,7 +75,7 @@ public final class DailyActivityInfoOuterClass {
}
/**
* <code>optional uint32 level = 4;</code>
* <code>optional uint32 level = 1;</code>
* @param value the level to set
* @return this
*/
@@ -86,62 +86,25 @@ public final class DailyActivityInfoOuterClass {
}
/**
* <code>optional uint32 daily_active_point = 10;</code>
* @return whether the dailyActivePoint field is set
* <code>optional uint32 world_level = 3;</code>
* @return whether the worldLevel field is set
*/
public boolean hasDailyActivePoint() {
public boolean hasWorldLevel() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 daily_active_point = 10;</code>
* @return this
*/
public DailyActivityInfo clearDailyActivePoint() {
bitField0_ &= ~0x00000002;
dailyActivePoint = 0;
return this;
}
/**
* <code>optional uint32 daily_active_point = 10;</code>
* @return the dailyActivePoint
*/
public int getDailyActivePoint() {
return dailyActivePoint;
}
/**
* <code>optional uint32 daily_active_point = 10;</code>
* @param value the dailyActivePoint to set
* @return this
*/
public DailyActivityInfo setDailyActivePoint(final int value) {
bitField0_ |= 0x00000002;
dailyActivePoint = value;
return this;
}
/**
* <code>optional uint32 world_level = 11;</code>
* @return whether the worldLevel field is set
*/
public boolean hasWorldLevel() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 world_level = 11;</code>
* <code>optional uint32 world_level = 3;</code>
* @return this
*/
public DailyActivityInfo clearWorldLevel() {
bitField0_ &= ~0x00000004;
bitField0_ &= ~0x00000002;
worldLevel = 0;
return this;
}
/**
* <code>optional uint32 world_level = 11;</code>
* <code>optional uint32 world_level = 3;</code>
* @return the worldLevel
*/
public int getWorldLevel() {
@@ -149,18 +112,55 @@ public final class DailyActivityInfoOuterClass {
}
/**
* <code>optional uint32 world_level = 11;</code>
* <code>optional uint32 world_level = 3;</code>
* @param value the worldLevel to set
* @return this
*/
public DailyActivityInfo setWorldLevel(final int value) {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000002;
worldLevel = value;
return this;
}
/**
* <code>optional bool is_has_taken = 13;</code>
* <code>optional uint32 daily_active_point = 13;</code>
* @return whether the dailyActivePoint field is set
*/
public boolean hasDailyActivePoint() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 daily_active_point = 13;</code>
* @return this
*/
public DailyActivityInfo clearDailyActivePoint() {
bitField0_ &= ~0x00000004;
dailyActivePoint = 0;
return this;
}
/**
* <code>optional uint32 daily_active_point = 13;</code>
* @return the dailyActivePoint
*/
public int getDailyActivePoint() {
return dailyActivePoint;
}
/**
* <code>optional uint32 daily_active_point = 13;</code>
* @param value the dailyActivePoint to set
* @return this
*/
public DailyActivityInfo setDailyActivePoint(final int value) {
bitField0_ |= 0x00000004;
dailyActivePoint = value;
return this;
}
/**
* <code>optional bool is_has_taken = 2;</code>
* @return whether the isHasTaken field is set
*/
public boolean hasIsHasTaken() {
@@ -168,7 +168,7 @@ public final class DailyActivityInfoOuterClass {
}
/**
* <code>optional bool is_has_taken = 13;</code>
* <code>optional bool is_has_taken = 2;</code>
* @return this
*/
public DailyActivityInfo clearIsHasTaken() {
@@ -178,7 +178,7 @@ public final class DailyActivityInfoOuterClass {
}
/**
* <code>optional bool is_has_taken = 13;</code>
* <code>optional bool is_has_taken = 2;</code>
* @return the isHasTaken
*/
public boolean getIsHasTaken() {
@@ -186,7 +186,7 @@ public final class DailyActivityInfoOuterClass {
}
/**
* <code>optional bool is_has_taken = 13;</code>
* <code>optional bool is_has_taken = 2;</code>
* @param value the isHasTaken to set
* @return this
*/
@@ -202,8 +202,8 @@ public final class DailyActivityInfoOuterClass {
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
level = other.level;
dailyActivePoint = other.dailyActivePoint;
worldLevel = other.worldLevel;
dailyActivePoint = other.dailyActivePoint;
isHasTaken = other.isHasTaken;
}
return this;
@@ -218,12 +218,12 @@ public final class DailyActivityInfoOuterClass {
if (other.hasLevel()) {
setLevel(other.level);
}
if (other.hasDailyActivePoint()) {
setDailyActivePoint(other.dailyActivePoint);
}
if (other.hasWorldLevel()) {
setWorldLevel(other.worldLevel);
}
if (other.hasDailyActivePoint()) {
setDailyActivePoint(other.dailyActivePoint);
}
if (other.hasIsHasTaken()) {
setIsHasTaken(other.isHasTaken);
}
@@ -238,8 +238,8 @@ public final class DailyActivityInfoOuterClass {
cachedSize = -1;
bitField0_ = 0;
level = 0;
dailyActivePoint = 0;
worldLevel = 0;
dailyActivePoint = 0;
isHasTaken = false;
return this;
}
@@ -265,27 +265,27 @@ public final class DailyActivityInfoOuterClass {
DailyActivityInfo other = (DailyActivityInfo) o;
return bitField0_ == other.bitField0_
&& (!hasLevel() || level == other.level)
&& (!hasDailyActivePoint() || dailyActivePoint == other.dailyActivePoint)
&& (!hasWorldLevel() || worldLevel == other.worldLevel)
&& (!hasDailyActivePoint() || dailyActivePoint == other.dailyActivePoint)
&& (!hasIsHasTaken() || isHasTaken == other.isHasTaken);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 32);
output.writeRawByte((byte) 8);
output.writeUInt32NoTag(level);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 80);
output.writeUInt32NoTag(dailyActivePoint);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 88);
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(worldLevel);
}
if ((bitField0_ & 0x00000008) != 0) {
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(dailyActivePoint);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 16);
output.writeBoolNoTag(isHasTaken);
}
}
@@ -297,10 +297,10 @@ public final class DailyActivityInfoOuterClass {
size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(dailyActivePoint);
size += 1 + ProtoSink.computeUInt32SizeNoTag(worldLevel);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(worldLevel);
size += 1 + ProtoSink.computeUInt32SizeNoTag(dailyActivePoint);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 2;
@@ -315,34 +315,34 @@ public final class DailyActivityInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 32: {
case 8: {
// level
level = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 80) {
if (tag != 24) {
break;
}
}
case 80: {
// dailyActivePoint
dailyActivePoint = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 88) {
break;
}
}
case 88: {
case 24: {
// worldLevel
worldLevel = input.readUInt32();
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 104) {
break;
}
}
case 104: {
// dailyActivePoint
dailyActivePoint = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 16) {
break;
}
}
case 16: {
// isHasTaken
isHasTaken = input.readBool();
bitField0_ |= 0x00000008;
@@ -372,10 +372,10 @@ public final class DailyActivityInfoOuterClass {
output.writeUInt32(FieldNames.level, level);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.dailyActivePoint, dailyActivePoint);
output.writeUInt32(FieldNames.worldLevel, worldLevel);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.worldLevel, worldLevel);
output.writeUInt32(FieldNames.dailyActivePoint, dailyActivePoint);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeBool(FieldNames.isHasTaken, isHasTaken);
@@ -401,11 +401,11 @@ public final class DailyActivityInfoOuterClass {
}
break;
}
case 859671121:
case 1952864125: {
if (input.isAtField(FieldNames.dailyActivePoint)) {
case 440007442:
case 1305257111: {
if (input.isAtField(FieldNames.worldLevel)) {
if (!input.trySkipNullValue()) {
dailyActivePoint = input.readUInt32();
worldLevel = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -413,11 +413,11 @@ public final class DailyActivityInfoOuterClass {
}
break;
}
case 440007442:
case 1305257111: {
if (input.isAtField(FieldNames.worldLevel)) {
case 859671121:
case 1952864125: {
if (input.isAtField(FieldNames.dailyActivePoint)) {
if (!input.trySkipNullValue()) {
worldLevel = input.readUInt32();
dailyActivePoint = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -492,10 +492,10 @@ public final class DailyActivityInfoOuterClass {
static class FieldNames {
static final FieldName level = FieldName.forField("level");
static final FieldName dailyActivePoint = FieldName.forField("dailyActivePoint", "daily_active_point");
static final FieldName worldLevel = FieldName.forField("worldLevel", "world_level");
static final FieldName dailyActivePoint = FieldName.forField("dailyActivePoint", "daily_active_point");
static final FieldName isHasTaken = FieldName.forField("isHasTaken", "is_has_taken");
}
}

View File

@@ -19,7 +19,7 @@ public final class DeactivateFarmElementCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 entity_id = 3;</code>
* <code>optional uint32 entity_id = 8;</code>
*/
private int entityId;
@@ -34,7 +34,7 @@ public final class DeactivateFarmElementCsReqOuterClass {
}
/**
* <code>optional uint32 entity_id = 3;</code>
* <code>optional uint32 entity_id = 8;</code>
* @return whether the entityId field is set
*/
public boolean hasEntityId() {
@@ -42,7 +42,7 @@ public final class DeactivateFarmElementCsReqOuterClass {
}
/**
* <code>optional uint32 entity_id = 3;</code>
* <code>optional uint32 entity_id = 8;</code>
* @return this
*/
public DeactivateFarmElementCsReq clearEntityId() {
@@ -52,7 +52,7 @@ public final class DeactivateFarmElementCsReqOuterClass {
}
/**
* <code>optional uint32 entity_id = 3;</code>
* <code>optional uint32 entity_id = 8;</code>
* @return the entityId
*/
public int getEntityId() {
@@ -60,7 +60,7 @@ public final class DeactivateFarmElementCsReqOuterClass {
}
/**
* <code>optional uint32 entity_id = 3;</code>
* <code>optional uint32 entity_id = 8;</code>
* @param value the entityId to set
* @return this
*/
@@ -129,7 +129,7 @@ public final class DeactivateFarmElementCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 24);
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(entityId);
}
}
@@ -150,7 +150,7 @@ public final class DeactivateFarmElementCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 24: {
case 64: {
// entityId
entityId = input.readUInt32();
bitField0_ |= 0x00000001;

View File

@@ -19,15 +19,15 @@ public final class DeactivateFarmElementScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 retcode = 5;</code>
*/
private int retcode;
/**
* <code>optional uint32 entity_id = 11;</code>
* <code>optional uint32 entity_id = 4;</code>
*/
private int entityId;
/**
* <code>optional uint32 retcode = 7;</code>
*/
private int retcode;
private DeactivateFarmElementScRsp() {
}
@@ -39,62 +39,25 @@ public final class DeactivateFarmElementScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 5;</code>
* @return whether the retcode field is set
* <code>optional uint32 entity_id = 4;</code>
* @return whether the entityId field is set
*/
public boolean hasRetcode() {
public boolean hasEntityId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 retcode = 5;</code>
* @return this
*/
public DeactivateFarmElementScRsp clearRetcode() {
bitField0_ &= ~0x00000001;
retcode = 0;
return this;
}
/**
* <code>optional uint32 retcode = 5;</code>
* @return the retcode
*/
public int getRetcode() {
return retcode;
}
/**
* <code>optional uint32 retcode = 5;</code>
* @param value the retcode to set
* @return this
*/
public DeactivateFarmElementScRsp setRetcode(final int value) {
bitField0_ |= 0x00000001;
retcode = value;
return this;
}
/**
* <code>optional uint32 entity_id = 11;</code>
* @return whether the entityId field is set
*/
public boolean hasEntityId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 entity_id = 11;</code>
* <code>optional uint32 entity_id = 4;</code>
* @return this
*/
public DeactivateFarmElementScRsp clearEntityId() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
entityId = 0;
return this;
}
/**
* <code>optional uint32 entity_id = 11;</code>
* <code>optional uint32 entity_id = 4;</code>
* @return the entityId
*/
public int getEntityId() {
@@ -102,23 +65,60 @@ public final class DeactivateFarmElementScRspOuterClass {
}
/**
* <code>optional uint32 entity_id = 11;</code>
* <code>optional uint32 entity_id = 4;</code>
* @param value the entityId to set
* @return this
*/
public DeactivateFarmElementScRsp setEntityId(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
entityId = value;
return this;
}
/**
* <code>optional uint32 retcode = 7;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 retcode = 7;</code>
* @return this
*/
public DeactivateFarmElementScRsp clearRetcode() {
bitField0_ &= ~0x00000002;
retcode = 0;
return this;
}
/**
* <code>optional uint32 retcode = 7;</code>
* @return the retcode
*/
public int getRetcode() {
return retcode;
}
/**
* <code>optional uint32 retcode = 7;</code>
* @param value the retcode to set
* @return this
*/
public DeactivateFarmElementScRsp setRetcode(final int value) {
bitField0_ |= 0x00000002;
retcode = value;
return this;
}
@Override
public DeactivateFarmElementScRsp copyFrom(final DeactivateFarmElementScRsp other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
retcode = other.retcode;
entityId = other.entityId;
retcode = other.retcode;
}
return this;
}
@@ -129,12 +129,12 @@ public final class DeactivateFarmElementScRspOuterClass {
return this;
}
cachedSize = -1;
if (other.hasRetcode()) {
setRetcode(other.retcode);
}
if (other.hasEntityId()) {
setEntityId(other.entityId);
}
if (other.hasRetcode()) {
setRetcode(other.retcode);
}
return this;
}
@@ -145,8 +145,8 @@ public final class DeactivateFarmElementScRspOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
retcode = 0;
entityId = 0;
retcode = 0;
return this;
}
@@ -170,19 +170,19 @@ public final class DeactivateFarmElementScRspOuterClass {
}
DeactivateFarmElementScRsp other = (DeactivateFarmElementScRsp) o;
return bitField0_ == other.bitField0_
&& (!hasRetcode() || retcode == other.retcode)
&& (!hasEntityId() || entityId == other.entityId);
&& (!hasEntityId() || entityId == other.entityId)
&& (!hasRetcode() || retcode == other.retcode);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 40);
output.writeUInt32NoTag(retcode);
output.writeRawByte((byte) 32);
output.writeUInt32NoTag(entityId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 88);
output.writeUInt32NoTag(entityId);
output.writeRawByte((byte) 56);
output.writeUInt32NoTag(retcode);
}
}
@@ -190,10 +190,10 @@ public final class DeactivateFarmElementScRspOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
size += 1 + ProtoSink.computeUInt32SizeNoTag(entityId);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(entityId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
}
return size;
}
@@ -205,18 +205,18 @@ public final class DeactivateFarmElementScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 40: {
// retcode
retcode = input.readUInt32();
case 32: {
// entityId
entityId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 88) {
if (tag != 56) {
break;
}
}
case 88: {
// entityId
entityId = input.readUInt32();
case 56: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 0) {
@@ -241,10 +241,10 @@ public final class DeactivateFarmElementScRspOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.retcode, retcode);
output.writeUInt32(FieldNames.entityId, entityId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.entityId, entityId);
output.writeUInt32(FieldNames.retcode, retcode);
}
output.endObject();
}
@@ -256,10 +256,11 @@ public final class DeactivateFarmElementScRspOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
case -2102099874:
case -740565257: {
if (input.isAtField(FieldNames.entityId)) {
if (!input.trySkipNullValue()) {
retcode = input.readUInt32();
entityId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -267,11 +268,10 @@ public final class DeactivateFarmElementScRspOuterClass {
}
break;
}
case -2102099874:
case -740565257: {
if (input.isAtField(FieldNames.entityId)) {
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
if (!input.trySkipNullValue()) {
entityId = input.readUInt32();
retcode = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -332,9 +332,9 @@ public final class DeactivateFarmElementScRspOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName retcode = FieldName.forField("retcode");
static final FieldName entityId = FieldName.forField("entityId", "entity_id");
static final FieldName retcode = FieldName.forField("retcode");
}
}
}

View File

@@ -20,7 +20,7 @@ public final class DelMailCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 14;</code>
*/
private final RepeatedInt idList = RepeatedInt.newEmptyInstance();
@@ -35,7 +35,7 @@ public final class DelMailCsReqOuterClass {
}
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 14;</code>
* @return whether the idList field is set
*/
public boolean hasIdList() {
@@ -43,7 +43,7 @@ public final class DelMailCsReqOuterClass {
}
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 14;</code>
* @return this
*/
public DelMailCsReq clearIdList() {
@@ -53,7 +53,7 @@ public final class DelMailCsReqOuterClass {
}
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 14;</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.
@@ -67,7 +67,7 @@ public final class DelMailCsReqOuterClass {
}
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 14;</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
@@ -81,7 +81,7 @@ public final class DelMailCsReqOuterClass {
}
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 14;</code>
* @param value the idList to add
* @return this
*/
@@ -92,7 +92,7 @@ public final class DelMailCsReqOuterClass {
}
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 14;</code>
* @param values the idList to add
* @return this
*/
@@ -163,7 +163,7 @@ public final class DelMailCsReqOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
for (int i = 0; i < idList.length(); i++) {
output.writeRawByte((byte) 16);
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(idList.array()[i]);
}
}
@@ -185,7 +185,7 @@ public final class DelMailCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 18: {
case 114: {
// idList [packed=true]
input.readPackedUInt32(idList, tag);
bitField0_ |= 0x00000001;
@@ -204,7 +204,7 @@ public final class DelMailCsReqOuterClass {
tag = input.readTag();
break;
}
case 16: {
case 112: {
// idList [packed=false]
tag = input.readRepeatedUInt32(idList, tag);
bitField0_ |= 0x00000001;

View File

@@ -20,12 +20,12 @@ public final class DelMailScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 13;</code>
*/
private int retcode;
/**
* <code>repeated uint32 id_list = 13;</code>
* <code>repeated uint32 id_list = 15;</code>
*/
private final RepeatedInt idList = RepeatedInt.newEmptyInstance();
@@ -40,7 +40,7 @@ public final class DelMailScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 13;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -48,7 +48,7 @@ public final class DelMailScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 13;</code>
* @return this
*/
public DelMailScRsp clearRetcode() {
@@ -58,7 +58,7 @@ public final class DelMailScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 13;</code>
* @return the retcode
*/
public int getRetcode() {
@@ -66,7 +66,7 @@ public final class DelMailScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 13;</code>
* @param value the retcode to set
* @return this
*/
@@ -77,7 +77,7 @@ public final class DelMailScRspOuterClass {
}
/**
* <code>repeated uint32 id_list = 13;</code>
* <code>repeated uint32 id_list = 15;</code>
* @return whether the idList field is set
*/
public boolean hasIdList() {
@@ -85,7 +85,7 @@ public final class DelMailScRspOuterClass {
}
/**
* <code>repeated uint32 id_list = 13;</code>
* <code>repeated uint32 id_list = 15;</code>
* @return this
*/
public DelMailScRsp clearIdList() {
@@ -95,7 +95,7 @@ public final class DelMailScRspOuterClass {
}
/**
* <code>repeated uint32 id_list = 13;</code>
* <code>repeated uint32 id_list = 15;</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.
@@ -109,7 +109,7 @@ public final class DelMailScRspOuterClass {
}
/**
* <code>repeated uint32 id_list = 13;</code>
* <code>repeated uint32 id_list = 15;</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
@@ -123,7 +123,7 @@ public final class DelMailScRspOuterClass {
}
/**
* <code>repeated uint32 id_list = 13;</code>
* <code>repeated uint32 id_list = 15;</code>
* @param value the idList to add
* @return this
*/
@@ -134,7 +134,7 @@ public final class DelMailScRspOuterClass {
}
/**
* <code>repeated uint32 id_list = 13;</code>
* <code>repeated uint32 id_list = 15;</code>
* @param values the idList to add
* @return this
*/
@@ -210,12 +210,12 @@ public final class DelMailScRspOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 24);
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
for (int i = 0; i < idList.length(); i++) {
output.writeRawByte((byte) 104);
output.writeRawByte((byte) 120);
output.writeUInt32NoTag(idList.array()[i]);
}
}
@@ -240,16 +240,16 @@ public final class DelMailScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 24: {
case 104: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 106) {
if (tag != 122) {
break;
}
}
case 106: {
case 122: {
// idList [packed=true]
input.readPackedUInt32(idList, tag);
bitField0_ |= 0x00000002;
@@ -268,7 +268,7 @@ public final class DelMailScRspOuterClass {
tag = input.readTag();
break;
}
case 104: {
case 120: {
// idList [packed=false]
tag = input.readRepeatedUInt32(idList, tag);
bitField0_ |= 0x00000002;

View File

@@ -19,7 +19,7 @@ public final class DeleteFriendCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 uid = 11;</code>
* <code>optional uint32 uid = 12;</code>
*/
private int uid;
@@ -34,7 +34,7 @@ public final class DeleteFriendCsReqOuterClass {
}
/**
* <code>optional uint32 uid = 11;</code>
* <code>optional uint32 uid = 12;</code>
* @return whether the uid field is set
*/
public boolean hasUid() {
@@ -42,7 +42,7 @@ public final class DeleteFriendCsReqOuterClass {
}
/**
* <code>optional uint32 uid = 11;</code>
* <code>optional uint32 uid = 12;</code>
* @return this
*/
public DeleteFriendCsReq clearUid() {
@@ -52,7 +52,7 @@ public final class DeleteFriendCsReqOuterClass {
}
/**
* <code>optional uint32 uid = 11;</code>
* <code>optional uint32 uid = 12;</code>
* @return the uid
*/
public int getUid() {
@@ -60,7 +60,7 @@ public final class DeleteFriendCsReqOuterClass {
}
/**
* <code>optional uint32 uid = 11;</code>
* <code>optional uint32 uid = 12;</code>
* @param value the uid to set
* @return this
*/
@@ -129,7 +129,7 @@ public final class DeleteFriendCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 88);
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(uid);
}
}
@@ -150,7 +150,7 @@ public final class DeleteFriendCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 88: {
case 96: {
// uid
uid = input.readUInt32();
bitField0_ |= 0x00000001;

View File

@@ -20,7 +20,7 @@ public final class DeleteSocialEventServerCacheCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>repeated uint32 delete_cache = 9;</code>
* <code>repeated uint32 delete_cache = 13;</code>
*/
private final RepeatedInt deleteCache = RepeatedInt.newEmptyInstance();
@@ -35,7 +35,7 @@ public final class DeleteSocialEventServerCacheCsReqOuterClass {
}
/**
* <code>repeated uint32 delete_cache = 9;</code>
* <code>repeated uint32 delete_cache = 13;</code>
* @return whether the deleteCache field is set
*/
public boolean hasDeleteCache() {
@@ -43,7 +43,7 @@ public final class DeleteSocialEventServerCacheCsReqOuterClass {
}
/**
* <code>repeated uint32 delete_cache = 9;</code>
* <code>repeated uint32 delete_cache = 13;</code>
* @return this
*/
public DeleteSocialEventServerCacheCsReq clearDeleteCache() {
@@ -53,7 +53,7 @@ public final class DeleteSocialEventServerCacheCsReqOuterClass {
}
/**
* <code>repeated uint32 delete_cache = 9;</code>
* <code>repeated uint32 delete_cache = 13;</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.
@@ -67,7 +67,7 @@ public final class DeleteSocialEventServerCacheCsReqOuterClass {
}
/**
* <code>repeated uint32 delete_cache = 9;</code>
* <code>repeated uint32 delete_cache = 13;</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
@@ -81,7 +81,7 @@ public final class DeleteSocialEventServerCacheCsReqOuterClass {
}
/**
* <code>repeated uint32 delete_cache = 9;</code>
* <code>repeated uint32 delete_cache = 13;</code>
* @param value the deleteCache to add
* @return this
*/
@@ -92,7 +92,7 @@ public final class DeleteSocialEventServerCacheCsReqOuterClass {
}
/**
* <code>repeated uint32 delete_cache = 9;</code>
* <code>repeated uint32 delete_cache = 13;</code>
* @param values the deleteCache to add
* @return this
*/
@@ -165,7 +165,7 @@ public final class DeleteSocialEventServerCacheCsReqOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
for (int i = 0; i < deleteCache.length(); i++) {
output.writeRawByte((byte) 72);
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(deleteCache.array()[i]);
}
}
@@ -187,7 +187,7 @@ public final class DeleteSocialEventServerCacheCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 74: {
case 106: {
// deleteCache [packed=true]
input.readPackedUInt32(deleteCache, tag);
bitField0_ |= 0x00000001;
@@ -206,7 +206,7 @@ public final class DeleteSocialEventServerCacheCsReqOuterClass {
tag = input.readTag();
break;
}
case 72: {
case 104: {
// deleteCache [packed=false]
tag = input.readRepeatedUInt32(deleteCache, tag);
bitField0_ |= 0x00000001;

View File

@@ -20,12 +20,12 @@ public final class DeleteSocialEventServerCacheScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 retcode = 7;</code>
* <code>optional uint32 retcode = 8;</code>
*/
private int retcode;
/**
* <code>repeated uint32 ret_delete_cache = 5;</code>
* <code>repeated uint32 ret_delete_cache = 1;</code>
*/
private final RepeatedInt retDeleteCache = RepeatedInt.newEmptyInstance();
@@ -40,7 +40,7 @@ public final class DeleteSocialEventServerCacheScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 7;</code>
* <code>optional uint32 retcode = 8;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -48,7 +48,7 @@ public final class DeleteSocialEventServerCacheScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 7;</code>
* <code>optional uint32 retcode = 8;</code>
* @return this
*/
public DeleteSocialEventServerCacheScRsp clearRetcode() {
@@ -58,7 +58,7 @@ public final class DeleteSocialEventServerCacheScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 7;</code>
* <code>optional uint32 retcode = 8;</code>
* @return the retcode
*/
public int getRetcode() {
@@ -66,7 +66,7 @@ public final class DeleteSocialEventServerCacheScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 7;</code>
* <code>optional uint32 retcode = 8;</code>
* @param value the retcode to set
* @return this
*/
@@ -77,7 +77,7 @@ public final class DeleteSocialEventServerCacheScRspOuterClass {
}
/**
* <code>repeated uint32 ret_delete_cache = 5;</code>
* <code>repeated uint32 ret_delete_cache = 1;</code>
* @return whether the retDeleteCache field is set
*/
public boolean hasRetDeleteCache() {
@@ -85,7 +85,7 @@ public final class DeleteSocialEventServerCacheScRspOuterClass {
}
/**
* <code>repeated uint32 ret_delete_cache = 5;</code>
* <code>repeated uint32 ret_delete_cache = 1;</code>
* @return this
*/
public DeleteSocialEventServerCacheScRsp clearRetDeleteCache() {
@@ -95,7 +95,7 @@ public final class DeleteSocialEventServerCacheScRspOuterClass {
}
/**
* <code>repeated uint32 ret_delete_cache = 5;</code>
* <code>repeated uint32 ret_delete_cache = 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.
@@ -109,7 +109,7 @@ public final class DeleteSocialEventServerCacheScRspOuterClass {
}
/**
* <code>repeated uint32 ret_delete_cache = 5;</code>
* <code>repeated uint32 ret_delete_cache = 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
@@ -123,7 +123,7 @@ public final class DeleteSocialEventServerCacheScRspOuterClass {
}
/**
* <code>repeated uint32 ret_delete_cache = 5;</code>
* <code>repeated uint32 ret_delete_cache = 1;</code>
* @param value the retDeleteCache to add
* @return this
*/
@@ -134,7 +134,7 @@ public final class DeleteSocialEventServerCacheScRspOuterClass {
}
/**
* <code>repeated uint32 ret_delete_cache = 5;</code>
* <code>repeated uint32 ret_delete_cache = 1;</code>
* @param values the retDeleteCache to add
* @return this
*/
@@ -212,12 +212,12 @@ public final class DeleteSocialEventServerCacheScRspOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 56);
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
for (int i = 0; i < retDeleteCache.length(); i++) {
output.writeRawByte((byte) 40);
output.writeRawByte((byte) 8);
output.writeUInt32NoTag(retDeleteCache.array()[i]);
}
}
@@ -242,16 +242,16 @@ public final class DeleteSocialEventServerCacheScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 56: {
case 64: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 42) {
if (tag != 10) {
break;
}
}
case 42: {
case 10: {
// retDeleteCache [packed=true]
input.readPackedUInt32(retDeleteCache, tag);
bitField0_ |= 0x00000002;
@@ -270,7 +270,7 @@ public final class DeleteSocialEventServerCacheScRspOuterClass {
tag = input.readTag();
break;
}
case 40: {
case 8: {
// retDeleteCache [packed=false]
tag = input.readRepeatedUInt32(retDeleteCache, tag);
bitField0_ |= 0x00000002;

View File

@@ -19,7 +19,7 @@ public final class DeployRotaterCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional .RotaterData rotater_data = 2;</code>
* <code>optional .RotaterData rotater_data = 15;</code>
*/
private final RotaterDataOuterClass.RotaterData rotaterData = RotaterDataOuterClass.RotaterData.newInstance();
@@ -34,7 +34,7 @@ public final class DeployRotaterCsReqOuterClass {
}
/**
* <code>optional .RotaterData rotater_data = 2;</code>
* <code>optional .RotaterData rotater_data = 15;</code>
* @return whether the rotaterData field is set
*/
public boolean hasRotaterData() {
@@ -42,7 +42,7 @@ public final class DeployRotaterCsReqOuterClass {
}
/**
* <code>optional .RotaterData rotater_data = 2;</code>
* <code>optional .RotaterData rotater_data = 15;</code>
* @return this
*/
public DeployRotaterCsReq clearRotaterData() {
@@ -52,7 +52,7 @@ public final class DeployRotaterCsReqOuterClass {
}
/**
* <code>optional .RotaterData rotater_data = 2;</code>
* <code>optional .RotaterData rotater_data = 15;</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.
@@ -66,7 +66,7 @@ public final class DeployRotaterCsReqOuterClass {
}
/**
* <code>optional .RotaterData rotater_data = 2;</code>
* <code>optional .RotaterData rotater_data = 15;</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
@@ -80,7 +80,7 @@ public final class DeployRotaterCsReqOuterClass {
}
/**
* <code>optional .RotaterData rotater_data = 2;</code>
* <code>optional .RotaterData rotater_data = 15;</code>
* @param value the rotaterData to set
* @return this
*/
@@ -150,7 +150,7 @@ public final class DeployRotaterCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 18);
output.writeRawByte((byte) 122);
output.writeMessageNoTag(rotaterData);
}
}
@@ -171,7 +171,7 @@ public final class DeployRotaterCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 18: {
case 122: {
// rotaterData
input.readMessage(rotaterData);
bitField0_ |= 0x00000001;

View File

@@ -19,20 +19,20 @@ public final class DeployRotaterScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 retcode = 7;</code>
* <code>optional uint32 retcode = 5;</code>
*/
private int retcode;
/**
* <code>optional .RotaterData rotater_data = 6;</code>
*/
private final RotaterDataOuterClass.RotaterData rotaterData = RotaterDataOuterClass.RotaterData.newInstance();
/**
* <code>optional .RotatorEnergyInfo energy_info = 10;</code>
* <code>optional .RotatorEnergyInfo energy_info = 4;</code>
*/
private final RotatorEnergyInfoOuterClass.RotatorEnergyInfo energyInfo = RotatorEnergyInfoOuterClass.RotatorEnergyInfo.newInstance();
/**
* <code>optional .RotaterData rotater_data = 10;</code>
*/
private final RotaterDataOuterClass.RotaterData rotaterData = RotaterDataOuterClass.RotaterData.newInstance();
private DeployRotaterScRsp() {
}
@@ -44,7 +44,7 @@ public final class DeployRotaterScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 7;</code>
* <code>optional uint32 retcode = 5;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -52,7 +52,7 @@ public final class DeployRotaterScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 7;</code>
* <code>optional uint32 retcode = 5;</code>
* @return this
*/
public DeployRotaterScRsp clearRetcode() {
@@ -62,7 +62,7 @@ public final class DeployRotaterScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 7;</code>
* <code>optional uint32 retcode = 5;</code>
* @return the retcode
*/
public int getRetcode() {
@@ -70,7 +70,7 @@ public final class DeployRotaterScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 7;</code>
* <code>optional uint32 retcode = 5;</code>
* @param value the retcode to set
* @return this
*/
@@ -81,82 +81,25 @@ public final class DeployRotaterScRspOuterClass {
}
/**
* <code>optional .RotaterData rotater_data = 6;</code>
* @return whether the rotaterData field is set
* <code>optional .RotatorEnergyInfo energy_info = 4;</code>
* @return whether the energyInfo field is set
*/
public boolean hasRotaterData() {
public boolean hasEnergyInfo() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional .RotaterData rotater_data = 6;</code>
* @return this
*/
public DeployRotaterScRsp clearRotaterData() {
bitField0_ &= ~0x00000002;
rotaterData.clear();
return this;
}
/**
* <code>optional .RotaterData rotater_data = 6;</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 #getMutableRotaterData()} if you want to modify it.
*
* @return internal storage object for reading
*/
public RotaterDataOuterClass.RotaterData getRotaterData() {
return rotaterData;
}
/**
* <code>optional .RotaterData rotater_data = 6;</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 RotaterDataOuterClass.RotaterData getMutableRotaterData() {
bitField0_ |= 0x00000002;
return rotaterData;
}
/**
* <code>optional .RotaterData rotater_data = 6;</code>
* @param value the rotaterData to set
* @return this
*/
public DeployRotaterScRsp setRotaterData(final RotaterDataOuterClass.RotaterData value) {
bitField0_ |= 0x00000002;
rotaterData.copyFrom(value);
return this;
}
/**
* <code>optional .RotatorEnergyInfo energy_info = 10;</code>
* @return whether the energyInfo field is set
*/
public boolean hasEnergyInfo() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional .RotatorEnergyInfo energy_info = 10;</code>
* <code>optional .RotatorEnergyInfo energy_info = 4;</code>
* @return this
*/
public DeployRotaterScRsp clearEnergyInfo() {
bitField0_ &= ~0x00000004;
bitField0_ &= ~0x00000002;
energyInfo.clear();
return this;
}
/**
* <code>optional .RotatorEnergyInfo energy_info = 10;</code>
* <code>optional .RotatorEnergyInfo energy_info = 4;</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.
@@ -170,7 +113,7 @@ public final class DeployRotaterScRspOuterClass {
}
/**
* <code>optional .RotatorEnergyInfo energy_info = 10;</code>
* <code>optional .RotatorEnergyInfo energy_info = 4;</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
@@ -179,30 +122,87 @@ public final class DeployRotaterScRspOuterClass {
* @return internal storage object for modifications
*/
public RotatorEnergyInfoOuterClass.RotatorEnergyInfo getMutableEnergyInfo() {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000002;
return energyInfo;
}
/**
* <code>optional .RotatorEnergyInfo energy_info = 10;</code>
* <code>optional .RotatorEnergyInfo energy_info = 4;</code>
* @param value the energyInfo to set
* @return this
*/
public DeployRotaterScRsp setEnergyInfo(
final RotatorEnergyInfoOuterClass.RotatorEnergyInfo value) {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000002;
energyInfo.copyFrom(value);
return this;
}
/**
* <code>optional .RotaterData rotater_data = 10;</code>
* @return whether the rotaterData field is set
*/
public boolean hasRotaterData() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional .RotaterData rotater_data = 10;</code>
* @return this
*/
public DeployRotaterScRsp clearRotaterData() {
bitField0_ &= ~0x00000004;
rotaterData.clear();
return this;
}
/**
* <code>optional .RotaterData rotater_data = 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 #getMutableRotaterData()} if you want to modify it.
*
* @return internal storage object for reading
*/
public RotaterDataOuterClass.RotaterData getRotaterData() {
return rotaterData;
}
/**
* <code>optional .RotaterData rotater_data = 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 RotaterDataOuterClass.RotaterData getMutableRotaterData() {
bitField0_ |= 0x00000004;
return rotaterData;
}
/**
* <code>optional .RotaterData rotater_data = 10;</code>
* @param value the rotaterData to set
* @return this
*/
public DeployRotaterScRsp setRotaterData(final RotaterDataOuterClass.RotaterData value) {
bitField0_ |= 0x00000004;
rotaterData.copyFrom(value);
return this;
}
@Override
public DeployRotaterScRsp copyFrom(final DeployRotaterScRsp other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
retcode = other.retcode;
rotaterData.copyFrom(other.rotaterData);
energyInfo.copyFrom(other.energyInfo);
rotaterData.copyFrom(other.rotaterData);
}
return this;
}
@@ -216,12 +216,12 @@ public final class DeployRotaterScRspOuterClass {
if (other.hasRetcode()) {
setRetcode(other.retcode);
}
if (other.hasRotaterData()) {
getMutableRotaterData().mergeFrom(other.rotaterData);
}
if (other.hasEnergyInfo()) {
getMutableEnergyInfo().mergeFrom(other.energyInfo);
}
if (other.hasRotaterData()) {
getMutableRotaterData().mergeFrom(other.rotaterData);
}
return this;
}
@@ -233,8 +233,8 @@ public final class DeployRotaterScRspOuterClass {
cachedSize = -1;
bitField0_ = 0;
retcode = 0;
rotaterData.clear();
energyInfo.clear();
rotaterData.clear();
return this;
}
@@ -245,8 +245,8 @@ public final class DeployRotaterScRspOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
rotaterData.clearQuick();
energyInfo.clearQuick();
rotaterData.clearQuick();
return this;
}
@@ -261,23 +261,23 @@ public final class DeployRotaterScRspOuterClass {
DeployRotaterScRsp other = (DeployRotaterScRsp) o;
return bitField0_ == other.bitField0_
&& (!hasRetcode() || retcode == other.retcode)
&& (!hasRotaterData() || rotaterData.equals(other.rotaterData))
&& (!hasEnergyInfo() || energyInfo.equals(other.energyInfo));
&& (!hasEnergyInfo() || energyInfo.equals(other.energyInfo))
&& (!hasRotaterData() || rotaterData.equals(other.rotaterData));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 56);
output.writeRawByte((byte) 40);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 50);
output.writeMessageNoTag(rotaterData);
output.writeRawByte((byte) 34);
output.writeMessageNoTag(energyInfo);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 82);
output.writeMessageNoTag(energyInfo);
output.writeMessageNoTag(rotaterData);
}
}
@@ -288,10 +288,10 @@ public final class DeployRotaterScRspOuterClass {
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(rotaterData);
size += 1 + ProtoSink.computeMessageSizeNoTag(energyInfo);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(energyInfo);
size += 1 + ProtoSink.computeMessageSizeNoTag(rotaterData);
}
return size;
}
@@ -303,18 +303,18 @@ public final class DeployRotaterScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 56: {
case 40: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 50) {
if (tag != 34) {
break;
}
}
case 50: {
// rotaterData
input.readMessage(rotaterData);
case 34: {
// energyInfo
input.readMessage(energyInfo);
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 82) {
@@ -322,8 +322,8 @@ public final class DeployRotaterScRspOuterClass {
}
}
case 82: {
// energyInfo
input.readMessage(energyInfo);
// rotaterData
input.readMessage(rotaterData);
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 0) {
@@ -351,10 +351,10 @@ public final class DeployRotaterScRspOuterClass {
output.writeUInt32(FieldNames.retcode, retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeMessage(FieldNames.rotaterData, rotaterData);
output.writeMessage(FieldNames.energyInfo, energyInfo);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeMessage(FieldNames.energyInfo, energyInfo);
output.writeMessage(FieldNames.rotaterData, rotaterData);
}
output.endObject();
}
@@ -377,11 +377,11 @@ public final class DeployRotaterScRspOuterClass {
}
break;
}
case 1880563393:
case -1807070094: {
if (input.isAtField(FieldNames.rotaterData)) {
case 1464698710:
case -1818804219: {
if (input.isAtField(FieldNames.energyInfo)) {
if (!input.trySkipNullValue()) {
input.readMessage(rotaterData);
input.readMessage(energyInfo);
bitField0_ |= 0x00000002;
}
} else {
@@ -389,11 +389,11 @@ public final class DeployRotaterScRspOuterClass {
}
break;
}
case 1464698710:
case -1818804219: {
if (input.isAtField(FieldNames.energyInfo)) {
case 1880563393:
case -1807070094: {
if (input.isAtField(FieldNames.rotaterData)) {
if (!input.trySkipNullValue()) {
input.readMessage(energyInfo);
input.readMessage(rotaterData);
bitField0_ |= 0x00000004;
}
} else {
@@ -456,9 +456,9 @@ public final class DeployRotaterScRspOuterClass {
static class FieldNames {
static final FieldName retcode = FieldName.forField("retcode");
static final FieldName rotaterData = FieldName.forField("rotaterData", "rotater_data");
static final FieldName energyInfo = FieldName.forField("energyInfo", "energy_info");
static final FieldName rotaterData = FieldName.forField("rotaterData", "rotater_data");
}
}
}

View File

@@ -19,20 +19,20 @@ public final class DestroyItemCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 item_count = 5;</code>
* <code>optional uint32 item_count = 1;</code>
*/
private int itemCount;
/**
* <code>optional uint32 cur_item_count = 8;</code>
*/
private int curItemCount;
/**
* <code>optional uint32 item_id = 14;</code>
* <code>optional uint32 item_id = 4;</code>
*/
private int itemId;
/**
* <code>optional uint32 cur_item_count = 12;</code>
*/
private int curItemCount;
private DestroyItemCsReq() {
}
@@ -44,7 +44,7 @@ public final class DestroyItemCsReqOuterClass {
}
/**
* <code>optional uint32 item_count = 5;</code>
* <code>optional uint32 item_count = 1;</code>
* @return whether the itemCount field is set
*/
public boolean hasItemCount() {
@@ -52,7 +52,7 @@ public final class DestroyItemCsReqOuterClass {
}
/**
* <code>optional uint32 item_count = 5;</code>
* <code>optional uint32 item_count = 1;</code>
* @return this
*/
public DestroyItemCsReq clearItemCount() {
@@ -62,7 +62,7 @@ public final class DestroyItemCsReqOuterClass {
}
/**
* <code>optional uint32 item_count = 5;</code>
* <code>optional uint32 item_count = 1;</code>
* @return the itemCount
*/
public int getItemCount() {
@@ -70,7 +70,7 @@ public final class DestroyItemCsReqOuterClass {
}
/**
* <code>optional uint32 item_count = 5;</code>
* <code>optional uint32 item_count = 1;</code>
* @param value the itemCount to set
* @return this
*/
@@ -81,62 +81,25 @@ public final class DestroyItemCsReqOuterClass {
}
/**
* <code>optional uint32 cur_item_count = 8;</code>
* @return whether the curItemCount field is set
* <code>optional uint32 item_id = 4;</code>
* @return whether the itemId field is set
*/
public boolean hasCurItemCount() {
public boolean hasItemId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 cur_item_count = 8;</code>
* @return this
*/
public DestroyItemCsReq clearCurItemCount() {
bitField0_ &= ~0x00000002;
curItemCount = 0;
return this;
}
/**
* <code>optional uint32 cur_item_count = 8;</code>
* @return the curItemCount
*/
public int getCurItemCount() {
return curItemCount;
}
/**
* <code>optional uint32 cur_item_count = 8;</code>
* @param value the curItemCount to set
* @return this
*/
public DestroyItemCsReq setCurItemCount(final int value) {
bitField0_ |= 0x00000002;
curItemCount = value;
return this;
}
/**
* <code>optional uint32 item_id = 14;</code>
* @return whether the itemId field is set
*/
public boolean hasItemId() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 item_id = 14;</code>
* <code>optional uint32 item_id = 4;</code>
* @return this
*/
public DestroyItemCsReq clearItemId() {
bitField0_ &= ~0x00000004;
bitField0_ &= ~0x00000002;
itemId = 0;
return this;
}
/**
* <code>optional uint32 item_id = 14;</code>
* <code>optional uint32 item_id = 4;</code>
* @return the itemId
*/
public int getItemId() {
@@ -144,24 +107,61 @@ public final class DestroyItemCsReqOuterClass {
}
/**
* <code>optional uint32 item_id = 14;</code>
* <code>optional uint32 item_id = 4;</code>
* @param value the itemId to set
* @return this
*/
public DestroyItemCsReq setItemId(final int value) {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000002;
itemId = value;
return this;
}
/**
* <code>optional uint32 cur_item_count = 12;</code>
* @return whether the curItemCount field is set
*/
public boolean hasCurItemCount() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 cur_item_count = 12;</code>
* @return this
*/
public DestroyItemCsReq clearCurItemCount() {
bitField0_ &= ~0x00000004;
curItemCount = 0;
return this;
}
/**
* <code>optional uint32 cur_item_count = 12;</code>
* @return the curItemCount
*/
public int getCurItemCount() {
return curItemCount;
}
/**
* <code>optional uint32 cur_item_count = 12;</code>
* @param value the curItemCount to set
* @return this
*/
public DestroyItemCsReq setCurItemCount(final int value) {
bitField0_ |= 0x00000004;
curItemCount = value;
return this;
}
@Override
public DestroyItemCsReq copyFrom(final DestroyItemCsReq other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
itemCount = other.itemCount;
curItemCount = other.curItemCount;
itemId = other.itemId;
curItemCount = other.curItemCount;
}
return this;
}
@@ -175,12 +175,12 @@ public final class DestroyItemCsReqOuterClass {
if (other.hasItemCount()) {
setItemCount(other.itemCount);
}
if (other.hasCurItemCount()) {
setCurItemCount(other.curItemCount);
}
if (other.hasItemId()) {
setItemId(other.itemId);
}
if (other.hasCurItemCount()) {
setCurItemCount(other.curItemCount);
}
return this;
}
@@ -192,8 +192,8 @@ public final class DestroyItemCsReqOuterClass {
cachedSize = -1;
bitField0_ = 0;
itemCount = 0;
curItemCount = 0;
itemId = 0;
curItemCount = 0;
return this;
}
@@ -218,23 +218,23 @@ public final class DestroyItemCsReqOuterClass {
DestroyItemCsReq other = (DestroyItemCsReq) o;
return bitField0_ == other.bitField0_
&& (!hasItemCount() || itemCount == other.itemCount)
&& (!hasCurItemCount() || curItemCount == other.curItemCount)
&& (!hasItemId() || itemId == other.itemId);
&& (!hasItemId() || itemId == other.itemId)
&& (!hasCurItemCount() || curItemCount == other.curItemCount);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 40);
output.writeRawByte((byte) 8);
output.writeUInt32NoTag(itemCount);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(curItemCount);
output.writeRawByte((byte) 32);
output.writeUInt32NoTag(itemId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(itemId);
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(curItemCount);
}
}
@@ -245,10 +245,10 @@ public final class DestroyItemCsReqOuterClass {
size += 1 + ProtoSink.computeUInt32SizeNoTag(itemCount);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(curItemCount);
size += 1 + ProtoSink.computeUInt32SizeNoTag(itemId);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(itemId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(curItemCount);
}
return size;
}
@@ -260,27 +260,27 @@ public final class DestroyItemCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 40: {
case 8: {
// itemCount
itemCount = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 64) {
if (tag != 32) {
break;
}
}
case 64: {
// curItemCount
curItemCount = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 112) {
break;
}
}
case 112: {
case 32: {
// itemId
itemId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 96) {
break;
}
}
case 96: {
// curItemCount
curItemCount = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 0) {
@@ -308,10 +308,10 @@ public final class DestroyItemCsReqOuterClass {
output.writeUInt32(FieldNames.itemCount, itemCount);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.curItemCount, curItemCount);
output.writeUInt32(FieldNames.itemId, itemId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.itemId, itemId);
output.writeUInt32(FieldNames.curItemCount, curItemCount);
}
output.endObject();
}
@@ -335,11 +335,11 @@ public final class DestroyItemCsReqOuterClass {
}
break;
}
case -986513572:
case -1822146494: {
if (input.isAtField(FieldNames.curItemCount)) {
case -1178662002:
case 2116204999: {
if (input.isAtField(FieldNames.itemId)) {
if (!input.trySkipNullValue()) {
curItemCount = input.readUInt32();
itemId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -347,11 +347,11 @@ public final class DestroyItemCsReqOuterClass {
}
break;
}
case -1178662002:
case 2116204999: {
if (input.isAtField(FieldNames.itemId)) {
case -986513572:
case -1822146494: {
if (input.isAtField(FieldNames.curItemCount)) {
if (!input.trySkipNullValue()) {
itemId = input.readUInt32();
curItemCount = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -414,9 +414,9 @@ public final class DestroyItemCsReqOuterClass {
static class FieldNames {
static final FieldName itemCount = FieldName.forField("itemCount", "item_count");
static final FieldName curItemCount = FieldName.forField("curItemCount", "cur_item_count");
static final FieldName itemId = FieldName.forField("itemId", "item_id");
static final FieldName curItemCount = FieldName.forField("curItemCount", "cur_item_count");
}
}
}

View File

@@ -167,7 +167,7 @@ public final class DevelopmentTypeOuterClass {
/**
* @return a converter that maps between this enum's numeric and text representations
*/
public static EnumConverter<DevelopmentType> converter() {
public static ProtoEnum.EnumConverter<DevelopmentType> converter() {
return DevelopmentTypeConverter.INSTANCE;
}
@@ -189,7 +189,7 @@ public final class DevelopmentTypeOuterClass {
return value == null ? other : value;
}
enum DevelopmentTypeConverter implements EnumConverter<DevelopmentType> {
enum DevelopmentTypeConverter implements ProtoEnum.EnumConverter<DevelopmentType> {
INSTANCE;
private static final DevelopmentType[] lookup = new DevelopmentType[13];

View File

@@ -20,12 +20,12 @@ public final class DiscardRelicCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional bool is_discard = 9;</code>
* <code>optional bool is_discard = 6;</code>
*/
private boolean isDiscard;
/**
* <code>repeated uint32 relic_id_list = 15;</code>
* <code>repeated uint32 relic_id_list = 3;</code>
*/
private final RepeatedInt relicIdList = RepeatedInt.newEmptyInstance();
@@ -40,7 +40,7 @@ public final class DiscardRelicCsReqOuterClass {
}
/**
* <code>optional bool is_discard = 9;</code>
* <code>optional bool is_discard = 6;</code>
* @return whether the isDiscard field is set
*/
public boolean hasIsDiscard() {
@@ -48,7 +48,7 @@ public final class DiscardRelicCsReqOuterClass {
}
/**
* <code>optional bool is_discard = 9;</code>
* <code>optional bool is_discard = 6;</code>
* @return this
*/
public DiscardRelicCsReq clearIsDiscard() {
@@ -58,7 +58,7 @@ public final class DiscardRelicCsReqOuterClass {
}
/**
* <code>optional bool is_discard = 9;</code>
* <code>optional bool is_discard = 6;</code>
* @return the isDiscard
*/
public boolean getIsDiscard() {
@@ -66,7 +66,7 @@ public final class DiscardRelicCsReqOuterClass {
}
/**
* <code>optional bool is_discard = 9;</code>
* <code>optional bool is_discard = 6;</code>
* @param value the isDiscard to set
* @return this
*/
@@ -77,7 +77,7 @@ public final class DiscardRelicCsReqOuterClass {
}
/**
* <code>repeated uint32 relic_id_list = 15;</code>
* <code>repeated uint32 relic_id_list = 3;</code>
* @return whether the relicIdList field is set
*/
public boolean hasRelicIdList() {
@@ -85,7 +85,7 @@ public final class DiscardRelicCsReqOuterClass {
}
/**
* <code>repeated uint32 relic_id_list = 15;</code>
* <code>repeated uint32 relic_id_list = 3;</code>
* @return this
*/
public DiscardRelicCsReq clearRelicIdList() {
@@ -95,7 +95,7 @@ public final class DiscardRelicCsReqOuterClass {
}
/**
* <code>repeated uint32 relic_id_list = 15;</code>
* <code>repeated uint32 relic_id_list = 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.
@@ -109,7 +109,7 @@ public final class DiscardRelicCsReqOuterClass {
}
/**
* <code>repeated uint32 relic_id_list = 15;</code>
* <code>repeated uint32 relic_id_list = 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
@@ -123,7 +123,7 @@ public final class DiscardRelicCsReqOuterClass {
}
/**
* <code>repeated uint32 relic_id_list = 15;</code>
* <code>repeated uint32 relic_id_list = 3;</code>
* @param value the relicIdList to add
* @return this
*/
@@ -134,7 +134,7 @@ public final class DiscardRelicCsReqOuterClass {
}
/**
* <code>repeated uint32 relic_id_list = 15;</code>
* <code>repeated uint32 relic_id_list = 3;</code>
* @param values the relicIdList to add
* @return this
*/
@@ -210,12 +210,12 @@ public final class DiscardRelicCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 72);
output.writeRawByte((byte) 48);
output.writeBoolNoTag(isDiscard);
}
if ((bitField0_ & 0x00000002) != 0) {
for (int i = 0; i < relicIdList.length(); i++) {
output.writeRawByte((byte) 120);
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(relicIdList.array()[i]);
}
}
@@ -240,16 +240,16 @@ public final class DiscardRelicCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 72: {
case 48: {
// isDiscard
isDiscard = input.readBool();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 122) {
if (tag != 26) {
break;
}
}
case 122: {
case 26: {
// relicIdList [packed=true]
input.readPackedUInt32(relicIdList, tag);
bitField0_ |= 0x00000002;
@@ -268,7 +268,7 @@ public final class DiscardRelicCsReqOuterClass {
tag = input.readTag();
break;
}
case 120: {
case 24: {
// relicIdList [packed=false]
tag = input.readRepeatedUInt32(relicIdList, tag);
bitField0_ |= 0x00000002;

View File

@@ -19,15 +19,15 @@ public final class DisplayAvatarOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 pos = 2;</code>
*/
private int pos;
/**
* <code>optional uint32 avatar_id = 13;</code>
* <code>optional uint32 avatar_id = 11;</code>
*/
private int avatarId;
/**
* <code>optional uint32 pos = 13;</code>
*/
private int pos;
private DisplayAvatar() {
}
@@ -39,62 +39,25 @@ public final class DisplayAvatarOuterClass {
}
/**
* <code>optional uint32 pos = 2;</code>
* @return whether the pos field is set
* <code>optional uint32 avatar_id = 11;</code>
* @return whether the avatarId field is set
*/
public boolean hasPos() {
public boolean hasAvatarId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 pos = 2;</code>
* @return this
*/
public DisplayAvatar clearPos() {
bitField0_ &= ~0x00000001;
pos = 0;
return this;
}
/**
* <code>optional uint32 pos = 2;</code>
* @return the pos
*/
public int getPos() {
return pos;
}
/**
* <code>optional uint32 pos = 2;</code>
* @param value the pos to set
* @return this
*/
public DisplayAvatar setPos(final int value) {
bitField0_ |= 0x00000001;
pos = value;
return this;
}
/**
* <code>optional uint32 avatar_id = 13;</code>
* @return whether the avatarId field is set
*/
public boolean hasAvatarId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 avatar_id = 13;</code>
* <code>optional uint32 avatar_id = 11;</code>
* @return this
*/
public DisplayAvatar clearAvatarId() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
avatarId = 0;
return this;
}
/**
* <code>optional uint32 avatar_id = 13;</code>
* <code>optional uint32 avatar_id = 11;</code>
* @return the avatarId
*/
public int getAvatarId() {
@@ -102,23 +65,60 @@ public final class DisplayAvatarOuterClass {
}
/**
* <code>optional uint32 avatar_id = 13;</code>
* <code>optional uint32 avatar_id = 11;</code>
* @param value the avatarId to set
* @return this
*/
public DisplayAvatar setAvatarId(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
avatarId = value;
return this;
}
/**
* <code>optional uint32 pos = 13;</code>
* @return whether the pos field is set
*/
public boolean hasPos() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 pos = 13;</code>
* @return this
*/
public DisplayAvatar clearPos() {
bitField0_ &= ~0x00000002;
pos = 0;
return this;
}
/**
* <code>optional uint32 pos = 13;</code>
* @return the pos
*/
public int getPos() {
return pos;
}
/**
* <code>optional uint32 pos = 13;</code>
* @param value the pos to set
* @return this
*/
public DisplayAvatar setPos(final int value) {
bitField0_ |= 0x00000002;
pos = value;
return this;
}
@Override
public DisplayAvatar copyFrom(final DisplayAvatar other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
pos = other.pos;
avatarId = other.avatarId;
pos = other.pos;
}
return this;
}
@@ -129,12 +129,12 @@ public final class DisplayAvatarOuterClass {
return this;
}
cachedSize = -1;
if (other.hasPos()) {
setPos(other.pos);
}
if (other.hasAvatarId()) {
setAvatarId(other.avatarId);
}
if (other.hasPos()) {
setPos(other.pos);
}
return this;
}
@@ -145,8 +145,8 @@ public final class DisplayAvatarOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
pos = 0;
avatarId = 0;
pos = 0;
return this;
}
@@ -170,19 +170,19 @@ public final class DisplayAvatarOuterClass {
}
DisplayAvatar other = (DisplayAvatar) o;
return bitField0_ == other.bitField0_
&& (!hasPos() || pos == other.pos)
&& (!hasAvatarId() || avatarId == other.avatarId);
&& (!hasAvatarId() || avatarId == other.avatarId)
&& (!hasPos() || pos == other.pos);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(pos);
output.writeRawByte((byte) 88);
output.writeUInt32NoTag(avatarId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(avatarId);
output.writeUInt32NoTag(pos);
}
}
@@ -190,10 +190,10 @@ public final class DisplayAvatarOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(pos);
size += 1 + ProtoSink.computeUInt32SizeNoTag(avatarId);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(avatarId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(pos);
}
return size;
}
@@ -205,9 +205,9 @@ public final class DisplayAvatarOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 16: {
// pos
pos = input.readUInt32();
case 88: {
// avatarId
avatarId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 104) {
@@ -215,8 +215,8 @@ public final class DisplayAvatarOuterClass {
}
}
case 104: {
// avatarId
avatarId = input.readUInt32();
// pos
pos = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 0) {
@@ -241,10 +241,10 @@ public final class DisplayAvatarOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.pos, pos);
output.writeUInt32(FieldNames.avatarId, avatarId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.avatarId, avatarId);
output.writeUInt32(FieldNames.pos, pos);
}
output.endObject();
}
@@ -256,10 +256,11 @@ public final class DisplayAvatarOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case 111188: {
if (input.isAtField(FieldNames.pos)) {
case 1787287636:
case -428636735: {
if (input.isAtField(FieldNames.avatarId)) {
if (!input.trySkipNullValue()) {
pos = input.readUInt32();
avatarId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -267,11 +268,10 @@ public final class DisplayAvatarOuterClass {
}
break;
}
case 1787287636:
case -428636735: {
if (input.isAtField(FieldNames.avatarId)) {
case 111188: {
if (input.isAtField(FieldNames.pos)) {
if (!input.trySkipNullValue()) {
avatarId = input.readUInt32();
pos = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -331,9 +331,9 @@ public final class DisplayAvatarOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName pos = FieldName.forField("pos");
static final FieldName avatarId = FieldName.forField("avatarId", "avatar_id");
static final FieldName pos = FieldName.forField("pos");
}
}
}

View File

@@ -20,12 +20,12 @@ public final class DisplayAvatarVecOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional bool is_display = 13;</code>
* <code>optional bool is_display = 8;</code>
*/
private boolean isDisplay;
/**
* <code>repeated .DisplayAvatar display_avatar_list = 8;</code>
* <code>repeated .DisplayAvatar display_avatar_list = 13;</code>
*/
private final RepeatedMessage<DisplayAvatarOuterClass.DisplayAvatar> displayAvatarList = RepeatedMessage.newEmptyInstance(DisplayAvatarOuterClass.DisplayAvatar.getFactory());
@@ -40,7 +40,7 @@ public final class DisplayAvatarVecOuterClass {
}
/**
* <code>optional bool is_display = 13;</code>
* <code>optional bool is_display = 8;</code>
* @return whether the isDisplay field is set
*/
public boolean hasIsDisplay() {
@@ -48,7 +48,7 @@ public final class DisplayAvatarVecOuterClass {
}
/**
* <code>optional bool is_display = 13;</code>
* <code>optional bool is_display = 8;</code>
* @return this
*/
public DisplayAvatarVec clearIsDisplay() {
@@ -58,7 +58,7 @@ public final class DisplayAvatarVecOuterClass {
}
/**
* <code>optional bool is_display = 13;</code>
* <code>optional bool is_display = 8;</code>
* @return the isDisplay
*/
public boolean getIsDisplay() {
@@ -66,7 +66,7 @@ public final class DisplayAvatarVecOuterClass {
}
/**
* <code>optional bool is_display = 13;</code>
* <code>optional bool is_display = 8;</code>
* @param value the isDisplay to set
* @return this
*/
@@ -77,7 +77,7 @@ public final class DisplayAvatarVecOuterClass {
}
/**
* <code>repeated .DisplayAvatar display_avatar_list = 8;</code>
* <code>repeated .DisplayAvatar display_avatar_list = 13;</code>
* @return whether the displayAvatarList field is set
*/
public boolean hasDisplayAvatarList() {
@@ -85,7 +85,7 @@ public final class DisplayAvatarVecOuterClass {
}
/**
* <code>repeated .DisplayAvatar display_avatar_list = 8;</code>
* <code>repeated .DisplayAvatar display_avatar_list = 13;</code>
* @return this
*/
public DisplayAvatarVec clearDisplayAvatarList() {
@@ -95,7 +95,7 @@ public final class DisplayAvatarVecOuterClass {
}
/**
* <code>repeated .DisplayAvatar display_avatar_list = 8;</code>
* <code>repeated .DisplayAvatar display_avatar_list = 13;</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.
@@ -109,7 +109,7 @@ public final class DisplayAvatarVecOuterClass {
}
/**
* <code>repeated .DisplayAvatar display_avatar_list = 8;</code>
* <code>repeated .DisplayAvatar display_avatar_list = 13;</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
@@ -123,7 +123,7 @@ public final class DisplayAvatarVecOuterClass {
}
/**
* <code>repeated .DisplayAvatar display_avatar_list = 8;</code>
* <code>repeated .DisplayAvatar display_avatar_list = 13;</code>
* @param value the displayAvatarList to add
* @return this
*/
@@ -135,7 +135,7 @@ public final class DisplayAvatarVecOuterClass {
}
/**
* <code>repeated .DisplayAvatar display_avatar_list = 8;</code>
* <code>repeated .DisplayAvatar display_avatar_list = 13;</code>
* @param values the displayAvatarList to add
* @return this
*/
@@ -212,12 +212,12 @@ public final class DisplayAvatarVecOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 104);
output.writeRawByte((byte) 64);
output.writeBoolNoTag(isDisplay);
}
if ((bitField0_ & 0x00000002) != 0) {
for (int i = 0; i < displayAvatarList.length(); i++) {
output.writeRawByte((byte) 66);
output.writeRawByte((byte) 106);
output.writeMessageNoTag(displayAvatarList.get(i));
}
}
@@ -242,16 +242,16 @@ public final class DisplayAvatarVecOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 104: {
case 64: {
// isDisplay
isDisplay = input.readBool();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 66) {
if (tag != 106) {
break;
}
}
case 66: {
case 106: {
// displayAvatarList
tag = input.readRepeatedMessage(displayAvatarList, tag);
bitField0_ |= 0x00000002;

View File

@@ -19,30 +19,30 @@ public final class DisplayEquipmentInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 rank = 1;</code>
*/
private int rank;
/**
* <code>optional uint32 exp = 3;</code>
* <code>optional uint32 exp = 2;</code>
*/
private int exp;
/**
* <code>optional uint32 promotion = 5;</code>
* <code>optional uint32 rank = 4;</code>
*/
private int promotion;
private int rank;
/**
* <code>optional uint32 level = 7;</code>
* <code>optional uint32 level = 5;</code>
*/
private int level;
/**
* <code>optional uint32 tid = 11;</code>
* <code>optional uint32 tid = 12;</code>
*/
private int tid;
/**
* <code>optional uint32 promotion = 15;</code>
*/
private int promotion;
private DisplayEquipmentInfo() {
}
@@ -54,62 +54,25 @@ public final class DisplayEquipmentInfoOuterClass {
}
/**
* <code>optional uint32 rank = 1;</code>
* @return whether the rank field is set
* <code>optional uint32 exp = 2;</code>
* @return whether the exp field is set
*/
public boolean hasRank() {
public boolean hasExp() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 rank = 1;</code>
* @return this
*/
public DisplayEquipmentInfo clearRank() {
bitField0_ &= ~0x00000001;
rank = 0;
return this;
}
/**
* <code>optional uint32 rank = 1;</code>
* @return the rank
*/
public int getRank() {
return rank;
}
/**
* <code>optional uint32 rank = 1;</code>
* @param value the rank to set
* @return this
*/
public DisplayEquipmentInfo setRank(final int value) {
bitField0_ |= 0x00000001;
rank = value;
return this;
}
/**
* <code>optional uint32 exp = 3;</code>
* @return whether the exp field is set
*/
public boolean hasExp() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 exp = 3;</code>
* <code>optional uint32 exp = 2;</code>
* @return this
*/
public DisplayEquipmentInfo clearExp() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
exp = 0;
return this;
}
/**
* <code>optional uint32 exp = 3;</code>
* <code>optional uint32 exp = 2;</code>
* @return the exp
*/
public int getExp() {
@@ -117,73 +80,73 @@ public final class DisplayEquipmentInfoOuterClass {
}
/**
* <code>optional uint32 exp = 3;</code>
* <code>optional uint32 exp = 2;</code>
* @param value the exp to set
* @return this
*/
public DisplayEquipmentInfo setExp(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
exp = value;
return this;
}
/**
* <code>optional uint32 promotion = 5;</code>
* @return whether the promotion field is set
* <code>optional uint32 rank = 4;</code>
* @return whether the rank field is set
*/
public boolean hasPromotion() {
public boolean hasRank() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 rank = 4;</code>
* @return this
*/
public DisplayEquipmentInfo clearRank() {
bitField0_ &= ~0x00000002;
rank = 0;
return this;
}
/**
* <code>optional uint32 rank = 4;</code>
* @return the rank
*/
public int getRank() {
return rank;
}
/**
* <code>optional uint32 rank = 4;</code>
* @param value the rank to set
* @return this
*/
public DisplayEquipmentInfo setRank(final int value) {
bitField0_ |= 0x00000002;
rank = value;
return this;
}
/**
* <code>optional uint32 level = 5;</code>
* @return whether the level field is set
*/
public boolean hasLevel() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 promotion = 5;</code>
* @return this
*/
public DisplayEquipmentInfo clearPromotion() {
bitField0_ &= ~0x00000004;
promotion = 0;
return this;
}
/**
* <code>optional uint32 promotion = 5;</code>
* @return the promotion
*/
public int getPromotion() {
return promotion;
}
/**
* <code>optional uint32 promotion = 5;</code>
* @param value the promotion to set
* @return this
*/
public DisplayEquipmentInfo setPromotion(final int value) {
bitField0_ |= 0x00000004;
promotion = value;
return this;
}
/**
* <code>optional uint32 level = 7;</code>
* @return whether the level field is set
*/
public boolean hasLevel() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 level = 7;</code>
* <code>optional uint32 level = 5;</code>
* @return this
*/
public DisplayEquipmentInfo clearLevel() {
bitField0_ &= ~0x00000008;
bitField0_ &= ~0x00000004;
level = 0;
return this;
}
/**
* <code>optional uint32 level = 7;</code>
* <code>optional uint32 level = 5;</code>
* @return the level
*/
public int getLevel() {
@@ -191,36 +154,36 @@ public final class DisplayEquipmentInfoOuterClass {
}
/**
* <code>optional uint32 level = 7;</code>
* <code>optional uint32 level = 5;</code>
* @param value the level to set
* @return this
*/
public DisplayEquipmentInfo setLevel(final int value) {
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000004;
level = value;
return this;
}
/**
* <code>optional uint32 tid = 11;</code>
* <code>optional uint32 tid = 12;</code>
* @return whether the tid field is set
*/
public boolean hasTid() {
return (bitField0_ & 0x00000010) != 0;
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 tid = 11;</code>
* <code>optional uint32 tid = 12;</code>
* @return this
*/
public DisplayEquipmentInfo clearTid() {
bitField0_ &= ~0x00000010;
bitField0_ &= ~0x00000008;
tid = 0;
return this;
}
/**
* <code>optional uint32 tid = 11;</code>
* <code>optional uint32 tid = 12;</code>
* @return the tid
*/
public int getTid() {
@@ -228,26 +191,63 @@ public final class DisplayEquipmentInfoOuterClass {
}
/**
* <code>optional uint32 tid = 11;</code>
* <code>optional uint32 tid = 12;</code>
* @param value the tid to set
* @return this
*/
public DisplayEquipmentInfo setTid(final int value) {
bitField0_ |= 0x00000010;
bitField0_ |= 0x00000008;
tid = value;
return this;
}
/**
* <code>optional uint32 promotion = 15;</code>
* @return whether the promotion field is set
*/
public boolean hasPromotion() {
return (bitField0_ & 0x00000010) != 0;
}
/**
* <code>optional uint32 promotion = 15;</code>
* @return this
*/
public DisplayEquipmentInfo clearPromotion() {
bitField0_ &= ~0x00000010;
promotion = 0;
return this;
}
/**
* <code>optional uint32 promotion = 15;</code>
* @return the promotion
*/
public int getPromotion() {
return promotion;
}
/**
* <code>optional uint32 promotion = 15;</code>
* @param value the promotion to set
* @return this
*/
public DisplayEquipmentInfo setPromotion(final int value) {
bitField0_ |= 0x00000010;
promotion = value;
return this;
}
@Override
public DisplayEquipmentInfo copyFrom(final DisplayEquipmentInfo other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
rank = other.rank;
exp = other.exp;
promotion = other.promotion;
rank = other.rank;
level = other.level;
tid = other.tid;
promotion = other.promotion;
}
return this;
}
@@ -258,14 +258,11 @@ public final class DisplayEquipmentInfoOuterClass {
return this;
}
cachedSize = -1;
if (other.hasRank()) {
setRank(other.rank);
}
if (other.hasExp()) {
setExp(other.exp);
}
if (other.hasPromotion()) {
setPromotion(other.promotion);
if (other.hasRank()) {
setRank(other.rank);
}
if (other.hasLevel()) {
setLevel(other.level);
@@ -273,6 +270,9 @@ public final class DisplayEquipmentInfoOuterClass {
if (other.hasTid()) {
setTid(other.tid);
}
if (other.hasPromotion()) {
setPromotion(other.promotion);
}
return this;
}
@@ -283,11 +283,11 @@ public final class DisplayEquipmentInfoOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
rank = 0;
exp = 0;
promotion = 0;
rank = 0;
level = 0;
tid = 0;
promotion = 0;
return this;
}
@@ -311,55 +311,55 @@ public final class DisplayEquipmentInfoOuterClass {
}
DisplayEquipmentInfo other = (DisplayEquipmentInfo) o;
return bitField0_ == other.bitField0_
&& (!hasRank() || rank == other.rank)
&& (!hasExp() || exp == other.exp)
&& (!hasPromotion() || promotion == other.promotion)
&& (!hasRank() || rank == other.rank)
&& (!hasLevel() || level == other.level)
&& (!hasTid() || tid == other.tid);
&& (!hasTid() || tid == other.tid)
&& (!hasPromotion() || promotion == other.promotion);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 8);
output.writeUInt32NoTag(rank);
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(exp);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(exp);
output.writeRawByte((byte) 32);
output.writeUInt32NoTag(rank);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 40);
output.writeUInt32NoTag(promotion);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 56);
output.writeUInt32NoTag(level);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 88);
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(tid);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 120);
output.writeUInt32NoTag(promotion);
}
}
@Override
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(rank);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(exp);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(promotion);
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(rank);
}
if ((bitField0_ & 0x00000008) != 0) {
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
}
if ((bitField0_ & 0x00000010) != 0) {
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(tid);
}
if ((bitField0_ & 0x00000010) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(promotion);
}
return size;
}
@@ -370,18 +370,18 @@ public final class DisplayEquipmentInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 8: {
// rank
rank = input.readUInt32();
case 16: {
// exp
exp = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 24) {
if (tag != 32) {
break;
}
}
case 24: {
// exp
exp = input.readUInt32();
case 32: {
// rank
rank = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 40) {
@@ -389,26 +389,26 @@ public final class DisplayEquipmentInfoOuterClass {
}
}
case 40: {
// promotion
promotion = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 56) {
break;
}
}
case 56: {
// level
level = input.readUInt32();
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 88) {
if (tag != 96) {
break;
}
}
case 88: {
case 96: {
// tid
tid = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 120) {
break;
}
}
case 120: {
// promotion
promotion = input.readUInt32();
bitField0_ |= 0x00000010;
tag = input.readTag();
if (tag != 0) {
@@ -433,20 +433,20 @@ public final class DisplayEquipmentInfoOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.rank, rank);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.exp, exp);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.promotion, promotion);
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.rank, rank);
}
if ((bitField0_ & 0x00000008) != 0) {
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.level, level);
}
if ((bitField0_ & 0x00000010) != 0) {
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.tid, tid);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeUInt32(FieldNames.promotion, promotion);
}
output.endObject();
}
@@ -457,10 +457,10 @@ public final class DisplayEquipmentInfoOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case 3492908: {
if (input.isAtField(FieldNames.rank)) {
case 100893: {
if (input.isAtField(FieldNames.exp)) {
if (!input.trySkipNullValue()) {
rank = input.readUInt32();
exp = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -468,10 +468,10 @@ public final class DisplayEquipmentInfoOuterClass {
}
break;
}
case 100893: {
if (input.isAtField(FieldNames.exp)) {
case 3492908: {
if (input.isAtField(FieldNames.rank)) {
if (!input.trySkipNullValue()) {
exp = input.readUInt32();
rank = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -479,22 +479,11 @@ public final class DisplayEquipmentInfoOuterClass {
}
break;
}
case -799212381: {
if (input.isAtField(FieldNames.promotion)) {
if (!input.trySkipNullValue()) {
promotion = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
input.skipUnknownField();
}
break;
}
case 102865796: {
if (input.isAtField(FieldNames.level)) {
if (!input.trySkipNullValue()) {
level = input.readUInt32();
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000004;
}
} else {
input.skipUnknownField();
@@ -505,6 +494,17 @@ public final class DisplayEquipmentInfoOuterClass {
if (input.isAtField(FieldNames.tid)) {
if (!input.trySkipNullValue()) {
tid = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
input.skipUnknownField();
}
break;
}
case -799212381: {
if (input.isAtField(FieldNames.promotion)) {
if (!input.trySkipNullValue()) {
promotion = input.readUInt32();
bitField0_ |= 0x00000010;
}
} else {
@@ -565,15 +565,15 @@ public final class DisplayEquipmentInfoOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName rank = FieldName.forField("rank");
static final FieldName exp = FieldName.forField("exp");
static final FieldName promotion = FieldName.forField("promotion");
static final FieldName rank = FieldName.forField("rank");
static final FieldName level = FieldName.forField("level");
static final FieldName tid = FieldName.forField("tid");
static final FieldName promotion = FieldName.forField("promotion");
}
}
}

View File

@@ -67,7 +67,7 @@ public final class DisplayRecordTypeOuterClass {
/**
* @return a converter that maps between this enum's numeric and text representations
*/
public static EnumConverter<DisplayRecordType> converter() {
public static ProtoEnum.EnumConverter<DisplayRecordType> converter() {
return DisplayRecordTypeConverter.INSTANCE;
}
@@ -89,7 +89,7 @@ public final class DisplayRecordTypeOuterClass {
return value == null ? other : value;
}
enum DisplayRecordTypeConverter implements EnumConverter<DisplayRecordType> {
enum DisplayRecordTypeConverter implements ProtoEnum.EnumConverter<DisplayRecordType> {
INSTANCE;
private static final DisplayRecordType[] lookup = new DisplayRecordType[3];

View File

@@ -20,32 +20,32 @@ public final class DisplayRelicInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 slot = 5;</code>
* <code>optional uint32 slot = 2;</code>
*/
private int slot;
/**
* <code>optional uint32 tid = 8;</code>
*/
private int tid;
/**
* <code>optional uint32 level = 12;</code>
* <code>optional uint32 level = 6;</code>
*/
private int level;
/**
* <code>optional uint32 exp = 13;</code>
* <code>optional uint32 exp = 9;</code>
*/
private int exp;
/**
* <code>optional uint32 main_affix_id = 15;</code>
* <code>optional uint32 main_affix_id = 11;</code>
*/
private int mainAffixId;
/**
* <code>repeated .RelicAffix sub_affix_list = 10;</code>
* <code>optional uint32 tid = 13;</code>
*/
private int tid;
/**
* <code>repeated .RelicAffix sub_affix_list = 15;</code>
*/
private final RepeatedMessage<RelicAffixOuterClass.RelicAffix> subAffixList = RepeatedMessage.newEmptyInstance(RelicAffixOuterClass.RelicAffix.getFactory());
@@ -60,7 +60,7 @@ public final class DisplayRelicInfoOuterClass {
}
/**
* <code>optional uint32 slot = 5;</code>
* <code>optional uint32 slot = 2;</code>
* @return whether the slot field is set
*/
public boolean hasSlot() {
@@ -68,7 +68,7 @@ public final class DisplayRelicInfoOuterClass {
}
/**
* <code>optional uint32 slot = 5;</code>
* <code>optional uint32 slot = 2;</code>
* @return this
*/
public DisplayRelicInfo clearSlot() {
@@ -78,7 +78,7 @@ public final class DisplayRelicInfoOuterClass {
}
/**
* <code>optional uint32 slot = 5;</code>
* <code>optional uint32 slot = 2;</code>
* @return the slot
*/
public int getSlot() {
@@ -86,7 +86,7 @@ public final class DisplayRelicInfoOuterClass {
}
/**
* <code>optional uint32 slot = 5;</code>
* <code>optional uint32 slot = 2;</code>
* @param value the slot to set
* @return this
*/
@@ -97,62 +97,25 @@ public final class DisplayRelicInfoOuterClass {
}
/**
* <code>optional uint32 tid = 8;</code>
* @return whether the tid field is set
* <code>optional uint32 level = 6;</code>
* @return whether the level field is set
*/
public boolean hasTid() {
public boolean hasLevel() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 tid = 8;</code>
* @return this
*/
public DisplayRelicInfo clearTid() {
bitField0_ &= ~0x00000002;
tid = 0;
return this;
}
/**
* <code>optional uint32 tid = 8;</code>
* @return the tid
*/
public int getTid() {
return tid;
}
/**
* <code>optional uint32 tid = 8;</code>
* @param value the tid to set
* @return this
*/
public DisplayRelicInfo setTid(final int value) {
bitField0_ |= 0x00000002;
tid = value;
return this;
}
/**
* <code>optional uint32 level = 12;</code>
* @return whether the level field is set
*/
public boolean hasLevel() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 level = 12;</code>
* <code>optional uint32 level = 6;</code>
* @return this
*/
public DisplayRelicInfo clearLevel() {
bitField0_ &= ~0x00000004;
bitField0_ &= ~0x00000002;
level = 0;
return this;
}
/**
* <code>optional uint32 level = 12;</code>
* <code>optional uint32 level = 6;</code>
* @return the level
*/
public int getLevel() {
@@ -160,36 +123,36 @@ public final class DisplayRelicInfoOuterClass {
}
/**
* <code>optional uint32 level = 12;</code>
* <code>optional uint32 level = 6;</code>
* @param value the level to set
* @return this
*/
public DisplayRelicInfo setLevel(final int value) {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000002;
level = value;
return this;
}
/**
* <code>optional uint32 exp = 13;</code>
* <code>optional uint32 exp = 9;</code>
* @return whether the exp field is set
*/
public boolean hasExp() {
return (bitField0_ & 0x00000008) != 0;
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 exp = 13;</code>
* <code>optional uint32 exp = 9;</code>
* @return this
*/
public DisplayRelicInfo clearExp() {
bitField0_ &= ~0x00000008;
bitField0_ &= ~0x00000004;
exp = 0;
return this;
}
/**
* <code>optional uint32 exp = 13;</code>
* <code>optional uint32 exp = 9;</code>
* @return the exp
*/
public int getExp() {
@@ -197,36 +160,36 @@ public final class DisplayRelicInfoOuterClass {
}
/**
* <code>optional uint32 exp = 13;</code>
* <code>optional uint32 exp = 9;</code>
* @param value the exp to set
* @return this
*/
public DisplayRelicInfo setExp(final int value) {
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000004;
exp = value;
return this;
}
/**
* <code>optional uint32 main_affix_id = 15;</code>
* <code>optional uint32 main_affix_id = 11;</code>
* @return whether the mainAffixId field is set
*/
public boolean hasMainAffixId() {
return (bitField0_ & 0x00000010) != 0;
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 main_affix_id = 15;</code>
* <code>optional uint32 main_affix_id = 11;</code>
* @return this
*/
public DisplayRelicInfo clearMainAffixId() {
bitField0_ &= ~0x00000010;
bitField0_ &= ~0x00000008;
mainAffixId = 0;
return this;
}
/**
* <code>optional uint32 main_affix_id = 15;</code>
* <code>optional uint32 main_affix_id = 11;</code>
* @return the mainAffixId
*/
public int getMainAffixId() {
@@ -234,18 +197,55 @@ public final class DisplayRelicInfoOuterClass {
}
/**
* <code>optional uint32 main_affix_id = 15;</code>
* <code>optional uint32 main_affix_id = 11;</code>
* @param value the mainAffixId to set
* @return this
*/
public DisplayRelicInfo setMainAffixId(final int value) {
bitField0_ |= 0x00000010;
bitField0_ |= 0x00000008;
mainAffixId = value;
return this;
}
/**
* <code>repeated .RelicAffix sub_affix_list = 10;</code>
* <code>optional uint32 tid = 13;</code>
* @return whether the tid field is set
*/
public boolean hasTid() {
return (bitField0_ & 0x00000010) != 0;
}
/**
* <code>optional uint32 tid = 13;</code>
* @return this
*/
public DisplayRelicInfo clearTid() {
bitField0_ &= ~0x00000010;
tid = 0;
return this;
}
/**
* <code>optional uint32 tid = 13;</code>
* @return the tid
*/
public int getTid() {
return tid;
}
/**
* <code>optional uint32 tid = 13;</code>
* @param value the tid to set
* @return this
*/
public DisplayRelicInfo setTid(final int value) {
bitField0_ |= 0x00000010;
tid = value;
return this;
}
/**
* <code>repeated .RelicAffix sub_affix_list = 15;</code>
* @return whether the subAffixList field is set
*/
public boolean hasSubAffixList() {
@@ -253,7 +253,7 @@ public final class DisplayRelicInfoOuterClass {
}
/**
* <code>repeated .RelicAffix sub_affix_list = 10;</code>
* <code>repeated .RelicAffix sub_affix_list = 15;</code>
* @return this
*/
public DisplayRelicInfo clearSubAffixList() {
@@ -263,7 +263,7 @@ public final class DisplayRelicInfoOuterClass {
}
/**
* <code>repeated .RelicAffix sub_affix_list = 10;</code>
* <code>repeated .RelicAffix sub_affix_list = 15;</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.
@@ -277,7 +277,7 @@ public final class DisplayRelicInfoOuterClass {
}
/**
* <code>repeated .RelicAffix sub_affix_list = 10;</code>
* <code>repeated .RelicAffix sub_affix_list = 15;</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
@@ -291,7 +291,7 @@ public final class DisplayRelicInfoOuterClass {
}
/**
* <code>repeated .RelicAffix sub_affix_list = 10;</code>
* <code>repeated .RelicAffix sub_affix_list = 15;</code>
* @param value the subAffixList to add
* @return this
*/
@@ -302,7 +302,7 @@ public final class DisplayRelicInfoOuterClass {
}
/**
* <code>repeated .RelicAffix sub_affix_list = 10;</code>
* <code>repeated .RelicAffix sub_affix_list = 15;</code>
* @param values the subAffixList to add
* @return this
*/
@@ -318,10 +318,10 @@ public final class DisplayRelicInfoOuterClass {
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
slot = other.slot;
tid = other.tid;
level = other.level;
exp = other.exp;
mainAffixId = other.mainAffixId;
tid = other.tid;
subAffixList.copyFrom(other.subAffixList);
}
return this;
@@ -336,9 +336,6 @@ public final class DisplayRelicInfoOuterClass {
if (other.hasSlot()) {
setSlot(other.slot);
}
if (other.hasTid()) {
setTid(other.tid);
}
if (other.hasLevel()) {
setLevel(other.level);
}
@@ -348,6 +345,9 @@ public final class DisplayRelicInfoOuterClass {
if (other.hasMainAffixId()) {
setMainAffixId(other.mainAffixId);
}
if (other.hasTid()) {
setTid(other.tid);
}
if (other.hasSubAffixList()) {
getMutableSubAffixList().addAll(other.subAffixList);
}
@@ -362,10 +362,10 @@ public final class DisplayRelicInfoOuterClass {
cachedSize = -1;
bitField0_ = 0;
slot = 0;
tid = 0;
level = 0;
exp = 0;
mainAffixId = 0;
tid = 0;
subAffixList.clear();
return this;
}
@@ -392,38 +392,38 @@ public final class DisplayRelicInfoOuterClass {
DisplayRelicInfo other = (DisplayRelicInfo) o;
return bitField0_ == other.bitField0_
&& (!hasSlot() || slot == other.slot)
&& (!hasTid() || tid == other.tid)
&& (!hasLevel() || level == other.level)
&& (!hasExp() || exp == other.exp)
&& (!hasMainAffixId() || mainAffixId == other.mainAffixId)
&& (!hasTid() || tid == other.tid)
&& (!hasSubAffixList() || subAffixList.equals(other.subAffixList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 40);
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(slot);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(tid);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 96);
output.writeRawByte((byte) 48);
output.writeUInt32NoTag(level);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 104);
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 72);
output.writeUInt32NoTag(exp);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 120);
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 88);
output.writeUInt32NoTag(mainAffixId);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(tid);
}
if ((bitField0_ & 0x00000020) != 0) {
for (int i = 0; i < subAffixList.length(); i++) {
output.writeRawByte((byte) 82);
output.writeRawByte((byte) 122);
output.writeMessageNoTag(subAffixList.get(i));
}
}
@@ -436,17 +436,17 @@ public final class DisplayRelicInfoOuterClass {
size += 1 + ProtoSink.computeUInt32SizeNoTag(slot);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(tid);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
}
if ((bitField0_ & 0x00000008) != 0) {
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(exp);
}
if ((bitField0_ & 0x00000010) != 0) {
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(mainAffixId);
}
if ((bitField0_ & 0x00000010) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(tid);
}
if ((bitField0_ & 0x00000020) != 0) {
size += (1 * subAffixList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(subAffixList);
}
@@ -460,52 +460,52 @@ public final class DisplayRelicInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 40: {
case 16: {
// slot
slot = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 64) {
if (tag != 48) {
break;
}
}
case 64: {
// tid
tid = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 96) {
break;
}
}
case 96: {
case 48: {
// level
level = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 72) {
break;
}
}
case 72: {
// exp
exp = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 88) {
break;
}
}
case 88: {
// mainAffixId
mainAffixId = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 104) {
break;
}
}
case 104: {
// exp
exp = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 120) {
break;
}
}
case 120: {
// mainAffixId
mainAffixId = input.readUInt32();
// tid
tid = input.readUInt32();
bitField0_ |= 0x00000010;
tag = input.readTag();
if (tag != 82) {
if (tag != 122) {
break;
}
}
case 82: {
case 122: {
// subAffixList
tag = input.readRepeatedMessage(subAffixList, tag);
bitField0_ |= 0x00000020;
@@ -534,17 +534,17 @@ public final class DisplayRelicInfoOuterClass {
output.writeUInt32(FieldNames.slot, slot);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.tid, tid);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.level, level);
}
if ((bitField0_ & 0x00000008) != 0) {
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.exp, exp);
}
if ((bitField0_ & 0x00000010) != 0) {
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.mainAffixId, mainAffixId);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeUInt32(FieldNames.tid, tid);
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeRepeatedMessage(FieldNames.subAffixList, subAffixList);
}
@@ -569,22 +569,11 @@ public final class DisplayRelicInfoOuterClass {
}
break;
}
case 114831: {
if (input.isAtField(FieldNames.tid)) {
if (!input.trySkipNullValue()) {
tid = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
}
break;
}
case 102865796: {
if (input.isAtField(FieldNames.level)) {
if (!input.trySkipNullValue()) {
level = input.readUInt32();
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
@@ -595,7 +584,7 @@ public final class DisplayRelicInfoOuterClass {
if (input.isAtField(FieldNames.exp)) {
if (!input.trySkipNullValue()) {
exp = input.readUInt32();
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000004;
}
} else {
input.skipUnknownField();
@@ -607,6 +596,17 @@ public final class DisplayRelicInfoOuterClass {
if (input.isAtField(FieldNames.mainAffixId)) {
if (!input.trySkipNullValue()) {
mainAffixId = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
input.skipUnknownField();
}
break;
}
case 114831: {
if (input.isAtField(FieldNames.tid)) {
if (!input.trySkipNullValue()) {
tid = input.readUInt32();
bitField0_ |= 0x00000010;
}
} else {
@@ -681,14 +681,14 @@ public final class DisplayRelicInfoOuterClass {
static class FieldNames {
static final FieldName slot = FieldName.forField("slot");
static final FieldName tid = FieldName.forField("tid");
static final FieldName level = FieldName.forField("level");
static final FieldName exp = FieldName.forField("exp");
static final FieldName mainAffixId = FieldName.forField("mainAffixId", "main_affix_id");
static final FieldName tid = FieldName.forField("tid");
static final FieldName subAffixList = FieldName.forField("subAffixList", "sub_affix_list");
}
}

View File

@@ -19,25 +19,25 @@ public final class DoGachaCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 gacha_num = 6;</code>
*/
private int gachaNum;
/**
* <code>optional uint32 simulate_magic = 7;</code>
* <code>optional uint32 simulate_magic = 2;</code>
*/
private int simulateMagic;
/**
* <code>optional uint32 gacha_id = 12;</code>
* <code>optional uint32 gacha_num = 8;</code>
*/
private int gachaId;
private int gachaNum;
/**
* <code>optional uint32 gacha_random = 14;</code>
* <code>optional uint32 gacha_random = 9;</code>
*/
private int gachaRandom;
/**
* <code>optional uint32 gacha_id = 14;</code>
*/
private int gachaId;
private DoGachaCsReq() {
}
@@ -49,62 +49,25 @@ public final class DoGachaCsReqOuterClass {
}
/**
* <code>optional uint32 gacha_num = 6;</code>
* @return whether the gachaNum field is set
* <code>optional uint32 simulate_magic = 2;</code>
* @return whether the simulateMagic field is set
*/
public boolean hasGachaNum() {
public boolean hasSimulateMagic() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 gacha_num = 6;</code>
* @return this
*/
public DoGachaCsReq clearGachaNum() {
bitField0_ &= ~0x00000001;
gachaNum = 0;
return this;
}
/**
* <code>optional uint32 gacha_num = 6;</code>
* @return the gachaNum
*/
public int getGachaNum() {
return gachaNum;
}
/**
* <code>optional uint32 gacha_num = 6;</code>
* @param value the gachaNum to set
* @return this
*/
public DoGachaCsReq setGachaNum(final int value) {
bitField0_ |= 0x00000001;
gachaNum = value;
return this;
}
/**
* <code>optional uint32 simulate_magic = 7;</code>
* @return whether the simulateMagic field is set
*/
public boolean hasSimulateMagic() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 simulate_magic = 7;</code>
* <code>optional uint32 simulate_magic = 2;</code>
* @return this
*/
public DoGachaCsReq clearSimulateMagic() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
simulateMagic = 0;
return this;
}
/**
* <code>optional uint32 simulate_magic = 7;</code>
* <code>optional uint32 simulate_magic = 2;</code>
* @return the simulateMagic
*/
public int getSimulateMagic() {
@@ -112,73 +75,73 @@ public final class DoGachaCsReqOuterClass {
}
/**
* <code>optional uint32 simulate_magic = 7;</code>
* <code>optional uint32 simulate_magic = 2;</code>
* @param value the simulateMagic to set
* @return this
*/
public DoGachaCsReq setSimulateMagic(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
simulateMagic = value;
return this;
}
/**
* <code>optional uint32 gacha_id = 12;</code>
* @return whether the gachaId field is set
* <code>optional uint32 gacha_num = 8;</code>
* @return whether the gachaNum field is set
*/
public boolean hasGachaId() {
public boolean hasGachaNum() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 gacha_num = 8;</code>
* @return this
*/
public DoGachaCsReq clearGachaNum() {
bitField0_ &= ~0x00000002;
gachaNum = 0;
return this;
}
/**
* <code>optional uint32 gacha_num = 8;</code>
* @return the gachaNum
*/
public int getGachaNum() {
return gachaNum;
}
/**
* <code>optional uint32 gacha_num = 8;</code>
* @param value the gachaNum to set
* @return this
*/
public DoGachaCsReq setGachaNum(final int value) {
bitField0_ |= 0x00000002;
gachaNum = value;
return this;
}
/**
* <code>optional uint32 gacha_random = 9;</code>
* @return whether the gachaRandom field is set
*/
public boolean hasGachaRandom() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 gacha_id = 12;</code>
* @return this
*/
public DoGachaCsReq clearGachaId() {
bitField0_ &= ~0x00000004;
gachaId = 0;
return this;
}
/**
* <code>optional uint32 gacha_id = 12;</code>
* @return the gachaId
*/
public int getGachaId() {
return gachaId;
}
/**
* <code>optional uint32 gacha_id = 12;</code>
* @param value the gachaId to set
* @return this
*/
public DoGachaCsReq setGachaId(final int value) {
bitField0_ |= 0x00000004;
gachaId = value;
return this;
}
/**
* <code>optional uint32 gacha_random = 14;</code>
* @return whether the gachaRandom field is set
*/
public boolean hasGachaRandom() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 gacha_random = 14;</code>
* <code>optional uint32 gacha_random = 9;</code>
* @return this
*/
public DoGachaCsReq clearGachaRandom() {
bitField0_ &= ~0x00000008;
bitField0_ &= ~0x00000004;
gachaRandom = 0;
return this;
}
/**
* <code>optional uint32 gacha_random = 14;</code>
* <code>optional uint32 gacha_random = 9;</code>
* @return the gachaRandom
*/
public int getGachaRandom() {
@@ -186,25 +149,62 @@ public final class DoGachaCsReqOuterClass {
}
/**
* <code>optional uint32 gacha_random = 14;</code>
* <code>optional uint32 gacha_random = 9;</code>
* @param value the gachaRandom to set
* @return this
*/
public DoGachaCsReq setGachaRandom(final int value) {
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000004;
gachaRandom = value;
return this;
}
/**
* <code>optional uint32 gacha_id = 14;</code>
* @return whether the gachaId field is set
*/
public boolean hasGachaId() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 gacha_id = 14;</code>
* @return this
*/
public DoGachaCsReq clearGachaId() {
bitField0_ &= ~0x00000008;
gachaId = 0;
return this;
}
/**
* <code>optional uint32 gacha_id = 14;</code>
* @return the gachaId
*/
public int getGachaId() {
return gachaId;
}
/**
* <code>optional uint32 gacha_id = 14;</code>
* @param value the gachaId to set
* @return this
*/
public DoGachaCsReq setGachaId(final int value) {
bitField0_ |= 0x00000008;
gachaId = value;
return this;
}
@Override
public DoGachaCsReq copyFrom(final DoGachaCsReq other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
gachaNum = other.gachaNum;
simulateMagic = other.simulateMagic;
gachaId = other.gachaId;
gachaNum = other.gachaNum;
gachaRandom = other.gachaRandom;
gachaId = other.gachaId;
}
return this;
}
@@ -215,18 +215,18 @@ public final class DoGachaCsReqOuterClass {
return this;
}
cachedSize = -1;
if (other.hasGachaNum()) {
setGachaNum(other.gachaNum);
}
if (other.hasSimulateMagic()) {
setSimulateMagic(other.simulateMagic);
}
if (other.hasGachaId()) {
setGachaId(other.gachaId);
if (other.hasGachaNum()) {
setGachaNum(other.gachaNum);
}
if (other.hasGachaRandom()) {
setGachaRandom(other.gachaRandom);
}
if (other.hasGachaId()) {
setGachaId(other.gachaId);
}
return this;
}
@@ -237,10 +237,10 @@ public final class DoGachaCsReqOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
gachaNum = 0;
simulateMagic = 0;
gachaId = 0;
gachaNum = 0;
gachaRandom = 0;
gachaId = 0;
return this;
}
@@ -264,29 +264,29 @@ public final class DoGachaCsReqOuterClass {
}
DoGachaCsReq other = (DoGachaCsReq) o;
return bitField0_ == other.bitField0_
&& (!hasGachaNum() || gachaNum == other.gachaNum)
&& (!hasSimulateMagic() || simulateMagic == other.simulateMagic)
&& (!hasGachaId() || gachaId == other.gachaId)
&& (!hasGachaRandom() || gachaRandom == other.gachaRandom);
&& (!hasGachaNum() || gachaNum == other.gachaNum)
&& (!hasGachaRandom() || gachaRandom == other.gachaRandom)
&& (!hasGachaId() || gachaId == other.gachaId);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 48);
output.writeUInt32NoTag(gachaNum);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 56);
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(simulateMagic);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(gachaNum);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(gachaId);
output.writeRawByte((byte) 72);
output.writeUInt32NoTag(gachaRandom);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(gachaRandom);
output.writeUInt32NoTag(gachaId);
}
}
@@ -294,16 +294,16 @@ public final class DoGachaCsReqOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaNum);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(simulateMagic);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaNum);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaRandom);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaRandom);
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaId);
}
return size;
}
@@ -315,27 +315,27 @@ public final class DoGachaCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 48: {
// gachaNum
gachaNum = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 56) {
break;
}
}
case 56: {
case 16: {
// simulateMagic
simulateMagic = input.readUInt32();
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 96) {
if (tag != 64) {
break;
}
}
case 96: {
// gachaId
gachaId = input.readUInt32();
case 64: {
// gachaNum
gachaNum = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 72) {
break;
}
}
case 72: {
// gachaRandom
gachaRandom = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 112) {
@@ -343,8 +343,8 @@ public final class DoGachaCsReqOuterClass {
}
}
case 112: {
// gachaRandom
gachaRandom = input.readUInt32();
// gachaId
gachaId = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 0) {
@@ -369,16 +369,16 @@ public final class DoGachaCsReqOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.gachaNum, gachaNum);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.simulateMagic, simulateMagic);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.gachaNum, gachaNum);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.gachaId, gachaId);
output.writeUInt32(FieldNames.gachaRandom, gachaRandom);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.gachaRandom, gachaRandom);
output.writeUInt32(FieldNames.gachaId, gachaId);
}
output.endObject();
}
@@ -390,11 +390,11 @@ public final class DoGachaCsReqOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -2052317532:
case 803166025: {
if (input.isAtField(FieldNames.gachaNum)) {
case -370053655:
case 1939465170: {
if (input.isAtField(FieldNames.simulateMagic)) {
if (!input.trySkipNullValue()) {
gachaNum = input.readUInt32();
simulateMagic = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -402,11 +402,11 @@ public final class DoGachaCsReqOuterClass {
}
break;
}
case -370053655:
case 1939465170: {
if (input.isAtField(FieldNames.simulateMagic)) {
case -2052317532:
case 803166025: {
if (input.isAtField(FieldNames.gachaNum)) {
if (!input.trySkipNullValue()) {
simulateMagic = input.readUInt32();
gachaNum = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -414,23 +414,23 @@ public final class DoGachaCsReqOuterClass {
}
break;
}
case -204751299:
case -2052301576: {
if (input.isAtField(FieldNames.gachaId)) {
if (!input.trySkipNullValue()) {
gachaId = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
input.skipUnknownField();
}
break;
}
case -1635961627:
case -47579616: {
if (input.isAtField(FieldNames.gachaRandom)) {
if (!input.trySkipNullValue()) {
gachaRandom = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
input.skipUnknownField();
}
break;
}
case -204751299:
case -2052301576: {
if (input.isAtField(FieldNames.gachaId)) {
if (!input.trySkipNullValue()) {
gachaId = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -490,13 +490,13 @@ public final class DoGachaCsReqOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName gachaNum = FieldName.forField("gachaNum", "gacha_num");
static final FieldName simulateMagic = FieldName.forField("simulateMagic", "simulate_magic");
static final FieldName gachaId = FieldName.forField("gachaId", "gacha_id");
static final FieldName gachaNum = FieldName.forField("gachaNum", "gacha_num");
static final FieldName gachaRandom = FieldName.forField("gachaRandom", "gacha_random");
static final FieldName gachaId = FieldName.forField("gachaId", "gacha_id");
}
}
}

View File

@@ -19,19 +19,19 @@ public final class DoGachaInRollShopCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 BBJIJINJAFK = 6;</code>
* <code>optional uint32 gacha_random = 5;</code>
*/
private int bBJIJINJAFK;
private int gachaRandom;
/**
* <code>optional uint32 roll_shop_id = 13;</code>
* <code>optional uint32 roll_shop_id = 11;</code>
*/
private int rollShopId;
/**
* <code>optional uint32 gacha_random = 14;</code>
* <code>optional uint32 BBJIJINJAFK = 12;</code>
*/
private int gachaRandom;
private int bBJIJINJAFK;
private DoGachaInRollShopCsReq() {
}
@@ -44,44 +44,44 @@ public final class DoGachaInRollShopCsReqOuterClass {
}
/**
* <code>optional uint32 BBJIJINJAFK = 6;</code>
* @return whether the bBJIJINJAFK field is set
* <code>optional uint32 gacha_random = 5;</code>
* @return whether the gachaRandom field is set
*/
public boolean hasBBJIJINJAFK() {
public boolean hasGachaRandom() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 BBJIJINJAFK = 6;</code>
* <code>optional uint32 gacha_random = 5;</code>
* @return this
*/
public DoGachaInRollShopCsReq clearBBJIJINJAFK() {
public DoGachaInRollShopCsReq clearGachaRandom() {
bitField0_ &= ~0x00000001;
bBJIJINJAFK = 0;
gachaRandom = 0;
return this;
}
/**
* <code>optional uint32 BBJIJINJAFK = 6;</code>
* @return the bBJIJINJAFK
* <code>optional uint32 gacha_random = 5;</code>
* @return the gachaRandom
*/
public int getBBJIJINJAFK() {
return bBJIJINJAFK;
public int getGachaRandom() {
return gachaRandom;
}
/**
* <code>optional uint32 BBJIJINJAFK = 6;</code>
* @param value the bBJIJINJAFK to set
* <code>optional uint32 gacha_random = 5;</code>
* @param value the gachaRandom to set
* @return this
*/
public DoGachaInRollShopCsReq setBBJIJINJAFK(final int value) {
public DoGachaInRollShopCsReq setGachaRandom(final int value) {
bitField0_ |= 0x00000001;
bBJIJINJAFK = value;
gachaRandom = value;
return this;
}
/**
* <code>optional uint32 roll_shop_id = 13;</code>
* <code>optional uint32 roll_shop_id = 11;</code>
* @return whether the rollShopId field is set
*/
public boolean hasRollShopId() {
@@ -89,7 +89,7 @@ public final class DoGachaInRollShopCsReqOuterClass {
}
/**
* <code>optional uint32 roll_shop_id = 13;</code>
* <code>optional uint32 roll_shop_id = 11;</code>
* @return this
*/
public DoGachaInRollShopCsReq clearRollShopId() {
@@ -99,7 +99,7 @@ public final class DoGachaInRollShopCsReqOuterClass {
}
/**
* <code>optional uint32 roll_shop_id = 13;</code>
* <code>optional uint32 roll_shop_id = 11;</code>
* @return the rollShopId
*/
public int getRollShopId() {
@@ -107,7 +107,7 @@ public final class DoGachaInRollShopCsReqOuterClass {
}
/**
* <code>optional uint32 roll_shop_id = 13;</code>
* <code>optional uint32 roll_shop_id = 11;</code>
* @param value the rollShopId to set
* @return this
*/
@@ -118,39 +118,39 @@ public final class DoGachaInRollShopCsReqOuterClass {
}
/**
* <code>optional uint32 gacha_random = 14;</code>
* @return whether the gachaRandom field is set
* <code>optional uint32 BBJIJINJAFK = 12;</code>
* @return whether the bBJIJINJAFK field is set
*/
public boolean hasGachaRandom() {
public boolean hasBBJIJINJAFK() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 gacha_random = 14;</code>
* <code>optional uint32 BBJIJINJAFK = 12;</code>
* @return this
*/
public DoGachaInRollShopCsReq clearGachaRandom() {
public DoGachaInRollShopCsReq clearBBJIJINJAFK() {
bitField0_ &= ~0x00000004;
gachaRandom = 0;
bBJIJINJAFK = 0;
return this;
}
/**
* <code>optional uint32 gacha_random = 14;</code>
* @return the gachaRandom
* <code>optional uint32 BBJIJINJAFK = 12;</code>
* @return the bBJIJINJAFK
*/
public int getGachaRandom() {
return gachaRandom;
public int getBBJIJINJAFK() {
return bBJIJINJAFK;
}
/**
* <code>optional uint32 gacha_random = 14;</code>
* @param value the gachaRandom to set
* <code>optional uint32 BBJIJINJAFK = 12;</code>
* @param value the bBJIJINJAFK to set
* @return this
*/
public DoGachaInRollShopCsReq setGachaRandom(final int value) {
public DoGachaInRollShopCsReq setBBJIJINJAFK(final int value) {
bitField0_ |= 0x00000004;
gachaRandom = value;
bBJIJINJAFK = value;
return this;
}
@@ -159,9 +159,9 @@ public final class DoGachaInRollShopCsReqOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
bBJIJINJAFK = other.bBJIJINJAFK;
rollShopId = other.rollShopId;
gachaRandom = other.gachaRandom;
rollShopId = other.rollShopId;
bBJIJINJAFK = other.bBJIJINJAFK;
}
return this;
}
@@ -172,14 +172,14 @@ public final class DoGachaInRollShopCsReqOuterClass {
return this;
}
cachedSize = -1;
if (other.hasBBJIJINJAFK()) {
setBBJIJINJAFK(other.bBJIJINJAFK);
if (other.hasGachaRandom()) {
setGachaRandom(other.gachaRandom);
}
if (other.hasRollShopId()) {
setRollShopId(other.rollShopId);
}
if (other.hasGachaRandom()) {
setGachaRandom(other.gachaRandom);
if (other.hasBBJIJINJAFK()) {
setBBJIJINJAFK(other.bBJIJINJAFK);
}
return this;
}
@@ -191,9 +191,9 @@ public final class DoGachaInRollShopCsReqOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
bBJIJINJAFK = 0;
rollShopId = 0;
gachaRandom = 0;
rollShopId = 0;
bBJIJINJAFK = 0;
return this;
}
@@ -217,24 +217,24 @@ public final class DoGachaInRollShopCsReqOuterClass {
}
DoGachaInRollShopCsReq other = (DoGachaInRollShopCsReq) o;
return bitField0_ == other.bitField0_
&& (!hasBBJIJINJAFK() || bBJIJINJAFK == other.bBJIJINJAFK)
&& (!hasGachaRandom() || gachaRandom == other.gachaRandom)
&& (!hasRollShopId() || rollShopId == other.rollShopId)
&& (!hasGachaRandom() || gachaRandom == other.gachaRandom);
&& (!hasBBJIJINJAFK() || bBJIJINJAFK == other.bBJIJINJAFK);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 48);
output.writeUInt32NoTag(bBJIJINJAFK);
output.writeRawByte((byte) 40);
output.writeUInt32NoTag(gachaRandom);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 104);
output.writeRawByte((byte) 88);
output.writeUInt32NoTag(rollShopId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(gachaRandom);
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(bBJIJINJAFK);
}
}
@@ -242,13 +242,13 @@ public final class DoGachaInRollShopCsReqOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(bBJIJINJAFK);
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaRandom);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(rollShopId);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaRandom);
size += 1 + ProtoSink.computeUInt32SizeNoTag(bBJIJINJAFK);
}
return size;
}
@@ -260,27 +260,27 @@ public final class DoGachaInRollShopCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 48: {
// bBJIJINJAFK
bBJIJINJAFK = input.readUInt32();
case 40: {
// gachaRandom
gachaRandom = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 104) {
if (tag != 88) {
break;
}
}
case 104: {
case 88: {
// rollShopId
rollShopId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 112) {
if (tag != 96) {
break;
}
}
case 112: {
// gachaRandom
gachaRandom = input.readUInt32();
case 96: {
// bBJIJINJAFK
bBJIJINJAFK = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 0) {
@@ -305,13 +305,13 @@ public final class DoGachaInRollShopCsReqOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.bBJIJINJAFK, bBJIJINJAFK);
output.writeUInt32(FieldNames.gachaRandom, gachaRandom);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.rollShopId, rollShopId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.gachaRandom, gachaRandom);
output.writeUInt32(FieldNames.bBJIJINJAFK, bBJIJINJAFK);
}
output.endObject();
}
@@ -323,10 +323,11 @@ public final class DoGachaInRollShopCsReqOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -1536175796: {
if (input.isAtField(FieldNames.bBJIJINJAFK)) {
case -1635961627:
case -47579616: {
if (input.isAtField(FieldNames.gachaRandom)) {
if (!input.trySkipNullValue()) {
bBJIJINJAFK = input.readUInt32();
gachaRandom = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -346,11 +347,10 @@ public final class DoGachaInRollShopCsReqOuterClass {
}
break;
}
case -1635961627:
case -47579616: {
if (input.isAtField(FieldNames.gachaRandom)) {
case -1536175796: {
if (input.isAtField(FieldNames.bBJIJINJAFK)) {
if (!input.trySkipNullValue()) {
gachaRandom = input.readUInt32();
bBJIJINJAFK = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -411,11 +411,11 @@ public final class DoGachaInRollShopCsReqOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName bBJIJINJAFK = FieldName.forField("BBJIJINJAFK");
static final FieldName gachaRandom = FieldName.forField("gachaRandom", "gacha_random");
static final FieldName rollShopId = FieldName.forField("rollShopId", "roll_shop_id");
static final FieldName gachaRandom = FieldName.forField("gachaRandom", "gacha_random");
static final FieldName bBJIJINJAFK = FieldName.forField("BBJIJINJAFK");
}
}
}

View File

@@ -19,27 +19,27 @@ public final class DoGachaInRollShopScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 AFMPDBBHCHM = 2;</code>
*/
private int aFMPDBBHCHM;
/**
* <code>optional uint32 retcode = 9;</code>
* <code>optional uint32 retcode = 3;</code>
*/
private int retcode;
/**
* <code>optional uint32 LEJJOJGNIHK = 12;</code>
* <code>optional uint32 AFMPDBBHCHM = 6;</code>
*/
private int lEJJOJGNIHK;
private int aFMPDBBHCHM;
/**
* <code>optional uint32 roll_shop_id = 15;</code>
* <code>optional uint32 roll_shop_id = 7;</code>
*/
private int rollShopId;
/**
* <code>optional .ItemList reward = 13;</code>
* <code>optional uint32 LEJJOJGNIHK = 14;</code>
*/
private int lEJJOJGNIHK;
/**
* <code>optional .ItemList reward = 11;</code>
*/
private final ItemListOuterClass.ItemList reward = ItemListOuterClass.ItemList.newInstance();
@@ -54,62 +54,25 @@ public final class DoGachaInRollShopScRspOuterClass {
}
/**
* <code>optional uint32 AFMPDBBHCHM = 2;</code>
* @return whether the aFMPDBBHCHM field is set
* <code>optional uint32 retcode = 3;</code>
* @return whether the retcode field is set
*/
public boolean hasAFMPDBBHCHM() {
public boolean hasRetcode() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 AFMPDBBHCHM = 2;</code>
* @return this
*/
public DoGachaInRollShopScRsp clearAFMPDBBHCHM() {
bitField0_ &= ~0x00000001;
aFMPDBBHCHM = 0;
return this;
}
/**
* <code>optional uint32 AFMPDBBHCHM = 2;</code>
* @return the aFMPDBBHCHM
*/
public int getAFMPDBBHCHM() {
return aFMPDBBHCHM;
}
/**
* <code>optional uint32 AFMPDBBHCHM = 2;</code>
* @param value the aFMPDBBHCHM to set
* @return this
*/
public DoGachaInRollShopScRsp setAFMPDBBHCHM(final int value) {
bitField0_ |= 0x00000001;
aFMPDBBHCHM = value;
return this;
}
/**
* <code>optional uint32 retcode = 9;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 retcode = 9;</code>
* <code>optional uint32 retcode = 3;</code>
* @return this
*/
public DoGachaInRollShopScRsp clearRetcode() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
retcode = 0;
return this;
}
/**
* <code>optional uint32 retcode = 9;</code>
* <code>optional uint32 retcode = 3;</code>
* @return the retcode
*/
public int getRetcode() {
@@ -117,73 +80,73 @@ public final class DoGachaInRollShopScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 9;</code>
* <code>optional uint32 retcode = 3;</code>
* @param value the retcode to set
* @return this
*/
public DoGachaInRollShopScRsp setRetcode(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
retcode = value;
return this;
}
/**
* <code>optional uint32 LEJJOJGNIHK = 12;</code>
* @return whether the lEJJOJGNIHK field is set
* <code>optional uint32 AFMPDBBHCHM = 6;</code>
* @return whether the aFMPDBBHCHM field is set
*/
public boolean hasLEJJOJGNIHK() {
public boolean hasAFMPDBBHCHM() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 AFMPDBBHCHM = 6;</code>
* @return this
*/
public DoGachaInRollShopScRsp clearAFMPDBBHCHM() {
bitField0_ &= ~0x00000002;
aFMPDBBHCHM = 0;
return this;
}
/**
* <code>optional uint32 AFMPDBBHCHM = 6;</code>
* @return the aFMPDBBHCHM
*/
public int getAFMPDBBHCHM() {
return aFMPDBBHCHM;
}
/**
* <code>optional uint32 AFMPDBBHCHM = 6;</code>
* @param value the aFMPDBBHCHM to set
* @return this
*/
public DoGachaInRollShopScRsp setAFMPDBBHCHM(final int value) {
bitField0_ |= 0x00000002;
aFMPDBBHCHM = value;
return this;
}
/**
* <code>optional uint32 roll_shop_id = 7;</code>
* @return whether the rollShopId field is set
*/
public boolean hasRollShopId() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 LEJJOJGNIHK = 12;</code>
* @return this
*/
public DoGachaInRollShopScRsp clearLEJJOJGNIHK() {
bitField0_ &= ~0x00000004;
lEJJOJGNIHK = 0;
return this;
}
/**
* <code>optional uint32 LEJJOJGNIHK = 12;</code>
* @return the lEJJOJGNIHK
*/
public int getLEJJOJGNIHK() {
return lEJJOJGNIHK;
}
/**
* <code>optional uint32 LEJJOJGNIHK = 12;</code>
* @param value the lEJJOJGNIHK to set
* @return this
*/
public DoGachaInRollShopScRsp setLEJJOJGNIHK(final int value) {
bitField0_ |= 0x00000004;
lEJJOJGNIHK = value;
return this;
}
/**
* <code>optional uint32 roll_shop_id = 15;</code>
* @return whether the rollShopId field is set
*/
public boolean hasRollShopId() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 roll_shop_id = 15;</code>
* <code>optional uint32 roll_shop_id = 7;</code>
* @return this
*/
public DoGachaInRollShopScRsp clearRollShopId() {
bitField0_ &= ~0x00000008;
bitField0_ &= ~0x00000004;
rollShopId = 0;
return this;
}
/**
* <code>optional uint32 roll_shop_id = 15;</code>
* <code>optional uint32 roll_shop_id = 7;</code>
* @return the rollShopId
*/
public int getRollShopId() {
@@ -191,18 +154,55 @@ public final class DoGachaInRollShopScRspOuterClass {
}
/**
* <code>optional uint32 roll_shop_id = 15;</code>
* <code>optional uint32 roll_shop_id = 7;</code>
* @param value the rollShopId to set
* @return this
*/
public DoGachaInRollShopScRsp setRollShopId(final int value) {
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000004;
rollShopId = value;
return this;
}
/**
* <code>optional .ItemList reward = 13;</code>
* <code>optional uint32 LEJJOJGNIHK = 14;</code>
* @return whether the lEJJOJGNIHK field is set
*/
public boolean hasLEJJOJGNIHK() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 LEJJOJGNIHK = 14;</code>
* @return this
*/
public DoGachaInRollShopScRsp clearLEJJOJGNIHK() {
bitField0_ &= ~0x00000008;
lEJJOJGNIHK = 0;
return this;
}
/**
* <code>optional uint32 LEJJOJGNIHK = 14;</code>
* @return the lEJJOJGNIHK
*/
public int getLEJJOJGNIHK() {
return lEJJOJGNIHK;
}
/**
* <code>optional uint32 LEJJOJGNIHK = 14;</code>
* @param value the lEJJOJGNIHK to set
* @return this
*/
public DoGachaInRollShopScRsp setLEJJOJGNIHK(final int value) {
bitField0_ |= 0x00000008;
lEJJOJGNIHK = value;
return this;
}
/**
* <code>optional .ItemList reward = 11;</code>
* @return whether the reward field is set
*/
public boolean hasReward() {
@@ -210,7 +210,7 @@ public final class DoGachaInRollShopScRspOuterClass {
}
/**
* <code>optional .ItemList reward = 13;</code>
* <code>optional .ItemList reward = 11;</code>
* @return this
*/
public DoGachaInRollShopScRsp clearReward() {
@@ -220,7 +220,7 @@ public final class DoGachaInRollShopScRspOuterClass {
}
/**
* <code>optional .ItemList reward = 13;</code>
* <code>optional .ItemList reward = 11;</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.
@@ -234,7 +234,7 @@ public final class DoGachaInRollShopScRspOuterClass {
}
/**
* <code>optional .ItemList reward = 13;</code>
* <code>optional .ItemList reward = 11;</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
@@ -248,7 +248,7 @@ public final class DoGachaInRollShopScRspOuterClass {
}
/**
* <code>optional .ItemList reward = 13;</code>
* <code>optional .ItemList reward = 11;</code>
* @param value the reward to set
* @return this
*/
@@ -263,10 +263,10 @@ public final class DoGachaInRollShopScRspOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
aFMPDBBHCHM = other.aFMPDBBHCHM;
retcode = other.retcode;
lEJJOJGNIHK = other.lEJJOJGNIHK;
aFMPDBBHCHM = other.aFMPDBBHCHM;
rollShopId = other.rollShopId;
lEJJOJGNIHK = other.lEJJOJGNIHK;
reward.copyFrom(other.reward);
}
return this;
@@ -278,18 +278,18 @@ public final class DoGachaInRollShopScRspOuterClass {
return this;
}
cachedSize = -1;
if (other.hasAFMPDBBHCHM()) {
setAFMPDBBHCHM(other.aFMPDBBHCHM);
}
if (other.hasRetcode()) {
setRetcode(other.retcode);
}
if (other.hasLEJJOJGNIHK()) {
setLEJJOJGNIHK(other.lEJJOJGNIHK);
if (other.hasAFMPDBBHCHM()) {
setAFMPDBBHCHM(other.aFMPDBBHCHM);
}
if (other.hasRollShopId()) {
setRollShopId(other.rollShopId);
}
if (other.hasLEJJOJGNIHK()) {
setLEJJOJGNIHK(other.lEJJOJGNIHK);
}
if (other.hasReward()) {
getMutableReward().mergeFrom(other.reward);
}
@@ -303,10 +303,10 @@ public final class DoGachaInRollShopScRspOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
aFMPDBBHCHM = 0;
retcode = 0;
lEJJOJGNIHK = 0;
aFMPDBBHCHM = 0;
rollShopId = 0;
lEJJOJGNIHK = 0;
reward.clear();
return this;
}
@@ -332,33 +332,33 @@ public final class DoGachaInRollShopScRspOuterClass {
}
DoGachaInRollShopScRsp other = (DoGachaInRollShopScRsp) o;
return bitField0_ == other.bitField0_
&& (!hasAFMPDBBHCHM() || aFMPDBBHCHM == other.aFMPDBBHCHM)
&& (!hasRetcode() || retcode == other.retcode)
&& (!hasLEJJOJGNIHK() || lEJJOJGNIHK == other.lEJJOJGNIHK)
&& (!hasAFMPDBBHCHM() || aFMPDBBHCHM == other.aFMPDBBHCHM)
&& (!hasRollShopId() || rollShopId == other.rollShopId)
&& (!hasLEJJOJGNIHK() || lEJJOJGNIHK == other.lEJJOJGNIHK)
&& (!hasReward() || reward.equals(other.reward));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(aFMPDBBHCHM);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 72);
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(lEJJOJGNIHK);
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 48);
output.writeUInt32NoTag(aFMPDBBHCHM);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 120);
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 56);
output.writeUInt32NoTag(rollShopId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(lEJJOJGNIHK);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 106);
output.writeRawByte((byte) 90);
output.writeMessageNoTag(reward);
}
}
@@ -367,16 +367,16 @@ public final class DoGachaInRollShopScRspOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(aFMPDBBHCHM);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(aFMPDBBHCHM);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(lEJJOJGNIHK);
size += 1 + ProtoSink.computeUInt32SizeNoTag(rollShopId);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(rollShopId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(lEJJOJGNIHK);
}
if ((bitField0_ & 0x00000010) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(reward);
@@ -391,43 +391,43 @@ public final class DoGachaInRollShopScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 16: {
// aFMPDBBHCHM
aFMPDBBHCHM = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 72) {
break;
}
}
case 72: {
case 24: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 48) {
break;
}
}
case 48: {
// aFMPDBBHCHM
aFMPDBBHCHM = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 96) {
if (tag != 56) {
break;
}
}
case 96: {
// lEJJOJGNIHK
lEJJOJGNIHK = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 120) {
break;
}
}
case 120: {
case 56: {
// rollShopId
rollShopId = input.readUInt32();
bitField0_ |= 0x00000008;
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 106) {
if (tag != 112) {
break;
}
}
case 106: {
case 112: {
// lEJJOJGNIHK
lEJJOJGNIHK = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 90) {
break;
}
}
case 90: {
// reward
input.readMessage(reward);
bitField0_ |= 0x00000010;
@@ -454,16 +454,16 @@ public final class DoGachaInRollShopScRspOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.aFMPDBBHCHM, aFMPDBBHCHM);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.retcode, retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.aFMPDBBHCHM, aFMPDBBHCHM);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.lEJJOJGNIHK, lEJJOJGNIHK);
output.writeUInt32(FieldNames.rollShopId, rollShopId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.rollShopId, rollShopId);
output.writeUInt32(FieldNames.lEJJOJGNIHK, lEJJOJGNIHK);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeMessage(FieldNames.reward, reward);
@@ -478,10 +478,10 @@ public final class DoGachaInRollShopScRspOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case 715464508: {
if (input.isAtField(FieldNames.aFMPDBBHCHM)) {
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
if (!input.trySkipNullValue()) {
aFMPDBBHCHM = input.readUInt32();
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -489,10 +489,10 @@ public final class DoGachaInRollShopScRspOuterClass {
}
break;
}
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
case 715464508: {
if (input.isAtField(FieldNames.aFMPDBBHCHM)) {
if (!input.trySkipNullValue()) {
retcode = input.readUInt32();
aFMPDBBHCHM = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -500,22 +500,22 @@ public final class DoGachaInRollShopScRspOuterClass {
}
break;
}
case -1007707855: {
if (input.isAtField(FieldNames.lEJJOJGNIHK)) {
if (!input.trySkipNullValue()) {
lEJJOJGNIHK = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
input.skipUnknownField();
}
break;
}
case -904898162:
case -1612413630: {
if (input.isAtField(FieldNames.rollShopId)) {
if (!input.trySkipNullValue()) {
rollShopId = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
input.skipUnknownField();
}
break;
}
case -1007707855: {
if (input.isAtField(FieldNames.lEJJOJGNIHK)) {
if (!input.trySkipNullValue()) {
lEJJOJGNIHK = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -587,14 +587,14 @@ public final class DoGachaInRollShopScRspOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName aFMPDBBHCHM = FieldName.forField("AFMPDBBHCHM");
static final FieldName retcode = FieldName.forField("retcode");
static final FieldName lEJJOJGNIHK = FieldName.forField("LEJJOJGNIHK");
static final FieldName aFMPDBBHCHM = FieldName.forField("AFMPDBBHCHM");
static final FieldName rollShopId = FieldName.forField("rollShopId", "roll_shop_id");
static final FieldName lEJJOJGNIHK = FieldName.forField("LEJJOJGNIHK");
static final FieldName reward = FieldName.forField("reward");
}
}

View File

@@ -20,7 +20,17 @@ public final class DoGachaScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 ceiling_num = 3;</code>
* <code>optional uint32 retcode = 4;</code>
*/
private int retcode;
/**
* <code>optional uint32 gacha_id = 6;</code>
*/
private int gachaId;
/**
* <code>optional uint32 ceiling_num = 7;</code>
*/
private int ceilingNum;
@@ -30,17 +40,12 @@ public final class DoGachaScRspOuterClass {
private int gachaNum;
/**
* <code>optional uint32 gacha_id = 10;</code>
* <code>optional uint32 current_gacha_time = 15;</code>
*/
private int gachaId;
private int currentGachaTime;
/**
* <code>optional uint32 retcode = 14;</code>
*/
private int retcode;
/**
* <code>repeated .GachaItem gacha_item_list = 2;</code>
* <code>repeated .GachaItem gacha_item_list = 12;</code>
*/
private final RepeatedMessage<GachaItemOuterClass.GachaItem> gachaItemList = RepeatedMessage.newEmptyInstance(GachaItemOuterClass.GachaItem.getFactory());
@@ -55,25 +60,99 @@ public final class DoGachaScRspOuterClass {
}
/**
* <code>optional uint32 ceiling_num = 3;</code>
* @return whether the ceilingNum field is set
* <code>optional uint32 retcode = 4;</code>
* @return whether the retcode field is set
*/
public boolean hasCeilingNum() {
public boolean hasRetcode() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 ceiling_num = 3;</code>
* <code>optional uint32 retcode = 4;</code>
* @return this
*/
public DoGachaScRsp clearRetcode() {
bitField0_ &= ~0x00000001;
retcode = 0;
return this;
}
/**
* <code>optional uint32 retcode = 4;</code>
* @return the retcode
*/
public int getRetcode() {
return retcode;
}
/**
* <code>optional uint32 retcode = 4;</code>
* @param value the retcode to set
* @return this
*/
public DoGachaScRsp setRetcode(final int value) {
bitField0_ |= 0x00000001;
retcode = value;
return this;
}
/**
* <code>optional uint32 gacha_id = 6;</code>
* @return whether the gachaId field is set
*/
public boolean hasGachaId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 gacha_id = 6;</code>
* @return this
*/
public DoGachaScRsp clearGachaId() {
bitField0_ &= ~0x00000002;
gachaId = 0;
return this;
}
/**
* <code>optional uint32 gacha_id = 6;</code>
* @return the gachaId
*/
public int getGachaId() {
return gachaId;
}
/**
* <code>optional uint32 gacha_id = 6;</code>
* @param value the gachaId to set
* @return this
*/
public DoGachaScRsp setGachaId(final int value) {
bitField0_ |= 0x00000002;
gachaId = value;
return this;
}
/**
* <code>optional uint32 ceiling_num = 7;</code>
* @return whether the ceilingNum field is set
*/
public boolean hasCeilingNum() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 ceiling_num = 7;</code>
* @return this
*/
public DoGachaScRsp clearCeilingNum() {
bitField0_ &= ~0x00000001;
bitField0_ &= ~0x00000004;
ceilingNum = 0;
return this;
}
/**
* <code>optional uint32 ceiling_num = 3;</code>
* <code>optional uint32 ceiling_num = 7;</code>
* @return the ceilingNum
*/
public int getCeilingNum() {
@@ -81,12 +160,12 @@ public final class DoGachaScRspOuterClass {
}
/**
* <code>optional uint32 ceiling_num = 3;</code>
* <code>optional uint32 ceiling_num = 7;</code>
* @param value the ceilingNum to set
* @return this
*/
public DoGachaScRsp setCeilingNum(final int value) {
bitField0_ |= 0x00000001;
bitField0_ |= 0x00000004;
ceilingNum = value;
return this;
}
@@ -96,7 +175,7 @@ public final class DoGachaScRspOuterClass {
* @return whether the gachaNum field is set
*/
public boolean hasGachaNum() {
return (bitField0_ & 0x00000002) != 0;
return (bitField0_ & 0x00000008) != 0;
}
/**
@@ -104,7 +183,7 @@ public final class DoGachaScRspOuterClass {
* @return this
*/
public DoGachaScRsp clearGachaNum() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000008;
gachaNum = 0;
return this;
}
@@ -123,105 +202,68 @@ public final class DoGachaScRspOuterClass {
* @return this
*/
public DoGachaScRsp setGachaNum(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000008;
gachaNum = value;
return this;
}
/**
* <code>optional uint32 gacha_id = 10;</code>
* @return whether the gachaId field is set
* <code>optional uint32 current_gacha_time = 15;</code>
* @return whether the currentGachaTime field is set
*/
public boolean hasGachaId() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 gacha_id = 10;</code>
* @return this
*/
public DoGachaScRsp clearGachaId() {
bitField0_ &= ~0x00000004;
gachaId = 0;
return this;
}
/**
* <code>optional uint32 gacha_id = 10;</code>
* @return the gachaId
*/
public int getGachaId() {
return gachaId;
}
/**
* <code>optional uint32 gacha_id = 10;</code>
* @param value the gachaId to set
* @return this
*/
public DoGachaScRsp setGachaId(final int value) {
bitField0_ |= 0x00000004;
gachaId = value;
return this;
}
/**
* <code>optional uint32 retcode = 14;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
return (bitField0_ & 0x00000008) != 0;
}
/**
* <code>optional uint32 retcode = 14;</code>
* @return this
*/
public DoGachaScRsp clearRetcode() {
bitField0_ &= ~0x00000008;
retcode = 0;
return this;
}
/**
* <code>optional uint32 retcode = 14;</code>
* @return the retcode
*/
public int getRetcode() {
return retcode;
}
/**
* <code>optional uint32 retcode = 14;</code>
* @param value the retcode to set
* @return this
*/
public DoGachaScRsp setRetcode(final int value) {
bitField0_ |= 0x00000008;
retcode = value;
return this;
}
/**
* <code>repeated .GachaItem gacha_item_list = 2;</code>
* @return whether the gachaItemList field is set
*/
public boolean hasGachaItemList() {
public boolean hasCurrentGachaTime() {
return (bitField0_ & 0x00000010) != 0;
}
/**
* <code>repeated .GachaItem gacha_item_list = 2;</code>
* <code>optional uint32 current_gacha_time = 15;</code>
* @return this
*/
public DoGachaScRsp clearCurrentGachaTime() {
bitField0_ &= ~0x00000010;
currentGachaTime = 0;
return this;
}
/**
* <code>optional uint32 current_gacha_time = 15;</code>
* @return the currentGachaTime
*/
public int getCurrentGachaTime() {
return currentGachaTime;
}
/**
* <code>optional uint32 current_gacha_time = 15;</code>
* @param value the currentGachaTime to set
* @return this
*/
public DoGachaScRsp setCurrentGachaTime(final int value) {
bitField0_ |= 0x00000010;
currentGachaTime = value;
return this;
}
/**
* <code>repeated .GachaItem gacha_item_list = 12;</code>
* @return whether the gachaItemList field is set
*/
public boolean hasGachaItemList() {
return (bitField0_ & 0x00000020) != 0;
}
/**
* <code>repeated .GachaItem gacha_item_list = 12;</code>
* @return this
*/
public DoGachaScRsp clearGachaItemList() {
bitField0_ &= ~0x00000010;
bitField0_ &= ~0x00000020;
gachaItemList.clear();
return this;
}
/**
* <code>repeated .GachaItem gacha_item_list = 2;</code>
* <code>repeated .GachaItem gacha_item_list = 12;</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.
@@ -235,7 +277,7 @@ public final class DoGachaScRspOuterClass {
}
/**
* <code>repeated .GachaItem gacha_item_list = 2;</code>
* <code>repeated .GachaItem gacha_item_list = 12;</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
@@ -244,28 +286,28 @@ public final class DoGachaScRspOuterClass {
* @return internal storage object for modifications
*/
public RepeatedMessage<GachaItemOuterClass.GachaItem> getMutableGachaItemList() {
bitField0_ |= 0x00000010;
bitField0_ |= 0x00000020;
return gachaItemList;
}
/**
* <code>repeated .GachaItem gacha_item_list = 2;</code>
* <code>repeated .GachaItem gacha_item_list = 12;</code>
* @param value the gachaItemList to add
* @return this
*/
public DoGachaScRsp addGachaItemList(final GachaItemOuterClass.GachaItem value) {
bitField0_ |= 0x00000010;
bitField0_ |= 0x00000020;
gachaItemList.add(value);
return this;
}
/**
* <code>repeated .GachaItem gacha_item_list = 2;</code>
* <code>repeated .GachaItem gacha_item_list = 12;</code>
* @param values the gachaItemList to add
* @return this
*/
public DoGachaScRsp addAllGachaItemList(final GachaItemOuterClass.GachaItem... values) {
bitField0_ |= 0x00000010;
bitField0_ |= 0x00000020;
gachaItemList.addAll(values);
return this;
}
@@ -275,10 +317,11 @@ public final class DoGachaScRspOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
retcode = other.retcode;
gachaId = other.gachaId;
ceilingNum = other.ceilingNum;
gachaNum = other.gachaNum;
gachaId = other.gachaId;
retcode = other.retcode;
currentGachaTime = other.currentGachaTime;
gachaItemList.copyFrom(other.gachaItemList);
}
return this;
@@ -290,17 +333,20 @@ public final class DoGachaScRspOuterClass {
return this;
}
cachedSize = -1;
if (other.hasRetcode()) {
setRetcode(other.retcode);
}
if (other.hasGachaId()) {
setGachaId(other.gachaId);
}
if (other.hasCeilingNum()) {
setCeilingNum(other.ceilingNum);
}
if (other.hasGachaNum()) {
setGachaNum(other.gachaNum);
}
if (other.hasGachaId()) {
setGachaId(other.gachaId);
}
if (other.hasRetcode()) {
setRetcode(other.retcode);
if (other.hasCurrentGachaTime()) {
setCurrentGachaTime(other.currentGachaTime);
}
if (other.hasGachaItemList()) {
getMutableGachaItemList().addAll(other.gachaItemList);
@@ -315,10 +361,11 @@ public final class DoGachaScRspOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
retcode = 0;
gachaId = 0;
ceilingNum = 0;
gachaNum = 0;
gachaId = 0;
retcode = 0;
currentGachaTime = 0;
gachaItemList.clear();
return this;
}
@@ -344,34 +391,39 @@ public final class DoGachaScRspOuterClass {
}
DoGachaScRsp other = (DoGachaScRsp) o;
return bitField0_ == other.bitField0_
&& (!hasRetcode() || retcode == other.retcode)
&& (!hasGachaId() || gachaId == other.gachaId)
&& (!hasCeilingNum() || ceilingNum == other.ceilingNum)
&& (!hasGachaNum() || gachaNum == other.gachaNum)
&& (!hasGachaId() || gachaId == other.gachaId)
&& (!hasRetcode() || retcode == other.retcode)
&& (!hasCurrentGachaTime() || currentGachaTime == other.currentGachaTime)
&& (!hasGachaItemList() || gachaItemList.equals(other.gachaItemList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(ceilingNum);
output.writeRawByte((byte) 32);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 48);
output.writeUInt32NoTag(gachaId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 56);
output.writeUInt32NoTag(ceilingNum);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(gachaNum);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 80);
output.writeUInt32NoTag(gachaId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 120);
output.writeUInt32NoTag(currentGachaTime);
}
if ((bitField0_ & 0x00000020) != 0) {
for (int i = 0; i < gachaItemList.length(); i++) {
output.writeRawByte((byte) 18);
output.writeRawByte((byte) 98);
output.writeMessageNoTag(gachaItemList.get(i));
}
}
@@ -381,18 +433,21 @@ public final class DoGachaScRspOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(ceilingNum);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaNum);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaId);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaId);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(ceilingNum);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaNum);
}
if ((bitField0_ & 0x00000010) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(currentGachaTime);
}
if ((bitField0_ & 0x00000020) != 0) {
size += (1 * gachaItemList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(gachaItemList);
}
return size;
@@ -405,10 +460,28 @@ public final class DoGachaScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 24: {
case 32: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 48) {
break;
}
}
case 48: {
// gachaId
gachaId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 56) {
break;
}
}
case 56: {
// ceilingNum
ceilingNum = input.readUInt32();
bitField0_ |= 0x00000001;
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 64) {
break;
@@ -417,34 +490,25 @@ public final class DoGachaScRspOuterClass {
case 64: {
// gachaNum
gachaNum = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 80) {
break;
}
}
case 80: {
// gachaId
gachaId = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 112) {
break;
}
}
case 112: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 18) {
if (tag != 120) {
break;
}
}
case 18: {
case 120: {
// currentGachaTime
currentGachaTime = input.readUInt32();
bitField0_ |= 0x00000010;
tag = input.readTag();
if (tag != 98) {
break;
}
}
case 98: {
// gachaItemList
tag = input.readRepeatedMessage(gachaItemList, tag);
bitField0_ |= 0x00000010;
bitField0_ |= 0x00000020;
if (tag != 0) {
break;
}
@@ -467,18 +531,21 @@ public final class DoGachaScRspOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.ceilingNum, ceilingNum);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.gachaNum, gachaNum);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.gachaId, gachaId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.retcode, retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.gachaId, gachaId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.ceilingNum, ceilingNum);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.gachaNum, gachaNum);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeUInt32(FieldNames.currentGachaTime, currentGachaTime);
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeRepeatedMessage(FieldNames.gachaItemList, gachaItemList);
}
output.endObject();
@@ -491,11 +558,10 @@ public final class DoGachaScRspOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -1655838327:
case 209119492: {
if (input.isAtField(FieldNames.ceilingNum)) {
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
if (!input.trySkipNullValue()) {
ceilingNum = input.readUInt32();
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -503,23 +569,23 @@ public final class DoGachaScRspOuterClass {
}
break;
}
case -2052317532:
case 803166025: {
if (input.isAtField(FieldNames.gachaNum)) {
if (!input.trySkipNullValue()) {
gachaNum = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
}
break;
}
case -204751299:
case -2052301576: {
if (input.isAtField(FieldNames.gachaId)) {
if (!input.trySkipNullValue()) {
gachaId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
}
break;
}
case -1655838327:
case 209119492: {
if (input.isAtField(FieldNames.ceilingNum)) {
if (!input.trySkipNullValue()) {
ceilingNum = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -527,10 +593,11 @@ public final class DoGachaScRspOuterClass {
}
break;
}
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
case -2052317532:
case 803166025: {
if (input.isAtField(FieldNames.gachaNum)) {
if (!input.trySkipNullValue()) {
retcode = input.readUInt32();
gachaNum = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -538,12 +605,24 @@ public final class DoGachaScRspOuterClass {
}
break;
}
case 1941683702:
case 2062533104: {
if (input.isAtField(FieldNames.currentGachaTime)) {
if (!input.trySkipNullValue()) {
currentGachaTime = input.readUInt32();
bitField0_ |= 0x00000010;
}
} else {
input.skipUnknownField();
}
break;
}
case 725790195:
case -1418891315: {
if (input.isAtField(FieldNames.gachaItemList)) {
if (!input.trySkipNullValue()) {
input.readRepeatedMessage(gachaItemList);
bitField0_ |= 0x00000010;
bitField0_ |= 0x00000020;
}
} else {
input.skipUnknownField();
@@ -602,13 +681,15 @@ public final class DoGachaScRspOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName retcode = FieldName.forField("retcode");
static final FieldName gachaId = FieldName.forField("gachaId", "gacha_id");
static final FieldName ceilingNum = FieldName.forField("ceilingNum", "ceiling_num");
static final FieldName gachaNum = FieldName.forField("gachaNum", "gacha_num");
static final FieldName gachaId = FieldName.forField("gachaId", "gacha_id");
static final FieldName retcode = FieldName.forField("retcode");
static final FieldName currentGachaTime = FieldName.forField("currentGachaTime", "current_gacha_time");
static final FieldName gachaItemList = FieldName.forField("gachaItemList", "gacha_item_list");
}

View File

@@ -19,12 +19,12 @@ public final class DressAvatarCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 avatar_id = 2;</code>
* <code>optional uint32 avatar_id = 5;</code>
*/
private int avatarId;
/**
* <code>optional uint32 equipment_unique_id = 4;</code>
* <code>optional uint32 equipment_unique_id = 7;</code>
*/
private int equipmentUniqueId;
@@ -39,7 +39,7 @@ public final class DressAvatarCsReqOuterClass {
}
/**
* <code>optional uint32 avatar_id = 2;</code>
* <code>optional uint32 avatar_id = 5;</code>
* @return whether the avatarId field is set
*/
public boolean hasAvatarId() {
@@ -47,7 +47,7 @@ public final class DressAvatarCsReqOuterClass {
}
/**
* <code>optional uint32 avatar_id = 2;</code>
* <code>optional uint32 avatar_id = 5;</code>
* @return this
*/
public DressAvatarCsReq clearAvatarId() {
@@ -57,7 +57,7 @@ public final class DressAvatarCsReqOuterClass {
}
/**
* <code>optional uint32 avatar_id = 2;</code>
* <code>optional uint32 avatar_id = 5;</code>
* @return the avatarId
*/
public int getAvatarId() {
@@ -65,7 +65,7 @@ public final class DressAvatarCsReqOuterClass {
}
/**
* <code>optional uint32 avatar_id = 2;</code>
* <code>optional uint32 avatar_id = 5;</code>
* @param value the avatarId to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class DressAvatarCsReqOuterClass {
}
/**
* <code>optional uint32 equipment_unique_id = 4;</code>
* <code>optional uint32 equipment_unique_id = 7;</code>
* @return whether the equipmentUniqueId field is set
*/
public boolean hasEquipmentUniqueId() {
@@ -84,7 +84,7 @@ public final class DressAvatarCsReqOuterClass {
}
/**
* <code>optional uint32 equipment_unique_id = 4;</code>
* <code>optional uint32 equipment_unique_id = 7;</code>
* @return this
*/
public DressAvatarCsReq clearEquipmentUniqueId() {
@@ -94,7 +94,7 @@ public final class DressAvatarCsReqOuterClass {
}
/**
* <code>optional uint32 equipment_unique_id = 4;</code>
* <code>optional uint32 equipment_unique_id = 7;</code>
* @return the equipmentUniqueId
*/
public int getEquipmentUniqueId() {
@@ -102,7 +102,7 @@ public final class DressAvatarCsReqOuterClass {
}
/**
* <code>optional uint32 equipment_unique_id = 4;</code>
* <code>optional uint32 equipment_unique_id = 7;</code>
* @param value the equipmentUniqueId to set
* @return this
*/
@@ -177,11 +177,11 @@ public final class DressAvatarCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 16);
output.writeRawByte((byte) 40);
output.writeUInt32NoTag(avatarId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 32);
output.writeRawByte((byte) 56);
output.writeUInt32NoTag(equipmentUniqueId);
}
}
@@ -205,16 +205,16 @@ public final class DressAvatarCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 16: {
case 40: {
// avatarId
avatarId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 32) {
if (tag != 56) {
break;
}
}
case 32: {
case 56: {
// equipmentUniqueId
equipmentUniqueId = input.readUInt32();
bitField0_ |= 0x00000002;

View File

@@ -20,12 +20,12 @@ public final class DressRelicAvatarCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 avatar_id = 1;</code>
* <code>optional uint32 avatar_id = 15;</code>
*/
private int avatarId;
/**
* <code>repeated .RelicParam param_list = 4;</code>
* <code>repeated .RelicParam param_list = 13;</code>
*/
private final RepeatedMessage<RelicParamOuterClass.RelicParam> paramList = RepeatedMessage.newEmptyInstance(RelicParamOuterClass.RelicParam.getFactory());
@@ -40,7 +40,7 @@ public final class DressRelicAvatarCsReqOuterClass {
}
/**
* <code>optional uint32 avatar_id = 1;</code>
* <code>optional uint32 avatar_id = 15;</code>
* @return whether the avatarId field is set
*/
public boolean hasAvatarId() {
@@ -48,7 +48,7 @@ public final class DressRelicAvatarCsReqOuterClass {
}
/**
* <code>optional uint32 avatar_id = 1;</code>
* <code>optional uint32 avatar_id = 15;</code>
* @return this
*/
public DressRelicAvatarCsReq clearAvatarId() {
@@ -58,7 +58,7 @@ public final class DressRelicAvatarCsReqOuterClass {
}
/**
* <code>optional uint32 avatar_id = 1;</code>
* <code>optional uint32 avatar_id = 15;</code>
* @return the avatarId
*/
public int getAvatarId() {
@@ -66,7 +66,7 @@ public final class DressRelicAvatarCsReqOuterClass {
}
/**
* <code>optional uint32 avatar_id = 1;</code>
* <code>optional uint32 avatar_id = 15;</code>
* @param value the avatarId to set
* @return this
*/
@@ -77,7 +77,7 @@ public final class DressRelicAvatarCsReqOuterClass {
}
/**
* <code>repeated .RelicParam param_list = 4;</code>
* <code>repeated .RelicParam param_list = 13;</code>
* @return whether the paramList field is set
*/
public boolean hasParamList() {
@@ -85,7 +85,7 @@ public final class DressRelicAvatarCsReqOuterClass {
}
/**
* <code>repeated .RelicParam param_list = 4;</code>
* <code>repeated .RelicParam param_list = 13;</code>
* @return this
*/
public DressRelicAvatarCsReq clearParamList() {
@@ -95,7 +95,7 @@ public final class DressRelicAvatarCsReqOuterClass {
}
/**
* <code>repeated .RelicParam param_list = 4;</code>
* <code>repeated .RelicParam param_list = 13;</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.
@@ -109,7 +109,7 @@ public final class DressRelicAvatarCsReqOuterClass {
}
/**
* <code>repeated .RelicParam param_list = 4;</code>
* <code>repeated .RelicParam param_list = 13;</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
@@ -123,7 +123,7 @@ public final class DressRelicAvatarCsReqOuterClass {
}
/**
* <code>repeated .RelicParam param_list = 4;</code>
* <code>repeated .RelicParam param_list = 13;</code>
* @param value the paramList to add
* @return this
*/
@@ -134,7 +134,7 @@ public final class DressRelicAvatarCsReqOuterClass {
}
/**
* <code>repeated .RelicParam param_list = 4;</code>
* <code>repeated .RelicParam param_list = 13;</code>
* @param values the paramList to add
* @return this
*/
@@ -210,12 +210,12 @@ public final class DressRelicAvatarCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 8);
output.writeRawByte((byte) 120);
output.writeUInt32NoTag(avatarId);
}
if ((bitField0_ & 0x00000002) != 0) {
for (int i = 0; i < paramList.length(); i++) {
output.writeRawByte((byte) 34);
output.writeRawByte((byte) 106);
output.writeMessageNoTag(paramList.get(i));
}
}
@@ -240,16 +240,16 @@ public final class DressRelicAvatarCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 8: {
case 120: {
// avatarId
avatarId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 34) {
if (tag != 106) {
break;
}
}
case 34: {
case 106: {
// paramList
tag = input.readRepeatedMessage(paramList, tag);
bitField0_ |= 0x00000002;

View File

@@ -19,7 +19,7 @@ public final class EnableRogueTalentCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 talent_id = 8;</code>
* <code>optional uint32 talent_id = 2;</code>
*/
private int talentId;
@@ -34,7 +34,7 @@ public final class EnableRogueTalentCsReqOuterClass {
}
/**
* <code>optional uint32 talent_id = 8;</code>
* <code>optional uint32 talent_id = 2;</code>
* @return whether the talentId field is set
*/
public boolean hasTalentId() {
@@ -42,7 +42,7 @@ public final class EnableRogueTalentCsReqOuterClass {
}
/**
* <code>optional uint32 talent_id = 8;</code>
* <code>optional uint32 talent_id = 2;</code>
* @return this
*/
public EnableRogueTalentCsReq clearTalentId() {
@@ -52,7 +52,7 @@ public final class EnableRogueTalentCsReqOuterClass {
}
/**
* <code>optional uint32 talent_id = 8;</code>
* <code>optional uint32 talent_id = 2;</code>
* @return the talentId
*/
public int getTalentId() {
@@ -60,7 +60,7 @@ public final class EnableRogueTalentCsReqOuterClass {
}
/**
* <code>optional uint32 talent_id = 8;</code>
* <code>optional uint32 talent_id = 2;</code>
* @param value the talentId to set
* @return this
*/
@@ -129,7 +129,7 @@ public final class EnableRogueTalentCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 64);
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(talentId);
}
}
@@ -150,7 +150,7 @@ public final class EnableRogueTalentCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 64: {
case 16: {
// talentId
talentId = input.readUInt32();
bitField0_ |= 0x00000001;

View File

@@ -19,12 +19,12 @@ public final class EnableRogueTalentScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 retcode = 13;</code>
* <code>optional uint32 retcode = 1;</code>
*/
private int retcode;
/**
* <code>optional .RogueTalentInfo talent_info = 3;</code>
* <code>optional .RogueTalentInfo talent_info = 6;</code>
*/
private final RogueTalentInfoOuterClass.RogueTalentInfo talentInfo = RogueTalentInfoOuterClass.RogueTalentInfo.newInstance();
@@ -39,7 +39,7 @@ public final class EnableRogueTalentScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 13;</code>
* <code>optional uint32 retcode = 1;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -47,7 +47,7 @@ public final class EnableRogueTalentScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 13;</code>
* <code>optional uint32 retcode = 1;</code>
* @return this
*/
public EnableRogueTalentScRsp clearRetcode() {
@@ -57,7 +57,7 @@ public final class EnableRogueTalentScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 13;</code>
* <code>optional uint32 retcode = 1;</code>
* @return the retcode
*/
public int getRetcode() {
@@ -65,7 +65,7 @@ public final class EnableRogueTalentScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 13;</code>
* <code>optional uint32 retcode = 1;</code>
* @param value the retcode to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class EnableRogueTalentScRspOuterClass {
}
/**
* <code>optional .RogueTalentInfo talent_info = 3;</code>
* <code>optional .RogueTalentInfo talent_info = 6;</code>
* @return whether the talentInfo field is set
*/
public boolean hasTalentInfo() {
@@ -84,7 +84,7 @@ public final class EnableRogueTalentScRspOuterClass {
}
/**
* <code>optional .RogueTalentInfo talent_info = 3;</code>
* <code>optional .RogueTalentInfo talent_info = 6;</code>
* @return this
*/
public EnableRogueTalentScRsp clearTalentInfo() {
@@ -94,7 +94,7 @@ public final class EnableRogueTalentScRspOuterClass {
}
/**
* <code>optional .RogueTalentInfo talent_info = 3;</code>
* <code>optional .RogueTalentInfo talent_info = 6;</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.
@@ -108,7 +108,7 @@ public final class EnableRogueTalentScRspOuterClass {
}
/**
* <code>optional .RogueTalentInfo talent_info = 3;</code>
* <code>optional .RogueTalentInfo talent_info = 6;</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
@@ -122,7 +122,7 @@ public final class EnableRogueTalentScRspOuterClass {
}
/**
* <code>optional .RogueTalentInfo talent_info = 3;</code>
* <code>optional .RogueTalentInfo talent_info = 6;</code>
* @param value the talentInfo to set
* @return this
*/
@@ -199,11 +199,11 @@ public final class EnableRogueTalentScRspOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 104);
output.writeRawByte((byte) 8);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 26);
output.writeRawByte((byte) 50);
output.writeMessageNoTag(talentInfo);
}
}
@@ -227,16 +227,16 @@ public final class EnableRogueTalentScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 104: {
case 8: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 26) {
if (tag != 50) {
break;
}
}
case 26: {
case 50: {
// talentInfo
input.readMessage(talentInfo);
bitField0_ |= 0x00000002;

View File

@@ -19,7 +19,7 @@ public final class EnhanceRogueBuffCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 buff_id = 8;</code>
* <code>optional uint32 buff_id = 5;</code>
*/
private int buffId;
@@ -34,7 +34,7 @@ public final class EnhanceRogueBuffCsReqOuterClass {
}
/**
* <code>optional uint32 buff_id = 8;</code>
* <code>optional uint32 buff_id = 5;</code>
* @return whether the buffId field is set
*/
public boolean hasBuffId() {
@@ -42,7 +42,7 @@ public final class EnhanceRogueBuffCsReqOuterClass {
}
/**
* <code>optional uint32 buff_id = 8;</code>
* <code>optional uint32 buff_id = 5;</code>
* @return this
*/
public EnhanceRogueBuffCsReq clearBuffId() {
@@ -52,7 +52,7 @@ public final class EnhanceRogueBuffCsReqOuterClass {
}
/**
* <code>optional uint32 buff_id = 8;</code>
* <code>optional uint32 buff_id = 5;</code>
* @return the buffId
*/
public int getBuffId() {
@@ -60,7 +60,7 @@ public final class EnhanceRogueBuffCsReqOuterClass {
}
/**
* <code>optional uint32 buff_id = 8;</code>
* <code>optional uint32 buff_id = 5;</code>
* @param value the buffId to set
* @return this
*/
@@ -129,7 +129,7 @@ public final class EnhanceRogueBuffCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 64);
output.writeRawByte((byte) 40);
output.writeUInt32NoTag(buffId);
}
}
@@ -150,7 +150,7 @@ public final class EnhanceRogueBuffCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 64: {
case 40: {
// buffId
buffId = input.readUInt32();
bitField0_ |= 0x00000001;

View File

@@ -19,17 +19,17 @@ public final class EnhanceRogueBuffScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 retcode = 8;</code>
* <code>optional uint32 retcode = 6;</code>
*/
private int retcode;
/**
* <code>optional bool is_success = 3;</code>
* <code>optional bool is_success = 1;</code>
*/
private boolean isSuccess;
/**
* <code>optional .RogueBuff rogue_buff = 11;</code>
* <code>optional .RogueBuff rogue_buff = 15;</code>
*/
private final RogueBuffOuterClass.RogueBuff rogueBuff = RogueBuffOuterClass.RogueBuff.newInstance();
@@ -44,7 +44,7 @@ public final class EnhanceRogueBuffScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 8;</code>
* <code>optional uint32 retcode = 6;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -52,7 +52,7 @@ public final class EnhanceRogueBuffScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 8;</code>
* <code>optional uint32 retcode = 6;</code>
* @return this
*/
public EnhanceRogueBuffScRsp clearRetcode() {
@@ -62,7 +62,7 @@ public final class EnhanceRogueBuffScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 8;</code>
* <code>optional uint32 retcode = 6;</code>
* @return the retcode
*/
public int getRetcode() {
@@ -70,7 +70,7 @@ public final class EnhanceRogueBuffScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 8;</code>
* <code>optional uint32 retcode = 6;</code>
* @param value the retcode to set
* @return this
*/
@@ -81,7 +81,7 @@ public final class EnhanceRogueBuffScRspOuterClass {
}
/**
* <code>optional bool is_success = 3;</code>
* <code>optional bool is_success = 1;</code>
* @return whether the isSuccess field is set
*/
public boolean hasIsSuccess() {
@@ -89,7 +89,7 @@ public final class EnhanceRogueBuffScRspOuterClass {
}
/**
* <code>optional bool is_success = 3;</code>
* <code>optional bool is_success = 1;</code>
* @return this
*/
public EnhanceRogueBuffScRsp clearIsSuccess() {
@@ -99,7 +99,7 @@ public final class EnhanceRogueBuffScRspOuterClass {
}
/**
* <code>optional bool is_success = 3;</code>
* <code>optional bool is_success = 1;</code>
* @return the isSuccess
*/
public boolean getIsSuccess() {
@@ -107,7 +107,7 @@ public final class EnhanceRogueBuffScRspOuterClass {
}
/**
* <code>optional bool is_success = 3;</code>
* <code>optional bool is_success = 1;</code>
* @param value the isSuccess to set
* @return this
*/
@@ -118,7 +118,7 @@ public final class EnhanceRogueBuffScRspOuterClass {
}
/**
* <code>optional .RogueBuff rogue_buff = 11;</code>
* <code>optional .RogueBuff rogue_buff = 15;</code>
* @return whether the rogueBuff field is set
*/
public boolean hasRogueBuff() {
@@ -126,7 +126,7 @@ public final class EnhanceRogueBuffScRspOuterClass {
}
/**
* <code>optional .RogueBuff rogue_buff = 11;</code>
* <code>optional .RogueBuff rogue_buff = 15;</code>
* @return this
*/
public EnhanceRogueBuffScRsp clearRogueBuff() {
@@ -136,7 +136,7 @@ public final class EnhanceRogueBuffScRspOuterClass {
}
/**
* <code>optional .RogueBuff rogue_buff = 11;</code>
* <code>optional .RogueBuff rogue_buff = 15;</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.
@@ -150,7 +150,7 @@ public final class EnhanceRogueBuffScRspOuterClass {
}
/**
* <code>optional .RogueBuff rogue_buff = 11;</code>
* <code>optional .RogueBuff rogue_buff = 15;</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
@@ -164,7 +164,7 @@ public final class EnhanceRogueBuffScRspOuterClass {
}
/**
* <code>optional .RogueBuff rogue_buff = 11;</code>
* <code>optional .RogueBuff rogue_buff = 15;</code>
* @param value the rogueBuff to set
* @return this
*/
@@ -246,15 +246,15 @@ public final class EnhanceRogueBuffScRspOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 64);
output.writeRawByte((byte) 48);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 24);
output.writeRawByte((byte) 8);
output.writeBoolNoTag(isSuccess);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 90);
output.writeRawByte((byte) 122);
output.writeMessageNoTag(rogueBuff);
}
}
@@ -281,25 +281,25 @@ public final class EnhanceRogueBuffScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 64: {
case 48: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 24) {
if (tag != 8) {
break;
}
}
case 24: {
case 8: {
// isSuccess
isSuccess = input.readBool();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 90) {
if (tag != 122) {
break;
}
}
case 90: {
case 122: {
// rogueBuff
input.readMessage(rogueBuff);
bitField0_ |= 0x00000004;

View File

@@ -19,7 +19,7 @@ public final class EnterMapRotationRegionCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional .MotionInfo motion = 14;</code>
* <code>optional .MotionInfo motion = 6;</code>
*/
private final MotionInfoOuterClass.MotionInfo motion = MotionInfoOuterClass.MotionInfo.newInstance();
@@ -34,7 +34,7 @@ public final class EnterMapRotationRegionCsReqOuterClass {
}
/**
* <code>optional .MotionInfo motion = 14;</code>
* <code>optional .MotionInfo motion = 6;</code>
* @return whether the motion field is set
*/
public boolean hasMotion() {
@@ -42,7 +42,7 @@ public final class EnterMapRotationRegionCsReqOuterClass {
}
/**
* <code>optional .MotionInfo motion = 14;</code>
* <code>optional .MotionInfo motion = 6;</code>
* @return this
*/
public EnterMapRotationRegionCsReq clearMotion() {
@@ -52,7 +52,7 @@ public final class EnterMapRotationRegionCsReqOuterClass {
}
/**
* <code>optional .MotionInfo motion = 14;</code>
* <code>optional .MotionInfo motion = 6;</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.
@@ -66,7 +66,7 @@ public final class EnterMapRotationRegionCsReqOuterClass {
}
/**
* <code>optional .MotionInfo motion = 14;</code>
* <code>optional .MotionInfo motion = 6;</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
@@ -80,7 +80,7 @@ public final class EnterMapRotationRegionCsReqOuterClass {
}
/**
* <code>optional .MotionInfo motion = 14;</code>
* <code>optional .MotionInfo motion = 6;</code>
* @param value the motion to set
* @return this
*/
@@ -150,7 +150,7 @@ public final class EnterMapRotationRegionCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 114);
output.writeRawByte((byte) 50);
output.writeMessageNoTag(motion);
}
}
@@ -171,7 +171,7 @@ public final class EnterMapRotationRegionCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 114: {
case 50: {
// motion
input.readMessage(motion);
bitField0_ |= 0x00000001;

View File

@@ -19,15 +19,15 @@ public final class EnterMapRotationRegionScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 retcode = 14;</code>
*/
private int retcode;
/**
* <code>optional uint32 client_pos_version = 15;</code>
* <code>optional uint32 client_pos_version = 2;</code>
*/
private int clientPosVersion;
/**
* <code>optional uint32 retcode = 15;</code>
*/
private int retcode;
/**
* <code>optional .MotionInfo motion = 6;</code>
*/
@@ -44,62 +44,25 @@ public final class EnterMapRotationRegionScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 14;</code>
* @return whether the retcode field is set
* <code>optional uint32 client_pos_version = 2;</code>
* @return whether the clientPosVersion field is set
*/
public boolean hasRetcode() {
public boolean hasClientPosVersion() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 retcode = 14;</code>
* @return this
*/
public EnterMapRotationRegionScRsp clearRetcode() {
bitField0_ &= ~0x00000001;
retcode = 0;
return this;
}
/**
* <code>optional uint32 retcode = 14;</code>
* @return the retcode
*/
public int getRetcode() {
return retcode;
}
/**
* <code>optional uint32 retcode = 14;</code>
* @param value the retcode to set
* @return this
*/
public EnterMapRotationRegionScRsp setRetcode(final int value) {
bitField0_ |= 0x00000001;
retcode = value;
return this;
}
/**
* <code>optional uint32 client_pos_version = 15;</code>
* @return whether the clientPosVersion field is set
*/
public boolean hasClientPosVersion() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 client_pos_version = 15;</code>
* <code>optional uint32 client_pos_version = 2;</code>
* @return this
*/
public EnterMapRotationRegionScRsp clearClientPosVersion() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
clientPosVersion = 0;
return this;
}
/**
* <code>optional uint32 client_pos_version = 15;</code>
* <code>optional uint32 client_pos_version = 2;</code>
* @return the clientPosVersion
*/
public int getClientPosVersion() {
@@ -107,16 +70,53 @@ public final class EnterMapRotationRegionScRspOuterClass {
}
/**
* <code>optional uint32 client_pos_version = 15;</code>
* <code>optional uint32 client_pos_version = 2;</code>
* @param value the clientPosVersion to set
* @return this
*/
public EnterMapRotationRegionScRsp setClientPosVersion(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
clientPosVersion = value;
return this;
}
/**
* <code>optional uint32 retcode = 15;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 retcode = 15;</code>
* @return this
*/
public EnterMapRotationRegionScRsp clearRetcode() {
bitField0_ &= ~0x00000002;
retcode = 0;
return this;
}
/**
* <code>optional uint32 retcode = 15;</code>
* @return the retcode
*/
public int getRetcode() {
return retcode;
}
/**
* <code>optional uint32 retcode = 15;</code>
* @param value the retcode to set
* @return this
*/
public EnterMapRotationRegionScRsp setRetcode(final int value) {
bitField0_ |= 0x00000002;
retcode = value;
return this;
}
/**
* <code>optional .MotionInfo motion = 6;</code>
* @return whether the motion field is set
@@ -179,8 +179,8 @@ public final class EnterMapRotationRegionScRspOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
retcode = other.retcode;
clientPosVersion = other.clientPosVersion;
retcode = other.retcode;
motion.copyFrom(other.motion);
}
return this;
@@ -192,12 +192,12 @@ public final class EnterMapRotationRegionScRspOuterClass {
return this;
}
cachedSize = -1;
if (other.hasRetcode()) {
setRetcode(other.retcode);
}
if (other.hasClientPosVersion()) {
setClientPosVersion(other.clientPosVersion);
}
if (other.hasRetcode()) {
setRetcode(other.retcode);
}
if (other.hasMotion()) {
getMutableMotion().mergeFrom(other.motion);
}
@@ -211,8 +211,8 @@ public final class EnterMapRotationRegionScRspOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
retcode = 0;
clientPosVersion = 0;
retcode = 0;
motion.clear();
return this;
}
@@ -238,20 +238,20 @@ public final class EnterMapRotationRegionScRspOuterClass {
}
EnterMapRotationRegionScRsp other = (EnterMapRotationRegionScRsp) o;
return bitField0_ == other.bitField0_
&& (!hasRetcode() || retcode == other.retcode)
&& (!hasClientPosVersion() || clientPosVersion == other.clientPosVersion)
&& (!hasRetcode() || retcode == other.retcode)
&& (!hasMotion() || motion.equals(other.motion));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(retcode);
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(clientPosVersion);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 120);
output.writeUInt32NoTag(clientPosVersion);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 50);
@@ -263,10 +263,10 @@ public final class EnterMapRotationRegionScRspOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
size += 1 + ProtoSink.computeUInt32SizeNoTag(clientPosVersion);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(clientPosVersion);
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(motion);
@@ -281,9 +281,9 @@ public final class EnterMapRotationRegionScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 112: {
// retcode
retcode = input.readUInt32();
case 16: {
// clientPosVersion
clientPosVersion = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 120) {
@@ -291,8 +291,8 @@ public final class EnterMapRotationRegionScRspOuterClass {
}
}
case 120: {
// clientPosVersion
clientPosVersion = input.readUInt32();
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 50) {
@@ -326,10 +326,10 @@ public final class EnterMapRotationRegionScRspOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.retcode, retcode);
output.writeUInt32(FieldNames.clientPosVersion, clientPosVersion);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.clientPosVersion, clientPosVersion);
output.writeUInt32(FieldNames.retcode, retcode);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeMessage(FieldNames.motion, motion);
@@ -344,10 +344,11 @@ public final class EnterMapRotationRegionScRspOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
case 1787644431:
case 1278860153: {
if (input.isAtField(FieldNames.clientPosVersion)) {
if (!input.trySkipNullValue()) {
retcode = input.readUInt32();
clientPosVersion = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -355,11 +356,10 @@ public final class EnterMapRotationRegionScRspOuterClass {
}
break;
}
case 1787644431:
case 1278860153: {
if (input.isAtField(FieldNames.clientPosVersion)) {
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
if (!input.trySkipNullValue()) {
clientPosVersion = input.readUInt32();
retcode = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -432,10 +432,10 @@ public final class EnterMapRotationRegionScRspOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName retcode = FieldName.forField("retcode");
static final FieldName clientPosVersion = FieldName.forField("clientPosVersion", "client_pos_version");
static final FieldName retcode = FieldName.forField("retcode");
static final FieldName motion = FieldName.forField("motion");
}
}

View File

@@ -19,15 +19,15 @@ public final class EnterRogueMapRoomCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 room_id = 1;</code>
*/
private int roomId;
/**
* <code>optional uint32 site_id = 14;</code>
* <code>optional uint32 site_id = 1;</code>
*/
private int siteId;
/**
* <code>optional uint32 room_id = 9;</code>
*/
private int roomId;
private EnterRogueMapRoomCsReq() {
}
@@ -39,62 +39,25 @@ public final class EnterRogueMapRoomCsReqOuterClass {
}
/**
* <code>optional uint32 room_id = 1;</code>
* @return whether the roomId field is set
* <code>optional uint32 site_id = 1;</code>
* @return whether the siteId field is set
*/
public boolean hasRoomId() {
public boolean hasSiteId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 room_id = 1;</code>
* @return this
*/
public EnterRogueMapRoomCsReq clearRoomId() {
bitField0_ &= ~0x00000001;
roomId = 0;
return this;
}
/**
* <code>optional uint32 room_id = 1;</code>
* @return the roomId
*/
public int getRoomId() {
return roomId;
}
/**
* <code>optional uint32 room_id = 1;</code>
* @param value the roomId to set
* @return this
*/
public EnterRogueMapRoomCsReq setRoomId(final int value) {
bitField0_ |= 0x00000001;
roomId = value;
return this;
}
/**
* <code>optional uint32 site_id = 14;</code>
* @return whether the siteId field is set
*/
public boolean hasSiteId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 site_id = 14;</code>
* <code>optional uint32 site_id = 1;</code>
* @return this
*/
public EnterRogueMapRoomCsReq clearSiteId() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
siteId = 0;
return this;
}
/**
* <code>optional uint32 site_id = 14;</code>
* <code>optional uint32 site_id = 1;</code>
* @return the siteId
*/
public int getSiteId() {
@@ -102,23 +65,60 @@ public final class EnterRogueMapRoomCsReqOuterClass {
}
/**
* <code>optional uint32 site_id = 14;</code>
* <code>optional uint32 site_id = 1;</code>
* @param value the siteId to set
* @return this
*/
public EnterRogueMapRoomCsReq setSiteId(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
siteId = value;
return this;
}
/**
* <code>optional uint32 room_id = 9;</code>
* @return whether the roomId field is set
*/
public boolean hasRoomId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 room_id = 9;</code>
* @return this
*/
public EnterRogueMapRoomCsReq clearRoomId() {
bitField0_ &= ~0x00000002;
roomId = 0;
return this;
}
/**
* <code>optional uint32 room_id = 9;</code>
* @return the roomId
*/
public int getRoomId() {
return roomId;
}
/**
* <code>optional uint32 room_id = 9;</code>
* @param value the roomId to set
* @return this
*/
public EnterRogueMapRoomCsReq setRoomId(final int value) {
bitField0_ |= 0x00000002;
roomId = value;
return this;
}
@Override
public EnterRogueMapRoomCsReq copyFrom(final EnterRogueMapRoomCsReq other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
roomId = other.roomId;
siteId = other.siteId;
roomId = other.roomId;
}
return this;
}
@@ -129,12 +129,12 @@ public final class EnterRogueMapRoomCsReqOuterClass {
return this;
}
cachedSize = -1;
if (other.hasRoomId()) {
setRoomId(other.roomId);
}
if (other.hasSiteId()) {
setSiteId(other.siteId);
}
if (other.hasRoomId()) {
setRoomId(other.roomId);
}
return this;
}
@@ -145,8 +145,8 @@ public final class EnterRogueMapRoomCsReqOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
roomId = 0;
siteId = 0;
roomId = 0;
return this;
}
@@ -170,19 +170,19 @@ public final class EnterRogueMapRoomCsReqOuterClass {
}
EnterRogueMapRoomCsReq other = (EnterRogueMapRoomCsReq) o;
return bitField0_ == other.bitField0_
&& (!hasRoomId() || roomId == other.roomId)
&& (!hasSiteId() || siteId == other.siteId);
&& (!hasSiteId() || siteId == other.siteId)
&& (!hasRoomId() || roomId == other.roomId);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 8);
output.writeUInt32NoTag(roomId);
output.writeUInt32NoTag(siteId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(siteId);
output.writeRawByte((byte) 72);
output.writeUInt32NoTag(roomId);
}
}
@@ -190,10 +190,10 @@ public final class EnterRogueMapRoomCsReqOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(roomId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(siteId);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(siteId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(roomId);
}
return size;
}
@@ -206,17 +206,17 @@ public final class EnterRogueMapRoomCsReqOuterClass {
while (true) {
switch (tag) {
case 8: {
// roomId
roomId = input.readUInt32();
// siteId
siteId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 112) {
if (tag != 72) {
break;
}
}
case 112: {
// siteId
siteId = input.readUInt32();
case 72: {
// roomId
roomId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 0) {
@@ -241,10 +241,10 @@ public final class EnterRogueMapRoomCsReqOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.roomId, roomId);
output.writeUInt32(FieldNames.siteId, siteId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.siteId, siteId);
output.writeUInt32(FieldNames.roomId, roomId);
}
output.endObject();
}
@@ -256,11 +256,11 @@ public final class EnterRogueMapRoomCsReqOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -925319338:
case 1379892991: {
if (input.isAtField(FieldNames.roomId)) {
case -902090046:
case 2100001043: {
if (input.isAtField(FieldNames.siteId)) {
if (!input.trySkipNullValue()) {
roomId = input.readUInt32();
siteId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -268,11 +268,11 @@ public final class EnterRogueMapRoomCsReqOuterClass {
}
break;
}
case -902090046:
case 2100001043: {
if (input.isAtField(FieldNames.siteId)) {
case -925319338:
case 1379892991: {
if (input.isAtField(FieldNames.roomId)) {
if (!input.trySkipNullValue()) {
siteId = input.readUInt32();
roomId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -333,9 +333,9 @@ public final class EnterRogueMapRoomCsReqOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName roomId = FieldName.forField("roomId", "room_id");
static final FieldName siteId = FieldName.forField("siteId", "site_id");
static final FieldName roomId = FieldName.forField("roomId", "room_id");
}
}
}

View File

@@ -19,22 +19,22 @@ public final class EnterRogueMapRoomScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 retcode = 7;</code>
*/
private int retcode;
/**
* <code>optional uint32 cur_site_id = 10;</code>
* <code>optional uint32 cur_site_id = 6;</code>
*/
private int curSiteId;
/**
* <code>optional .SceneInfo scene = 13;</code>
* <code>optional uint32 retcode = 8;</code>
*/
private int retcode;
/**
* <code>optional .SceneInfo scene = 3;</code>
*/
private final SceneInfoOuterClass.SceneInfo scene = SceneInfoOuterClass.SceneInfo.newInstance();
/**
* <code>optional .LineupInfo lineup = 15;</code>
* <code>optional .LineupInfo lineup = 14;</code>
*/
private final LineupInfoOuterClass.LineupInfo lineup = LineupInfoOuterClass.LineupInfo.newInstance();
@@ -49,62 +49,25 @@ public final class EnterRogueMapRoomScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 7;</code>
* @return whether the retcode field is set
* <code>optional uint32 cur_site_id = 6;</code>
* @return whether the curSiteId field is set
*/
public boolean hasRetcode() {
public boolean hasCurSiteId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 retcode = 7;</code>
* @return this
*/
public EnterRogueMapRoomScRsp clearRetcode() {
bitField0_ &= ~0x00000001;
retcode = 0;
return this;
}
/**
* <code>optional uint32 retcode = 7;</code>
* @return the retcode
*/
public int getRetcode() {
return retcode;
}
/**
* <code>optional uint32 retcode = 7;</code>
* @param value the retcode to set
* @return this
*/
public EnterRogueMapRoomScRsp setRetcode(final int value) {
bitField0_ |= 0x00000001;
retcode = value;
return this;
}
/**
* <code>optional uint32 cur_site_id = 10;</code>
* @return whether the curSiteId field is set
*/
public boolean hasCurSiteId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 cur_site_id = 10;</code>
* <code>optional uint32 cur_site_id = 6;</code>
* @return this
*/
public EnterRogueMapRoomScRsp clearCurSiteId() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
curSiteId = 0;
return this;
}
/**
* <code>optional uint32 cur_site_id = 10;</code>
* <code>optional uint32 cur_site_id = 6;</code>
* @return the curSiteId
*/
public int getCurSiteId() {
@@ -112,18 +75,55 @@ public final class EnterRogueMapRoomScRspOuterClass {
}
/**
* <code>optional uint32 cur_site_id = 10;</code>
* <code>optional uint32 cur_site_id = 6;</code>
* @param value the curSiteId to set
* @return this
*/
public EnterRogueMapRoomScRsp setCurSiteId(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
curSiteId = value;
return this;
}
/**
* <code>optional .SceneInfo scene = 13;</code>
* <code>optional uint32 retcode = 8;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 retcode = 8;</code>
* @return this
*/
public EnterRogueMapRoomScRsp clearRetcode() {
bitField0_ &= ~0x00000002;
retcode = 0;
return this;
}
/**
* <code>optional uint32 retcode = 8;</code>
* @return the retcode
*/
public int getRetcode() {
return retcode;
}
/**
* <code>optional uint32 retcode = 8;</code>
* @param value the retcode to set
* @return this
*/
public EnterRogueMapRoomScRsp setRetcode(final int value) {
bitField0_ |= 0x00000002;
retcode = value;
return this;
}
/**
* <code>optional .SceneInfo scene = 3;</code>
* @return whether the scene field is set
*/
public boolean hasScene() {
@@ -131,7 +131,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
}
/**
* <code>optional .SceneInfo scene = 13;</code>
* <code>optional .SceneInfo scene = 3;</code>
* @return this
*/
public EnterRogueMapRoomScRsp clearScene() {
@@ -141,7 +141,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
}
/**
* <code>optional .SceneInfo scene = 13;</code>
* <code>optional .SceneInfo scene = 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.
@@ -155,7 +155,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
}
/**
* <code>optional .SceneInfo scene = 13;</code>
* <code>optional .SceneInfo scene = 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
@@ -169,7 +169,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
}
/**
* <code>optional .SceneInfo scene = 13;</code>
* <code>optional .SceneInfo scene = 3;</code>
* @param value the scene to set
* @return this
*/
@@ -180,7 +180,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
}
/**
* <code>optional .LineupInfo lineup = 15;</code>
* <code>optional .LineupInfo lineup = 14;</code>
* @return whether the lineup field is set
*/
public boolean hasLineup() {
@@ -188,7 +188,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
}
/**
* <code>optional .LineupInfo lineup = 15;</code>
* <code>optional .LineupInfo lineup = 14;</code>
* @return this
*/
public EnterRogueMapRoomScRsp clearLineup() {
@@ -198,7 +198,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
}
/**
* <code>optional .LineupInfo lineup = 15;</code>
* <code>optional .LineupInfo lineup = 14;</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.
@@ -212,7 +212,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
}
/**
* <code>optional .LineupInfo lineup = 15;</code>
* <code>optional .LineupInfo lineup = 14;</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
@@ -226,7 +226,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
}
/**
* <code>optional .LineupInfo lineup = 15;</code>
* <code>optional .LineupInfo lineup = 14;</code>
* @param value the lineup to set
* @return this
*/
@@ -241,8 +241,8 @@ public final class EnterRogueMapRoomScRspOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
retcode = other.retcode;
curSiteId = other.curSiteId;
retcode = other.retcode;
scene.copyFrom(other.scene);
lineup.copyFrom(other.lineup);
}
@@ -255,12 +255,12 @@ public final class EnterRogueMapRoomScRspOuterClass {
return this;
}
cachedSize = -1;
if (other.hasRetcode()) {
setRetcode(other.retcode);
}
if (other.hasCurSiteId()) {
setCurSiteId(other.curSiteId);
}
if (other.hasRetcode()) {
setRetcode(other.retcode);
}
if (other.hasScene()) {
getMutableScene().mergeFrom(other.scene);
}
@@ -277,8 +277,8 @@ public final class EnterRogueMapRoomScRspOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
retcode = 0;
curSiteId = 0;
retcode = 0;
scene.clear();
lineup.clear();
return this;
@@ -306,8 +306,8 @@ public final class EnterRogueMapRoomScRspOuterClass {
}
EnterRogueMapRoomScRsp other = (EnterRogueMapRoomScRsp) o;
return bitField0_ == other.bitField0_
&& (!hasRetcode() || retcode == other.retcode)
&& (!hasCurSiteId() || curSiteId == other.curSiteId)
&& (!hasRetcode() || retcode == other.retcode)
&& (!hasScene() || scene.equals(other.scene))
&& (!hasLineup() || lineup.equals(other.lineup));
}
@@ -315,19 +315,19 @@ public final class EnterRogueMapRoomScRspOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 56);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 80);
output.writeRawByte((byte) 48);
output.writeUInt32NoTag(curSiteId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 106);
output.writeRawByte((byte) 26);
output.writeMessageNoTag(scene);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 122);
output.writeRawByte((byte) 114);
output.writeMessageNoTag(lineup);
}
}
@@ -336,10 +336,10 @@ public final class EnterRogueMapRoomScRspOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
size += 1 + ProtoSink.computeUInt32SizeNoTag(curSiteId);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(curSiteId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(scene);
@@ -357,34 +357,34 @@ public final class EnterRogueMapRoomScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 56: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 80) {
break;
}
}
case 80: {
case 48: {
// curSiteId
curSiteId = input.readUInt32();
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 106) {
if (tag != 64) {
break;
}
}
case 106: {
case 64: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 26) {
break;
}
}
case 26: {
// scene
input.readMessage(scene);
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 122) {
if (tag != 114) {
break;
}
}
case 122: {
case 114: {
// lineup
input.readMessage(lineup);
bitField0_ |= 0x00000008;
@@ -411,10 +411,10 @@ public final class EnterRogueMapRoomScRspOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.retcode, retcode);
output.writeUInt32(FieldNames.curSiteId, curSiteId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.curSiteId, curSiteId);
output.writeUInt32(FieldNames.retcode, retcode);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeMessage(FieldNames.scene, scene);
@@ -432,10 +432,11 @@ public final class EnterRogueMapRoomScRspOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
case -226037470:
case 1245078036: {
if (input.isAtField(FieldNames.curSiteId)) {
if (!input.trySkipNullValue()) {
retcode = input.readUInt32();
curSiteId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -443,11 +444,10 @@ public final class EnterRogueMapRoomScRspOuterClass {
}
break;
}
case -226037470:
case 1245078036: {
if (input.isAtField(FieldNames.curSiteId)) {
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
if (!input.trySkipNullValue()) {
curSiteId = input.readUInt32();
retcode = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -530,10 +530,10 @@ public final class EnterRogueMapRoomScRspOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName retcode = FieldName.forField("retcode");
static final FieldName curSiteId = FieldName.forField("curSiteId", "cur_site_id");
static final FieldName retcode = FieldName.forField("retcode");
static final FieldName scene = FieldName.forField("scene");
static final FieldName lineup = FieldName.forField("lineup");

View File

@@ -19,20 +19,20 @@ public final class EnterSceneByServerScNotifyOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional .EnterSceneReason reason = 1;</code>
* <code>optional .EnterSceneReason reason = 11;</code>
*/
private int reason;
/**
* <code>optional .LineupInfo lineup = 7;</code>
*/
private final LineupInfoOuterClass.LineupInfo lineup = LineupInfoOuterClass.LineupInfo.newInstance();
/**
* <code>optional .SceneInfo scene = 10;</code>
* <code>optional .SceneInfo scene = 7;</code>
*/
private final SceneInfoOuterClass.SceneInfo scene = SceneInfoOuterClass.SceneInfo.newInstance();
/**
* <code>optional .LineupInfo lineup = 14;</code>
*/
private final LineupInfoOuterClass.LineupInfo lineup = LineupInfoOuterClass.LineupInfo.newInstance();
private EnterSceneByServerScNotify() {
}
@@ -44,7 +44,7 @@ public final class EnterSceneByServerScNotifyOuterClass {
}
/**
* <code>optional .EnterSceneReason reason = 1;</code>
* <code>optional .EnterSceneReason reason = 11;</code>
* @return whether the reason field is set
*/
public boolean hasReason() {
@@ -52,7 +52,7 @@ public final class EnterSceneByServerScNotifyOuterClass {
}
/**
* <code>optional .EnterSceneReason reason = 1;</code>
* <code>optional .EnterSceneReason reason = 11;</code>
* @return this
*/
public EnterSceneByServerScNotify clearReason() {
@@ -62,7 +62,7 @@ public final class EnterSceneByServerScNotifyOuterClass {
}
/**
* <code>optional .EnterSceneReason reason = 1;</code>
* <code>optional .EnterSceneReason reason = 11;</code>
* @return the reason
*/
public EnterSceneReasonOuterClass.EnterSceneReason getReason() {
@@ -95,7 +95,7 @@ public final class EnterSceneByServerScNotifyOuterClass {
}
/**
* <code>optional .EnterSceneReason reason = 1;</code>
* <code>optional .EnterSceneReason reason = 11;</code>
* @param value the reason to set
* @return this
*/
@@ -107,82 +107,25 @@ public final class EnterSceneByServerScNotifyOuterClass {
}
/**
* <code>optional .LineupInfo lineup = 7;</code>
* @return whether the lineup field is set
* <code>optional .SceneInfo scene = 7;</code>
* @return whether the scene field is set
*/
public boolean hasLineup() {
public boolean hasScene() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional .LineupInfo lineup = 7;</code>
* @return this
*/
public EnterSceneByServerScNotify clearLineup() {
bitField0_ &= ~0x00000002;
lineup.clear();
return this;
}
/**
* <code>optional .LineupInfo lineup = 7;</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 #getMutableLineup()} if you want to modify it.
*
* @return internal storage object for reading
*/
public LineupInfoOuterClass.LineupInfo getLineup() {
return lineup;
}
/**
* <code>optional .LineupInfo lineup = 7;</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 LineupInfoOuterClass.LineupInfo getMutableLineup() {
bitField0_ |= 0x00000002;
return lineup;
}
/**
* <code>optional .LineupInfo lineup = 7;</code>
* @param value the lineup to set
* @return this
*/
public EnterSceneByServerScNotify setLineup(final LineupInfoOuterClass.LineupInfo value) {
bitField0_ |= 0x00000002;
lineup.copyFrom(value);
return this;
}
/**
* <code>optional .SceneInfo scene = 10;</code>
* @return whether the scene field is set
*/
public boolean hasScene() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional .SceneInfo scene = 10;</code>
* <code>optional .SceneInfo scene = 7;</code>
* @return this
*/
public EnterSceneByServerScNotify clearScene() {
bitField0_ &= ~0x00000004;
bitField0_ &= ~0x00000002;
scene.clear();
return this;
}
/**
* <code>optional .SceneInfo scene = 10;</code>
* <code>optional .SceneInfo scene = 7;</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.
@@ -196,7 +139,7 @@ public final class EnterSceneByServerScNotifyOuterClass {
}
/**
* <code>optional .SceneInfo scene = 10;</code>
* <code>optional .SceneInfo scene = 7;</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
@@ -205,29 +148,86 @@ public final class EnterSceneByServerScNotifyOuterClass {
* @return internal storage object for modifications
*/
public SceneInfoOuterClass.SceneInfo getMutableScene() {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000002;
return scene;
}
/**
* <code>optional .SceneInfo scene = 10;</code>
* <code>optional .SceneInfo scene = 7;</code>
* @param value the scene to set
* @return this
*/
public EnterSceneByServerScNotify setScene(final SceneInfoOuterClass.SceneInfo value) {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000002;
scene.copyFrom(value);
return this;
}
/**
* <code>optional .LineupInfo lineup = 14;</code>
* @return whether the lineup field is set
*/
public boolean hasLineup() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional .LineupInfo lineup = 14;</code>
* @return this
*/
public EnterSceneByServerScNotify clearLineup() {
bitField0_ &= ~0x00000004;
lineup.clear();
return this;
}
/**
* <code>optional .LineupInfo lineup = 14;</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 #getMutableLineup()} if you want to modify it.
*
* @return internal storage object for reading
*/
public LineupInfoOuterClass.LineupInfo getLineup() {
return lineup;
}
/**
* <code>optional .LineupInfo lineup = 14;</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 LineupInfoOuterClass.LineupInfo getMutableLineup() {
bitField0_ |= 0x00000004;
return lineup;
}
/**
* <code>optional .LineupInfo lineup = 14;</code>
* @param value the lineup to set
* @return this
*/
public EnterSceneByServerScNotify setLineup(final LineupInfoOuterClass.LineupInfo value) {
bitField0_ |= 0x00000004;
lineup.copyFrom(value);
return this;
}
@Override
public EnterSceneByServerScNotify copyFrom(final EnterSceneByServerScNotify other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
reason = other.reason;
lineup.copyFrom(other.lineup);
scene.copyFrom(other.scene);
lineup.copyFrom(other.lineup);
}
return this;
}
@@ -241,12 +241,12 @@ public final class EnterSceneByServerScNotifyOuterClass {
if (other.hasReason()) {
setReasonValue(other.reason);
}
if (other.hasLineup()) {
getMutableLineup().mergeFrom(other.lineup);
}
if (other.hasScene()) {
getMutableScene().mergeFrom(other.scene);
}
if (other.hasLineup()) {
getMutableLineup().mergeFrom(other.lineup);
}
return this;
}
@@ -258,8 +258,8 @@ public final class EnterSceneByServerScNotifyOuterClass {
cachedSize = -1;
bitField0_ = 0;
reason = 0;
lineup.clear();
scene.clear();
lineup.clear();
return this;
}
@@ -270,8 +270,8 @@ public final class EnterSceneByServerScNotifyOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
lineup.clearQuick();
scene.clearQuick();
lineup.clearQuick();
return this;
}
@@ -286,23 +286,23 @@ public final class EnterSceneByServerScNotifyOuterClass {
EnterSceneByServerScNotify other = (EnterSceneByServerScNotify) o;
return bitField0_ == other.bitField0_
&& (!hasReason() || reason == other.reason)
&& (!hasLineup() || lineup.equals(other.lineup))
&& (!hasScene() || scene.equals(other.scene));
&& (!hasScene() || scene.equals(other.scene))
&& (!hasLineup() || lineup.equals(other.lineup));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 8);
output.writeRawByte((byte) 88);
output.writeEnumNoTag(reason);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 58);
output.writeMessageNoTag(lineup);
output.writeMessageNoTag(scene);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 82);
output.writeMessageNoTag(scene);
output.writeRawByte((byte) 114);
output.writeMessageNoTag(lineup);
}
}
@@ -313,10 +313,10 @@ public final class EnterSceneByServerScNotifyOuterClass {
size += 1 + ProtoSink.computeEnumSizeNoTag(reason);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(lineup);
size += 1 + ProtoSink.computeMessageSizeNoTag(scene);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(scene);
size += 1 + ProtoSink.computeMessageSizeNoTag(lineup);
}
return size;
}
@@ -328,7 +328,7 @@ public final class EnterSceneByServerScNotifyOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 8: {
case 88: {
// reason
final int value = input.readInt32();
if (EnterSceneReasonOuterClass.EnterSceneReason.forNumber(value) != null) {
@@ -341,17 +341,17 @@ public final class EnterSceneByServerScNotifyOuterClass {
}
}
case 58: {
// lineup
input.readMessage(lineup);
// scene
input.readMessage(scene);
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 82) {
if (tag != 114) {
break;
}
}
case 82: {
// scene
input.readMessage(scene);
case 114: {
// lineup
input.readMessage(lineup);
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 0) {
@@ -379,10 +379,10 @@ public final class EnterSceneByServerScNotifyOuterClass {
output.writeEnum(FieldNames.reason, reason, EnterSceneReasonOuterClass.EnterSceneReason.converter());
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeMessage(FieldNames.lineup, lineup);
output.writeMessage(FieldNames.scene, scene);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeMessage(FieldNames.scene, scene);
output.writeMessage(FieldNames.lineup, lineup);
}
output.endObject();
}
@@ -410,10 +410,10 @@ public final class EnterSceneByServerScNotifyOuterClass {
}
break;
}
case -1102671473: {
if (input.isAtField(FieldNames.lineup)) {
case 109254796: {
if (input.isAtField(FieldNames.scene)) {
if (!input.trySkipNullValue()) {
input.readMessage(lineup);
input.readMessage(scene);
bitField0_ |= 0x00000002;
}
} else {
@@ -421,10 +421,10 @@ public final class EnterSceneByServerScNotifyOuterClass {
}
break;
}
case 109254796: {
if (input.isAtField(FieldNames.scene)) {
case -1102671473: {
if (input.isAtField(FieldNames.lineup)) {
if (!input.trySkipNullValue()) {
input.readMessage(scene);
input.readMessage(lineup);
bitField0_ |= 0x00000004;
}
} else {
@@ -487,9 +487,9 @@ public final class EnterSceneByServerScNotifyOuterClass {
static class FieldNames {
static final FieldName reason = FieldName.forField("reason");
static final FieldName lineup = FieldName.forField("lineup");
static final FieldName scene = FieldName.forField("scene");
static final FieldName lineup = FieldName.forField("lineup");
}
}
}

View File

@@ -19,12 +19,12 @@ public final class EnterSceneCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 entry_id = 4;</code>
* <code>optional uint32 entry_id = 3;</code>
*/
private int entryId;
/**
* <code>optional uint32 teleport_id = 10;</code>
* <code>optional uint32 teleport_id = 9;</code>
*/
private int teleportId;
@@ -39,7 +39,7 @@ public final class EnterSceneCsReqOuterClass {
}
/**
* <code>optional uint32 entry_id = 4;</code>
* <code>optional uint32 entry_id = 3;</code>
* @return whether the entryId field is set
*/
public boolean hasEntryId() {
@@ -47,7 +47,7 @@ public final class EnterSceneCsReqOuterClass {
}
/**
* <code>optional uint32 entry_id = 4;</code>
* <code>optional uint32 entry_id = 3;</code>
* @return this
*/
public EnterSceneCsReq clearEntryId() {
@@ -57,7 +57,7 @@ public final class EnterSceneCsReqOuterClass {
}
/**
* <code>optional uint32 entry_id = 4;</code>
* <code>optional uint32 entry_id = 3;</code>
* @return the entryId
*/
public int getEntryId() {
@@ -65,7 +65,7 @@ public final class EnterSceneCsReqOuterClass {
}
/**
* <code>optional uint32 entry_id = 4;</code>
* <code>optional uint32 entry_id = 3;</code>
* @param value the entryId to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class EnterSceneCsReqOuterClass {
}
/**
* <code>optional uint32 teleport_id = 10;</code>
* <code>optional uint32 teleport_id = 9;</code>
* @return whether the teleportId field is set
*/
public boolean hasTeleportId() {
@@ -84,7 +84,7 @@ public final class EnterSceneCsReqOuterClass {
}
/**
* <code>optional uint32 teleport_id = 10;</code>
* <code>optional uint32 teleport_id = 9;</code>
* @return this
*/
public EnterSceneCsReq clearTeleportId() {
@@ -94,7 +94,7 @@ public final class EnterSceneCsReqOuterClass {
}
/**
* <code>optional uint32 teleport_id = 10;</code>
* <code>optional uint32 teleport_id = 9;</code>
* @return the teleportId
*/
public int getTeleportId() {
@@ -102,7 +102,7 @@ public final class EnterSceneCsReqOuterClass {
}
/**
* <code>optional uint32 teleport_id = 10;</code>
* <code>optional uint32 teleport_id = 9;</code>
* @param value the teleportId to set
* @return this
*/
@@ -177,11 +177,11 @@ public final class EnterSceneCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 32);
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(entryId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 80);
output.writeRawByte((byte) 72);
output.writeUInt32NoTag(teleportId);
}
}
@@ -205,16 +205,16 @@ public final class EnterSceneCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 32: {
case 24: {
// entryId
entryId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 80) {
if (tag != 72) {
break;
}
}
case 80: {
case 72: {
// teleportId
teleportId = input.readUInt32();
bitField0_ |= 0x00000002;

View File

@@ -67,7 +67,7 @@ public final class EnterSceneReasonOuterClass {
/**
* @return a converter that maps between this enum's numeric and text representations
*/
public static EnumConverter<EnterSceneReason> converter() {
public static ProtoEnum.EnumConverter<EnterSceneReason> converter() {
return EnterSceneReasonConverter.INSTANCE;
}
@@ -89,7 +89,7 @@ public final class EnterSceneReasonOuterClass {
return value == null ? other : value;
}
enum EnterSceneReasonConverter implements EnumConverter<EnterSceneReason> {
enum EnterSceneReasonConverter implements ProtoEnum.EnumConverter<EnterSceneReason> {
INSTANCE;
private static final EnterSceneReason[] lookup = new EnterSceneReason[3];

View File

@@ -19,15 +19,15 @@ public final class EnteredSceneInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 plane_id = 6;</code>
*/
private int planeId;
/**
* <code>optional uint32 floor_id = 11;</code>
* <code>optional uint32 floor_id = 6;</code>
*/
private int floorId;
/**
* <code>optional uint32 plane_id = 12;</code>
*/
private int planeId;
private EnteredSceneInfo() {
}
@@ -39,62 +39,25 @@ public final class EnteredSceneInfoOuterClass {
}
/**
* <code>optional uint32 plane_id = 6;</code>
* @return whether the planeId field is set
* <code>optional uint32 floor_id = 6;</code>
* @return whether the floorId field is set
*/
public boolean hasPlaneId() {
public boolean hasFloorId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 plane_id = 6;</code>
* @return this
*/
public EnteredSceneInfo clearPlaneId() {
bitField0_ &= ~0x00000001;
planeId = 0;
return this;
}
/**
* <code>optional uint32 plane_id = 6;</code>
* @return the planeId
*/
public int getPlaneId() {
return planeId;
}
/**
* <code>optional uint32 plane_id = 6;</code>
* @param value the planeId to set
* @return this
*/
public EnteredSceneInfo setPlaneId(final int value) {
bitField0_ |= 0x00000001;
planeId = value;
return this;
}
/**
* <code>optional uint32 floor_id = 11;</code>
* @return whether the floorId field is set
*/
public boolean hasFloorId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 floor_id = 11;</code>
* <code>optional uint32 floor_id = 6;</code>
* @return this
*/
public EnteredSceneInfo clearFloorId() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
floorId = 0;
return this;
}
/**
* <code>optional uint32 floor_id = 11;</code>
* <code>optional uint32 floor_id = 6;</code>
* @return the floorId
*/
public int getFloorId() {
@@ -102,23 +65,60 @@ public final class EnteredSceneInfoOuterClass {
}
/**
* <code>optional uint32 floor_id = 11;</code>
* <code>optional uint32 floor_id = 6;</code>
* @param value the floorId to set
* @return this
*/
public EnteredSceneInfo setFloorId(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
floorId = value;
return this;
}
/**
* <code>optional uint32 plane_id = 12;</code>
* @return whether the planeId field is set
*/
public boolean hasPlaneId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 plane_id = 12;</code>
* @return this
*/
public EnteredSceneInfo clearPlaneId() {
bitField0_ &= ~0x00000002;
planeId = 0;
return this;
}
/**
* <code>optional uint32 plane_id = 12;</code>
* @return the planeId
*/
public int getPlaneId() {
return planeId;
}
/**
* <code>optional uint32 plane_id = 12;</code>
* @param value the planeId to set
* @return this
*/
public EnteredSceneInfo setPlaneId(final int value) {
bitField0_ |= 0x00000002;
planeId = value;
return this;
}
@Override
public EnteredSceneInfo copyFrom(final EnteredSceneInfo other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
planeId = other.planeId;
floorId = other.floorId;
planeId = other.planeId;
}
return this;
}
@@ -129,12 +129,12 @@ public final class EnteredSceneInfoOuterClass {
return this;
}
cachedSize = -1;
if (other.hasPlaneId()) {
setPlaneId(other.planeId);
}
if (other.hasFloorId()) {
setFloorId(other.floorId);
}
if (other.hasPlaneId()) {
setPlaneId(other.planeId);
}
return this;
}
@@ -145,8 +145,8 @@ public final class EnteredSceneInfoOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
planeId = 0;
floorId = 0;
planeId = 0;
return this;
}
@@ -170,19 +170,19 @@ public final class EnteredSceneInfoOuterClass {
}
EnteredSceneInfo other = (EnteredSceneInfo) o;
return bitField0_ == other.bitField0_
&& (!hasPlaneId() || planeId == other.planeId)
&& (!hasFloorId() || floorId == other.floorId);
&& (!hasFloorId() || floorId == other.floorId)
&& (!hasPlaneId() || planeId == other.planeId);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 48);
output.writeUInt32NoTag(planeId);
output.writeUInt32NoTag(floorId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 88);
output.writeUInt32NoTag(floorId);
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(planeId);
}
}
@@ -190,10 +190,10 @@ public final class EnteredSceneInfoOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(planeId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(floorId);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(floorId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(planeId);
}
return size;
}
@@ -206,17 +206,17 @@ public final class EnteredSceneInfoOuterClass {
while (true) {
switch (tag) {
case 48: {
// planeId
planeId = input.readUInt32();
// floorId
floorId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 88) {
if (tag != 96) {
break;
}
}
case 88: {
// floorId
floorId = input.readUInt32();
case 96: {
// planeId
planeId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 0) {
@@ -241,10 +241,10 @@ public final class EnteredSceneInfoOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.planeId, planeId);
output.writeUInt32(FieldNames.floorId, floorId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.floorId, floorId);
output.writeUInt32(FieldNames.planeId, planeId);
}
output.endObject();
}
@@ -256,11 +256,11 @@ public final class EnteredSceneInfoOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -493896553:
case 1869097438: {
if (input.isAtField(FieldNames.planeId)) {
case -766027193:
case 2022982190: {
if (input.isAtField(FieldNames.floorId)) {
if (!input.trySkipNullValue()) {
planeId = input.readUInt32();
floorId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -268,11 +268,11 @@ public final class EnteredSceneInfoOuterClass {
}
break;
}
case -766027193:
case 2022982190: {
if (input.isAtField(FieldNames.floorId)) {
case -493896553:
case 1869097438: {
if (input.isAtField(FieldNames.planeId)) {
if (!input.trySkipNullValue()) {
floorId = input.readUInt32();
planeId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -333,9 +333,9 @@ public final class EnteredSceneInfoOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName planeId = FieldName.forField("planeId", "plane_id");
static final FieldName floorId = FieldName.forField("floorId", "floor_id");
static final FieldName planeId = FieldName.forField("planeId", "plane_id");
}
}
}

View File

@@ -19,17 +19,17 @@ public final class EntityBuffChangeInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 entity_id = 12;</code>
*/
private int entityId;
/**
* <code>optional uint32 remove_buff_id = 15;</code>
* <code>optional uint32 remove_buff_id = 9;</code>
*/
private int removeBuffId;
/**
* <code>optional .BuffInfo add_buff_info = 5;</code>
* <code>optional uint32 entity_id = 13;</code>
*/
private int entityId;
/**
* <code>optional .BuffInfo add_buff_info = 8;</code>
*/
private final BuffInfoOuterClass.BuffInfo addBuffInfo = BuffInfoOuterClass.BuffInfo.newInstance();
@@ -44,62 +44,25 @@ public final class EntityBuffChangeInfoOuterClass {
}
/**
* <code>optional uint32 entity_id = 12;</code>
* @return whether the entityId field is set
* <code>optional uint32 remove_buff_id = 9;</code>
* @return whether the removeBuffId field is set
*/
public boolean hasEntityId() {
public boolean hasRemoveBuffId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 entity_id = 12;</code>
* @return this
*/
public EntityBuffChangeInfo clearEntityId() {
bitField0_ &= ~0x00000001;
entityId = 0;
return this;
}
/**
* <code>optional uint32 entity_id = 12;</code>
* @return the entityId
*/
public int getEntityId() {
return entityId;
}
/**
* <code>optional uint32 entity_id = 12;</code>
* @param value the entityId to set
* @return this
*/
public EntityBuffChangeInfo setEntityId(final int value) {
bitField0_ |= 0x00000001;
entityId = value;
return this;
}
/**
* <code>optional uint32 remove_buff_id = 15;</code>
* @return whether the removeBuffId field is set
*/
public boolean hasRemoveBuffId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 remove_buff_id = 15;</code>
* <code>optional uint32 remove_buff_id = 9;</code>
* @return this
*/
public EntityBuffChangeInfo clearRemoveBuffId() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
removeBuffId = 0;
return this;
}
/**
* <code>optional uint32 remove_buff_id = 15;</code>
* <code>optional uint32 remove_buff_id = 9;</code>
* @return the removeBuffId
*/
public int getRemoveBuffId() {
@@ -107,18 +70,55 @@ public final class EntityBuffChangeInfoOuterClass {
}
/**
* <code>optional uint32 remove_buff_id = 15;</code>
* <code>optional uint32 remove_buff_id = 9;</code>
* @param value the removeBuffId to set
* @return this
*/
public EntityBuffChangeInfo setRemoveBuffId(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
removeBuffId = value;
return this;
}
/**
* <code>optional .BuffInfo add_buff_info = 5;</code>
* <code>optional uint32 entity_id = 13;</code>
* @return whether the entityId field is set
*/
public boolean hasEntityId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 entity_id = 13;</code>
* @return this
*/
public EntityBuffChangeInfo clearEntityId() {
bitField0_ &= ~0x00000002;
entityId = 0;
return this;
}
/**
* <code>optional uint32 entity_id = 13;</code>
* @return the entityId
*/
public int getEntityId() {
return entityId;
}
/**
* <code>optional uint32 entity_id = 13;</code>
* @param value the entityId to set
* @return this
*/
public EntityBuffChangeInfo setEntityId(final int value) {
bitField0_ |= 0x00000002;
entityId = value;
return this;
}
/**
* <code>optional .BuffInfo add_buff_info = 8;</code>
* @return whether the addBuffInfo field is set
*/
public boolean hasAddBuffInfo() {
@@ -126,7 +126,7 @@ public final class EntityBuffChangeInfoOuterClass {
}
/**
* <code>optional .BuffInfo add_buff_info = 5;</code>
* <code>optional .BuffInfo add_buff_info = 8;</code>
* @return this
*/
public EntityBuffChangeInfo clearAddBuffInfo() {
@@ -136,7 +136,7 @@ public final class EntityBuffChangeInfoOuterClass {
}
/**
* <code>optional .BuffInfo add_buff_info = 5;</code>
* <code>optional .BuffInfo add_buff_info = 8;</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.
@@ -150,7 +150,7 @@ public final class EntityBuffChangeInfoOuterClass {
}
/**
* <code>optional .BuffInfo add_buff_info = 5;</code>
* <code>optional .BuffInfo add_buff_info = 8;</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
@@ -164,7 +164,7 @@ public final class EntityBuffChangeInfoOuterClass {
}
/**
* <code>optional .BuffInfo add_buff_info = 5;</code>
* <code>optional .BuffInfo add_buff_info = 8;</code>
* @param value the addBuffInfo to set
* @return this
*/
@@ -179,8 +179,8 @@ public final class EntityBuffChangeInfoOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
entityId = other.entityId;
removeBuffId = other.removeBuffId;
entityId = other.entityId;
addBuffInfo.copyFrom(other.addBuffInfo);
}
return this;
@@ -192,12 +192,12 @@ public final class EntityBuffChangeInfoOuterClass {
return this;
}
cachedSize = -1;
if (other.hasEntityId()) {
setEntityId(other.entityId);
}
if (other.hasRemoveBuffId()) {
setRemoveBuffId(other.removeBuffId);
}
if (other.hasEntityId()) {
setEntityId(other.entityId);
}
if (other.hasAddBuffInfo()) {
getMutableAddBuffInfo().mergeFrom(other.addBuffInfo);
}
@@ -211,8 +211,8 @@ public final class EntityBuffChangeInfoOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
entityId = 0;
removeBuffId = 0;
entityId = 0;
addBuffInfo.clear();
return this;
}
@@ -238,23 +238,23 @@ public final class EntityBuffChangeInfoOuterClass {
}
EntityBuffChangeInfo other = (EntityBuffChangeInfo) o;
return bitField0_ == other.bitField0_
&& (!hasEntityId() || entityId == other.entityId)
&& (!hasRemoveBuffId() || removeBuffId == other.removeBuffId)
&& (!hasEntityId() || entityId == other.entityId)
&& (!hasAddBuffInfo() || addBuffInfo.equals(other.addBuffInfo));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(entityId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 120);
output.writeRawByte((byte) 72);
output.writeUInt32NoTag(removeBuffId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(entityId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 42);
output.writeRawByte((byte) 66);
output.writeMessageNoTag(addBuffInfo);
}
}
@@ -263,10 +263,10 @@ public final class EntityBuffChangeInfoOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(entityId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(removeBuffId);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(removeBuffId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(entityId);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(addBuffInfo);
@@ -281,25 +281,25 @@ public final class EntityBuffChangeInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 96: {
// entityId
entityId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 120) {
break;
}
}
case 120: {
case 72: {
// removeBuffId
removeBuffId = input.readUInt32();
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 42) {
if (tag != 104) {
break;
}
}
case 42: {
case 104: {
// entityId
entityId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 66) {
break;
}
}
case 66: {
// addBuffInfo
input.readMessage(addBuffInfo);
bitField0_ |= 0x00000004;
@@ -326,10 +326,10 @@ public final class EntityBuffChangeInfoOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.entityId, entityId);
output.writeUInt32(FieldNames.removeBuffId, removeBuffId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.removeBuffId, removeBuffId);
output.writeUInt32(FieldNames.entityId, entityId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeMessage(FieldNames.addBuffInfo, addBuffInfo);
@@ -344,11 +344,11 @@ public final class EntityBuffChangeInfoOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -2102099874:
case -740565257: {
if (input.isAtField(FieldNames.entityId)) {
case -1339555214:
case 927119308: {
if (input.isAtField(FieldNames.removeBuffId)) {
if (!input.trySkipNullValue()) {
entityId = input.readUInt32();
removeBuffId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -356,11 +356,11 @@ public final class EntityBuffChangeInfoOuterClass {
}
break;
}
case -1339555214:
case 927119308: {
if (input.isAtField(FieldNames.removeBuffId)) {
case -2102099874:
case -740565257: {
if (input.isAtField(FieldNames.entityId)) {
if (!input.trySkipNullValue()) {
removeBuffId = input.readUInt32();
entityId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -433,10 +433,10 @@ public final class EntityBuffChangeInfoOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName entityId = FieldName.forField("entityId", "entity_id");
static final FieldName removeBuffId = FieldName.forField("removeBuffId", "remove_buff_id");
static final FieldName entityId = FieldName.forField("entityId", "entity_id");
static final FieldName addBuffInfo = FieldName.forField("addBuffInfo", "add_buff_info");
}
}

View File

@@ -19,17 +19,17 @@ public final class EntityMotionOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 entity_id = 4;</code>
*/
private int entityId;
/**
* <code>optional uint32 map_layer = 6;</code>
* <code>optional uint32 map_layer = 11;</code>
*/
private int mapLayer;
/**
* <code>optional .MotionInfo motion = 15;</code>
* <code>optional uint32 entity_id = 15;</code>
*/
private int entityId;
/**
* <code>optional .MotionInfo motion = 1;</code>
*/
private final MotionInfoOuterClass.MotionInfo motion = MotionInfoOuterClass.MotionInfo.newInstance();
@@ -44,62 +44,25 @@ public final class EntityMotionOuterClass {
}
/**
* <code>optional uint32 entity_id = 4;</code>
* @return whether the entityId field is set
* <code>optional uint32 map_layer = 11;</code>
* @return whether the mapLayer field is set
*/
public boolean hasEntityId() {
public boolean hasMapLayer() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 entity_id = 4;</code>
* @return this
*/
public EntityMotion clearEntityId() {
bitField0_ &= ~0x00000001;
entityId = 0;
return this;
}
/**
* <code>optional uint32 entity_id = 4;</code>
* @return the entityId
*/
public int getEntityId() {
return entityId;
}
/**
* <code>optional uint32 entity_id = 4;</code>
* @param value the entityId to set
* @return this
*/
public EntityMotion setEntityId(final int value) {
bitField0_ |= 0x00000001;
entityId = value;
return this;
}
/**
* <code>optional uint32 map_layer = 6;</code>
* @return whether the mapLayer field is set
*/
public boolean hasMapLayer() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 map_layer = 6;</code>
* <code>optional uint32 map_layer = 11;</code>
* @return this
*/
public EntityMotion clearMapLayer() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
mapLayer = 0;
return this;
}
/**
* <code>optional uint32 map_layer = 6;</code>
* <code>optional uint32 map_layer = 11;</code>
* @return the mapLayer
*/
public int getMapLayer() {
@@ -107,18 +70,55 @@ public final class EntityMotionOuterClass {
}
/**
* <code>optional uint32 map_layer = 6;</code>
* <code>optional uint32 map_layer = 11;</code>
* @param value the mapLayer to set
* @return this
*/
public EntityMotion setMapLayer(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
mapLayer = value;
return this;
}
/**
* <code>optional .MotionInfo motion = 15;</code>
* <code>optional uint32 entity_id = 15;</code>
* @return whether the entityId field is set
*/
public boolean hasEntityId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 entity_id = 15;</code>
* @return this
*/
public EntityMotion clearEntityId() {
bitField0_ &= ~0x00000002;
entityId = 0;
return this;
}
/**
* <code>optional uint32 entity_id = 15;</code>
* @return the entityId
*/
public int getEntityId() {
return entityId;
}
/**
* <code>optional uint32 entity_id = 15;</code>
* @param value the entityId to set
* @return this
*/
public EntityMotion setEntityId(final int value) {
bitField0_ |= 0x00000002;
entityId = value;
return this;
}
/**
* <code>optional .MotionInfo motion = 1;</code>
* @return whether the motion field is set
*/
public boolean hasMotion() {
@@ -126,7 +126,7 @@ public final class EntityMotionOuterClass {
}
/**
* <code>optional .MotionInfo motion = 15;</code>
* <code>optional .MotionInfo motion = 1;</code>
* @return this
*/
public EntityMotion clearMotion() {
@@ -136,7 +136,7 @@ public final class EntityMotionOuterClass {
}
/**
* <code>optional .MotionInfo motion = 15;</code>
* <code>optional .MotionInfo motion = 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.
@@ -150,7 +150,7 @@ public final class EntityMotionOuterClass {
}
/**
* <code>optional .MotionInfo motion = 15;</code>
* <code>optional .MotionInfo motion = 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
@@ -164,7 +164,7 @@ public final class EntityMotionOuterClass {
}
/**
* <code>optional .MotionInfo motion = 15;</code>
* <code>optional .MotionInfo motion = 1;</code>
* @param value the motion to set
* @return this
*/
@@ -179,8 +179,8 @@ public final class EntityMotionOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
entityId = other.entityId;
mapLayer = other.mapLayer;
entityId = other.entityId;
motion.copyFrom(other.motion);
}
return this;
@@ -192,12 +192,12 @@ public final class EntityMotionOuterClass {
return this;
}
cachedSize = -1;
if (other.hasEntityId()) {
setEntityId(other.entityId);
}
if (other.hasMapLayer()) {
setMapLayer(other.mapLayer);
}
if (other.hasEntityId()) {
setEntityId(other.entityId);
}
if (other.hasMotion()) {
getMutableMotion().mergeFrom(other.motion);
}
@@ -211,8 +211,8 @@ public final class EntityMotionOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
entityId = 0;
mapLayer = 0;
entityId = 0;
motion.clear();
return this;
}
@@ -238,23 +238,23 @@ public final class EntityMotionOuterClass {
}
EntityMotion other = (EntityMotion) o;
return bitField0_ == other.bitField0_
&& (!hasEntityId() || entityId == other.entityId)
&& (!hasMapLayer() || mapLayer == other.mapLayer)
&& (!hasEntityId() || entityId == other.entityId)
&& (!hasMotion() || motion.equals(other.motion));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 32);
output.writeUInt32NoTag(entityId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 48);
output.writeRawByte((byte) 88);
output.writeUInt32NoTag(mapLayer);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 120);
output.writeUInt32NoTag(entityId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 122);
output.writeRawByte((byte) 10);
output.writeMessageNoTag(motion);
}
}
@@ -263,10 +263,10 @@ public final class EntityMotionOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(entityId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(mapLayer);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(mapLayer);
size += 1 + ProtoSink.computeUInt32SizeNoTag(entityId);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(motion);
@@ -281,25 +281,25 @@ public final class EntityMotionOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 32: {
// entityId
entityId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 48) {
break;
}
}
case 48: {
case 88: {
// mapLayer
mapLayer = input.readUInt32();
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 122) {
if (tag != 120) {
break;
}
}
case 122: {
case 120: {
// entityId
entityId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 10) {
break;
}
}
case 10: {
// motion
input.readMessage(motion);
bitField0_ |= 0x00000004;
@@ -326,10 +326,10 @@ public final class EntityMotionOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.entityId, entityId);
output.writeUInt32(FieldNames.mapLayer, mapLayer);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.mapLayer, mapLayer);
output.writeUInt32(FieldNames.entityId, entityId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeMessage(FieldNames.motion, motion);
@@ -344,11 +344,11 @@ public final class EntityMotionOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -2102099874:
case -740565257: {
if (input.isAtField(FieldNames.entityId)) {
case 160971093:
case 1248553134: {
if (input.isAtField(FieldNames.mapLayer)) {
if (!input.trySkipNullValue()) {
entityId = input.readUInt32();
mapLayer = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -356,11 +356,11 @@ public final class EntityMotionOuterClass {
}
break;
}
case 160971093:
case 1248553134: {
if (input.isAtField(FieldNames.mapLayer)) {
case -2102099874:
case -740565257: {
if (input.isAtField(FieldNames.entityId)) {
if (!input.trySkipNullValue()) {
mapLayer = input.readUInt32();
entityId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -431,10 +431,10 @@ public final class EntityMotionOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName entityId = FieldName.forField("entityId", "entity_id");
static final FieldName mapLayer = FieldName.forField("mapLayer", "map_layer");
static final FieldName entityId = FieldName.forField("entityId", "entity_id");
static final FieldName motion = FieldName.forField("motion");
}
}

View File

@@ -19,12 +19,12 @@ public final class EquipRelicOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 slot = 1;</code>
* <code>optional uint32 slot = 9;</code>
*/
private int slot;
/**
* <code>optional uint32 relic_unique_id = 14;</code>
* <code>optional uint32 relic_unique_id = 13;</code>
*/
private int relicUniqueId;
@@ -39,7 +39,7 @@ public final class EquipRelicOuterClass {
}
/**
* <code>optional uint32 slot = 1;</code>
* <code>optional uint32 slot = 9;</code>
* @return whether the slot field is set
*/
public boolean hasSlot() {
@@ -47,7 +47,7 @@ public final class EquipRelicOuterClass {
}
/**
* <code>optional uint32 slot = 1;</code>
* <code>optional uint32 slot = 9;</code>
* @return this
*/
public EquipRelic clearSlot() {
@@ -57,7 +57,7 @@ public final class EquipRelicOuterClass {
}
/**
* <code>optional uint32 slot = 1;</code>
* <code>optional uint32 slot = 9;</code>
* @return the slot
*/
public int getSlot() {
@@ -65,7 +65,7 @@ public final class EquipRelicOuterClass {
}
/**
* <code>optional uint32 slot = 1;</code>
* <code>optional uint32 slot = 9;</code>
* @param value the slot to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class EquipRelicOuterClass {
}
/**
* <code>optional uint32 relic_unique_id = 14;</code>
* <code>optional uint32 relic_unique_id = 13;</code>
* @return whether the relicUniqueId field is set
*/
public boolean hasRelicUniqueId() {
@@ -84,7 +84,7 @@ public final class EquipRelicOuterClass {
}
/**
* <code>optional uint32 relic_unique_id = 14;</code>
* <code>optional uint32 relic_unique_id = 13;</code>
* @return this
*/
public EquipRelic clearRelicUniqueId() {
@@ -94,7 +94,7 @@ public final class EquipRelicOuterClass {
}
/**
* <code>optional uint32 relic_unique_id = 14;</code>
* <code>optional uint32 relic_unique_id = 13;</code>
* @return the relicUniqueId
*/
public int getRelicUniqueId() {
@@ -102,7 +102,7 @@ public final class EquipRelicOuterClass {
}
/**
* <code>optional uint32 relic_unique_id = 14;</code>
* <code>optional uint32 relic_unique_id = 13;</code>
* @param value the relicUniqueId to set
* @return this
*/
@@ -177,11 +177,11 @@ public final class EquipRelicOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 8);
output.writeRawByte((byte) 72);
output.writeUInt32NoTag(slot);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 112);
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(relicUniqueId);
}
}
@@ -205,16 +205,16 @@ public final class EquipRelicOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 8: {
case 72: {
// slot
slot = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 112) {
if (tag != 104) {
break;
}
}
case 112: {
case 104: {
// relicUniqueId
relicUniqueId = input.readUInt32();
bitField0_ |= 0x00000002;

View File

@@ -19,42 +19,42 @@ public final class EquipmentOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 promotion = 1;</code>
*/
private int promotion;
/**
* <code>optional uint32 rank = 3;</code>
*/
private int rank;
/**
* <code>optional uint32 equip_avatar_id = 4;</code>
* <code>optional uint32 equip_avatar_id = 5;</code>
*/
private int equipAvatarId;
/**
* <code>optional uint32 unique_id = 6;</code>
*/
private int uniqueId;
/**
* <code>optional uint32 exp = 9;</code>
*/
private int exp;
/**
* <code>optional uint32 level = 13;</code>
* <code>optional uint32 level = 6;</code>
*/
private int level;
/**
* <code>optional uint32 tid = 14;</code>
* <code>optional uint32 rank = 7;</code>
*/
private int rank;
/**
* <code>optional uint32 unique_id = 8;</code>
*/
private int uniqueId;
/**
* <code>optional uint32 exp = 10;</code>
*/
private int exp;
/**
* <code>optional uint32 promotion = 12;</code>
*/
private int promotion;
/**
* <code>optional uint32 tid = 13;</code>
*/
private int tid;
/**
* <code>optional bool is_protected = 15;</code>
* <code>optional bool is_protected = 14;</code>
*/
private boolean isProtected;
@@ -69,99 +69,25 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional uint32 promotion = 1;</code>
* @return whether the promotion field is set
* <code>optional uint32 equip_avatar_id = 5;</code>
* @return whether the equipAvatarId field is set
*/
public boolean hasPromotion() {
public boolean hasEquipAvatarId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 promotion = 1;</code>
* @return this
*/
public Equipment clearPromotion() {
bitField0_ &= ~0x00000001;
promotion = 0;
return this;
}
/**
* <code>optional uint32 promotion = 1;</code>
* @return the promotion
*/
public int getPromotion() {
return promotion;
}
/**
* <code>optional uint32 promotion = 1;</code>
* @param value the promotion to set
* @return this
*/
public Equipment setPromotion(final int value) {
bitField0_ |= 0x00000001;
promotion = value;
return this;
}
/**
* <code>optional uint32 rank = 3;</code>
* @return whether the rank field is set
*/
public boolean hasRank() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 rank = 3;</code>
* @return this
*/
public Equipment clearRank() {
bitField0_ &= ~0x00000002;
rank = 0;
return this;
}
/**
* <code>optional uint32 rank = 3;</code>
* @return the rank
*/
public int getRank() {
return rank;
}
/**
* <code>optional uint32 rank = 3;</code>
* @param value the rank to set
* @return this
*/
public Equipment setRank(final int value) {
bitField0_ |= 0x00000002;
rank = value;
return this;
}
/**
* <code>optional uint32 equip_avatar_id = 4;</code>
* @return whether the equipAvatarId field is set
*/
public boolean hasEquipAvatarId() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 equip_avatar_id = 4;</code>
* <code>optional uint32 equip_avatar_id = 5;</code>
* @return this
*/
public Equipment clearEquipAvatarId() {
bitField0_ &= ~0x00000004;
bitField0_ &= ~0x00000001;
equipAvatarId = 0;
return this;
}
/**
* <code>optional uint32 equip_avatar_id = 4;</code>
* <code>optional uint32 equip_avatar_id = 5;</code>
* @return the equipAvatarId
*/
public int getEquipAvatarId() {
@@ -169,18 +95,92 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional uint32 equip_avatar_id = 4;</code>
* <code>optional uint32 equip_avatar_id = 5;</code>
* @param value the equipAvatarId to set
* @return this
*/
public Equipment setEquipAvatarId(final int value) {
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000001;
equipAvatarId = value;
return this;
}
/**
* <code>optional uint32 unique_id = 6;</code>
* <code>optional uint32 level = 6;</code>
* @return whether the level field is set
*/
public boolean hasLevel() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 level = 6;</code>
* @return this
*/
public Equipment clearLevel() {
bitField0_ &= ~0x00000002;
level = 0;
return this;
}
/**
* <code>optional uint32 level = 6;</code>
* @return the level
*/
public int getLevel() {
return level;
}
/**
* <code>optional uint32 level = 6;</code>
* @param value the level to set
* @return this
*/
public Equipment setLevel(final int value) {
bitField0_ |= 0x00000002;
level = value;
return this;
}
/**
* <code>optional uint32 rank = 7;</code>
* @return whether the rank field is set
*/
public boolean hasRank() {
return (bitField0_ & 0x00000004) != 0;
}
/**
* <code>optional uint32 rank = 7;</code>
* @return this
*/
public Equipment clearRank() {
bitField0_ &= ~0x00000004;
rank = 0;
return this;
}
/**
* <code>optional uint32 rank = 7;</code>
* @return the rank
*/
public int getRank() {
return rank;
}
/**
* <code>optional uint32 rank = 7;</code>
* @param value the rank to set
* @return this
*/
public Equipment setRank(final int value) {
bitField0_ |= 0x00000004;
rank = value;
return this;
}
/**
* <code>optional uint32 unique_id = 8;</code>
* @return whether the uniqueId field is set
*/
public boolean hasUniqueId() {
@@ -188,7 +188,7 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional uint32 unique_id = 6;</code>
* <code>optional uint32 unique_id = 8;</code>
* @return this
*/
public Equipment clearUniqueId() {
@@ -198,7 +198,7 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional uint32 unique_id = 6;</code>
* <code>optional uint32 unique_id = 8;</code>
* @return the uniqueId
*/
public int getUniqueId() {
@@ -206,7 +206,7 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional uint32 unique_id = 6;</code>
* <code>optional uint32 unique_id = 8;</code>
* @param value the uniqueId to set
* @return this
*/
@@ -217,7 +217,7 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional uint32 exp = 9;</code>
* <code>optional uint32 exp = 10;</code>
* @return whether the exp field is set
*/
public boolean hasExp() {
@@ -225,7 +225,7 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional uint32 exp = 9;</code>
* <code>optional uint32 exp = 10;</code>
* @return this
*/
public Equipment clearExp() {
@@ -235,7 +235,7 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional uint32 exp = 9;</code>
* <code>optional uint32 exp = 10;</code>
* @return the exp
*/
public int getExp() {
@@ -243,7 +243,7 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional uint32 exp = 9;</code>
* <code>optional uint32 exp = 10;</code>
* @param value the exp to set
* @return this
*/
@@ -254,44 +254,44 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional uint32 level = 13;</code>
* @return whether the level field is set
* <code>optional uint32 promotion = 12;</code>
* @return whether the promotion field is set
*/
public boolean hasLevel() {
public boolean hasPromotion() {
return (bitField0_ & 0x00000020) != 0;
}
/**
* <code>optional uint32 level = 13;</code>
* <code>optional uint32 promotion = 12;</code>
* @return this
*/
public Equipment clearLevel() {
public Equipment clearPromotion() {
bitField0_ &= ~0x00000020;
level = 0;
promotion = 0;
return this;
}
/**
* <code>optional uint32 level = 13;</code>
* @return the level
* <code>optional uint32 promotion = 12;</code>
* @return the promotion
*/
public int getLevel() {
return level;
public int getPromotion() {
return promotion;
}
/**
* <code>optional uint32 level = 13;</code>
* @param value the level to set
* <code>optional uint32 promotion = 12;</code>
* @param value the promotion to set
* @return this
*/
public Equipment setLevel(final int value) {
public Equipment setPromotion(final int value) {
bitField0_ |= 0x00000020;
level = value;
promotion = value;
return this;
}
/**
* <code>optional uint32 tid = 14;</code>
* <code>optional uint32 tid = 13;</code>
* @return whether the tid field is set
*/
public boolean hasTid() {
@@ -299,7 +299,7 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional uint32 tid = 14;</code>
* <code>optional uint32 tid = 13;</code>
* @return this
*/
public Equipment clearTid() {
@@ -309,7 +309,7 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional uint32 tid = 14;</code>
* <code>optional uint32 tid = 13;</code>
* @return the tid
*/
public int getTid() {
@@ -317,7 +317,7 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional uint32 tid = 14;</code>
* <code>optional uint32 tid = 13;</code>
* @param value the tid to set
* @return this
*/
@@ -328,7 +328,7 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional bool is_protected = 15;</code>
* <code>optional bool is_protected = 14;</code>
* @return whether the isProtected field is set
*/
public boolean hasIsProtected() {
@@ -336,7 +336,7 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional bool is_protected = 15;</code>
* <code>optional bool is_protected = 14;</code>
* @return this
*/
public Equipment clearIsProtected() {
@@ -346,7 +346,7 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional bool is_protected = 15;</code>
* <code>optional bool is_protected = 14;</code>
* @return the isProtected
*/
public boolean getIsProtected() {
@@ -354,7 +354,7 @@ public final class EquipmentOuterClass {
}
/**
* <code>optional bool is_protected = 15;</code>
* <code>optional bool is_protected = 14;</code>
* @param value the isProtected to set
* @return this
*/
@@ -369,12 +369,12 @@ public final class EquipmentOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
promotion = other.promotion;
rank = other.rank;
equipAvatarId = other.equipAvatarId;
level = other.level;
rank = other.rank;
uniqueId = other.uniqueId;
exp = other.exp;
level = other.level;
promotion = other.promotion;
tid = other.tid;
isProtected = other.isProtected;
}
@@ -387,23 +387,23 @@ public final class EquipmentOuterClass {
return this;
}
cachedSize = -1;
if (other.hasPromotion()) {
setPromotion(other.promotion);
if (other.hasEquipAvatarId()) {
setEquipAvatarId(other.equipAvatarId);
}
if (other.hasLevel()) {
setLevel(other.level);
}
if (other.hasRank()) {
setRank(other.rank);
}
if (other.hasEquipAvatarId()) {
setEquipAvatarId(other.equipAvatarId);
}
if (other.hasUniqueId()) {
setUniqueId(other.uniqueId);
}
if (other.hasExp()) {
setExp(other.exp);
}
if (other.hasLevel()) {
setLevel(other.level);
if (other.hasPromotion()) {
setPromotion(other.promotion);
}
if (other.hasTid()) {
setTid(other.tid);
@@ -421,12 +421,12 @@ public final class EquipmentOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
promotion = 0;
rank = 0;
equipAvatarId = 0;
level = 0;
rank = 0;
uniqueId = 0;
exp = 0;
level = 0;
promotion = 0;
tid = 0;
isProtected = false;
return this;
@@ -452,12 +452,12 @@ public final class EquipmentOuterClass {
}
Equipment other = (Equipment) o;
return bitField0_ == other.bitField0_
&& (!hasPromotion() || promotion == other.promotion)
&& (!hasRank() || rank == other.rank)
&& (!hasEquipAvatarId() || equipAvatarId == other.equipAvatarId)
&& (!hasLevel() || level == other.level)
&& (!hasRank() || rank == other.rank)
&& (!hasUniqueId() || uniqueId == other.uniqueId)
&& (!hasExp() || exp == other.exp)
&& (!hasLevel() || level == other.level)
&& (!hasPromotion() || promotion == other.promotion)
&& (!hasTid() || tid == other.tid)
&& (!hasIsProtected() || isProtected == other.isProtected);
}
@@ -465,35 +465,35 @@ public final class EquipmentOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 8);
output.writeUInt32NoTag(promotion);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(rank);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 32);
output.writeRawByte((byte) 40);
output.writeUInt32NoTag(equipAvatarId);
}
if ((bitField0_ & 0x00000008) != 0) {
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 48);
output.writeUInt32NoTag(level);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 56);
output.writeUInt32NoTag(rank);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(uniqueId);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 72);
output.writeRawByte((byte) 80);
output.writeUInt32NoTag(exp);
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(level);
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(promotion);
}
if ((bitField0_ & 0x00000040) != 0) {
output.writeRawByte((byte) 112);
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(tid);
}
if ((bitField0_ & 0x00000080) != 0) {
output.writeRawByte((byte) 120);
output.writeRawByte((byte) 112);
output.writeBoolNoTag(isProtected);
}
}
@@ -502,13 +502,13 @@ public final class EquipmentOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(promotion);
size += 1 + ProtoSink.computeUInt32SizeNoTag(equipAvatarId);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(rank);
size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(equipAvatarId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(rank);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(uniqueId);
@@ -517,7 +517,7 @@ public final class EquipmentOuterClass {
size += 1 + ProtoSink.computeUInt32SizeNoTag(exp);
}
if ((bitField0_ & 0x00000020) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
size += 1 + ProtoSink.computeUInt32SizeNoTag(promotion);
}
if ((bitField0_ & 0x00000040) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(tid);
@@ -535,70 +535,70 @@ public final class EquipmentOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 8: {
// promotion
promotion = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 24) {
break;
}
}
case 24: {
// rank
rank = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 32) {
break;
}
}
case 32: {
case 40: {
// equipAvatarId
equipAvatarId = input.readUInt32();
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 48) {
break;
}
}
case 48: {
// level
level = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 56) {
break;
}
}
case 56: {
// rank
rank = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 64) {
break;
}
}
case 64: {
// uniqueId
uniqueId = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 72) {
if (tag != 80) {
break;
}
}
case 72: {
case 80: {
// exp
exp = input.readUInt32();
bitField0_ |= 0x00000010;
tag = input.readTag();
if (tag != 96) {
break;
}
}
case 96: {
// promotion
promotion = input.readUInt32();
bitField0_ |= 0x00000020;
tag = input.readTag();
if (tag != 104) {
break;
}
}
case 104: {
// level
level = input.readUInt32();
bitField0_ |= 0x00000020;
// tid
tid = input.readUInt32();
bitField0_ |= 0x00000040;
tag = input.readTag();
if (tag != 112) {
break;
}
}
case 112: {
// tid
tid = input.readUInt32();
bitField0_ |= 0x00000040;
tag = input.readTag();
if (tag != 120) {
break;
}
}
case 120: {
// isProtected
isProtected = input.readBool();
bitField0_ |= 0x00000080;
@@ -625,13 +625,13 @@ public final class EquipmentOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.promotion, promotion);
output.writeUInt32(FieldNames.equipAvatarId, equipAvatarId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.rank, rank);
output.writeUInt32(FieldNames.level, level);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.equipAvatarId, equipAvatarId);
output.writeUInt32(FieldNames.rank, rank);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.uniqueId, uniqueId);
@@ -640,7 +640,7 @@ public final class EquipmentOuterClass {
output.writeUInt32(FieldNames.exp, exp);
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeUInt32(FieldNames.level, level);
output.writeUInt32(FieldNames.promotion, promotion);
}
if ((bitField0_ & 0x00000040) != 0) {
output.writeUInt32(FieldNames.tid, tid);
@@ -658,10 +658,11 @@ public final class EquipmentOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -799212381: {
if (input.isAtField(FieldNames.promotion)) {
case 169047204:
case 33057906: {
if (input.isAtField(FieldNames.equipAvatarId)) {
if (!input.trySkipNullValue()) {
promotion = input.readUInt32();
equipAvatarId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -669,22 +670,21 @@ public final class EquipmentOuterClass {
}
break;
}
case 102865796: {
if (input.isAtField(FieldNames.level)) {
if (!input.trySkipNullValue()) {
level = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
}
break;
}
case 3492908: {
if (input.isAtField(FieldNames.rank)) {
if (!input.trySkipNullValue()) {
rank = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
}
break;
}
case 169047204:
case 33057906: {
if (input.isAtField(FieldNames.equipAvatarId)) {
if (!input.trySkipNullValue()) {
equipAvatarId = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -715,10 +715,10 @@ public final class EquipmentOuterClass {
}
break;
}
case 102865796: {
if (input.isAtField(FieldNames.level)) {
case -799212381: {
if (input.isAtField(FieldNames.promotion)) {
if (!input.trySkipNullValue()) {
level = input.readUInt32();
promotion = input.readUInt32();
bitField0_ |= 0x00000020;
}
} else {
@@ -801,17 +801,17 @@ public final class EquipmentOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName promotion = FieldName.forField("promotion");
static final FieldName equipAvatarId = FieldName.forField("equipAvatarId", "equip_avatar_id");
static final FieldName level = FieldName.forField("level");
static final FieldName rank = FieldName.forField("rank");
static final FieldName equipAvatarId = FieldName.forField("equipAvatarId", "equip_avatar_id");
static final FieldName uniqueId = FieldName.forField("uniqueId", "unique_id");
static final FieldName exp = FieldName.forField("exp");
static final FieldName level = FieldName.forField("level");
static final FieldName promotion = FieldName.forField("promotion");
static final FieldName tid = FieldName.forField("tid");

View File

@@ -19,15 +19,15 @@ public final class ExchangeGachaCeilingCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 avatar_id = 11;</code>
*/
private int avatarId;
/**
* <code>optional uint32 gacha_type = 14;</code>
* <code>optional uint32 gacha_type = 3;</code>
*/
private int gachaType;
/**
* <code>optional uint32 avatar_id = 13;</code>
*/
private int avatarId;
private ExchangeGachaCeilingCsReq() {
}
@@ -39,62 +39,25 @@ public final class ExchangeGachaCeilingCsReqOuterClass {
}
/**
* <code>optional uint32 avatar_id = 11;</code>
* @return whether the avatarId field is set
* <code>optional uint32 gacha_type = 3;</code>
* @return whether the gachaType field is set
*/
public boolean hasAvatarId() {
public boolean hasGachaType() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 avatar_id = 11;</code>
* @return this
*/
public ExchangeGachaCeilingCsReq clearAvatarId() {
bitField0_ &= ~0x00000001;
avatarId = 0;
return this;
}
/**
* <code>optional uint32 avatar_id = 11;</code>
* @return the avatarId
*/
public int getAvatarId() {
return avatarId;
}
/**
* <code>optional uint32 avatar_id = 11;</code>
* @param value the avatarId to set
* @return this
*/
public ExchangeGachaCeilingCsReq setAvatarId(final int value) {
bitField0_ |= 0x00000001;
avatarId = value;
return this;
}
/**
* <code>optional uint32 gacha_type = 14;</code>
* @return whether the gachaType field is set
*/
public boolean hasGachaType() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 gacha_type = 14;</code>
* <code>optional uint32 gacha_type = 3;</code>
* @return this
*/
public ExchangeGachaCeilingCsReq clearGachaType() {
bitField0_ &= ~0x00000002;
bitField0_ &= ~0x00000001;
gachaType = 0;
return this;
}
/**
* <code>optional uint32 gacha_type = 14;</code>
* <code>optional uint32 gacha_type = 3;</code>
* @return the gachaType
*/
public int getGachaType() {
@@ -102,23 +65,60 @@ public final class ExchangeGachaCeilingCsReqOuterClass {
}
/**
* <code>optional uint32 gacha_type = 14;</code>
* <code>optional uint32 gacha_type = 3;</code>
* @param value the gachaType to set
* @return this
*/
public ExchangeGachaCeilingCsReq setGachaType(final int value) {
bitField0_ |= 0x00000002;
bitField0_ |= 0x00000001;
gachaType = value;
return this;
}
/**
* <code>optional uint32 avatar_id = 13;</code>
* @return whether the avatarId field is set
*/
public boolean hasAvatarId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 avatar_id = 13;</code>
* @return this
*/
public ExchangeGachaCeilingCsReq clearAvatarId() {
bitField0_ &= ~0x00000002;
avatarId = 0;
return this;
}
/**
* <code>optional uint32 avatar_id = 13;</code>
* @return the avatarId
*/
public int getAvatarId() {
return avatarId;
}
/**
* <code>optional uint32 avatar_id = 13;</code>
* @param value the avatarId to set
* @return this
*/
public ExchangeGachaCeilingCsReq setAvatarId(final int value) {
bitField0_ |= 0x00000002;
avatarId = value;
return this;
}
@Override
public ExchangeGachaCeilingCsReq copyFrom(final ExchangeGachaCeilingCsReq other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
avatarId = other.avatarId;
gachaType = other.gachaType;
avatarId = other.avatarId;
}
return this;
}
@@ -129,12 +129,12 @@ public final class ExchangeGachaCeilingCsReqOuterClass {
return this;
}
cachedSize = -1;
if (other.hasAvatarId()) {
setAvatarId(other.avatarId);
}
if (other.hasGachaType()) {
setGachaType(other.gachaType);
}
if (other.hasAvatarId()) {
setAvatarId(other.avatarId);
}
return this;
}
@@ -145,8 +145,8 @@ public final class ExchangeGachaCeilingCsReqOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
avatarId = 0;
gachaType = 0;
avatarId = 0;
return this;
}
@@ -170,19 +170,19 @@ public final class ExchangeGachaCeilingCsReqOuterClass {
}
ExchangeGachaCeilingCsReq other = (ExchangeGachaCeilingCsReq) o;
return bitField0_ == other.bitField0_
&& (!hasAvatarId() || avatarId == other.avatarId)
&& (!hasGachaType() || gachaType == other.gachaType);
&& (!hasGachaType() || gachaType == other.gachaType)
&& (!hasAvatarId() || avatarId == other.avatarId);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 88);
output.writeUInt32NoTag(avatarId);
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(gachaType);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(gachaType);
output.writeRawByte((byte) 104);
output.writeUInt32NoTag(avatarId);
}
}
@@ -190,10 +190,10 @@ public final class ExchangeGachaCeilingCsReqOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(avatarId);
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaType);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaType);
size += 1 + ProtoSink.computeUInt32SizeNoTag(avatarId);
}
return size;
}
@@ -205,18 +205,18 @@ public final class ExchangeGachaCeilingCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 88: {
// avatarId
avatarId = input.readUInt32();
case 24: {
// gachaType
gachaType = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 112) {
if (tag != 104) {
break;
}
}
case 112: {
// gachaType
gachaType = input.readUInt32();
case 104: {
// avatarId
avatarId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 0) {
@@ -241,10 +241,10 @@ public final class ExchangeGachaCeilingCsReqOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.avatarId, avatarId);
output.writeUInt32(FieldNames.gachaType, gachaType);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.gachaType, gachaType);
output.writeUInt32(FieldNames.avatarId, avatarId);
}
output.endObject();
}
@@ -256,11 +256,11 @@ public final class ExchangeGachaCeilingCsReqOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case 1787287636:
case -428636735: {
if (input.isAtField(FieldNames.avatarId)) {
case 802848732:
case -871474217: {
if (input.isAtField(FieldNames.gachaType)) {
if (!input.trySkipNullValue()) {
avatarId = input.readUInt32();
gachaType = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -268,11 +268,11 @@ public final class ExchangeGachaCeilingCsReqOuterClass {
}
break;
}
case 802848732:
case -871474217: {
if (input.isAtField(FieldNames.gachaType)) {
case 1787287636:
case -428636735: {
if (input.isAtField(FieldNames.avatarId)) {
if (!input.trySkipNullValue()) {
gachaType = input.readUInt32();
avatarId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -333,9 +333,9 @@ public final class ExchangeGachaCeilingCsReqOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName avatarId = FieldName.forField("avatarId", "avatar_id");
static final FieldName gachaType = FieldName.forField("gachaType", "gacha_type");
static final FieldName avatarId = FieldName.forField("avatarId", "avatar_id");
}
}
}

View File

@@ -24,22 +24,22 @@ public final class ExchangeGachaCeilingScRspOuterClass {
private int avatarId;
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 4;</code>
*/
private int retcode;
/**
* <code>optional uint32 gacha_type = 5;</code>
* <code>optional uint32 gacha_type = 14;</code>
*/
private int gachaType;
/**
* <code>optional .ItemList transfer_item_list = 8;</code>
* <code>optional .ItemList transfer_item_list = 10;</code>
*/
private final ItemListOuterClass.ItemList transferItemList = ItemListOuterClass.ItemList.newInstance();
/**
* <code>optional .GachaCeiling gacha_ceiling = 9;</code>
* <code>optional .GachaCeiling gacha_ceiling = 15;</code>
*/
private final GachaCeilingOuterClass.GachaCeiling gachaCeiling = GachaCeilingOuterClass.GachaCeiling.newInstance();
@@ -91,7 +91,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 4;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -99,7 +99,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 4;</code>
* @return this
*/
public ExchangeGachaCeilingScRsp clearRetcode() {
@@ -109,7 +109,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 4;</code>
* @return the retcode
*/
public int getRetcode() {
@@ -117,7 +117,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 4;</code>
* @param value the retcode to set
* @return this
*/
@@ -128,7 +128,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional uint32 gacha_type = 5;</code>
* <code>optional uint32 gacha_type = 14;</code>
* @return whether the gachaType field is set
*/
public boolean hasGachaType() {
@@ -136,7 +136,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional uint32 gacha_type = 5;</code>
* <code>optional uint32 gacha_type = 14;</code>
* @return this
*/
public ExchangeGachaCeilingScRsp clearGachaType() {
@@ -146,7 +146,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional uint32 gacha_type = 5;</code>
* <code>optional uint32 gacha_type = 14;</code>
* @return the gachaType
*/
public int getGachaType() {
@@ -154,7 +154,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional uint32 gacha_type = 5;</code>
* <code>optional uint32 gacha_type = 14;</code>
* @param value the gachaType to set
* @return this
*/
@@ -165,7 +165,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional .ItemList transfer_item_list = 8;</code>
* <code>optional .ItemList transfer_item_list = 10;</code>
* @return whether the transferItemList field is set
*/
public boolean hasTransferItemList() {
@@ -173,7 +173,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional .ItemList transfer_item_list = 8;</code>
* <code>optional .ItemList transfer_item_list = 10;</code>
* @return this
*/
public ExchangeGachaCeilingScRsp clearTransferItemList() {
@@ -183,7 +183,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional .ItemList transfer_item_list = 8;</code>
* <code>optional .ItemList transfer_item_list = 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.
@@ -197,7 +197,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional .ItemList transfer_item_list = 8;</code>
* <code>optional .ItemList transfer_item_list = 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
@@ -211,7 +211,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional .ItemList transfer_item_list = 8;</code>
* <code>optional .ItemList transfer_item_list = 10;</code>
* @param value the transferItemList to set
* @return this
*/
@@ -222,7 +222,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional .GachaCeiling gacha_ceiling = 9;</code>
* <code>optional .GachaCeiling gacha_ceiling = 15;</code>
* @return whether the gachaCeiling field is set
*/
public boolean hasGachaCeiling() {
@@ -230,7 +230,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional .GachaCeiling gacha_ceiling = 9;</code>
* <code>optional .GachaCeiling gacha_ceiling = 15;</code>
* @return this
*/
public ExchangeGachaCeilingScRsp clearGachaCeiling() {
@@ -240,7 +240,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional .GachaCeiling gacha_ceiling = 9;</code>
* <code>optional .GachaCeiling gacha_ceiling = 15;</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.
@@ -254,7 +254,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional .GachaCeiling gacha_ceiling = 9;</code>
* <code>optional .GachaCeiling gacha_ceiling = 15;</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
@@ -268,7 +268,7 @@ public final class ExchangeGachaCeilingScRspOuterClass {
}
/**
* <code>optional .GachaCeiling gacha_ceiling = 9;</code>
* <code>optional .GachaCeiling gacha_ceiling = 15;</code>
* @param value the gachaCeiling to set
* @return this
*/
@@ -368,19 +368,19 @@ public final class ExchangeGachaCeilingScRspOuterClass {
output.writeUInt32NoTag(avatarId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 24);
output.writeRawByte((byte) 32);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 40);
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(gachaType);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 66);
output.writeRawByte((byte) 82);
output.writeMessageNoTag(transferItemList);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 74);
output.writeRawByte((byte) 122);
output.writeMessageNoTag(gachaCeiling);
}
}
@@ -418,38 +418,38 @@ public final class ExchangeGachaCeilingScRspOuterClass {
avatarId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 24) {
if (tag != 32) {
break;
}
}
case 24: {
case 32: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 40) {
if (tag != 112) {
break;
}
}
case 40: {
case 112: {
// gachaType
gachaType = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 66) {
if (tag != 82) {
break;
}
}
case 66: {
case 82: {
// transferItemList
input.readMessage(transferItemList);
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 74) {
if (tag != 122) {
break;
}
}
case 74: {
case 122: {
// gachaCeiling
input.readMessage(gachaCeiling);
bitField0_ |= 0x00000010;

View File

@@ -19,7 +19,7 @@ public final class ExchangeHcoinCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 num = 5;</code>
* <code>optional uint32 num = 14;</code>
*/
private int num;
@@ -34,7 +34,7 @@ public final class ExchangeHcoinCsReqOuterClass {
}
/**
* <code>optional uint32 num = 5;</code>
* <code>optional uint32 num = 14;</code>
* @return whether the num field is set
*/
public boolean hasNum() {
@@ -42,7 +42,7 @@ public final class ExchangeHcoinCsReqOuterClass {
}
/**
* <code>optional uint32 num = 5;</code>
* <code>optional uint32 num = 14;</code>
* @return this
*/
public ExchangeHcoinCsReq clearNum() {
@@ -52,7 +52,7 @@ public final class ExchangeHcoinCsReqOuterClass {
}
/**
* <code>optional uint32 num = 5;</code>
* <code>optional uint32 num = 14;</code>
* @return the num
*/
public int getNum() {
@@ -60,7 +60,7 @@ public final class ExchangeHcoinCsReqOuterClass {
}
/**
* <code>optional uint32 num = 5;</code>
* <code>optional uint32 num = 14;</code>
* @param value the num to set
* @return this
*/
@@ -129,7 +129,7 @@ public final class ExchangeHcoinCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 40);
output.writeRawByte((byte) 112);
output.writeUInt32NoTag(num);
}
}
@@ -150,7 +150,7 @@ public final class ExchangeHcoinCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 40: {
case 112: {
// num
num = input.readUInt32();
bitField0_ |= 0x00000001;

View File

@@ -18,16 +18,16 @@ public final class ExchangeHcoinScRspOuterClass {
public static final class ExchangeHcoinScRsp extends ProtoMessage<ExchangeHcoinScRsp> implements Cloneable {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 retcode = 3;</code>
*/
private int retcode;
/**
* <code>optional uint32 num = 4;</code>
*/
private int num;
/**
* <code>optional uint32 retcode = 12;</code>
*/
private int retcode;
private ExchangeHcoinScRsp() {
}
@@ -38,12 +38,49 @@ public final class ExchangeHcoinScRspOuterClass {
return new ExchangeHcoinScRsp();
}
/**
* <code>optional uint32 retcode = 3;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
return (bitField0_ & 0x00000001) != 0;
}
/**
* <code>optional uint32 retcode = 3;</code>
* @return this
*/
public ExchangeHcoinScRsp clearRetcode() {
bitField0_ &= ~0x00000001;
retcode = 0;
return this;
}
/**
* <code>optional uint32 retcode = 3;</code>
* @return the retcode
*/
public int getRetcode() {
return retcode;
}
/**
* <code>optional uint32 retcode = 3;</code>
* @param value the retcode to set
* @return this
*/
public ExchangeHcoinScRsp setRetcode(final int value) {
bitField0_ |= 0x00000001;
retcode = value;
return this;
}
/**
* <code>optional uint32 num = 4;</code>
* @return whether the num field is set
*/
public boolean hasNum() {
return (bitField0_ & 0x00000001) != 0;
return (bitField0_ & 0x00000002) != 0;
}
/**
@@ -51,7 +88,7 @@ public final class ExchangeHcoinScRspOuterClass {
* @return this
*/
public ExchangeHcoinScRsp clearNum() {
bitField0_ &= ~0x00000001;
bitField0_ &= ~0x00000002;
num = 0;
return this;
}
@@ -70,45 +107,8 @@ public final class ExchangeHcoinScRspOuterClass {
* @return this
*/
public ExchangeHcoinScRsp setNum(final int value) {
bitField0_ |= 0x00000001;
num = value;
return this;
}
/**
* <code>optional uint32 retcode = 12;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
return (bitField0_ & 0x00000002) != 0;
}
/**
* <code>optional uint32 retcode = 12;</code>
* @return this
*/
public ExchangeHcoinScRsp clearRetcode() {
bitField0_ &= ~0x00000002;
retcode = 0;
return this;
}
/**
* <code>optional uint32 retcode = 12;</code>
* @return the retcode
*/
public int getRetcode() {
return retcode;
}
/**
* <code>optional uint32 retcode = 12;</code>
* @param value the retcode to set
* @return this
*/
public ExchangeHcoinScRsp setRetcode(final int value) {
bitField0_ |= 0x00000002;
retcode = value;
num = value;
return this;
}
@@ -117,8 +117,8 @@ public final class ExchangeHcoinScRspOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
num = other.num;
retcode = other.retcode;
num = other.num;
}
return this;
}
@@ -129,12 +129,12 @@ public final class ExchangeHcoinScRspOuterClass {
return this;
}
cachedSize = -1;
if (other.hasNum()) {
setNum(other.num);
}
if (other.hasRetcode()) {
setRetcode(other.retcode);
}
if (other.hasNum()) {
setNum(other.num);
}
return this;
}
@@ -145,8 +145,8 @@ public final class ExchangeHcoinScRspOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
num = 0;
retcode = 0;
num = 0;
return this;
}
@@ -170,19 +170,19 @@ public final class ExchangeHcoinScRspOuterClass {
}
ExchangeHcoinScRsp other = (ExchangeHcoinScRsp) o;
return bitField0_ == other.bitField0_
&& (!hasNum() || num == other.num)
&& (!hasRetcode() || retcode == other.retcode);
&& (!hasRetcode() || retcode == other.retcode)
&& (!hasNum() || num == other.num);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 32);
output.writeUInt32NoTag(num);
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 96);
output.writeUInt32NoTag(retcode);
output.writeRawByte((byte) 32);
output.writeUInt32NoTag(num);
}
}
@@ -190,10 +190,10 @@ public final class ExchangeHcoinScRspOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(num);
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
size += 1 + ProtoSink.computeUInt32SizeNoTag(num);
}
return size;
}
@@ -205,18 +205,18 @@ public final class ExchangeHcoinScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 32: {
// num
num = input.readUInt32();
case 24: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 96) {
if (tag != 32) {
break;
}
}
case 96: {
// retcode
retcode = input.readUInt32();
case 32: {
// num
num = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 0) {
@@ -241,10 +241,10 @@ public final class ExchangeHcoinScRspOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
output.writeUInt32(FieldNames.num, num);
output.writeUInt32(FieldNames.retcode, retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.retcode, retcode);
output.writeUInt32(FieldNames.num, num);
}
output.endObject();
}
@@ -256,10 +256,10 @@ public final class ExchangeHcoinScRspOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case 109446: {
if (input.isAtField(FieldNames.num)) {
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
if (!input.trySkipNullValue()) {
num = input.readUInt32();
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -267,10 +267,10 @@ public final class ExchangeHcoinScRspOuterClass {
}
break;
}
case 1097936398: {
if (input.isAtField(FieldNames.retcode)) {
case 109446: {
if (input.isAtField(FieldNames.num)) {
if (!input.trySkipNullValue()) {
retcode = input.readUInt32();
num = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -331,9 +331,9 @@ public final class ExchangeHcoinScRspOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
static final FieldName num = FieldName.forField("num");
static final FieldName retcode = FieldName.forField("retcode");
static final FieldName num = FieldName.forField("num");
}
}
}

View File

@@ -19,12 +19,12 @@ public final class ExpUpEquipmentCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 equipment_unique_id = 5;</code>
* <code>optional uint32 equipment_unique_id = 8;</code>
*/
private int equipmentUniqueId;
/**
* <code>optional .ItemCostList item_cost_list = 1;</code>
* <code>optional .ItemCostList item_cost_list = 12;</code>
*/
private final ItemCostListOuterClass.ItemCostList itemCostList = ItemCostListOuterClass.ItemCostList.newInstance();
@@ -39,7 +39,7 @@ public final class ExpUpEquipmentCsReqOuterClass {
}
/**
* <code>optional uint32 equipment_unique_id = 5;</code>
* <code>optional uint32 equipment_unique_id = 8;</code>
* @return whether the equipmentUniqueId field is set
*/
public boolean hasEquipmentUniqueId() {
@@ -47,7 +47,7 @@ public final class ExpUpEquipmentCsReqOuterClass {
}
/**
* <code>optional uint32 equipment_unique_id = 5;</code>
* <code>optional uint32 equipment_unique_id = 8;</code>
* @return this
*/
public ExpUpEquipmentCsReq clearEquipmentUniqueId() {
@@ -57,7 +57,7 @@ public final class ExpUpEquipmentCsReqOuterClass {
}
/**
* <code>optional uint32 equipment_unique_id = 5;</code>
* <code>optional uint32 equipment_unique_id = 8;</code>
* @return the equipmentUniqueId
*/
public int getEquipmentUniqueId() {
@@ -65,7 +65,7 @@ public final class ExpUpEquipmentCsReqOuterClass {
}
/**
* <code>optional uint32 equipment_unique_id = 5;</code>
* <code>optional uint32 equipment_unique_id = 8;</code>
* @param value the equipmentUniqueId to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class ExpUpEquipmentCsReqOuterClass {
}
/**
* <code>optional .ItemCostList item_cost_list = 1;</code>
* <code>optional .ItemCostList item_cost_list = 12;</code>
* @return whether the itemCostList field is set
*/
public boolean hasItemCostList() {
@@ -84,7 +84,7 @@ public final class ExpUpEquipmentCsReqOuterClass {
}
/**
* <code>optional .ItemCostList item_cost_list = 1;</code>
* <code>optional .ItemCostList item_cost_list = 12;</code>
* @return this
*/
public ExpUpEquipmentCsReq clearItemCostList() {
@@ -94,7 +94,7 @@ public final class ExpUpEquipmentCsReqOuterClass {
}
/**
* <code>optional .ItemCostList item_cost_list = 1;</code>
* <code>optional .ItemCostList item_cost_list = 12;</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.
@@ -108,7 +108,7 @@ public final class ExpUpEquipmentCsReqOuterClass {
}
/**
* <code>optional .ItemCostList item_cost_list = 1;</code>
* <code>optional .ItemCostList item_cost_list = 12;</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
@@ -122,7 +122,7 @@ public final class ExpUpEquipmentCsReqOuterClass {
}
/**
* <code>optional .ItemCostList item_cost_list = 1;</code>
* <code>optional .ItemCostList item_cost_list = 12;</code>
* @param value the itemCostList to set
* @return this
*/
@@ -198,11 +198,11 @@ public final class ExpUpEquipmentCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 40);
output.writeRawByte((byte) 64);
output.writeUInt32NoTag(equipmentUniqueId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 10);
output.writeRawByte((byte) 98);
output.writeMessageNoTag(itemCostList);
}
}
@@ -226,16 +226,16 @@ public final class ExpUpEquipmentCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 40: {
case 64: {
// equipmentUniqueId
equipmentUniqueId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 10) {
if (tag != 98) {
break;
}
}
case 10: {
case 98: {
// itemCostList
input.readMessage(itemCostList);
bitField0_ |= 0x00000002;

View File

@@ -20,12 +20,12 @@ public final class ExpUpEquipmentScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 retcode = 1;</code>
* <code>optional uint32 retcode = 15;</code>
*/
private int retcode;
/**
* <code>repeated .PileItem return_item_list = 10;</code>
* <code>repeated .PileItem return_item_list = 5;</code>
*/
private final RepeatedMessage<PileItemOuterClass.PileItem> returnItemList = RepeatedMessage.newEmptyInstance(PileItemOuterClass.PileItem.getFactory());
@@ -40,7 +40,7 @@ public final class ExpUpEquipmentScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 1;</code>
* <code>optional uint32 retcode = 15;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -48,7 +48,7 @@ public final class ExpUpEquipmentScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 1;</code>
* <code>optional uint32 retcode = 15;</code>
* @return this
*/
public ExpUpEquipmentScRsp clearRetcode() {
@@ -58,7 +58,7 @@ public final class ExpUpEquipmentScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 1;</code>
* <code>optional uint32 retcode = 15;</code>
* @return the retcode
*/
public int getRetcode() {
@@ -66,7 +66,7 @@ public final class ExpUpEquipmentScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 1;</code>
* <code>optional uint32 retcode = 15;</code>
* @param value the retcode to set
* @return this
*/
@@ -77,7 +77,7 @@ public final class ExpUpEquipmentScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 10;</code>
* <code>repeated .PileItem return_item_list = 5;</code>
* @return whether the returnItemList field is set
*/
public boolean hasReturnItemList() {
@@ -85,7 +85,7 @@ public final class ExpUpEquipmentScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 10;</code>
* <code>repeated .PileItem return_item_list = 5;</code>
* @return this
*/
public ExpUpEquipmentScRsp clearReturnItemList() {
@@ -95,7 +95,7 @@ public final class ExpUpEquipmentScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 10;</code>
* <code>repeated .PileItem return_item_list = 5;</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.
@@ -109,7 +109,7 @@ public final class ExpUpEquipmentScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 10;</code>
* <code>repeated .PileItem return_item_list = 5;</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
@@ -123,7 +123,7 @@ public final class ExpUpEquipmentScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 10;</code>
* <code>repeated .PileItem return_item_list = 5;</code>
* @param value the returnItemList to add
* @return this
*/
@@ -134,7 +134,7 @@ public final class ExpUpEquipmentScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 10;</code>
* <code>repeated .PileItem return_item_list = 5;</code>
* @param values the returnItemList to add
* @return this
*/
@@ -210,12 +210,12 @@ public final class ExpUpEquipmentScRspOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 8);
output.writeRawByte((byte) 120);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
for (int i = 0; i < returnItemList.length(); i++) {
output.writeRawByte((byte) 82);
output.writeRawByte((byte) 42);
output.writeMessageNoTag(returnItemList.get(i));
}
}
@@ -240,16 +240,16 @@ public final class ExpUpEquipmentScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 8: {
case 120: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 82) {
if (tag != 42) {
break;
}
}
case 82: {
case 42: {
// returnItemList
tag = input.readRepeatedMessage(returnItemList, tag);
bitField0_ |= 0x00000002;

View File

@@ -19,12 +19,12 @@ public final class ExpUpRelicCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 relic_unique_id = 15;</code>
* <code>optional uint32 relic_unique_id = 11;</code>
*/
private int relicUniqueId;
/**
* <code>optional .ItemCostList item_cost_list = 13;</code>
* <code>optional .ItemCostList item_cost_list = 7;</code>
*/
private final ItemCostListOuterClass.ItemCostList itemCostList = ItemCostListOuterClass.ItemCostList.newInstance();
@@ -39,7 +39,7 @@ public final class ExpUpRelicCsReqOuterClass {
}
/**
* <code>optional uint32 relic_unique_id = 15;</code>
* <code>optional uint32 relic_unique_id = 11;</code>
* @return whether the relicUniqueId field is set
*/
public boolean hasRelicUniqueId() {
@@ -47,7 +47,7 @@ public final class ExpUpRelicCsReqOuterClass {
}
/**
* <code>optional uint32 relic_unique_id = 15;</code>
* <code>optional uint32 relic_unique_id = 11;</code>
* @return this
*/
public ExpUpRelicCsReq clearRelicUniqueId() {
@@ -57,7 +57,7 @@ public final class ExpUpRelicCsReqOuterClass {
}
/**
* <code>optional uint32 relic_unique_id = 15;</code>
* <code>optional uint32 relic_unique_id = 11;</code>
* @return the relicUniqueId
*/
public int getRelicUniqueId() {
@@ -65,7 +65,7 @@ public final class ExpUpRelicCsReqOuterClass {
}
/**
* <code>optional uint32 relic_unique_id = 15;</code>
* <code>optional uint32 relic_unique_id = 11;</code>
* @param value the relicUniqueId to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class ExpUpRelicCsReqOuterClass {
}
/**
* <code>optional .ItemCostList item_cost_list = 13;</code>
* <code>optional .ItemCostList item_cost_list = 7;</code>
* @return whether the itemCostList field is set
*/
public boolean hasItemCostList() {
@@ -84,7 +84,7 @@ public final class ExpUpRelicCsReqOuterClass {
}
/**
* <code>optional .ItemCostList item_cost_list = 13;</code>
* <code>optional .ItemCostList item_cost_list = 7;</code>
* @return this
*/
public ExpUpRelicCsReq clearItemCostList() {
@@ -94,7 +94,7 @@ public final class ExpUpRelicCsReqOuterClass {
}
/**
* <code>optional .ItemCostList item_cost_list = 13;</code>
* <code>optional .ItemCostList item_cost_list = 7;</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.
@@ -108,7 +108,7 @@ public final class ExpUpRelicCsReqOuterClass {
}
/**
* <code>optional .ItemCostList item_cost_list = 13;</code>
* <code>optional .ItemCostList item_cost_list = 7;</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
@@ -122,7 +122,7 @@ public final class ExpUpRelicCsReqOuterClass {
}
/**
* <code>optional .ItemCostList item_cost_list = 13;</code>
* <code>optional .ItemCostList item_cost_list = 7;</code>
* @param value the itemCostList to set
* @return this
*/
@@ -198,11 +198,11 @@ public final class ExpUpRelicCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 120);
output.writeRawByte((byte) 88);
output.writeUInt32NoTag(relicUniqueId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 106);
output.writeRawByte((byte) 58);
output.writeMessageNoTag(itemCostList);
}
}
@@ -226,16 +226,16 @@ public final class ExpUpRelicCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 120: {
case 88: {
// relicUniqueId
relicUniqueId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 106) {
if (tag != 58) {
break;
}
}
case 106: {
case 58: {
// itemCostList
input.readMessage(itemCostList);
bitField0_ |= 0x00000002;

View File

@@ -20,12 +20,12 @@ public final class ExpUpRelicScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 11;</code>
*/
private int retcode;
/**
* <code>repeated .PileItem return_item_list = 6;</code>
* <code>repeated .PileItem return_item_list = 10;</code>
*/
private final RepeatedMessage<PileItemOuterClass.PileItem> returnItemList = RepeatedMessage.newEmptyInstance(PileItemOuterClass.PileItem.getFactory());
@@ -40,7 +40,7 @@ public final class ExpUpRelicScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 11;</code>
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -48,7 +48,7 @@ public final class ExpUpRelicScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 11;</code>
* @return this
*/
public ExpUpRelicScRsp clearRetcode() {
@@ -58,7 +58,7 @@ public final class ExpUpRelicScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 11;</code>
* @return the retcode
*/
public int getRetcode() {
@@ -66,7 +66,7 @@ public final class ExpUpRelicScRspOuterClass {
}
/**
* <code>optional uint32 retcode = 3;</code>
* <code>optional uint32 retcode = 11;</code>
* @param value the retcode to set
* @return this
*/
@@ -77,7 +77,7 @@ public final class ExpUpRelicScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 6;</code>
* <code>repeated .PileItem return_item_list = 10;</code>
* @return whether the returnItemList field is set
*/
public boolean hasReturnItemList() {
@@ -85,7 +85,7 @@ public final class ExpUpRelicScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 6;</code>
* <code>repeated .PileItem return_item_list = 10;</code>
* @return this
*/
public ExpUpRelicScRsp clearReturnItemList() {
@@ -95,7 +95,7 @@ public final class ExpUpRelicScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 6;</code>
* <code>repeated .PileItem return_item_list = 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.
@@ -109,7 +109,7 @@ public final class ExpUpRelicScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 6;</code>
* <code>repeated .PileItem return_item_list = 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
@@ -123,7 +123,7 @@ public final class ExpUpRelicScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 6;</code>
* <code>repeated .PileItem return_item_list = 10;</code>
* @param value the returnItemList to add
* @return this
*/
@@ -134,7 +134,7 @@ public final class ExpUpRelicScRspOuterClass {
}
/**
* <code>repeated .PileItem return_item_list = 6;</code>
* <code>repeated .PileItem return_item_list = 10;</code>
* @param values the returnItemList to add
* @return this
*/
@@ -210,12 +210,12 @@ public final class ExpUpRelicScRspOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 24);
output.writeRawByte((byte) 88);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
for (int i = 0; i < returnItemList.length(); i++) {
output.writeRawByte((byte) 50);
output.writeRawByte((byte) 82);
output.writeMessageNoTag(returnItemList.get(i));
}
}
@@ -240,16 +240,16 @@ public final class ExpUpRelicScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
case 24: {
case 88: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 50) {
if (tag != 82) {
break;
}
}
case 50: {
case 82: {
// returnItemList
tag = input.readRepeatedMessage(returnItemList, tag);
bitField0_ |= 0x00000002;

Some files were not shown because too many files have changed in this diff Show More