From bcf5191e7fe5ac22f463040ec135ef2a3468f247 Mon Sep 17 00:00:00 2001 From: lvxinran Date: Wed, 30 Dec 2020 03:11:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=8F=E8=AE=AE=E4=BD=8D=E7=BD=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/rpc/world/WorldCommonProto.java | 5954 ----------------- .../gtw/GetWorldArenaProudRequestHandler.java | 6 +- 2 files changed, 3 insertions(+), 5957 deletions(-) delete mode 100644 gamecommon/src/main/java/rpc/world/WorldCommonProto.java diff --git a/gamecommon/src/main/java/rpc/world/WorldCommonProto.java b/gamecommon/src/main/java/rpc/world/WorldCommonProto.java deleted file mode 100644 index 308f2c51a..000000000 --- a/gamecommon/src/main/java/rpc/world/WorldCommonProto.java +++ /dev/null @@ -1,5954 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: gtwprotos/WorldCommonProto.proto - -package rpc.world; - -public final class WorldCommonProto { - private WorldCommonProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - } - public interface GetWorldArenaInfoRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { - } - /** - * Protobuf type {@code rpc.world.GetWorldArenaInfoRequest} - */ - public static final class GetWorldArenaInfoRequest extends - com.google.protobuf.GeneratedMessage - implements GetWorldArenaInfoRequestOrBuilder { - // Use GetWorldArenaInfoRequest.newBuilder() to construct. - private GetWorldArenaInfoRequest(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private GetWorldArenaInfoRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final GetWorldArenaInfoRequest defaultInstance; - public static GetWorldArenaInfoRequest getDefaultInstance() { - return defaultInstance; - } - - public GetWorldArenaInfoRequest getDefaultInstanceForType() { - return defaultInstance; - } - - private final com.google.protobuf.UnknownFieldSet unknownFields; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetWorldArenaInfoRequest( - 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 rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaInfoRequest_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaInfoRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaInfoRequest.class, rpc.world.WorldCommonProto.GetWorldArenaInfoRequest.Builder.class); - } - - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public GetWorldArenaInfoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWorldArenaInfoRequest(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 rpc.world.WorldCommonProto.GetWorldArenaInfoRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoRequest 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(rpc.world.WorldCommonProto.GetWorldArenaInfoRequest 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 rpc.world.GetWorldArenaInfoRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements rpc.world.WorldCommonProto.GetWorldArenaInfoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaInfoRequest_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaInfoRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaInfoRequest.class, rpc.world.WorldCommonProto.GetWorldArenaInfoRequest.Builder.class); - } - - // Construct using rpc.world.WorldCommonProto.GetWorldArenaInfoRequest.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 rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaInfoRequest_descriptor; - } - - public rpc.world.WorldCommonProto.GetWorldArenaInfoRequest getDefaultInstanceForType() { - return rpc.world.WorldCommonProto.GetWorldArenaInfoRequest.getDefaultInstance(); - } - - public rpc.world.WorldCommonProto.GetWorldArenaInfoRequest build() { - rpc.world.WorldCommonProto.GetWorldArenaInfoRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public rpc.world.WorldCommonProto.GetWorldArenaInfoRequest buildPartial() { - rpc.world.WorldCommonProto.GetWorldArenaInfoRequest result = new rpc.world.WorldCommonProto.GetWorldArenaInfoRequest(this); - onBuilt(); - return result; - } - - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof rpc.world.WorldCommonProto.GetWorldArenaInfoRequest) { - return mergeFrom((rpc.world.WorldCommonProto.GetWorldArenaInfoRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(rpc.world.WorldCommonProto.GetWorldArenaInfoRequest other) { - if (other == rpc.world.WorldCommonProto.GetWorldArenaInfoRequest.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 { - rpc.world.WorldCommonProto.GetWorldArenaInfoRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (rpc.world.WorldCommonProto.GetWorldArenaInfoRequest) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - // @@protoc_insertion_point(builder_scope:rpc.world.GetWorldArenaInfoRequest) - } - - static { - defaultInstance = new GetWorldArenaInfoRequest(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:rpc.world.GetWorldArenaInfoRequest) - } - - public interface GetWorldArenaInfoResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { - - // optional .rpc.protocols.ArenaInfo arenaInfo = 1; - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - boolean hasArenaInfo(); - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - rpc.protocols.CommonProto.ArenaInfo getArenaInfo(); - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - rpc.protocols.CommonProto.ArenaInfoOrBuilder getArenaInfoOrBuilder(); - - // optional int32 stage = 2; - /** - * optional int32 stage = 2; - * - *
-     *1 未开始 2 战斗阶段 3 膜拜阶段
-     * 
- */ - boolean hasStage(); - /** - * optional int32 stage = 2; - * - *
-     *1 未开始 2 战斗阶段 3 膜拜阶段
-     * 
- */ - int getStage(); - - // optional int32 endTime = 3; - /** - * optional int32 endTime = 3; - * - *
-     *阶段结束时间戳
-     * 
- */ - boolean hasEndTime(); - /** - * optional int32 endTime = 3; - * - *
-     *阶段结束时间戳
-     * 
- */ - int getEndTime(); - } - /** - * Protobuf type {@code rpc.world.GetWorldArenaInfoResponse} - */ - public static final class GetWorldArenaInfoResponse extends - com.google.protobuf.GeneratedMessage - implements GetWorldArenaInfoResponseOrBuilder { - // Use GetWorldArenaInfoResponse.newBuilder() to construct. - private GetWorldArenaInfoResponse(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private GetWorldArenaInfoResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final GetWorldArenaInfoResponse defaultInstance; - public static GetWorldArenaInfoResponse getDefaultInstance() { - return defaultInstance; - } - - public GetWorldArenaInfoResponse getDefaultInstanceForType() { - return defaultInstance; - } - - private final com.google.protobuf.UnknownFieldSet unknownFields; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetWorldArenaInfoResponse( - 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: { - rpc.protocols.CommonProto.ArenaInfo.Builder subBuilder = null; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - subBuilder = arenaInfo_.toBuilder(); - } - arenaInfo_ = input.readMessage(rpc.protocols.CommonProto.ArenaInfo.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(arenaInfo_); - arenaInfo_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000001; - break; - } - case 16: { - bitField0_ |= 0x00000002; - stage_ = input.readInt32(); - break; - } - case 24: { - bitField0_ |= 0x00000004; - endTime_ = 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 rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaInfoResponse_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaInfoResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaInfoResponse.class, rpc.world.WorldCommonProto.GetWorldArenaInfoResponse.Builder.class); - } - - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public GetWorldArenaInfoResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWorldArenaInfoResponse(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - private int bitField0_; - // optional .rpc.protocols.ArenaInfo arenaInfo = 1; - public static final int ARENAINFO_FIELD_NUMBER = 1; - private rpc.protocols.CommonProto.ArenaInfo arenaInfo_; - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public boolean hasArenaInfo() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaInfo getArenaInfo() { - return arenaInfo_; - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaInfoOrBuilder getArenaInfoOrBuilder() { - return arenaInfo_; - } - - // optional int32 stage = 2; - public static final int STAGE_FIELD_NUMBER = 2; - private int stage_; - /** - * optional int32 stage = 2; - * - *
-     *1 未开始 2 战斗阶段 3 膜拜阶段
-     * 
- */ - public boolean hasStage() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional int32 stage = 2; - * - *
-     *1 未开始 2 战斗阶段 3 膜拜阶段
-     * 
- */ - public int getStage() { - return stage_; - } - - // optional int32 endTime = 3; - public static final int ENDTIME_FIELD_NUMBER = 3; - private int endTime_; - /** - * optional int32 endTime = 3; - * - *
-     *阶段结束时间戳
-     * 
- */ - public boolean hasEndTime() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional int32 endTime = 3; - * - *
-     *阶段结束时间戳
-     * 
- */ - public int getEndTime() { - return endTime_; - } - - private void initFields() { - arenaInfo_ = rpc.protocols.CommonProto.ArenaInfo.getDefaultInstance(); - stage_ = 0; - endTime_ = 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.writeMessage(1, arenaInfo_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeInt32(2, stage_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeInt32(3, endTime_); - } - 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, arenaInfo_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, stage_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, endTime_); - } - 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 rpc.world.WorldCommonProto.GetWorldArenaInfoResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoResponse 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(rpc.world.WorldCommonProto.GetWorldArenaInfoResponse 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 rpc.world.GetWorldArenaInfoResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements rpc.world.WorldCommonProto.GetWorldArenaInfoResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaInfoResponse_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaInfoResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaInfoResponse.class, rpc.world.WorldCommonProto.GetWorldArenaInfoResponse.Builder.class); - } - - // Construct using rpc.world.WorldCommonProto.GetWorldArenaInfoResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getArenaInfoFieldBuilder(); - } - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - if (arenaInfoBuilder_ == null) { - arenaInfo_ = rpc.protocols.CommonProto.ArenaInfo.getDefaultInstance(); - } else { - arenaInfoBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - stage_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - endTime_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaInfoResponse_descriptor; - } - - public rpc.world.WorldCommonProto.GetWorldArenaInfoResponse getDefaultInstanceForType() { - return rpc.world.WorldCommonProto.GetWorldArenaInfoResponse.getDefaultInstance(); - } - - public rpc.world.WorldCommonProto.GetWorldArenaInfoResponse build() { - rpc.world.WorldCommonProto.GetWorldArenaInfoResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public rpc.world.WorldCommonProto.GetWorldArenaInfoResponse buildPartial() { - rpc.world.WorldCommonProto.GetWorldArenaInfoResponse result = new rpc.world.WorldCommonProto.GetWorldArenaInfoResponse(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - if (arenaInfoBuilder_ == null) { - result.arenaInfo_ = arenaInfo_; - } else { - result.arenaInfo_ = arenaInfoBuilder_.build(); - } - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.stage_ = stage_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.endTime_ = endTime_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof rpc.world.WorldCommonProto.GetWorldArenaInfoResponse) { - return mergeFrom((rpc.world.WorldCommonProto.GetWorldArenaInfoResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(rpc.world.WorldCommonProto.GetWorldArenaInfoResponse other) { - if (other == rpc.world.WorldCommonProto.GetWorldArenaInfoResponse.getDefaultInstance()) return this; - if (other.hasArenaInfo()) { - mergeArenaInfo(other.getArenaInfo()); - } - if (other.hasStage()) { - setStage(other.getStage()); - } - if (other.hasEndTime()) { - setEndTime(other.getEndTime()); - } - 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 { - rpc.world.WorldCommonProto.GetWorldArenaInfoResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (rpc.world.WorldCommonProto.GetWorldArenaInfoResponse) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - // optional .rpc.protocols.ArenaInfo arenaInfo = 1; - private rpc.protocols.CommonProto.ArenaInfo arenaInfo_ = rpc.protocols.CommonProto.ArenaInfo.getDefaultInstance(); - private com.google.protobuf.SingleFieldBuilder< - rpc.protocols.CommonProto.ArenaInfo, rpc.protocols.CommonProto.ArenaInfo.Builder, rpc.protocols.CommonProto.ArenaInfoOrBuilder> arenaInfoBuilder_; - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public boolean hasArenaInfo() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaInfo getArenaInfo() { - if (arenaInfoBuilder_ == null) { - return arenaInfo_; - } else { - return arenaInfoBuilder_.getMessage(); - } - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public Builder setArenaInfo(rpc.protocols.CommonProto.ArenaInfo value) { - if (arenaInfoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - arenaInfo_ = value; - onChanged(); - } else { - arenaInfoBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - return this; - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public Builder setArenaInfo( - rpc.protocols.CommonProto.ArenaInfo.Builder builderForValue) { - if (arenaInfoBuilder_ == null) { - arenaInfo_ = builderForValue.build(); - onChanged(); - } else { - arenaInfoBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - return this; - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public Builder mergeArenaInfo(rpc.protocols.CommonProto.ArenaInfo value) { - if (arenaInfoBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001) && - arenaInfo_ != rpc.protocols.CommonProto.ArenaInfo.getDefaultInstance()) { - arenaInfo_ = - rpc.protocols.CommonProto.ArenaInfo.newBuilder(arenaInfo_).mergeFrom(value).buildPartial(); - } else { - arenaInfo_ = value; - } - onChanged(); - } else { - arenaInfoBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000001; - return this; - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public Builder clearArenaInfo() { - if (arenaInfoBuilder_ == null) { - arenaInfo_ = rpc.protocols.CommonProto.ArenaInfo.getDefaultInstance(); - onChanged(); - } else { - arenaInfoBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaInfo.Builder getArenaInfoBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getArenaInfoFieldBuilder().getBuilder(); - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaInfoOrBuilder getArenaInfoOrBuilder() { - if (arenaInfoBuilder_ != null) { - return arenaInfoBuilder_.getMessageOrBuilder(); - } else { - return arenaInfo_; - } - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - private com.google.protobuf.SingleFieldBuilder< - rpc.protocols.CommonProto.ArenaInfo, rpc.protocols.CommonProto.ArenaInfo.Builder, rpc.protocols.CommonProto.ArenaInfoOrBuilder> - getArenaInfoFieldBuilder() { - if (arenaInfoBuilder_ == null) { - arenaInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< - rpc.protocols.CommonProto.ArenaInfo, rpc.protocols.CommonProto.ArenaInfo.Builder, rpc.protocols.CommonProto.ArenaInfoOrBuilder>( - arenaInfo_, - getParentForChildren(), - isClean()); - arenaInfo_ = null; - } - return arenaInfoBuilder_; - } - - // optional int32 stage = 2; - private int stage_ ; - /** - * optional int32 stage = 2; - * - *
-       *1 未开始 2 战斗阶段 3 膜拜阶段
-       * 
- */ - public boolean hasStage() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional int32 stage = 2; - * - *
-       *1 未开始 2 战斗阶段 3 膜拜阶段
-       * 
- */ - public int getStage() { - return stage_; - } - /** - * optional int32 stage = 2; - * - *
-       *1 未开始 2 战斗阶段 3 膜拜阶段
-       * 
- */ - public Builder setStage(int value) { - bitField0_ |= 0x00000002; - stage_ = value; - onChanged(); - return this; - } - /** - * optional int32 stage = 2; - * - *
-       *1 未开始 2 战斗阶段 3 膜拜阶段
-       * 
- */ - public Builder clearStage() { - bitField0_ = (bitField0_ & ~0x00000002); - stage_ = 0; - onChanged(); - return this; - } - - // optional int32 endTime = 3; - private int endTime_ ; - /** - * optional int32 endTime = 3; - * - *
-       *阶段结束时间戳
-       * 
- */ - public boolean hasEndTime() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional int32 endTime = 3; - * - *
-       *阶段结束时间戳
-       * 
- */ - public int getEndTime() { - return endTime_; - } - /** - * optional int32 endTime = 3; - * - *
-       *阶段结束时间戳
-       * 
- */ - public Builder setEndTime(int value) { - bitField0_ |= 0x00000004; - endTime_ = value; - onChanged(); - return this; - } - /** - * optional int32 endTime = 3; - * - *
-       *阶段结束时间戳
-       * 
- */ - public Builder clearEndTime() { - bitField0_ = (bitField0_ & ~0x00000004); - endTime_ = 0; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:rpc.world.GetWorldArenaInfoResponse) - } - - static { - defaultInstance = new GetWorldArenaInfoResponse(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:rpc.world.GetWorldArenaInfoResponse) - } - - public interface GetWorldArenaInfoIndicationOrBuilder - extends com.google.protobuf.MessageOrBuilder { - - // optional .rpc.protocols.ArenaInfo arenaInfo = 1; - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - boolean hasArenaInfo(); - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - rpc.protocols.CommonProto.ArenaInfo getArenaInfo(); - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - rpc.protocols.CommonProto.ArenaInfoOrBuilder getArenaInfoOrBuilder(); - - // optional int32 stage = 2; - /** - * optional int32 stage = 2; - * - *
-     *1 未开始 2 战斗阶段 3 膜拜阶段
-     * 
- */ - boolean hasStage(); - /** - * optional int32 stage = 2; - * - *
-     *1 未开始 2 战斗阶段 3 膜拜阶段
-     * 
- */ - int getStage(); - - // optional int32 endTime = 3; - /** - * optional int32 endTime = 3; - * - *
-     *阶段结束时间戳
-     * 
- */ - boolean hasEndTime(); - /** - * optional int32 endTime = 3; - * - *
-     *阶段结束时间戳
-     * 
- */ - int getEndTime(); - } - /** - * Protobuf type {@code rpc.world.GetWorldArenaInfoIndication} - */ - public static final class GetWorldArenaInfoIndication extends - com.google.protobuf.GeneratedMessage - implements GetWorldArenaInfoIndicationOrBuilder { - // Use GetWorldArenaInfoIndication.newBuilder() to construct. - private GetWorldArenaInfoIndication(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private GetWorldArenaInfoIndication(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final GetWorldArenaInfoIndication defaultInstance; - public static GetWorldArenaInfoIndication getDefaultInstance() { - return defaultInstance; - } - - public GetWorldArenaInfoIndication getDefaultInstanceForType() { - return defaultInstance; - } - - private final com.google.protobuf.UnknownFieldSet unknownFields; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetWorldArenaInfoIndication( - 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: { - rpc.protocols.CommonProto.ArenaInfo.Builder subBuilder = null; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - subBuilder = arenaInfo_.toBuilder(); - } - arenaInfo_ = input.readMessage(rpc.protocols.CommonProto.ArenaInfo.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(arenaInfo_); - arenaInfo_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000001; - break; - } - case 16: { - bitField0_ |= 0x00000002; - stage_ = input.readInt32(); - break; - } - case 24: { - bitField0_ |= 0x00000004; - endTime_ = 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 rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaInfoIndication_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaInfoIndication_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaInfoIndication.class, rpc.world.WorldCommonProto.GetWorldArenaInfoIndication.Builder.class); - } - - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public GetWorldArenaInfoIndication parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWorldArenaInfoIndication(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - private int bitField0_; - // optional .rpc.protocols.ArenaInfo arenaInfo = 1; - public static final int ARENAINFO_FIELD_NUMBER = 1; - private rpc.protocols.CommonProto.ArenaInfo arenaInfo_; - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public boolean hasArenaInfo() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaInfo getArenaInfo() { - return arenaInfo_; - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaInfoOrBuilder getArenaInfoOrBuilder() { - return arenaInfo_; - } - - // optional int32 stage = 2; - public static final int STAGE_FIELD_NUMBER = 2; - private int stage_; - /** - * optional int32 stage = 2; - * - *
-     *1 未开始 2 战斗阶段 3 膜拜阶段
-     * 
- */ - public boolean hasStage() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional int32 stage = 2; - * - *
-     *1 未开始 2 战斗阶段 3 膜拜阶段
-     * 
- */ - public int getStage() { - return stage_; - } - - // optional int32 endTime = 3; - public static final int ENDTIME_FIELD_NUMBER = 3; - private int endTime_; - /** - * optional int32 endTime = 3; - * - *
-     *阶段结束时间戳
-     * 
- */ - public boolean hasEndTime() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional int32 endTime = 3; - * - *
-     *阶段结束时间戳
-     * 
- */ - public int getEndTime() { - return endTime_; - } - - private void initFields() { - arenaInfo_ = rpc.protocols.CommonProto.ArenaInfo.getDefaultInstance(); - stage_ = 0; - endTime_ = 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.writeMessage(1, arenaInfo_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeInt32(2, stage_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeInt32(3, endTime_); - } - 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, arenaInfo_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, stage_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, endTime_); - } - 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 rpc.world.WorldCommonProto.GetWorldArenaInfoIndication parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoIndication parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoIndication parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoIndication parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoIndication parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoIndication parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoIndication parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoIndication parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoIndication parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaInfoIndication 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(rpc.world.WorldCommonProto.GetWorldArenaInfoIndication 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 rpc.world.GetWorldArenaInfoIndication} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements rpc.world.WorldCommonProto.GetWorldArenaInfoIndicationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaInfoIndication_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaInfoIndication_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaInfoIndication.class, rpc.world.WorldCommonProto.GetWorldArenaInfoIndication.Builder.class); - } - - // Construct using rpc.world.WorldCommonProto.GetWorldArenaInfoIndication.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getArenaInfoFieldBuilder(); - } - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - if (arenaInfoBuilder_ == null) { - arenaInfo_ = rpc.protocols.CommonProto.ArenaInfo.getDefaultInstance(); - } else { - arenaInfoBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - stage_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - endTime_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaInfoIndication_descriptor; - } - - public rpc.world.WorldCommonProto.GetWorldArenaInfoIndication getDefaultInstanceForType() { - return rpc.world.WorldCommonProto.GetWorldArenaInfoIndication.getDefaultInstance(); - } - - public rpc.world.WorldCommonProto.GetWorldArenaInfoIndication build() { - rpc.world.WorldCommonProto.GetWorldArenaInfoIndication result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public rpc.world.WorldCommonProto.GetWorldArenaInfoIndication buildPartial() { - rpc.world.WorldCommonProto.GetWorldArenaInfoIndication result = new rpc.world.WorldCommonProto.GetWorldArenaInfoIndication(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - if (arenaInfoBuilder_ == null) { - result.arenaInfo_ = arenaInfo_; - } else { - result.arenaInfo_ = arenaInfoBuilder_.build(); - } - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.stage_ = stage_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.endTime_ = endTime_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof rpc.world.WorldCommonProto.GetWorldArenaInfoIndication) { - return mergeFrom((rpc.world.WorldCommonProto.GetWorldArenaInfoIndication)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(rpc.world.WorldCommonProto.GetWorldArenaInfoIndication other) { - if (other == rpc.world.WorldCommonProto.GetWorldArenaInfoIndication.getDefaultInstance()) return this; - if (other.hasArenaInfo()) { - mergeArenaInfo(other.getArenaInfo()); - } - if (other.hasStage()) { - setStage(other.getStage()); - } - if (other.hasEndTime()) { - setEndTime(other.getEndTime()); - } - 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 { - rpc.world.WorldCommonProto.GetWorldArenaInfoIndication parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (rpc.world.WorldCommonProto.GetWorldArenaInfoIndication) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - // optional .rpc.protocols.ArenaInfo arenaInfo = 1; - private rpc.protocols.CommonProto.ArenaInfo arenaInfo_ = rpc.protocols.CommonProto.ArenaInfo.getDefaultInstance(); - private com.google.protobuf.SingleFieldBuilder< - rpc.protocols.CommonProto.ArenaInfo, rpc.protocols.CommonProto.ArenaInfo.Builder, rpc.protocols.CommonProto.ArenaInfoOrBuilder> arenaInfoBuilder_; - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public boolean hasArenaInfo() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaInfo getArenaInfo() { - if (arenaInfoBuilder_ == null) { - return arenaInfo_; - } else { - return arenaInfoBuilder_.getMessage(); - } - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public Builder setArenaInfo(rpc.protocols.CommonProto.ArenaInfo value) { - if (arenaInfoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - arenaInfo_ = value; - onChanged(); - } else { - arenaInfoBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - return this; - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public Builder setArenaInfo( - rpc.protocols.CommonProto.ArenaInfo.Builder builderForValue) { - if (arenaInfoBuilder_ == null) { - arenaInfo_ = builderForValue.build(); - onChanged(); - } else { - arenaInfoBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - return this; - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public Builder mergeArenaInfo(rpc.protocols.CommonProto.ArenaInfo value) { - if (arenaInfoBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001) && - arenaInfo_ != rpc.protocols.CommonProto.ArenaInfo.getDefaultInstance()) { - arenaInfo_ = - rpc.protocols.CommonProto.ArenaInfo.newBuilder(arenaInfo_).mergeFrom(value).buildPartial(); - } else { - arenaInfo_ = value; - } - onChanged(); - } else { - arenaInfoBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000001; - return this; - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public Builder clearArenaInfo() { - if (arenaInfoBuilder_ == null) { - arenaInfo_ = rpc.protocols.CommonProto.ArenaInfo.getDefaultInstance(); - onChanged(); - } else { - arenaInfoBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaInfo.Builder getArenaInfoBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getArenaInfoFieldBuilder().getBuilder(); - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaInfoOrBuilder getArenaInfoOrBuilder() { - if (arenaInfoBuilder_ != null) { - return arenaInfoBuilder_.getMessageOrBuilder(); - } else { - return arenaInfo_; - } - } - /** - * optional .rpc.protocols.ArenaInfo arenaInfo = 1; - */ - private com.google.protobuf.SingleFieldBuilder< - rpc.protocols.CommonProto.ArenaInfo, rpc.protocols.CommonProto.ArenaInfo.Builder, rpc.protocols.CommonProto.ArenaInfoOrBuilder> - getArenaInfoFieldBuilder() { - if (arenaInfoBuilder_ == null) { - arenaInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< - rpc.protocols.CommonProto.ArenaInfo, rpc.protocols.CommonProto.ArenaInfo.Builder, rpc.protocols.CommonProto.ArenaInfoOrBuilder>( - arenaInfo_, - getParentForChildren(), - isClean()); - arenaInfo_ = null; - } - return arenaInfoBuilder_; - } - - // optional int32 stage = 2; - private int stage_ ; - /** - * optional int32 stage = 2; - * - *
-       *1 未开始 2 战斗阶段 3 膜拜阶段
-       * 
- */ - public boolean hasStage() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional int32 stage = 2; - * - *
-       *1 未开始 2 战斗阶段 3 膜拜阶段
-       * 
- */ - public int getStage() { - return stage_; - } - /** - * optional int32 stage = 2; - * - *
-       *1 未开始 2 战斗阶段 3 膜拜阶段
-       * 
- */ - public Builder setStage(int value) { - bitField0_ |= 0x00000002; - stage_ = value; - onChanged(); - return this; - } - /** - * optional int32 stage = 2; - * - *
-       *1 未开始 2 战斗阶段 3 膜拜阶段
-       * 
- */ - public Builder clearStage() { - bitField0_ = (bitField0_ & ~0x00000002); - stage_ = 0; - onChanged(); - return this; - } - - // optional int32 endTime = 3; - private int endTime_ ; - /** - * optional int32 endTime = 3; - * - *
-       *阶段结束时间戳
-       * 
- */ - public boolean hasEndTime() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional int32 endTime = 3; - * - *
-       *阶段结束时间戳
-       * 
- */ - public int getEndTime() { - return endTime_; - } - /** - * optional int32 endTime = 3; - * - *
-       *阶段结束时间戳
-       * 
- */ - public Builder setEndTime(int value) { - bitField0_ |= 0x00000004; - endTime_ = value; - onChanged(); - return this; - } - /** - * optional int32 endTime = 3; - * - *
-       *阶段结束时间戳
-       * 
- */ - public Builder clearEndTime() { - bitField0_ = (bitField0_ & ~0x00000004); - endTime_ = 0; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:rpc.world.GetWorldArenaInfoIndication) - } - - static { - defaultInstance = new GetWorldArenaInfoIndication(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:rpc.world.GetWorldArenaInfoIndication) - } - - public interface GetWorldArenaChallengeRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { - - // optional int32 teamId = 1; - /** - * optional int32 teamId = 1; - * - *
-     * 本人进攻队伍id
-     * 
- */ - boolean hasTeamId(); - /** - * optional int32 teamId = 1; - * - *
-     * 本人进攻队伍id
-     * 
- */ - int getTeamId(); - - // optional int32 challengeServerid = 2; - /** - * optional int32 challengeServerid = 2; - * - *
-     * 对手Serverid
-     * 
- */ - boolean hasChallengeServerid(); - /** - * optional int32 challengeServerid = 2; - * - *
-     * 对手Serverid
-     * 
- */ - int getChallengeServerid(); - - // optional int32 challengeUid = 3; - /** - * optional int32 challengeUid = 3; - * - *
-     * 对手uid
-     * 
- */ - boolean hasChallengeUid(); - /** - * optional int32 challengeUid = 3; - * - *
-     * 对手uid
-     * 
- */ - int getChallengeUid(); - - // optional int32 skipFight = 4; - /** - * optional int32 skipFight = 4; - * - *
-     * 1:标识跳过战斗 0: 不跳过战斗
-     * 
- */ - boolean hasSkipFight(); - /** - * optional int32 skipFight = 4; - * - *
-     * 1:标识跳过战斗 0: 不跳过战斗
-     * 
- */ - int getSkipFight(); - } - /** - * Protobuf type {@code rpc.world.GetWorldArenaChallengeRequest} - * - *
-   *跨服天梯挑战
-   * 
- */ - public static final class GetWorldArenaChallengeRequest extends - com.google.protobuf.GeneratedMessage - implements GetWorldArenaChallengeRequestOrBuilder { - // Use GetWorldArenaChallengeRequest.newBuilder() to construct. - private GetWorldArenaChallengeRequest(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private GetWorldArenaChallengeRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final GetWorldArenaChallengeRequest defaultInstance; - public static GetWorldArenaChallengeRequest getDefaultInstance() { - return defaultInstance; - } - - public GetWorldArenaChallengeRequest getDefaultInstanceForType() { - return defaultInstance; - } - - private final com.google.protobuf.UnknownFieldSet unknownFields; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetWorldArenaChallengeRequest( - 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; - teamId_ = input.readInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - challengeServerid_ = input.readInt32(); - break; - } - case 24: { - bitField0_ |= 0x00000004; - challengeUid_ = input.readInt32(); - break; - } - case 32: { - bitField0_ |= 0x00000008; - skipFight_ = 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 rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaChallengeRequest_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaChallengeRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest.class, rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest.Builder.class); - } - - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public GetWorldArenaChallengeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWorldArenaChallengeRequest(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - private int bitField0_; - // optional int32 teamId = 1; - public static final int TEAMID_FIELD_NUMBER = 1; - private int teamId_; - /** - * optional int32 teamId = 1; - * - *
-     * 本人进攻队伍id
-     * 
- */ - public boolean hasTeamId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional int32 teamId = 1; - * - *
-     * 本人进攻队伍id
-     * 
- */ - public int getTeamId() { - return teamId_; - } - - // optional int32 challengeServerid = 2; - public static final int CHALLENGESERVERID_FIELD_NUMBER = 2; - private int challengeServerid_; - /** - * optional int32 challengeServerid = 2; - * - *
-     * 对手Serverid
-     * 
- */ - public boolean hasChallengeServerid() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional int32 challengeServerid = 2; - * - *
-     * 对手Serverid
-     * 
- */ - public int getChallengeServerid() { - return challengeServerid_; - } - - // optional int32 challengeUid = 3; - public static final int CHALLENGEUID_FIELD_NUMBER = 3; - private int challengeUid_; - /** - * optional int32 challengeUid = 3; - * - *
-     * 对手uid
-     * 
- */ - public boolean hasChallengeUid() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional int32 challengeUid = 3; - * - *
-     * 对手uid
-     * 
- */ - public int getChallengeUid() { - return challengeUid_; - } - - // optional int32 skipFight = 4; - public static final int SKIPFIGHT_FIELD_NUMBER = 4; - private int skipFight_; - /** - * optional int32 skipFight = 4; - * - *
-     * 1:标识跳过战斗 0: 不跳过战斗
-     * 
- */ - public boolean hasSkipFight() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - * optional int32 skipFight = 4; - * - *
-     * 1:标识跳过战斗 0: 不跳过战斗
-     * 
- */ - public int getSkipFight() { - return skipFight_; - } - - private void initFields() { - teamId_ = 0; - challengeServerid_ = 0; - challengeUid_ = 0; - skipFight_ = 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, teamId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeInt32(2, challengeServerid_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeInt32(3, challengeUid_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeInt32(4, skipFight_); - } - 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, teamId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, challengeServerid_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, challengeUid_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, skipFight_); - } - 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 rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest 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(rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest 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 rpc.world.GetWorldArenaChallengeRequest} - * - *
-     *跨服天梯挑战
-     * 
- */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements rpc.world.WorldCommonProto.GetWorldArenaChallengeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaChallengeRequest_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaChallengeRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest.class, rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest.Builder.class); - } - - // Construct using rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest.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(); - teamId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - challengeServerid_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - challengeUid_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); - skipFight_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaChallengeRequest_descriptor; - } - - public rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest getDefaultInstanceForType() { - return rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest.getDefaultInstance(); - } - - public rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest build() { - rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest buildPartial() { - rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest result = new rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.teamId_ = teamId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.challengeServerid_ = challengeServerid_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.challengeUid_ = challengeUid_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.skipFight_ = skipFight_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest) { - return mergeFrom((rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest other) { - if (other == rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest.getDefaultInstance()) return this; - if (other.hasTeamId()) { - setTeamId(other.getTeamId()); - } - if (other.hasChallengeServerid()) { - setChallengeServerid(other.getChallengeServerid()); - } - if (other.hasChallengeUid()) { - setChallengeUid(other.getChallengeUid()); - } - if (other.hasSkipFight()) { - setSkipFight(other.getSkipFight()); - } - 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 { - rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (rpc.world.WorldCommonProto.GetWorldArenaChallengeRequest) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - // optional int32 teamId = 1; - private int teamId_ ; - /** - * optional int32 teamId = 1; - * - *
-       * 本人进攻队伍id
-       * 
- */ - public boolean hasTeamId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional int32 teamId = 1; - * - *
-       * 本人进攻队伍id
-       * 
- */ - public int getTeamId() { - return teamId_; - } - /** - * optional int32 teamId = 1; - * - *
-       * 本人进攻队伍id
-       * 
- */ - public Builder setTeamId(int value) { - bitField0_ |= 0x00000001; - teamId_ = value; - onChanged(); - return this; - } - /** - * optional int32 teamId = 1; - * - *
-       * 本人进攻队伍id
-       * 
- */ - public Builder clearTeamId() { - bitField0_ = (bitField0_ & ~0x00000001); - teamId_ = 0; - onChanged(); - return this; - } - - // optional int32 challengeServerid = 2; - private int challengeServerid_ ; - /** - * optional int32 challengeServerid = 2; - * - *
-       * 对手Serverid
-       * 
- */ - public boolean hasChallengeServerid() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional int32 challengeServerid = 2; - * - *
-       * 对手Serverid
-       * 
- */ - public int getChallengeServerid() { - return challengeServerid_; - } - /** - * optional int32 challengeServerid = 2; - * - *
-       * 对手Serverid
-       * 
- */ - public Builder setChallengeServerid(int value) { - bitField0_ |= 0x00000002; - challengeServerid_ = value; - onChanged(); - return this; - } - /** - * optional int32 challengeServerid = 2; - * - *
-       * 对手Serverid
-       * 
- */ - public Builder clearChallengeServerid() { - bitField0_ = (bitField0_ & ~0x00000002); - challengeServerid_ = 0; - onChanged(); - return this; - } - - // optional int32 challengeUid = 3; - private int challengeUid_ ; - /** - * optional int32 challengeUid = 3; - * - *
-       * 对手uid
-       * 
- */ - public boolean hasChallengeUid() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional int32 challengeUid = 3; - * - *
-       * 对手uid
-       * 
- */ - public int getChallengeUid() { - return challengeUid_; - } - /** - * optional int32 challengeUid = 3; - * - *
-       * 对手uid
-       * 
- */ - public Builder setChallengeUid(int value) { - bitField0_ |= 0x00000004; - challengeUid_ = value; - onChanged(); - return this; - } - /** - * optional int32 challengeUid = 3; - * - *
-       * 对手uid
-       * 
- */ - public Builder clearChallengeUid() { - bitField0_ = (bitField0_ & ~0x00000004); - challengeUid_ = 0; - onChanged(); - return this; - } - - // optional int32 skipFight = 4; - private int skipFight_ ; - /** - * optional int32 skipFight = 4; - * - *
-       * 1:标识跳过战斗 0: 不跳过战斗
-       * 
- */ - public boolean hasSkipFight() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - * optional int32 skipFight = 4; - * - *
-       * 1:标识跳过战斗 0: 不跳过战斗
-       * 
- */ - public int getSkipFight() { - return skipFight_; - } - /** - * optional int32 skipFight = 4; - * - *
-       * 1:标识跳过战斗 0: 不跳过战斗
-       * 
- */ - public Builder setSkipFight(int value) { - bitField0_ |= 0x00000008; - skipFight_ = value; - onChanged(); - return this; - } - /** - * optional int32 skipFight = 4; - * - *
-       * 1:标识跳过战斗 0: 不跳过战斗
-       * 
- */ - public Builder clearSkipFight() { - bitField0_ = (bitField0_ & ~0x00000008); - skipFight_ = 0; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:rpc.world.GetWorldArenaChallengeRequest) - } - - static { - defaultInstance = new GetWorldArenaChallengeRequest(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:rpc.world.GetWorldArenaChallengeRequest) - } - - public interface GetWorldArenaChallengeResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { - - // optional int32 mySortChange = 1; - /** - * optional int32 mySortChange = 1; - * - *
-     *我的名次变化值
-     * 
- */ - boolean hasMySortChange(); - /** - * optional int32 mySortChange = 1; - * - *
-     *我的名次变化值
-     * 
- */ - int getMySortChange(); - - // repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-     *新的一批对手信息
-     * 
- */ - java.util.List - getArenaEnemysList(); - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-     *新的一批对手信息
-     * 
- */ - rpc.protocols.CommonProto.ArenaEnemy getArenaEnemys(int index); - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-     *新的一批对手信息
-     * 
- */ - int getArenaEnemysCount(); - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-     *新的一批对手信息
-     * 
- */ - java.util.List - getArenaEnemysOrBuilderList(); - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-     *新的一批对手信息
-     * 
- */ - rpc.protocols.CommonProto.ArenaEnemyOrBuilder getArenaEnemysOrBuilder( - int index); - - // optional .rpc.protocols.FightData fightData = 3; - /** - * optional .rpc.protocols.FightData fightData = 3; - * - *
-     * 战斗数据 
-     * 
- */ - boolean hasFightData(); - /** - * optional .rpc.protocols.FightData fightData = 3; - * - *
-     * 战斗数据 
-     * 
- */ - rpc.protocols.CommonProto.FightData getFightData(); - /** - * optional .rpc.protocols.FightData fightData = 3; - * - *
-     * 战斗数据 
-     * 
- */ - rpc.protocols.CommonProto.FightDataOrBuilder getFightDataOrBuilder(); - - // optional int32 fightResult = 4; - /** - * optional int32 fightResult = 4; - * - *
-     * 战斗结果 -1 时 表示挑战目标排名发生变化 需刷新
-     * 
- */ - boolean hasFightResult(); - /** - * optional int32 fightResult = 4; - * - *
-     * 战斗结果 -1 时 表示挑战目标排名发生变化 需刷新
-     * 
- */ - int getFightResult(); - - // optional .rpc.protocols.Drop drop = 5; - /** - * optional .rpc.protocols.Drop drop = 5; - */ - boolean hasDrop(); - /** - * optional .rpc.protocols.Drop drop = 5; - */ - rpc.protocols.CommonProto.Drop getDrop(); - /** - * optional .rpc.protocols.Drop drop = 5; - */ - rpc.protocols.CommonProto.DropOrBuilder getDropOrBuilder(); - } - /** - * Protobuf type {@code rpc.world.GetWorldArenaChallengeResponse} - */ - public static final class GetWorldArenaChallengeResponse extends - com.google.protobuf.GeneratedMessage - implements GetWorldArenaChallengeResponseOrBuilder { - // Use GetWorldArenaChallengeResponse.newBuilder() to construct. - private GetWorldArenaChallengeResponse(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private GetWorldArenaChallengeResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final GetWorldArenaChallengeResponse defaultInstance; - public static GetWorldArenaChallengeResponse getDefaultInstance() { - return defaultInstance; - } - - public GetWorldArenaChallengeResponse getDefaultInstanceForType() { - return defaultInstance; - } - - private final com.google.protobuf.UnknownFieldSet unknownFields; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetWorldArenaChallengeResponse( - 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; - mySortChange_ = input.readInt32(); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - arenaEnemys_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - arenaEnemys_.add(input.readMessage(rpc.protocols.CommonProto.ArenaEnemy.PARSER, extensionRegistry)); - break; - } - case 26: { - rpc.protocols.CommonProto.FightData.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) == 0x00000002)) { - subBuilder = fightData_.toBuilder(); - } - fightData_ = input.readMessage(rpc.protocols.CommonProto.FightData.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fightData_); - fightData_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000002; - break; - } - case 32: { - bitField0_ |= 0x00000004; - fightResult_ = input.readInt32(); - break; - } - case 42: { - rpc.protocols.CommonProto.Drop.Builder subBuilder = null; - if (((bitField0_ & 0x00000008) == 0x00000008)) { - subBuilder = drop_.toBuilder(); - } - drop_ = input.readMessage(rpc.protocols.CommonProto.Drop.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(drop_); - drop_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000008; - 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_ & 0x00000002) == 0x00000002)) { - arenaEnemys_ = java.util.Collections.unmodifiableList(arenaEnemys_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaChallengeResponse_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaChallengeResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse.class, rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse.Builder.class); - } - - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public GetWorldArenaChallengeResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWorldArenaChallengeResponse(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - private int bitField0_; - // optional int32 mySortChange = 1; - public static final int MYSORTCHANGE_FIELD_NUMBER = 1; - private int mySortChange_; - /** - * optional int32 mySortChange = 1; - * - *
-     *我的名次变化值
-     * 
- */ - public boolean hasMySortChange() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional int32 mySortChange = 1; - * - *
-     *我的名次变化值
-     * 
- */ - public int getMySortChange() { - return mySortChange_; - } - - // repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - public static final int ARENAENEMYS_FIELD_NUMBER = 2; - private java.util.List arenaEnemys_; - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-     *新的一批对手信息
-     * 
- */ - public java.util.List getArenaEnemysList() { - return arenaEnemys_; - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-     *新的一批对手信息
-     * 
- */ - public java.util.List - getArenaEnemysOrBuilderList() { - return arenaEnemys_; - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-     *新的一批对手信息
-     * 
- */ - public int getArenaEnemysCount() { - return arenaEnemys_.size(); - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-     *新的一批对手信息
-     * 
- */ - public rpc.protocols.CommonProto.ArenaEnemy getArenaEnemys(int index) { - return arenaEnemys_.get(index); - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-     *新的一批对手信息
-     * 
- */ - public rpc.protocols.CommonProto.ArenaEnemyOrBuilder getArenaEnemysOrBuilder( - int index) { - return arenaEnemys_.get(index); - } - - // optional .rpc.protocols.FightData fightData = 3; - public static final int FIGHTDATA_FIELD_NUMBER = 3; - private rpc.protocols.CommonProto.FightData fightData_; - /** - * optional .rpc.protocols.FightData fightData = 3; - * - *
-     * 战斗数据 
-     * 
- */ - public boolean hasFightData() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional .rpc.protocols.FightData fightData = 3; - * - *
-     * 战斗数据 
-     * 
- */ - public rpc.protocols.CommonProto.FightData getFightData() { - return fightData_; - } - /** - * optional .rpc.protocols.FightData fightData = 3; - * - *
-     * 战斗数据 
-     * 
- */ - public rpc.protocols.CommonProto.FightDataOrBuilder getFightDataOrBuilder() { - return fightData_; - } - - // optional int32 fightResult = 4; - public static final int FIGHTRESULT_FIELD_NUMBER = 4; - private int fightResult_; - /** - * optional int32 fightResult = 4; - * - *
-     * 战斗结果 -1 时 表示挑战目标排名发生变化 需刷新
-     * 
- */ - public boolean hasFightResult() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional int32 fightResult = 4; - * - *
-     * 战斗结果 -1 时 表示挑战目标排名发生变化 需刷新
-     * 
- */ - public int getFightResult() { - return fightResult_; - } - - // optional .rpc.protocols.Drop drop = 5; - public static final int DROP_FIELD_NUMBER = 5; - private rpc.protocols.CommonProto.Drop drop_; - /** - * optional .rpc.protocols.Drop drop = 5; - */ - public boolean hasDrop() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - * optional .rpc.protocols.Drop drop = 5; - */ - public rpc.protocols.CommonProto.Drop getDrop() { - return drop_; - } - /** - * optional .rpc.protocols.Drop drop = 5; - */ - public rpc.protocols.CommonProto.DropOrBuilder getDropOrBuilder() { - return drop_; - } - - private void initFields() { - mySortChange_ = 0; - arenaEnemys_ = java.util.Collections.emptyList(); - fightData_ = rpc.protocols.CommonProto.FightData.getDefaultInstance(); - fightResult_ = 0; - drop_ = rpc.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, mySortChange_); - } - for (int i = 0; i < arenaEnemys_.size(); i++) { - output.writeMessage(2, arenaEnemys_.get(i)); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeMessage(3, fightData_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeInt32(4, fightResult_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeMessage(5, 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, mySortChange_); - } - for (int i = 0; i < arenaEnemys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, arenaEnemys_.get(i)); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, fightData_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, fightResult_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, 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 rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse 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(rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse 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 rpc.world.GetWorldArenaChallengeResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements rpc.world.WorldCommonProto.GetWorldArenaChallengeResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaChallengeResponse_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaChallengeResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse.class, rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse.Builder.class); - } - - // Construct using rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getArenaEnemysFieldBuilder(); - getFightDataFieldBuilder(); - getDropFieldBuilder(); - } - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - mySortChange_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - if (arenaEnemysBuilder_ == null) { - arenaEnemys_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - arenaEnemysBuilder_.clear(); - } - if (fightDataBuilder_ == null) { - fightData_ = rpc.protocols.CommonProto.FightData.getDefaultInstance(); - } else { - fightDataBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - fightResult_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - if (dropBuilder_ == null) { - drop_ = rpc.protocols.CommonProto.Drop.getDefaultInstance(); - } else { - dropBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaChallengeResponse_descriptor; - } - - public rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse getDefaultInstanceForType() { - return rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse.getDefaultInstance(); - } - - public rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse build() { - rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse buildPartial() { - rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse result = new rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.mySortChange_ = mySortChange_; - if (arenaEnemysBuilder_ == null) { - if (((bitField0_ & 0x00000002) == 0x00000002)) { - arenaEnemys_ = java.util.Collections.unmodifiableList(arenaEnemys_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.arenaEnemys_ = arenaEnemys_; - } else { - result.arenaEnemys_ = arenaEnemysBuilder_.build(); - } - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000002; - } - if (fightDataBuilder_ == null) { - result.fightData_ = fightData_; - } else { - result.fightData_ = fightDataBuilder_.build(); - } - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000004; - } - result.fightResult_ = fightResult_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000008; - } - 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 rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse) { - return mergeFrom((rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse other) { - if (other == rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse.getDefaultInstance()) return this; - if (other.hasMySortChange()) { - setMySortChange(other.getMySortChange()); - } - if (arenaEnemysBuilder_ == null) { - if (!other.arenaEnemys_.isEmpty()) { - if (arenaEnemys_.isEmpty()) { - arenaEnemys_ = other.arenaEnemys_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureArenaEnemysIsMutable(); - arenaEnemys_.addAll(other.arenaEnemys_); - } - onChanged(); - } - } else { - if (!other.arenaEnemys_.isEmpty()) { - if (arenaEnemysBuilder_.isEmpty()) { - arenaEnemysBuilder_.dispose(); - arenaEnemysBuilder_ = null; - arenaEnemys_ = other.arenaEnemys_; - bitField0_ = (bitField0_ & ~0x00000002); - arenaEnemysBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getArenaEnemysFieldBuilder() : null; - } else { - arenaEnemysBuilder_.addAllMessages(other.arenaEnemys_); - } - } - } - if (other.hasFightData()) { - mergeFightData(other.getFightData()); - } - if (other.hasFightResult()) { - setFightResult(other.getFightResult()); - } - 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 { - rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (rpc.world.WorldCommonProto.GetWorldArenaChallengeResponse) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - // optional int32 mySortChange = 1; - private int mySortChange_ ; - /** - * optional int32 mySortChange = 1; - * - *
-       *我的名次变化值
-       * 
- */ - public boolean hasMySortChange() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional int32 mySortChange = 1; - * - *
-       *我的名次变化值
-       * 
- */ - public int getMySortChange() { - return mySortChange_; - } - /** - * optional int32 mySortChange = 1; - * - *
-       *我的名次变化值
-       * 
- */ - public Builder setMySortChange(int value) { - bitField0_ |= 0x00000001; - mySortChange_ = value; - onChanged(); - return this; - } - /** - * optional int32 mySortChange = 1; - * - *
-       *我的名次变化值
-       * 
- */ - public Builder clearMySortChange() { - bitField0_ = (bitField0_ & ~0x00000001); - mySortChange_ = 0; - onChanged(); - return this; - } - - // repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - private java.util.List arenaEnemys_ = - java.util.Collections.emptyList(); - private void ensureArenaEnemysIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { - arenaEnemys_ = new java.util.ArrayList(arenaEnemys_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilder< - rpc.protocols.CommonProto.ArenaEnemy, rpc.protocols.CommonProto.ArenaEnemy.Builder, rpc.protocols.CommonProto.ArenaEnemyOrBuilder> arenaEnemysBuilder_; - - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public java.util.List getArenaEnemysList() { - if (arenaEnemysBuilder_ == null) { - return java.util.Collections.unmodifiableList(arenaEnemys_); - } else { - return arenaEnemysBuilder_.getMessageList(); - } - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public int getArenaEnemysCount() { - if (arenaEnemysBuilder_ == null) { - return arenaEnemys_.size(); - } else { - return arenaEnemysBuilder_.getCount(); - } - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public rpc.protocols.CommonProto.ArenaEnemy getArenaEnemys(int index) { - if (arenaEnemysBuilder_ == null) { - return arenaEnemys_.get(index); - } else { - return arenaEnemysBuilder_.getMessage(index); - } - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public Builder setArenaEnemys( - int index, rpc.protocols.CommonProto.ArenaEnemy value) { - if (arenaEnemysBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArenaEnemysIsMutable(); - arenaEnemys_.set(index, value); - onChanged(); - } else { - arenaEnemysBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public Builder setArenaEnemys( - int index, rpc.protocols.CommonProto.ArenaEnemy.Builder builderForValue) { - if (arenaEnemysBuilder_ == null) { - ensureArenaEnemysIsMutable(); - arenaEnemys_.set(index, builderForValue.build()); - onChanged(); - } else { - arenaEnemysBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public Builder addArenaEnemys(rpc.protocols.CommonProto.ArenaEnemy value) { - if (arenaEnemysBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArenaEnemysIsMutable(); - arenaEnemys_.add(value); - onChanged(); - } else { - arenaEnemysBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public Builder addArenaEnemys( - int index, rpc.protocols.CommonProto.ArenaEnemy value) { - if (arenaEnemysBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArenaEnemysIsMutable(); - arenaEnemys_.add(index, value); - onChanged(); - } else { - arenaEnemysBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public Builder addArenaEnemys( - rpc.protocols.CommonProto.ArenaEnemy.Builder builderForValue) { - if (arenaEnemysBuilder_ == null) { - ensureArenaEnemysIsMutable(); - arenaEnemys_.add(builderForValue.build()); - onChanged(); - } else { - arenaEnemysBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public Builder addArenaEnemys( - int index, rpc.protocols.CommonProto.ArenaEnemy.Builder builderForValue) { - if (arenaEnemysBuilder_ == null) { - ensureArenaEnemysIsMutable(); - arenaEnemys_.add(index, builderForValue.build()); - onChanged(); - } else { - arenaEnemysBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public Builder addAllArenaEnemys( - java.lang.Iterable values) { - if (arenaEnemysBuilder_ == null) { - ensureArenaEnemysIsMutable(); - super.addAll(values, arenaEnemys_); - onChanged(); - } else { - arenaEnemysBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public Builder clearArenaEnemys() { - if (arenaEnemysBuilder_ == null) { - arenaEnemys_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - arenaEnemysBuilder_.clear(); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public Builder removeArenaEnemys(int index) { - if (arenaEnemysBuilder_ == null) { - ensureArenaEnemysIsMutable(); - arenaEnemys_.remove(index); - onChanged(); - } else { - arenaEnemysBuilder_.remove(index); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public rpc.protocols.CommonProto.ArenaEnemy.Builder getArenaEnemysBuilder( - int index) { - return getArenaEnemysFieldBuilder().getBuilder(index); - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public rpc.protocols.CommonProto.ArenaEnemyOrBuilder getArenaEnemysOrBuilder( - int index) { - if (arenaEnemysBuilder_ == null) { - return arenaEnemys_.get(index); } else { - return arenaEnemysBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public java.util.List - getArenaEnemysOrBuilderList() { - if (arenaEnemysBuilder_ != null) { - return arenaEnemysBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(arenaEnemys_); - } - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public rpc.protocols.CommonProto.ArenaEnemy.Builder addArenaEnemysBuilder() { - return getArenaEnemysFieldBuilder().addBuilder( - rpc.protocols.CommonProto.ArenaEnemy.getDefaultInstance()); - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public rpc.protocols.CommonProto.ArenaEnemy.Builder addArenaEnemysBuilder( - int index) { - return getArenaEnemysFieldBuilder().addBuilder( - index, rpc.protocols.CommonProto.ArenaEnemy.getDefaultInstance()); - } - /** - * repeated .rpc.protocols.ArenaEnemy arenaEnemys = 2; - * - *
-       *新的一批对手信息
-       * 
- */ - public java.util.List - getArenaEnemysBuilderList() { - return getArenaEnemysFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilder< - rpc.protocols.CommonProto.ArenaEnemy, rpc.protocols.CommonProto.ArenaEnemy.Builder, rpc.protocols.CommonProto.ArenaEnemyOrBuilder> - getArenaEnemysFieldBuilder() { - if (arenaEnemysBuilder_ == null) { - arenaEnemysBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - rpc.protocols.CommonProto.ArenaEnemy, rpc.protocols.CommonProto.ArenaEnemy.Builder, rpc.protocols.CommonProto.ArenaEnemyOrBuilder>( - arenaEnemys_, - ((bitField0_ & 0x00000002) == 0x00000002), - getParentForChildren(), - isClean()); - arenaEnemys_ = null; - } - return arenaEnemysBuilder_; - } - - // optional .rpc.protocols.FightData fightData = 3; - private rpc.protocols.CommonProto.FightData fightData_ = rpc.protocols.CommonProto.FightData.getDefaultInstance(); - private com.google.protobuf.SingleFieldBuilder< - rpc.protocols.CommonProto.FightData, rpc.protocols.CommonProto.FightData.Builder, rpc.protocols.CommonProto.FightDataOrBuilder> fightDataBuilder_; - /** - * optional .rpc.protocols.FightData fightData = 3; - * - *
-       * 战斗数据 
-       * 
- */ - public boolean hasFightData() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional .rpc.protocols.FightData fightData = 3; - * - *
-       * 战斗数据 
-       * 
- */ - public rpc.protocols.CommonProto.FightData getFightData() { - if (fightDataBuilder_ == null) { - return fightData_; - } else { - return fightDataBuilder_.getMessage(); - } - } - /** - * optional .rpc.protocols.FightData fightData = 3; - * - *
-       * 战斗数据 
-       * 
- */ - public Builder setFightData(rpc.protocols.CommonProto.FightData value) { - if (fightDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - fightData_ = value; - onChanged(); - } else { - fightDataBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - return this; - } - /** - * optional .rpc.protocols.FightData fightData = 3; - * - *
-       * 战斗数据 
-       * 
- */ - public Builder setFightData( - rpc.protocols.CommonProto.FightData.Builder builderForValue) { - if (fightDataBuilder_ == null) { - fightData_ = builderForValue.build(); - onChanged(); - } else { - fightDataBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - return this; - } - /** - * optional .rpc.protocols.FightData fightData = 3; - * - *
-       * 战斗数据 
-       * 
- */ - public Builder mergeFightData(rpc.protocols.CommonProto.FightData value) { - if (fightDataBuilder_ == null) { - if (((bitField0_ & 0x00000004) == 0x00000004) && - fightData_ != rpc.protocols.CommonProto.FightData.getDefaultInstance()) { - fightData_ = - rpc.protocols.CommonProto.FightData.newBuilder(fightData_).mergeFrom(value).buildPartial(); - } else { - fightData_ = value; - } - onChanged(); - } else { - fightDataBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000004; - return this; - } - /** - * optional .rpc.protocols.FightData fightData = 3; - * - *
-       * 战斗数据 
-       * 
- */ - public Builder clearFightData() { - if (fightDataBuilder_ == null) { - fightData_ = rpc.protocols.CommonProto.FightData.getDefaultInstance(); - onChanged(); - } else { - fightDataBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - /** - * optional .rpc.protocols.FightData fightData = 3; - * - *
-       * 战斗数据 
-       * 
- */ - public rpc.protocols.CommonProto.FightData.Builder getFightDataBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getFightDataFieldBuilder().getBuilder(); - } - /** - * optional .rpc.protocols.FightData fightData = 3; - * - *
-       * 战斗数据 
-       * 
- */ - public rpc.protocols.CommonProto.FightDataOrBuilder getFightDataOrBuilder() { - if (fightDataBuilder_ != null) { - return fightDataBuilder_.getMessageOrBuilder(); - } else { - return fightData_; - } - } - /** - * optional .rpc.protocols.FightData fightData = 3; - * - *
-       * 战斗数据 
-       * 
- */ - private com.google.protobuf.SingleFieldBuilder< - rpc.protocols.CommonProto.FightData, rpc.protocols.CommonProto.FightData.Builder, rpc.protocols.CommonProto.FightDataOrBuilder> - getFightDataFieldBuilder() { - if (fightDataBuilder_ == null) { - fightDataBuilder_ = new com.google.protobuf.SingleFieldBuilder< - rpc.protocols.CommonProto.FightData, rpc.protocols.CommonProto.FightData.Builder, rpc.protocols.CommonProto.FightDataOrBuilder>( - fightData_, - getParentForChildren(), - isClean()); - fightData_ = null; - } - return fightDataBuilder_; - } - - // optional int32 fightResult = 4; - private int fightResult_ ; - /** - * optional int32 fightResult = 4; - * - *
-       * 战斗结果 -1 时 表示挑战目标排名发生变化 需刷新
-       * 
- */ - public boolean hasFightResult() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - * optional int32 fightResult = 4; - * - *
-       * 战斗结果 -1 时 表示挑战目标排名发生变化 需刷新
-       * 
- */ - public int getFightResult() { - return fightResult_; - } - /** - * optional int32 fightResult = 4; - * - *
-       * 战斗结果 -1 时 表示挑战目标排名发生变化 需刷新
-       * 
- */ - public Builder setFightResult(int value) { - bitField0_ |= 0x00000008; - fightResult_ = value; - onChanged(); - return this; - } - /** - * optional int32 fightResult = 4; - * - *
-       * 战斗结果 -1 时 表示挑战目标排名发生变化 需刷新
-       * 
- */ - public Builder clearFightResult() { - bitField0_ = (bitField0_ & ~0x00000008); - fightResult_ = 0; - onChanged(); - return this; - } - - // optional .rpc.protocols.Drop drop = 5; - private rpc.protocols.CommonProto.Drop drop_ = rpc.protocols.CommonProto.Drop.getDefaultInstance(); - private com.google.protobuf.SingleFieldBuilder< - rpc.protocols.CommonProto.Drop, rpc.protocols.CommonProto.Drop.Builder, rpc.protocols.CommonProto.DropOrBuilder> dropBuilder_; - /** - * optional .rpc.protocols.Drop drop = 5; - */ - public boolean hasDrop() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - /** - * optional .rpc.protocols.Drop drop = 5; - */ - public rpc.protocols.CommonProto.Drop getDrop() { - if (dropBuilder_ == null) { - return drop_; - } else { - return dropBuilder_.getMessage(); - } - } - /** - * optional .rpc.protocols.Drop drop = 5; - */ - public Builder setDrop(rpc.protocols.CommonProto.Drop value) { - if (dropBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - drop_ = value; - onChanged(); - } else { - dropBuilder_.setMessage(value); - } - bitField0_ |= 0x00000010; - return this; - } - /** - * optional .rpc.protocols.Drop drop = 5; - */ - public Builder setDrop( - rpc.protocols.CommonProto.Drop.Builder builderForValue) { - if (dropBuilder_ == null) { - drop_ = builderForValue.build(); - onChanged(); - } else { - dropBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000010; - return this; - } - /** - * optional .rpc.protocols.Drop drop = 5; - */ - public Builder mergeDrop(rpc.protocols.CommonProto.Drop value) { - if (dropBuilder_ == null) { - if (((bitField0_ & 0x00000010) == 0x00000010) && - drop_ != rpc.protocols.CommonProto.Drop.getDefaultInstance()) { - drop_ = - rpc.protocols.CommonProto.Drop.newBuilder(drop_).mergeFrom(value).buildPartial(); - } else { - drop_ = value; - } - onChanged(); - } else { - dropBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000010; - return this; - } - /** - * optional .rpc.protocols.Drop drop = 5; - */ - public Builder clearDrop() { - if (dropBuilder_ == null) { - drop_ = rpc.protocols.CommonProto.Drop.getDefaultInstance(); - onChanged(); - } else { - dropBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - /** - * optional .rpc.protocols.Drop drop = 5; - */ - public rpc.protocols.CommonProto.Drop.Builder getDropBuilder() { - bitField0_ |= 0x00000010; - onChanged(); - return getDropFieldBuilder().getBuilder(); - } - /** - * optional .rpc.protocols.Drop drop = 5; - */ - public rpc.protocols.CommonProto.DropOrBuilder getDropOrBuilder() { - if (dropBuilder_ != null) { - return dropBuilder_.getMessageOrBuilder(); - } else { - return drop_; - } - } - /** - * optional .rpc.protocols.Drop drop = 5; - */ - private com.google.protobuf.SingleFieldBuilder< - rpc.protocols.CommonProto.Drop, rpc.protocols.CommonProto.Drop.Builder, rpc.protocols.CommonProto.DropOrBuilder> - getDropFieldBuilder() { - if (dropBuilder_ == null) { - dropBuilder_ = new com.google.protobuf.SingleFieldBuilder< - rpc.protocols.CommonProto.Drop, rpc.protocols.CommonProto.Drop.Builder, rpc.protocols.CommonProto.DropOrBuilder>( - drop_, - getParentForChildren(), - isClean()); - drop_ = null; - } - return dropBuilder_; - } - - // @@protoc_insertion_point(builder_scope:rpc.world.GetWorldArenaChallengeResponse) - } - - static { - defaultInstance = new GetWorldArenaChallengeResponse(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:rpc.world.GetWorldArenaChallengeResponse) - } - - public interface GetWorldArenaProudRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { - - // optional int32 challengeServerid = 1; - /** - * optional int32 challengeServerid = 1; - * - *
-     * 对手Serverid
-     * 
- */ - boolean hasChallengeServerid(); - /** - * optional int32 challengeServerid = 1; - * - *
-     * 对手Serverid
-     * 
- */ - int getChallengeServerid(); - - // optional int32 challengeUid = 2; - /** - * optional int32 challengeUid = 2; - * - *
-     * 对手uid
-     * 
- */ - boolean hasChallengeUid(); - /** - * optional int32 challengeUid = 2; - * - *
-     * 对手uid
-     * 
- */ - int getChallengeUid(); - } - /** - * Protobuf type {@code rpc.world.GetWorldArenaProudRequest} - * - *
-   *膜拜
-   * 
- */ - public static final class GetWorldArenaProudRequest extends - com.google.protobuf.GeneratedMessage - implements GetWorldArenaProudRequestOrBuilder { - // Use GetWorldArenaProudRequest.newBuilder() to construct. - private GetWorldArenaProudRequest(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private GetWorldArenaProudRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final GetWorldArenaProudRequest defaultInstance; - public static GetWorldArenaProudRequest getDefaultInstance() { - return defaultInstance; - } - - public GetWorldArenaProudRequest getDefaultInstanceForType() { - return defaultInstance; - } - - private final com.google.protobuf.UnknownFieldSet unknownFields; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetWorldArenaProudRequest( - 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; - challengeServerid_ = input.readInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - challengeUid_ = 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 rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaProudRequest_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaProudRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaProudRequest.class, rpc.world.WorldCommonProto.GetWorldArenaProudRequest.Builder.class); - } - - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public GetWorldArenaProudRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWorldArenaProudRequest(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - private int bitField0_; - // optional int32 challengeServerid = 1; - public static final int CHALLENGESERVERID_FIELD_NUMBER = 1; - private int challengeServerid_; - /** - * optional int32 challengeServerid = 1; - * - *
-     * 对手Serverid
-     * 
- */ - public boolean hasChallengeServerid() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional int32 challengeServerid = 1; - * - *
-     * 对手Serverid
-     * 
- */ - public int getChallengeServerid() { - return challengeServerid_; - } - - // optional int32 challengeUid = 2; - public static final int CHALLENGEUID_FIELD_NUMBER = 2; - private int challengeUid_; - /** - * optional int32 challengeUid = 2; - * - *
-     * 对手uid
-     * 
- */ - public boolean hasChallengeUid() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional int32 challengeUid = 2; - * - *
-     * 对手uid
-     * 
- */ - public int getChallengeUid() { - return challengeUid_; - } - - private void initFields() { - challengeServerid_ = 0; - challengeUid_ = 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, challengeServerid_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeInt32(2, challengeUid_); - } - 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, challengeServerid_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, challengeUid_); - } - 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 rpc.world.WorldCommonProto.GetWorldArenaProudRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudRequest 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(rpc.world.WorldCommonProto.GetWorldArenaProudRequest 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 rpc.world.GetWorldArenaProudRequest} - * - *
-     *膜拜
-     * 
- */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements rpc.world.WorldCommonProto.GetWorldArenaProudRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaProudRequest_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaProudRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaProudRequest.class, rpc.world.WorldCommonProto.GetWorldArenaProudRequest.Builder.class); - } - - // Construct using rpc.world.WorldCommonProto.GetWorldArenaProudRequest.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(); - challengeServerid_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - challengeUid_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaProudRequest_descriptor; - } - - public rpc.world.WorldCommonProto.GetWorldArenaProudRequest getDefaultInstanceForType() { - return rpc.world.WorldCommonProto.GetWorldArenaProudRequest.getDefaultInstance(); - } - - public rpc.world.WorldCommonProto.GetWorldArenaProudRequest build() { - rpc.world.WorldCommonProto.GetWorldArenaProudRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public rpc.world.WorldCommonProto.GetWorldArenaProudRequest buildPartial() { - rpc.world.WorldCommonProto.GetWorldArenaProudRequest result = new rpc.world.WorldCommonProto.GetWorldArenaProudRequest(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.challengeServerid_ = challengeServerid_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.challengeUid_ = challengeUid_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof rpc.world.WorldCommonProto.GetWorldArenaProudRequest) { - return mergeFrom((rpc.world.WorldCommonProto.GetWorldArenaProudRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(rpc.world.WorldCommonProto.GetWorldArenaProudRequest other) { - if (other == rpc.world.WorldCommonProto.GetWorldArenaProudRequest.getDefaultInstance()) return this; - if (other.hasChallengeServerid()) { - setChallengeServerid(other.getChallengeServerid()); - } - if (other.hasChallengeUid()) { - setChallengeUid(other.getChallengeUid()); - } - 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 { - rpc.world.WorldCommonProto.GetWorldArenaProudRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (rpc.world.WorldCommonProto.GetWorldArenaProudRequest) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - // optional int32 challengeServerid = 1; - private int challengeServerid_ ; - /** - * optional int32 challengeServerid = 1; - * - *
-       * 对手Serverid
-       * 
- */ - public boolean hasChallengeServerid() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional int32 challengeServerid = 1; - * - *
-       * 对手Serverid
-       * 
- */ - public int getChallengeServerid() { - return challengeServerid_; - } - /** - * optional int32 challengeServerid = 1; - * - *
-       * 对手Serverid
-       * 
- */ - public Builder setChallengeServerid(int value) { - bitField0_ |= 0x00000001; - challengeServerid_ = value; - onChanged(); - return this; - } - /** - * optional int32 challengeServerid = 1; - * - *
-       * 对手Serverid
-       * 
- */ - public Builder clearChallengeServerid() { - bitField0_ = (bitField0_ & ~0x00000001); - challengeServerid_ = 0; - onChanged(); - return this; - } - - // optional int32 challengeUid = 2; - private int challengeUid_ ; - /** - * optional int32 challengeUid = 2; - * - *
-       * 对手uid
-       * 
- */ - public boolean hasChallengeUid() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional int32 challengeUid = 2; - * - *
-       * 对手uid
-       * 
- */ - public int getChallengeUid() { - return challengeUid_; - } - /** - * optional int32 challengeUid = 2; - * - *
-       * 对手uid
-       * 
- */ - public Builder setChallengeUid(int value) { - bitField0_ |= 0x00000002; - challengeUid_ = value; - onChanged(); - return this; - } - /** - * optional int32 challengeUid = 2; - * - *
-       * 对手uid
-       * 
- */ - public Builder clearChallengeUid() { - bitField0_ = (bitField0_ & ~0x00000002); - challengeUid_ = 0; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:rpc.world.GetWorldArenaProudRequest) - } - - static { - defaultInstance = new GetWorldArenaProudRequest(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:rpc.world.GetWorldArenaProudRequest) - } - - public interface GetWorldArenaProudResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { - - // optional .rpc.protocols.Drop drop = 1; - /** - * optional .rpc.protocols.Drop drop = 1; - * - *
-     *膜拜奖励  (头像框奖励)
-     * 
- */ - boolean hasDrop(); - /** - * optional .rpc.protocols.Drop drop = 1; - * - *
-     *膜拜奖励  (头像框奖励)
-     * 
- */ - rpc.protocols.CommonProto.Drop getDrop(); - /** - * optional .rpc.protocols.Drop drop = 1; - * - *
-     *膜拜奖励  (头像框奖励)
-     * 
- */ - rpc.protocols.CommonProto.DropOrBuilder getDropOrBuilder(); - } - /** - * Protobuf type {@code rpc.world.GetWorldArenaProudResponse} - */ - public static final class GetWorldArenaProudResponse extends - com.google.protobuf.GeneratedMessage - implements GetWorldArenaProudResponseOrBuilder { - // Use GetWorldArenaProudResponse.newBuilder() to construct. - private GetWorldArenaProudResponse(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private GetWorldArenaProudResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final GetWorldArenaProudResponse defaultInstance; - public static GetWorldArenaProudResponse getDefaultInstance() { - return defaultInstance; - } - - public GetWorldArenaProudResponse getDefaultInstanceForType() { - return defaultInstance; - } - - private final com.google.protobuf.UnknownFieldSet unknownFields; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetWorldArenaProudResponse( - 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: { - rpc.protocols.CommonProto.Drop.Builder subBuilder = null; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - subBuilder = drop_.toBuilder(); - } - drop_ = input.readMessage(rpc.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 rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaProudResponse_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaProudResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaProudResponse.class, rpc.world.WorldCommonProto.GetWorldArenaProudResponse.Builder.class); - } - - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public GetWorldArenaProudResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWorldArenaProudResponse(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - private int bitField0_; - // optional .rpc.protocols.Drop drop = 1; - public static final int DROP_FIELD_NUMBER = 1; - private rpc.protocols.CommonProto.Drop drop_; - /** - * optional .rpc.protocols.Drop drop = 1; - * - *
-     *膜拜奖励  (头像框奖励)
-     * 
- */ - public boolean hasDrop() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional .rpc.protocols.Drop drop = 1; - * - *
-     *膜拜奖励  (头像框奖励)
-     * 
- */ - public rpc.protocols.CommonProto.Drop getDrop() { - return drop_; - } - /** - * optional .rpc.protocols.Drop drop = 1; - * - *
-     *膜拜奖励  (头像框奖励)
-     * 
- */ - public rpc.protocols.CommonProto.DropOrBuilder getDropOrBuilder() { - return drop_; - } - - private void initFields() { - drop_ = rpc.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 rpc.world.WorldCommonProto.GetWorldArenaProudResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaProudResponse 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(rpc.world.WorldCommonProto.GetWorldArenaProudResponse 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 rpc.world.GetWorldArenaProudResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements rpc.world.WorldCommonProto.GetWorldArenaProudResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaProudResponse_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaProudResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaProudResponse.class, rpc.world.WorldCommonProto.GetWorldArenaProudResponse.Builder.class); - } - - // Construct using rpc.world.WorldCommonProto.GetWorldArenaProudResponse.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_ = rpc.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 rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaProudResponse_descriptor; - } - - public rpc.world.WorldCommonProto.GetWorldArenaProudResponse getDefaultInstanceForType() { - return rpc.world.WorldCommonProto.GetWorldArenaProudResponse.getDefaultInstance(); - } - - public rpc.world.WorldCommonProto.GetWorldArenaProudResponse build() { - rpc.world.WorldCommonProto.GetWorldArenaProudResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public rpc.world.WorldCommonProto.GetWorldArenaProudResponse buildPartial() { - rpc.world.WorldCommonProto.GetWorldArenaProudResponse result = new rpc.world.WorldCommonProto.GetWorldArenaProudResponse(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 rpc.world.WorldCommonProto.GetWorldArenaProudResponse) { - return mergeFrom((rpc.world.WorldCommonProto.GetWorldArenaProudResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(rpc.world.WorldCommonProto.GetWorldArenaProudResponse other) { - if (other == rpc.world.WorldCommonProto.GetWorldArenaProudResponse.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 { - rpc.world.WorldCommonProto.GetWorldArenaProudResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (rpc.world.WorldCommonProto.GetWorldArenaProudResponse) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - // optional .rpc.protocols.Drop drop = 1; - private rpc.protocols.CommonProto.Drop drop_ = rpc.protocols.CommonProto.Drop.getDefaultInstance(); - private com.google.protobuf.SingleFieldBuilder< - rpc.protocols.CommonProto.Drop, rpc.protocols.CommonProto.Drop.Builder, rpc.protocols.CommonProto.DropOrBuilder> dropBuilder_; - /** - * optional .rpc.protocols.Drop drop = 1; - * - *
-       *膜拜奖励  (头像框奖励)
-       * 
- */ - public boolean hasDrop() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - * optional .rpc.protocols.Drop drop = 1; - * - *
-       *膜拜奖励  (头像框奖励)
-       * 
- */ - public rpc.protocols.CommonProto.Drop getDrop() { - if (dropBuilder_ == null) { - return drop_; - } else { - return dropBuilder_.getMessage(); - } - } - /** - * optional .rpc.protocols.Drop drop = 1; - * - *
-       *膜拜奖励  (头像框奖励)
-       * 
- */ - public Builder setDrop(rpc.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 .rpc.protocols.Drop drop = 1; - * - *
-       *膜拜奖励  (头像框奖励)
-       * 
- */ - public Builder setDrop( - rpc.protocols.CommonProto.Drop.Builder builderForValue) { - if (dropBuilder_ == null) { - drop_ = builderForValue.build(); - onChanged(); - } else { - dropBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - return this; - } - /** - * optional .rpc.protocols.Drop drop = 1; - * - *
-       *膜拜奖励  (头像框奖励)
-       * 
- */ - public Builder mergeDrop(rpc.protocols.CommonProto.Drop value) { - if (dropBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001) && - drop_ != rpc.protocols.CommonProto.Drop.getDefaultInstance()) { - drop_ = - rpc.protocols.CommonProto.Drop.newBuilder(drop_).mergeFrom(value).buildPartial(); - } else { - drop_ = value; - } - onChanged(); - } else { - dropBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000001; - return this; - } - /** - * optional .rpc.protocols.Drop drop = 1; - * - *
-       *膜拜奖励  (头像框奖励)
-       * 
- */ - public Builder clearDrop() { - if (dropBuilder_ == null) { - drop_ = rpc.protocols.CommonProto.Drop.getDefaultInstance(); - onChanged(); - } else { - dropBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - /** - * optional .rpc.protocols.Drop drop = 1; - * - *
-       *膜拜奖励  (头像框奖励)
-       * 
- */ - public rpc.protocols.CommonProto.Drop.Builder getDropBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getDropFieldBuilder().getBuilder(); - } - /** - * optional .rpc.protocols.Drop drop = 1; - * - *
-       *膜拜奖励  (头像框奖励)
-       * 
- */ - public rpc.protocols.CommonProto.DropOrBuilder getDropOrBuilder() { - if (dropBuilder_ != null) { - return dropBuilder_.getMessageOrBuilder(); - } else { - return drop_; - } - } - /** - * optional .rpc.protocols.Drop drop = 1; - * - *
-       *膜拜奖励  (头像框奖励)
-       * 
- */ - private com.google.protobuf.SingleFieldBuilder< - rpc.protocols.CommonProto.Drop, rpc.protocols.CommonProto.Drop.Builder, rpc.protocols.CommonProto.DropOrBuilder> - getDropFieldBuilder() { - if (dropBuilder_ == null) { - dropBuilder_ = new com.google.protobuf.SingleFieldBuilder< - rpc.protocols.CommonProto.Drop, rpc.protocols.CommonProto.Drop.Builder, rpc.protocols.CommonProto.DropOrBuilder>( - drop_, - getParentForChildren(), - isClean()); - drop_ = null; - } - return dropBuilder_; - } - - // @@protoc_insertion_point(builder_scope:rpc.world.GetWorldArenaProudResponse) - } - - static { - defaultInstance = new GetWorldArenaProudResponse(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:rpc.world.GetWorldArenaProudResponse) - } - - public interface GetWorldArenaRecordInfoResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { - - // repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - java.util.List - getArenaRecordInfoList(); - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - rpc.protocols.CommonProto.ArenaRecordInfo getArenaRecordInfo(int index); - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - int getArenaRecordInfoCount(); - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - java.util.List - getArenaRecordInfoOrBuilderList(); - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - rpc.protocols.CommonProto.ArenaRecordInfoOrBuilder getArenaRecordInfoOrBuilder( - int index); - } - /** - * Protobuf type {@code rpc.world.GetWorldArenaRecordInfoResponse} - * - *
-   *跨服天梯挑战与被挑战 战斗记录
-   * 
- */ - public static final class GetWorldArenaRecordInfoResponse extends - com.google.protobuf.GeneratedMessage - implements GetWorldArenaRecordInfoResponseOrBuilder { - // Use GetWorldArenaRecordInfoResponse.newBuilder() to construct. - private GetWorldArenaRecordInfoResponse(com.google.protobuf.GeneratedMessage.Builder builder) { - super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private GetWorldArenaRecordInfoResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final GetWorldArenaRecordInfoResponse defaultInstance; - public static GetWorldArenaRecordInfoResponse getDefaultInstance() { - return defaultInstance; - } - - public GetWorldArenaRecordInfoResponse getDefaultInstanceForType() { - return defaultInstance; - } - - private final com.google.protobuf.UnknownFieldSet unknownFields; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetWorldArenaRecordInfoResponse( - 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)) { - arenaRecordInfo_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - arenaRecordInfo_.add(input.readMessage(rpc.protocols.CommonProto.ArenaRecordInfo.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)) { - arenaRecordInfo_ = java.util.Collections.unmodifiableList(arenaRecordInfo_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaRecordInfoResponse_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaRecordInfoResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse.class, rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse.Builder.class); - } - - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public GetWorldArenaRecordInfoResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWorldArenaRecordInfoResponse(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - // repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - public static final int ARENARECORDINFO_FIELD_NUMBER = 1; - private java.util.List arenaRecordInfo_; - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public java.util.List getArenaRecordInfoList() { - return arenaRecordInfo_; - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public java.util.List - getArenaRecordInfoOrBuilderList() { - return arenaRecordInfo_; - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public int getArenaRecordInfoCount() { - return arenaRecordInfo_.size(); - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaRecordInfo getArenaRecordInfo(int index) { - return arenaRecordInfo_.get(index); - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaRecordInfoOrBuilder getArenaRecordInfoOrBuilder( - int index) { - return arenaRecordInfo_.get(index); - } - - private void initFields() { - arenaRecordInfo_ = 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 < arenaRecordInfo_.size(); i++) { - output.writeMessage(1, arenaRecordInfo_.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 < arenaRecordInfo_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, arenaRecordInfo_.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 rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse 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(rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse 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 rpc.world.GetWorldArenaRecordInfoResponse} - * - *
-     *跨服天梯挑战与被挑战 战斗记录
-     * 
- */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaRecordInfoResponse_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaRecordInfoResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse.class, rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse.Builder.class); - } - - // Construct using rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - getArenaRecordInfoFieldBuilder(); - } - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - if (arenaRecordInfoBuilder_ == null) { - arenaRecordInfo_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - arenaRecordInfoBuilder_.clear(); - } - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return rpc.world.WorldCommonProto.internal_static_rpc_world_GetWorldArenaRecordInfoResponse_descriptor; - } - - public rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse getDefaultInstanceForType() { - return rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse.getDefaultInstance(); - } - - public rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse build() { - rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - public rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse buildPartial() { - rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse result = new rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse(this); - int from_bitField0_ = bitField0_; - if (arenaRecordInfoBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { - arenaRecordInfo_ = java.util.Collections.unmodifiableList(arenaRecordInfo_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.arenaRecordInfo_ = arenaRecordInfo_; - } else { - result.arenaRecordInfo_ = arenaRecordInfoBuilder_.build(); - } - onBuilt(); - return result; - } - - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse) { - return mergeFrom((rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse other) { - if (other == rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse.getDefaultInstance()) return this; - if (arenaRecordInfoBuilder_ == null) { - if (!other.arenaRecordInfo_.isEmpty()) { - if (arenaRecordInfo_.isEmpty()) { - arenaRecordInfo_ = other.arenaRecordInfo_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureArenaRecordInfoIsMutable(); - arenaRecordInfo_.addAll(other.arenaRecordInfo_); - } - onChanged(); - } - } else { - if (!other.arenaRecordInfo_.isEmpty()) { - if (arenaRecordInfoBuilder_.isEmpty()) { - arenaRecordInfoBuilder_.dispose(); - arenaRecordInfoBuilder_ = null; - arenaRecordInfo_ = other.arenaRecordInfo_; - bitField0_ = (bitField0_ & ~0x00000001); - arenaRecordInfoBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? - getArenaRecordInfoFieldBuilder() : null; - } else { - arenaRecordInfoBuilder_.addAllMessages(other.arenaRecordInfo_); - } - } - } - 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 { - rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (rpc.world.WorldCommonProto.GetWorldArenaRecordInfoResponse) e.getUnfinishedMessage(); - throw e; - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - // repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - private java.util.List arenaRecordInfo_ = - java.util.Collections.emptyList(); - private void ensureArenaRecordInfoIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { - arenaRecordInfo_ = new java.util.ArrayList(arenaRecordInfo_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilder< - rpc.protocols.CommonProto.ArenaRecordInfo, rpc.protocols.CommonProto.ArenaRecordInfo.Builder, rpc.protocols.CommonProto.ArenaRecordInfoOrBuilder> arenaRecordInfoBuilder_; - - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public java.util.List getArenaRecordInfoList() { - if (arenaRecordInfoBuilder_ == null) { - return java.util.Collections.unmodifiableList(arenaRecordInfo_); - } else { - return arenaRecordInfoBuilder_.getMessageList(); - } - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public int getArenaRecordInfoCount() { - if (arenaRecordInfoBuilder_ == null) { - return arenaRecordInfo_.size(); - } else { - return arenaRecordInfoBuilder_.getCount(); - } - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaRecordInfo getArenaRecordInfo(int index) { - if (arenaRecordInfoBuilder_ == null) { - return arenaRecordInfo_.get(index); - } else { - return arenaRecordInfoBuilder_.getMessage(index); - } - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public Builder setArenaRecordInfo( - int index, rpc.protocols.CommonProto.ArenaRecordInfo value) { - if (arenaRecordInfoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArenaRecordInfoIsMutable(); - arenaRecordInfo_.set(index, value); - onChanged(); - } else { - arenaRecordInfoBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public Builder setArenaRecordInfo( - int index, rpc.protocols.CommonProto.ArenaRecordInfo.Builder builderForValue) { - if (arenaRecordInfoBuilder_ == null) { - ensureArenaRecordInfoIsMutable(); - arenaRecordInfo_.set(index, builderForValue.build()); - onChanged(); - } else { - arenaRecordInfoBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public Builder addArenaRecordInfo(rpc.protocols.CommonProto.ArenaRecordInfo value) { - if (arenaRecordInfoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArenaRecordInfoIsMutable(); - arenaRecordInfo_.add(value); - onChanged(); - } else { - arenaRecordInfoBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public Builder addArenaRecordInfo( - int index, rpc.protocols.CommonProto.ArenaRecordInfo value) { - if (arenaRecordInfoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArenaRecordInfoIsMutable(); - arenaRecordInfo_.add(index, value); - onChanged(); - } else { - arenaRecordInfoBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public Builder addArenaRecordInfo( - rpc.protocols.CommonProto.ArenaRecordInfo.Builder builderForValue) { - if (arenaRecordInfoBuilder_ == null) { - ensureArenaRecordInfoIsMutable(); - arenaRecordInfo_.add(builderForValue.build()); - onChanged(); - } else { - arenaRecordInfoBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public Builder addArenaRecordInfo( - int index, rpc.protocols.CommonProto.ArenaRecordInfo.Builder builderForValue) { - if (arenaRecordInfoBuilder_ == null) { - ensureArenaRecordInfoIsMutable(); - arenaRecordInfo_.add(index, builderForValue.build()); - onChanged(); - } else { - arenaRecordInfoBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public Builder addAllArenaRecordInfo( - java.lang.Iterable values) { - if (arenaRecordInfoBuilder_ == null) { - ensureArenaRecordInfoIsMutable(); - super.addAll(values, arenaRecordInfo_); - onChanged(); - } else { - arenaRecordInfoBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public Builder clearArenaRecordInfo() { - if (arenaRecordInfoBuilder_ == null) { - arenaRecordInfo_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - arenaRecordInfoBuilder_.clear(); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public Builder removeArenaRecordInfo(int index) { - if (arenaRecordInfoBuilder_ == null) { - ensureArenaRecordInfoIsMutable(); - arenaRecordInfo_.remove(index); - onChanged(); - } else { - arenaRecordInfoBuilder_.remove(index); - } - return this; - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaRecordInfo.Builder getArenaRecordInfoBuilder( - int index) { - return getArenaRecordInfoFieldBuilder().getBuilder(index); - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaRecordInfoOrBuilder getArenaRecordInfoOrBuilder( - int index) { - if (arenaRecordInfoBuilder_ == null) { - return arenaRecordInfo_.get(index); } else { - return arenaRecordInfoBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public java.util.List - getArenaRecordInfoOrBuilderList() { - if (arenaRecordInfoBuilder_ != null) { - return arenaRecordInfoBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(arenaRecordInfo_); - } - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaRecordInfo.Builder addArenaRecordInfoBuilder() { - return getArenaRecordInfoFieldBuilder().addBuilder( - rpc.protocols.CommonProto.ArenaRecordInfo.getDefaultInstance()); - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public rpc.protocols.CommonProto.ArenaRecordInfo.Builder addArenaRecordInfoBuilder( - int index) { - return getArenaRecordInfoFieldBuilder().addBuilder( - index, rpc.protocols.CommonProto.ArenaRecordInfo.getDefaultInstance()); - } - /** - * repeated .rpc.protocols.ArenaRecordInfo arenaRecordInfo = 1; - */ - public java.util.List - getArenaRecordInfoBuilderList() { - return getArenaRecordInfoFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilder< - rpc.protocols.CommonProto.ArenaRecordInfo, rpc.protocols.CommonProto.ArenaRecordInfo.Builder, rpc.protocols.CommonProto.ArenaRecordInfoOrBuilder> - getArenaRecordInfoFieldBuilder() { - if (arenaRecordInfoBuilder_ == null) { - arenaRecordInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< - rpc.protocols.CommonProto.ArenaRecordInfo, rpc.protocols.CommonProto.ArenaRecordInfo.Builder, rpc.protocols.CommonProto.ArenaRecordInfoOrBuilder>( - arenaRecordInfo_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); - arenaRecordInfo_ = null; - } - return arenaRecordInfoBuilder_; - } - - // @@protoc_insertion_point(builder_scope:rpc.world.GetWorldArenaRecordInfoResponse) - } - - static { - defaultInstance = new GetWorldArenaRecordInfoResponse(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:rpc.world.GetWorldArenaRecordInfoResponse) - } - - private static com.google.protobuf.Descriptors.Descriptor - internal_static_rpc_world_GetWorldArenaInfoRequest_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_rpc_world_GetWorldArenaInfoRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor - internal_static_rpc_world_GetWorldArenaInfoResponse_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_rpc_world_GetWorldArenaInfoResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor - internal_static_rpc_world_GetWorldArenaInfoIndication_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_rpc_world_GetWorldArenaInfoIndication_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor - internal_static_rpc_world_GetWorldArenaChallengeRequest_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_rpc_world_GetWorldArenaChallengeRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor - internal_static_rpc_world_GetWorldArenaChallengeResponse_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_rpc_world_GetWorldArenaChallengeResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor - internal_static_rpc_world_GetWorldArenaProudRequest_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_rpc_world_GetWorldArenaProudRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor - internal_static_rpc_world_GetWorldArenaProudResponse_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_rpc_world_GetWorldArenaProudResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor - internal_static_rpc_world_GetWorldArenaRecordInfoResponse_descriptor; - private static - com.google.protobuf.GeneratedMessage.FieldAccessorTable - internal_static_rpc_world_GetWorldArenaRecordInfoResponse_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 gtwprotos/WorldCommonProto.proto\022\trpc." + - "world\032\021CommonProto.proto\"\032\n\030GetWorldAren" + - "aInfoRequest\"h\n\031GetWorldArenaInfoRespons" + - "e\022+\n\tarenaInfo\030\001 \001(\0132\030.rpc.protocols.Are" + - "naInfo\022\r\n\005stage\030\002 \001(\005\022\017\n\007endTime\030\003 \001(\005\"j" + - "\n\033GetWorldArenaInfoIndication\022+\n\tarenaIn" + - "fo\030\001 \001(\0132\030.rpc.protocols.ArenaInfo\022\r\n\005st" + - "age\030\002 \001(\005\022\017\n\007endTime\030\003 \001(\005\"s\n\035GetWorldAr" + - "enaChallengeRequest\022\016\n\006teamId\030\001 \001(\005\022\031\n\021c" + - "hallengeServerid\030\002 \001(\005\022\024\n\014challengeUid\030\003", - " \001(\005\022\021\n\tskipFight\030\004 \001(\005\"\313\001\n\036GetWorldAren" + - "aChallengeResponse\022\024\n\014mySortChange\030\001 \001(\005" + - "\022.\n\013arenaEnemys\030\002 \003(\0132\031.rpc.protocols.Ar" + - "enaEnemy\022+\n\tfightData\030\003 \001(\0132\030.rpc.protoc" + - "ols.FightData\022\023\n\013fightResult\030\004 \001(\005\022!\n\004dr" + - "op\030\005 \001(\0132\023.rpc.protocols.Drop\"L\n\031GetWorl" + - "dArenaProudRequest\022\031\n\021challengeServerid\030" + - "\001 \001(\005\022\024\n\014challengeUid\030\002 \001(\005\"?\n\032GetWorldA" + - "renaProudResponse\022!\n\004drop\030\001 \001(\0132\023.rpc.pr" + - "otocols.Drop\"Z\n\037GetWorldArenaRecordInfoR", - "esponse\0227\n\017arenaRecordInfo\030\001 \003(\0132\036.rpc.p" + - "rotocols.ArenaRecordInfoB\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_rpc_world_GetWorldArenaInfoRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_rpc_world_GetWorldArenaInfoRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_rpc_world_GetWorldArenaInfoRequest_descriptor, - new java.lang.String[] { }); - internal_static_rpc_world_GetWorldArenaInfoResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_rpc_world_GetWorldArenaInfoResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_rpc_world_GetWorldArenaInfoResponse_descriptor, - new java.lang.String[] { "ArenaInfo", "Stage", "EndTime", }); - internal_static_rpc_world_GetWorldArenaInfoIndication_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_rpc_world_GetWorldArenaInfoIndication_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_rpc_world_GetWorldArenaInfoIndication_descriptor, - new java.lang.String[] { "ArenaInfo", "Stage", "EndTime", }); - internal_static_rpc_world_GetWorldArenaChallengeRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_rpc_world_GetWorldArenaChallengeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_rpc_world_GetWorldArenaChallengeRequest_descriptor, - new java.lang.String[] { "TeamId", "ChallengeServerid", "ChallengeUid", "SkipFight", }); - internal_static_rpc_world_GetWorldArenaChallengeResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_rpc_world_GetWorldArenaChallengeResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_rpc_world_GetWorldArenaChallengeResponse_descriptor, - new java.lang.String[] { "MySortChange", "ArenaEnemys", "FightData", "FightResult", "Drop", }); - internal_static_rpc_world_GetWorldArenaProudRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_rpc_world_GetWorldArenaProudRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_rpc_world_GetWorldArenaProudRequest_descriptor, - new java.lang.String[] { "ChallengeServerid", "ChallengeUid", }); - internal_static_rpc_world_GetWorldArenaProudResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_rpc_world_GetWorldArenaProudResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_rpc_world_GetWorldArenaProudResponse_descriptor, - new java.lang.String[] { "Drop", }); - internal_static_rpc_world_GetWorldArenaRecordInfoResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_rpc_world_GetWorldArenaRecordInfoResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_rpc_world_GetWorldArenaRecordInfoResponse_descriptor, - new java.lang.String[] { "ArenaRecordInfo", }); - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - rpc.protocols.CommonProto.getDescriptor(), - }, assigner); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/serverlogic/src/main/java/com/ljsd/jieling/handler/gtw/GetWorldArenaProudRequestHandler.java b/serverlogic/src/main/java/com/ljsd/jieling/handler/gtw/GetWorldArenaProudRequestHandler.java index 050c2584c..7639fa4b7 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/handler/gtw/GetWorldArenaProudRequestHandler.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/handler/gtw/GetWorldArenaProudRequestHandler.java @@ -16,14 +16,14 @@ import config.SGlobalSystemConfig; import config.SMServerArenaSetting; import manager.STableManager; import rpc.protocols.MessageTypeProto; -import rpc.world.WorldCommonProto; +import rpc.world.WorldProto; /** * Description: des * Author: zsx * CreateDate: 2020/12/10 19:55 */ -public class GetWorldArenaProudRequestHandler extends BaseHandler { +public class GetWorldArenaProudRequestHandler extends BaseHandler { @Override public MessageTypeProto.MessageType getMessageCode() { @@ -31,7 +31,7 @@ public class GetWorldArenaProudRequestHandler extends BaseHandler