All Downloads are FREE. Search and download functionalities are using the official Maven repository.

wechat.protobuf.NewInitResponse Maven / Gradle / Ivy

There is a newer version: 8.0.48.01
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: wechat.proto

package wechat.protobuf;

/**
 * 
 *新设备第一次登录初始化服务器响应
 * 
* * Protobuf type {@code wechat_proto.NewInitResponse} */ public final class NewInitResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.NewInitResponse) NewInitResponseOrBuilder { private static final long serialVersionUID = 0L; // Use NewInitResponse.newBuilder() to construct. private NewInitResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NewInitResponse() { cmdList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new NewInitResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private NewInitResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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; case 10: { wechat.protobuf.BaseResponse.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = baseResponse_.toBuilder(); } baseResponse_ = input.readMessage(wechat.protobuf.BaseResponse.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(baseResponse_); baseResponse_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = currentSynckey_.toBuilder(); } currentSynckey_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(currentSynckey_); currentSynckey_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { wechat.protobuf.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = maxSynckey_.toBuilder(); } maxSynckey_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxSynckey_); maxSynckey_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 32: { bitField0_ |= 0x00000008; continueFlag_ = input.readUInt32(); break; } case 40: { bitField0_ |= 0x00000010; selectBitmap_ = input.readUInt32(); break; } case 48: { bitField0_ |= 0x00000020; cmdCount_ = input.readUInt32(); break; } case 58: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { cmdList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } cmdList_.add( input.readMessage(wechat.protobuf.CmdItem.PARSER, extensionRegistry)); break; } case 64: { bitField0_ |= 0x00000040; ratio_ = input.readUInt32(); 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).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000040) != 0)) { cmdList_ = java.util.Collections.unmodifiableList(cmdList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Wechat.internal_static_wechat_proto_NewInitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Wechat.internal_static_wechat_proto_NewInitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.NewInitResponse.class, wechat.protobuf.NewInitResponse.Builder.class); } private int bitField0_; public static final int BASERESPONSE_FIELD_NUMBER = 1; private wechat.protobuf.BaseResponse baseResponse_; /** * optional .wechat_proto.BaseResponse BaseResponse = 1; * @return Whether the baseResponse field is set. */ @java.lang.Override public boolean hasBaseResponse() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.BaseResponse BaseResponse = 1; * @return The baseResponse. */ @java.lang.Override public wechat.protobuf.BaseResponse getBaseResponse() { return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_; } /** * optional .wechat_proto.BaseResponse BaseResponse = 1; */ @java.lang.Override public wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder() { return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_; } public static final int CURRENTSYNCKEY_FIELD_NUMBER = 2; private wechat.protobuf.SKBuiltinString_ currentSynckey_; /** *
   *二次同步需要带入
   * 
* * optional .wechat_proto.SKBuiltinString_ CurrentSynckey = 2; * @return Whether the currentSynckey field is set. */ @java.lang.Override public boolean hasCurrentSynckey() { return ((bitField0_ & 0x00000002) != 0); } /** *
   *二次同步需要带入
   * 
* * optional .wechat_proto.SKBuiltinString_ CurrentSynckey = 2; * @return The currentSynckey. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getCurrentSynckey() { return currentSynckey_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : currentSynckey_; } /** *
   *二次同步需要带入
   * 
* * optional .wechat_proto.SKBuiltinString_ CurrentSynckey = 2; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getCurrentSynckeyOrBuilder() { return currentSynckey_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : currentSynckey_; } public static final int MAXSYNCKEY_FIELD_NUMBER = 3; private wechat.protobuf.SKBuiltinString_ maxSynckey_; /** *
   *二次同步需要带入
   * 
* * optional .wechat_proto.SKBuiltinString_ MaxSynckey = 3; * @return Whether the maxSynckey field is set. */ @java.lang.Override public boolean hasMaxSynckey() { return ((bitField0_ & 0x00000004) != 0); } /** *
   *二次同步需要带入
   * 
* * optional .wechat_proto.SKBuiltinString_ MaxSynckey = 3; * @return The maxSynckey. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getMaxSynckey() { return maxSynckey_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : maxSynckey_; } /** *
   *二次同步需要带入
   * 
* * optional .wechat_proto.SKBuiltinString_ MaxSynckey = 3; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getMaxSynckeyOrBuilder() { return maxSynckey_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : maxSynckey_; } public static final int CONTINUEFLAG_FIELD_NUMBER = 4; private int continueFlag_; /** *
   *等于1需要继续同步
   * 
* * optional uint32 ContinueFlag = 4; * @return Whether the continueFlag field is set. */ @java.lang.Override public boolean hasContinueFlag() { return ((bitField0_ & 0x00000008) != 0); } /** *
   *等于1需要继续同步
   * 
* * optional uint32 ContinueFlag = 4; * @return The continueFlag. */ @java.lang.Override public int getContinueFlag() { return continueFlag_; } public static final int SELECTBITMAP_FIELD_NUMBER = 5; private int selectBitmap_; /** * optional uint32 SelectBitmap = 5; * @return Whether the selectBitmap field is set. */ @java.lang.Override public boolean hasSelectBitmap() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 SelectBitmap = 5; * @return The selectBitmap. */ @java.lang.Override public int getSelectBitmap() { return selectBitmap_; } public static final int CMDCOUNT_FIELD_NUMBER = 6; private int cmdCount_; /** * optional uint32 CmdCount = 6; * @return Whether the cmdCount field is set. */ @java.lang.Override public boolean hasCmdCount() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 CmdCount = 6; * @return The cmdCount. */ @java.lang.Override public int getCmdCount() { return cmdCount_; } public static final int CMDLIST_FIELD_NUMBER = 7; private java.util.List cmdList_; /** * repeated .wechat_proto.CmdItem CmdList = 7; */ @java.lang.Override public java.util.List getCmdListList() { return cmdList_; } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ @java.lang.Override public java.util.List getCmdListOrBuilderList() { return cmdList_; } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ @java.lang.Override public int getCmdListCount() { return cmdList_.size(); } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ @java.lang.Override public wechat.protobuf.CmdItem getCmdList(int index) { return cmdList_.get(index); } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ @java.lang.Override public wechat.protobuf.CmdItemOrBuilder getCmdListOrBuilder( int index) { return cmdList_.get(index); } public static final int RATIO_FIELD_NUMBER = 8; private int ratio_; /** * optional uint32 Ratio = 8; * @return Whether the ratio field is set. */ @java.lang.Override public boolean hasRatio() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 Ratio = 8; * @return The ratio. */ @java.lang.Override public int getRatio() { return ratio_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getBaseResponse()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getCurrentSynckey()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getMaxSynckey()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, continueFlag_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, selectBitmap_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(6, cmdCount_); } for (int i = 0; i < cmdList_.size(); i++) { output.writeMessage(7, cmdList_.get(i)); } if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt32(8, ratio_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBaseResponse()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getCurrentSynckey()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getMaxSynckey()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, continueFlag_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, selectBitmap_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, cmdCount_); } for (int i = 0; i < cmdList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, cmdList_.get(i)); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, ratio_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof wechat.protobuf.NewInitResponse)) { return super.equals(obj); } wechat.protobuf.NewInitResponse other = (wechat.protobuf.NewInitResponse) obj; if (hasBaseResponse() != other.hasBaseResponse()) return false; if (hasBaseResponse()) { if (!getBaseResponse() .equals(other.getBaseResponse())) return false; } if (hasCurrentSynckey() != other.hasCurrentSynckey()) return false; if (hasCurrentSynckey()) { if (!getCurrentSynckey() .equals(other.getCurrentSynckey())) return false; } if (hasMaxSynckey() != other.hasMaxSynckey()) return false; if (hasMaxSynckey()) { if (!getMaxSynckey() .equals(other.getMaxSynckey())) return false; } if (hasContinueFlag() != other.hasContinueFlag()) return false; if (hasContinueFlag()) { if (getContinueFlag() != other.getContinueFlag()) return false; } if (hasSelectBitmap() != other.hasSelectBitmap()) return false; if (hasSelectBitmap()) { if (getSelectBitmap() != other.getSelectBitmap()) return false; } if (hasCmdCount() != other.hasCmdCount()) return false; if (hasCmdCount()) { if (getCmdCount() != other.getCmdCount()) return false; } if (!getCmdListList() .equals(other.getCmdListList())) return false; if (hasRatio() != other.hasRatio()) return false; if (hasRatio()) { if (getRatio() != other.getRatio()) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasBaseResponse()) { hash = (37 * hash) + BASERESPONSE_FIELD_NUMBER; hash = (53 * hash) + getBaseResponse().hashCode(); } if (hasCurrentSynckey()) { hash = (37 * hash) + CURRENTSYNCKEY_FIELD_NUMBER; hash = (53 * hash) + getCurrentSynckey().hashCode(); } if (hasMaxSynckey()) { hash = (37 * hash) + MAXSYNCKEY_FIELD_NUMBER; hash = (53 * hash) + getMaxSynckey().hashCode(); } if (hasContinueFlag()) { hash = (37 * hash) + CONTINUEFLAG_FIELD_NUMBER; hash = (53 * hash) + getContinueFlag(); } if (hasSelectBitmap()) { hash = (37 * hash) + SELECTBITMAP_FIELD_NUMBER; hash = (53 * hash) + getSelectBitmap(); } if (hasCmdCount()) { hash = (37 * hash) + CMDCOUNT_FIELD_NUMBER; hash = (53 * hash) + getCmdCount(); } if (getCmdListCount() > 0) { hash = (37 * hash) + CMDLIST_FIELD_NUMBER; hash = (53 * hash) + getCmdListList().hashCode(); } if (hasRatio()) { hash = (37 * hash) + RATIO_FIELD_NUMBER; hash = (53 * hash) + getRatio(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.NewInitResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.NewInitResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.NewInitResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.NewInitResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.NewInitResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.NewInitResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.NewInitResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.NewInitResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static wechat.protobuf.NewInitResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.NewInitResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static wechat.protobuf.NewInitResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.NewInitResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(wechat.protobuf.NewInitResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   *新设备第一次登录初始化服务器响应
   * 
* * Protobuf type {@code wechat_proto.NewInitResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.NewInitResponse) wechat.protobuf.NewInitResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Wechat.internal_static_wechat_proto_NewInitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Wechat.internal_static_wechat_proto_NewInitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.NewInitResponse.class, wechat.protobuf.NewInitResponse.Builder.class); } // Construct using wechat.protobuf.NewInitResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBaseResponseFieldBuilder(); getCurrentSynckeyFieldBuilder(); getMaxSynckeyFieldBuilder(); getCmdListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseResponseBuilder_ == null) { baseResponse_ = null; } else { baseResponseBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (currentSynckeyBuilder_ == null) { currentSynckey_ = null; } else { currentSynckeyBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (maxSynckeyBuilder_ == null) { maxSynckey_ = null; } else { maxSynckeyBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); continueFlag_ = 0; bitField0_ = (bitField0_ & ~0x00000008); selectBitmap_ = 0; bitField0_ = (bitField0_ & ~0x00000010); cmdCount_ = 0; bitField0_ = (bitField0_ & ~0x00000020); if (cmdListBuilder_ == null) { cmdList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { cmdListBuilder_.clear(); } ratio_ = 0; bitField0_ = (bitField0_ & ~0x00000080); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Wechat.internal_static_wechat_proto_NewInitResponse_descriptor; } @java.lang.Override public wechat.protobuf.NewInitResponse getDefaultInstanceForType() { return wechat.protobuf.NewInitResponse.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.NewInitResponse build() { wechat.protobuf.NewInitResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.NewInitResponse buildPartial() { wechat.protobuf.NewInitResponse result = new wechat.protobuf.NewInitResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (baseResponseBuilder_ == null) { result.baseResponse_ = baseResponse_; } else { result.baseResponse_ = baseResponseBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (currentSynckeyBuilder_ == null) { result.currentSynckey_ = currentSynckey_; } else { result.currentSynckey_ = currentSynckeyBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (maxSynckeyBuilder_ == null) { result.maxSynckey_ = maxSynckey_; } else { result.maxSynckey_ = maxSynckeyBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.continueFlag_ = continueFlag_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.selectBitmap_ = selectBitmap_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.cmdCount_ = cmdCount_; to_bitField0_ |= 0x00000020; } if (cmdListBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { cmdList_ = java.util.Collections.unmodifiableList(cmdList_); bitField0_ = (bitField0_ & ~0x00000040); } result.cmdList_ = cmdList_; } else { result.cmdList_ = cmdListBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { result.ratio_ = ratio_; to_bitField0_ |= 0x00000040; } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof wechat.protobuf.NewInitResponse) { return mergeFrom((wechat.protobuf.NewInitResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.NewInitResponse other) { if (other == wechat.protobuf.NewInitResponse.getDefaultInstance()) return this; if (other.hasBaseResponse()) { mergeBaseResponse(other.getBaseResponse()); } if (other.hasCurrentSynckey()) { mergeCurrentSynckey(other.getCurrentSynckey()); } if (other.hasMaxSynckey()) { mergeMaxSynckey(other.getMaxSynckey()); } if (other.hasContinueFlag()) { setContinueFlag(other.getContinueFlag()); } if (other.hasSelectBitmap()) { setSelectBitmap(other.getSelectBitmap()); } if (other.hasCmdCount()) { setCmdCount(other.getCmdCount()); } if (cmdListBuilder_ == null) { if (!other.cmdList_.isEmpty()) { if (cmdList_.isEmpty()) { cmdList_ = other.cmdList_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureCmdListIsMutable(); cmdList_.addAll(other.cmdList_); } onChanged(); } } else { if (!other.cmdList_.isEmpty()) { if (cmdListBuilder_.isEmpty()) { cmdListBuilder_.dispose(); cmdListBuilder_ = null; cmdList_ = other.cmdList_; bitField0_ = (bitField0_ & ~0x00000040); cmdListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCmdListFieldBuilder() : null; } else { cmdListBuilder_.addAllMessages(other.cmdList_); } } } if (other.hasRatio()) { setRatio(other.getRatio()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { wechat.protobuf.NewInitResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.NewInitResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private wechat.protobuf.BaseResponse baseResponse_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder> baseResponseBuilder_; /** * optional .wechat_proto.BaseResponse BaseResponse = 1; * @return Whether the baseResponse field is set. */ public boolean hasBaseResponse() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.BaseResponse BaseResponse = 1; * @return The baseResponse. */ public wechat.protobuf.BaseResponse getBaseResponse() { if (baseResponseBuilder_ == null) { return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_; } else { return baseResponseBuilder_.getMessage(); } } /** * optional .wechat_proto.BaseResponse BaseResponse = 1; */ public Builder setBaseResponse(wechat.protobuf.BaseResponse value) { if (baseResponseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } baseResponse_ = value; onChanged(); } else { baseResponseBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.BaseResponse BaseResponse = 1; */ public Builder setBaseResponse( wechat.protobuf.BaseResponse.Builder builderForValue) { if (baseResponseBuilder_ == null) { baseResponse_ = builderForValue.build(); onChanged(); } else { baseResponseBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.BaseResponse BaseResponse = 1; */ public Builder mergeBaseResponse(wechat.protobuf.BaseResponse value) { if (baseResponseBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && baseResponse_ != null && baseResponse_ != wechat.protobuf.BaseResponse.getDefaultInstance()) { baseResponse_ = wechat.protobuf.BaseResponse.newBuilder(baseResponse_).mergeFrom(value).buildPartial(); } else { baseResponse_ = value; } onChanged(); } else { baseResponseBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.BaseResponse BaseResponse = 1; */ public Builder clearBaseResponse() { if (baseResponseBuilder_ == null) { baseResponse_ = null; onChanged(); } else { baseResponseBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .wechat_proto.BaseResponse BaseResponse = 1; */ public wechat.protobuf.BaseResponse.Builder getBaseResponseBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBaseResponseFieldBuilder().getBuilder(); } /** * optional .wechat_proto.BaseResponse BaseResponse = 1; */ public wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder() { if (baseResponseBuilder_ != null) { return baseResponseBuilder_.getMessageOrBuilder(); } else { return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_; } } /** * optional .wechat_proto.BaseResponse BaseResponse = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder> getBaseResponseFieldBuilder() { if (baseResponseBuilder_ == null) { baseResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder>( getBaseResponse(), getParentForChildren(), isClean()); baseResponse_ = null; } return baseResponseBuilder_; } private wechat.protobuf.SKBuiltinString_ currentSynckey_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> currentSynckeyBuilder_; /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ CurrentSynckey = 2; * @return Whether the currentSynckey field is set. */ public boolean hasCurrentSynckey() { return ((bitField0_ & 0x00000002) != 0); } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ CurrentSynckey = 2; * @return The currentSynckey. */ public wechat.protobuf.SKBuiltinString_ getCurrentSynckey() { if (currentSynckeyBuilder_ == null) { return currentSynckey_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : currentSynckey_; } else { return currentSynckeyBuilder_.getMessage(); } } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ CurrentSynckey = 2; */ public Builder setCurrentSynckey(wechat.protobuf.SKBuiltinString_ value) { if (currentSynckeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } currentSynckey_ = value; onChanged(); } else { currentSynckeyBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ CurrentSynckey = 2; */ public Builder setCurrentSynckey( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (currentSynckeyBuilder_ == null) { currentSynckey_ = builderForValue.build(); onChanged(); } else { currentSynckeyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ CurrentSynckey = 2; */ public Builder mergeCurrentSynckey(wechat.protobuf.SKBuiltinString_ value) { if (currentSynckeyBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && currentSynckey_ != null && currentSynckey_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { currentSynckey_ = wechat.protobuf.SKBuiltinString_.newBuilder(currentSynckey_).mergeFrom(value).buildPartial(); } else { currentSynckey_ = value; } onChanged(); } else { currentSynckeyBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ CurrentSynckey = 2; */ public Builder clearCurrentSynckey() { if (currentSynckeyBuilder_ == null) { currentSynckey_ = null; onChanged(); } else { currentSynckeyBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ CurrentSynckey = 2; */ public wechat.protobuf.SKBuiltinString_.Builder getCurrentSynckeyBuilder() { bitField0_ |= 0x00000002; onChanged(); return getCurrentSynckeyFieldBuilder().getBuilder(); } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ CurrentSynckey = 2; */ public wechat.protobuf.SKBuiltinString_OrBuilder getCurrentSynckeyOrBuilder() { if (currentSynckeyBuilder_ != null) { return currentSynckeyBuilder_.getMessageOrBuilder(); } else { return currentSynckey_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : currentSynckey_; } } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ CurrentSynckey = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getCurrentSynckeyFieldBuilder() { if (currentSynckeyBuilder_ == null) { currentSynckeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getCurrentSynckey(), getParentForChildren(), isClean()); currentSynckey_ = null; } return currentSynckeyBuilder_; } private wechat.protobuf.SKBuiltinString_ maxSynckey_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> maxSynckeyBuilder_; /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ MaxSynckey = 3; * @return Whether the maxSynckey field is set. */ public boolean hasMaxSynckey() { return ((bitField0_ & 0x00000004) != 0); } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ MaxSynckey = 3; * @return The maxSynckey. */ public wechat.protobuf.SKBuiltinString_ getMaxSynckey() { if (maxSynckeyBuilder_ == null) { return maxSynckey_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : maxSynckey_; } else { return maxSynckeyBuilder_.getMessage(); } } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ MaxSynckey = 3; */ public Builder setMaxSynckey(wechat.protobuf.SKBuiltinString_ value) { if (maxSynckeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxSynckey_ = value; onChanged(); } else { maxSynckeyBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ MaxSynckey = 3; */ public Builder setMaxSynckey( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (maxSynckeyBuilder_ == null) { maxSynckey_ = builderForValue.build(); onChanged(); } else { maxSynckeyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ MaxSynckey = 3; */ public Builder mergeMaxSynckey(wechat.protobuf.SKBuiltinString_ value) { if (maxSynckeyBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && maxSynckey_ != null && maxSynckey_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { maxSynckey_ = wechat.protobuf.SKBuiltinString_.newBuilder(maxSynckey_).mergeFrom(value).buildPartial(); } else { maxSynckey_ = value; } onChanged(); } else { maxSynckeyBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ MaxSynckey = 3; */ public Builder clearMaxSynckey() { if (maxSynckeyBuilder_ == null) { maxSynckey_ = null; onChanged(); } else { maxSynckeyBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ MaxSynckey = 3; */ public wechat.protobuf.SKBuiltinString_.Builder getMaxSynckeyBuilder() { bitField0_ |= 0x00000004; onChanged(); return getMaxSynckeyFieldBuilder().getBuilder(); } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ MaxSynckey = 3; */ public wechat.protobuf.SKBuiltinString_OrBuilder getMaxSynckeyOrBuilder() { if (maxSynckeyBuilder_ != null) { return maxSynckeyBuilder_.getMessageOrBuilder(); } else { return maxSynckey_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : maxSynckey_; } } /** *
     *二次同步需要带入
     * 
* * optional .wechat_proto.SKBuiltinString_ MaxSynckey = 3; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getMaxSynckeyFieldBuilder() { if (maxSynckeyBuilder_ == null) { maxSynckeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getMaxSynckey(), getParentForChildren(), isClean()); maxSynckey_ = null; } return maxSynckeyBuilder_; } private int continueFlag_ ; /** *
     *等于1需要继续同步
     * 
* * optional uint32 ContinueFlag = 4; * @return Whether the continueFlag field is set. */ @java.lang.Override public boolean hasContinueFlag() { return ((bitField0_ & 0x00000008) != 0); } /** *
     *等于1需要继续同步
     * 
* * optional uint32 ContinueFlag = 4; * @return The continueFlag. */ @java.lang.Override public int getContinueFlag() { return continueFlag_; } /** *
     *等于1需要继续同步
     * 
* * optional uint32 ContinueFlag = 4; * @param value The continueFlag to set. * @return This builder for chaining. */ public Builder setContinueFlag(int value) { bitField0_ |= 0x00000008; continueFlag_ = value; onChanged(); return this; } /** *
     *等于1需要继续同步
     * 
* * optional uint32 ContinueFlag = 4; * @return This builder for chaining. */ public Builder clearContinueFlag() { bitField0_ = (bitField0_ & ~0x00000008); continueFlag_ = 0; onChanged(); return this; } private int selectBitmap_ ; /** * optional uint32 SelectBitmap = 5; * @return Whether the selectBitmap field is set. */ @java.lang.Override public boolean hasSelectBitmap() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 SelectBitmap = 5; * @return The selectBitmap. */ @java.lang.Override public int getSelectBitmap() { return selectBitmap_; } /** * optional uint32 SelectBitmap = 5; * @param value The selectBitmap to set. * @return This builder for chaining. */ public Builder setSelectBitmap(int value) { bitField0_ |= 0x00000010; selectBitmap_ = value; onChanged(); return this; } /** * optional uint32 SelectBitmap = 5; * @return This builder for chaining. */ public Builder clearSelectBitmap() { bitField0_ = (bitField0_ & ~0x00000010); selectBitmap_ = 0; onChanged(); return this; } private int cmdCount_ ; /** * optional uint32 CmdCount = 6; * @return Whether the cmdCount field is set. */ @java.lang.Override public boolean hasCmdCount() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 CmdCount = 6; * @return The cmdCount. */ @java.lang.Override public int getCmdCount() { return cmdCount_; } /** * optional uint32 CmdCount = 6; * @param value The cmdCount to set. * @return This builder for chaining. */ public Builder setCmdCount(int value) { bitField0_ |= 0x00000020; cmdCount_ = value; onChanged(); return this; } /** * optional uint32 CmdCount = 6; * @return This builder for chaining. */ public Builder clearCmdCount() { bitField0_ = (bitField0_ & ~0x00000020); cmdCount_ = 0; onChanged(); return this; } private java.util.List cmdList_ = java.util.Collections.emptyList(); private void ensureCmdListIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { cmdList_ = new java.util.ArrayList(cmdList_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.CmdItem, wechat.protobuf.CmdItem.Builder, wechat.protobuf.CmdItemOrBuilder> cmdListBuilder_; /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public java.util.List getCmdListList() { if (cmdListBuilder_ == null) { return java.util.Collections.unmodifiableList(cmdList_); } else { return cmdListBuilder_.getMessageList(); } } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public int getCmdListCount() { if (cmdListBuilder_ == null) { return cmdList_.size(); } else { return cmdListBuilder_.getCount(); } } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public wechat.protobuf.CmdItem getCmdList(int index) { if (cmdListBuilder_ == null) { return cmdList_.get(index); } else { return cmdListBuilder_.getMessage(index); } } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public Builder setCmdList( int index, wechat.protobuf.CmdItem value) { if (cmdListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCmdListIsMutable(); cmdList_.set(index, value); onChanged(); } else { cmdListBuilder_.setMessage(index, value); } return this; } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public Builder setCmdList( int index, wechat.protobuf.CmdItem.Builder builderForValue) { if (cmdListBuilder_ == null) { ensureCmdListIsMutable(); cmdList_.set(index, builderForValue.build()); onChanged(); } else { cmdListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public Builder addCmdList(wechat.protobuf.CmdItem value) { if (cmdListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCmdListIsMutable(); cmdList_.add(value); onChanged(); } else { cmdListBuilder_.addMessage(value); } return this; } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public Builder addCmdList( int index, wechat.protobuf.CmdItem value) { if (cmdListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCmdListIsMutable(); cmdList_.add(index, value); onChanged(); } else { cmdListBuilder_.addMessage(index, value); } return this; } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public Builder addCmdList( wechat.protobuf.CmdItem.Builder builderForValue) { if (cmdListBuilder_ == null) { ensureCmdListIsMutable(); cmdList_.add(builderForValue.build()); onChanged(); } else { cmdListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public Builder addCmdList( int index, wechat.protobuf.CmdItem.Builder builderForValue) { if (cmdListBuilder_ == null) { ensureCmdListIsMutable(); cmdList_.add(index, builderForValue.build()); onChanged(); } else { cmdListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public Builder addAllCmdList( java.lang.Iterable values) { if (cmdListBuilder_ == null) { ensureCmdListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, cmdList_); onChanged(); } else { cmdListBuilder_.addAllMessages(values); } return this; } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public Builder clearCmdList() { if (cmdListBuilder_ == null) { cmdList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { cmdListBuilder_.clear(); } return this; } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public Builder removeCmdList(int index) { if (cmdListBuilder_ == null) { ensureCmdListIsMutable(); cmdList_.remove(index); onChanged(); } else { cmdListBuilder_.remove(index); } return this; } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public wechat.protobuf.CmdItem.Builder getCmdListBuilder( int index) { return getCmdListFieldBuilder().getBuilder(index); } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public wechat.protobuf.CmdItemOrBuilder getCmdListOrBuilder( int index) { if (cmdListBuilder_ == null) { return cmdList_.get(index); } else { return cmdListBuilder_.getMessageOrBuilder(index); } } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public java.util.List getCmdListOrBuilderList() { if (cmdListBuilder_ != null) { return cmdListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(cmdList_); } } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public wechat.protobuf.CmdItem.Builder addCmdListBuilder() { return getCmdListFieldBuilder().addBuilder( wechat.protobuf.CmdItem.getDefaultInstance()); } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public wechat.protobuf.CmdItem.Builder addCmdListBuilder( int index) { return getCmdListFieldBuilder().addBuilder( index, wechat.protobuf.CmdItem.getDefaultInstance()); } /** * repeated .wechat_proto.CmdItem CmdList = 7; */ public java.util.List getCmdListBuilderList() { return getCmdListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.CmdItem, wechat.protobuf.CmdItem.Builder, wechat.protobuf.CmdItemOrBuilder> getCmdListFieldBuilder() { if (cmdListBuilder_ == null) { cmdListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< wechat.protobuf.CmdItem, wechat.protobuf.CmdItem.Builder, wechat.protobuf.CmdItemOrBuilder>( cmdList_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); cmdList_ = null; } return cmdListBuilder_; } private int ratio_ ; /** * optional uint32 Ratio = 8; * @return Whether the ratio field is set. */ @java.lang.Override public boolean hasRatio() { return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 Ratio = 8; * @return The ratio. */ @java.lang.Override public int getRatio() { return ratio_; } /** * optional uint32 Ratio = 8; * @param value The ratio to set. * @return This builder for chaining. */ public Builder setRatio(int value) { bitField0_ |= 0x00000080; ratio_ = value; onChanged(); return this; } /** * optional uint32 Ratio = 8; * @return This builder for chaining. */ public Builder clearRatio() { bitField0_ = (bitField0_ & ~0x00000080); ratio_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:wechat_proto.NewInitResponse) } // @@protoc_insertion_point(class_scope:wechat_proto.NewInitResponse) private static final wechat.protobuf.NewInitResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.NewInitResponse(); } public static wechat.protobuf.NewInitResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NewInitResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new NewInitResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public wechat.protobuf.NewInitResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy