
wechat.protobuf.GetMsgImgResponse Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: wechat.proto
package wechat.protobuf;
/**
* Protobuf type {@code wechat_proto.GetMsgImgResponse}
*/
public final class GetMsgImgResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.GetMsgImgResponse)
GetMsgImgResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetMsgImgResponse.newBuilder() to construct.
private GetMsgImgResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetMsgImgResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetMsgImgResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetMsgImgResponse(
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 16: {
bitField0_ |= 0x00000002;
msgId_ = input.readUInt32();
break;
}
case 26: {
wechat.protobuf.SKBuiltinString.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = fromUserName_.toBuilder();
}
fromUserName_ = input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(fromUserName_);
fromUserName_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 34: {
wechat.protobuf.SKBuiltinString.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) != 0)) {
subBuilder = toUserName_.toBuilder();
}
toUserName_ = input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(toUserName_);
toUserName_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 40: {
bitField0_ |= 0x00000010;
totalLen_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
startPos_ = input.readUInt32();
break;
}
case 56: {
bitField0_ |= 0x00000040;
dataLen_ = input.readUInt32();
break;
}
case 66: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00000080) != 0)) {
subBuilder = data_.toBuilder();
}
data_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(data_);
data_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000080;
break;
}
case 72: {
bitField0_ |= 0x00000100;
newMsgId_ = input.readUInt64();
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_GetMsgImgResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_GetMsgImgResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.GetMsgImgResponse.class, wechat.protobuf.GetMsgImgResponse.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 MSGID_FIELD_NUMBER = 2;
private int msgId_;
/**
* optional uint32 msgId = 2;
* @return Whether the msgId field is set.
*/
@java.lang.Override
public boolean hasMsgId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 msgId = 2;
* @return The msgId.
*/
@java.lang.Override
public int getMsgId() {
return msgId_;
}
public static final int FROMUSERNAME_FIELD_NUMBER = 3;
private wechat.protobuf.SKBuiltinString fromUserName_;
/**
* optional .wechat_proto.SKBuiltinString fromUserName = 3;
* @return Whether the fromUserName field is set.
*/
@java.lang.Override
public boolean hasFromUserName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString fromUserName = 3;
* @return The fromUserName.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString getFromUserName() {
return fromUserName_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : fromUserName_;
}
/**
* optional .wechat_proto.SKBuiltinString fromUserName = 3;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinStringOrBuilder getFromUserNameOrBuilder() {
return fromUserName_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : fromUserName_;
}
public static final int TOUSERNAME_FIELD_NUMBER = 4;
private wechat.protobuf.SKBuiltinString toUserName_;
/**
* optional .wechat_proto.SKBuiltinString toUserName = 4;
* @return Whether the toUserName field is set.
*/
@java.lang.Override
public boolean hasToUserName() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString toUserName = 4;
* @return The toUserName.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString getToUserName() {
return toUserName_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : toUserName_;
}
/**
* optional .wechat_proto.SKBuiltinString toUserName = 4;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinStringOrBuilder getToUserNameOrBuilder() {
return toUserName_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : toUserName_;
}
public static final int TOTALLEN_FIELD_NUMBER = 5;
private int totalLen_;
/**
* optional uint32 totalLen = 5;
* @return Whether the totalLen field is set.
*/
@java.lang.Override
public boolean hasTotalLen() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 totalLen = 5;
* @return The totalLen.
*/
@java.lang.Override
public int getTotalLen() {
return totalLen_;
}
public static final int STARTPOS_FIELD_NUMBER = 6;
private int startPos_;
/**
* optional uint32 startPos = 6;
* @return Whether the startPos field is set.
*/
@java.lang.Override
public boolean hasStartPos() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 startPos = 6;
* @return The startPos.
*/
@java.lang.Override
public int getStartPos() {
return startPos_;
}
public static final int DATALEN_FIELD_NUMBER = 7;
private int dataLen_;
/**
* optional uint32 dataLen = 7;
* @return Whether the dataLen field is set.
*/
@java.lang.Override
public boolean hasDataLen() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 dataLen = 7;
* @return The dataLen.
*/
@java.lang.Override
public int getDataLen() {
return dataLen_;
}
public static final int DATA_FIELD_NUMBER = 8;
private wechat.protobuf.SKBuiltinString_ data_;
/**
* optional .wechat_proto.SKBuiltinString_ data = 8;
* @return Whether the data field is set.
*/
@java.lang.Override
public boolean hasData() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ data = 8;
* @return The data.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getData() {
return data_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : data_;
}
/**
* optional .wechat_proto.SKBuiltinString_ data = 8;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getDataOrBuilder() {
return data_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : data_;
}
public static final int NEWMSGID_FIELD_NUMBER = 9;
private long newMsgId_;
/**
* optional uint64 newMsgId = 9;
* @return Whether the newMsgId field is set.
*/
@java.lang.Override
public boolean hasNewMsgId() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional uint64 newMsgId = 9;
* @return The newMsgId.
*/
@java.lang.Override
public long getNewMsgId() {
return newMsgId_;
}
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.writeUInt32(2, msgId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getFromUserName());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getToUserName());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, totalLen_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt32(6, startPos_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeUInt32(7, dataLen_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeMessage(8, getData());
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeUInt64(9, newMsgId_);
}
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
.computeUInt32Size(2, msgId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getFromUserName());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getToUserName());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, totalLen_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, startPos_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, dataLen_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getData());
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(9, newMsgId_);
}
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.GetMsgImgResponse)) {
return super.equals(obj);
}
wechat.protobuf.GetMsgImgResponse other = (wechat.protobuf.GetMsgImgResponse) obj;
if (hasBaseResponse() != other.hasBaseResponse()) return false;
if (hasBaseResponse()) {
if (!getBaseResponse()
.equals(other.getBaseResponse())) return false;
}
if (hasMsgId() != other.hasMsgId()) return false;
if (hasMsgId()) {
if (getMsgId()
!= other.getMsgId()) return false;
}
if (hasFromUserName() != other.hasFromUserName()) return false;
if (hasFromUserName()) {
if (!getFromUserName()
.equals(other.getFromUserName())) return false;
}
if (hasToUserName() != other.hasToUserName()) return false;
if (hasToUserName()) {
if (!getToUserName()
.equals(other.getToUserName())) return false;
}
if (hasTotalLen() != other.hasTotalLen()) return false;
if (hasTotalLen()) {
if (getTotalLen()
!= other.getTotalLen()) return false;
}
if (hasStartPos() != other.hasStartPos()) return false;
if (hasStartPos()) {
if (getStartPos()
!= other.getStartPos()) return false;
}
if (hasDataLen() != other.hasDataLen()) return false;
if (hasDataLen()) {
if (getDataLen()
!= other.getDataLen()) return false;
}
if (hasData() != other.hasData()) return false;
if (hasData()) {
if (!getData()
.equals(other.getData())) return false;
}
if (hasNewMsgId() != other.hasNewMsgId()) return false;
if (hasNewMsgId()) {
if (getNewMsgId()
!= other.getNewMsgId()) 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 (hasMsgId()) {
hash = (37 * hash) + MSGID_FIELD_NUMBER;
hash = (53 * hash) + getMsgId();
}
if (hasFromUserName()) {
hash = (37 * hash) + FROMUSERNAME_FIELD_NUMBER;
hash = (53 * hash) + getFromUserName().hashCode();
}
if (hasToUserName()) {
hash = (37 * hash) + TOUSERNAME_FIELD_NUMBER;
hash = (53 * hash) + getToUserName().hashCode();
}
if (hasTotalLen()) {
hash = (37 * hash) + TOTALLEN_FIELD_NUMBER;
hash = (53 * hash) + getTotalLen();
}
if (hasStartPos()) {
hash = (37 * hash) + STARTPOS_FIELD_NUMBER;
hash = (53 * hash) + getStartPos();
}
if (hasDataLen()) {
hash = (37 * hash) + DATALEN_FIELD_NUMBER;
hash = (53 * hash) + getDataLen();
}
if (hasData()) {
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getData().hashCode();
}
if (hasNewMsgId()) {
hash = (37 * hash) + NEWMSGID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNewMsgId());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.GetMsgImgResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.GetMsgImgResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.GetMsgImgResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.GetMsgImgResponse 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.GetMsgImgResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.GetMsgImgResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.GetMsgImgResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.GetMsgImgResponse 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.GetMsgImgResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.GetMsgImgResponse 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.GetMsgImgResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.GetMsgImgResponse 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.GetMsgImgResponse 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.GetMsgImgResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.GetMsgImgResponse)
wechat.protobuf.GetMsgImgResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_GetMsgImgResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_GetMsgImgResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.GetMsgImgResponse.class, wechat.protobuf.GetMsgImgResponse.Builder.class);
}
// Construct using wechat.protobuf.GetMsgImgResponse.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();
getFromUserNameFieldBuilder();
getToUserNameFieldBuilder();
getDataFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseResponseBuilder_ == null) {
baseResponse_ = null;
} else {
baseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
msgId_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (fromUserNameBuilder_ == null) {
fromUserName_ = null;
} else {
fromUserNameBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (toUserNameBuilder_ == null) {
toUserName_ = null;
} else {
toUserNameBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
totalLen_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
startPos_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
dataLen_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
if (dataBuilder_ == null) {
data_ = null;
} else {
dataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
newMsgId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_GetMsgImgResponse_descriptor;
}
@java.lang.Override
public wechat.protobuf.GetMsgImgResponse getDefaultInstanceForType() {
return wechat.protobuf.GetMsgImgResponse.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.GetMsgImgResponse build() {
wechat.protobuf.GetMsgImgResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.GetMsgImgResponse buildPartial() {
wechat.protobuf.GetMsgImgResponse result = new wechat.protobuf.GetMsgImgResponse(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)) {
result.msgId_ = msgId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
if (fromUserNameBuilder_ == null) {
result.fromUserName_ = fromUserName_;
} else {
result.fromUserName_ = fromUserNameBuilder_.build();
}
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
if (toUserNameBuilder_ == null) {
result.toUserName_ = toUserName_;
} else {
result.toUserName_ = toUserNameBuilder_.build();
}
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.totalLen_ = totalLen_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.startPos_ = startPos_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.dataLen_ = dataLen_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
if (dataBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = dataBuilder_.build();
}
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.newMsgId_ = newMsgId_;
to_bitField0_ |= 0x00000100;
}
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.GetMsgImgResponse) {
return mergeFrom((wechat.protobuf.GetMsgImgResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.GetMsgImgResponse other) {
if (other == wechat.protobuf.GetMsgImgResponse.getDefaultInstance()) return this;
if (other.hasBaseResponse()) {
mergeBaseResponse(other.getBaseResponse());
}
if (other.hasMsgId()) {
setMsgId(other.getMsgId());
}
if (other.hasFromUserName()) {
mergeFromUserName(other.getFromUserName());
}
if (other.hasToUserName()) {
mergeToUserName(other.getToUserName());
}
if (other.hasTotalLen()) {
setTotalLen(other.getTotalLen());
}
if (other.hasStartPos()) {
setStartPos(other.getStartPos());
}
if (other.hasDataLen()) {
setDataLen(other.getDataLen());
}
if (other.hasData()) {
mergeData(other.getData());
}
if (other.hasNewMsgId()) {
setNewMsgId(other.getNewMsgId());
}
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.GetMsgImgResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.GetMsgImgResponse) 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 int msgId_ ;
/**
* optional uint32 msgId = 2;
* @return Whether the msgId field is set.
*/
@java.lang.Override
public boolean hasMsgId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 msgId = 2;
* @return The msgId.
*/
@java.lang.Override
public int getMsgId() {
return msgId_;
}
/**
* optional uint32 msgId = 2;
* @param value The msgId to set.
* @return This builder for chaining.
*/
public Builder setMsgId(int value) {
bitField0_ |= 0x00000002;
msgId_ = value;
onChanged();
return this;
}
/**
* optional uint32 msgId = 2;
* @return This builder for chaining.
*/
public Builder clearMsgId() {
bitField0_ = (bitField0_ & ~0x00000002);
msgId_ = 0;
onChanged();
return this;
}
private wechat.protobuf.SKBuiltinString fromUserName_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> fromUserNameBuilder_;
/**
* optional .wechat_proto.SKBuiltinString fromUserName = 3;
* @return Whether the fromUserName field is set.
*/
public boolean hasFromUserName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString fromUserName = 3;
* @return The fromUserName.
*/
public wechat.protobuf.SKBuiltinString getFromUserName() {
if (fromUserNameBuilder_ == null) {
return fromUserName_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : fromUserName_;
} else {
return fromUserNameBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString fromUserName = 3;
*/
public Builder setFromUserName(wechat.protobuf.SKBuiltinString value) {
if (fromUserNameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fromUserName_ = value;
onChanged();
} else {
fromUserNameBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString fromUserName = 3;
*/
public Builder setFromUserName(
wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (fromUserNameBuilder_ == null) {
fromUserName_ = builderForValue.build();
onChanged();
} else {
fromUserNameBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString fromUserName = 3;
*/
public Builder mergeFromUserName(wechat.protobuf.SKBuiltinString value) {
if (fromUserNameBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
fromUserName_ != null &&
fromUserName_ != wechat.protobuf.SKBuiltinString.getDefaultInstance()) {
fromUserName_ =
wechat.protobuf.SKBuiltinString.newBuilder(fromUserName_).mergeFrom(value).buildPartial();
} else {
fromUserName_ = value;
}
onChanged();
} else {
fromUserNameBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString fromUserName = 3;
*/
public Builder clearFromUserName() {
if (fromUserNameBuilder_ == null) {
fromUserName_ = null;
onChanged();
} else {
fromUserNameBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString fromUserName = 3;
*/
public wechat.protobuf.SKBuiltinString.Builder getFromUserNameBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getFromUserNameFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString fromUserName = 3;
*/
public wechat.protobuf.SKBuiltinStringOrBuilder getFromUserNameOrBuilder() {
if (fromUserNameBuilder_ != null) {
return fromUserNameBuilder_.getMessageOrBuilder();
} else {
return fromUserName_ == null ?
wechat.protobuf.SKBuiltinString.getDefaultInstance() : fromUserName_;
}
}
/**
* optional .wechat_proto.SKBuiltinString fromUserName = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>
getFromUserNameFieldBuilder() {
if (fromUserNameBuilder_ == null) {
fromUserNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>(
getFromUserName(),
getParentForChildren(),
isClean());
fromUserName_ = null;
}
return fromUserNameBuilder_;
}
private wechat.protobuf.SKBuiltinString toUserName_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> toUserNameBuilder_;
/**
* optional .wechat_proto.SKBuiltinString toUserName = 4;
* @return Whether the toUserName field is set.
*/
public boolean hasToUserName() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString toUserName = 4;
* @return The toUserName.
*/
public wechat.protobuf.SKBuiltinString getToUserName() {
if (toUserNameBuilder_ == null) {
return toUserName_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : toUserName_;
} else {
return toUserNameBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString toUserName = 4;
*/
public Builder setToUserName(wechat.protobuf.SKBuiltinString value) {
if (toUserNameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
toUserName_ = value;
onChanged();
} else {
toUserNameBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString toUserName = 4;
*/
public Builder setToUserName(
wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (toUserNameBuilder_ == null) {
toUserName_ = builderForValue.build();
onChanged();
} else {
toUserNameBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString toUserName = 4;
*/
public Builder mergeToUserName(wechat.protobuf.SKBuiltinString value) {
if (toUserNameBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
toUserName_ != null &&
toUserName_ != wechat.protobuf.SKBuiltinString.getDefaultInstance()) {
toUserName_ =
wechat.protobuf.SKBuiltinString.newBuilder(toUserName_).mergeFrom(value).buildPartial();
} else {
toUserName_ = value;
}
onChanged();
} else {
toUserNameBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString toUserName = 4;
*/
public Builder clearToUserName() {
if (toUserNameBuilder_ == null) {
toUserName_ = null;
onChanged();
} else {
toUserNameBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString toUserName = 4;
*/
public wechat.protobuf.SKBuiltinString.Builder getToUserNameBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getToUserNameFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString toUserName = 4;
*/
public wechat.protobuf.SKBuiltinStringOrBuilder getToUserNameOrBuilder() {
if (toUserNameBuilder_ != null) {
return toUserNameBuilder_.getMessageOrBuilder();
} else {
return toUserName_ == null ?
wechat.protobuf.SKBuiltinString.getDefaultInstance() : toUserName_;
}
}
/**
* optional .wechat_proto.SKBuiltinString toUserName = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>
getToUserNameFieldBuilder() {
if (toUserNameBuilder_ == null) {
toUserNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>(
getToUserName(),
getParentForChildren(),
isClean());
toUserName_ = null;
}
return toUserNameBuilder_;
}
private int totalLen_ ;
/**
* optional uint32 totalLen = 5;
* @return Whether the totalLen field is set.
*/
@java.lang.Override
public boolean hasTotalLen() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 totalLen = 5;
* @return The totalLen.
*/
@java.lang.Override
public int getTotalLen() {
return totalLen_;
}
/**
* optional uint32 totalLen = 5;
* @param value The totalLen to set.
* @return This builder for chaining.
*/
public Builder setTotalLen(int value) {
bitField0_ |= 0x00000010;
totalLen_ = value;
onChanged();
return this;
}
/**
* optional uint32 totalLen = 5;
* @return This builder for chaining.
*/
public Builder clearTotalLen() {
bitField0_ = (bitField0_ & ~0x00000010);
totalLen_ = 0;
onChanged();
return this;
}
private int startPos_ ;
/**
* optional uint32 startPos = 6;
* @return Whether the startPos field is set.
*/
@java.lang.Override
public boolean hasStartPos() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 startPos = 6;
* @return The startPos.
*/
@java.lang.Override
public int getStartPos() {
return startPos_;
}
/**
* optional uint32 startPos = 6;
* @param value The startPos to set.
* @return This builder for chaining.
*/
public Builder setStartPos(int value) {
bitField0_ |= 0x00000020;
startPos_ = value;
onChanged();
return this;
}
/**
* optional uint32 startPos = 6;
* @return This builder for chaining.
*/
public Builder clearStartPos() {
bitField0_ = (bitField0_ & ~0x00000020);
startPos_ = 0;
onChanged();
return this;
}
private int dataLen_ ;
/**
* optional uint32 dataLen = 7;
* @return Whether the dataLen field is set.
*/
@java.lang.Override
public boolean hasDataLen() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 dataLen = 7;
* @return The dataLen.
*/
@java.lang.Override
public int getDataLen() {
return dataLen_;
}
/**
* optional uint32 dataLen = 7;
* @param value The dataLen to set.
* @return This builder for chaining.
*/
public Builder setDataLen(int value) {
bitField0_ |= 0x00000040;
dataLen_ = value;
onChanged();
return this;
}
/**
* optional uint32 dataLen = 7;
* @return This builder for chaining.
*/
public Builder clearDataLen() {
bitField0_ = (bitField0_ & ~0x00000040);
dataLen_ = 0;
onChanged();
return this;
}
private wechat.protobuf.SKBuiltinString_ data_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> dataBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ data = 8;
* @return Whether the data field is set.
*/
public boolean hasData() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ data = 8;
* @return The data.
*/
public wechat.protobuf.SKBuiltinString_ getData() {
if (dataBuilder_ == null) {
return data_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : data_;
} else {
return dataBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ data = 8;
*/
public Builder setData(wechat.protobuf.SKBuiltinString_ value) {
if (dataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
dataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ data = 8;
*/
public Builder setData(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (dataBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
dataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ data = 8;
*/
public Builder mergeData(wechat.protobuf.SKBuiltinString_ value) {
if (dataBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0) &&
data_ != null &&
data_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
data_ =
wechat.protobuf.SKBuiltinString_.newBuilder(data_).mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
dataBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ data = 8;
*/
public Builder clearData() {
if (dataBuilder_ == null) {
data_ = null;
onChanged();
} else {
dataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ data = 8;
*/
public wechat.protobuf.SKBuiltinString_.Builder getDataBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getDataFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ data = 8;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getDataOrBuilder() {
if (dataBuilder_ != null) {
return dataBuilder_.getMessageOrBuilder();
} else {
return data_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : data_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ data = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getDataFieldBuilder() {
if (dataBuilder_ == null) {
dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getData(),
getParentForChildren(),
isClean());
data_ = null;
}
return dataBuilder_;
}
private long newMsgId_ ;
/**
* optional uint64 newMsgId = 9;
* @return Whether the newMsgId field is set.
*/
@java.lang.Override
public boolean hasNewMsgId() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional uint64 newMsgId = 9;
* @return The newMsgId.
*/
@java.lang.Override
public long getNewMsgId() {
return newMsgId_;
}
/**
* optional uint64 newMsgId = 9;
* @param value The newMsgId to set.
* @return This builder for chaining.
*/
public Builder setNewMsgId(long value) {
bitField0_ |= 0x00000100;
newMsgId_ = value;
onChanged();
return this;
}
/**
* optional uint64 newMsgId = 9;
* @return This builder for chaining.
*/
public Builder clearNewMsgId() {
bitField0_ = (bitField0_ & ~0x00000100);
newMsgId_ = 0L;
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.GetMsgImgResponse)
}
// @@protoc_insertion_point(class_scope:wechat_proto.GetMsgImgResponse)
private static final wechat.protobuf.GetMsgImgResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.GetMsgImgResponse();
}
public static wechat.protobuf.GetMsgImgResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetMsgImgResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetMsgImgResponse(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.GetMsgImgResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy