mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-16 23:34:50 +01:00
fix GetFarmStageGachaInfo proto
This commit is contained in:
@@ -19,17 +19,17 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional int64 end_time = 4;</code>
|
* <code>optional int64 begin_time = 13;</code>
|
||||||
*/
|
|
||||||
private long endTime;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional int64 begin_time = 5;</code>
|
|
||||||
*/
|
*/
|
||||||
private long beginTime;
|
private long beginTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 gacha_id = 3;</code>
|
* <code>optional int64 end_time = 14;</code>
|
||||||
|
*/
|
||||||
|
private long endTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 gacha_id = 12;</code>
|
||||||
*/
|
*/
|
||||||
private int gachaId;
|
private int gachaId;
|
||||||
|
|
||||||
@@ -44,62 +44,25 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional int64 end_time = 4;</code>
|
* <code>optional int64 begin_time = 13;</code>
|
||||||
* @return whether the endTime field is set
|
* @return whether the beginTime field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasEndTime() {
|
public boolean hasBeginTime() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional int64 end_time = 4;</code>
|
* <code>optional int64 begin_time = 13;</code>
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public FarmStageGachaInfo clearEndTime() {
|
|
||||||
bitField0_ &= ~0x00000001;
|
|
||||||
endTime = 0L;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional int64 end_time = 4;</code>
|
|
||||||
* @return the endTime
|
|
||||||
*/
|
|
||||||
public long getEndTime() {
|
|
||||||
return endTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional int64 end_time = 4;</code>
|
|
||||||
* @param value the endTime to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public FarmStageGachaInfo setEndTime(final long value) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
endTime = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional int64 begin_time = 5;</code>
|
|
||||||
* @return whether the beginTime field is set
|
|
||||||
*/
|
|
||||||
public boolean hasBeginTime() {
|
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional int64 begin_time = 5;</code>
|
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public FarmStageGachaInfo clearBeginTime() {
|
public FarmStageGachaInfo clearBeginTime() {
|
||||||
bitField0_ &= ~0x00000002;
|
bitField0_ &= ~0x00000001;
|
||||||
beginTime = 0L;
|
beginTime = 0L;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional int64 begin_time = 5;</code>
|
* <code>optional int64 begin_time = 13;</code>
|
||||||
* @return the beginTime
|
* @return the beginTime
|
||||||
*/
|
*/
|
||||||
public long getBeginTime() {
|
public long getBeginTime() {
|
||||||
@@ -107,18 +70,55 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional int64 begin_time = 5;</code>
|
* <code>optional int64 begin_time = 13;</code>
|
||||||
* @param value the beginTime to set
|
* @param value the beginTime to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public FarmStageGachaInfo setBeginTime(final long value) {
|
public FarmStageGachaInfo setBeginTime(final long value) {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
beginTime = value;
|
beginTime = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 gacha_id = 3;</code>
|
* <code>optional int64 end_time = 14;</code>
|
||||||
|
* @return whether the endTime field is set
|
||||||
|
*/
|
||||||
|
public boolean hasEndTime() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional int64 end_time = 14;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public FarmStageGachaInfo clearEndTime() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
endTime = 0L;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional int64 end_time = 14;</code>
|
||||||
|
* @return the endTime
|
||||||
|
*/
|
||||||
|
public long getEndTime() {
|
||||||
|
return endTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional int64 end_time = 14;</code>
|
||||||
|
* @param value the endTime to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public FarmStageGachaInfo setEndTime(final long value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
endTime = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 gacha_id = 12;</code>
|
||||||
* @return whether the gachaId field is set
|
* @return whether the gachaId field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasGachaId() {
|
public boolean hasGachaId() {
|
||||||
@@ -126,7 +126,7 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 gacha_id = 3;</code>
|
* <code>optional uint32 gacha_id = 12;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public FarmStageGachaInfo clearGachaId() {
|
public FarmStageGachaInfo clearGachaId() {
|
||||||
@@ -136,7 +136,7 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 gacha_id = 3;</code>
|
* <code>optional uint32 gacha_id = 12;</code>
|
||||||
* @return the gachaId
|
* @return the gachaId
|
||||||
*/
|
*/
|
||||||
public int getGachaId() {
|
public int getGachaId() {
|
||||||
@@ -144,7 +144,7 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 gacha_id = 3;</code>
|
* <code>optional uint32 gacha_id = 12;</code>
|
||||||
* @param value the gachaId to set
|
* @param value the gachaId to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -159,8 +159,8 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
endTime = other.endTime;
|
|
||||||
beginTime = other.beginTime;
|
beginTime = other.beginTime;
|
||||||
|
endTime = other.endTime;
|
||||||
gachaId = other.gachaId;
|
gachaId = other.gachaId;
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
@@ -172,12 +172,12 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
if (other.hasEndTime()) {
|
|
||||||
setEndTime(other.endTime);
|
|
||||||
}
|
|
||||||
if (other.hasBeginTime()) {
|
if (other.hasBeginTime()) {
|
||||||
setBeginTime(other.beginTime);
|
setBeginTime(other.beginTime);
|
||||||
}
|
}
|
||||||
|
if (other.hasEndTime()) {
|
||||||
|
setEndTime(other.endTime);
|
||||||
|
}
|
||||||
if (other.hasGachaId()) {
|
if (other.hasGachaId()) {
|
||||||
setGachaId(other.gachaId);
|
setGachaId(other.gachaId);
|
||||||
}
|
}
|
||||||
@@ -191,8 +191,8 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
endTime = 0L;
|
|
||||||
beginTime = 0L;
|
beginTime = 0L;
|
||||||
|
endTime = 0L;
|
||||||
gachaId = 0;
|
gachaId = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -217,23 +217,23 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
}
|
}
|
||||||
FarmStageGachaInfo other = (FarmStageGachaInfo) o;
|
FarmStageGachaInfo other = (FarmStageGachaInfo) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasEndTime() || endTime == other.endTime)
|
|
||||||
&& (!hasBeginTime() || beginTime == other.beginTime)
|
&& (!hasBeginTime() || beginTime == other.beginTime)
|
||||||
|
&& (!hasEndTime() || endTime == other.endTime)
|
||||||
&& (!hasGachaId() || gachaId == other.gachaId);
|
&& (!hasGachaId() || gachaId == other.gachaId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 32);
|
output.writeRawByte((byte) 104);
|
||||||
output.writeInt64NoTag(endTime);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeRawByte((byte) 40);
|
|
||||||
output.writeInt64NoTag(beginTime);
|
output.writeInt64NoTag(beginTime);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 112);
|
||||||
|
output.writeInt64NoTag(endTime);
|
||||||
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeRawByte((byte) 24);
|
output.writeRawByte((byte) 96);
|
||||||
output.writeUInt32NoTag(gachaId);
|
output.writeUInt32NoTag(gachaId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -242,10 +242,10 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeInt64SizeNoTag(endTime);
|
size += 1 + ProtoSink.computeInt64SizeNoTag(beginTime);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeInt64SizeNoTag(beginTime);
|
size += 1 + ProtoSink.computeInt64SizeNoTag(endTime);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(gachaId);
|
||||||
@@ -260,25 +260,25 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 32: {
|
case 104: {
|
||||||
// endTime
|
|
||||||
endTime = input.readInt64();
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 40) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 40: {
|
|
||||||
// beginTime
|
// beginTime
|
||||||
beginTime = input.readInt64();
|
beginTime = input.readInt64();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 24) {
|
if (tag != 112) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 24: {
|
case 112: {
|
||||||
|
// endTime
|
||||||
|
endTime = input.readInt64();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 96) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 96: {
|
||||||
// gachaId
|
// gachaId
|
||||||
gachaId = input.readUInt32();
|
gachaId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
@@ -305,10 +305,10 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeInt64(FieldNames.endTime, endTime);
|
output.writeInt64(FieldNames.beginTime, beginTime);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeInt64(FieldNames.beginTime, beginTime);
|
output.writeInt64(FieldNames.endTime, endTime);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeUInt32(FieldNames.gachaId, gachaId);
|
output.writeUInt32(FieldNames.gachaId, gachaId);
|
||||||
@@ -323,11 +323,11 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
case -1607243192:
|
case -1072839914:
|
||||||
case 1725551537: {
|
case 1112183971: {
|
||||||
if (input.isAtField(FieldNames.endTime)) {
|
if (input.isAtField(FieldNames.beginTime)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
endTime = input.readInt64();
|
beginTime = input.readInt64();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -335,11 +335,11 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -1072839914:
|
case -1607243192:
|
||||||
case 1112183971: {
|
case 1725551537: {
|
||||||
if (input.isAtField(FieldNames.beginTime)) {
|
if (input.isAtField(FieldNames.endTime)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
beginTime = input.readInt64();
|
endTime = input.readInt64();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -412,10 +412,10 @@ public final class FarmStageGachaInfoOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName endTime = FieldName.forField("endTime", "end_time");
|
|
||||||
|
|
||||||
static final FieldName beginTime = FieldName.forField("beginTime", "begin_time");
|
static final FieldName beginTime = FieldName.forField("beginTime", "begin_time");
|
||||||
|
|
||||||
|
static final FieldName endTime = FieldName.forField("endTime", "end_time");
|
||||||
|
|
||||||
static final FieldName gachaId = FieldName.forField("gachaId", "gacha_id");
|
static final FieldName gachaId = FieldName.forField("gachaId", "gacha_id");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ public final class GetFarmStageGachaInfoCsReqOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 farm_stage_gacha_id_list = 11;</code>
|
* <code>repeated uint32 farm_stage_gacha_id_list = 12;</code>
|
||||||
*/
|
*/
|
||||||
private final RepeatedInt farmStageGachaIdList = RepeatedInt.newEmptyInstance();
|
private final RepeatedInt farmStageGachaIdList = RepeatedInt.newEmptyInstance();
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ public final class GetFarmStageGachaInfoCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 farm_stage_gacha_id_list = 11;</code>
|
* <code>repeated uint32 farm_stage_gacha_id_list = 12;</code>
|
||||||
* @return whether the farmStageGachaIdList field is set
|
* @return whether the farmStageGachaIdList field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasFarmStageGachaIdList() {
|
public boolean hasFarmStageGachaIdList() {
|
||||||
@@ -43,7 +43,7 @@ public final class GetFarmStageGachaInfoCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 farm_stage_gacha_id_list = 11;</code>
|
* <code>repeated uint32 farm_stage_gacha_id_list = 12;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public GetFarmStageGachaInfoCsReq clearFarmStageGachaIdList() {
|
public GetFarmStageGachaInfoCsReq clearFarmStageGachaIdList() {
|
||||||
@@ -53,7 +53,7 @@ public final class GetFarmStageGachaInfoCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 farm_stage_gacha_id_list = 11;</code>
|
* <code>repeated uint32 farm_stage_gacha_id_list = 12;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -67,7 +67,7 @@ public final class GetFarmStageGachaInfoCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 farm_stage_gacha_id_list = 11;</code>
|
* <code>repeated uint32 farm_stage_gacha_id_list = 12;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -81,7 +81,7 @@ public final class GetFarmStageGachaInfoCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 farm_stage_gacha_id_list = 11;</code>
|
* <code>repeated uint32 farm_stage_gacha_id_list = 12;</code>
|
||||||
* @param value the farmStageGachaIdList to add
|
* @param value the farmStageGachaIdList to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -92,7 +92,7 @@ public final class GetFarmStageGachaInfoCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 farm_stage_gacha_id_list = 11;</code>
|
* <code>repeated uint32 farm_stage_gacha_id_list = 12;</code>
|
||||||
* @param values the farmStageGachaIdList to add
|
* @param values the farmStageGachaIdList to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -163,7 +163,7 @@ public final class GetFarmStageGachaInfoCsReqOuterClass {
|
|||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
for (int i = 0; i < farmStageGachaIdList.length(); i++) {
|
for (int i = 0; i < farmStageGachaIdList.length(); i++) {
|
||||||
output.writeRawByte((byte) 88);
|
output.writeRawByte((byte) 96);
|
||||||
output.writeUInt32NoTag(farmStageGachaIdList.array()[i]);
|
output.writeUInt32NoTag(farmStageGachaIdList.array()[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -185,7 +185,7 @@ public final class GetFarmStageGachaInfoCsReqOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 90: {
|
case 98: {
|
||||||
// farmStageGachaIdList [packed=true]
|
// farmStageGachaIdList [packed=true]
|
||||||
input.readPackedUInt32(farmStageGachaIdList, tag);
|
input.readPackedUInt32(farmStageGachaIdList, tag);
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
@@ -204,7 +204,7 @@ public final class GetFarmStageGachaInfoCsReqOuterClass {
|
|||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 88: {
|
case 96: {
|
||||||
// farmStageGachaIdList [packed=false]
|
// farmStageGachaIdList [packed=false]
|
||||||
tag = input.readRepeatedUInt32(farmStageGachaIdList, tag);
|
tag = input.readRepeatedUInt32(farmStageGachaIdList, tag);
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
|
|||||||
@@ -20,12 +20,12 @@ public final class GetFarmStageGachaInfoScRspOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 12;</code>
|
* <code>optional uint32 retcode = 5;</code>
|
||||||
*/
|
*/
|
||||||
private int retcode;
|
private int retcode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .FarmStageGachaInfo farm_stage_gacha_info_list = 10;</code>
|
* <code>repeated .FarmStageGachaInfo farm_stage_gacha_info_list = 12;</code>
|
||||||
*/
|
*/
|
||||||
private final RepeatedMessage<FarmStageGachaInfoOuterClass.FarmStageGachaInfo> farmStageGachaInfoList = RepeatedMessage.newEmptyInstance(FarmStageGachaInfoOuterClass.FarmStageGachaInfo.getFactory());
|
private final RepeatedMessage<FarmStageGachaInfoOuterClass.FarmStageGachaInfo> farmStageGachaInfoList = RepeatedMessage.newEmptyInstance(FarmStageGachaInfoOuterClass.FarmStageGachaInfo.getFactory());
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ public final class GetFarmStageGachaInfoScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 12;</code>
|
* <code>optional uint32 retcode = 5;</code>
|
||||||
* @return whether the retcode field is set
|
* @return whether the retcode field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRetcode() {
|
public boolean hasRetcode() {
|
||||||
@@ -48,7 +48,7 @@ public final class GetFarmStageGachaInfoScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 12;</code>
|
* <code>optional uint32 retcode = 5;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public GetFarmStageGachaInfoScRsp clearRetcode() {
|
public GetFarmStageGachaInfoScRsp clearRetcode() {
|
||||||
@@ -58,7 +58,7 @@ public final class GetFarmStageGachaInfoScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 12;</code>
|
* <code>optional uint32 retcode = 5;</code>
|
||||||
* @return the retcode
|
* @return the retcode
|
||||||
*/
|
*/
|
||||||
public int getRetcode() {
|
public int getRetcode() {
|
||||||
@@ -66,7 +66,7 @@ public final class GetFarmStageGachaInfoScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 12;</code>
|
* <code>optional uint32 retcode = 5;</code>
|
||||||
* @param value the retcode to set
|
* @param value the retcode to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -77,7 +77,7 @@ public final class GetFarmStageGachaInfoScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .FarmStageGachaInfo farm_stage_gacha_info_list = 10;</code>
|
* <code>repeated .FarmStageGachaInfo farm_stage_gacha_info_list = 12;</code>
|
||||||
* @return whether the farmStageGachaInfoList field is set
|
* @return whether the farmStageGachaInfoList field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasFarmStageGachaInfoList() {
|
public boolean hasFarmStageGachaInfoList() {
|
||||||
@@ -85,7 +85,7 @@ public final class GetFarmStageGachaInfoScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .FarmStageGachaInfo farm_stage_gacha_info_list = 10;</code>
|
* <code>repeated .FarmStageGachaInfo farm_stage_gacha_info_list = 12;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public GetFarmStageGachaInfoScRsp clearFarmStageGachaInfoList() {
|
public GetFarmStageGachaInfoScRsp clearFarmStageGachaInfoList() {
|
||||||
@@ -95,7 +95,7 @@ public final class GetFarmStageGachaInfoScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .FarmStageGachaInfo farm_stage_gacha_info_list = 10;</code>
|
* <code>repeated .FarmStageGachaInfo farm_stage_gacha_info_list = 12;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -110,7 +110,7 @@ public final class GetFarmStageGachaInfoScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .FarmStageGachaInfo farm_stage_gacha_info_list = 10;</code>
|
* <code>repeated .FarmStageGachaInfo farm_stage_gacha_info_list = 12;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -125,7 +125,7 @@ public final class GetFarmStageGachaInfoScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .FarmStageGachaInfo farm_stage_gacha_info_list = 10;</code>
|
* <code>repeated .FarmStageGachaInfo farm_stage_gacha_info_list = 12;</code>
|
||||||
* @param value the farmStageGachaInfoList to add
|
* @param value the farmStageGachaInfoList to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -137,7 +137,7 @@ public final class GetFarmStageGachaInfoScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .FarmStageGachaInfo farm_stage_gacha_info_list = 10;</code>
|
* <code>repeated .FarmStageGachaInfo farm_stage_gacha_info_list = 12;</code>
|
||||||
* @param values the farmStageGachaInfoList to add
|
* @param values the farmStageGachaInfoList to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -214,12 +214,12 @@ public final class GetFarmStageGachaInfoScRspOuterClass {
|
|||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 96);
|
output.writeRawByte((byte) 40);
|
||||||
output.writeUInt32NoTag(retcode);
|
output.writeUInt32NoTag(retcode);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
for (int i = 0; i < farmStageGachaInfoList.length(); i++) {
|
for (int i = 0; i < farmStageGachaInfoList.length(); i++) {
|
||||||
output.writeRawByte((byte) 82);
|
output.writeRawByte((byte) 98);
|
||||||
output.writeMessageNoTag(farmStageGachaInfoList.get(i));
|
output.writeMessageNoTag(farmStageGachaInfoList.get(i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -244,16 +244,16 @@ public final class GetFarmStageGachaInfoScRspOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 96: {
|
case 40: {
|
||||||
// retcode
|
// retcode
|
||||||
retcode = input.readUInt32();
|
retcode = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 82) {
|
if (tag != 98) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 82: {
|
case 98: {
|
||||||
// farmStageGachaInfoList
|
// farmStageGachaInfoList
|
||||||
tag = input.readRepeatedMessage(farmStageGachaInfoList, tag);
|
tag = input.readRepeatedMessage(farmStageGachaInfoList, tag);
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
|
|||||||
Reference in New Issue
Block a user