wechat.protobuf.NewSyncResponse Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: wechat.proto
package wechat.protobuf;
/**
* Protobuf type {@code wechat_proto.NewSyncResponse}
*/
public final class NewSyncResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.NewSyncResponse)
NewSyncResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use NewSyncResponse.newBuilder() to construct.
private NewSyncResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NewSyncResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NewSyncResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private NewSyncResponse(
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 8: {
bitField0_ |= 0x00000001;
ret_ = input.readInt32();
break;
}
case 18: {
wechat.protobuf.CmdList.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = cmdList_.toBuilder();
}
cmdList_ = input.readMessage(wechat.protobuf.CmdList.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(cmdList_);
cmdList_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 24: {
bitField0_ |= 0x00000004;
continueFlag_ = input.readUInt32();
break;
}
case 34: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) != 0)) {
subBuilder = keyBuf_.toBuilder();
}
keyBuf_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(keyBuf_);
keyBuf_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 40: {
bitField0_ |= 0x00000010;
status_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
onlineVersion_ = input.readUInt32();
break;
}
case 56: {
bitField0_ |= 0x00000040;
svrTime_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_NewSyncResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_NewSyncResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.NewSyncResponse.class, wechat.protobuf.NewSyncResponse.Builder.class);
}
private int bitField0_;
public static final int RET_FIELD_NUMBER = 1;
private int ret_;
/**
* optional int32 ret = 1;
* @return Whether the ret field is set.
*/
@java.lang.Override
public boolean hasRet() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 ret = 1;
* @return The ret.
*/
@java.lang.Override
public int getRet() {
return ret_;
}
public static final int CMDLIST_FIELD_NUMBER = 2;
private wechat.protobuf.CmdList cmdList_;
/**
* optional .wechat_proto.CmdList cmdList = 2;
* @return Whether the cmdList field is set.
*/
@java.lang.Override
public boolean hasCmdList() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
* @return The cmdList.
*/
@java.lang.Override
public wechat.protobuf.CmdList getCmdList() {
return cmdList_ == null ? wechat.protobuf.CmdList.getDefaultInstance() : cmdList_;
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
@java.lang.Override
public wechat.protobuf.CmdListOrBuilder getCmdListOrBuilder() {
return cmdList_ == null ? wechat.protobuf.CmdList.getDefaultInstance() : cmdList_;
}
public static final int CONTINUEFLAG_FIELD_NUMBER = 3;
private int continueFlag_;
/**
* optional uint32 continueFlag = 3;
* @return Whether the continueFlag field is set.
*/
@java.lang.Override
public boolean hasContinueFlag() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 continueFlag = 3;
* @return The continueFlag.
*/
@java.lang.Override
public int getContinueFlag() {
return continueFlag_;
}
public static final int KEYBUF_FIELD_NUMBER = 4;
private wechat.protobuf.SKBuiltinString_ keyBuf_;
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 4;
* @return Whether the keyBuf field is set.
*/
@java.lang.Override
public boolean hasKeyBuf() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 4;
* @return The keyBuf.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getKeyBuf() {
return keyBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : keyBuf_;
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 4;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getKeyBufOrBuilder() {
return keyBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : keyBuf_;
}
public static final int STATUS_FIELD_NUMBER = 5;
private int status_;
/**
* optional uint32 status = 5;
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 status = 5;
* @return The status.
*/
@java.lang.Override
public int getStatus() {
return status_;
}
public static final int ONLINEVERSION_FIELD_NUMBER = 6;
private int onlineVersion_;
/**
* optional uint32 onlineVersion = 6;
* @return Whether the onlineVersion field is set.
*/
@java.lang.Override
public boolean hasOnlineVersion() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 onlineVersion = 6;
* @return The onlineVersion.
*/
@java.lang.Override
public int getOnlineVersion() {
return onlineVersion_;
}
public static final int SVRTIME_FIELD_NUMBER = 7;
private int svrTime_;
/**
* optional uint32 svrTime = 7;
* @return Whether the svrTime field is set.
*/
@java.lang.Override
public boolean hasSvrTime() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 svrTime = 7;
* @return The svrTime.
*/
@java.lang.Override
public int getSvrTime() {
return svrTime_;
}
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.writeInt32(1, ret_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getCmdList());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, continueFlag_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getKeyBuf());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, status_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt32(6, onlineVersion_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeUInt32(7, svrTime_);
}
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
.computeInt32Size(1, ret_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getCmdList());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, continueFlag_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getKeyBuf());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, status_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, onlineVersion_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, svrTime_);
}
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.NewSyncResponse)) {
return super.equals(obj);
}
wechat.protobuf.NewSyncResponse other = (wechat.protobuf.NewSyncResponse) obj;
if (hasRet() != other.hasRet()) return false;
if (hasRet()) {
if (getRet()
!= other.getRet()) return false;
}
if (hasCmdList() != other.hasCmdList()) return false;
if (hasCmdList()) {
if (!getCmdList()
.equals(other.getCmdList())) return false;
}
if (hasContinueFlag() != other.hasContinueFlag()) return false;
if (hasContinueFlag()) {
if (getContinueFlag()
!= other.getContinueFlag()) return false;
}
if (hasKeyBuf() != other.hasKeyBuf()) return false;
if (hasKeyBuf()) {
if (!getKeyBuf()
.equals(other.getKeyBuf())) return false;
}
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (getStatus()
!= other.getStatus()) return false;
}
if (hasOnlineVersion() != other.hasOnlineVersion()) return false;
if (hasOnlineVersion()) {
if (getOnlineVersion()
!= other.getOnlineVersion()) return false;
}
if (hasSvrTime() != other.hasSvrTime()) return false;
if (hasSvrTime()) {
if (getSvrTime()
!= other.getSvrTime()) 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 (hasRet()) {
hash = (37 * hash) + RET_FIELD_NUMBER;
hash = (53 * hash) + getRet();
}
if (hasCmdList()) {
hash = (37 * hash) + CMDLIST_FIELD_NUMBER;
hash = (53 * hash) + getCmdList().hashCode();
}
if (hasContinueFlag()) {
hash = (37 * hash) + CONTINUEFLAG_FIELD_NUMBER;
hash = (53 * hash) + getContinueFlag();
}
if (hasKeyBuf()) {
hash = (37 * hash) + KEYBUF_FIELD_NUMBER;
hash = (53 * hash) + getKeyBuf().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus();
}
if (hasOnlineVersion()) {
hash = (37 * hash) + ONLINEVERSION_FIELD_NUMBER;
hash = (53 * hash) + getOnlineVersion();
}
if (hasSvrTime()) {
hash = (37 * hash) + SVRTIME_FIELD_NUMBER;
hash = (53 * hash) + getSvrTime();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.NewSyncResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.NewSyncResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.NewSyncResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.NewSyncResponse 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.NewSyncResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.NewSyncResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.NewSyncResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.NewSyncResponse 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.NewSyncResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.NewSyncResponse 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.NewSyncResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.NewSyncResponse 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.NewSyncResponse 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.NewSyncResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.NewSyncResponse)
wechat.protobuf.NewSyncResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_NewSyncResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_NewSyncResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.NewSyncResponse.class, wechat.protobuf.NewSyncResponse.Builder.class);
}
// Construct using wechat.protobuf.NewSyncResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getCmdListFieldBuilder();
getKeyBufFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
ret_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
if (cmdListBuilder_ == null) {
cmdList_ = null;
} else {
cmdListBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
continueFlag_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
if (keyBufBuilder_ == null) {
keyBuf_ = null;
} else {
keyBufBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
status_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
onlineVersion_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
svrTime_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_NewSyncResponse_descriptor;
}
@java.lang.Override
public wechat.protobuf.NewSyncResponse getDefaultInstanceForType() {
return wechat.protobuf.NewSyncResponse.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.NewSyncResponse build() {
wechat.protobuf.NewSyncResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.NewSyncResponse buildPartial() {
wechat.protobuf.NewSyncResponse result = new wechat.protobuf.NewSyncResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.ret_ = ret_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
if (cmdListBuilder_ == null) {
result.cmdList_ = cmdList_;
} else {
result.cmdList_ = cmdListBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.continueFlag_ = continueFlag_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
if (keyBufBuilder_ == null) {
result.keyBuf_ = keyBuf_;
} else {
result.keyBuf_ = keyBufBuilder_.build();
}
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.status_ = status_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.onlineVersion_ = onlineVersion_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.svrTime_ = svrTime_;
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.NewSyncResponse) {
return mergeFrom((wechat.protobuf.NewSyncResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.NewSyncResponse other) {
if (other == wechat.protobuf.NewSyncResponse.getDefaultInstance()) return this;
if (other.hasRet()) {
setRet(other.getRet());
}
if (other.hasCmdList()) {
mergeCmdList(other.getCmdList());
}
if (other.hasContinueFlag()) {
setContinueFlag(other.getContinueFlag());
}
if (other.hasKeyBuf()) {
mergeKeyBuf(other.getKeyBuf());
}
if (other.hasStatus()) {
setStatus(other.getStatus());
}
if (other.hasOnlineVersion()) {
setOnlineVersion(other.getOnlineVersion());
}
if (other.hasSvrTime()) {
setSvrTime(other.getSvrTime());
}
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.NewSyncResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.NewSyncResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int ret_ ;
/**
* optional int32 ret = 1;
* @return Whether the ret field is set.
*/
@java.lang.Override
public boolean hasRet() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 ret = 1;
* @return The ret.
*/
@java.lang.Override
public int getRet() {
return ret_;
}
/**
* optional int32 ret = 1;
* @param value The ret to set.
* @return This builder for chaining.
*/
public Builder setRet(int value) {
bitField0_ |= 0x00000001;
ret_ = value;
onChanged();
return this;
}
/**
* optional int32 ret = 1;
* @return This builder for chaining.
*/
public Builder clearRet() {
bitField0_ = (bitField0_ & ~0x00000001);
ret_ = 0;
onChanged();
return this;
}
private wechat.protobuf.CmdList cmdList_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CmdList, wechat.protobuf.CmdList.Builder, wechat.protobuf.CmdListOrBuilder> cmdListBuilder_;
/**
* optional .wechat_proto.CmdList cmdList = 2;
* @return Whether the cmdList field is set.
*/
public boolean hasCmdList() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
* @return The cmdList.
*/
public wechat.protobuf.CmdList getCmdList() {
if (cmdListBuilder_ == null) {
return cmdList_ == null ? wechat.protobuf.CmdList.getDefaultInstance() : cmdList_;
} else {
return cmdListBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
public Builder setCmdList(wechat.protobuf.CmdList value) {
if (cmdListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
cmdList_ = value;
onChanged();
} else {
cmdListBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
public Builder setCmdList(
wechat.protobuf.CmdList.Builder builderForValue) {
if (cmdListBuilder_ == null) {
cmdList_ = builderForValue.build();
onChanged();
} else {
cmdListBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
public Builder mergeCmdList(wechat.protobuf.CmdList value) {
if (cmdListBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
cmdList_ != null &&
cmdList_ != wechat.protobuf.CmdList.getDefaultInstance()) {
cmdList_ =
wechat.protobuf.CmdList.newBuilder(cmdList_).mergeFrom(value).buildPartial();
} else {
cmdList_ = value;
}
onChanged();
} else {
cmdListBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
public Builder clearCmdList() {
if (cmdListBuilder_ == null) {
cmdList_ = null;
onChanged();
} else {
cmdListBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
public wechat.protobuf.CmdList.Builder getCmdListBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getCmdListFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
public wechat.protobuf.CmdListOrBuilder getCmdListOrBuilder() {
if (cmdListBuilder_ != null) {
return cmdListBuilder_.getMessageOrBuilder();
} else {
return cmdList_ == null ?
wechat.protobuf.CmdList.getDefaultInstance() : cmdList_;
}
}
/**
* optional .wechat_proto.CmdList cmdList = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CmdList, wechat.protobuf.CmdList.Builder, wechat.protobuf.CmdListOrBuilder>
getCmdListFieldBuilder() {
if (cmdListBuilder_ == null) {
cmdListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CmdList, wechat.protobuf.CmdList.Builder, wechat.protobuf.CmdListOrBuilder>(
getCmdList(),
getParentForChildren(),
isClean());
cmdList_ = null;
}
return cmdListBuilder_;
}
private int continueFlag_ ;
/**
* optional uint32 continueFlag = 3;
* @return Whether the continueFlag field is set.
*/
@java.lang.Override
public boolean hasContinueFlag() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 continueFlag = 3;
* @return The continueFlag.
*/
@java.lang.Override
public int getContinueFlag() {
return continueFlag_;
}
/**
* optional uint32 continueFlag = 3;
* @param value The continueFlag to set.
* @return This builder for chaining.
*/
public Builder setContinueFlag(int value) {
bitField0_ |= 0x00000004;
continueFlag_ = value;
onChanged();
return this;
}
/**
* optional uint32 continueFlag = 3;
* @return This builder for chaining.
*/
public Builder clearContinueFlag() {
bitField0_ = (bitField0_ & ~0x00000004);
continueFlag_ = 0;
onChanged();
return this;
}
private wechat.protobuf.SKBuiltinString_ keyBuf_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> keyBufBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 4;
* @return Whether the keyBuf field is set.
*/
public boolean hasKeyBuf() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 4;
* @return The keyBuf.
*/
public wechat.protobuf.SKBuiltinString_ getKeyBuf() {
if (keyBufBuilder_ == null) {
return keyBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : keyBuf_;
} else {
return keyBufBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 4;
*/
public Builder setKeyBuf(wechat.protobuf.SKBuiltinString_ value) {
if (keyBufBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
keyBuf_ = value;
onChanged();
} else {
keyBufBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 4;
*/
public Builder setKeyBuf(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (keyBufBuilder_ == null) {
keyBuf_ = builderForValue.build();
onChanged();
} else {
keyBufBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 4;
*/
public Builder mergeKeyBuf(wechat.protobuf.SKBuiltinString_ value) {
if (keyBufBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
keyBuf_ != null &&
keyBuf_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
keyBuf_ =
wechat.protobuf.SKBuiltinString_.newBuilder(keyBuf_).mergeFrom(value).buildPartial();
} else {
keyBuf_ = value;
}
onChanged();
} else {
keyBufBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 4;
*/
public Builder clearKeyBuf() {
if (keyBufBuilder_ == null) {
keyBuf_ = null;
onChanged();
} else {
keyBufBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 4;
*/
public wechat.protobuf.SKBuiltinString_.Builder getKeyBufBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getKeyBufFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 4;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getKeyBufOrBuilder() {
if (keyBufBuilder_ != null) {
return keyBufBuilder_.getMessageOrBuilder();
} else {
return keyBuf_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : keyBuf_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ keyBuf = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getKeyBufFieldBuilder() {
if (keyBufBuilder_ == null) {
keyBufBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getKeyBuf(),
getParentForChildren(),
isClean());
keyBuf_ = null;
}
return keyBufBuilder_;
}
private int status_ ;
/**
* optional uint32 status = 5;
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 status = 5;
* @return The status.
*/
@java.lang.Override
public int getStatus() {
return status_;
}
/**
* optional uint32 status = 5;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(int value) {
bitField0_ |= 0x00000010;
status_ = value;
onChanged();
return this;
}
/**
* optional uint32 status = 5;
* @return This builder for chaining.
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000010);
status_ = 0;
onChanged();
return this;
}
private int onlineVersion_ ;
/**
* optional uint32 onlineVersion = 6;
* @return Whether the onlineVersion field is set.
*/
@java.lang.Override
public boolean hasOnlineVersion() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 onlineVersion = 6;
* @return The onlineVersion.
*/
@java.lang.Override
public int getOnlineVersion() {
return onlineVersion_;
}
/**
* optional uint32 onlineVersion = 6;
* @param value The onlineVersion to set.
* @return This builder for chaining.
*/
public Builder setOnlineVersion(int value) {
bitField0_ |= 0x00000020;
onlineVersion_ = value;
onChanged();
return this;
}
/**
* optional uint32 onlineVersion = 6;
* @return This builder for chaining.
*/
public Builder clearOnlineVersion() {
bitField0_ = (bitField0_ & ~0x00000020);
onlineVersion_ = 0;
onChanged();
return this;
}
private int svrTime_ ;
/**
* optional uint32 svrTime = 7;
* @return Whether the svrTime field is set.
*/
@java.lang.Override
public boolean hasSvrTime() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 svrTime = 7;
* @return The svrTime.
*/
@java.lang.Override
public int getSvrTime() {
return svrTime_;
}
/**
* optional uint32 svrTime = 7;
* @param value The svrTime to set.
* @return This builder for chaining.
*/
public Builder setSvrTime(int value) {
bitField0_ |= 0x00000040;
svrTime_ = value;
onChanged();
return this;
}
/**
* optional uint32 svrTime = 7;
* @return This builder for chaining.
*/
public Builder clearSvrTime() {
bitField0_ = (bitField0_ & ~0x00000040);
svrTime_ = 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.NewSyncResponse)
}
// @@protoc_insertion_point(class_scope:wechat_proto.NewSyncResponse)
private static final wechat.protobuf.NewSyncResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.NewSyncResponse();
}
public static wechat.protobuf.NewSyncResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public NewSyncResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NewSyncResponse(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.NewSyncResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy