From d3a84ad2a871de0032dff780d13b9eeb507be7e8 Mon Sep 17 00:00:00 2001 From: wangyuan Date: Thu, 26 Mar 2020 00:02:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=BA=97=E5=88=B7=E6=96=B0=20&=20?= =?UTF-8?q?=E5=B7=A5=E4=BC=9A=E8=A1=8C=E8=B5=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ljsd/jieling/protocols/CommonProto.java | 598 +- .../ljsd/jieling/protocols/Expedition.java | 10964 ++++++++++++++++ .../com/ljsd/jieling/protocols/Family.java | 532 +- .../jieling/protocols/MessageTypeProto.java | 40 +- .../clazzStaticCfg/CommonStaticConfig.java | 2 +- .../com/ljsd/jieling/core/FunctionIdEnum.java | 4 +- .../jieling/core/function/ArenaFunction.java | 5 + .../core/function/ChampionFunction.java | 4 + .../core/function/FunctionContext.java | 2 +- .../jieling/handler/GetPlayerInfoHandler.java | 2 + .../jieling/logic/GlobalDataManaager.java | 13 +- .../jieling/logic/activity/ActivityLogic.java | 2 +- .../logic/activity/FightMainEventHandler.java | 2 + .../activity/event/FunctionRefreshEvent.java | 20 + .../ljsd/jieling/logic/dao/GuildMyInfo.java | 11 + .../ljsd/jieling/logic/family/GuildLogic.java | 5 +- .../ljsd/jieling/logic/store/StoreLogic.java | 66 +- .../main/java/config/SStoreTypeConfig.java | 19 +- 18 files changed, 12123 insertions(+), 168 deletions(-) create mode 100644 bloodybattle/src/main/java/com/ljsd/jieling/protocols/Expedition.java create mode 100644 serverlogic/src/main/java/com/ljsd/jieling/logic/activity/event/FunctionRefreshEvent.java diff --git a/bloodybattle/src/main/java/com/ljsd/jieling/protocols/CommonProto.java b/bloodybattle/src/main/java/com/ljsd/jieling/protocols/CommonProto.java index 3cb2021d5..272484a2b 100644 --- a/bloodybattle/src/main/java/com/ljsd/jieling/protocols/CommonProto.java +++ b/bloodybattle/src/main/java/com/ljsd/jieling/protocols/CommonProto.java @@ -86594,7 +86594,7 @@ public final class CommonProto { * optional int32 type = 3; * *
-     *节点类型
+     *节点类型 //1 //精英节点2;//首领节点3;//复活节点4;//回复节点5;//普通节点
      * 
*/ boolean hasType(); @@ -86602,7 +86602,7 @@ public final class CommonProto { * optional int32 type = 3; * *
-     *节点类型
+     *节点类型 //1 //精英节点2;//首领节点3;//复活节点4;//回复节点5;//普通节点
      * 
*/ int getType(); @@ -86638,7 +86638,7 @@ public final class CommonProto { * optional int32 state = 5; * *
-     *//节点状态 0未开启 1未通过 2未领取圣物 3已完成
+     *//节点状态 0未开启 1未通过 2未领取圣物 3已完成 4已通过
      * 
*/ boolean hasState(); @@ -86646,7 +86646,7 @@ public final class CommonProto { * optional int32 state = 5; * *
-     *//节点状态 0未开启 1未通过 2未领取圣物 3已完成
+     *//节点状态 0未开启 1未通过 2未领取圣物 3已完成 4已通过
      * 
*/ int getState(); @@ -86884,7 +86884,7 @@ public final class CommonProto { * optional int32 type = 3; * *
-     *节点类型
+     *节点类型 //1 //精英节点2;//首领节点3;//复活节点4;//回复节点5;//普通节点
      * 
*/ public boolean hasType() { @@ -86894,7 +86894,7 @@ public final class CommonProto { * optional int32 type = 3; * *
-     *节点类型
+     *节点类型 //1 //精英节点2;//首领节点3;//复活节点4;//回复节点5;//普通节点
      * 
*/ public int getType() { @@ -86942,7 +86942,7 @@ public final class CommonProto { * optional int32 state = 5; * *
-     *//节点状态 0未开启 1未通过 2未领取圣物 3已完成
+     *//节点状态 0未开启 1未通过 2未领取圣物 3已完成 4已通过
      * 
*/ public boolean hasState() { @@ -86952,7 +86952,7 @@ public final class CommonProto { * optional int32 state = 5; * *
-     *//节点状态 0未开启 1未通过 2未领取圣物 3已完成
+     *//节点状态 0未开启 1未通过 2未领取圣物 3已完成 4已通过
      * 
*/ public int getState() { @@ -87436,7 +87436,7 @@ public final class CommonProto { * optional int32 type = 3; * *
-       *节点类型
+       *节点类型 //1 //精英节点2;//首领节点3;//复活节点4;//回复节点5;//普通节点
        * 
*/ public boolean hasType() { @@ -87446,7 +87446,7 @@ public final class CommonProto { * optional int32 type = 3; * *
-       *节点类型
+       *节点类型 //1 //精英节点2;//首领节点3;//复活节点4;//回复节点5;//普通节点
        * 
*/ public int getType() { @@ -87456,7 +87456,7 @@ public final class CommonProto { * optional int32 type = 3; * *
-       *节点类型
+       *节点类型 //1 //精英节点2;//首领节点3;//复活节点4;//回复节点5;//普通节点
        * 
*/ public Builder setType(int value) { @@ -87469,7 +87469,7 @@ public final class CommonProto { * optional int32 type = 3; * *
-       *节点类型
+       *节点类型 //1 //精英节点2;//首领节点3;//复活节点4;//回复节点5;//普通节点
        * 
*/ public Builder clearType() { @@ -87638,7 +87638,7 @@ public final class CommonProto { * optional int32 state = 5; * *
-       *//节点状态 0未开启 1未通过 2未领取圣物 3已完成
+       *//节点状态 0未开启 1未通过 2未领取圣物 3已完成 4已通过
        * 
*/ public boolean hasState() { @@ -87648,7 +87648,7 @@ public final class CommonProto { * optional int32 state = 5; * *
-       *//节点状态 0未开启 1未通过 2未领取圣物 3已完成
+       *//节点状态 0未开启 1未通过 2未领取圣物 3已完成 4已通过
        * 
*/ public int getState() { @@ -87658,7 +87658,7 @@ public final class CommonProto { * optional int32 state = 5; * *
-       *//节点状态 0未开启 1未通过 2未领取圣物 3已完成
+       *//节点状态 0未开启 1未通过 2未领取圣物 3已完成 4已通过
        * 
*/ public Builder setState(int value) { @@ -87671,7 +87671,7 @@ public final class CommonProto { * optional int32 state = 5; * *
-       *//节点状态 0未开启 1未通过 2未领取圣物 3已完成
+       *//节点状态 0未开启 1未通过 2未领取圣物 3已完成 4已通过
        * 
*/ public Builder clearState() { @@ -88418,6 +88418,558 @@ public final class CommonProto { // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo) } + public interface ExpeditionEquipOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional string id = 1; + /** + * optional string id = 1; + */ + boolean hasId(); + /** + * optional string id = 1; + */ + java.lang.String getId(); + /** + * optional string id = 1; + */ + com.google.protobuf.ByteString + getIdBytes(); + + // optional int32 equiptId = 2; + /** + * optional int32 equiptId = 2; + */ + boolean hasEquiptId(); + /** + * optional int32 equiptId = 2; + */ + int getEquiptId(); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.ExpeditionEquip} + */ + public static final class ExpeditionEquip extends + com.google.protobuf.GeneratedMessage + implements ExpeditionEquipOrBuilder { + // Use ExpeditionEquip.newBuilder() to construct. + private ExpeditionEquip(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private ExpeditionEquip(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final ExpeditionEquip defaultInstance; + public static ExpeditionEquip getDefaultInstance() { + return defaultInstance; + } + + public ExpeditionEquip getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ExpeditionEquip( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + id_ = input.readBytes(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + equiptId_ = input.readInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.CommonProto.internal_static_com_ljsd_jieling_protocols_ExpeditionEquip_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.CommonProto.internal_static_com_ljsd_jieling_protocols_ExpeditionEquip_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.class, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ExpeditionEquip parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExpeditionEquip(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional string id = 1; + public static final int ID_FIELD_NUMBER = 1; + private java.lang.Object id_; + /** + * optional string id = 1; + */ + public boolean hasId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional string id = 1; + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + id_ = s; + } + return s; + } + } + /** + * optional string id = 1; + */ + public com.google.protobuf.ByteString + getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional int32 equiptId = 2; + public static final int EQUIPTID_FIELD_NUMBER = 2; + private int equiptId_; + /** + * optional int32 equiptId = 2; + */ + public boolean hasEquiptId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional int32 equiptId = 2; + */ + public int getEquiptId() { + return equiptId_; + } + + private void initFields() { + id_ = ""; + equiptId_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeBytes(1, getIdBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeInt32(2, equiptId_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, getIdBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, equiptId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.ExpeditionEquip} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.CommonProto.ExpeditionEquipOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.CommonProto.internal_static_com_ljsd_jieling_protocols_ExpeditionEquip_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.CommonProto.internal_static_com_ljsd_jieling_protocols_ExpeditionEquip_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.class, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + id_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + equiptId_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.CommonProto.internal_static_com_ljsd_jieling_protocols_ExpeditionEquip_descriptor; + } + + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip build() { + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip buildPartial() { + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip result = new com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.id_ = id_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.equiptId_ = equiptId_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip) { + return mergeFrom((com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip other) { + if (other == com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.getDefaultInstance()) return this; + if (other.hasId()) { + bitField0_ |= 0x00000001; + id_ = other.id_; + onChanged(); + } + if (other.hasEquiptId()) { + setEquiptId(other.getEquiptId()); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // optional string id = 1; + private java.lang.Object id_ = ""; + /** + * optional string id = 1; + */ + public boolean hasId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional string id = 1; + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + id_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string id = 1; + */ + public com.google.protobuf.ByteString + getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string id = 1; + */ + public Builder setId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } + /** + * optional string id = 1; + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000001); + id_ = getDefaultInstance().getId(); + onChanged(); + return this; + } + /** + * optional string id = 1; + */ + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } + + // optional int32 equiptId = 2; + private int equiptId_ ; + /** + * optional int32 equiptId = 2; + */ + public boolean hasEquiptId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional int32 equiptId = 2; + */ + public int getEquiptId() { + return equiptId_; + } + /** + * optional int32 equiptId = 2; + */ + public Builder setEquiptId(int value) { + bitField0_ |= 0x00000002; + equiptId_ = value; + onChanged(); + return this; + } + /** + * optional int32 equiptId = 2; + */ + public Builder clearEquiptId() { + bitField0_ = (bitField0_ & ~0x00000002); + equiptId_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.ExpeditionEquip) + } + + static { + defaultInstance = new ExpeditionEquip(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.ExpeditionEquip) + } + private static com.google.protobuf.Descriptors.Descriptor internal_static_com_ljsd_jieling_protocols_ErrorResponse_descriptor; private static @@ -88898,6 +89450,11 @@ public final class CommonProto { private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_com_ljsd_jieling_protocols_ExpeditionSimpleHeroInfo_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_ExpeditionEquip_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_ExpeditionEquip_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -89171,7 +89728,8 @@ public final class CommonProto { ".jieling.protocols.ExpeditionTeamInfo\022\r\n" + "\005state\030\005 \001(\005\022\023\n\013holyEquipID\030\006 \003(\005\"<\n\030Exp" + "editionSimpleHeroInfo\022\016\n\006heroId\030\001 \001(\t\022\020\n" + - "\010remainHp\030\002 \001(\001B\002H\001" + "\010remainHp\030\002 \001(\001\"/\n\017ExpeditionEquip\022\n\n\002id" + + "\030\001 \001(\t\022\020\n\010equiptId\030\002 \001(\005B\002H\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -89754,6 +90312,12 @@ public final class CommonProto { com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_com_ljsd_jieling_protocols_ExpeditionSimpleHeroInfo_descriptor, new java.lang.String[] { "HeroId", "RemainHp", }); + internal_static_com_ljsd_jieling_protocols_ExpeditionEquip_descriptor = + getDescriptor().getMessageTypes().get(95); + internal_static_com_ljsd_jieling_protocols_ExpeditionEquip_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_ExpeditionEquip_descriptor, + new java.lang.String[] { "Id", "EquiptId", }); return null; } }; diff --git a/bloodybattle/src/main/java/com/ljsd/jieling/protocols/Expedition.java b/bloodybattle/src/main/java/com/ljsd/jieling/protocols/Expedition.java new file mode 100644 index 000000000..2cdde38d6 --- /dev/null +++ b/bloodybattle/src/main/java/com/ljsd/jieling/protocols/Expedition.java @@ -0,0 +1,10964 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Expedition.proto + +package com.ljsd.jieling.protocols; + +public final class Expedition { + private Expedition() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + } + public interface GetExpeditionRequestOrBuilder + extends com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.GetExpeditionRequest} + * + *
+   *获取节点信息
+   * 
+ */ + public static final class GetExpeditionRequest extends + com.google.protobuf.GeneratedMessage + implements GetExpeditionRequestOrBuilder { + // Use GetExpeditionRequest.newBuilder() to construct. + private GetExpeditionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private GetExpeditionRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final GetExpeditionRequest defaultInstance; + public static GetExpeditionRequest getDefaultInstance() { + return defaultInstance; + } + + public GetExpeditionRequest getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetExpeditionRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_GetExpeditionRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_GetExpeditionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest.class, com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GetExpeditionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetExpeditionRequest(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private void initFields() { + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.GetExpeditionRequest} + * + *
+     *获取节点信息
+     * 
+ */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.GetExpeditionRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_GetExpeditionRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_GetExpeditionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest.class, com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_GetExpeditionRequest_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest build() { + com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest buildPartial() { + com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest result = new com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest(this); + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest other) { + if (other == com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.GetExpeditionRequest) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.GetExpeditionRequest) + } + + static { + defaultInstance = new GetExpeditionRequest(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.GetExpeditionRequest) + } + + public interface GetExpeditionResponseOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+     *节点信息
+     * 
+ */ + java.util.List + getNodeInfoList(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+     *节点信息
+     * 
+ */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo getNodeInfo(int index); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+     *节点信息
+     * 
+ */ + int getNodeInfoCount(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+     *节点信息
+     * 
+ */ + java.util.List + getNodeInfoOrBuilderList(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+     *节点信息
+     * 
+ */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfoOrBuilder getNodeInfoOrBuilder( + int index); + + // repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + java.util.List + getHeroInfoList(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo getHeroInfo(int index); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + int getHeroInfoCount(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + java.util.List + getHeroInfoOrBuilderList(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder getHeroInfoOrBuilder( + int index); + + // repeated int32 lay = 3; + /** + * repeated int32 lay = 3; + * + *
+     *领取过奖励的id
+     * 
+ */ + java.util.List getLayList(); + /** + * repeated int32 lay = 3; + * + *
+     *领取过奖励的id
+     * 
+ */ + int getLayCount(); + /** + * repeated int32 lay = 3; + * + *
+     *领取过奖励的id
+     * 
+ */ + int getLay(int index); + + // repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + java.util.List + getEquipIdsList(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip getEquipIds(int index); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + int getEquipIdsCount(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + java.util.List + getEquipIdsOrBuilderList(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquipOrBuilder getEquipIdsOrBuilder( + int index); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.GetExpeditionResponse} + */ + public static final class GetExpeditionResponse extends + com.google.protobuf.GeneratedMessage + implements GetExpeditionResponseOrBuilder { + // Use GetExpeditionResponse.newBuilder() to construct. + private GetExpeditionResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private GetExpeditionResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final GetExpeditionResponse defaultInstance; + public static GetExpeditionResponse getDefaultInstance() { + return defaultInstance; + } + + public GetExpeditionResponse getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetExpeditionResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + nodeInfo_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + nodeInfo_.add(input.readMessage(com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.PARSER, extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + heroInfo_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + heroInfo_.add(input.readMessage(com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.PARSER, extensionRegistry)); + break; + } + case 24: { + if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + lay_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + lay_.add(input.readInt32()); + break; + } + case 26: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) { + lay_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + while (input.getBytesUntilLimit() > 0) { + lay_.add(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + equipIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + equipIds_.add(input.readMessage(com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.PARSER, extensionRegistry)); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + nodeInfo_ = java.util.Collections.unmodifiableList(nodeInfo_); + } + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + heroInfo_ = java.util.Collections.unmodifiableList(heroInfo_); + } + if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + lay_ = java.util.Collections.unmodifiableList(lay_); + } + if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + equipIds_ = java.util.Collections.unmodifiableList(equipIds_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_GetExpeditionResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_GetExpeditionResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse.class, com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GetExpeditionResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetExpeditionResponse(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + // repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + public static final int NODEINFO_FIELD_NUMBER = 1; + private java.util.List nodeInfo_; + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+     *节点信息
+     * 
+ */ + public java.util.List getNodeInfoList() { + return nodeInfo_; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+     *节点信息
+     * 
+ */ + public java.util.List + getNodeInfoOrBuilderList() { + return nodeInfo_; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+     *节点信息
+     * 
+ */ + public int getNodeInfoCount() { + return nodeInfo_.size(); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+     *节点信息
+     * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo getNodeInfo(int index) { + return nodeInfo_.get(index); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+     *节点信息
+     * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfoOrBuilder getNodeInfoOrBuilder( + int index) { + return nodeInfo_.get(index); + } + + // repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + public static final int HEROINFO_FIELD_NUMBER = 2; + private java.util.List heroInfo_; + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + public java.util.List getHeroInfoList() { + return heroInfo_; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + public java.util.List + getHeroInfoOrBuilderList() { + return heroInfo_; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + public int getHeroInfoCount() { + return heroInfo_.size(); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo getHeroInfo(int index) { + return heroInfo_.get(index); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder getHeroInfoOrBuilder( + int index) { + return heroInfo_.get(index); + } + + // repeated int32 lay = 3; + public static final int LAY_FIELD_NUMBER = 3; + private java.util.List lay_; + /** + * repeated int32 lay = 3; + * + *
+     *领取过奖励的id
+     * 
+ */ + public java.util.List + getLayList() { + return lay_; + } + /** + * repeated int32 lay = 3; + * + *
+     *领取过奖励的id
+     * 
+ */ + public int getLayCount() { + return lay_.size(); + } + /** + * repeated int32 lay = 3; + * + *
+     *领取过奖励的id
+     * 
+ */ + public int getLay(int index) { + return lay_.get(index); + } + + // repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + public static final int EQUIPIDS_FIELD_NUMBER = 4; + private java.util.List equipIds_; + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public java.util.List getEquipIdsList() { + return equipIds_; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public java.util.List + getEquipIdsOrBuilderList() { + return equipIds_; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public int getEquipIdsCount() { + return equipIds_.size(); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip getEquipIds(int index) { + return equipIds_.get(index); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquipOrBuilder getEquipIdsOrBuilder( + int index) { + return equipIds_.get(index); + } + + private void initFields() { + nodeInfo_ = java.util.Collections.emptyList(); + heroInfo_ = java.util.Collections.emptyList(); + lay_ = java.util.Collections.emptyList(); + equipIds_ = java.util.Collections.emptyList(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + for (int i = 0; i < nodeInfo_.size(); i++) { + output.writeMessage(1, nodeInfo_.get(i)); + } + for (int i = 0; i < heroInfo_.size(); i++) { + output.writeMessage(2, heroInfo_.get(i)); + } + for (int i = 0; i < lay_.size(); i++) { + output.writeInt32(3, lay_.get(i)); + } + for (int i = 0; i < equipIds_.size(); i++) { + output.writeMessage(4, equipIds_.get(i)); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < nodeInfo_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, nodeInfo_.get(i)); + } + for (int i = 0; i < heroInfo_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, heroInfo_.get(i)); + } + { + int dataSize = 0; + for (int i = 0; i < lay_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(lay_.get(i)); + } + size += dataSize; + size += 1 * getLayList().size(); + } + for (int i = 0; i < equipIds_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, equipIds_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.GetExpeditionResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.GetExpeditionResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_GetExpeditionResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_GetExpeditionResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse.class, com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + getNodeInfoFieldBuilder(); + getHeroInfoFieldBuilder(); + getEquipIdsFieldBuilder(); + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + if (nodeInfoBuilder_ == null) { + nodeInfo_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + nodeInfoBuilder_.clear(); + } + if (heroInfoBuilder_ == null) { + heroInfo_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + heroInfoBuilder_.clear(); + } + lay_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + if (equipIdsBuilder_ == null) { + equipIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + } else { + equipIdsBuilder_.clear(); + } + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_GetExpeditionResponse_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse build() { + com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse buildPartial() { + com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse result = new com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse(this); + int from_bitField0_ = bitField0_; + if (nodeInfoBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + nodeInfo_ = java.util.Collections.unmodifiableList(nodeInfo_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.nodeInfo_ = nodeInfo_; + } else { + result.nodeInfo_ = nodeInfoBuilder_.build(); + } + if (heroInfoBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002)) { + heroInfo_ = java.util.Collections.unmodifiableList(heroInfo_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.heroInfo_ = heroInfo_; + } else { + result.heroInfo_ = heroInfoBuilder_.build(); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + lay_ = java.util.Collections.unmodifiableList(lay_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.lay_ = lay_; + if (equipIdsBuilder_ == null) { + if (((bitField0_ & 0x00000008) == 0x00000008)) { + equipIds_ = java.util.Collections.unmodifiableList(equipIds_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.equipIds_ = equipIds_; + } else { + result.equipIds_ = equipIdsBuilder_.build(); + } + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse other) { + if (other == com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse.getDefaultInstance()) return this; + if (nodeInfoBuilder_ == null) { + if (!other.nodeInfo_.isEmpty()) { + if (nodeInfo_.isEmpty()) { + nodeInfo_ = other.nodeInfo_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureNodeInfoIsMutable(); + nodeInfo_.addAll(other.nodeInfo_); + } + onChanged(); + } + } else { + if (!other.nodeInfo_.isEmpty()) { + if (nodeInfoBuilder_.isEmpty()) { + nodeInfoBuilder_.dispose(); + nodeInfoBuilder_ = null; + nodeInfo_ = other.nodeInfo_; + bitField0_ = (bitField0_ & ~0x00000001); + nodeInfoBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + getNodeInfoFieldBuilder() : null; + } else { + nodeInfoBuilder_.addAllMessages(other.nodeInfo_); + } + } + } + if (heroInfoBuilder_ == null) { + if (!other.heroInfo_.isEmpty()) { + if (heroInfo_.isEmpty()) { + heroInfo_ = other.heroInfo_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureHeroInfoIsMutable(); + heroInfo_.addAll(other.heroInfo_); + } + onChanged(); + } + } else { + if (!other.heroInfo_.isEmpty()) { + if (heroInfoBuilder_.isEmpty()) { + heroInfoBuilder_.dispose(); + heroInfoBuilder_ = null; + heroInfo_ = other.heroInfo_; + bitField0_ = (bitField0_ & ~0x00000002); + heroInfoBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + getHeroInfoFieldBuilder() : null; + } else { + heroInfoBuilder_.addAllMessages(other.heroInfo_); + } + } + } + if (!other.lay_.isEmpty()) { + if (lay_.isEmpty()) { + lay_ = other.lay_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureLayIsMutable(); + lay_.addAll(other.lay_); + } + onChanged(); + } + if (equipIdsBuilder_ == null) { + if (!other.equipIds_.isEmpty()) { + if (equipIds_.isEmpty()) { + equipIds_ = other.equipIds_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureEquipIdsIsMutable(); + equipIds_.addAll(other.equipIds_); + } + onChanged(); + } + } else { + if (!other.equipIds_.isEmpty()) { + if (equipIdsBuilder_.isEmpty()) { + equipIdsBuilder_.dispose(); + equipIdsBuilder_ = null; + equipIds_ = other.equipIds_; + bitField0_ = (bitField0_ & ~0x00000008); + equipIdsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + getEquipIdsFieldBuilder() : null; + } else { + equipIdsBuilder_.addAllMessages(other.equipIds_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.GetExpeditionResponse) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + private java.util.List nodeInfo_ = + java.util.Collections.emptyList(); + private void ensureNodeInfoIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + nodeInfo_ = new java.util.ArrayList(nodeInfo_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfoOrBuilder> nodeInfoBuilder_; + + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public java.util.List getNodeInfoList() { + if (nodeInfoBuilder_ == null) { + return java.util.Collections.unmodifiableList(nodeInfo_); + } else { + return nodeInfoBuilder_.getMessageList(); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public int getNodeInfoCount() { + if (nodeInfoBuilder_ == null) { + return nodeInfo_.size(); + } else { + return nodeInfoBuilder_.getCount(); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo getNodeInfo(int index) { + if (nodeInfoBuilder_ == null) { + return nodeInfo_.get(index); + } else { + return nodeInfoBuilder_.getMessage(index); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public Builder setNodeInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo value) { + if (nodeInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodeInfoIsMutable(); + nodeInfo_.set(index, value); + onChanged(); + } else { + nodeInfoBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public Builder setNodeInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder builderForValue) { + if (nodeInfoBuilder_ == null) { + ensureNodeInfoIsMutable(); + nodeInfo_.set(index, builderForValue.build()); + onChanged(); + } else { + nodeInfoBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public Builder addNodeInfo(com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo value) { + if (nodeInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodeInfoIsMutable(); + nodeInfo_.add(value); + onChanged(); + } else { + nodeInfoBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public Builder addNodeInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo value) { + if (nodeInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodeInfoIsMutable(); + nodeInfo_.add(index, value); + onChanged(); + } else { + nodeInfoBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public Builder addNodeInfo( + com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder builderForValue) { + if (nodeInfoBuilder_ == null) { + ensureNodeInfoIsMutable(); + nodeInfo_.add(builderForValue.build()); + onChanged(); + } else { + nodeInfoBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public Builder addNodeInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder builderForValue) { + if (nodeInfoBuilder_ == null) { + ensureNodeInfoIsMutable(); + nodeInfo_.add(index, builderForValue.build()); + onChanged(); + } else { + nodeInfoBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public Builder addAllNodeInfo( + java.lang.Iterable values) { + if (nodeInfoBuilder_ == null) { + ensureNodeInfoIsMutable(); + super.addAll(values, nodeInfo_); + onChanged(); + } else { + nodeInfoBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public Builder clearNodeInfo() { + if (nodeInfoBuilder_ == null) { + nodeInfo_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + nodeInfoBuilder_.clear(); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public Builder removeNodeInfo(int index) { + if (nodeInfoBuilder_ == null) { + ensureNodeInfoIsMutable(); + nodeInfo_.remove(index); + onChanged(); + } else { + nodeInfoBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder getNodeInfoBuilder( + int index) { + return getNodeInfoFieldBuilder().getBuilder(index); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfoOrBuilder getNodeInfoOrBuilder( + int index) { + if (nodeInfoBuilder_ == null) { + return nodeInfo_.get(index); } else { + return nodeInfoBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public java.util.List + getNodeInfoOrBuilderList() { + if (nodeInfoBuilder_ != null) { + return nodeInfoBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(nodeInfo_); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder addNodeInfoBuilder() { + return getNodeInfoFieldBuilder().addBuilder( + com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.getDefaultInstance()); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder addNodeInfoBuilder( + int index) { + return getNodeInfoFieldBuilder().addBuilder( + index, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.getDefaultInstance()); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + * + *
+       *节点信息
+       * 
+ */ + public java.util.List + getNodeInfoBuilderList() { + return getNodeInfoFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfoOrBuilder> + getNodeInfoFieldBuilder() { + if (nodeInfoBuilder_ == null) { + nodeInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfoOrBuilder>( + nodeInfo_, + ((bitField0_ & 0x00000001) == 0x00000001), + getParentForChildren(), + isClean()); + nodeInfo_ = null; + } + return nodeInfoBuilder_; + } + + // repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + private java.util.List heroInfo_ = + java.util.Collections.emptyList(); + private void ensureHeroInfoIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + heroInfo_ = new java.util.ArrayList(heroInfo_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder> heroInfoBuilder_; + + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public java.util.List getHeroInfoList() { + if (heroInfoBuilder_ == null) { + return java.util.Collections.unmodifiableList(heroInfo_); + } else { + return heroInfoBuilder_.getMessageList(); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public int getHeroInfoCount() { + if (heroInfoBuilder_ == null) { + return heroInfo_.size(); + } else { + return heroInfoBuilder_.getCount(); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo getHeroInfo(int index) { + if (heroInfoBuilder_ == null) { + return heroInfo_.get(index); + } else { + return heroInfoBuilder_.getMessage(index); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder setHeroInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo value) { + if (heroInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureHeroInfoIsMutable(); + heroInfo_.set(index, value); + onChanged(); + } else { + heroInfoBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder setHeroInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder builderForValue) { + if (heroInfoBuilder_ == null) { + ensureHeroInfoIsMutable(); + heroInfo_.set(index, builderForValue.build()); + onChanged(); + } else { + heroInfoBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder addHeroInfo(com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo value) { + if (heroInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureHeroInfoIsMutable(); + heroInfo_.add(value); + onChanged(); + } else { + heroInfoBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder addHeroInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo value) { + if (heroInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureHeroInfoIsMutable(); + heroInfo_.add(index, value); + onChanged(); + } else { + heroInfoBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder addHeroInfo( + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder builderForValue) { + if (heroInfoBuilder_ == null) { + ensureHeroInfoIsMutable(); + heroInfo_.add(builderForValue.build()); + onChanged(); + } else { + heroInfoBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder addHeroInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder builderForValue) { + if (heroInfoBuilder_ == null) { + ensureHeroInfoIsMutable(); + heroInfo_.add(index, builderForValue.build()); + onChanged(); + } else { + heroInfoBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder addAllHeroInfo( + java.lang.Iterable values) { + if (heroInfoBuilder_ == null) { + ensureHeroInfoIsMutable(); + super.addAll(values, heroInfo_); + onChanged(); + } else { + heroInfoBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder clearHeroInfo() { + if (heroInfoBuilder_ == null) { + heroInfo_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + heroInfoBuilder_.clear(); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder removeHeroInfo(int index) { + if (heroInfoBuilder_ == null) { + ensureHeroInfoIsMutable(); + heroInfo_.remove(index); + onChanged(); + } else { + heroInfoBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder getHeroInfoBuilder( + int index) { + return getHeroInfoFieldBuilder().getBuilder(index); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder getHeroInfoOrBuilder( + int index) { + if (heroInfoBuilder_ == null) { + return heroInfo_.get(index); } else { + return heroInfoBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public java.util.List + getHeroInfoOrBuilderList() { + if (heroInfoBuilder_ != null) { + return heroInfoBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(heroInfo_); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder addHeroInfoBuilder() { + return getHeroInfoFieldBuilder().addBuilder( + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.getDefaultInstance()); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder addHeroInfoBuilder( + int index) { + return getHeroInfoFieldBuilder().addBuilder( + index, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.getDefaultInstance()); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public java.util.List + getHeroInfoBuilderList() { + return getHeroInfoFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder> + getHeroInfoFieldBuilder() { + if (heroInfoBuilder_ == null) { + heroInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder>( + heroInfo_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); + heroInfo_ = null; + } + return heroInfoBuilder_; + } + + // repeated int32 lay = 3; + private java.util.List lay_ = java.util.Collections.emptyList(); + private void ensureLayIsMutable() { + if (!((bitField0_ & 0x00000004) == 0x00000004)) { + lay_ = new java.util.ArrayList(lay_); + bitField0_ |= 0x00000004; + } + } + /** + * repeated int32 lay = 3; + * + *
+       *领取过奖励的id
+       * 
+ */ + public java.util.List + getLayList() { + return java.util.Collections.unmodifiableList(lay_); + } + /** + * repeated int32 lay = 3; + * + *
+       *领取过奖励的id
+       * 
+ */ + public int getLayCount() { + return lay_.size(); + } + /** + * repeated int32 lay = 3; + * + *
+       *领取过奖励的id
+       * 
+ */ + public int getLay(int index) { + return lay_.get(index); + } + /** + * repeated int32 lay = 3; + * + *
+       *领取过奖励的id
+       * 
+ */ + public Builder setLay( + int index, int value) { + ensureLayIsMutable(); + lay_.set(index, value); + onChanged(); + return this; + } + /** + * repeated int32 lay = 3; + * + *
+       *领取过奖励的id
+       * 
+ */ + public Builder addLay(int value) { + ensureLayIsMutable(); + lay_.add(value); + onChanged(); + return this; + } + /** + * repeated int32 lay = 3; + * + *
+       *领取过奖励的id
+       * 
+ */ + public Builder addAllLay( + java.lang.Iterable values) { + ensureLayIsMutable(); + super.addAll(values, lay_); + onChanged(); + return this; + } + /** + * repeated int32 lay = 3; + * + *
+       *领取过奖励的id
+       * 
+ */ + public Builder clearLay() { + lay_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + // repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + private java.util.List equipIds_ = + java.util.Collections.emptyList(); + private void ensureEquipIdsIsMutable() { + if (!((bitField0_ & 0x00000008) == 0x00000008)) { + equipIds_ = new java.util.ArrayList(equipIds_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquipOrBuilder> equipIdsBuilder_; + + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public java.util.List getEquipIdsList() { + if (equipIdsBuilder_ == null) { + return java.util.Collections.unmodifiableList(equipIds_); + } else { + return equipIdsBuilder_.getMessageList(); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public int getEquipIdsCount() { + if (equipIdsBuilder_ == null) { + return equipIds_.size(); + } else { + return equipIdsBuilder_.getCount(); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip getEquipIds(int index) { + if (equipIdsBuilder_ == null) { + return equipIds_.get(index); + } else { + return equipIdsBuilder_.getMessage(index); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public Builder setEquipIds( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip value) { + if (equipIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEquipIdsIsMutable(); + equipIds_.set(index, value); + onChanged(); + } else { + equipIdsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public Builder setEquipIds( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder builderForValue) { + if (equipIdsBuilder_ == null) { + ensureEquipIdsIsMutable(); + equipIds_.set(index, builderForValue.build()); + onChanged(); + } else { + equipIdsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public Builder addEquipIds(com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip value) { + if (equipIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEquipIdsIsMutable(); + equipIds_.add(value); + onChanged(); + } else { + equipIdsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public Builder addEquipIds( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip value) { + if (equipIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEquipIdsIsMutable(); + equipIds_.add(index, value); + onChanged(); + } else { + equipIdsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public Builder addEquipIds( + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder builderForValue) { + if (equipIdsBuilder_ == null) { + ensureEquipIdsIsMutable(); + equipIds_.add(builderForValue.build()); + onChanged(); + } else { + equipIdsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public Builder addEquipIds( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder builderForValue) { + if (equipIdsBuilder_ == null) { + ensureEquipIdsIsMutable(); + equipIds_.add(index, builderForValue.build()); + onChanged(); + } else { + equipIdsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public Builder addAllEquipIds( + java.lang.Iterable values) { + if (equipIdsBuilder_ == null) { + ensureEquipIdsIsMutable(); + super.addAll(values, equipIds_); + onChanged(); + } else { + equipIdsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public Builder clearEquipIds() { + if (equipIdsBuilder_ == null) { + equipIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + equipIdsBuilder_.clear(); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public Builder removeEquipIds(int index) { + if (equipIdsBuilder_ == null) { + ensureEquipIdsIsMutable(); + equipIds_.remove(index); + onChanged(); + } else { + equipIdsBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder getEquipIdsBuilder( + int index) { + return getEquipIdsFieldBuilder().getBuilder(index); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquipOrBuilder getEquipIdsOrBuilder( + int index) { + if (equipIdsBuilder_ == null) { + return equipIds_.get(index); } else { + return equipIdsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public java.util.List + getEquipIdsOrBuilderList() { + if (equipIdsBuilder_ != null) { + return equipIdsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(equipIds_); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder addEquipIdsBuilder() { + return getEquipIdsFieldBuilder().addBuilder( + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.getDefaultInstance()); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder addEquipIdsBuilder( + int index) { + return getEquipIdsFieldBuilder().addBuilder( + index, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.getDefaultInstance()); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 4; + */ + public java.util.List + getEquipIdsBuilderList() { + return getEquipIdsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquipOrBuilder> + getEquipIdsFieldBuilder() { + if (equipIdsBuilder_ == null) { + equipIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquipOrBuilder>( + equipIds_, + ((bitField0_ & 0x00000008) == 0x00000008), + getParentForChildren(), + isClean()); + equipIds_ = null; + } + return equipIdsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.GetExpeditionResponse) + } + + static { + defaultInstance = new GetExpeditionResponse(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.GetExpeditionResponse) + } + + public interface TakeExpeditionBoxRewardRequestOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional int32 lay = 1; + /** + * optional int32 lay = 1; + * + *
+     *层
+     * 
+ */ + boolean hasLay(); + /** + * optional int32 lay = 1; + * + *
+     *层
+     * 
+ */ + int getLay(); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.TakeExpeditionBoxRewardRequest} + */ + public static final class TakeExpeditionBoxRewardRequest extends + com.google.protobuf.GeneratedMessage + implements TakeExpeditionBoxRewardRequestOrBuilder { + // Use TakeExpeditionBoxRewardRequest.newBuilder() to construct. + private TakeExpeditionBoxRewardRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private TakeExpeditionBoxRewardRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final TakeExpeditionBoxRewardRequest defaultInstance; + public static TakeExpeditionBoxRewardRequest getDefaultInstance() { + return defaultInstance; + } + + public TakeExpeditionBoxRewardRequest getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TakeExpeditionBoxRewardRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + lay_ = input.readInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest.class, com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public TakeExpeditionBoxRewardRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TakeExpeditionBoxRewardRequest(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional int32 lay = 1; + public static final int LAY_FIELD_NUMBER = 1; + private int lay_; + /** + * optional int32 lay = 1; + * + *
+     *层
+     * 
+ */ + public boolean hasLay() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional int32 lay = 1; + * + *
+     *层
+     * 
+ */ + public int getLay() { + return lay_; + } + + private void initFields() { + lay_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt32(1, lay_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, lay_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.TakeExpeditionBoxRewardRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest.class, com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + lay_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardRequest_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest build() { + com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest buildPartial() { + com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest result = new com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.lay_ = lay_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest other) { + if (other == com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest.getDefaultInstance()) return this; + if (other.hasLay()) { + setLay(other.getLay()); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardRequest) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // optional int32 lay = 1; + private int lay_ ; + /** + * optional int32 lay = 1; + * + *
+       *层
+       * 
+ */ + public boolean hasLay() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional int32 lay = 1; + * + *
+       *层
+       * 
+ */ + public int getLay() { + return lay_; + } + /** + * optional int32 lay = 1; + * + *
+       *层
+       * 
+ */ + public Builder setLay(int value) { + bitField0_ |= 0x00000001; + lay_ = value; + onChanged(); + return this; + } + /** + * optional int32 lay = 1; + * + *
+       *层
+       * 
+ */ + public Builder clearLay() { + bitField0_ = (bitField0_ & ~0x00000001); + lay_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.TakeExpeditionBoxRewardRequest) + } + + static { + defaultInstance = new TakeExpeditionBoxRewardRequest(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.TakeExpeditionBoxRewardRequest) + } + + public interface TakeExpeditionBoxRewardResponseOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional .com.ljsd.jieling.protocols.Drop drop = 1; + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 1; + */ + boolean hasDrop(); + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 1; + */ + com.ljsd.jieling.protocols.CommonProto.Drop getDrop(); + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 1; + */ + com.ljsd.jieling.protocols.CommonProto.DropOrBuilder getDropOrBuilder(); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.TakeExpeditionBoxRewardResponse} + */ + public static final class TakeExpeditionBoxRewardResponse extends + com.google.protobuf.GeneratedMessage + implements TakeExpeditionBoxRewardResponseOrBuilder { + // Use TakeExpeditionBoxRewardResponse.newBuilder() to construct. + private TakeExpeditionBoxRewardResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private TakeExpeditionBoxRewardResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final TakeExpeditionBoxRewardResponse defaultInstance; + public static TakeExpeditionBoxRewardResponse getDefaultInstance() { + return defaultInstance; + } + + public TakeExpeditionBoxRewardResponse getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TakeExpeditionBoxRewardResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + com.ljsd.jieling.protocols.CommonProto.Drop.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + subBuilder = drop_.toBuilder(); + } + drop_ = input.readMessage(com.ljsd.jieling.protocols.CommonProto.Drop.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(drop_); + drop_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse.class, com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public TakeExpeditionBoxRewardResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TakeExpeditionBoxRewardResponse(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional .com.ljsd.jieling.protocols.Drop drop = 1; + public static final int DROP_FIELD_NUMBER = 1; + private com.ljsd.jieling.protocols.CommonProto.Drop drop_; + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 1; + */ + public boolean hasDrop() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.Drop getDrop() { + return drop_; + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.DropOrBuilder getDropOrBuilder() { + return drop_; + } + + private void initFields() { + drop_ = com.ljsd.jieling.protocols.CommonProto.Drop.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeMessage(1, drop_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, drop_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.TakeExpeditionBoxRewardResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse.class, com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + getDropFieldBuilder(); + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + if (dropBuilder_ == null) { + drop_ = com.ljsd.jieling.protocols.CommonProto.Drop.getDefaultInstance(); + } else { + dropBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardResponse_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse build() { + com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse buildPartial() { + com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse result = new com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + if (dropBuilder_ == null) { + result.drop_ = drop_; + } else { + result.drop_ = dropBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse other) { + if (other == com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse.getDefaultInstance()) return this; + if (other.hasDrop()) { + mergeDrop(other.getDrop()); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.TakeExpeditionBoxRewardResponse) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // optional .com.ljsd.jieling.protocols.Drop drop = 1; + private com.ljsd.jieling.protocols.CommonProto.Drop drop_ = com.ljsd.jieling.protocols.CommonProto.Drop.getDefaultInstance(); + private com.google.protobuf.SingleFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.Drop, com.ljsd.jieling.protocols.CommonProto.Drop.Builder, com.ljsd.jieling.protocols.CommonProto.DropOrBuilder> dropBuilder_; + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 1; + */ + public boolean hasDrop() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.Drop getDrop() { + if (dropBuilder_ == null) { + return drop_; + } else { + return dropBuilder_.getMessage(); + } + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 1; + */ + public Builder setDrop(com.ljsd.jieling.protocols.CommonProto.Drop value) { + if (dropBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + drop_ = value; + onChanged(); + } else { + dropBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 1; + */ + public Builder setDrop( + com.ljsd.jieling.protocols.CommonProto.Drop.Builder builderForValue) { + if (dropBuilder_ == null) { + drop_ = builderForValue.build(); + onChanged(); + } else { + dropBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 1; + */ + public Builder mergeDrop(com.ljsd.jieling.protocols.CommonProto.Drop value) { + if (dropBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001) && + drop_ != com.ljsd.jieling.protocols.CommonProto.Drop.getDefaultInstance()) { + drop_ = + com.ljsd.jieling.protocols.CommonProto.Drop.newBuilder(drop_).mergeFrom(value).buildPartial(); + } else { + drop_ = value; + } + onChanged(); + } else { + dropBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 1; + */ + public Builder clearDrop() { + if (dropBuilder_ == null) { + drop_ = com.ljsd.jieling.protocols.CommonProto.Drop.getDefaultInstance(); + onChanged(); + } else { + dropBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.Drop.Builder getDropBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getDropFieldBuilder().getBuilder(); + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.DropOrBuilder getDropOrBuilder() { + if (dropBuilder_ != null) { + return dropBuilder_.getMessageOrBuilder(); + } else { + return drop_; + } + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 1; + */ + private com.google.protobuf.SingleFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.Drop, com.ljsd.jieling.protocols.CommonProto.Drop.Builder, com.ljsd.jieling.protocols.CommonProto.DropOrBuilder> + getDropFieldBuilder() { + if (dropBuilder_ == null) { + dropBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.Drop, com.ljsd.jieling.protocols.CommonProto.Drop.Builder, com.ljsd.jieling.protocols.CommonProto.DropOrBuilder>( + drop_, + getParentForChildren(), + isClean()); + drop_ = null; + } + return dropBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.TakeExpeditionBoxRewardResponse) + } + + static { + defaultInstance = new TakeExpeditionBoxRewardResponse(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.TakeExpeditionBoxRewardResponse) + } + + public interface ReliveExpeditionHeroRequestOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional string heroId = 1; + /** + * optional string heroId = 1; + * + *
+     *复活英雄id
+     * 
+ */ + boolean hasHeroId(); + /** + * optional string heroId = 1; + * + *
+     *复活英雄id
+     * 
+ */ + java.lang.String getHeroId(); + /** + * optional string heroId = 1; + * + *
+     *复活英雄id
+     * 
+ */ + com.google.protobuf.ByteString + getHeroIdBytes(); + + // optional int32 nodeId = 2; + /** + * optional int32 nodeId = 2; + * + *
+     *节点信息 -1使用道具恢复
+     * 
+ */ + boolean hasNodeId(); + /** + * optional int32 nodeId = 2; + * + *
+     *节点信息 -1使用道具恢复
+     * 
+ */ + int getNodeId(); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.ReliveExpeditionHeroRequest} + */ + public static final class ReliveExpeditionHeroRequest extends + com.google.protobuf.GeneratedMessage + implements ReliveExpeditionHeroRequestOrBuilder { + // Use ReliveExpeditionHeroRequest.newBuilder() to construct. + private ReliveExpeditionHeroRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private ReliveExpeditionHeroRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final ReliveExpeditionHeroRequest defaultInstance; + public static ReliveExpeditionHeroRequest getDefaultInstance() { + return defaultInstance; + } + + public ReliveExpeditionHeroRequest getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ReliveExpeditionHeroRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + heroId_ = input.readBytes(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + nodeId_ = input.readInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest.class, com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ReliveExpeditionHeroRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReliveExpeditionHeroRequest(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional string heroId = 1; + public static final int HEROID_FIELD_NUMBER = 1; + private java.lang.Object heroId_; + /** + * optional string heroId = 1; + * + *
+     *复活英雄id
+     * 
+ */ + public boolean hasHeroId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional string heroId = 1; + * + *
+     *复活英雄id
+     * 
+ */ + public java.lang.String getHeroId() { + java.lang.Object ref = heroId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + heroId_ = s; + } + return s; + } + } + /** + * optional string heroId = 1; + * + *
+     *复活英雄id
+     * 
+ */ + public com.google.protobuf.ByteString + getHeroIdBytes() { + java.lang.Object ref = heroId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + heroId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional int32 nodeId = 2; + public static final int NODEID_FIELD_NUMBER = 2; + private int nodeId_; + /** + * optional int32 nodeId = 2; + * + *
+     *节点信息 -1使用道具恢复
+     * 
+ */ + public boolean hasNodeId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional int32 nodeId = 2; + * + *
+     *节点信息 -1使用道具恢复
+     * 
+ */ + public int getNodeId() { + return nodeId_; + } + + private void initFields() { + heroId_ = ""; + nodeId_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeBytes(1, getHeroIdBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeInt32(2, nodeId_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, getHeroIdBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, nodeId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.ReliveExpeditionHeroRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest.class, com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + heroId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + nodeId_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroRequest_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest build() { + com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest buildPartial() { + com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest result = new com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.heroId_ = heroId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.nodeId_ = nodeId_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest other) { + if (other == com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest.getDefaultInstance()) return this; + if (other.hasHeroId()) { + bitField0_ |= 0x00000001; + heroId_ = other.heroId_; + onChanged(); + } + if (other.hasNodeId()) { + setNodeId(other.getNodeId()); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroRequest) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // optional string heroId = 1; + private java.lang.Object heroId_ = ""; + /** + * optional string heroId = 1; + * + *
+       *复活英雄id
+       * 
+ */ + public boolean hasHeroId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional string heroId = 1; + * + *
+       *复活英雄id
+       * 
+ */ + public java.lang.String getHeroId() { + java.lang.Object ref = heroId_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + heroId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string heroId = 1; + * + *
+       *复活英雄id
+       * 
+ */ + public com.google.protobuf.ByteString + getHeroIdBytes() { + java.lang.Object ref = heroId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + heroId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string heroId = 1; + * + *
+       *复活英雄id
+       * 
+ */ + public Builder setHeroId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + heroId_ = value; + onChanged(); + return this; + } + /** + * optional string heroId = 1; + * + *
+       *复活英雄id
+       * 
+ */ + public Builder clearHeroId() { + bitField0_ = (bitField0_ & ~0x00000001); + heroId_ = getDefaultInstance().getHeroId(); + onChanged(); + return this; + } + /** + * optional string heroId = 1; + * + *
+       *复活英雄id
+       * 
+ */ + public Builder setHeroIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + heroId_ = value; + onChanged(); + return this; + } + + // optional int32 nodeId = 2; + private int nodeId_ ; + /** + * optional int32 nodeId = 2; + * + *
+       *节点信息 -1使用道具恢复
+       * 
+ */ + public boolean hasNodeId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional int32 nodeId = 2; + * + *
+       *节点信息 -1使用道具恢复
+       * 
+ */ + public int getNodeId() { + return nodeId_; + } + /** + * optional int32 nodeId = 2; + * + *
+       *节点信息 -1使用道具恢复
+       * 
+ */ + public Builder setNodeId(int value) { + bitField0_ |= 0x00000002; + nodeId_ = value; + onChanged(); + return this; + } + /** + * optional int32 nodeId = 2; + * + *
+       *节点信息 -1使用道具恢复
+       * 
+ */ + public Builder clearNodeId() { + bitField0_ = (bitField0_ & ~0x00000002); + nodeId_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.ReliveExpeditionHeroRequest) + } + + static { + defaultInstance = new ReliveExpeditionHeroRequest(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.ReliveExpeditionHeroRequest) + } + + public interface ReliveExpeditionHeroResponseOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + /** + * optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *复活的英雄信息
+     * 
+ */ + boolean hasHeroInfo(); + /** + * optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *复活的英雄信息
+     * 
+ */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo getHeroInfo(); + /** + * optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *复活的英雄信息
+     * 
+ */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder getHeroInfoOrBuilder(); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.ReliveExpeditionHeroResponse} + */ + public static final class ReliveExpeditionHeroResponse extends + com.google.protobuf.GeneratedMessage + implements ReliveExpeditionHeroResponseOrBuilder { + // Use ReliveExpeditionHeroResponse.newBuilder() to construct. + private ReliveExpeditionHeroResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private ReliveExpeditionHeroResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final ReliveExpeditionHeroResponse defaultInstance; + public static ReliveExpeditionHeroResponse getDefaultInstance() { + return defaultInstance; + } + + public ReliveExpeditionHeroResponse getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ReliveExpeditionHeroResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + subBuilder = heroInfo_.toBuilder(); + } + heroInfo_ = input.readMessage(com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(heroInfo_); + heroInfo_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse.class, com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ReliveExpeditionHeroResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReliveExpeditionHeroResponse(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + public static final int HEROINFO_FIELD_NUMBER = 1; + private com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo heroInfo_; + /** + * optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *复活的英雄信息
+     * 
+ */ + public boolean hasHeroInfo() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *复活的英雄信息
+     * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo getHeroInfo() { + return heroInfo_; + } + /** + * optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *复活的英雄信息
+     * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder getHeroInfoOrBuilder() { + return heroInfo_; + } + + private void initFields() { + heroInfo_ = com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeMessage(1, heroInfo_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, heroInfo_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.ReliveExpeditionHeroResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse.class, com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + getHeroInfoFieldBuilder(); + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + if (heroInfoBuilder_ == null) { + heroInfo_ = com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.getDefaultInstance(); + } else { + heroInfoBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroResponse_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse build() { + com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse buildPartial() { + com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse result = new com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + if (heroInfoBuilder_ == null) { + result.heroInfo_ = heroInfo_; + } else { + result.heroInfo_ = heroInfoBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse other) { + if (other == com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse.getDefaultInstance()) return this; + if (other.hasHeroInfo()) { + mergeHeroInfo(other.getHeroInfo()); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.ReliveExpeditionHeroResponse) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + private com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo heroInfo_ = com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.getDefaultInstance(); + private com.google.protobuf.SingleFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder> heroInfoBuilder_; + /** + * optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *复活的英雄信息
+       * 
+ */ + public boolean hasHeroInfo() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *复活的英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo getHeroInfo() { + if (heroInfoBuilder_ == null) { + return heroInfo_; + } else { + return heroInfoBuilder_.getMessage(); + } + } + /** + * optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *复活的英雄信息
+       * 
+ */ + public Builder setHeroInfo(com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo value) { + if (heroInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + heroInfo_ = value; + onChanged(); + } else { + heroInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *复活的英雄信息
+       * 
+ */ + public Builder setHeroInfo( + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder builderForValue) { + if (heroInfoBuilder_ == null) { + heroInfo_ = builderForValue.build(); + onChanged(); + } else { + heroInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *复活的英雄信息
+       * 
+ */ + public Builder mergeHeroInfo(com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo value) { + if (heroInfoBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001) && + heroInfo_ != com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.getDefaultInstance()) { + heroInfo_ = + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.newBuilder(heroInfo_).mergeFrom(value).buildPartial(); + } else { + heroInfo_ = value; + } + onChanged(); + } else { + heroInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *复活的英雄信息
+       * 
+ */ + public Builder clearHeroInfo() { + if (heroInfoBuilder_ == null) { + heroInfo_ = com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.getDefaultInstance(); + onChanged(); + } else { + heroInfoBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *复活的英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder getHeroInfoBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getHeroInfoFieldBuilder().getBuilder(); + } + /** + * optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *复活的英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder getHeroInfoOrBuilder() { + if (heroInfoBuilder_ != null) { + return heroInfoBuilder_.getMessageOrBuilder(); + } else { + return heroInfo_; + } + } + /** + * optional .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *复活的英雄信息
+       * 
+ */ + private com.google.protobuf.SingleFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder> + getHeroInfoFieldBuilder() { + if (heroInfoBuilder_ == null) { + heroInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder>( + heroInfo_, + getParentForChildren(), + isClean()); + heroInfo_ = null; + } + return heroInfoBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.ReliveExpeditionHeroResponse) + } + + static { + defaultInstance = new ReliveExpeditionHeroResponse(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.ReliveExpeditionHeroResponse) + } + + public interface ReCoverExpeditionHeroRequestOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional int32 nodeId = 1; + /** + * optional int32 nodeId = 1; + * + *
+     *节点信息
+     * 
+ */ + boolean hasNodeId(); + /** + * optional int32 nodeId = 1; + * + *
+     *节点信息
+     * 
+ */ + int getNodeId(); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.ReCoverExpeditionHeroRequest} + */ + public static final class ReCoverExpeditionHeroRequest extends + com.google.protobuf.GeneratedMessage + implements ReCoverExpeditionHeroRequestOrBuilder { + // Use ReCoverExpeditionHeroRequest.newBuilder() to construct. + private ReCoverExpeditionHeroRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private ReCoverExpeditionHeroRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final ReCoverExpeditionHeroRequest defaultInstance; + public static ReCoverExpeditionHeroRequest getDefaultInstance() { + return defaultInstance; + } + + public ReCoverExpeditionHeroRequest getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ReCoverExpeditionHeroRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + nodeId_ = input.readInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest.class, com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ReCoverExpeditionHeroRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReCoverExpeditionHeroRequest(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional int32 nodeId = 1; + public static final int NODEID_FIELD_NUMBER = 1; + private int nodeId_; + /** + * optional int32 nodeId = 1; + * + *
+     *节点信息
+     * 
+ */ + public boolean hasNodeId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional int32 nodeId = 1; + * + *
+     *节点信息
+     * 
+ */ + public int getNodeId() { + return nodeId_; + } + + private void initFields() { + nodeId_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt32(1, nodeId_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, nodeId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.ReCoverExpeditionHeroRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest.class, com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + nodeId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroRequest_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest build() { + com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest buildPartial() { + com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest result = new com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.nodeId_ = nodeId_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest other) { + if (other == com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest.getDefaultInstance()) return this; + if (other.hasNodeId()) { + setNodeId(other.getNodeId()); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroRequest) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // optional int32 nodeId = 1; + private int nodeId_ ; + /** + * optional int32 nodeId = 1; + * + *
+       *节点信息
+       * 
+ */ + public boolean hasNodeId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional int32 nodeId = 1; + * + *
+       *节点信息
+       * 
+ */ + public int getNodeId() { + return nodeId_; + } + /** + * optional int32 nodeId = 1; + * + *
+       *节点信息
+       * 
+ */ + public Builder setNodeId(int value) { + bitField0_ |= 0x00000001; + nodeId_ = value; + onChanged(); + return this; + } + /** + * optional int32 nodeId = 1; + * + *
+       *节点信息
+       * 
+ */ + public Builder clearNodeId() { + bitField0_ = (bitField0_ & ~0x00000001); + nodeId_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.ReCoverExpeditionHeroRequest) + } + + static { + defaultInstance = new ReCoverExpeditionHeroRequest(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.ReCoverExpeditionHeroRequest) + } + + public interface ReCoverExpeditionHeroResponseOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *恢复的英雄信息
+     * 
+ */ + java.util.List + getHeroInfoList(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *恢复的英雄信息
+     * 
+ */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo getHeroInfo(int index); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *恢复的英雄信息
+     * 
+ */ + int getHeroInfoCount(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *恢复的英雄信息
+     * 
+ */ + java.util.List + getHeroInfoOrBuilderList(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *恢复的英雄信息
+     * 
+ */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder getHeroInfoOrBuilder( + int index); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.ReCoverExpeditionHeroResponse} + */ + public static final class ReCoverExpeditionHeroResponse extends + com.google.protobuf.GeneratedMessage + implements ReCoverExpeditionHeroResponseOrBuilder { + // Use ReCoverExpeditionHeroResponse.newBuilder() to construct. + private ReCoverExpeditionHeroResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private ReCoverExpeditionHeroResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final ReCoverExpeditionHeroResponse defaultInstance; + public static ReCoverExpeditionHeroResponse getDefaultInstance() { + return defaultInstance; + } + + public ReCoverExpeditionHeroResponse getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ReCoverExpeditionHeroResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + heroInfo_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + heroInfo_.add(input.readMessage(com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.PARSER, extensionRegistry)); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + heroInfo_ = java.util.Collections.unmodifiableList(heroInfo_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse.class, com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ReCoverExpeditionHeroResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReCoverExpeditionHeroResponse(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + // repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + public static final int HEROINFO_FIELD_NUMBER = 1; + private java.util.List heroInfo_; + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *恢复的英雄信息
+     * 
+ */ + public java.util.List getHeroInfoList() { + return heroInfo_; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *恢复的英雄信息
+     * 
+ */ + public java.util.List + getHeroInfoOrBuilderList() { + return heroInfo_; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *恢复的英雄信息
+     * 
+ */ + public int getHeroInfoCount() { + return heroInfo_.size(); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *恢复的英雄信息
+     * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo getHeroInfo(int index) { + return heroInfo_.get(index); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+     *恢复的英雄信息
+     * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder getHeroInfoOrBuilder( + int index) { + return heroInfo_.get(index); + } + + private void initFields() { + heroInfo_ = java.util.Collections.emptyList(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + for (int i = 0; i < heroInfo_.size(); i++) { + output.writeMessage(1, heroInfo_.get(i)); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < heroInfo_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, heroInfo_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.ReCoverExpeditionHeroResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse.class, com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + getHeroInfoFieldBuilder(); + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + if (heroInfoBuilder_ == null) { + heroInfo_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + heroInfoBuilder_.clear(); + } + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroResponse_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse build() { + com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse buildPartial() { + com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse result = new com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse(this); + int from_bitField0_ = bitField0_; + if (heroInfoBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + heroInfo_ = java.util.Collections.unmodifiableList(heroInfo_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.heroInfo_ = heroInfo_; + } else { + result.heroInfo_ = heroInfoBuilder_.build(); + } + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse other) { + if (other == com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse.getDefaultInstance()) return this; + if (heroInfoBuilder_ == null) { + if (!other.heroInfo_.isEmpty()) { + if (heroInfo_.isEmpty()) { + heroInfo_ = other.heroInfo_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureHeroInfoIsMutable(); + heroInfo_.addAll(other.heroInfo_); + } + onChanged(); + } + } else { + if (!other.heroInfo_.isEmpty()) { + if (heroInfoBuilder_.isEmpty()) { + heroInfoBuilder_.dispose(); + heroInfoBuilder_ = null; + heroInfo_ = other.heroInfo_; + bitField0_ = (bitField0_ & ~0x00000001); + heroInfoBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + getHeroInfoFieldBuilder() : null; + } else { + heroInfoBuilder_.addAllMessages(other.heroInfo_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.ReCoverExpeditionHeroResponse) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + private java.util.List heroInfo_ = + java.util.Collections.emptyList(); + private void ensureHeroInfoIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + heroInfo_ = new java.util.ArrayList(heroInfo_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder> heroInfoBuilder_; + + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public java.util.List getHeroInfoList() { + if (heroInfoBuilder_ == null) { + return java.util.Collections.unmodifiableList(heroInfo_); + } else { + return heroInfoBuilder_.getMessageList(); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public int getHeroInfoCount() { + if (heroInfoBuilder_ == null) { + return heroInfo_.size(); + } else { + return heroInfoBuilder_.getCount(); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo getHeroInfo(int index) { + if (heroInfoBuilder_ == null) { + return heroInfo_.get(index); + } else { + return heroInfoBuilder_.getMessage(index); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public Builder setHeroInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo value) { + if (heroInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureHeroInfoIsMutable(); + heroInfo_.set(index, value); + onChanged(); + } else { + heroInfoBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public Builder setHeroInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder builderForValue) { + if (heroInfoBuilder_ == null) { + ensureHeroInfoIsMutable(); + heroInfo_.set(index, builderForValue.build()); + onChanged(); + } else { + heroInfoBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public Builder addHeroInfo(com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo value) { + if (heroInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureHeroInfoIsMutable(); + heroInfo_.add(value); + onChanged(); + } else { + heroInfoBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public Builder addHeroInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo value) { + if (heroInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureHeroInfoIsMutable(); + heroInfo_.add(index, value); + onChanged(); + } else { + heroInfoBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public Builder addHeroInfo( + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder builderForValue) { + if (heroInfoBuilder_ == null) { + ensureHeroInfoIsMutable(); + heroInfo_.add(builderForValue.build()); + onChanged(); + } else { + heroInfoBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public Builder addHeroInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder builderForValue) { + if (heroInfoBuilder_ == null) { + ensureHeroInfoIsMutable(); + heroInfo_.add(index, builderForValue.build()); + onChanged(); + } else { + heroInfoBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public Builder addAllHeroInfo( + java.lang.Iterable values) { + if (heroInfoBuilder_ == null) { + ensureHeroInfoIsMutable(); + super.addAll(values, heroInfo_); + onChanged(); + } else { + heroInfoBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public Builder clearHeroInfo() { + if (heroInfoBuilder_ == null) { + heroInfo_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + heroInfoBuilder_.clear(); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public Builder removeHeroInfo(int index) { + if (heroInfoBuilder_ == null) { + ensureHeroInfoIsMutable(); + heroInfo_.remove(index); + onChanged(); + } else { + heroInfoBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder getHeroInfoBuilder( + int index) { + return getHeroInfoFieldBuilder().getBuilder(index); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder getHeroInfoOrBuilder( + int index) { + if (heroInfoBuilder_ == null) { + return heroInfo_.get(index); } else { + return heroInfoBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public java.util.List + getHeroInfoOrBuilderList() { + if (heroInfoBuilder_ != null) { + return heroInfoBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(heroInfo_); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder addHeroInfoBuilder() { + return getHeroInfoFieldBuilder().addBuilder( + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.getDefaultInstance()); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder addHeroInfoBuilder( + int index) { + return getHeroInfoFieldBuilder().addBuilder( + index, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.getDefaultInstance()); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 1; + * + *
+       *恢复的英雄信息
+       * 
+ */ + public java.util.List + getHeroInfoBuilderList() { + return getHeroInfoFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder> + getHeroInfoFieldBuilder() { + if (heroInfoBuilder_ == null) { + heroInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder>( + heroInfo_, + ((bitField0_ & 0x00000001) == 0x00000001), + getParentForChildren(), + isClean()); + heroInfo_ = null; + } + return heroInfoBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.ReCoverExpeditionHeroResponse) + } + + static { + defaultInstance = new ReCoverExpeditionHeroResponse(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.ReCoverExpeditionHeroResponse) + } + + public interface StartExpeditionBattleRequestOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional int32 nodeId = 1; + /** + * optional int32 nodeId = 1; + * + *
+     *节点id 
+     * 
+ */ + boolean hasNodeId(); + /** + * optional int32 nodeId = 1; + * + *
+     *节点id 
+     * 
+ */ + int getNodeId(); + + // optional int32 teamId = 2; + /** + * optional int32 teamId = 2; + * + *
+     *队伍id
+     * 
+ */ + boolean hasTeamId(); + /** + * optional int32 teamId = 2; + * + *
+     *队伍id
+     * 
+ */ + int getTeamId(); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.StartExpeditionBattleRequest} + * + *
+   *开始战斗
+   * 
+ */ + public static final class StartExpeditionBattleRequest extends + com.google.protobuf.GeneratedMessage + implements StartExpeditionBattleRequestOrBuilder { + // Use StartExpeditionBattleRequest.newBuilder() to construct. + private StartExpeditionBattleRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private StartExpeditionBattleRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final StartExpeditionBattleRequest defaultInstance; + public static StartExpeditionBattleRequest getDefaultInstance() { + return defaultInstance; + } + + public StartExpeditionBattleRequest getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StartExpeditionBattleRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + nodeId_ = input.readInt32(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + teamId_ = input.readInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest.class, com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public StartExpeditionBattleRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartExpeditionBattleRequest(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional int32 nodeId = 1; + public static final int NODEID_FIELD_NUMBER = 1; + private int nodeId_; + /** + * optional int32 nodeId = 1; + * + *
+     *节点id 
+     * 
+ */ + public boolean hasNodeId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional int32 nodeId = 1; + * + *
+     *节点id 
+     * 
+ */ + public int getNodeId() { + return nodeId_; + } + + // optional int32 teamId = 2; + public static final int TEAMID_FIELD_NUMBER = 2; + private int teamId_; + /** + * optional int32 teamId = 2; + * + *
+     *队伍id
+     * 
+ */ + public boolean hasTeamId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional int32 teamId = 2; + * + *
+     *队伍id
+     * 
+ */ + public int getTeamId() { + return teamId_; + } + + private void initFields() { + nodeId_ = 0; + teamId_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt32(1, nodeId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeInt32(2, teamId_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, nodeId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, teamId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.StartExpeditionBattleRequest} + * + *
+     *开始战斗
+     * 
+ */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest.class, com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + nodeId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + teamId_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleRequest_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest build() { + com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest buildPartial() { + com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest result = new com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.nodeId_ = nodeId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.teamId_ = teamId_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest other) { + if (other == com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest.getDefaultInstance()) return this; + if (other.hasNodeId()) { + setNodeId(other.getNodeId()); + } + if (other.hasTeamId()) { + setTeamId(other.getTeamId()); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleRequest) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // optional int32 nodeId = 1; + private int nodeId_ ; + /** + * optional int32 nodeId = 1; + * + *
+       *节点id 
+       * 
+ */ + public boolean hasNodeId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional int32 nodeId = 1; + * + *
+       *节点id 
+       * 
+ */ + public int getNodeId() { + return nodeId_; + } + /** + * optional int32 nodeId = 1; + * + *
+       *节点id 
+       * 
+ */ + public Builder setNodeId(int value) { + bitField0_ |= 0x00000001; + nodeId_ = value; + onChanged(); + return this; + } + /** + * optional int32 nodeId = 1; + * + *
+       *节点id 
+       * 
+ */ + public Builder clearNodeId() { + bitField0_ = (bitField0_ & ~0x00000001); + nodeId_ = 0; + onChanged(); + return this; + } + + // optional int32 teamId = 2; + private int teamId_ ; + /** + * optional int32 teamId = 2; + * + *
+       *队伍id
+       * 
+ */ + public boolean hasTeamId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional int32 teamId = 2; + * + *
+       *队伍id
+       * 
+ */ + public int getTeamId() { + return teamId_; + } + /** + * optional int32 teamId = 2; + * + *
+       *队伍id
+       * 
+ */ + public Builder setTeamId(int value) { + bitField0_ |= 0x00000002; + teamId_ = value; + onChanged(); + return this; + } + /** + * optional int32 teamId = 2; + * + *
+       *队伍id
+       * 
+ */ + public Builder clearTeamId() { + bitField0_ = (bitField0_ & ~0x00000002); + teamId_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.StartExpeditionBattleRequest) + } + + static { + defaultInstance = new StartExpeditionBattleRequest(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.StartExpeditionBattleRequest) + } + + public interface StartExpeditionBattleResponseOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional .com.ljsd.jieling.protocols.FightData fightData = 1; + /** + * optional .com.ljsd.jieling.protocols.FightData fightData = 1; + * + *
+     * 战斗属性
+     * 
+ */ + boolean hasFightData(); + /** + * optional .com.ljsd.jieling.protocols.FightData fightData = 1; + * + *
+     * 战斗属性
+     * 
+ */ + com.ljsd.jieling.protocols.CommonProto.FightData getFightData(); + /** + * optional .com.ljsd.jieling.protocols.FightData fightData = 1; + * + *
+     * 战斗属性
+     * 
+ */ + com.ljsd.jieling.protocols.CommonProto.FightDataOrBuilder getFightDataOrBuilder(); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.StartExpeditionBattleResponse} + */ + public static final class StartExpeditionBattleResponse extends + com.google.protobuf.GeneratedMessage + implements StartExpeditionBattleResponseOrBuilder { + // Use StartExpeditionBattleResponse.newBuilder() to construct. + private StartExpeditionBattleResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private StartExpeditionBattleResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final StartExpeditionBattleResponse defaultInstance; + public static StartExpeditionBattleResponse getDefaultInstance() { + return defaultInstance; + } + + public StartExpeditionBattleResponse getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StartExpeditionBattleResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + com.ljsd.jieling.protocols.CommonProto.FightData.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + subBuilder = fightData_.toBuilder(); + } + fightData_ = input.readMessage(com.ljsd.jieling.protocols.CommonProto.FightData.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(fightData_); + fightData_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse.class, com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public StartExpeditionBattleResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartExpeditionBattleResponse(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional .com.ljsd.jieling.protocols.FightData fightData = 1; + public static final int FIGHTDATA_FIELD_NUMBER = 1; + private com.ljsd.jieling.protocols.CommonProto.FightData fightData_; + /** + * optional .com.ljsd.jieling.protocols.FightData fightData = 1; + * + *
+     * 战斗属性
+     * 
+ */ + public boolean hasFightData() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional .com.ljsd.jieling.protocols.FightData fightData = 1; + * + *
+     * 战斗属性
+     * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.FightData getFightData() { + return fightData_; + } + /** + * optional .com.ljsd.jieling.protocols.FightData fightData = 1; + * + *
+     * 战斗属性
+     * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.FightDataOrBuilder getFightDataOrBuilder() { + return fightData_; + } + + private void initFields() { + fightData_ = com.ljsd.jieling.protocols.CommonProto.FightData.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeMessage(1, fightData_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, fightData_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.StartExpeditionBattleResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse.class, com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + getFightDataFieldBuilder(); + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + if (fightDataBuilder_ == null) { + fightData_ = com.ljsd.jieling.protocols.CommonProto.FightData.getDefaultInstance(); + } else { + fightDataBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleResponse_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse build() { + com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse buildPartial() { + com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse result = new com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + if (fightDataBuilder_ == null) { + result.fightData_ = fightData_; + } else { + result.fightData_ = fightDataBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse other) { + if (other == com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse.getDefaultInstance()) return this; + if (other.hasFightData()) { + mergeFightData(other.getFightData()); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.StartExpeditionBattleResponse) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // optional .com.ljsd.jieling.protocols.FightData fightData = 1; + private com.ljsd.jieling.protocols.CommonProto.FightData fightData_ = com.ljsd.jieling.protocols.CommonProto.FightData.getDefaultInstance(); + private com.google.protobuf.SingleFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.FightData, com.ljsd.jieling.protocols.CommonProto.FightData.Builder, com.ljsd.jieling.protocols.CommonProto.FightDataOrBuilder> fightDataBuilder_; + /** + * optional .com.ljsd.jieling.protocols.FightData fightData = 1; + * + *
+       * 战斗属性
+       * 
+ */ + public boolean hasFightData() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional .com.ljsd.jieling.protocols.FightData fightData = 1; + * + *
+       * 战斗属性
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.FightData getFightData() { + if (fightDataBuilder_ == null) { + return fightData_; + } else { + return fightDataBuilder_.getMessage(); + } + } + /** + * optional .com.ljsd.jieling.protocols.FightData fightData = 1; + * + *
+       * 战斗属性
+       * 
+ */ + public Builder setFightData(com.ljsd.jieling.protocols.CommonProto.FightData value) { + if (fightDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + fightData_ = value; + onChanged(); + } else { + fightDataBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .com.ljsd.jieling.protocols.FightData fightData = 1; + * + *
+       * 战斗属性
+       * 
+ */ + public Builder setFightData( + com.ljsd.jieling.protocols.CommonProto.FightData.Builder builderForValue) { + if (fightDataBuilder_ == null) { + fightData_ = builderForValue.build(); + onChanged(); + } else { + fightDataBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .com.ljsd.jieling.protocols.FightData fightData = 1; + * + *
+       * 战斗属性
+       * 
+ */ + public Builder mergeFightData(com.ljsd.jieling.protocols.CommonProto.FightData value) { + if (fightDataBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001) && + fightData_ != com.ljsd.jieling.protocols.CommonProto.FightData.getDefaultInstance()) { + fightData_ = + com.ljsd.jieling.protocols.CommonProto.FightData.newBuilder(fightData_).mergeFrom(value).buildPartial(); + } else { + fightData_ = value; + } + onChanged(); + } else { + fightDataBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * optional .com.ljsd.jieling.protocols.FightData fightData = 1; + * + *
+       * 战斗属性
+       * 
+ */ + public Builder clearFightData() { + if (fightDataBuilder_ == null) { + fightData_ = com.ljsd.jieling.protocols.CommonProto.FightData.getDefaultInstance(); + onChanged(); + } else { + fightDataBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * optional .com.ljsd.jieling.protocols.FightData fightData = 1; + * + *
+       * 战斗属性
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.FightData.Builder getFightDataBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getFightDataFieldBuilder().getBuilder(); + } + /** + * optional .com.ljsd.jieling.protocols.FightData fightData = 1; + * + *
+       * 战斗属性
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.FightDataOrBuilder getFightDataOrBuilder() { + if (fightDataBuilder_ != null) { + return fightDataBuilder_.getMessageOrBuilder(); + } else { + return fightData_; + } + } + /** + * optional .com.ljsd.jieling.protocols.FightData fightData = 1; + * + *
+       * 战斗属性
+       * 
+ */ + private com.google.protobuf.SingleFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.FightData, com.ljsd.jieling.protocols.CommonProto.FightData.Builder, com.ljsd.jieling.protocols.CommonProto.FightDataOrBuilder> + getFightDataFieldBuilder() { + if (fightDataBuilder_ == null) { + fightDataBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.FightData, com.ljsd.jieling.protocols.CommonProto.FightData.Builder, com.ljsd.jieling.protocols.CommonProto.FightDataOrBuilder>( + fightData_, + getParentForChildren(), + isClean()); + fightData_ = null; + } + return fightDataBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.StartExpeditionBattleResponse) + } + + static { + defaultInstance = new StartExpeditionBattleResponse(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.StartExpeditionBattleResponse) + } + + public interface EndExpeditionBattleRequestOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional int32 nodeId = 1; + /** + * optional int32 nodeId = 1; + * + *
+     *节点id 
+     * 
+ */ + boolean hasNodeId(); + /** + * optional int32 nodeId = 1; + * + *
+     *节点id 
+     * 
+ */ + int getNodeId(); + + // optional string frames = 2; + /** + * optional string frames = 2; + * + *
+     * 战斗序列帧 14#1#0|14#1#0|14#1#0|...|14#1#0
+     * 
+ */ + boolean hasFrames(); + /** + * optional string frames = 2; + * + *
+     * 战斗序列帧 14#1#0|14#1#0|14#1#0|...|14#1#0
+     * 
+ */ + java.lang.String getFrames(); + /** + * optional string frames = 2; + * + *
+     * 战斗序列帧 14#1#0|14#1#0|14#1#0|...|14#1#0
+     * 
+ */ + com.google.protobuf.ByteString + getFramesBytes(); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.EndExpeditionBattleRequest} + */ + public static final class EndExpeditionBattleRequest extends + com.google.protobuf.GeneratedMessage + implements EndExpeditionBattleRequestOrBuilder { + // Use EndExpeditionBattleRequest.newBuilder() to construct. + private EndExpeditionBattleRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private EndExpeditionBattleRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final EndExpeditionBattleRequest defaultInstance; + public static EndExpeditionBattleRequest getDefaultInstance() { + return defaultInstance; + } + + public EndExpeditionBattleRequest getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private EndExpeditionBattleRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + nodeId_ = input.readInt32(); + break; + } + case 18: { + bitField0_ |= 0x00000002; + frames_ = input.readBytes(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest.class, com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public EndExpeditionBattleRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EndExpeditionBattleRequest(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional int32 nodeId = 1; + public static final int NODEID_FIELD_NUMBER = 1; + private int nodeId_; + /** + * optional int32 nodeId = 1; + * + *
+     *节点id 
+     * 
+ */ + public boolean hasNodeId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional int32 nodeId = 1; + * + *
+     *节点id 
+     * 
+ */ + public int getNodeId() { + return nodeId_; + } + + // optional string frames = 2; + public static final int FRAMES_FIELD_NUMBER = 2; + private java.lang.Object frames_; + /** + * optional string frames = 2; + * + *
+     * 战斗序列帧 14#1#0|14#1#0|14#1#0|...|14#1#0
+     * 
+ */ + public boolean hasFrames() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional string frames = 2; + * + *
+     * 战斗序列帧 14#1#0|14#1#0|14#1#0|...|14#1#0
+     * 
+ */ + public java.lang.String getFrames() { + java.lang.Object ref = frames_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + frames_ = s; + } + return s; + } + } + /** + * optional string frames = 2; + * + *
+     * 战斗序列帧 14#1#0|14#1#0|14#1#0|...|14#1#0
+     * 
+ */ + public com.google.protobuf.ByteString + getFramesBytes() { + java.lang.Object ref = frames_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + frames_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private void initFields() { + nodeId_ = 0; + frames_ = ""; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt32(1, nodeId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBytes(2, getFramesBytes()); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, nodeId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, getFramesBytes()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.EndExpeditionBattleRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest.class, com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + nodeId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + frames_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleRequest_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest build() { + com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest buildPartial() { + com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest result = new com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.nodeId_ = nodeId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.frames_ = frames_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest other) { + if (other == com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest.getDefaultInstance()) return this; + if (other.hasNodeId()) { + setNodeId(other.getNodeId()); + } + if (other.hasFrames()) { + bitField0_ |= 0x00000002; + frames_ = other.frames_; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleRequest) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // optional int32 nodeId = 1; + private int nodeId_ ; + /** + * optional int32 nodeId = 1; + * + *
+       *节点id 
+       * 
+ */ + public boolean hasNodeId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional int32 nodeId = 1; + * + *
+       *节点id 
+       * 
+ */ + public int getNodeId() { + return nodeId_; + } + /** + * optional int32 nodeId = 1; + * + *
+       *节点id 
+       * 
+ */ + public Builder setNodeId(int value) { + bitField0_ |= 0x00000001; + nodeId_ = value; + onChanged(); + return this; + } + /** + * optional int32 nodeId = 1; + * + *
+       *节点id 
+       * 
+ */ + public Builder clearNodeId() { + bitField0_ = (bitField0_ & ~0x00000001); + nodeId_ = 0; + onChanged(); + return this; + } + + // optional string frames = 2; + private java.lang.Object frames_ = ""; + /** + * optional string frames = 2; + * + *
+       * 战斗序列帧 14#1#0|14#1#0|14#1#0|...|14#1#0
+       * 
+ */ + public boolean hasFrames() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional string frames = 2; + * + *
+       * 战斗序列帧 14#1#0|14#1#0|14#1#0|...|14#1#0
+       * 
+ */ + public java.lang.String getFrames() { + java.lang.Object ref = frames_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + frames_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string frames = 2; + * + *
+       * 战斗序列帧 14#1#0|14#1#0|14#1#0|...|14#1#0
+       * 
+ */ + public com.google.protobuf.ByteString + getFramesBytes() { + java.lang.Object ref = frames_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + frames_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string frames = 2; + * + *
+       * 战斗序列帧 14#1#0|14#1#0|14#1#0|...|14#1#0
+       * 
+ */ + public Builder setFrames( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + frames_ = value; + onChanged(); + return this; + } + /** + * optional string frames = 2; + * + *
+       * 战斗序列帧 14#1#0|14#1#0|14#1#0|...|14#1#0
+       * 
+ */ + public Builder clearFrames() { + bitField0_ = (bitField0_ & ~0x00000002); + frames_ = getDefaultInstance().getFrames(); + onChanged(); + return this; + } + /** + * optional string frames = 2; + * + *
+       * 战斗序列帧 14#1#0|14#1#0|14#1#0|...|14#1#0
+       * 
+ */ + public Builder setFramesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + frames_ = value; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.EndExpeditionBattleRequest) + } + + static { + defaultInstance = new EndExpeditionBattleRequest(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.EndExpeditionBattleRequest) + } + + public interface EndExpeditionBattleResponseOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional int32 result = 1; + /** + * optional int32 result = 1; + * + *
+     *战斗结果
+     * 
+ */ + boolean hasResult(); + /** + * optional int32 result = 1; + * + *
+     *战斗结果
+     * 
+ */ + int getResult(); + + // optional .com.ljsd.jieling.protocols.Drop drop = 2; + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 2; + */ + boolean hasDrop(); + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 2; + */ + com.ljsd.jieling.protocols.CommonProto.Drop getDrop(); + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 2; + */ + com.ljsd.jieling.protocols.CommonProto.DropOrBuilder getDropOrBuilder(); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.EndExpeditionBattleResponse} + */ + public static final class EndExpeditionBattleResponse extends + com.google.protobuf.GeneratedMessage + implements EndExpeditionBattleResponseOrBuilder { + // Use EndExpeditionBattleResponse.newBuilder() to construct. + private EndExpeditionBattleResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private EndExpeditionBattleResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final EndExpeditionBattleResponse defaultInstance; + public static EndExpeditionBattleResponse getDefaultInstance() { + return defaultInstance; + } + + public EndExpeditionBattleResponse getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private EndExpeditionBattleResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + result_ = input.readInt32(); + break; + } + case 18: { + com.ljsd.jieling.protocols.CommonProto.Drop.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + subBuilder = drop_.toBuilder(); + } + drop_ = input.readMessage(com.ljsd.jieling.protocols.CommonProto.Drop.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(drop_); + drop_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse.class, com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public EndExpeditionBattleResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EndExpeditionBattleResponse(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional int32 result = 1; + public static final int RESULT_FIELD_NUMBER = 1; + private int result_; + /** + * optional int32 result = 1; + * + *
+     *战斗结果
+     * 
+ */ + public boolean hasResult() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional int32 result = 1; + * + *
+     *战斗结果
+     * 
+ */ + public int getResult() { + return result_; + } + + // optional .com.ljsd.jieling.protocols.Drop drop = 2; + public static final int DROP_FIELD_NUMBER = 2; + private com.ljsd.jieling.protocols.CommonProto.Drop drop_; + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 2; + */ + public boolean hasDrop() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 2; + */ + public com.ljsd.jieling.protocols.CommonProto.Drop getDrop() { + return drop_; + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 2; + */ + public com.ljsd.jieling.protocols.CommonProto.DropOrBuilder getDropOrBuilder() { + return drop_; + } + + private void initFields() { + result_ = 0; + drop_ = com.ljsd.jieling.protocols.CommonProto.Drop.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt32(1, result_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeMessage(2, drop_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, result_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, drop_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.EndExpeditionBattleResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse.class, com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + getDropFieldBuilder(); + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + result_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + if (dropBuilder_ == null) { + drop_ = com.ljsd.jieling.protocols.CommonProto.Drop.getDefaultInstance(); + } else { + dropBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleResponse_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse build() { + com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse buildPartial() { + com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse result = new com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.result_ = result_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + if (dropBuilder_ == null) { + result.drop_ = drop_; + } else { + result.drop_ = dropBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse other) { + if (other == com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse.getDefaultInstance()) return this; + if (other.hasResult()) { + setResult(other.getResult()); + } + if (other.hasDrop()) { + mergeDrop(other.getDrop()); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.EndExpeditionBattleResponse) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // optional int32 result = 1; + private int result_ ; + /** + * optional int32 result = 1; + * + *
+       *战斗结果
+       * 
+ */ + public boolean hasResult() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional int32 result = 1; + * + *
+       *战斗结果
+       * 
+ */ + public int getResult() { + return result_; + } + /** + * optional int32 result = 1; + * + *
+       *战斗结果
+       * 
+ */ + public Builder setResult(int value) { + bitField0_ |= 0x00000001; + result_ = value; + onChanged(); + return this; + } + /** + * optional int32 result = 1; + * + *
+       *战斗结果
+       * 
+ */ + public Builder clearResult() { + bitField0_ = (bitField0_ & ~0x00000001); + result_ = 0; + onChanged(); + return this; + } + + // optional .com.ljsd.jieling.protocols.Drop drop = 2; + private com.ljsd.jieling.protocols.CommonProto.Drop drop_ = com.ljsd.jieling.protocols.CommonProto.Drop.getDefaultInstance(); + private com.google.protobuf.SingleFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.Drop, com.ljsd.jieling.protocols.CommonProto.Drop.Builder, com.ljsd.jieling.protocols.CommonProto.DropOrBuilder> dropBuilder_; + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 2; + */ + public boolean hasDrop() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 2; + */ + public com.ljsd.jieling.protocols.CommonProto.Drop getDrop() { + if (dropBuilder_ == null) { + return drop_; + } else { + return dropBuilder_.getMessage(); + } + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 2; + */ + public Builder setDrop(com.ljsd.jieling.protocols.CommonProto.Drop value) { + if (dropBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + drop_ = value; + onChanged(); + } else { + dropBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 2; + */ + public Builder setDrop( + com.ljsd.jieling.protocols.CommonProto.Drop.Builder builderForValue) { + if (dropBuilder_ == null) { + drop_ = builderForValue.build(); + onChanged(); + } else { + dropBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 2; + */ + public Builder mergeDrop(com.ljsd.jieling.protocols.CommonProto.Drop value) { + if (dropBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002) && + drop_ != com.ljsd.jieling.protocols.CommonProto.Drop.getDefaultInstance()) { + drop_ = + com.ljsd.jieling.protocols.CommonProto.Drop.newBuilder(drop_).mergeFrom(value).buildPartial(); + } else { + drop_ = value; + } + onChanged(); + } else { + dropBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 2; + */ + public Builder clearDrop() { + if (dropBuilder_ == null) { + drop_ = com.ljsd.jieling.protocols.CommonProto.Drop.getDefaultInstance(); + onChanged(); + } else { + dropBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 2; + */ + public com.ljsd.jieling.protocols.CommonProto.Drop.Builder getDropBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getDropFieldBuilder().getBuilder(); + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 2; + */ + public com.ljsd.jieling.protocols.CommonProto.DropOrBuilder getDropOrBuilder() { + if (dropBuilder_ != null) { + return dropBuilder_.getMessageOrBuilder(); + } else { + return drop_; + } + } + /** + * optional .com.ljsd.jieling.protocols.Drop drop = 2; + */ + private com.google.protobuf.SingleFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.Drop, com.ljsd.jieling.protocols.CommonProto.Drop.Builder, com.ljsd.jieling.protocols.CommonProto.DropOrBuilder> + getDropFieldBuilder() { + if (dropBuilder_ == null) { + dropBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.Drop, com.ljsd.jieling.protocols.CommonProto.Drop.Builder, com.ljsd.jieling.protocols.CommonProto.DropOrBuilder>( + drop_, + getParentForChildren(), + isClean()); + drop_ = null; + } + return dropBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.EndExpeditionBattleResponse) + } + + static { + defaultInstance = new EndExpeditionBattleResponse(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.EndExpeditionBattleResponse) + } + + public interface TakeHolyEquipRequestOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional int32 nodeId = 1; + /** + * optional int32 nodeId = 1; + * + *
+     *节点id 
+     * 
+ */ + boolean hasNodeId(); + /** + * optional int32 nodeId = 1; + * + *
+     *节点id 
+     * 
+ */ + int getNodeId(); + + // optional int32 type = 2; + /** + * optional int32 type = 2; + * + *
+     *获取类型
+     * 
+ */ + boolean hasType(); + /** + * optional int32 type = 2; + * + *
+     *获取类型
+     * 
+ */ + int getType(); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.TakeHolyEquipRequest} + */ + public static final class TakeHolyEquipRequest extends + com.google.protobuf.GeneratedMessage + implements TakeHolyEquipRequestOrBuilder { + // Use TakeHolyEquipRequest.newBuilder() to construct. + private TakeHolyEquipRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private TakeHolyEquipRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final TakeHolyEquipRequest defaultInstance; + public static TakeHolyEquipRequest getDefaultInstance() { + return defaultInstance; + } + + public TakeHolyEquipRequest getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TakeHolyEquipRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + nodeId_ = input.readInt32(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + type_ = input.readInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeHolyEquipRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeHolyEquipRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest.class, com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public TakeHolyEquipRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TakeHolyEquipRequest(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional int32 nodeId = 1; + public static final int NODEID_FIELD_NUMBER = 1; + private int nodeId_; + /** + * optional int32 nodeId = 1; + * + *
+     *节点id 
+     * 
+ */ + public boolean hasNodeId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional int32 nodeId = 1; + * + *
+     *节点id 
+     * 
+ */ + public int getNodeId() { + return nodeId_; + } + + // optional int32 type = 2; + public static final int TYPE_FIELD_NUMBER = 2; + private int type_; + /** + * optional int32 type = 2; + * + *
+     *获取类型
+     * 
+ */ + public boolean hasType() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional int32 type = 2; + * + *
+     *获取类型
+     * 
+ */ + public int getType() { + return type_; + } + + private void initFields() { + nodeId_ = 0; + type_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt32(1, nodeId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeInt32(2, type_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, nodeId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, type_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.TakeHolyEquipRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeHolyEquipRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeHolyEquipRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest.class, com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + nodeId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + type_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeHolyEquipRequest_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest build() { + com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest buildPartial() { + com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest result = new com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.nodeId_ = nodeId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.type_ = type_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest other) { + if (other == com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest.getDefaultInstance()) return this; + if (other.hasNodeId()) { + setNodeId(other.getNodeId()); + } + if (other.hasType()) { + setType(other.getType()); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.TakeHolyEquipRequest) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // optional int32 nodeId = 1; + private int nodeId_ ; + /** + * optional int32 nodeId = 1; + * + *
+       *节点id 
+       * 
+ */ + public boolean hasNodeId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional int32 nodeId = 1; + * + *
+       *节点id 
+       * 
+ */ + public int getNodeId() { + return nodeId_; + } + /** + * optional int32 nodeId = 1; + * + *
+       *节点id 
+       * 
+ */ + public Builder setNodeId(int value) { + bitField0_ |= 0x00000001; + nodeId_ = value; + onChanged(); + return this; + } + /** + * optional int32 nodeId = 1; + * + *
+       *节点id 
+       * 
+ */ + public Builder clearNodeId() { + bitField0_ = (bitField0_ & ~0x00000001); + nodeId_ = 0; + onChanged(); + return this; + } + + // optional int32 type = 2; + private int type_ ; + /** + * optional int32 type = 2; + * + *
+       *获取类型
+       * 
+ */ + public boolean hasType() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional int32 type = 2; + * + *
+       *获取类型
+       * 
+ */ + public int getType() { + return type_; + } + /** + * optional int32 type = 2; + * + *
+       *获取类型
+       * 
+ */ + public Builder setType(int value) { + bitField0_ |= 0x00000002; + type_ = value; + onChanged(); + return this; + } + /** + * optional int32 type = 2; + * + *
+       *获取类型
+       * 
+ */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000002); + type_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.TakeHolyEquipRequest) + } + + static { + defaultInstance = new TakeHolyEquipRequest(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.TakeHolyEquipRequest) + } + + public interface TakeHolyEquipResponseOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional string equipId = 1; + /** + * optional string equipId = 1; + */ + boolean hasEquipId(); + /** + * optional string equipId = 1; + */ + java.lang.String getEquipId(); + /** + * optional string equipId = 1; + */ + com.google.protobuf.ByteString + getEquipIdBytes(); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.TakeHolyEquipResponse} + * + *
+   *会先推送一下 临时背包信息
+   * 
+ */ + public static final class TakeHolyEquipResponse extends + com.google.protobuf.GeneratedMessage + implements TakeHolyEquipResponseOrBuilder { + // Use TakeHolyEquipResponse.newBuilder() to construct. + private TakeHolyEquipResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private TakeHolyEquipResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final TakeHolyEquipResponse defaultInstance; + public static TakeHolyEquipResponse getDefaultInstance() { + return defaultInstance; + } + + public TakeHolyEquipResponse getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TakeHolyEquipResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + equipId_ = input.readBytes(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeHolyEquipResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeHolyEquipResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse.class, com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public TakeHolyEquipResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TakeHolyEquipResponse(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional string equipId = 1; + public static final int EQUIPID_FIELD_NUMBER = 1; + private java.lang.Object equipId_; + /** + * optional string equipId = 1; + */ + public boolean hasEquipId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional string equipId = 1; + */ + public java.lang.String getEquipId() { + java.lang.Object ref = equipId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + equipId_ = s; + } + return s; + } + } + /** + * optional string equipId = 1; + */ + public com.google.protobuf.ByteString + getEquipIdBytes() { + java.lang.Object ref = equipId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + equipId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private void initFields() { + equipId_ = ""; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeBytes(1, getEquipIdBytes()); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, getEquipIdBytes()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.TakeHolyEquipResponse} + * + *
+     *会先推送一下 临时背包信息
+     * 
+ */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeHolyEquipResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeHolyEquipResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse.class, com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + equipId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_TakeHolyEquipResponse_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse build() { + com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse buildPartial() { + com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse result = new com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.equipId_ = equipId_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse other) { + if (other == com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse.getDefaultInstance()) return this; + if (other.hasEquipId()) { + bitField0_ |= 0x00000001; + equipId_ = other.equipId_; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.TakeHolyEquipResponse) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // optional string equipId = 1; + private java.lang.Object equipId_ = ""; + /** + * optional string equipId = 1; + */ + public boolean hasEquipId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional string equipId = 1; + */ + public java.lang.String getEquipId() { + java.lang.Object ref = equipId_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + equipId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string equipId = 1; + */ + public com.google.protobuf.ByteString + getEquipIdBytes() { + java.lang.Object ref = equipId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + equipId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string equipId = 1; + */ + public Builder setEquipId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + equipId_ = value; + onChanged(); + return this; + } + /** + * optional string equipId = 1; + */ + public Builder clearEquipId() { + bitField0_ = (bitField0_ & ~0x00000001); + equipId_ = getDefaultInstance().getEquipId(); + onChanged(); + return this; + } + /** + * optional string equipId = 1; + */ + public Builder setEquipIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + equipId_ = value; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.TakeHolyEquipResponse) + } + + static { + defaultInstance = new TakeHolyEquipResponse(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.TakeHolyEquipResponse) + } + + public interface ExpeditionEquipIndicationOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + java.util.List + getEquipIdsList(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip getEquipIds(int index); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + int getEquipIdsCount(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + java.util.List + getEquipIdsOrBuilderList(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquipOrBuilder getEquipIdsOrBuilder( + int index); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.ExpeditionEquipIndication} + * + *
+   *增量
+   * 
+ */ + public static final class ExpeditionEquipIndication extends + com.google.protobuf.GeneratedMessage + implements ExpeditionEquipIndicationOrBuilder { + // Use ExpeditionEquipIndication.newBuilder() to construct. + private ExpeditionEquipIndication(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private ExpeditionEquipIndication(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final ExpeditionEquipIndication defaultInstance; + public static ExpeditionEquipIndication getDefaultInstance() { + return defaultInstance; + } + + public ExpeditionEquipIndication getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ExpeditionEquipIndication( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + equipIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + equipIds_.add(input.readMessage(com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.PARSER, extensionRegistry)); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + equipIds_ = java.util.Collections.unmodifiableList(equipIds_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ExpeditionEquipIndication_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ExpeditionEquipIndication_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication.class, com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ExpeditionEquipIndication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExpeditionEquipIndication(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + // repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + public static final int EQUIPIDS_FIELD_NUMBER = 1; + private java.util.List equipIds_; + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public java.util.List getEquipIdsList() { + return equipIds_; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public java.util.List + getEquipIdsOrBuilderList() { + return equipIds_; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public int getEquipIdsCount() { + return equipIds_.size(); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip getEquipIds(int index) { + return equipIds_.get(index); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquipOrBuilder getEquipIdsOrBuilder( + int index) { + return equipIds_.get(index); + } + + private void initFields() { + equipIds_ = java.util.Collections.emptyList(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + for (int i = 0; i < equipIds_.size(); i++) { + output.writeMessage(1, equipIds_.get(i)); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < equipIds_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, equipIds_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.ExpeditionEquipIndication} + * + *
+     *增量
+     * 
+ */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndicationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ExpeditionEquipIndication_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ExpeditionEquipIndication_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication.class, com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + getEquipIdsFieldBuilder(); + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + if (equipIdsBuilder_ == null) { + equipIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + equipIdsBuilder_.clear(); + } + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ExpeditionEquipIndication_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication build() { + com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication buildPartial() { + com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication result = new com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication(this); + int from_bitField0_ = bitField0_; + if (equipIdsBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + equipIds_ = java.util.Collections.unmodifiableList(equipIds_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.equipIds_ = equipIds_; + } else { + result.equipIds_ = equipIdsBuilder_.build(); + } + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication other) { + if (other == com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication.getDefaultInstance()) return this; + if (equipIdsBuilder_ == null) { + if (!other.equipIds_.isEmpty()) { + if (equipIds_.isEmpty()) { + equipIds_ = other.equipIds_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureEquipIdsIsMutable(); + equipIds_.addAll(other.equipIds_); + } + onChanged(); + } + } else { + if (!other.equipIds_.isEmpty()) { + if (equipIdsBuilder_.isEmpty()) { + equipIdsBuilder_.dispose(); + equipIdsBuilder_ = null; + equipIds_ = other.equipIds_; + bitField0_ = (bitField0_ & ~0x00000001); + equipIdsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + getEquipIdsFieldBuilder() : null; + } else { + equipIdsBuilder_.addAllMessages(other.equipIds_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.ExpeditionEquipIndication) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + private java.util.List equipIds_ = + java.util.Collections.emptyList(); + private void ensureEquipIdsIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + equipIds_ = new java.util.ArrayList(equipIds_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquipOrBuilder> equipIdsBuilder_; + + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public java.util.List getEquipIdsList() { + if (equipIdsBuilder_ == null) { + return java.util.Collections.unmodifiableList(equipIds_); + } else { + return equipIdsBuilder_.getMessageList(); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public int getEquipIdsCount() { + if (equipIdsBuilder_ == null) { + return equipIds_.size(); + } else { + return equipIdsBuilder_.getCount(); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip getEquipIds(int index) { + if (equipIdsBuilder_ == null) { + return equipIds_.get(index); + } else { + return equipIdsBuilder_.getMessage(index); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public Builder setEquipIds( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip value) { + if (equipIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEquipIdsIsMutable(); + equipIds_.set(index, value); + onChanged(); + } else { + equipIdsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public Builder setEquipIds( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder builderForValue) { + if (equipIdsBuilder_ == null) { + ensureEquipIdsIsMutable(); + equipIds_.set(index, builderForValue.build()); + onChanged(); + } else { + equipIdsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public Builder addEquipIds(com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip value) { + if (equipIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEquipIdsIsMutable(); + equipIds_.add(value); + onChanged(); + } else { + equipIdsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public Builder addEquipIds( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip value) { + if (equipIdsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEquipIdsIsMutable(); + equipIds_.add(index, value); + onChanged(); + } else { + equipIdsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public Builder addEquipIds( + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder builderForValue) { + if (equipIdsBuilder_ == null) { + ensureEquipIdsIsMutable(); + equipIds_.add(builderForValue.build()); + onChanged(); + } else { + equipIdsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public Builder addEquipIds( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder builderForValue) { + if (equipIdsBuilder_ == null) { + ensureEquipIdsIsMutable(); + equipIds_.add(index, builderForValue.build()); + onChanged(); + } else { + equipIdsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public Builder addAllEquipIds( + java.lang.Iterable values) { + if (equipIdsBuilder_ == null) { + ensureEquipIdsIsMutable(); + super.addAll(values, equipIds_); + onChanged(); + } else { + equipIdsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public Builder clearEquipIds() { + if (equipIdsBuilder_ == null) { + equipIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + equipIdsBuilder_.clear(); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public Builder removeEquipIds(int index) { + if (equipIdsBuilder_ == null) { + ensureEquipIdsIsMutable(); + equipIds_.remove(index); + onChanged(); + } else { + equipIdsBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder getEquipIdsBuilder( + int index) { + return getEquipIdsFieldBuilder().getBuilder(index); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquipOrBuilder getEquipIdsOrBuilder( + int index) { + if (equipIdsBuilder_ == null) { + return equipIds_.get(index); } else { + return equipIdsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public java.util.List + getEquipIdsOrBuilderList() { + if (equipIdsBuilder_ != null) { + return equipIdsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(equipIds_); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder addEquipIdsBuilder() { + return getEquipIdsFieldBuilder().addBuilder( + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.getDefaultInstance()); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder addEquipIdsBuilder( + int index) { + return getEquipIdsFieldBuilder().addBuilder( + index, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.getDefaultInstance()); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionEquip equipIds = 1; + */ + public java.util.List + getEquipIdsBuilderList() { + return getEquipIdsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquipOrBuilder> + getEquipIdsFieldBuilder() { + if (equipIdsBuilder_ == null) { + equipIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquip.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionEquipOrBuilder>( + equipIds_, + ((bitField0_ & 0x00000001) == 0x00000001), + getParentForChildren(), + isClean()); + equipIds_ = null; + } + return equipIdsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.ExpeditionEquipIndication) + } + + static { + defaultInstance = new ExpeditionEquipIndication(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.ExpeditionEquipIndication) + } + + public interface ExpeditionNodeInfoIndicationOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + java.util.List + getNodeInfoList(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo getNodeInfo(int index); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + int getNodeInfoCount(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + java.util.List + getNodeInfoOrBuilderList(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfoOrBuilder getNodeInfoOrBuilder( + int index); + + // repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + java.util.List + getHeroInfoList(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo getHeroInfo(int index); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + int getHeroInfoCount(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + java.util.List + getHeroInfoOrBuilderList(); + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder getHeroInfoOrBuilder( + int index); + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.ExpeditionNodeInfoIndication} + */ + public static final class ExpeditionNodeInfoIndication extends + com.google.protobuf.GeneratedMessage + implements ExpeditionNodeInfoIndicationOrBuilder { + // Use ExpeditionNodeInfoIndication.newBuilder() to construct. + private ExpeditionNodeInfoIndication(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private ExpeditionNodeInfoIndication(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final ExpeditionNodeInfoIndication defaultInstance; + public static ExpeditionNodeInfoIndication getDefaultInstance() { + return defaultInstance; + } + + public ExpeditionNodeInfoIndication getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ExpeditionNodeInfoIndication( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + nodeInfo_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + nodeInfo_.add(input.readMessage(com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.PARSER, extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + heroInfo_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + heroInfo_.add(input.readMessage(com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.PARSER, extensionRegistry)); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + nodeInfo_ = java.util.Collections.unmodifiableList(nodeInfo_); + } + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + heroInfo_ = java.util.Collections.unmodifiableList(heroInfo_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ExpeditionNodeInfoIndication_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ExpeditionNodeInfoIndication_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication.class, com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication.Builder.class); + } + + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ExpeditionNodeInfoIndication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExpeditionNodeInfoIndication(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + // repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + public static final int NODEINFO_FIELD_NUMBER = 1; + private java.util.List nodeInfo_; + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public java.util.List getNodeInfoList() { + return nodeInfo_; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public java.util.List + getNodeInfoOrBuilderList() { + return nodeInfo_; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public int getNodeInfoCount() { + return nodeInfo_.size(); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo getNodeInfo(int index) { + return nodeInfo_.get(index); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfoOrBuilder getNodeInfoOrBuilder( + int index) { + return nodeInfo_.get(index); + } + + // repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + public static final int HEROINFO_FIELD_NUMBER = 2; + private java.util.List heroInfo_; + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + public java.util.List getHeroInfoList() { + return heroInfo_; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + public java.util.List + getHeroInfoOrBuilderList() { + return heroInfo_; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + public int getHeroInfoCount() { + return heroInfo_.size(); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo getHeroInfo(int index) { + return heroInfo_.get(index); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+     *己方英雄信息
+     * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder getHeroInfoOrBuilder( + int index) { + return heroInfo_.get(index); + } + + private void initFields() { + nodeInfo_ = java.util.Collections.emptyList(); + heroInfo_ = java.util.Collections.emptyList(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + for (int i = 0; i < nodeInfo_.size(); i++) { + output.writeMessage(1, nodeInfo_.get(i)); + } + for (int i = 0; i < heroInfo_.size(); i++) { + output.writeMessage(2, heroInfo_.get(i)); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < nodeInfo_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, nodeInfo_.get(i)); + } + for (int i = 0; i < heroInfo_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, heroInfo_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code com.ljsd.jieling.protocols.ExpeditionNodeInfoIndication} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder + implements com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndicationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ExpeditionNodeInfoIndication_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ExpeditionNodeInfoIndication_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication.class, com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication.Builder.class); + } + + // Construct using com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + getNodeInfoFieldBuilder(); + getHeroInfoFieldBuilder(); + } + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + if (nodeInfoBuilder_ == null) { + nodeInfo_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + nodeInfoBuilder_.clear(); + } + if (heroInfoBuilder_ == null) { + heroInfo_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + heroInfoBuilder_.clear(); + } + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.ljsd.jieling.protocols.Expedition.internal_static_com_ljsd_jieling_protocols_ExpeditionNodeInfoIndication_descriptor; + } + + public com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication getDefaultInstanceForType() { + return com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication.getDefaultInstance(); + } + + public com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication build() { + com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication buildPartial() { + com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication result = new com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication(this); + int from_bitField0_ = bitField0_; + if (nodeInfoBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + nodeInfo_ = java.util.Collections.unmodifiableList(nodeInfo_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.nodeInfo_ = nodeInfo_; + } else { + result.nodeInfo_ = nodeInfoBuilder_.build(); + } + if (heroInfoBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002)) { + heroInfo_ = java.util.Collections.unmodifiableList(heroInfo_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.heroInfo_ = heroInfo_; + } else { + result.heroInfo_ = heroInfoBuilder_.build(); + } + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication) { + return mergeFrom((com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication other) { + if (other == com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication.getDefaultInstance()) return this; + if (nodeInfoBuilder_ == null) { + if (!other.nodeInfo_.isEmpty()) { + if (nodeInfo_.isEmpty()) { + nodeInfo_ = other.nodeInfo_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureNodeInfoIsMutable(); + nodeInfo_.addAll(other.nodeInfo_); + } + onChanged(); + } + } else { + if (!other.nodeInfo_.isEmpty()) { + if (nodeInfoBuilder_.isEmpty()) { + nodeInfoBuilder_.dispose(); + nodeInfoBuilder_ = null; + nodeInfo_ = other.nodeInfo_; + bitField0_ = (bitField0_ & ~0x00000001); + nodeInfoBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + getNodeInfoFieldBuilder() : null; + } else { + nodeInfoBuilder_.addAllMessages(other.nodeInfo_); + } + } + } + if (heroInfoBuilder_ == null) { + if (!other.heroInfo_.isEmpty()) { + if (heroInfo_.isEmpty()) { + heroInfo_ = other.heroInfo_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureHeroInfoIsMutable(); + heroInfo_.addAll(other.heroInfo_); + } + onChanged(); + } + } else { + if (!other.heroInfo_.isEmpty()) { + if (heroInfoBuilder_.isEmpty()) { + heroInfoBuilder_.dispose(); + heroInfoBuilder_ = null; + heroInfo_ = other.heroInfo_; + bitField0_ = (bitField0_ & ~0x00000002); + heroInfoBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + getHeroInfoFieldBuilder() : null; + } else { + heroInfoBuilder_.addAllMessages(other.heroInfo_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.ljsd.jieling.protocols.Expedition.ExpeditionNodeInfoIndication) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + private java.util.List nodeInfo_ = + java.util.Collections.emptyList(); + private void ensureNodeInfoIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + nodeInfo_ = new java.util.ArrayList(nodeInfo_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfoOrBuilder> nodeInfoBuilder_; + + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public java.util.List getNodeInfoList() { + if (nodeInfoBuilder_ == null) { + return java.util.Collections.unmodifiableList(nodeInfo_); + } else { + return nodeInfoBuilder_.getMessageList(); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public int getNodeInfoCount() { + if (nodeInfoBuilder_ == null) { + return nodeInfo_.size(); + } else { + return nodeInfoBuilder_.getCount(); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo getNodeInfo(int index) { + if (nodeInfoBuilder_ == null) { + return nodeInfo_.get(index); + } else { + return nodeInfoBuilder_.getMessage(index); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public Builder setNodeInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo value) { + if (nodeInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodeInfoIsMutable(); + nodeInfo_.set(index, value); + onChanged(); + } else { + nodeInfoBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public Builder setNodeInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder builderForValue) { + if (nodeInfoBuilder_ == null) { + ensureNodeInfoIsMutable(); + nodeInfo_.set(index, builderForValue.build()); + onChanged(); + } else { + nodeInfoBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public Builder addNodeInfo(com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo value) { + if (nodeInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodeInfoIsMutable(); + nodeInfo_.add(value); + onChanged(); + } else { + nodeInfoBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public Builder addNodeInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo value) { + if (nodeInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodeInfoIsMutable(); + nodeInfo_.add(index, value); + onChanged(); + } else { + nodeInfoBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public Builder addNodeInfo( + com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder builderForValue) { + if (nodeInfoBuilder_ == null) { + ensureNodeInfoIsMutable(); + nodeInfo_.add(builderForValue.build()); + onChanged(); + } else { + nodeInfoBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public Builder addNodeInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder builderForValue) { + if (nodeInfoBuilder_ == null) { + ensureNodeInfoIsMutable(); + nodeInfo_.add(index, builderForValue.build()); + onChanged(); + } else { + nodeInfoBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public Builder addAllNodeInfo( + java.lang.Iterable values) { + if (nodeInfoBuilder_ == null) { + ensureNodeInfoIsMutable(); + super.addAll(values, nodeInfo_); + onChanged(); + } else { + nodeInfoBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public Builder clearNodeInfo() { + if (nodeInfoBuilder_ == null) { + nodeInfo_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + nodeInfoBuilder_.clear(); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public Builder removeNodeInfo(int index) { + if (nodeInfoBuilder_ == null) { + ensureNodeInfoIsMutable(); + nodeInfo_.remove(index); + onChanged(); + } else { + nodeInfoBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder getNodeInfoBuilder( + int index) { + return getNodeInfoFieldBuilder().getBuilder(index); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfoOrBuilder getNodeInfoOrBuilder( + int index) { + if (nodeInfoBuilder_ == null) { + return nodeInfo_.get(index); } else { + return nodeInfoBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public java.util.List + getNodeInfoOrBuilderList() { + if (nodeInfoBuilder_ != null) { + return nodeInfoBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(nodeInfo_); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder addNodeInfoBuilder() { + return getNodeInfoFieldBuilder().addBuilder( + com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.getDefaultInstance()); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder addNodeInfoBuilder( + int index) { + return getNodeInfoFieldBuilder().addBuilder( + index, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.getDefaultInstance()); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionNodeInfo nodeInfo = 1; + */ + public java.util.List + getNodeInfoBuilderList() { + return getNodeInfoFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfoOrBuilder> + getNodeInfoFieldBuilder() { + if (nodeInfoBuilder_ == null) { + nodeInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionNodeInfoOrBuilder>( + nodeInfo_, + ((bitField0_ & 0x00000001) == 0x00000001), + getParentForChildren(), + isClean()); + nodeInfo_ = null; + } + return nodeInfoBuilder_; + } + + // repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + private java.util.List heroInfo_ = + java.util.Collections.emptyList(); + private void ensureHeroInfoIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + heroInfo_ = new java.util.ArrayList(heroInfo_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder> heroInfoBuilder_; + + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public java.util.List getHeroInfoList() { + if (heroInfoBuilder_ == null) { + return java.util.Collections.unmodifiableList(heroInfo_); + } else { + return heroInfoBuilder_.getMessageList(); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public int getHeroInfoCount() { + if (heroInfoBuilder_ == null) { + return heroInfo_.size(); + } else { + return heroInfoBuilder_.getCount(); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo getHeroInfo(int index) { + if (heroInfoBuilder_ == null) { + return heroInfo_.get(index); + } else { + return heroInfoBuilder_.getMessage(index); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder setHeroInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo value) { + if (heroInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureHeroInfoIsMutable(); + heroInfo_.set(index, value); + onChanged(); + } else { + heroInfoBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder setHeroInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder builderForValue) { + if (heroInfoBuilder_ == null) { + ensureHeroInfoIsMutable(); + heroInfo_.set(index, builderForValue.build()); + onChanged(); + } else { + heroInfoBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder addHeroInfo(com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo value) { + if (heroInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureHeroInfoIsMutable(); + heroInfo_.add(value); + onChanged(); + } else { + heroInfoBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder addHeroInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo value) { + if (heroInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureHeroInfoIsMutable(); + heroInfo_.add(index, value); + onChanged(); + } else { + heroInfoBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder addHeroInfo( + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder builderForValue) { + if (heroInfoBuilder_ == null) { + ensureHeroInfoIsMutable(); + heroInfo_.add(builderForValue.build()); + onChanged(); + } else { + heroInfoBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder addHeroInfo( + int index, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder builderForValue) { + if (heroInfoBuilder_ == null) { + ensureHeroInfoIsMutable(); + heroInfo_.add(index, builderForValue.build()); + onChanged(); + } else { + heroInfoBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder addAllHeroInfo( + java.lang.Iterable values) { + if (heroInfoBuilder_ == null) { + ensureHeroInfoIsMutable(); + super.addAll(values, heroInfo_); + onChanged(); + } else { + heroInfoBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder clearHeroInfo() { + if (heroInfoBuilder_ == null) { + heroInfo_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + heroInfoBuilder_.clear(); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public Builder removeHeroInfo(int index) { + if (heroInfoBuilder_ == null) { + ensureHeroInfoIsMutable(); + heroInfo_.remove(index); + onChanged(); + } else { + heroInfoBuilder_.remove(index); + } + return this; + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder getHeroInfoBuilder( + int index) { + return getHeroInfoFieldBuilder().getBuilder(index); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder getHeroInfoOrBuilder( + int index) { + if (heroInfoBuilder_ == null) { + return heroInfo_.get(index); } else { + return heroInfoBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public java.util.List + getHeroInfoOrBuilderList() { + if (heroInfoBuilder_ != null) { + return heroInfoBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(heroInfo_); + } + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder addHeroInfoBuilder() { + return getHeroInfoFieldBuilder().addBuilder( + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.getDefaultInstance()); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder addHeroInfoBuilder( + int index) { + return getHeroInfoFieldBuilder().addBuilder( + index, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.getDefaultInstance()); + } + /** + * repeated .com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo heroInfo = 2; + * + *
+       *己方英雄信息
+       * 
+ */ + public java.util.List + getHeroInfoBuilderList() { + return getHeroInfoFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder> + getHeroInfoFieldBuilder() { + if (heroInfoBuilder_ == null) { + heroInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfo.Builder, com.ljsd.jieling.protocols.CommonProto.ExpeditionSimpleHeroInfoOrBuilder>( + heroInfo_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); + heroInfo_ = null; + } + return heroInfoBuilder_; + } + + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.ExpeditionNodeInfoIndication) + } + + static { + defaultInstance = new ExpeditionNodeInfoIndication(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.ExpeditionNodeInfoIndication) + } + + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_GetExpeditionRequest_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_GetExpeditionRequest_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_GetExpeditionResponse_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_GetExpeditionResponse_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardRequest_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardRequest_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardResponse_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardResponse_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroRequest_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroRequest_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroResponse_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroResponse_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroRequest_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroRequest_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroResponse_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroResponse_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleRequest_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleRequest_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleResponse_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleResponse_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleRequest_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleRequest_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleResponse_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleResponse_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_TakeHolyEquipRequest_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_TakeHolyEquipRequest_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_TakeHolyEquipResponse_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_TakeHolyEquipResponse_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_ExpeditionEquipIndication_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_ExpeditionEquipIndication_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_com_ljsd_jieling_protocols_ExpeditionNodeInfoIndication_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_com_ljsd_jieling_protocols_ExpeditionNodeInfoIndication_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\020Expedition.proto\022\032com.ljsd.jieling.pro" + + "tocols\032\021CommonProto.proto\"\026\n\024GetExpediti" + + "onRequest\"\355\001\n\025GetExpeditionResponse\022@\n\010n" + + "odeInfo\030\001 \003(\0132..com.ljsd.jieling.protoco" + + "ls.ExpeditionNodeInfo\022F\n\010heroInfo\030\002 \003(\0132" + + "4.com.ljsd.jieling.protocols.ExpeditionS" + + "impleHeroInfo\022\013\n\003lay\030\003 \003(\005\022=\n\010equipIds\030\004" + + " \003(\0132+.com.ljsd.jieling.protocols.Expedi" + + "tionEquip\"-\n\036TakeExpeditionBoxRewardRequ" + + "est\022\013\n\003lay\030\001 \001(\005\"Q\n\037TakeExpeditionBoxRew", + "ardResponse\022.\n\004drop\030\001 \001(\0132 .com.ljsd.jie" + + "ling.protocols.Drop\"=\n\033ReliveExpeditionH" + + "eroRequest\022\016\n\006heroId\030\001 \001(\t\022\016\n\006nodeId\030\002 \001" + + "(\005\"f\n\034ReliveExpeditionHeroResponse\022F\n\010he" + + "roInfo\030\001 \001(\01324.com.ljsd.jieling.protocol" + + "s.ExpeditionSimpleHeroInfo\".\n\034ReCoverExp" + + "editionHeroRequest\022\016\n\006nodeId\030\001 \001(\005\"g\n\035Re" + + "CoverExpeditionHeroResponse\022F\n\010heroInfo\030" + + "\001 \003(\01324.com.ljsd.jieling.protocols.Exped" + + "itionSimpleHeroInfo\">\n\034StartExpeditionBa", + "ttleRequest\022\016\n\006nodeId\030\001 \001(\005\022\016\n\006teamId\030\002 " + + "\001(\005\"Y\n\035StartExpeditionBattleResponse\0228\n\t" + + "fightData\030\001 \001(\0132%.com.ljsd.jieling.proto" + + "cols.FightData\"<\n\032EndExpeditionBattleReq" + + "uest\022\016\n\006nodeId\030\001 \001(\005\022\016\n\006frames\030\002 \001(\t\"]\n\033" + + "EndExpeditionBattleResponse\022\016\n\006result\030\001 " + + "\001(\005\022.\n\004drop\030\002 \001(\0132 .com.ljsd.jieling.pro" + + "tocols.Drop\"4\n\024TakeHolyEquipRequest\022\016\n\006n" + + "odeId\030\001 \001(\005\022\014\n\004type\030\002 \001(\005\"(\n\025TakeHolyEqu" + + "ipResponse\022\017\n\007equipId\030\001 \001(\t\"Z\n\031Expeditio", + "nEquipIndication\022=\n\010equipIds\030\001 \003(\0132+.com" + + ".ljsd.jieling.protocols.ExpeditionEquip\"" + + "\250\001\n\034ExpeditionNodeInfoIndication\022@\n\010node" + + "Info\030\001 \003(\0132..com.ljsd.jieling.protocols." + + "ExpeditionNodeInfo\022F\n\010heroInfo\030\002 \003(\01324.c" + + "om.ljsd.jieling.protocols.ExpeditionSimp" + + "leHeroInfoB\002H\001" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + internal_static_com_ljsd_jieling_protocols_GetExpeditionRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_com_ljsd_jieling_protocols_GetExpeditionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_GetExpeditionRequest_descriptor, + new java.lang.String[] { }); + internal_static_com_ljsd_jieling_protocols_GetExpeditionResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_com_ljsd_jieling_protocols_GetExpeditionResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_GetExpeditionResponse_descriptor, + new java.lang.String[] { "NodeInfo", "HeroInfo", "Lay", "EquipIds", }); + internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardRequest_descriptor, + new java.lang.String[] { "Lay", }); + internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_TakeExpeditionBoxRewardResponse_descriptor, + new java.lang.String[] { "Drop", }); + internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroRequest_descriptor, + new java.lang.String[] { "HeroId", "NodeId", }); + internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_ReliveExpeditionHeroResponse_descriptor, + new java.lang.String[] { "HeroInfo", }); + internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroRequest_descriptor, + new java.lang.String[] { "NodeId", }); + internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_ReCoverExpeditionHeroResponse_descriptor, + new java.lang.String[] { "HeroInfo", }); + internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleRequest_descriptor, + new java.lang.String[] { "NodeId", "TeamId", }); + internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_StartExpeditionBattleResponse_descriptor, + new java.lang.String[] { "FightData", }); + internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleRequest_descriptor, + new java.lang.String[] { "NodeId", "Frames", }); + internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_EndExpeditionBattleResponse_descriptor, + new java.lang.String[] { "Result", "Drop", }); + internal_static_com_ljsd_jieling_protocols_TakeHolyEquipRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_com_ljsd_jieling_protocols_TakeHolyEquipRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_TakeHolyEquipRequest_descriptor, + new java.lang.String[] { "NodeId", "Type", }); + internal_static_com_ljsd_jieling_protocols_TakeHolyEquipResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_com_ljsd_jieling_protocols_TakeHolyEquipResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_TakeHolyEquipResponse_descriptor, + new java.lang.String[] { "EquipId", }); + internal_static_com_ljsd_jieling_protocols_ExpeditionEquipIndication_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_com_ljsd_jieling_protocols_ExpeditionEquipIndication_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_ExpeditionEquipIndication_descriptor, + new java.lang.String[] { "EquipIds", }); + internal_static_com_ljsd_jieling_protocols_ExpeditionNodeInfoIndication_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_com_ljsd_jieling_protocols_ExpeditionNodeInfoIndication_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_com_ljsd_jieling_protocols_ExpeditionNodeInfoIndication_descriptor, + new java.lang.String[] { "NodeInfo", "HeroInfo", }); + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.ljsd.jieling.protocols.CommonProto.getDescriptor(), + }, assigner); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/bloodybattle/src/main/java/com/ljsd/jieling/protocols/Family.java b/bloodybattle/src/main/java/com/ljsd/jieling/protocols/Family.java index 91b422bf6..ba3111c68 100644 --- a/bloodybattle/src/main/java/com/ljsd/jieling/protocols/Family.java +++ b/bloodybattle/src/main/java/com/ljsd/jieling/protocols/Family.java @@ -217,6 +217,24 @@ public final class Family { * */ int getMaxBossHurt(); + + // optional int32 lastHurt = 12; + /** + * optional int32 lastHurt = 12; + * + *
+     * 上次伤害
+     * 
+ */ + boolean hasLastHurt(); + /** + * optional int32 lastHurt = 12; + * + *
+     * 上次伤害
+     * 
+ */ + int getLastHurt(); } /** * Protobuf type {@code com.ljsd.jieling.protocols.FamilyUserInfo} @@ -324,6 +342,11 @@ public final class Family { maxBossHurt_ = input.readInt32(); break; } + case 96: { + bitField0_ |= 0x00000800; + lastHurt_ = input.readInt32(); + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -659,6 +682,30 @@ public final class Family { return maxBossHurt_; } + // optional int32 lastHurt = 12; + public static final int LASTHURT_FIELD_NUMBER = 12; + private int lastHurt_; + /** + * optional int32 lastHurt = 12; + * + *
+     * 上次伤害
+     * 
+ */ + public boolean hasLastHurt() { + return ((bitField0_ & 0x00000800) == 0x00000800); + } + /** + * optional int32 lastHurt = 12; + * + *
+     * 上次伤害
+     * 
+ */ + public int getLastHurt() { + return lastHurt_; + } + private void initFields() { roleUid_ = 0; userName_ = ""; @@ -671,6 +718,7 @@ public final class Family { head_ = 0; frame_ = 0; maxBossHurt_ = 0; + lastHurt_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -737,6 +785,9 @@ public final class Family { if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeInt32(11, maxBossHurt_); } + if (((bitField0_ & 0x00000800) == 0x00000800)) { + output.writeInt32(12, lastHurt_); + } getUnknownFields().writeTo(output); } @@ -790,6 +841,10 @@ public final class Family { size += com.google.protobuf.CodedOutputStream .computeInt32Size(11, maxBossHurt_); } + if (((bitField0_ & 0x00000800) == 0x00000800)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(12, lastHurt_); + } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; @@ -928,6 +983,8 @@ public final class Family { bitField0_ = (bitField0_ & ~0x00000200); maxBossHurt_ = 0; bitField0_ = (bitField0_ & ~0x00000400); + lastHurt_ = 0; + bitField0_ = (bitField0_ & ~0x00000800); return this; } @@ -1000,6 +1057,10 @@ public final class Family { to_bitField0_ |= 0x00000400; } result.maxBossHurt_ = maxBossHurt_; + if (((from_bitField0_ & 0x00000800) == 0x00000800)) { + to_bitField0_ |= 0x00000800; + } + result.lastHurt_ = lastHurt_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -1051,6 +1112,9 @@ public final class Family { if (other.hasMaxBossHurt()) { setMaxBossHurt(other.getMaxBossHurt()); } + if (other.hasLastHurt()) { + setLastHurt(other.getLastHurt()); + } this.mergeUnknownFields(other.getUnknownFields()); return this; } @@ -1686,6 +1750,55 @@ public final class Family { return this; } + // optional int32 lastHurt = 12; + private int lastHurt_ ; + /** + * optional int32 lastHurt = 12; + * + *
+       * 上次伤害
+       * 
+ */ + public boolean hasLastHurt() { + return ((bitField0_ & 0x00000800) == 0x00000800); + } + /** + * optional int32 lastHurt = 12; + * + *
+       * 上次伤害
+       * 
+ */ + public int getLastHurt() { + return lastHurt_; + } + /** + * optional int32 lastHurt = 12; + * + *
+       * 上次伤害
+       * 
+ */ + public Builder setLastHurt(int value) { + bitField0_ |= 0x00000800; + lastHurt_ = value; + onChanged(); + return this; + } + /** + * optional int32 lastHurt = 12; + * + *
+       * 上次伤害
+       * 
+ */ + public Builder clearLastHurt() { + bitField0_ = (bitField0_ & ~0x00000800); + lastHurt_ = 0; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.FamilyUserInfo) } @@ -37674,6 +37787,26 @@ public final class Family { * optional int32 isSuccess = 1; */ int getIsSuccess(); + + // optional int32 itemId = 2; + /** + * optional int32 itemId = 2; + */ + boolean hasItemId(); + /** + * optional int32 itemId = 2; + */ + int getItemId(); + + // optional int32 count = 3; + /** + * optional int32 count = 3; + */ + boolean hasCount(); + /** + * optional int32 count = 3; + */ + int getCount(); } /** * Protobuf type {@code com.ljsd.jieling.protocols.RobRedPackageResponse} @@ -37731,6 +37864,16 @@ public final class Family { isSuccess_ = input.readInt32(); break; } + case 16: { + bitField0_ |= 0x00000002; + itemId_ = input.readInt32(); + break; + } + case 24: { + bitField0_ |= 0x00000004; + count_ = input.readInt32(); + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -37787,8 +37930,42 @@ public final class Family { return isSuccess_; } + // optional int32 itemId = 2; + public static final int ITEMID_FIELD_NUMBER = 2; + private int itemId_; + /** + * optional int32 itemId = 2; + */ + public boolean hasItemId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional int32 itemId = 2; + */ + public int getItemId() { + return itemId_; + } + + // optional int32 count = 3; + public static final int COUNT_FIELD_NUMBER = 3; + private int count_; + /** + * optional int32 count = 3; + */ + public boolean hasCount() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional int32 count = 3; + */ + public int getCount() { + return count_; + } + private void initFields() { isSuccess_ = 0; + itemId_ = 0; + count_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -37805,6 +37982,12 @@ public final class Family { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, isSuccess_); } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeInt32(2, itemId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeInt32(3, count_); + } getUnknownFields().writeTo(output); } @@ -37818,6 +38001,14 @@ public final class Family { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, isSuccess_); } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, itemId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, count_); + } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; @@ -37936,6 +38127,10 @@ public final class Family { super.clear(); isSuccess_ = 0; bitField0_ = (bitField0_ & ~0x00000001); + itemId_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + count_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -37968,6 +38163,14 @@ public final class Family { to_bitField0_ |= 0x00000001; } result.isSuccess_ = isSuccess_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.itemId_ = itemId_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.count_ = count_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -37987,6 +38190,12 @@ public final class Family { if (other.hasIsSuccess()) { setIsSuccess(other.getIsSuccess()); } + if (other.hasItemId()) { + setItemId(other.getItemId()); + } + if (other.hasCount()) { + setCount(other.getCount()); + } this.mergeUnknownFields(other.getUnknownFields()); return this; } @@ -38047,6 +38256,72 @@ public final class Family { return this; } + // optional int32 itemId = 2; + private int itemId_ ; + /** + * optional int32 itemId = 2; + */ + public boolean hasItemId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional int32 itemId = 2; + */ + public int getItemId() { + return itemId_; + } + /** + * optional int32 itemId = 2; + */ + public Builder setItemId(int value) { + bitField0_ |= 0x00000002; + itemId_ = value; + onChanged(); + return this; + } + /** + * optional int32 itemId = 2; + */ + public Builder clearItemId() { + bitField0_ = (bitField0_ & ~0x00000002); + itemId_ = 0; + onChanged(); + return this; + } + + // optional int32 count = 3; + private int count_ ; + /** + * optional int32 count = 3; + */ + public boolean hasCount() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional int32 count = 3; + */ + public int getCount() { + return count_; + } + /** + * optional int32 count = 3; + */ + public Builder setCount(int value) { + bitField0_ |= 0x00000004; + count_ = value; + onChanged(); + return this; + } + /** + * optional int32 count = 3; + */ + public Builder clearCount() { + bitField0_ = (bitField0_ & ~0x00000004); + count_ = 0; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.RobRedPackageResponse) } @@ -40708,137 +40983,138 @@ public final class Family { static { java.lang.String[] descriptorData = { "\n\014Family.proto\022\032com.ljsd.jieling.protoco" + - "ls\032\021CommonProto.proto\"\333\001\n\016FamilyUserInfo" + + "ls\032\021CommonProto.proto\"\355\001\n\016FamilyUserInfo" + "\022\017\n\007roleUid\030\001 \002(\005\022\020\n\010userName\030\002 \002(\t\022\021\n\tu" + "serLevel\030\003 \002(\005\022\020\n\010position\030\004 \002(\005\022\022\n\ncont" + "ribute\030\005 \002(\005\022\017\n\007seconds\030\006 \001(\005\022\027\n\017contrib" + "uteToday\030\007 \001(\005\022\021\n\tsoulForce\030\010 \001(\005\022\014\n\004hea" + "d\030\t \001(\005\022\r\n\005frame\030\n \001(\005\022\023\n\013maxBossHurt\030\013 " + - "\001(\005\"9\n\rFamilyLogInfo\022\014\n\004name\030\001 \001(\t\022\014\n\004in" + - "fo\030\002 \001(\t\022\014\n\004time\030\003 \001(\005\"_\n\024FamilyWalkIndi" + - "caiton\022\014\n\004path\030\001 \003(\005\022\016\n\006curPos\030\002 \001(\005\022\013\n\003", - "uid\030\003 \001(\005\022\014\n\004name\030\004 \001(\t\022\016\n\006gender\030\005 \001(\005\"" + - "\210\001\n\013FamilyApply\022\014\n\004name\030\001 \001(\t\022\017\n\007roleUid" + - "\030\002 \001(\005\022\014\n\004time\030\003 \001(\005\022\r\n\005frame\030\004 \001(\005\022\017\n\007o" + - "utTime\030\005 \001(\005\022\r\n\005level\030\006 \001(\005\022\017\n\007foreces\030\007" + - " \001(\005\022\014\n\004head\030\010 \001(\005\"l\n\020FamilyNoticeInfo\022\023" + - "\n\013guildNotice\030\001 \002(\t\022\022\n\nupdateTime\030\002 \002(\005\022" + - "\r\n\005steps\030\003 \003(\005\022\020\n\010adminres\030\004 \003(\005\022\016\n\006hasN" + - "ew\030\005 \002(\005\"i\n\022FamilyRecomandInfo\022B\n\016family" + - "BaseInfo\030\001 \001(\0132*.com.ljsd.jieling.protoc" + - "ols.FamilyBaseInfo\022\017\n\007isApply\030\002 \001(\005\"U\n\020F", - "amilyDefendInfo\022\013\n\003uid\030\001 \001(\005\022\021\n\tstarCoun" + - "t\030\002 \001(\005\022\017\n\007buildId\030\003 \001(\005\022\020\n\010curForce\030\004 \001" + - "(\005\"6\n\023FamilyBuildBuffInfo\022\017\n\007buildId\030\001 \001" + - "(\005\022\016\n\006buffId\030\002 \003(\005\"y\n\025FamilyFightPlayerI" + - "nfo\022<\n\010userInfo\030\001 \001(\0132*.com.ljsd.jieling" + - ".protocols.FamilyUserInfo\022\021\n\tstarCount\030\002" + - " \001(\005\022\017\n\007buildId\030\003 \001(\005\"\243\001\n\017FamilyFightInf" + - "o\022\013\n\003gid\030\001 \001(\005\022B\n\tbuildBuff\030\002 \003(\0132/.com." + - "ljsd.jieling.protocols.FamilyBuildBuffIn" + - "fo\022?\n\004user\030\003 \003(\01321.com.ljsd.jieling.prot", - "ocols.FamilyFightPlayerInfo\"\204\002\n\025GetFamil" + - "yInfoResponse\022B\n\016familyBaseInfo\030\001 \001(\0132*." + - "com.ljsd.jieling.protocols.FamilyBaseInf" + - "o\022B\n\016familyUserInfo\030\002 \001(\0132*.com.ljsd.jie" + - "ling.protocols.FamilyUserInfo\022N\n\024familyW" + - "alkIndicaiton\030\003 \003(\01320.com.ljsd.jieling.p" + - "rotocols.FamilyWalkIndicaiton\022\023\n\013guildBo" + - "ssId\030\004 \001(\005\"5\n\023FamilyCreateReqeust\022\014\n\004nam" + - "e\030\001 \001(\t\022\020\n\010announce\030\002 \001(\t\"\356\001\n\024FamilyCrea" + - "teResponse\022B\n\016familyBaseInfo\030\001 \001(\0132*.com", - ".ljsd.jieling.protocols.FamilyBaseInfo\022B" + - "\n\016familyUserInfo\030\002 \001(\0132*.com.ljsd.jielin" + - "g.protocols.FamilyUserInfo\022N\n\024familyWalk" + - "Indicaiton\030\003 \001(\01320.com.ljsd.jieling.prot" + - "ocols.FamilyWalkIndicaiton\"#\n\023FamilySear" + - "chReqeust\022\014\n\004name\030\001 \001(\t\"a\n\023FamilySeachRe" + - "sponse\022J\n\022familyRecomandInfo\030\001 \003(\0132..com" + - ".ljsd.jieling.protocols.FamilyRecomandIn" + - "fo\"&\n\022FamilyApplyRequest\022\020\n\010familyId\030\001 \003" + - "(\005\"\235\001\n\023FamilyJoinIndicaion\022B\n\016familyBase", - "Info\030\001 \001(\0132*.com.ljsd.jieling.protocols." + - "FamilyBaseInfo\022B\n\016familyUserInfo\030\002 \001(\0132*" + - ".com.ljsd.jieling.protocols.FamilyUserIn" + - "fo\"%\n\021FamilyJoinRequest\022\020\n\010familyId\030\001 \001(" + - "\005\"b\n\022FamilyJoinResponse\022L\n\023familyJoinInd" + - "icaion\030\001 \001(\0132/.com.ljsd.jieling.protocol" + - "s.FamilyJoinIndicaion\"e\n\027FamilyRecommand" + - "Response\022J\n\022familyRecomandInfo\030\001 \003(\0132..c" + - "om.ljsd.jieling.protocols.FamilyRecomand" + - "Info\"a\n\033GetFamilyMemberInfoResponse\022B\n\016f", - "amilyUserInfo\030\001 \003(\0132*.com.ljsd.jieling.p" + - "rotocols.FamilyUserInfo\"X\n\024GetFamilyLogR" + - "esponse\022@\n\rfamilyLogInfo\030\001 \003(\0132).com.ljs" + - "d.jieling.protocols.FamilyLogInfo\"V\n\026Get" + - "FamilyApplyResponse\022<\n\013familyApply\030\001 \003(\013" + - "2\'.com.ljsd.jieling.protocols.FamilyAppl" + - "y\"<\n\033FamilyOperationApplyRequest\022\014\n\004type" + - "\030\001 \001(\005\022\017\n\007applyId\030\002 \001(\005\")\n\024FamilyKickOut" + - "Request\022\021\n\ttargetUid\030\001 \001(\005\"?\n\030FamilyAppo" + - "intmentReqeust\022\021\n\ttargetUid\030\001 \001(\005\022\020\n\010pos", - "ition\030\002 \001(\005\"?\n\036FamilyPositionUpdateIndic" + - "ation\022\020\n\010position\030\001 \001(\005\022\013\n\003uid\030\002 \001(\005\"4\n\023" + - "FamilyChangeRequest\022\014\n\004type\030\001 \001(\005\022\017\n\007con" + - "tent\030\002 \001(\t\"3\n\024FamilyChangeResponse\022\016\n\006re" + - "sult\030\001 \001(\005\022\013\n\003err\030\002 \001(\t\">\n\033FamilyChangeJ" + - "oinTypeRequest\022\014\n\004type\030\001 \001(\005\022\021\n\tintoLeve" + - "l\030\002 \001(\005\"\\\n\026FamilyChangeIndication\022B\n\016fam" + - "ilyBaseInfo\030\001 \001(\0132*.com.ljsd.jieling.pro" + - "tocols.FamilyBaseInfo\"0\n\033FamilyChairmanC" + - "hangeRequest\022\021\n\ttargetUid\030\001 \001(\005\"(\n\030Famil", - "yDissolutionRequest\022\014\n\004type\030\001 \001(\005\"V\n\030Fam" + - "ilyDefendViewResponse\022:\n\004info\030\001 \003(\0132,.co" + - "m.ljsd.jieling.protocols.FamilyDefendInf" + - "o\">\n\035FamilyDefendDetailViewRequest\022\020\n\010pl" + - "ayerId\030\001 \001(\005\022\013\n\003gid\030\002 \001(\005\"_\n\036FamilyDefen" + - "dDetailViewResponse\022=\n\010teamInfo\030\001 \001(\0132+." + - "com.ljsd.jieling.protocols.TeamOneTeamIn" + - "fo\"8\n\030FamilyQuickDefendRequest\022\017\n\007buildI" + - "d\030\001 \001(\005\022\013\n\003uid\030\002 \001(\005\"!\n\021FamilyWalkReques" + - "t\022\014\n\004path\030\001 \003(\005\"T\n\027FamilyFightInfoRespon", - "se\0229\n\004info\030\001 \003(\0132+.com.ljsd.jieling.prot" + - "ocols.FamilyFightInfo\"q\n\013EnemyFamily\022\n\n\002" + - "id\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\022\r\n\005level\030\003 \001(\005\022\021\n" + - "\tpictureId\030\004 \001(\005\022\021\n\ttotalStar\030\005 \001(\005\022\023\n\013m" + - "yTotalStar\030\006 \001(\005\"\310\001\n\030FamilyFightRoundRes" + - "ponse\022\014\n\004type\030\001 \001(\005\022\021\n\tstartTime\030\002 \001(\005\022\026" + - "\n\016roundStartTime\030\003 \001(\005\022\024\n\014roundEndTime\030\004" + - " \001(\005\022\020\n\010joinType\030\005 \001(\005\0226\n\005enemy\030\006 \001(\0132\'." + - "com.ljsd.jieling.protocols.EnemyFamily\022\023" + - "\n\013attackCount\030\007 \001(\005\":\n\030FamilyFightAttack", - "Request\022\021\n\tattackUid\030\001 \001(\005\022\013\n\003gid\030\002 \001(\005\"" + - "s\n\031FamilyFightAttackResponse\022\016\n\006result\030\001" + - " \001(\005\022\021\n\tstarCount\030\002 \001(\005\0223\n\004data\030\003 \001(\0132%." + - "com.ljsd.jieling.protocols.FightData\"\231\001\n" + - "\023PersonalFightResult\022\014\n\004rank\030\001 \001(\005\022\013\n\003ui" + - "d\030\002 \001(\005\022\014\n\004name\030\003 \001(\t\022\014\n\004head\030\004 \001(\005\022\021\n\th" + - "eadFrame\030\005 \001(\005\022\020\n\010position\030\006 \001(\005\022\023\n\013atta" + - "ckCount\030\007 \001(\005\022\021\n\tstarCount\030\010 \001(\005\"*\n\032Pers" + - "onalFightResultRequest\022\014\n\004type\030\001 \001(\005\"^\n\033" + - "PersonalFightResultResponse\022?\n\006result\030\001 ", - "\003(\0132/.com.ljsd.jieling.protocols.Persona" + - "lFightResult\"j\n\030GuildFightResultResponse" + - "\022\016\n\006getExp\030\001 \001(\005\022\014\n\004star\030\002 \003(\005\022\021\n\textraS" + - "tar\030\003 \003(\005\022\r\n\005level\030\004 \001(\005\022\016\n\006curExp\030\005 \001(\005" + - "\"3\n\016DefeatResponse\022\013\n\003uid\030\001 \001(\005\022\024\n\014teamL" + - "ostStar\030\002 \001(\005\"#\n\021ChangeIconRequest\022\016\n\006ic" + - "onId\030\001 \001(\005\"V\n\032GetAttackHeroBloodResponse" + - "\0228\n\005blood\030\001 \003(\0132).com.ljsd.jieling.proto" + - "cols.HeroBloodInfo\" \n\020RefuseJoinFamily\022\014" + - "\n\004name\030\001 \001(\t\" \n\021KickOutIndication\022\013\n\003uid", - "\030\001 \001(\005\"P\n\030GetAllRedPackageResponse\0224\n\004in" + - "fo\030\001 \003(\0132&.com.ljsd.jieling.protocols.Re" + - "dPackage\"\"\n\024RobRedPackageRequest\022\n\n\002id\030\001" + - " \001(\005\"*\n\025RobRedPackageResponse\022\021\n\tisSucce" + - "ss\030\001 \001(\005\"%\n\027RedPackageDetailRequest\022\n\n\002i" + - "d\030\001 \001(\005\"\231\001\n\030RedPackageDetailResponse\0226\n\004" + - "info\030\001 \003(\0132(.com.ljsd.jieling.protocols." + - "RedOneDetail\022\022\n\nremainTime\030\002 \001(\005\022\020\n\010send" + - "Name\030\003 \001(\t\022\014\n\004head\030\004 \001(\005\022\021\n\theadFrame\030\005 " + - "\001(\005\"$\n\025RedPackageLikeRequest\022\013\n\003uid\030\001 \001(", - "\005\"%\n\026GetAllSendLikeResponse\022\013\n\003uid\030\001 \003(\005" + - "B\002H\001" + "\001(\005\022\020\n\010lastHurt\030\014 \001(\005\"9\n\rFamilyLogInfo\022\014" + + "\n\004name\030\001 \001(\t\022\014\n\004info\030\002 \001(\t\022\014\n\004time\030\003 \001(\005" + + "\"_\n\024FamilyWalkIndicaiton\022\014\n\004path\030\001 \003(\005\022\016", + "\n\006curPos\030\002 \001(\005\022\013\n\003uid\030\003 \001(\005\022\014\n\004name\030\004 \001(" + + "\t\022\016\n\006gender\030\005 \001(\005\"\210\001\n\013FamilyApply\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007roleUid\030\002 \001(\005\022\014\n\004time\030\003 \001(\005\022\r" + + "\n\005frame\030\004 \001(\005\022\017\n\007outTime\030\005 \001(\005\022\r\n\005level\030" + + "\006 \001(\005\022\017\n\007foreces\030\007 \001(\005\022\014\n\004head\030\010 \001(\005\"l\n\020" + + "FamilyNoticeInfo\022\023\n\013guildNotice\030\001 \002(\t\022\022\n" + + "\nupdateTime\030\002 \002(\005\022\r\n\005steps\030\003 \003(\005\022\020\n\010admi" + + "nres\030\004 \003(\005\022\016\n\006hasNew\030\005 \002(\005\"i\n\022FamilyReco" + + "mandInfo\022B\n\016familyBaseInfo\030\001 \001(\0132*.com.l" + + "jsd.jieling.protocols.FamilyBaseInfo\022\017\n\007", + "isApply\030\002 \001(\005\"U\n\020FamilyDefendInfo\022\013\n\003uid" + + "\030\001 \001(\005\022\021\n\tstarCount\030\002 \001(\005\022\017\n\007buildId\030\003 \001" + + "(\005\022\020\n\010curForce\030\004 \001(\005\"6\n\023FamilyBuildBuffI" + + "nfo\022\017\n\007buildId\030\001 \001(\005\022\016\n\006buffId\030\002 \003(\005\"y\n\025" + + "FamilyFightPlayerInfo\022<\n\010userInfo\030\001 \001(\0132" + + "*.com.ljsd.jieling.protocols.FamilyUserI" + + "nfo\022\021\n\tstarCount\030\002 \001(\005\022\017\n\007buildId\030\003 \001(\005\"" + + "\243\001\n\017FamilyFightInfo\022\013\n\003gid\030\001 \001(\005\022B\n\tbuil" + + "dBuff\030\002 \003(\0132/.com.ljsd.jieling.protocols" + + ".FamilyBuildBuffInfo\022?\n\004user\030\003 \003(\01321.com", + ".ljsd.jieling.protocols.FamilyFightPlaye" + + "rInfo\"\204\002\n\025GetFamilyInfoResponse\022B\n\016famil" + + "yBaseInfo\030\001 \001(\0132*.com.ljsd.jieling.proto" + + "cols.FamilyBaseInfo\022B\n\016familyUserInfo\030\002 " + + "\001(\0132*.com.ljsd.jieling.protocols.FamilyU" + + "serInfo\022N\n\024familyWalkIndicaiton\030\003 \003(\01320." + + "com.ljsd.jieling.protocols.FamilyWalkInd" + + "icaiton\022\023\n\013guildBossId\030\004 \001(\005\"5\n\023FamilyCr" + + "eateReqeust\022\014\n\004name\030\001 \001(\t\022\020\n\010announce\030\002 " + + "\001(\t\"\356\001\n\024FamilyCreateResponse\022B\n\016familyBa", + "seInfo\030\001 \001(\0132*.com.ljsd.jieling.protocol" + + "s.FamilyBaseInfo\022B\n\016familyUserInfo\030\002 \001(\013" + + "2*.com.ljsd.jieling.protocols.FamilyUser" + + "Info\022N\n\024familyWalkIndicaiton\030\003 \001(\01320.com" + + ".ljsd.jieling.protocols.FamilyWalkIndica" + + "iton\"#\n\023FamilySearchReqeust\022\014\n\004name\030\001 \001(" + + "\t\"a\n\023FamilySeachResponse\022J\n\022familyRecoma" + + "ndInfo\030\001 \003(\0132..com.ljsd.jieling.protocol" + + "s.FamilyRecomandInfo\"&\n\022FamilyApplyReque" + + "st\022\020\n\010familyId\030\001 \003(\005\"\235\001\n\023FamilyJoinIndic", + "aion\022B\n\016familyBaseInfo\030\001 \001(\0132*.com.ljsd." + + "jieling.protocols.FamilyBaseInfo\022B\n\016fami" + + "lyUserInfo\030\002 \001(\0132*.com.ljsd.jieling.prot" + + "ocols.FamilyUserInfo\"%\n\021FamilyJoinReques" + + "t\022\020\n\010familyId\030\001 \001(\005\"b\n\022FamilyJoinRespons" + + "e\022L\n\023familyJoinIndicaion\030\001 \001(\0132/.com.ljs" + + "d.jieling.protocols.FamilyJoinIndicaion\"" + + "e\n\027FamilyRecommandResponse\022J\n\022familyReco" + + "mandInfo\030\001 \003(\0132..com.ljsd.jieling.protoc" + + "ols.FamilyRecomandInfo\"a\n\033GetFamilyMembe", + "rInfoResponse\022B\n\016familyUserInfo\030\001 \003(\0132*." + + "com.ljsd.jieling.protocols.FamilyUserInf" + + "o\"X\n\024GetFamilyLogResponse\022@\n\rfamilyLogIn" + + "fo\030\001 \003(\0132).com.ljsd.jieling.protocols.Fa" + + "milyLogInfo\"V\n\026GetFamilyApplyResponse\022<\n" + + "\013familyApply\030\001 \003(\0132\'.com.ljsd.jieling.pr" + + "otocols.FamilyApply\"<\n\033FamilyOperationAp" + + "plyRequest\022\014\n\004type\030\001 \001(\005\022\017\n\007applyId\030\002 \001(" + + "\005\")\n\024FamilyKickOutRequest\022\021\n\ttargetUid\030\001" + + " \001(\005\"?\n\030FamilyAppointmentReqeust\022\021\n\ttarg", + "etUid\030\001 \001(\005\022\020\n\010position\030\002 \001(\005\"?\n\036FamilyP" + + "ositionUpdateIndication\022\020\n\010position\030\001 \001(" + + "\005\022\013\n\003uid\030\002 \001(\005\"4\n\023FamilyChangeRequest\022\014\n" + + "\004type\030\001 \001(\005\022\017\n\007content\030\002 \001(\t\"3\n\024FamilyCh" + + "angeResponse\022\016\n\006result\030\001 \001(\005\022\013\n\003err\030\002 \001(" + + "\t\">\n\033FamilyChangeJoinTypeRequest\022\014\n\004type" + + "\030\001 \001(\005\022\021\n\tintoLevel\030\002 \001(\005\"\\\n\026FamilyChang" + + "eIndication\022B\n\016familyBaseInfo\030\001 \001(\0132*.co" + + "m.ljsd.jieling.protocols.FamilyBaseInfo\"" + + "0\n\033FamilyChairmanChangeRequest\022\021\n\ttarget", + "Uid\030\001 \001(\005\"(\n\030FamilyDissolutionRequest\022\014\n" + + "\004type\030\001 \001(\005\"V\n\030FamilyDefendViewResponse\022" + + ":\n\004info\030\001 \003(\0132,.com.ljsd.jieling.protoco" + + "ls.FamilyDefendInfo\">\n\035FamilyDefendDetai" + + "lViewRequest\022\020\n\010playerId\030\001 \001(\005\022\013\n\003gid\030\002 " + + "\001(\005\"_\n\036FamilyDefendDetailViewResponse\022=\n" + + "\010teamInfo\030\001 \001(\0132+.com.ljsd.jieling.proto" + + "cols.TeamOneTeamInfo\"8\n\030FamilyQuickDefen" + + "dRequest\022\017\n\007buildId\030\001 \001(\005\022\013\n\003uid\030\002 \001(\005\"!" + + "\n\021FamilyWalkRequest\022\014\n\004path\030\001 \003(\005\"T\n\027Fam", + "ilyFightInfoResponse\0229\n\004info\030\001 \003(\0132+.com" + + ".ljsd.jieling.protocols.FamilyFightInfo\"" + + "q\n\013EnemyFamily\022\n\n\002id\030\001 \001(\005\022\014\n\004name\030\002 \001(\t" + + "\022\r\n\005level\030\003 \001(\005\022\021\n\tpictureId\030\004 \001(\005\022\021\n\tto" + + "talStar\030\005 \001(\005\022\023\n\013myTotalStar\030\006 \001(\005\"\310\001\n\030F" + + "amilyFightRoundResponse\022\014\n\004type\030\001 \001(\005\022\021\n" + + "\tstartTime\030\002 \001(\005\022\026\n\016roundStartTime\030\003 \001(\005" + + "\022\024\n\014roundEndTime\030\004 \001(\005\022\020\n\010joinType\030\005 \001(\005" + + "\0226\n\005enemy\030\006 \001(\0132\'.com.ljsd.jieling.proto" + + "cols.EnemyFamily\022\023\n\013attackCount\030\007 \001(\005\":\n", + "\030FamilyFightAttackRequest\022\021\n\tattackUid\030\001" + + " \001(\005\022\013\n\003gid\030\002 \001(\005\"s\n\031FamilyFightAttackRe" + + "sponse\022\016\n\006result\030\001 \001(\005\022\021\n\tstarCount\030\002 \001(" + + "\005\0223\n\004data\030\003 \001(\0132%.com.ljsd.jieling.proto" + + "cols.FightData\"\231\001\n\023PersonalFightResult\022\014" + + "\n\004rank\030\001 \001(\005\022\013\n\003uid\030\002 \001(\005\022\014\n\004name\030\003 \001(\t\022" + + "\014\n\004head\030\004 \001(\005\022\021\n\theadFrame\030\005 \001(\005\022\020\n\010posi" + + "tion\030\006 \001(\005\022\023\n\013attackCount\030\007 \001(\005\022\021\n\tstarC" + + "ount\030\010 \001(\005\"*\n\032PersonalFightResultRequest" + + "\022\014\n\004type\030\001 \001(\005\"^\n\033PersonalFightResultRes", + "ponse\022?\n\006result\030\001 \003(\0132/.com.ljsd.jieling" + + ".protocols.PersonalFightResult\"j\n\030GuildF" + + "ightResultResponse\022\016\n\006getExp\030\001 \001(\005\022\014\n\004st" + + "ar\030\002 \003(\005\022\021\n\textraStar\030\003 \003(\005\022\r\n\005level\030\004 \001" + + "(\005\022\016\n\006curExp\030\005 \001(\005\"3\n\016DefeatResponse\022\013\n\003" + + "uid\030\001 \001(\005\022\024\n\014teamLostStar\030\002 \001(\005\"#\n\021Chang" + + "eIconRequest\022\016\n\006iconId\030\001 \001(\005\"V\n\032GetAttac" + + "kHeroBloodResponse\0228\n\005blood\030\001 \003(\0132).com." + + "ljsd.jieling.protocols.HeroBloodInfo\" \n\020" + + "RefuseJoinFamily\022\014\n\004name\030\001 \001(\t\" \n\021KickOu", + "tIndication\022\013\n\003uid\030\001 \001(\005\"P\n\030GetAllRedPac" + + "kageResponse\0224\n\004info\030\001 \003(\0132&.com.ljsd.ji" + + "eling.protocols.RedPackage\"\"\n\024RobRedPack" + + "ageRequest\022\n\n\002id\030\001 \001(\005\"I\n\025RobRedPackageR" + + "esponse\022\021\n\tisSuccess\030\001 \001(\005\022\016\n\006itemId\030\002 \001" + + "(\005\022\r\n\005count\030\003 \001(\005\"%\n\027RedPackageDetailReq" + + "uest\022\n\n\002id\030\001 \001(\005\"\231\001\n\030RedPackageDetailRes" + + "ponse\0226\n\004info\030\001 \003(\0132(.com.ljsd.jieling.p" + + "rotocols.RedOneDetail\022\022\n\nremainTime\030\002 \001(" + + "\005\022\020\n\010sendName\030\003 \001(\t\022\014\n\004head\030\004 \001(\005\022\021\n\thea", + "dFrame\030\005 \001(\005\"$\n\025RedPackageLikeRequest\022\013\n" + + "\003uid\030\001 \001(\005\"%\n\026GetAllSendLikeResponse\022\013\n\003" + + "uid\030\001 \003(\005B\002H\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -40850,7 +41126,7 @@ public final class Family { internal_static_com_ljsd_jieling_protocols_FamilyUserInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_com_ljsd_jieling_protocols_FamilyUserInfo_descriptor, - new java.lang.String[] { "RoleUid", "UserName", "UserLevel", "Position", "Contribute", "Seconds", "ContributeToday", "SoulForce", "Head", "Frame", "MaxBossHurt", }); + new java.lang.String[] { "RoleUid", "UserName", "UserLevel", "Position", "Contribute", "Seconds", "ContributeToday", "SoulForce", "Head", "Frame", "MaxBossHurt", "LastHurt", }); internal_static_com_ljsd_jieling_protocols_FamilyLogInfo_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_com_ljsd_jieling_protocols_FamilyLogInfo_fieldAccessorTable = new @@ -41174,7 +41450,7 @@ public final class Family { internal_static_com_ljsd_jieling_protocols_RobRedPackageResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_com_ljsd_jieling_protocols_RobRedPackageResponse_descriptor, - new java.lang.String[] { "IsSuccess", }); + new java.lang.String[] { "IsSuccess", "ItemId", "Count", }); internal_static_com_ljsd_jieling_protocols_RedPackageDetailRequest_descriptor = getDescriptor().getMessageTypes().get(55); internal_static_com_ljsd_jieling_protocols_RedPackageDetailRequest_fieldAccessorTable = new diff --git a/bloodybattle/src/main/java/com/ljsd/jieling/protocols/MessageTypeProto.java b/bloodybattle/src/main/java/com/ljsd/jieling/protocols/MessageTypeProto.java index 35c6c0810..03c40c02e 100644 --- a/bloodybattle/src/main/java/com/ljsd/jieling/protocols/MessageTypeProto.java +++ b/bloodybattle/src/main/java/com/ljsd/jieling/protocols/MessageTypeProto.java @@ -3136,6 +3136,22 @@ public final class MessageTypeProto { * EXPEDITION_RECOVER_HERO_RESONSE = 20015; */ EXPEDITION_RECOVER_HERO_RESONSE(500, 20015), + /** + * EXPEDITION_HOLY_BAG_INDICATION = 20016; + * + *
+     *臨時背包推送
+     * 
+ */ + EXPEDITION_HOLY_BAG_INDICATION(501, 20016), + /** + * EXPEDITION_NOINFO_INDICATION = 20017; + * + *
+     *节点状态推送
+     * 
+ */ + EXPEDITION_NOINFO_INDICATION(502, 20017), ; /** @@ -6261,6 +6277,22 @@ public final class MessageTypeProto { * EXPEDITION_RECOVER_HERO_RESONSE = 20015; */ public static final int EXPEDITION_RECOVER_HERO_RESONSE_VALUE = 20015; + /** + * EXPEDITION_HOLY_BAG_INDICATION = 20016; + * + *
+     *臨時背包推送
+     * 
+ */ + public static final int EXPEDITION_HOLY_BAG_INDICATION_VALUE = 20016; + /** + * EXPEDITION_NOINFO_INDICATION = 20017; + * + *
+     *节点状态推送
+     * 
+ */ + public static final int EXPEDITION_NOINFO_INDICATION_VALUE = 20017; public final int getNumber() { return value; } @@ -6768,6 +6800,8 @@ public final class MessageTypeProto { case 20013: return EXPEDITION_TAKE_HOLY_EQUIP_RESONSE; case 20014: return EXPEDITION_RECOVER_HERO_REQUEST; case 20015: return EXPEDITION_RECOVER_HERO_RESONSE; + case 20016: return EXPEDITION_HOLY_BAG_INDICATION; + case 20017: return EXPEDITION_NOINFO_INDICATION; default: return null; } } @@ -6829,7 +6863,7 @@ public final class MessageTypeProto { static { java.lang.String[] descriptorData = { "\n\026MessageTypeProto.proto\022\032com.ljsd.jieli" + - "ng.protocols*\226\177\n\013MessageType\022\027\n\022HEART_BE" + + "ng.protocols*\340\177\n\013MessageType\022\027\n\022HEART_BE" + "AT_REQUEST\020\350\007\022\030\n\023HEART_BEAT_RESPONSE\020\351\007\022" + "\036\n\031ACTIVITE_WORKSHOP_REQUEST\020\224N\022\037\n\032ACTIV" + "ITE_WORKSHOP_RESPONSE\020\225N\022\027\n\022ARENA_INFO_R" + @@ -7236,7 +7270,9 @@ public final class MessageTypeProto { "P_REQUEST\020\254\234\001\022(\n\"EXPEDITION_TAKE_HOLY_EQ" + "UIP_RESONSE\020\255\234\001\022%\n\037EXPEDITION_RECOVER_HE" + "RO_REQUEST\020\256\234\001\022%\n\037EXPEDITION_RECOVER_HER" + - "O_RESONSE\020\257\234\001B\002H\001" + "O_RESONSE\020\257\234\001\022$\n\036EXPEDITION_HOLY_BAG_IND" + + "ICATION\020\260\234\001\022\"\n\034EXPEDITION_NOINFO_INDICAT", + "ION\020\261\234\001B\002H\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { diff --git a/serverlogic/src/main/java/com/ljsd/jieling/config/clazzStaticCfg/CommonStaticConfig.java b/serverlogic/src/main/java/com/ljsd/jieling/config/clazzStaticCfg/CommonStaticConfig.java index 6e57c0f11..82b6b117f 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/config/clazzStaticCfg/CommonStaticConfig.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/config/clazzStaticCfg/CommonStaticConfig.java @@ -71,7 +71,7 @@ public class CommonStaticConfig extends AbstractClassStaticConfig { try { SChallengeMapConfig sChallengeMapConfig = STableManager.getConfig(SChallengeMapConfig.class).get(11); - initPos = CellUtil.xy2Pos(sChallengeMapConfig.getPosition()[0], sChallengeMapConfig.getPosition()[1]); + initPos = sChallengeMapConfig.getPosition()[0]*100*25600+ sChallengeMapConfig.getPosition()[1]*100; } catch (Exception e) { LOGGER.error("sChallengeMapConfig init fail",e); } diff --git a/serverlogic/src/main/java/com/ljsd/jieling/core/FunctionIdEnum.java b/serverlogic/src/main/java/com/ljsd/jieling/core/FunctionIdEnum.java index ed32a9e51..db0743047 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/core/FunctionIdEnum.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/core/FunctionIdEnum.java @@ -97,7 +97,7 @@ public enum FunctionIdEnum { public static FunctionIdEnum getFunctionIdEnumByProto(int protoId){ return protoMap.get(protoId); } - public static FunctionIdEnum getFunctionIdEnumById(int id) { - return functionIdEnumMap.get(id); + public static FunctionIdEnum getFunctionIdEnumByType(int functionType) { + return functionIdEnumMap.get(functionType); } } diff --git a/serverlogic/src/main/java/com/ljsd/jieling/core/function/ArenaFunction.java b/serverlogic/src/main/java/com/ljsd/jieling/core/function/ArenaFunction.java index 9495c6589..dff80eb38 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/core/function/ArenaFunction.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/core/function/ArenaFunction.java @@ -1,7 +1,10 @@ package com.ljsd.jieling.core.function; +import com.ljsd.jieling.core.FunctionIdEnum; import com.ljsd.jieling.core.FunctionManager; import com.ljsd.jieling.core.GlobalsDef; +import com.ljsd.jieling.logic.activity.event.FunctionRefreshEvent; +import com.ljsd.jieling.logic.activity.event.Poster; import com.ljsd.jieling.logic.arena.ArenaLogic; import com.ljsd.jieling.logic.dao.TimeControllerOfFunction; @@ -16,10 +19,12 @@ public class ArenaFunction implements FunctionManager { public void closeAction ()throws Exception { ArenaLogic.getInstance().sendReward(GlobalsDef.ARENA_SEASON_REWARD); ArenaLogic.getInstance().updateArenaSeason(0); + Poster.getPoster().dispatchEvent(new FunctionRefreshEvent(-FunctionIdEnum.Arena.getFunctionType(),-1)); } @Override public void startAction(TimeControllerOfFunction timeControllerOfFunction) { ArenaLogic.getInstance().updateArenaSeason(timeControllerOfFunction.getTimes()); + Poster.getPoster().dispatchEvent(new FunctionRefreshEvent(FunctionIdEnum.Arena.getFunctionType(),-1)); } } diff --git a/serverlogic/src/main/java/com/ljsd/jieling/core/function/ChampionFunction.java b/serverlogic/src/main/java/com/ljsd/jieling/core/function/ChampionFunction.java index 22925c533..4a225d00d 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/core/function/ChampionFunction.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/core/function/ChampionFunction.java @@ -1,6 +1,9 @@ package com.ljsd.jieling.core.function; +import com.ljsd.jieling.core.FunctionIdEnum; import com.ljsd.jieling.core.FunctionManager; +import com.ljsd.jieling.logic.activity.event.FunctionRefreshEvent; +import com.ljsd.jieling.logic.activity.event.Poster; import com.ljsd.jieling.logic.championship.ChampionshipLogic; import com.ljsd.jieling.logic.dao.TimeControllerOfFunction; @@ -8,6 +11,7 @@ public class ChampionFunction implements FunctionManager { @Override public void startAction(TimeControllerOfFunction timeControllerOfFunction) throws Exception { ChampionshipLogic.start(); + Poster.getPoster().dispatchEvent(new FunctionRefreshEvent(FunctionIdEnum.Arena.getFunctionType(),-1)); } @Override diff --git a/serverlogic/src/main/java/com/ljsd/jieling/core/function/FunctionContext.java b/serverlogic/src/main/java/com/ljsd/jieling/core/function/FunctionContext.java index 46a6f6ace..9efb668fb 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/core/function/FunctionContext.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/core/function/FunctionContext.java @@ -11,7 +11,7 @@ import com.ljsd.jieling.core.FunctionManager; public class FunctionContext { public static FunctionManager getFunction(int type){ - return FunctionIdEnum.getFunctionIdEnumById(type).getManager(); + return FunctionIdEnum.getFunctionIdEnumByType(type).getManager(); } public static FunctionIdEnum getEnumByProto(int protoId){ return FunctionIdEnum.getFunctionIdEnumByProto(protoId); diff --git a/serverlogic/src/main/java/com/ljsd/jieling/handler/GetPlayerInfoHandler.java b/serverlogic/src/main/java/com/ljsd/jieling/handler/GetPlayerInfoHandler.java index 443bf3d08..cc5bfaa3e 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/handler/GetPlayerInfoHandler.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/handler/GetPlayerInfoHandler.java @@ -181,4 +181,6 @@ public class GetPlayerInfoHandler extends BaseHandler{ e.printStackTrace(); } } + + } diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/GlobalDataManaager.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/GlobalDataManaager.java index 07dc87fc9..48c87aa74 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/GlobalDataManaager.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/GlobalDataManaager.java @@ -9,17 +9,10 @@ import com.ljsd.jieling.core.FunctionManager; import com.ljsd.jieling.core.function.FunctionContext; import com.ljsd.jieling.db.mongo.MongoUtil; import com.ljsd.jieling.handler.map.MapLogic; -import com.ljsd.jieling.logic.activity.ActivityLogic; -import com.ljsd.jieling.logic.activity.FightMainEventHandler; -import com.ljsd.jieling.logic.activity.RemoveEventHeroHandler; -import com.ljsd.jieling.logic.activity.UserLevelEventHandler; -import com.ljsd.jieling.logic.activity.event.HeroFiveStarGetEvent; -import com.ljsd.jieling.logic.activity.event.Poster; +import com.ljsd.jieling.logic.activity.*; import com.ljsd.jieling.logic.activity.eventhandler.BuyGoodsDirectHandler; -import com.ljsd.jieling.logic.activity.eventhandler.HeroFiveStarGetEventHandler; import com.ljsd.jieling.logic.arena.ArenaLogic; import com.ljsd.jieling.logic.championship.ChampionshipLogic; -import com.ljsd.jieling.logic.dao.ExpeditionManager; import com.ljsd.jieling.logic.dao.ServerConfig; import com.ljsd.jieling.logic.dao.TimeControllerOfFunction; import com.ljsd.jieling.logic.dao.root.GlobalSystemControl; @@ -192,7 +185,7 @@ public class GlobalDataManaager implements IManager { public void openAction(List ids) throws Exception { for(Integer openId : ids){ int sameType = STableManager.getConfig(SGlobalSystemConfig.class).get(openId).getIsIDdSame(); - FunctionIdEnum type = FunctionIdEnum.getFunctionIdEnumById(sameType); + FunctionIdEnum type = FunctionIdEnum.getFunctionIdEnumByType(sameType); if(type == null){ continue; } @@ -208,7 +201,7 @@ public class GlobalDataManaager implements IManager { public void closeAction(List ids) throws Exception { for(Integer closeId : ids){ int sameType = STableManager.getConfig(SGlobalSystemConfig.class).get(closeId).getIsIDdSame(); -// FunctionIdEnum type = FunctionIdEnum.getFunctionIdEnumById(sameType).g; +// FunctionIdEnum type = FunctionIdEnum.getFunctionIdEnumByType(sameType).g; FunctionManager function = FunctionContext.getFunction(sameType); if(function!=null){ function.closeAction(); diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/activity/ActivityLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/activity/ActivityLogic.java index ebe6b7fe5..cd0bd29e8 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/activity/ActivityLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/activity/ActivityLogic.java @@ -73,7 +73,7 @@ public class ActivityLogic implements IEventHandler{ ActivityLogic.getInstance().resumeActivity(user, ActivityType.DAILY_RECHARGE); //更新每日累计充值 ActivityLogic.getInstance().resumeActivity(user, ActivityType.RECHARGE_NUM); - //更新首日充值 + //更新首日充值st user.getPlayerInfoManager().getRechargeInfo().setDailyFirst(0); //更新累计充值天数 ActivityLogic.getInstance().resumeActivity(user, ActivityType.RECHARGE_SUM_DAY); diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/activity/FightMainEventHandler.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/activity/FightMainEventHandler.java index 60291aead..d80cec68f 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/activity/FightMainEventHandler.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/activity/FightMainEventHandler.java @@ -2,9 +2,11 @@ package com.ljsd.jieling.logic.activity; import com.ljsd.jieling.config.clazzStaticCfg.CommonStaticConfig; +import com.ljsd.jieling.core.FunctionIdEnum; import com.ljsd.jieling.core.GlobalsDef; import com.ljsd.jieling.globals.BIReason; import com.ljsd.jieling.logic.activity.event.FightMainEvent; +import com.ljsd.jieling.logic.activity.event.FunctionRefreshEvent; import com.ljsd.jieling.logic.activity.event.IEvent; import com.ljsd.jieling.logic.activity.event.Poster; import com.ljsd.jieling.logic.dao.ActivityMission; diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/activity/event/FunctionRefreshEvent.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/activity/event/FunctionRefreshEvent.java new file mode 100644 index 000000000..579e03e73 --- /dev/null +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/activity/event/FunctionRefreshEvent.java @@ -0,0 +1,20 @@ +package com.ljsd.jieling.logic.activity.event; + +public class FunctionRefreshEvent implements IEvent{ + + private int functionType; // 系统刷新id 正数表示功能开启 负数表示功能关闭 + private int invokeId ; // -1 表示系统 其他表示用户自身 + + public FunctionRefreshEvent(int functionId, int invokeId) { + this.functionType = functionId; + this.invokeId = invokeId; + } + + public int getFunctionType() { + return functionType; + } + + public int getInvokeId() { + return invokeId; + } +} diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/dao/GuildMyInfo.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/dao/GuildMyInfo.java index a84820565..7bc494e0d 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/dao/GuildMyInfo.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/dao/GuildMyInfo.java @@ -3,6 +3,7 @@ package com.ljsd.jieling.logic.dao; import com.ljsd.common.mogodb.MongoBase; import com.ljsd.jieling.config.clazzStaticCfg.CommonStaticConfig; import manager.STableManager; +import util.CellUtil; import java.util.ArrayList; import java.util.List; @@ -46,6 +47,16 @@ public class GuildMyInfo extends MongoBase { if(path.size() <= 0){ return -1; } + if(path.size() == 1 ){ + Integer nextPath = path.get(0); + int x = (int) (Math.floor(nextPath / 25600) / 100); + int y = (nextPath - x * 25600 * 100) / 100; + int[] mine = CellUtil.pos2XY(curPos); + if(mine[0] == x && mine[1] == y){ + curPos = path.remove(0); + return curPos; + } + } int moveDistance = (int)((timestamp - preMoveTimestamp)/speed); if(moveDistance < 1){ //格子没有发生变化 diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/family/GuildLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/family/GuildLogic.java index 3108085f7..e5d32dcfc 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/family/GuildLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/family/GuildLogic.java @@ -875,12 +875,13 @@ public class GuildLogic { user.getGuildMyInfo().move(System.currentTimeMillis()); GuildMyInfo guildMyInfo = user.getGuildMyInfo(); LOGGER.info("cur ={},path={}",guildMyInfo.getCurPos(),path); - boolean continuous = CellUtil.isContinuous(guildMyInfo.getCurPos(),path); + + /* boolean continuous = CellUtil.isContinuous(guildMyInfo.getCurPos(),path); if(!continuous){ LOGGER.info("the uid={},path is wrong",uid); MessageUtil.sendMessage(session,1, msgId,null,true); return; - } + }*/ user.getGuildMyInfo().move(path); Family.FamilyWalkIndicaiton familyWalkIndicaiton = CBean2Proto.getFamilyWalkIndicaiton(user); GuildInfo guildInfo = GuilidManager.guildInfoMap.get(guildId); diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/store/StoreLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/store/StoreLogic.java index 5b4fbd355..06a23c7d2 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/store/StoreLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/store/StoreLogic.java @@ -1,6 +1,8 @@ package com.ljsd.jieling.logic.store; import com.ljsd.jieling.config.clazzStaticCfg.CommonStaticConfig; +import com.ljsd.jieling.core.FunctionIdEnum; +import com.ljsd.jieling.core.HandlerLogicThread; import com.ljsd.jieling.db.mongo.MongoUtil; import com.ljsd.jieling.exception.ErrorCode; import com.ljsd.jieling.exception.ErrorCodeException; @@ -8,10 +10,12 @@ import com.ljsd.jieling.globals.BIReason; import com.ljsd.jieling.globals.Global; import com.ljsd.jieling.ktbeans.KtEventUtils; import com.ljsd.jieling.ktbeans.parmsBean.ParamEventBean; +import com.ljsd.jieling.logic.GlobalDataManaager; import com.ljsd.jieling.logic.OnlineUserManager; +import com.ljsd.jieling.logic.activity.ActivityLogic; import com.ljsd.jieling.logic.activity.ActivityType; -import com.ljsd.jieling.logic.activity.event.GoldEvent; -import com.ljsd.jieling.logic.activity.event.Poster; +import com.ljsd.jieling.logic.activity.IEventHandler; +import com.ljsd.jieling.logic.activity.event.*; import com.ljsd.jieling.logic.dao.*; import com.ljsd.jieling.logic.dao.root.User; import com.ljsd.jieling.logic.mail.MailLogic; @@ -35,17 +39,29 @@ import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.CopyOnWriteArrayList; -public class StoreLogic { +public class StoreLogic implements IEventHandler { private static final Logger LOGGER = LoggerFactory.getLogger(StoreLogic.class); private static Set openStoreInfo = new HashSet<>(); private static Set storeGiftType = new HashSet<>(3); + private StoreLogic(){ + Poster.getPoster().listenEvent(this, FunctionRefreshEvent.class); + } + public static class Instance { + public final static StoreLogic instance = new StoreLogic(); + } + + public static StoreLogic getInstance() { + return StoreLogic.Instance.instance; + } + static { storeGiftType.add(30); storeGiftType.add(31); storeGiftType.add(32); + StoreLogic.getInstance(); } public static void checkGlobalStore(boolean isStartServer) throws Exception { @@ -300,6 +316,16 @@ public class StoreLogic { Map sstoreTypeConfigMap = SStoreTypeConfig.getsStoreTypeConfigMap(); for ( Map.Entry entry :sstoreTypeConfigMap.entrySet()){ SStoreTypeConfig sStoreTypeConfig = entry.getValue(); + if(sStoreTypeConfig.getStoreOpenRule() == 8){ + TimeControllerOfFunction openTimeOfFuntionCacheByType = GlobalDataManaager.getInstance().getOpenTimeOfFuntionCacheByType(FunctionIdEnum.getFunctionIdEnumByType(sStoreTypeConfig.getOpenLevel()[1])); + if(openTimeOfFuntionCacheByType!=null ){ + StoreInfo storeInfo = storeManager.getStoreInfoMap().get(sStoreTypeConfig.getId()); + if(storeInfo == null || storeInfo.getStartTime()!=openTimeOfFuntionCacheByType.getStartTime()){ + Map itemNumMap = getStoreItem(sStoreTypeConfig.getId(),sStoreTypeConfig,user); + storeManager.newStoreInfo(sStoreTypeConfig.getId(),openTimeOfFuntionCacheByType.getStartTime(),openTimeOfFuntionCacheByType.getEndTime(),itemNumMap); + } + } + } if(storeManager.getStoreInfoMap().containsKey(sStoreTypeConfig.getId())){ continue; } @@ -315,6 +341,7 @@ public class StoreLogic { } storeManager.newStoreInfo(sStoreTypeConfig.getId(),startTime,endTime,itemNumMap); } + } } @@ -656,5 +683,38 @@ public class StoreLogic { MessageUtil.sendMessage(session, 1,msgId, null, true); } + + public static void checkAllowOfFunction(FunctionRefreshEvent functionRefreshEvent) throws Exception { + if(functionRefreshEvent.getInvokeId()!=-1){ + return; + } + int functionType = functionRefreshEvent.getFunctionType(); + if(functionType>0){ + List openStoreIds = SStoreTypeConfig .storeIdsByFuntionIdMap.get(functionType); + if(openStoreIds.isEmpty()){ + return; + } + for(ISession session : OnlineUserManager.sessionMap.values()){ + User user = UserManager.getUser(session.getUid()); + AyyncWorker ayyncWorker = new AyyncWorker(user, true,userCache-> { + for(Integer openStoreId : openStoreIds){ + TimeControllerOfFunction openTimeOfFuntionCacheByType = GlobalDataManaager.getInstance().getOpenTimeOfFuntionCacheByType(FunctionIdEnum.getFunctionIdEnumByType(functionType)); + if(openTimeOfFuntionCacheByType!=null){ + initOnsStoereWithTime(user,openStoreId,openTimeOfFuntionCacheByType.getStartTime(),openTimeOfFuntionCacheByType.getEndTime()); + } + } + }); + ProtocolsManager.getInstance().updateAyncWorker(ayyncWorker); + } + } + } + + @Override + public void onEvent(IEvent event) throws Exception { + if(!(event instanceof FunctionRefreshEvent)){ + return; + } + checkAllowOfFunction((FunctionRefreshEvent)event); + } } diff --git a/tablemanager/src/main/java/config/SStoreTypeConfig.java b/tablemanager/src/main/java/config/SStoreTypeConfig.java index 8f03c08ee..6799e25d7 100644 --- a/tablemanager/src/main/java/config/SStoreTypeConfig.java +++ b/tablemanager/src/main/java/config/SStoreTypeConfig.java @@ -4,11 +4,15 @@ import manager.STableManager; import manager.Table; import util.TimeUtils; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; import java.util.Map; @Table(name ="StoreTypeConfig") public class SStoreTypeConfig implements BaseConfig { static Map sStoreTypeConfigMap; + public static Map> storeIdsByFuntionIdMap; private int id; private int number; private int[][] refreshItem; @@ -31,14 +35,22 @@ public class SStoreTypeConfig implements BaseConfig { private long endTimeLong; + private int[] openLevel; + @Override public void init() throws Exception { Map config = STableManager.getConfig(SStoreTypeConfig.class); - + Map> storeIdByFunctionMapTmp = new HashMap<>(); for(SStoreTypeConfig sStoreTypeConfig : config.values()){ int time = sStoreTypeConfig.getStoreOpenRule(); String startTime = sStoreTypeConfig.getStartTime(); String endtime = sStoreTypeConfig.getEndTime(); + if(time == 8 && sStoreTypeConfig.getOpenLevel().length>0 && sStoreTypeConfig.getOpenLevel()[0] == 3){ + if(!storeIdByFunctionMapTmp.containsKey(sStoreTypeConfig.getOpenLevel()[1])){ + storeIdByFunctionMapTmp.put(sStoreTypeConfig.getOpenLevel()[1],new ArrayList<>()); + } + storeIdByFunctionMapTmp.get(sStoreTypeConfig.getOpenLevel()[1]).add(sStoreTypeConfig.getId()); + } if(time == 1 ){//ActivityType.OPEN_TYPE_TIME if (!sStoreTypeConfig.getStartTime().equals("0")){ sStoreTypeConfig.setStartTimeLong(TimeUtils.parseTimeToMiles(sStoreTypeConfig.getStartTime(), TimeUtils.Stand_CeHua_Data_format)); @@ -53,6 +65,7 @@ public class SStoreTypeConfig implements BaseConfig { sStoreTypeConfig.setEndTimeLong(Long.parseLong(endtime)*60); } sStoreTypeConfigMap=config; + storeIdsByFuntionIdMap=storeIdByFunctionMapTmp; } public static Map getsStoreTypeConfigMap() { @@ -113,4 +126,8 @@ public class SStoreTypeConfig implements BaseConfig { public long getEndTimeLong() { return endTimeLong; } + + public int[] getOpenLevel() { + return openLevel; + } } \ No newline at end of file