Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
wechat.protobuf.Friendgroup Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: friendgroup.proto
package wechat.protobuf;
public final class Friendgroup {
private Friendgroup() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface SnsUserPageRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsUserPageRequest)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
boolean hasBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
wechat.protobuf.BaseRequest getBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder();
/**
* optional string firstPageMd5 = 2;
* @return Whether the firstPageMd5 field is set.
*/
boolean hasFirstPageMd5();
/**
* optional string firstPageMd5 = 2;
* @return The firstPageMd5.
*/
java.lang.String getFirstPageMd5();
/**
* optional string firstPageMd5 = 2;
* @return The bytes for firstPageMd5.
*/
com.google.protobuf.ByteString
getFirstPageMd5Bytes();
/**
* optional string username = 3;
* @return Whether the username field is set.
*/
boolean hasUsername();
/**
* optional string username = 3;
* @return The username.
*/
java.lang.String getUsername();
/**
* optional string username = 3;
* @return The bytes for username.
*/
com.google.protobuf.ByteString
getUsernameBytes();
/**
* optional uint64 maxId = 4;
* @return Whether the maxId field is set.
*/
boolean hasMaxId();
/**
* optional uint64 maxId = 4;
* @return The maxId.
*/
long getMaxId();
/**
* optional uint32 source = 5;
* @return Whether the source field is set.
*/
boolean hasSource();
/**
* optional uint32 source = 5;
* @return The source.
*/
int getSource();
/**
* optional uint64 minFilterId = 6;
* @return Whether the minFilterId field is set.
*/
boolean hasMinFilterId();
/**
* optional uint64 minFilterId = 6;
* @return The minFilterId.
*/
long getMinFilterId();
/**
* optional uint32 lastRequestTime = 7;
* @return Whether the lastRequestTime field is set.
*/
boolean hasLastRequestTime();
/**
* optional uint32 lastRequestTime = 7;
* @return The lastRequestTime.
*/
int getLastRequestTime();
/**
* optional uint32 filterType = 8;
* @return Whether the filterType field is set.
*/
boolean hasFilterType();
/**
* optional uint32 filterType = 8;
* @return The filterType.
*/
int getFilterType();
}
/**
* Protobuf type {@code wechat_proto.SnsUserPageRequest}
*/
public static final class SnsUserPageRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsUserPageRequest)
SnsUserPageRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsUserPageRequest.newBuilder() to construct.
private SnsUserPageRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsUserPageRequest() {
firstPageMd5_ = "";
username_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsUserPageRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsUserPageRequest(
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.BaseRequest.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = baseRequest_.toBuilder();
}
baseRequest_ = input.readMessage(wechat.protobuf.BaseRequest.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseRequest_);
baseRequest_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
firstPageMd5_ = bs;
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
username_ = bs;
break;
}
case 32: {
bitField0_ |= 0x00000008;
maxId_ = input.readUInt64();
break;
}
case 40: {
bitField0_ |= 0x00000010;
source_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
minFilterId_ = input.readUInt64();
break;
}
case 56: {
bitField0_ |= 0x00000040;
lastRequestTime_ = input.readUInt32();
break;
}
case 64: {
bitField0_ |= 0x00000080;
filterType_ = 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.Friendgroup.internal_static_wechat_proto_SnsUserPageRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsUserPageRequest.class, wechat.protobuf.Friendgroup.SnsUserPageRequest.Builder.class);
}
private int bitField0_;
public static final int BASEREQUEST_FIELD_NUMBER = 1;
private wechat.protobuf.BaseRequest baseRequest_;
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
@java.lang.Override
public boolean hasBaseRequest() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
@java.lang.Override
public wechat.protobuf.BaseRequest getBaseRequest() {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
@java.lang.Override
public wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder() {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
public static final int FIRSTPAGEMD5_FIELD_NUMBER = 2;
private volatile java.lang.Object firstPageMd5_;
/**
* optional string firstPageMd5 = 2;
* @return Whether the firstPageMd5 field is set.
*/
@java.lang.Override
public boolean hasFirstPageMd5() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string firstPageMd5 = 2;
* @return The firstPageMd5.
*/
@java.lang.Override
public java.lang.String getFirstPageMd5() {
java.lang.Object ref = firstPageMd5_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
firstPageMd5_ = s;
}
return s;
}
}
/**
* optional string firstPageMd5 = 2;
* @return The bytes for firstPageMd5.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFirstPageMd5Bytes() {
java.lang.Object ref = firstPageMd5_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
firstPageMd5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int USERNAME_FIELD_NUMBER = 3;
private volatile java.lang.Object username_;
/**
* optional string username = 3;
* @return Whether the username field is set.
*/
@java.lang.Override
public boolean hasUsername() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string username = 3;
* @return The username.
*/
@java.lang.Override
public java.lang.String getUsername() {
java.lang.Object ref = username_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
username_ = s;
}
return s;
}
}
/**
* optional string username = 3;
* @return The bytes for username.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUsernameBytes() {
java.lang.Object ref = username_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
username_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MAXID_FIELD_NUMBER = 4;
private long maxId_;
/**
* optional uint64 maxId = 4;
* @return Whether the maxId field is set.
*/
@java.lang.Override
public boolean hasMaxId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint64 maxId = 4;
* @return The maxId.
*/
@java.lang.Override
public long getMaxId() {
return maxId_;
}
public static final int SOURCE_FIELD_NUMBER = 5;
private int source_;
/**
* optional uint32 source = 5;
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 source = 5;
* @return The source.
*/
@java.lang.Override
public int getSource() {
return source_;
}
public static final int MINFILTERID_FIELD_NUMBER = 6;
private long minFilterId_;
/**
* optional uint64 minFilterId = 6;
* @return Whether the minFilterId field is set.
*/
@java.lang.Override
public boolean hasMinFilterId() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint64 minFilterId = 6;
* @return The minFilterId.
*/
@java.lang.Override
public long getMinFilterId() {
return minFilterId_;
}
public static final int LASTREQUESTTIME_FIELD_NUMBER = 7;
private int lastRequestTime_;
/**
* optional uint32 lastRequestTime = 7;
* @return Whether the lastRequestTime field is set.
*/
@java.lang.Override
public boolean hasLastRequestTime() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 lastRequestTime = 7;
* @return The lastRequestTime.
*/
@java.lang.Override
public int getLastRequestTime() {
return lastRequestTime_;
}
public static final int FILTERTYPE_FIELD_NUMBER = 8;
private int filterType_;
/**
* optional uint32 filterType = 8;
* @return Whether the filterType field is set.
*/
@java.lang.Override
public boolean hasFilterType() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional uint32 filterType = 8;
* @return The filterType.
*/
@java.lang.Override
public int getFilterType() {
return filterType_;
}
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, getBaseRequest());
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, firstPageMd5_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, username_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt64(4, maxId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, source_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt64(6, minFilterId_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeUInt32(7, lastRequestTime_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeUInt32(8, filterType_);
}
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, getBaseRequest());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, firstPageMd5_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, username_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, maxId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, source_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(6, minFilterId_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, lastRequestTime_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, filterType_);
}
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.Friendgroup.SnsUserPageRequest)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsUserPageRequest other = (wechat.protobuf.Friendgroup.SnsUserPageRequest) obj;
if (hasBaseRequest() != other.hasBaseRequest()) return false;
if (hasBaseRequest()) {
if (!getBaseRequest()
.equals(other.getBaseRequest())) return false;
}
if (hasFirstPageMd5() != other.hasFirstPageMd5()) return false;
if (hasFirstPageMd5()) {
if (!getFirstPageMd5()
.equals(other.getFirstPageMd5())) return false;
}
if (hasUsername() != other.hasUsername()) return false;
if (hasUsername()) {
if (!getUsername()
.equals(other.getUsername())) return false;
}
if (hasMaxId() != other.hasMaxId()) return false;
if (hasMaxId()) {
if (getMaxId()
!= other.getMaxId()) return false;
}
if (hasSource() != other.hasSource()) return false;
if (hasSource()) {
if (getSource()
!= other.getSource()) return false;
}
if (hasMinFilterId() != other.hasMinFilterId()) return false;
if (hasMinFilterId()) {
if (getMinFilterId()
!= other.getMinFilterId()) return false;
}
if (hasLastRequestTime() != other.hasLastRequestTime()) return false;
if (hasLastRequestTime()) {
if (getLastRequestTime()
!= other.getLastRequestTime()) return false;
}
if (hasFilterType() != other.hasFilterType()) return false;
if (hasFilterType()) {
if (getFilterType()
!= other.getFilterType()) 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 (hasBaseRequest()) {
hash = (37 * hash) + BASEREQUEST_FIELD_NUMBER;
hash = (53 * hash) + getBaseRequest().hashCode();
}
if (hasFirstPageMd5()) {
hash = (37 * hash) + FIRSTPAGEMD5_FIELD_NUMBER;
hash = (53 * hash) + getFirstPageMd5().hashCode();
}
if (hasUsername()) {
hash = (37 * hash) + USERNAME_FIELD_NUMBER;
hash = (53 * hash) + getUsername().hashCode();
}
if (hasMaxId()) {
hash = (37 * hash) + MAXID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMaxId());
}
if (hasSource()) {
hash = (37 * hash) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource();
}
if (hasMinFilterId()) {
hash = (37 * hash) + MINFILTERID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMinFilterId());
}
if (hasLastRequestTime()) {
hash = (37 * hash) + LASTREQUESTTIME_FIELD_NUMBER;
hash = (53 * hash) + getLastRequestTime();
}
if (hasFilterType()) {
hash = (37 * hash) + FILTERTYPE_FIELD_NUMBER;
hash = (53 * hash) + getFilterType();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsUserPageRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsUserPageRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsUserPageRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsUserPageRequest 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.Friendgroup.SnsUserPageRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsUserPageRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsUserPageRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsUserPageRequest 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.Friendgroup.SnsUserPageRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsUserPageRequest 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.Friendgroup.SnsUserPageRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsUserPageRequest 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.Friendgroup.SnsUserPageRequest 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.SnsUserPageRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsUserPageRequest)
wechat.protobuf.Friendgroup.SnsUserPageRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsUserPageRequest.class, wechat.protobuf.Friendgroup.SnsUserPageRequest.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsUserPageRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getBaseRequestFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
firstPageMd5_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
username_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
maxId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
source_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
minFilterId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000020);
lastRequestTime_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
filterType_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageRequest_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsUserPageRequest getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsUserPageRequest.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsUserPageRequest build() {
wechat.protobuf.Friendgroup.SnsUserPageRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsUserPageRequest buildPartial() {
wechat.protobuf.Friendgroup.SnsUserPageRequest result = new wechat.protobuf.Friendgroup.SnsUserPageRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (baseRequestBuilder_ == null) {
result.baseRequest_ = baseRequest_;
} else {
result.baseRequest_ = baseRequestBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.firstPageMd5_ = firstPageMd5_;
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.username_ = username_;
if (((from_bitField0_ & 0x00000008) != 0)) {
result.maxId_ = maxId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.source_ = source_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.minFilterId_ = minFilterId_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.lastRequestTime_ = lastRequestTime_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.filterType_ = filterType_;
to_bitField0_ |= 0x00000080;
}
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.Friendgroup.SnsUserPageRequest) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsUserPageRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsUserPageRequest other) {
if (other == wechat.protobuf.Friendgroup.SnsUserPageRequest.getDefaultInstance()) return this;
if (other.hasBaseRequest()) {
mergeBaseRequest(other.getBaseRequest());
}
if (other.hasFirstPageMd5()) {
bitField0_ |= 0x00000002;
firstPageMd5_ = other.firstPageMd5_;
onChanged();
}
if (other.hasUsername()) {
bitField0_ |= 0x00000004;
username_ = other.username_;
onChanged();
}
if (other.hasMaxId()) {
setMaxId(other.getMaxId());
}
if (other.hasSource()) {
setSource(other.getSource());
}
if (other.hasMinFilterId()) {
setMinFilterId(other.getMinFilterId());
}
if (other.hasLastRequestTime()) {
setLastRequestTime(other.getLastRequestTime());
}
if (other.hasFilterType()) {
setFilterType(other.getFilterType());
}
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.Friendgroup.SnsUserPageRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsUserPageRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private wechat.protobuf.BaseRequest baseRequest_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder> baseRequestBuilder_;
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
public boolean hasBaseRequest() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
public wechat.protobuf.BaseRequest getBaseRequest() {
if (baseRequestBuilder_ == null) {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
} else {
return baseRequestBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder setBaseRequest(wechat.protobuf.BaseRequest value) {
if (baseRequestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseRequest_ = value;
onChanged();
} else {
baseRequestBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder setBaseRequest(
wechat.protobuf.BaseRequest.Builder builderForValue) {
if (baseRequestBuilder_ == null) {
baseRequest_ = builderForValue.build();
onChanged();
} else {
baseRequestBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder mergeBaseRequest(wechat.protobuf.BaseRequest value) {
if (baseRequestBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
baseRequest_ != null &&
baseRequest_ != wechat.protobuf.BaseRequest.getDefaultInstance()) {
baseRequest_ =
wechat.protobuf.BaseRequest.newBuilder(baseRequest_).mergeFrom(value).buildPartial();
} else {
baseRequest_ = value;
}
onChanged();
} else {
baseRequestBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder clearBaseRequest() {
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
onChanged();
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public wechat.protobuf.BaseRequest.Builder getBaseRequestBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getBaseRequestFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder() {
if (baseRequestBuilder_ != null) {
return baseRequestBuilder_.getMessageOrBuilder();
} else {
return baseRequest_ == null ?
wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder>
getBaseRequestFieldBuilder() {
if (baseRequestBuilder_ == null) {
baseRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder>(
getBaseRequest(),
getParentForChildren(),
isClean());
baseRequest_ = null;
}
return baseRequestBuilder_;
}
private java.lang.Object firstPageMd5_ = "";
/**
* optional string firstPageMd5 = 2;
* @return Whether the firstPageMd5 field is set.
*/
public boolean hasFirstPageMd5() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string firstPageMd5 = 2;
* @return The firstPageMd5.
*/
public java.lang.String getFirstPageMd5() {
java.lang.Object ref = firstPageMd5_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
firstPageMd5_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string firstPageMd5 = 2;
* @return The bytes for firstPageMd5.
*/
public com.google.protobuf.ByteString
getFirstPageMd5Bytes() {
java.lang.Object ref = firstPageMd5_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
firstPageMd5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string firstPageMd5 = 2;
* @param value The firstPageMd5 to set.
* @return This builder for chaining.
*/
public Builder setFirstPageMd5(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
firstPageMd5_ = value;
onChanged();
return this;
}
/**
* optional string firstPageMd5 = 2;
* @return This builder for chaining.
*/
public Builder clearFirstPageMd5() {
bitField0_ = (bitField0_ & ~0x00000002);
firstPageMd5_ = getDefaultInstance().getFirstPageMd5();
onChanged();
return this;
}
/**
* optional string firstPageMd5 = 2;
* @param value The bytes for firstPageMd5 to set.
* @return This builder for chaining.
*/
public Builder setFirstPageMd5Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
firstPageMd5_ = value;
onChanged();
return this;
}
private java.lang.Object username_ = "";
/**
* optional string username = 3;
* @return Whether the username field is set.
*/
public boolean hasUsername() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string username = 3;
* @return The username.
*/
public java.lang.String getUsername() {
java.lang.Object ref = username_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
username_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string username = 3;
* @return The bytes for username.
*/
public com.google.protobuf.ByteString
getUsernameBytes() {
java.lang.Object ref = username_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
username_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string username = 3;
* @param value The username to set.
* @return This builder for chaining.
*/
public Builder setUsername(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
username_ = value;
onChanged();
return this;
}
/**
* optional string username = 3;
* @return This builder for chaining.
*/
public Builder clearUsername() {
bitField0_ = (bitField0_ & ~0x00000004);
username_ = getDefaultInstance().getUsername();
onChanged();
return this;
}
/**
* optional string username = 3;
* @param value The bytes for username to set.
* @return This builder for chaining.
*/
public Builder setUsernameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
username_ = value;
onChanged();
return this;
}
private long maxId_ ;
/**
* optional uint64 maxId = 4;
* @return Whether the maxId field is set.
*/
@java.lang.Override
public boolean hasMaxId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint64 maxId = 4;
* @return The maxId.
*/
@java.lang.Override
public long getMaxId() {
return maxId_;
}
/**
* optional uint64 maxId = 4;
* @param value The maxId to set.
* @return This builder for chaining.
*/
public Builder setMaxId(long value) {
bitField0_ |= 0x00000008;
maxId_ = value;
onChanged();
return this;
}
/**
* optional uint64 maxId = 4;
* @return This builder for chaining.
*/
public Builder clearMaxId() {
bitField0_ = (bitField0_ & ~0x00000008);
maxId_ = 0L;
onChanged();
return this;
}
private int source_ ;
/**
* optional uint32 source = 5;
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 source = 5;
* @return The source.
*/
@java.lang.Override
public int getSource() {
return source_;
}
/**
* optional uint32 source = 5;
* @param value The source to set.
* @return This builder for chaining.
*/
public Builder setSource(int value) {
bitField0_ |= 0x00000010;
source_ = value;
onChanged();
return this;
}
/**
* optional uint32 source = 5;
* @return This builder for chaining.
*/
public Builder clearSource() {
bitField0_ = (bitField0_ & ~0x00000010);
source_ = 0;
onChanged();
return this;
}
private long minFilterId_ ;
/**
* optional uint64 minFilterId = 6;
* @return Whether the minFilterId field is set.
*/
@java.lang.Override
public boolean hasMinFilterId() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint64 minFilterId = 6;
* @return The minFilterId.
*/
@java.lang.Override
public long getMinFilterId() {
return minFilterId_;
}
/**
* optional uint64 minFilterId = 6;
* @param value The minFilterId to set.
* @return This builder for chaining.
*/
public Builder setMinFilterId(long value) {
bitField0_ |= 0x00000020;
minFilterId_ = value;
onChanged();
return this;
}
/**
* optional uint64 minFilterId = 6;
* @return This builder for chaining.
*/
public Builder clearMinFilterId() {
bitField0_ = (bitField0_ & ~0x00000020);
minFilterId_ = 0L;
onChanged();
return this;
}
private int lastRequestTime_ ;
/**
* optional uint32 lastRequestTime = 7;
* @return Whether the lastRequestTime field is set.
*/
@java.lang.Override
public boolean hasLastRequestTime() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 lastRequestTime = 7;
* @return The lastRequestTime.
*/
@java.lang.Override
public int getLastRequestTime() {
return lastRequestTime_;
}
/**
* optional uint32 lastRequestTime = 7;
* @param value The lastRequestTime to set.
* @return This builder for chaining.
*/
public Builder setLastRequestTime(int value) {
bitField0_ |= 0x00000040;
lastRequestTime_ = value;
onChanged();
return this;
}
/**
* optional uint32 lastRequestTime = 7;
* @return This builder for chaining.
*/
public Builder clearLastRequestTime() {
bitField0_ = (bitField0_ & ~0x00000040);
lastRequestTime_ = 0;
onChanged();
return this;
}
private int filterType_ ;
/**
* optional uint32 filterType = 8;
* @return Whether the filterType field is set.
*/
@java.lang.Override
public boolean hasFilterType() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional uint32 filterType = 8;
* @return The filterType.
*/
@java.lang.Override
public int getFilterType() {
return filterType_;
}
/**
* optional uint32 filterType = 8;
* @param value The filterType to set.
* @return This builder for chaining.
*/
public Builder setFilterType(int value) {
bitField0_ |= 0x00000080;
filterType_ = value;
onChanged();
return this;
}
/**
* optional uint32 filterType = 8;
* @return This builder for chaining.
*/
public Builder clearFilterType() {
bitField0_ = (bitField0_ & ~0x00000080);
filterType_ = 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.SnsUserPageRequest)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsUserPageRequest)
private static final wechat.protobuf.Friendgroup.SnsUserPageRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsUserPageRequest();
}
public static wechat.protobuf.Friendgroup.SnsUserPageRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsUserPageRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsUserPageRequest(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.Friendgroup.SnsUserPageRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsUserPageResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsUserPageResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
boolean hasBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
wechat.protobuf.BaseResponse getBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder();
/**
* optional string firstPageMd5 = 2;
* @return Whether the firstPageMd5 field is set.
*/
boolean hasFirstPageMd5();
/**
* optional string firstPageMd5 = 2;
* @return The firstPageMd5.
*/
java.lang.String getFirstPageMd5();
/**
* optional string firstPageMd5 = 2;
* @return The bytes for firstPageMd5.
*/
com.google.protobuf.ByteString
getFirstPageMd5Bytes();
/**
* optional uint32 objectNum = 3;
* @return Whether the objectNum field is set.
*/
boolean hasObjectNum();
/**
* optional uint32 objectNum = 3;
* @return The objectNum.
*/
int getObjectNum();
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
java.util.List
getObjectListList();
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
wechat.protobuf.Friendgroup.SnsObject getObjectList(int index);
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
int getObjectListCount();
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
java.util.List extends wechat.protobuf.Friendgroup.SnsObjectOrBuilder>
getObjectListOrBuilderList();
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
wechat.protobuf.Friendgroup.SnsObjectOrBuilder getObjectListOrBuilder(
int index);
/**
* optional uint32 objectTotalNum = 5;
* @return Whether the objectTotalNum field is set.
*/
boolean hasObjectTotalNum();
/**
* optional uint32 objectTotalNum = 5;
* @return The objectTotalNum.
*/
int getObjectTotalNum();
/**
* optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
* @return Whether the snsUserInfo field is set.
*/
boolean hasSnsUserInfo();
/**
* optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
* @return The snsUserInfo.
*/
wechat.protobuf.SnsUserInfo getSnsUserInfo();
/**
* optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
*/
wechat.protobuf.SnsUserInfoOrBuilder getSnsUserInfoOrBuilder();
/**
* optional uint32 newRequestTime = 7;
* @return Whether the newRequestTime field is set.
*/
boolean hasNewRequestTime();
/**
* optional uint32 newRequestTime = 7;
* @return The newRequestTime.
*/
int getNewRequestTime();
/**
* optional uint32 objectNumForSameMd5 = 8;
* @return Whether the objectNumForSameMd5 field is set.
*/
boolean hasObjectNumForSameMd5();
/**
* optional uint32 objectNumForSameMd5 = 8;
* @return The objectNumForSameMd5.
*/
int getObjectNumForSameMd5();
/**
* optional .wechat_proto.SnsServerConfig serverConfig = 9;
* @return Whether the serverConfig field is set.
*/
boolean hasServerConfig();
/**
* optional .wechat_proto.SnsServerConfig serverConfig = 9;
* @return The serverConfig.
*/
wechat.protobuf.Friendgroup.SnsServerConfig getServerConfig();
/**
* optional .wechat_proto.SnsServerConfig serverConfig = 9;
*/
wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder getServerConfigOrBuilder();
/**
* optional int64 limitedId = 10;
* @return Whether the limitedId field is set.
*/
boolean hasLimitedId();
/**
* optional int64 limitedId = 10;
* @return The limitedId.
*/
long getLimitedId();
/**
* optional int64 continueId = 11;
* @return Whether the continueId field is set.
*/
boolean hasContinueId();
/**
* optional int64 continueId = 11;
* @return The continueId.
*/
long getContinueId();
/**
* optional string retTips = 12;
* @return Whether the retTips field is set.
*/
boolean hasRetTips();
/**
* optional string retTips = 12;
* @return The retTips.
*/
java.lang.String getRetTips();
/**
* optional string retTips = 12;
* @return The bytes for retTips.
*/
com.google.protobuf.ByteString
getRetTipsBytes();
}
/**
* Protobuf type {@code wechat_proto.SnsUserPageResponse}
*/
public static final class SnsUserPageResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsUserPageResponse)
SnsUserPageResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsUserPageResponse.newBuilder() to construct.
private SnsUserPageResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsUserPageResponse() {
firstPageMd5_ = "";
objectList_ = java.util.Collections.emptyList();
retTips_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsUserPageResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsUserPageResponse(
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: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
firstPageMd5_ = bs;
break;
}
case 24: {
bitField0_ |= 0x00000004;
objectNum_ = input.readUInt32();
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
objectList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
objectList_.add(
input.readMessage(wechat.protobuf.Friendgroup.SnsObject.PARSER, extensionRegistry));
break;
}
case 40: {
bitField0_ |= 0x00000008;
objectTotalNum_ = input.readUInt32();
break;
}
case 50: {
wechat.protobuf.SnsUserInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) != 0)) {
subBuilder = snsUserInfo_.toBuilder();
}
snsUserInfo_ = input.readMessage(wechat.protobuf.SnsUserInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(snsUserInfo_);
snsUserInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 56: {
bitField0_ |= 0x00000020;
newRequestTime_ = input.readUInt32();
break;
}
case 64: {
bitField0_ |= 0x00000040;
objectNumForSameMd5_ = input.readUInt32();
break;
}
case 74: {
wechat.protobuf.Friendgroup.SnsServerConfig.Builder subBuilder = null;
if (((bitField0_ & 0x00000080) != 0)) {
subBuilder = serverConfig_.toBuilder();
}
serverConfig_ = input.readMessage(wechat.protobuf.Friendgroup.SnsServerConfig.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(serverConfig_);
serverConfig_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000080;
break;
}
case 80: {
bitField0_ |= 0x00000100;
limitedId_ = input.readInt64();
break;
}
case 88: {
bitField0_ |= 0x00000200;
continueId_ = input.readInt64();
break;
}
case 98: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000400;
retTips_ = bs;
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_ & 0x00000008) != 0)) {
objectList_ = java.util.Collections.unmodifiableList(objectList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsUserPageResponse.class, wechat.protobuf.Friendgroup.SnsUserPageResponse.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 FIRSTPAGEMD5_FIELD_NUMBER = 2;
private volatile java.lang.Object firstPageMd5_;
/**
* optional string firstPageMd5 = 2;
* @return Whether the firstPageMd5 field is set.
*/
@java.lang.Override
public boolean hasFirstPageMd5() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string firstPageMd5 = 2;
* @return The firstPageMd5.
*/
@java.lang.Override
public java.lang.String getFirstPageMd5() {
java.lang.Object ref = firstPageMd5_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
firstPageMd5_ = s;
}
return s;
}
}
/**
* optional string firstPageMd5 = 2;
* @return The bytes for firstPageMd5.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFirstPageMd5Bytes() {
java.lang.Object ref = firstPageMd5_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
firstPageMd5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OBJECTNUM_FIELD_NUMBER = 3;
private int objectNum_;
/**
* optional uint32 objectNum = 3;
* @return Whether the objectNum field is set.
*/
@java.lang.Override
public boolean hasObjectNum() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 objectNum = 3;
* @return The objectNum.
*/
@java.lang.Override
public int getObjectNum() {
return objectNum_;
}
public static final int OBJECTLIST_FIELD_NUMBER = 4;
private java.util.List objectList_;
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
@java.lang.Override
public java.util.List getObjectListList() {
return objectList_;
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.Friendgroup.SnsObjectOrBuilder>
getObjectListOrBuilderList() {
return objectList_;
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
@java.lang.Override
public int getObjectListCount() {
return objectList_.size();
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObject getObjectList(int index) {
return objectList_.get(index);
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getObjectListOrBuilder(
int index) {
return objectList_.get(index);
}
public static final int OBJECTTOTALNUM_FIELD_NUMBER = 5;
private int objectTotalNum_;
/**
* optional uint32 objectTotalNum = 5;
* @return Whether the objectTotalNum field is set.
*/
@java.lang.Override
public boolean hasObjectTotalNum() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 objectTotalNum = 5;
* @return The objectTotalNum.
*/
@java.lang.Override
public int getObjectTotalNum() {
return objectTotalNum_;
}
public static final int SNSUSERINFO_FIELD_NUMBER = 6;
private wechat.protobuf.SnsUserInfo snsUserInfo_;
/**
* optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
* @return Whether the snsUserInfo field is set.
*/
@java.lang.Override
public boolean hasSnsUserInfo() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
* @return The snsUserInfo.
*/
@java.lang.Override
public wechat.protobuf.SnsUserInfo getSnsUserInfo() {
return snsUserInfo_ == null ? wechat.protobuf.SnsUserInfo.getDefaultInstance() : snsUserInfo_;
}
/**
* optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
*/
@java.lang.Override
public wechat.protobuf.SnsUserInfoOrBuilder getSnsUserInfoOrBuilder() {
return snsUserInfo_ == null ? wechat.protobuf.SnsUserInfo.getDefaultInstance() : snsUserInfo_;
}
public static final int NEWREQUESTTIME_FIELD_NUMBER = 7;
private int newRequestTime_;
/**
* optional uint32 newRequestTime = 7;
* @return Whether the newRequestTime field is set.
*/
@java.lang.Override
public boolean hasNewRequestTime() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 newRequestTime = 7;
* @return The newRequestTime.
*/
@java.lang.Override
public int getNewRequestTime() {
return newRequestTime_;
}
public static final int OBJECTNUMFORSAMEMD5_FIELD_NUMBER = 8;
private int objectNumForSameMd5_;
/**
* optional uint32 objectNumForSameMd5 = 8;
* @return Whether the objectNumForSameMd5 field is set.
*/
@java.lang.Override
public boolean hasObjectNumForSameMd5() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 objectNumForSameMd5 = 8;
* @return The objectNumForSameMd5.
*/
@java.lang.Override
public int getObjectNumForSameMd5() {
return objectNumForSameMd5_;
}
public static final int SERVERCONFIG_FIELD_NUMBER = 9;
private wechat.protobuf.Friendgroup.SnsServerConfig serverConfig_;
/**
* optional .wechat_proto.SnsServerConfig serverConfig = 9;
* @return Whether the serverConfig field is set.
*/
@java.lang.Override
public boolean hasServerConfig() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional .wechat_proto.SnsServerConfig serverConfig = 9;
* @return The serverConfig.
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsServerConfig getServerConfig() {
return serverConfig_ == null ? wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance() : serverConfig_;
}
/**
* optional .wechat_proto.SnsServerConfig serverConfig = 9;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder getServerConfigOrBuilder() {
return serverConfig_ == null ? wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance() : serverConfig_;
}
public static final int LIMITEDID_FIELD_NUMBER = 10;
private long limitedId_;
/**
* optional int64 limitedId = 10;
* @return Whether the limitedId field is set.
*/
@java.lang.Override
public boolean hasLimitedId() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional int64 limitedId = 10;
* @return The limitedId.
*/
@java.lang.Override
public long getLimitedId() {
return limitedId_;
}
public static final int CONTINUEID_FIELD_NUMBER = 11;
private long continueId_;
/**
* optional int64 continueId = 11;
* @return Whether the continueId field is set.
*/
@java.lang.Override
public boolean hasContinueId() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional int64 continueId = 11;
* @return The continueId.
*/
@java.lang.Override
public long getContinueId() {
return continueId_;
}
public static final int RETTIPS_FIELD_NUMBER = 12;
private volatile java.lang.Object retTips_;
/**
* optional string retTips = 12;
* @return Whether the retTips field is set.
*/
@java.lang.Override
public boolean hasRetTips() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional string retTips = 12;
* @return The retTips.
*/
@java.lang.Override
public java.lang.String getRetTips() {
java.lang.Object ref = retTips_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
retTips_ = s;
}
return s;
}
}
/**
* optional string retTips = 12;
* @return The bytes for retTips.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRetTipsBytes() {
java.lang.Object ref = retTips_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
retTips_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, firstPageMd5_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, objectNum_);
}
for (int i = 0; i < objectList_.size(); i++) {
output.writeMessage(4, objectList_.get(i));
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(5, objectTotalNum_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(6, getSnsUserInfo());
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt32(7, newRequestTime_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeUInt32(8, objectNumForSameMd5_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeMessage(9, getServerConfig());
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeInt64(10, limitedId_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeInt64(11, continueId_);
}
if (((bitField0_ & 0x00000400) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, retTips_);
}
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.GeneratedMessageV3.computeStringSize(2, firstPageMd5_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, objectNum_);
}
for (int i = 0; i < objectList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, objectList_.get(i));
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, objectTotalNum_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getSnsUserInfo());
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, newRequestTime_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, objectNumForSameMd5_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getServerConfig());
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, limitedId_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(11, continueId_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, retTips_);
}
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.Friendgroup.SnsUserPageResponse)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsUserPageResponse other = (wechat.protobuf.Friendgroup.SnsUserPageResponse) obj;
if (hasBaseResponse() != other.hasBaseResponse()) return false;
if (hasBaseResponse()) {
if (!getBaseResponse()
.equals(other.getBaseResponse())) return false;
}
if (hasFirstPageMd5() != other.hasFirstPageMd5()) return false;
if (hasFirstPageMd5()) {
if (!getFirstPageMd5()
.equals(other.getFirstPageMd5())) return false;
}
if (hasObjectNum() != other.hasObjectNum()) return false;
if (hasObjectNum()) {
if (getObjectNum()
!= other.getObjectNum()) return false;
}
if (!getObjectListList()
.equals(other.getObjectListList())) return false;
if (hasObjectTotalNum() != other.hasObjectTotalNum()) return false;
if (hasObjectTotalNum()) {
if (getObjectTotalNum()
!= other.getObjectTotalNum()) return false;
}
if (hasSnsUserInfo() != other.hasSnsUserInfo()) return false;
if (hasSnsUserInfo()) {
if (!getSnsUserInfo()
.equals(other.getSnsUserInfo())) return false;
}
if (hasNewRequestTime() != other.hasNewRequestTime()) return false;
if (hasNewRequestTime()) {
if (getNewRequestTime()
!= other.getNewRequestTime()) return false;
}
if (hasObjectNumForSameMd5() != other.hasObjectNumForSameMd5()) return false;
if (hasObjectNumForSameMd5()) {
if (getObjectNumForSameMd5()
!= other.getObjectNumForSameMd5()) return false;
}
if (hasServerConfig() != other.hasServerConfig()) return false;
if (hasServerConfig()) {
if (!getServerConfig()
.equals(other.getServerConfig())) return false;
}
if (hasLimitedId() != other.hasLimitedId()) return false;
if (hasLimitedId()) {
if (getLimitedId()
!= other.getLimitedId()) return false;
}
if (hasContinueId() != other.hasContinueId()) return false;
if (hasContinueId()) {
if (getContinueId()
!= other.getContinueId()) return false;
}
if (hasRetTips() != other.hasRetTips()) return false;
if (hasRetTips()) {
if (!getRetTips()
.equals(other.getRetTips())) 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 (hasFirstPageMd5()) {
hash = (37 * hash) + FIRSTPAGEMD5_FIELD_NUMBER;
hash = (53 * hash) + getFirstPageMd5().hashCode();
}
if (hasObjectNum()) {
hash = (37 * hash) + OBJECTNUM_FIELD_NUMBER;
hash = (53 * hash) + getObjectNum();
}
if (getObjectListCount() > 0) {
hash = (37 * hash) + OBJECTLIST_FIELD_NUMBER;
hash = (53 * hash) + getObjectListList().hashCode();
}
if (hasObjectTotalNum()) {
hash = (37 * hash) + OBJECTTOTALNUM_FIELD_NUMBER;
hash = (53 * hash) + getObjectTotalNum();
}
if (hasSnsUserInfo()) {
hash = (37 * hash) + SNSUSERINFO_FIELD_NUMBER;
hash = (53 * hash) + getSnsUserInfo().hashCode();
}
if (hasNewRequestTime()) {
hash = (37 * hash) + NEWREQUESTTIME_FIELD_NUMBER;
hash = (53 * hash) + getNewRequestTime();
}
if (hasObjectNumForSameMd5()) {
hash = (37 * hash) + OBJECTNUMFORSAMEMD5_FIELD_NUMBER;
hash = (53 * hash) + getObjectNumForSameMd5();
}
if (hasServerConfig()) {
hash = (37 * hash) + SERVERCONFIG_FIELD_NUMBER;
hash = (53 * hash) + getServerConfig().hashCode();
}
if (hasLimitedId()) {
hash = (37 * hash) + LIMITEDID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLimitedId());
}
if (hasContinueId()) {
hash = (37 * hash) + CONTINUEID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getContinueId());
}
if (hasRetTips()) {
hash = (37 * hash) + RETTIPS_FIELD_NUMBER;
hash = (53 * hash) + getRetTips().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsUserPageResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsUserPageResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsUserPageResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsUserPageResponse 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.Friendgroup.SnsUserPageResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsUserPageResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsUserPageResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsUserPageResponse 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.Friendgroup.SnsUserPageResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsUserPageResponse 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.Friendgroup.SnsUserPageResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsUserPageResponse 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.Friendgroup.SnsUserPageResponse 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.SnsUserPageResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsUserPageResponse)
wechat.protobuf.Friendgroup.SnsUserPageResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsUserPageResponse.class, wechat.protobuf.Friendgroup.SnsUserPageResponse.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsUserPageResponse.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();
getObjectListFieldBuilder();
getSnsUserInfoFieldBuilder();
getServerConfigFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseResponseBuilder_ == null) {
baseResponse_ = null;
} else {
baseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
firstPageMd5_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
objectNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
if (objectListBuilder_ == null) {
objectList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
objectListBuilder_.clear();
}
objectTotalNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
if (snsUserInfoBuilder_ == null) {
snsUserInfo_ = null;
} else {
snsUserInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
newRequestTime_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
objectNumForSameMd5_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
if (serverConfigBuilder_ == null) {
serverConfig_ = null;
} else {
serverConfigBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
limitedId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000200);
continueId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000400);
retTips_ = "";
bitField0_ = (bitField0_ & ~0x00000800);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsUserPageResponse_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsUserPageResponse getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsUserPageResponse.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsUserPageResponse build() {
wechat.protobuf.Friendgroup.SnsUserPageResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsUserPageResponse buildPartial() {
wechat.protobuf.Friendgroup.SnsUserPageResponse result = new wechat.protobuf.Friendgroup.SnsUserPageResponse(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)) {
to_bitField0_ |= 0x00000002;
}
result.firstPageMd5_ = firstPageMd5_;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.objectNum_ = objectNum_;
to_bitField0_ |= 0x00000004;
}
if (objectListBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
objectList_ = java.util.Collections.unmodifiableList(objectList_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.objectList_ = objectList_;
} else {
result.objectList_ = objectListBuilder_.build();
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.objectTotalNum_ = objectTotalNum_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
if (snsUserInfoBuilder_ == null) {
result.snsUserInfo_ = snsUserInfo_;
} else {
result.snsUserInfo_ = snsUserInfoBuilder_.build();
}
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.newRequestTime_ = newRequestTime_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.objectNumForSameMd5_ = objectNumForSameMd5_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
if (serverConfigBuilder_ == null) {
result.serverConfig_ = serverConfig_;
} else {
result.serverConfig_ = serverConfigBuilder_.build();
}
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.limitedId_ = limitedId_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.continueId_ = continueId_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
to_bitField0_ |= 0x00000400;
}
result.retTips_ = retTips_;
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.Friendgroup.SnsUserPageResponse) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsUserPageResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsUserPageResponse other) {
if (other == wechat.protobuf.Friendgroup.SnsUserPageResponse.getDefaultInstance()) return this;
if (other.hasBaseResponse()) {
mergeBaseResponse(other.getBaseResponse());
}
if (other.hasFirstPageMd5()) {
bitField0_ |= 0x00000002;
firstPageMd5_ = other.firstPageMd5_;
onChanged();
}
if (other.hasObjectNum()) {
setObjectNum(other.getObjectNum());
}
if (objectListBuilder_ == null) {
if (!other.objectList_.isEmpty()) {
if (objectList_.isEmpty()) {
objectList_ = other.objectList_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureObjectListIsMutable();
objectList_.addAll(other.objectList_);
}
onChanged();
}
} else {
if (!other.objectList_.isEmpty()) {
if (objectListBuilder_.isEmpty()) {
objectListBuilder_.dispose();
objectListBuilder_ = null;
objectList_ = other.objectList_;
bitField0_ = (bitField0_ & ~0x00000008);
objectListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getObjectListFieldBuilder() : null;
} else {
objectListBuilder_.addAllMessages(other.objectList_);
}
}
}
if (other.hasObjectTotalNum()) {
setObjectTotalNum(other.getObjectTotalNum());
}
if (other.hasSnsUserInfo()) {
mergeSnsUserInfo(other.getSnsUserInfo());
}
if (other.hasNewRequestTime()) {
setNewRequestTime(other.getNewRequestTime());
}
if (other.hasObjectNumForSameMd5()) {
setObjectNumForSameMd5(other.getObjectNumForSameMd5());
}
if (other.hasServerConfig()) {
mergeServerConfig(other.getServerConfig());
}
if (other.hasLimitedId()) {
setLimitedId(other.getLimitedId());
}
if (other.hasContinueId()) {
setContinueId(other.getContinueId());
}
if (other.hasRetTips()) {
bitField0_ |= 0x00000800;
retTips_ = other.retTips_;
onChanged();
}
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.Friendgroup.SnsUserPageResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsUserPageResponse) 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 java.lang.Object firstPageMd5_ = "";
/**
* optional string firstPageMd5 = 2;
* @return Whether the firstPageMd5 field is set.
*/
public boolean hasFirstPageMd5() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string firstPageMd5 = 2;
* @return The firstPageMd5.
*/
public java.lang.String getFirstPageMd5() {
java.lang.Object ref = firstPageMd5_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
firstPageMd5_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string firstPageMd5 = 2;
* @return The bytes for firstPageMd5.
*/
public com.google.protobuf.ByteString
getFirstPageMd5Bytes() {
java.lang.Object ref = firstPageMd5_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
firstPageMd5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string firstPageMd5 = 2;
* @param value The firstPageMd5 to set.
* @return This builder for chaining.
*/
public Builder setFirstPageMd5(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
firstPageMd5_ = value;
onChanged();
return this;
}
/**
* optional string firstPageMd5 = 2;
* @return This builder for chaining.
*/
public Builder clearFirstPageMd5() {
bitField0_ = (bitField0_ & ~0x00000002);
firstPageMd5_ = getDefaultInstance().getFirstPageMd5();
onChanged();
return this;
}
/**
* optional string firstPageMd5 = 2;
* @param value The bytes for firstPageMd5 to set.
* @return This builder for chaining.
*/
public Builder setFirstPageMd5Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
firstPageMd5_ = value;
onChanged();
return this;
}
private int objectNum_ ;
/**
* optional uint32 objectNum = 3;
* @return Whether the objectNum field is set.
*/
@java.lang.Override
public boolean hasObjectNum() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 objectNum = 3;
* @return The objectNum.
*/
@java.lang.Override
public int getObjectNum() {
return objectNum_;
}
/**
* optional uint32 objectNum = 3;
* @param value The objectNum to set.
* @return This builder for chaining.
*/
public Builder setObjectNum(int value) {
bitField0_ |= 0x00000004;
objectNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 objectNum = 3;
* @return This builder for chaining.
*/
public Builder clearObjectNum() {
bitField0_ = (bitField0_ & ~0x00000004);
objectNum_ = 0;
onChanged();
return this;
}
private java.util.List objectList_ =
java.util.Collections.emptyList();
private void ensureObjectListIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
objectList_ = new java.util.ArrayList(objectList_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> objectListBuilder_;
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public java.util.List getObjectListList() {
if (objectListBuilder_ == null) {
return java.util.Collections.unmodifiableList(objectList_);
} else {
return objectListBuilder_.getMessageList();
}
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public int getObjectListCount() {
if (objectListBuilder_ == null) {
return objectList_.size();
} else {
return objectListBuilder_.getCount();
}
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public wechat.protobuf.Friendgroup.SnsObject getObjectList(int index) {
if (objectListBuilder_ == null) {
return objectList_.get(index);
} else {
return objectListBuilder_.getMessage(index);
}
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public Builder setObjectList(
int index, wechat.protobuf.Friendgroup.SnsObject value) {
if (objectListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectListIsMutable();
objectList_.set(index, value);
onChanged();
} else {
objectListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public Builder setObjectList(
int index, wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) {
if (objectListBuilder_ == null) {
ensureObjectListIsMutable();
objectList_.set(index, builderForValue.build());
onChanged();
} else {
objectListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public Builder addObjectList(wechat.protobuf.Friendgroup.SnsObject value) {
if (objectListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectListIsMutable();
objectList_.add(value);
onChanged();
} else {
objectListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public Builder addObjectList(
int index, wechat.protobuf.Friendgroup.SnsObject value) {
if (objectListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectListIsMutable();
objectList_.add(index, value);
onChanged();
} else {
objectListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public Builder addObjectList(
wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) {
if (objectListBuilder_ == null) {
ensureObjectListIsMutable();
objectList_.add(builderForValue.build());
onChanged();
} else {
objectListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public Builder addObjectList(
int index, wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) {
if (objectListBuilder_ == null) {
ensureObjectListIsMutable();
objectList_.add(index, builderForValue.build());
onChanged();
} else {
objectListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public Builder addAllObjectList(
java.lang.Iterable extends wechat.protobuf.Friendgroup.SnsObject> values) {
if (objectListBuilder_ == null) {
ensureObjectListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, objectList_);
onChanged();
} else {
objectListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public Builder clearObjectList() {
if (objectListBuilder_ == null) {
objectList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
objectListBuilder_.clear();
}
return this;
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public Builder removeObjectList(int index) {
if (objectListBuilder_ == null) {
ensureObjectListIsMutable();
objectList_.remove(index);
onChanged();
} else {
objectListBuilder_.remove(index);
}
return this;
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public wechat.protobuf.Friendgroup.SnsObject.Builder getObjectListBuilder(
int index) {
return getObjectListFieldBuilder().getBuilder(index);
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getObjectListOrBuilder(
int index) {
if (objectListBuilder_ == null) {
return objectList_.get(index); } else {
return objectListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public java.util.List extends wechat.protobuf.Friendgroup.SnsObjectOrBuilder>
getObjectListOrBuilderList() {
if (objectListBuilder_ != null) {
return objectListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(objectList_);
}
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public wechat.protobuf.Friendgroup.SnsObject.Builder addObjectListBuilder() {
return getObjectListFieldBuilder().addBuilder(
wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance());
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public wechat.protobuf.Friendgroup.SnsObject.Builder addObjectListBuilder(
int index) {
return getObjectListFieldBuilder().addBuilder(
index, wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance());
}
/**
* repeated .wechat_proto.SnsObject objectList = 4;
*/
public java.util.List
getObjectListBuilderList() {
return getObjectListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder>
getObjectListFieldBuilder() {
if (objectListBuilder_ == null) {
objectListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder>(
objectList_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
objectList_ = null;
}
return objectListBuilder_;
}
private int objectTotalNum_ ;
/**
* optional uint32 objectTotalNum = 5;
* @return Whether the objectTotalNum field is set.
*/
@java.lang.Override
public boolean hasObjectTotalNum() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 objectTotalNum = 5;
* @return The objectTotalNum.
*/
@java.lang.Override
public int getObjectTotalNum() {
return objectTotalNum_;
}
/**
* optional uint32 objectTotalNum = 5;
* @param value The objectTotalNum to set.
* @return This builder for chaining.
*/
public Builder setObjectTotalNum(int value) {
bitField0_ |= 0x00000010;
objectTotalNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 objectTotalNum = 5;
* @return This builder for chaining.
*/
public Builder clearObjectTotalNum() {
bitField0_ = (bitField0_ & ~0x00000010);
objectTotalNum_ = 0;
onChanged();
return this;
}
private wechat.protobuf.SnsUserInfo snsUserInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SnsUserInfo, wechat.protobuf.SnsUserInfo.Builder, wechat.protobuf.SnsUserInfoOrBuilder> snsUserInfoBuilder_;
/**
* optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
* @return Whether the snsUserInfo field is set.
*/
public boolean hasSnsUserInfo() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
* @return The snsUserInfo.
*/
public wechat.protobuf.SnsUserInfo getSnsUserInfo() {
if (snsUserInfoBuilder_ == null) {
return snsUserInfo_ == null ? wechat.protobuf.SnsUserInfo.getDefaultInstance() : snsUserInfo_;
} else {
return snsUserInfoBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
*/
public Builder setSnsUserInfo(wechat.protobuf.SnsUserInfo value) {
if (snsUserInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
snsUserInfo_ = value;
onChanged();
} else {
snsUserInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
*/
public Builder setSnsUserInfo(
wechat.protobuf.SnsUserInfo.Builder builderForValue) {
if (snsUserInfoBuilder_ == null) {
snsUserInfo_ = builderForValue.build();
onChanged();
} else {
snsUserInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
*/
public Builder mergeSnsUserInfo(wechat.protobuf.SnsUserInfo value) {
if (snsUserInfoBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
snsUserInfo_ != null &&
snsUserInfo_ != wechat.protobuf.SnsUserInfo.getDefaultInstance()) {
snsUserInfo_ =
wechat.protobuf.SnsUserInfo.newBuilder(snsUserInfo_).mergeFrom(value).buildPartial();
} else {
snsUserInfo_ = value;
}
onChanged();
} else {
snsUserInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
*/
public Builder clearSnsUserInfo() {
if (snsUserInfoBuilder_ == null) {
snsUserInfo_ = null;
onChanged();
} else {
snsUserInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
/**
* optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
*/
public wechat.protobuf.SnsUserInfo.Builder getSnsUserInfoBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getSnsUserInfoFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
*/
public wechat.protobuf.SnsUserInfoOrBuilder getSnsUserInfoOrBuilder() {
if (snsUserInfoBuilder_ != null) {
return snsUserInfoBuilder_.getMessageOrBuilder();
} else {
return snsUserInfo_ == null ?
wechat.protobuf.SnsUserInfo.getDefaultInstance() : snsUserInfo_;
}
}
/**
* optional .wechat_proto.SnsUserInfo snsUserInfo = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SnsUserInfo, wechat.protobuf.SnsUserInfo.Builder, wechat.protobuf.SnsUserInfoOrBuilder>
getSnsUserInfoFieldBuilder() {
if (snsUserInfoBuilder_ == null) {
snsUserInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SnsUserInfo, wechat.protobuf.SnsUserInfo.Builder, wechat.protobuf.SnsUserInfoOrBuilder>(
getSnsUserInfo(),
getParentForChildren(),
isClean());
snsUserInfo_ = null;
}
return snsUserInfoBuilder_;
}
private int newRequestTime_ ;
/**
* optional uint32 newRequestTime = 7;
* @return Whether the newRequestTime field is set.
*/
@java.lang.Override
public boolean hasNewRequestTime() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 newRequestTime = 7;
* @return The newRequestTime.
*/
@java.lang.Override
public int getNewRequestTime() {
return newRequestTime_;
}
/**
* optional uint32 newRequestTime = 7;
* @param value The newRequestTime to set.
* @return This builder for chaining.
*/
public Builder setNewRequestTime(int value) {
bitField0_ |= 0x00000040;
newRequestTime_ = value;
onChanged();
return this;
}
/**
* optional uint32 newRequestTime = 7;
* @return This builder for chaining.
*/
public Builder clearNewRequestTime() {
bitField0_ = (bitField0_ & ~0x00000040);
newRequestTime_ = 0;
onChanged();
return this;
}
private int objectNumForSameMd5_ ;
/**
* optional uint32 objectNumForSameMd5 = 8;
* @return Whether the objectNumForSameMd5 field is set.
*/
@java.lang.Override
public boolean hasObjectNumForSameMd5() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional uint32 objectNumForSameMd5 = 8;
* @return The objectNumForSameMd5.
*/
@java.lang.Override
public int getObjectNumForSameMd5() {
return objectNumForSameMd5_;
}
/**
* optional uint32 objectNumForSameMd5 = 8;
* @param value The objectNumForSameMd5 to set.
* @return This builder for chaining.
*/
public Builder setObjectNumForSameMd5(int value) {
bitField0_ |= 0x00000080;
objectNumForSameMd5_ = value;
onChanged();
return this;
}
/**
* optional uint32 objectNumForSameMd5 = 8;
* @return This builder for chaining.
*/
public Builder clearObjectNumForSameMd5() {
bitField0_ = (bitField0_ & ~0x00000080);
objectNumForSameMd5_ = 0;
onChanged();
return this;
}
private wechat.protobuf.Friendgroup.SnsServerConfig serverConfig_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsServerConfig, wechat.protobuf.Friendgroup.SnsServerConfig.Builder, wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder> serverConfigBuilder_;
/**
* optional .wechat_proto.SnsServerConfig serverConfig = 9;
* @return Whether the serverConfig field is set.
*/
public boolean hasServerConfig() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional .wechat_proto.SnsServerConfig serverConfig = 9;
* @return The serverConfig.
*/
public wechat.protobuf.Friendgroup.SnsServerConfig getServerConfig() {
if (serverConfigBuilder_ == null) {
return serverConfig_ == null ? wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance() : serverConfig_;
} else {
return serverConfigBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SnsServerConfig serverConfig = 9;
*/
public Builder setServerConfig(wechat.protobuf.Friendgroup.SnsServerConfig value) {
if (serverConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
serverConfig_ = value;
onChanged();
} else {
serverConfigBuilder_.setMessage(value);
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .wechat_proto.SnsServerConfig serverConfig = 9;
*/
public Builder setServerConfig(
wechat.protobuf.Friendgroup.SnsServerConfig.Builder builderForValue) {
if (serverConfigBuilder_ == null) {
serverConfig_ = builderForValue.build();
onChanged();
} else {
serverConfigBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .wechat_proto.SnsServerConfig serverConfig = 9;
*/
public Builder mergeServerConfig(wechat.protobuf.Friendgroup.SnsServerConfig value) {
if (serverConfigBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0) &&
serverConfig_ != null &&
serverConfig_ != wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance()) {
serverConfig_ =
wechat.protobuf.Friendgroup.SnsServerConfig.newBuilder(serverConfig_).mergeFrom(value).buildPartial();
} else {
serverConfig_ = value;
}
onChanged();
} else {
serverConfigBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .wechat_proto.SnsServerConfig serverConfig = 9;
*/
public Builder clearServerConfig() {
if (serverConfigBuilder_ == null) {
serverConfig_ = null;
onChanged();
} else {
serverConfigBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
/**
* optional .wechat_proto.SnsServerConfig serverConfig = 9;
*/
public wechat.protobuf.Friendgroup.SnsServerConfig.Builder getServerConfigBuilder() {
bitField0_ |= 0x00000100;
onChanged();
return getServerConfigFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SnsServerConfig serverConfig = 9;
*/
public wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder getServerConfigOrBuilder() {
if (serverConfigBuilder_ != null) {
return serverConfigBuilder_.getMessageOrBuilder();
} else {
return serverConfig_ == null ?
wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance() : serverConfig_;
}
}
/**
* optional .wechat_proto.SnsServerConfig serverConfig = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsServerConfig, wechat.protobuf.Friendgroup.SnsServerConfig.Builder, wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder>
getServerConfigFieldBuilder() {
if (serverConfigBuilder_ == null) {
serverConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsServerConfig, wechat.protobuf.Friendgroup.SnsServerConfig.Builder, wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder>(
getServerConfig(),
getParentForChildren(),
isClean());
serverConfig_ = null;
}
return serverConfigBuilder_;
}
private long limitedId_ ;
/**
* optional int64 limitedId = 10;
* @return Whether the limitedId field is set.
*/
@java.lang.Override
public boolean hasLimitedId() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional int64 limitedId = 10;
* @return The limitedId.
*/
@java.lang.Override
public long getLimitedId() {
return limitedId_;
}
/**
* optional int64 limitedId = 10;
* @param value The limitedId to set.
* @return This builder for chaining.
*/
public Builder setLimitedId(long value) {
bitField0_ |= 0x00000200;
limitedId_ = value;
onChanged();
return this;
}
/**
* optional int64 limitedId = 10;
* @return This builder for chaining.
*/
public Builder clearLimitedId() {
bitField0_ = (bitField0_ & ~0x00000200);
limitedId_ = 0L;
onChanged();
return this;
}
private long continueId_ ;
/**
* optional int64 continueId = 11;
* @return Whether the continueId field is set.
*/
@java.lang.Override
public boolean hasContinueId() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional int64 continueId = 11;
* @return The continueId.
*/
@java.lang.Override
public long getContinueId() {
return continueId_;
}
/**
* optional int64 continueId = 11;
* @param value The continueId to set.
* @return This builder for chaining.
*/
public Builder setContinueId(long value) {
bitField0_ |= 0x00000400;
continueId_ = value;
onChanged();
return this;
}
/**
* optional int64 continueId = 11;
* @return This builder for chaining.
*/
public Builder clearContinueId() {
bitField0_ = (bitField0_ & ~0x00000400);
continueId_ = 0L;
onChanged();
return this;
}
private java.lang.Object retTips_ = "";
/**
* optional string retTips = 12;
* @return Whether the retTips field is set.
*/
public boolean hasRetTips() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional string retTips = 12;
* @return The retTips.
*/
public java.lang.String getRetTips() {
java.lang.Object ref = retTips_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
retTips_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string retTips = 12;
* @return The bytes for retTips.
*/
public com.google.protobuf.ByteString
getRetTipsBytes() {
java.lang.Object ref = retTips_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
retTips_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string retTips = 12;
* @param value The retTips to set.
* @return This builder for chaining.
*/
public Builder setRetTips(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000800;
retTips_ = value;
onChanged();
return this;
}
/**
* optional string retTips = 12;
* @return This builder for chaining.
*/
public Builder clearRetTips() {
bitField0_ = (bitField0_ & ~0x00000800);
retTips_ = getDefaultInstance().getRetTips();
onChanged();
return this;
}
/**
* optional string retTips = 12;
* @param value The bytes for retTips to set.
* @return This builder for chaining.
*/
public Builder setRetTipsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000800;
retTips_ = value;
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.SnsUserPageResponse)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsUserPageResponse)
private static final wechat.protobuf.Friendgroup.SnsUserPageResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsUserPageResponse();
}
public static wechat.protobuf.Friendgroup.SnsUserPageResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsUserPageResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsUserPageResponse(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.Friendgroup.SnsUserPageResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsServerConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsServerConfig)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 postMentionLimit = 1;
* @return Whether the postMentionLimit field is set.
*/
boolean hasPostMentionLimit();
/**
* optional uint32 postMentionLimit = 1;
* @return The postMentionLimit.
*/
int getPostMentionLimit();
/**
* optional uint32 copyAndPasteWordLimit = 2;
* @return Whether the copyAndPasteWordLimit field is set.
*/
boolean hasCopyAndPasteWordLimit();
/**
* optional uint32 copyAndPasteWordLimit = 2;
* @return The copyAndPasteWordLimit.
*/
int getCopyAndPasteWordLimit();
}
/**
* Protobuf type {@code wechat_proto.SnsServerConfig}
*/
public static final class SnsServerConfig extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsServerConfig)
SnsServerConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsServerConfig.newBuilder() to construct.
private SnsServerConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsServerConfig() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsServerConfig();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsServerConfig(
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;
postMentionLimit_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
copyAndPasteWordLimit_ = 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.Friendgroup.internal_static_wechat_proto_SnsServerConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsServerConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsServerConfig.class, wechat.protobuf.Friendgroup.SnsServerConfig.Builder.class);
}
private int bitField0_;
public static final int POSTMENTIONLIMIT_FIELD_NUMBER = 1;
private int postMentionLimit_;
/**
* optional uint32 postMentionLimit = 1;
* @return Whether the postMentionLimit field is set.
*/
@java.lang.Override
public boolean hasPostMentionLimit() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 postMentionLimit = 1;
* @return The postMentionLimit.
*/
@java.lang.Override
public int getPostMentionLimit() {
return postMentionLimit_;
}
public static final int COPYANDPASTEWORDLIMIT_FIELD_NUMBER = 2;
private int copyAndPasteWordLimit_;
/**
* optional uint32 copyAndPasteWordLimit = 2;
* @return Whether the copyAndPasteWordLimit field is set.
*/
@java.lang.Override
public boolean hasCopyAndPasteWordLimit() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 copyAndPasteWordLimit = 2;
* @return The copyAndPasteWordLimit.
*/
@java.lang.Override
public int getCopyAndPasteWordLimit() {
return copyAndPasteWordLimit_;
}
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.writeUInt32(1, postMentionLimit_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, copyAndPasteWordLimit_);
}
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
.computeUInt32Size(1, postMentionLimit_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, copyAndPasteWordLimit_);
}
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.Friendgroup.SnsServerConfig)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsServerConfig other = (wechat.protobuf.Friendgroup.SnsServerConfig) obj;
if (hasPostMentionLimit() != other.hasPostMentionLimit()) return false;
if (hasPostMentionLimit()) {
if (getPostMentionLimit()
!= other.getPostMentionLimit()) return false;
}
if (hasCopyAndPasteWordLimit() != other.hasCopyAndPasteWordLimit()) return false;
if (hasCopyAndPasteWordLimit()) {
if (getCopyAndPasteWordLimit()
!= other.getCopyAndPasteWordLimit()) 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 (hasPostMentionLimit()) {
hash = (37 * hash) + POSTMENTIONLIMIT_FIELD_NUMBER;
hash = (53 * hash) + getPostMentionLimit();
}
if (hasCopyAndPasteWordLimit()) {
hash = (37 * hash) + COPYANDPASTEWORDLIMIT_FIELD_NUMBER;
hash = (53 * hash) + getCopyAndPasteWordLimit();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsServerConfig parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsServerConfig parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsServerConfig parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsServerConfig 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.Friendgroup.SnsServerConfig parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsServerConfig parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsServerConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsServerConfig 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.Friendgroup.SnsServerConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsServerConfig 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.Friendgroup.SnsServerConfig parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsServerConfig 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.Friendgroup.SnsServerConfig 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.SnsServerConfig}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsServerConfig)
wechat.protobuf.Friendgroup.SnsServerConfigOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsServerConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsServerConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsServerConfig.class, wechat.protobuf.Friendgroup.SnsServerConfig.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsServerConfig.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
postMentionLimit_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
copyAndPasteWordLimit_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsServerConfig_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsServerConfig getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsServerConfig build() {
wechat.protobuf.Friendgroup.SnsServerConfig result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsServerConfig buildPartial() {
wechat.protobuf.Friendgroup.SnsServerConfig result = new wechat.protobuf.Friendgroup.SnsServerConfig(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.postMentionLimit_ = postMentionLimit_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.copyAndPasteWordLimit_ = copyAndPasteWordLimit_;
to_bitField0_ |= 0x00000002;
}
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.Friendgroup.SnsServerConfig) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsServerConfig)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsServerConfig other) {
if (other == wechat.protobuf.Friendgroup.SnsServerConfig.getDefaultInstance()) return this;
if (other.hasPostMentionLimit()) {
setPostMentionLimit(other.getPostMentionLimit());
}
if (other.hasCopyAndPasteWordLimit()) {
setCopyAndPasteWordLimit(other.getCopyAndPasteWordLimit());
}
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.Friendgroup.SnsServerConfig parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsServerConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int postMentionLimit_ ;
/**
* optional uint32 postMentionLimit = 1;
* @return Whether the postMentionLimit field is set.
*/
@java.lang.Override
public boolean hasPostMentionLimit() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 postMentionLimit = 1;
* @return The postMentionLimit.
*/
@java.lang.Override
public int getPostMentionLimit() {
return postMentionLimit_;
}
/**
* optional uint32 postMentionLimit = 1;
* @param value The postMentionLimit to set.
* @return This builder for chaining.
*/
public Builder setPostMentionLimit(int value) {
bitField0_ |= 0x00000001;
postMentionLimit_ = value;
onChanged();
return this;
}
/**
* optional uint32 postMentionLimit = 1;
* @return This builder for chaining.
*/
public Builder clearPostMentionLimit() {
bitField0_ = (bitField0_ & ~0x00000001);
postMentionLimit_ = 0;
onChanged();
return this;
}
private int copyAndPasteWordLimit_ ;
/**
* optional uint32 copyAndPasteWordLimit = 2;
* @return Whether the copyAndPasteWordLimit field is set.
*/
@java.lang.Override
public boolean hasCopyAndPasteWordLimit() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 copyAndPasteWordLimit = 2;
* @return The copyAndPasteWordLimit.
*/
@java.lang.Override
public int getCopyAndPasteWordLimit() {
return copyAndPasteWordLimit_;
}
/**
* optional uint32 copyAndPasteWordLimit = 2;
* @param value The copyAndPasteWordLimit to set.
* @return This builder for chaining.
*/
public Builder setCopyAndPasteWordLimit(int value) {
bitField0_ |= 0x00000002;
copyAndPasteWordLimit_ = value;
onChanged();
return this;
}
/**
* optional uint32 copyAndPasteWordLimit = 2;
* @return This builder for chaining.
*/
public Builder clearCopyAndPasteWordLimit() {
bitField0_ = (bitField0_ & ~0x00000002);
copyAndPasteWordLimit_ = 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.SnsServerConfig)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsServerConfig)
private static final wechat.protobuf.Friendgroup.SnsServerConfig DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsServerConfig();
}
public static wechat.protobuf.Friendgroup.SnsServerConfig getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsServerConfig parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsServerConfig(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.Friendgroup.SnsServerConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsObjectOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsObject)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional uint64 id = 1;
* @return The id.
*/
long getId();
/**
* optional string username = 2;
* @return Whether the username field is set.
*/
boolean hasUsername();
/**
* optional string username = 2;
* @return The username.
*/
java.lang.String getUsername();
/**
* optional string username = 2;
* @return The bytes for username.
*/
com.google.protobuf.ByteString
getUsernameBytes();
/**
* optional string nickname = 3;
* @return Whether the nickname field is set.
*/
boolean hasNickname();
/**
* optional string nickname = 3;
* @return The nickname.
*/
java.lang.String getNickname();
/**
* optional string nickname = 3;
* @return The bytes for nickname.
*/
com.google.protobuf.ByteString
getNicknameBytes();
/**
* optional uint32 createTime = 4;
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
* optional uint32 createTime = 4;
* @return The createTime.
*/
int getCreateTime();
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
* @return Whether the objectDesc field is set.
*/
boolean hasObjectDesc();
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
* @return The objectDesc.
*/
wechat.protobuf.SKBuiltinString_ getObjectDesc();
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
*/
wechat.protobuf.SKBuiltinString_OrBuilder getObjectDescOrBuilder();
/**
* optional uint32 likeFlag = 6;
* @return Whether the likeFlag field is set.
*/
boolean hasLikeFlag();
/**
* optional uint32 likeFlag = 6;
* @return The likeFlag.
*/
int getLikeFlag();
/**
* optional uint32 likeNum = 7;
* @return Whether the likeNum field is set.
*/
boolean hasLikeNum();
/**
* optional uint32 likeNum = 7;
* @return The likeNum.
*/
int getLikeNum();
/**
* optional uint32 likeUserListNum = 8;
* @return Whether the likeUserListNum field is set.
*/
boolean hasLikeUserListNum();
/**
* optional uint32 likeUserListNum = 8;
* @return The likeUserListNum.
*/
int getLikeUserListNum();
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
java.util.List
getLikeUserListList();
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
wechat.protobuf.Friendgroup.SnsCommentInfo getLikeUserList(int index);
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
int getLikeUserListCount();
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
java.util.List extends wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>
getLikeUserListOrBuilderList();
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getLikeUserListOrBuilder(
int index);
/**
* optional uint32 commentNum = 10;
* @return Whether the commentNum field is set.
*/
boolean hasCommentNum();
/**
* optional uint32 commentNum = 10;
* @return The commentNum.
*/
int getCommentNum();
/**
* optional uint32 commentUserListNum = 11;
* @return Whether the commentUserListNum field is set.
*/
boolean hasCommentUserListNum();
/**
* optional uint32 commentUserListNum = 11;
* @return The commentUserListNum.
*/
int getCommentUserListNum();
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
java.util.List
getCommentUserListList();
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
wechat.protobuf.Friendgroup.SnsCommentInfo getCommentUserList(int index);
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
int getCommentUserListCount();
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
java.util.List extends wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>
getCommentUserListOrBuilderList();
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getCommentUserListOrBuilder(
int index);
/**
* optional uint32 withUserNum = 13;
* @return Whether the withUserNum field is set.
*/
boolean hasWithUserNum();
/**
* optional uint32 withUserNum = 13;
* @return The withUserNum.
*/
int getWithUserNum();
/**
* optional uint32 withUserListNum = 14;
* @return Whether the withUserListNum field is set.
*/
boolean hasWithUserListNum();
/**
* optional uint32 withUserListNum = 14;
* @return The withUserListNum.
*/
int getWithUserListNum();
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
java.util.List
getWithUserListList();
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
wechat.protobuf.Friendgroup.SnsCommentInfo getWithUserList(int index);
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
int getWithUserListCount();
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
java.util.List extends wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>
getWithUserListOrBuilderList();
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getWithUserListOrBuilder(
int index);
/**
* optional uint32 extFlag = 16;
* @return Whether the extFlag field is set.
*/
boolean hasExtFlag();
/**
* optional uint32 extFlag = 16;
* @return The extFlag.
*/
int getExtFlag();
/**
* optional uint32 noChange = 17;
* @return Whether the noChange field is set.
*/
boolean hasNoChange();
/**
* optional uint32 noChange = 17;
* @return The noChange.
*/
int getNoChange();
/**
* optional uint32 groupNum = 18;
* @return Whether the groupNum field is set.
*/
boolean hasGroupNum();
/**
* optional uint32 groupNum = 18;
* @return The groupNum.
*/
int getGroupNum();
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
java.util.List
getGroupListList();
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
wechat.protobuf.Friendgroup.SnsGroup getGroupList(int index);
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
int getGroupListCount();
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
java.util.List extends wechat.protobuf.Friendgroup.SnsGroupOrBuilder>
getGroupListOrBuilderList();
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
wechat.protobuf.Friendgroup.SnsGroupOrBuilder getGroupListOrBuilder(
int index);
/**
* optional uint32 isNotRichText = 20;
* @return Whether the isNotRichText field is set.
*/
boolean hasIsNotRichText();
/**
* optional uint32 isNotRichText = 20;
* @return The isNotRichText.
*/
int getIsNotRichText();
/**
* optional string referUsername = 21;
* @return Whether the referUsername field is set.
*/
boolean hasReferUsername();
/**
* optional string referUsername = 21;
* @return The referUsername.
*/
java.lang.String getReferUsername();
/**
* optional string referUsername = 21;
* @return The bytes for referUsername.
*/
com.google.protobuf.ByteString
getReferUsernameBytes();
/**
* optional uint64 referId = 22;
* @return Whether the referId field is set.
*/
boolean hasReferId();
/**
* optional uint64 referId = 22;
* @return The referId.
*/
long getReferId();
/**
* optional uint32 blackListNum = 23;
* @return Whether the blackListNum field is set.
*/
boolean hasBlackListNum();
/**
* optional uint32 blackListNum = 23;
* @return The blackListNum.
*/
int getBlackListNum();
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
java.util.List
getBlackListList();
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
wechat.protobuf.SKBuiltinString getBlackList(int index);
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
int getBlackListCount();
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getBlackListOrBuilderList();
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
wechat.protobuf.SKBuiltinStringOrBuilder getBlackListOrBuilder(
int index);
/**
* optional uint32 deleteFlag = 25;
* @return Whether the deleteFlag field is set.
*/
boolean hasDeleteFlag();
/**
* optional uint32 deleteFlag = 25;
* @return The deleteFlag.
*/
int getDeleteFlag();
/**
* optional uint32 groupUserNum = 26;
* @return Whether the groupUserNum field is set.
*/
boolean hasGroupUserNum();
/**
* optional uint32 groupUserNum = 26;
* @return The groupUserNum.
*/
int getGroupUserNum();
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
java.util.List
getGroupUserList();
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
wechat.protobuf.SKBuiltinString getGroupUser(int index);
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
int getGroupUserCount();
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getGroupUserOrBuilderList();
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
wechat.protobuf.SKBuiltinStringOrBuilder getGroupUserOrBuilder(
int index);
/**
* optional .wechat_proto.SKBuiltinString_ objectOperations = 28;
* @return Whether the objectOperations field is set.
*/
boolean hasObjectOperations();
/**
* optional .wechat_proto.SKBuiltinString_ objectOperations = 28;
* @return The objectOperations.
*/
wechat.protobuf.SKBuiltinString_ getObjectOperations();
/**
* optional .wechat_proto.SKBuiltinString_ objectOperations = 28;
*/
wechat.protobuf.SKBuiltinString_OrBuilder getObjectOperationsOrBuilder();
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29;
* @return Whether the snsRedEnvelops field is set.
*/
boolean hasSnsRedEnvelops();
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29;
* @return The snsRedEnvelops.
*/
wechat.protobuf.Friendgroup.SnsRedEnvelops getSnsRedEnvelops();
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29;
*/
wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder getSnsRedEnvelopsOrBuilder();
/**
* optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30;
* @return Whether the preDownloadInfo field is set.
*/
boolean hasPreDownloadInfo();
/**
* optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30;
* @return The preDownloadInfo.
*/
wechat.protobuf.Friendgroup.PreDownloadInfo getPreDownloadInfo();
/**
* optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30;
*/
wechat.protobuf.Friendgroup.PreDownloadInfoOrBuilder getPreDownloadInfoOrBuilder();
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 31;
* @return Whether the weAppInfo field is set.
*/
boolean hasWeAppInfo();
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 31;
* @return The weAppInfo.
*/
wechat.protobuf.Friendgroup.SnsWeAppInfo getWeAppInfo();
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 31;
*/
wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder getWeAppInfoOrBuilder();
}
/**
* Protobuf type {@code wechat_proto.SnsObject}
*/
public static final class SnsObject extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsObject)
SnsObjectOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsObject.newBuilder() to construct.
private SnsObject(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsObject() {
username_ = "";
nickname_ = "";
likeUserList_ = java.util.Collections.emptyList();
commentUserList_ = java.util.Collections.emptyList();
withUserList_ = java.util.Collections.emptyList();
groupList_ = java.util.Collections.emptyList();
referUsername_ = "";
blackList_ = java.util.Collections.emptyList();
groupUser_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsObject();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsObject(
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;
id_ = input.readUInt64();
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
username_ = bs;
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
nickname_ = bs;
break;
}
case 32: {
bitField0_ |= 0x00000008;
createTime_ = input.readUInt32();
break;
}
case 42: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) != 0)) {
subBuilder = objectDesc_.toBuilder();
}
objectDesc_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(objectDesc_);
objectDesc_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 48: {
bitField0_ |= 0x00000020;
likeFlag_ = input.readUInt32();
break;
}
case 56: {
bitField0_ |= 0x00000040;
likeNum_ = input.readUInt32();
break;
}
case 64: {
bitField0_ |= 0x00000080;
likeUserListNum_ = input.readUInt32();
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000100) != 0)) {
likeUserList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
likeUserList_.add(
input.readMessage(wechat.protobuf.Friendgroup.SnsCommentInfo.PARSER, extensionRegistry));
break;
}
case 80: {
bitField0_ |= 0x00000100;
commentNum_ = input.readUInt32();
break;
}
case 88: {
bitField0_ |= 0x00000200;
commentUserListNum_ = input.readUInt32();
break;
}
case 98: {
if (!((mutable_bitField0_ & 0x00000800) != 0)) {
commentUserList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000800;
}
commentUserList_.add(
input.readMessage(wechat.protobuf.Friendgroup.SnsCommentInfo.PARSER, extensionRegistry));
break;
}
case 104: {
bitField0_ |= 0x00000400;
withUserNum_ = input.readUInt32();
break;
}
case 112: {
bitField0_ |= 0x00000800;
withUserListNum_ = input.readUInt32();
break;
}
case 122: {
if (!((mutable_bitField0_ & 0x00004000) != 0)) {
withUserList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00004000;
}
withUserList_.add(
input.readMessage(wechat.protobuf.Friendgroup.SnsCommentInfo.PARSER, extensionRegistry));
break;
}
case 128: {
bitField0_ |= 0x00001000;
extFlag_ = input.readUInt32();
break;
}
case 136: {
bitField0_ |= 0x00002000;
noChange_ = input.readUInt32();
break;
}
case 144: {
bitField0_ |= 0x00004000;
groupNum_ = input.readUInt32();
break;
}
case 154: {
if (!((mutable_bitField0_ & 0x00040000) != 0)) {
groupList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00040000;
}
groupList_.add(
input.readMessage(wechat.protobuf.Friendgroup.SnsGroup.PARSER, extensionRegistry));
break;
}
case 160: {
bitField0_ |= 0x00008000;
isNotRichText_ = input.readUInt32();
break;
}
case 170: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00010000;
referUsername_ = bs;
break;
}
case 176: {
bitField0_ |= 0x00020000;
referId_ = input.readUInt64();
break;
}
case 184: {
bitField0_ |= 0x00040000;
blackListNum_ = input.readUInt32();
break;
}
case 194: {
if (!((mutable_bitField0_ & 0x00800000) != 0)) {
blackList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00800000;
}
blackList_.add(
input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry));
break;
}
case 200: {
bitField0_ |= 0x00080000;
deleteFlag_ = input.readUInt32();
break;
}
case 208: {
bitField0_ |= 0x00100000;
groupUserNum_ = input.readUInt32();
break;
}
case 218: {
if (!((mutable_bitField0_ & 0x04000000) != 0)) {
groupUser_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x04000000;
}
groupUser_.add(
input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry));
break;
}
case 226: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00200000) != 0)) {
subBuilder = objectOperations_.toBuilder();
}
objectOperations_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(objectOperations_);
objectOperations_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00200000;
break;
}
case 234: {
wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder subBuilder = null;
if (((bitField0_ & 0x00400000) != 0)) {
subBuilder = snsRedEnvelops_.toBuilder();
}
snsRedEnvelops_ = input.readMessage(wechat.protobuf.Friendgroup.SnsRedEnvelops.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(snsRedEnvelops_);
snsRedEnvelops_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00400000;
break;
}
case 242: {
wechat.protobuf.Friendgroup.PreDownloadInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00800000) != 0)) {
subBuilder = preDownloadInfo_.toBuilder();
}
preDownloadInfo_ = input.readMessage(wechat.protobuf.Friendgroup.PreDownloadInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(preDownloadInfo_);
preDownloadInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00800000;
break;
}
case 250: {
wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder subBuilder = null;
if (((bitField0_ & 0x01000000) != 0)) {
subBuilder = weAppInfo_.toBuilder();
}
weAppInfo_ = input.readMessage(wechat.protobuf.Friendgroup.SnsWeAppInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(weAppInfo_);
weAppInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x01000000;
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_ & 0x00000100) != 0)) {
likeUserList_ = java.util.Collections.unmodifiableList(likeUserList_);
}
if (((mutable_bitField0_ & 0x00000800) != 0)) {
commentUserList_ = java.util.Collections.unmodifiableList(commentUserList_);
}
if (((mutable_bitField0_ & 0x00004000) != 0)) {
withUserList_ = java.util.Collections.unmodifiableList(withUserList_);
}
if (((mutable_bitField0_ & 0x00040000) != 0)) {
groupList_ = java.util.Collections.unmodifiableList(groupList_);
}
if (((mutable_bitField0_ & 0x00800000) != 0)) {
blackList_ = java.util.Collections.unmodifiableList(blackList_);
}
if (((mutable_bitField0_ & 0x04000000) != 0)) {
groupUser_ = java.util.Collections.unmodifiableList(groupUser_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObject_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObject_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsObject.class, wechat.protobuf.Friendgroup.SnsObject.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional uint64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int USERNAME_FIELD_NUMBER = 2;
private volatile java.lang.Object username_;
/**
* optional string username = 2;
* @return Whether the username field is set.
*/
@java.lang.Override
public boolean hasUsername() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string username = 2;
* @return The username.
*/
@java.lang.Override
public java.lang.String getUsername() {
java.lang.Object ref = username_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
username_ = s;
}
return s;
}
}
/**
* optional string username = 2;
* @return The bytes for username.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUsernameBytes() {
java.lang.Object ref = username_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
username_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NICKNAME_FIELD_NUMBER = 3;
private volatile java.lang.Object nickname_;
/**
* optional string nickname = 3;
* @return Whether the nickname field is set.
*/
@java.lang.Override
public boolean hasNickname() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string nickname = 3;
* @return The nickname.
*/
@java.lang.Override
public java.lang.String getNickname() {
java.lang.Object ref = nickname_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
nickname_ = s;
}
return s;
}
}
/**
* optional string nickname = 3;
* @return The bytes for nickname.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNicknameBytes() {
java.lang.Object ref = nickname_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nickname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATETIME_FIELD_NUMBER = 4;
private int createTime_;
/**
* optional uint32 createTime = 4;
* @return Whether the createTime field is set.
*/
@java.lang.Override
public boolean hasCreateTime() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 createTime = 4;
* @return The createTime.
*/
@java.lang.Override
public int getCreateTime() {
return createTime_;
}
public static final int OBJECTDESC_FIELD_NUMBER = 5;
private wechat.protobuf.SKBuiltinString_ objectDesc_;
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
* @return Whether the objectDesc field is set.
*/
@java.lang.Override
public boolean hasObjectDesc() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
* @return The objectDesc.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getObjectDesc() {
return objectDesc_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_;
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getObjectDescOrBuilder() {
return objectDesc_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_;
}
public static final int LIKEFLAG_FIELD_NUMBER = 6;
private int likeFlag_;
/**
* optional uint32 likeFlag = 6;
* @return Whether the likeFlag field is set.
*/
@java.lang.Override
public boolean hasLikeFlag() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 likeFlag = 6;
* @return The likeFlag.
*/
@java.lang.Override
public int getLikeFlag() {
return likeFlag_;
}
public static final int LIKENUM_FIELD_NUMBER = 7;
private int likeNum_;
/**
* optional uint32 likeNum = 7;
* @return Whether the likeNum field is set.
*/
@java.lang.Override
public boolean hasLikeNum() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 likeNum = 7;
* @return The likeNum.
*/
@java.lang.Override
public int getLikeNum() {
return likeNum_;
}
public static final int LIKEUSERLISTNUM_FIELD_NUMBER = 8;
private int likeUserListNum_;
/**
* optional uint32 likeUserListNum = 8;
* @return Whether the likeUserListNum field is set.
*/
@java.lang.Override
public boolean hasLikeUserListNum() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional uint32 likeUserListNum = 8;
* @return The likeUserListNum.
*/
@java.lang.Override
public int getLikeUserListNum() {
return likeUserListNum_;
}
public static final int LIKEUSERLIST_FIELD_NUMBER = 9;
private java.util.List likeUserList_;
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
@java.lang.Override
public java.util.List getLikeUserListList() {
return likeUserList_;
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>
getLikeUserListOrBuilderList() {
return likeUserList_;
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
@java.lang.Override
public int getLikeUserListCount() {
return likeUserList_.size();
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsCommentInfo getLikeUserList(int index) {
return likeUserList_.get(index);
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getLikeUserListOrBuilder(
int index) {
return likeUserList_.get(index);
}
public static final int COMMENTNUM_FIELD_NUMBER = 10;
private int commentNum_;
/**
* optional uint32 commentNum = 10;
* @return Whether the commentNum field is set.
*/
@java.lang.Override
public boolean hasCommentNum() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional uint32 commentNum = 10;
* @return The commentNum.
*/
@java.lang.Override
public int getCommentNum() {
return commentNum_;
}
public static final int COMMENTUSERLISTNUM_FIELD_NUMBER = 11;
private int commentUserListNum_;
/**
* optional uint32 commentUserListNum = 11;
* @return Whether the commentUserListNum field is set.
*/
@java.lang.Override
public boolean hasCommentUserListNum() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional uint32 commentUserListNum = 11;
* @return The commentUserListNum.
*/
@java.lang.Override
public int getCommentUserListNum() {
return commentUserListNum_;
}
public static final int COMMENTUSERLIST_FIELD_NUMBER = 12;
private java.util.List commentUserList_;
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
@java.lang.Override
public java.util.List getCommentUserListList() {
return commentUserList_;
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>
getCommentUserListOrBuilderList() {
return commentUserList_;
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
@java.lang.Override
public int getCommentUserListCount() {
return commentUserList_.size();
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsCommentInfo getCommentUserList(int index) {
return commentUserList_.get(index);
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getCommentUserListOrBuilder(
int index) {
return commentUserList_.get(index);
}
public static final int WITHUSERNUM_FIELD_NUMBER = 13;
private int withUserNum_;
/**
* optional uint32 withUserNum = 13;
* @return Whether the withUserNum field is set.
*/
@java.lang.Override
public boolean hasWithUserNum() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional uint32 withUserNum = 13;
* @return The withUserNum.
*/
@java.lang.Override
public int getWithUserNum() {
return withUserNum_;
}
public static final int WITHUSERLISTNUM_FIELD_NUMBER = 14;
private int withUserListNum_;
/**
* optional uint32 withUserListNum = 14;
* @return Whether the withUserListNum field is set.
*/
@java.lang.Override
public boolean hasWithUserListNum() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional uint32 withUserListNum = 14;
* @return The withUserListNum.
*/
@java.lang.Override
public int getWithUserListNum() {
return withUserListNum_;
}
public static final int WITHUSERLIST_FIELD_NUMBER = 15;
private java.util.List withUserList_;
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
@java.lang.Override
public java.util.List getWithUserListList() {
return withUserList_;
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>
getWithUserListOrBuilderList() {
return withUserList_;
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
@java.lang.Override
public int getWithUserListCount() {
return withUserList_.size();
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsCommentInfo getWithUserList(int index) {
return withUserList_.get(index);
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getWithUserListOrBuilder(
int index) {
return withUserList_.get(index);
}
public static final int EXTFLAG_FIELD_NUMBER = 16;
private int extFlag_;
/**
* optional uint32 extFlag = 16;
* @return Whether the extFlag field is set.
*/
@java.lang.Override
public boolean hasExtFlag() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional uint32 extFlag = 16;
* @return The extFlag.
*/
@java.lang.Override
public int getExtFlag() {
return extFlag_;
}
public static final int NOCHANGE_FIELD_NUMBER = 17;
private int noChange_;
/**
* optional uint32 noChange = 17;
* @return Whether the noChange field is set.
*/
@java.lang.Override
public boolean hasNoChange() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional uint32 noChange = 17;
* @return The noChange.
*/
@java.lang.Override
public int getNoChange() {
return noChange_;
}
public static final int GROUPNUM_FIELD_NUMBER = 18;
private int groupNum_;
/**
* optional uint32 groupNum = 18;
* @return Whether the groupNum field is set.
*/
@java.lang.Override
public boolean hasGroupNum() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional uint32 groupNum = 18;
* @return The groupNum.
*/
@java.lang.Override
public int getGroupNum() {
return groupNum_;
}
public static final int GROUPLIST_FIELD_NUMBER = 19;
private java.util.List groupList_;
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
@java.lang.Override
public java.util.List getGroupListList() {
return groupList_;
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.Friendgroup.SnsGroupOrBuilder>
getGroupListOrBuilderList() {
return groupList_;
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
@java.lang.Override
public int getGroupListCount() {
return groupList_.size();
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsGroup getGroupList(int index) {
return groupList_.get(index);
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsGroupOrBuilder getGroupListOrBuilder(
int index) {
return groupList_.get(index);
}
public static final int ISNOTRICHTEXT_FIELD_NUMBER = 20;
private int isNotRichText_;
/**
* optional uint32 isNotRichText = 20;
* @return Whether the isNotRichText field is set.
*/
@java.lang.Override
public boolean hasIsNotRichText() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional uint32 isNotRichText = 20;
* @return The isNotRichText.
*/
@java.lang.Override
public int getIsNotRichText() {
return isNotRichText_;
}
public static final int REFERUSERNAME_FIELD_NUMBER = 21;
private volatile java.lang.Object referUsername_;
/**
* optional string referUsername = 21;
* @return Whether the referUsername field is set.
*/
@java.lang.Override
public boolean hasReferUsername() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional string referUsername = 21;
* @return The referUsername.
*/
@java.lang.Override
public java.lang.String getReferUsername() {
java.lang.Object ref = referUsername_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
referUsername_ = s;
}
return s;
}
}
/**
* optional string referUsername = 21;
* @return The bytes for referUsername.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReferUsernameBytes() {
java.lang.Object ref = referUsername_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
referUsername_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REFERID_FIELD_NUMBER = 22;
private long referId_;
/**
* optional uint64 referId = 22;
* @return Whether the referId field is set.
*/
@java.lang.Override
public boolean hasReferId() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional uint64 referId = 22;
* @return The referId.
*/
@java.lang.Override
public long getReferId() {
return referId_;
}
public static final int BLACKLISTNUM_FIELD_NUMBER = 23;
private int blackListNum_;
/**
* optional uint32 blackListNum = 23;
* @return Whether the blackListNum field is set.
*/
@java.lang.Override
public boolean hasBlackListNum() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
* optional uint32 blackListNum = 23;
* @return The blackListNum.
*/
@java.lang.Override
public int getBlackListNum() {
return blackListNum_;
}
public static final int BLACKLIST_FIELD_NUMBER = 24;
private java.util.List blackList_;
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
@java.lang.Override
public java.util.List getBlackListList() {
return blackList_;
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getBlackListOrBuilderList() {
return blackList_;
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
@java.lang.Override
public int getBlackListCount() {
return blackList_.size();
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString getBlackList(int index) {
return blackList_.get(index);
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinStringOrBuilder getBlackListOrBuilder(
int index) {
return blackList_.get(index);
}
public static final int DELETEFLAG_FIELD_NUMBER = 25;
private int deleteFlag_;
/**
* optional uint32 deleteFlag = 25;
* @return Whether the deleteFlag field is set.
*/
@java.lang.Override
public boolean hasDeleteFlag() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
* optional uint32 deleteFlag = 25;
* @return The deleteFlag.
*/
@java.lang.Override
public int getDeleteFlag() {
return deleteFlag_;
}
public static final int GROUPUSERNUM_FIELD_NUMBER = 26;
private int groupUserNum_;
/**
* optional uint32 groupUserNum = 26;
* @return Whether the groupUserNum field is set.
*/
@java.lang.Override
public boolean hasGroupUserNum() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
* optional uint32 groupUserNum = 26;
* @return The groupUserNum.
*/
@java.lang.Override
public int getGroupUserNum() {
return groupUserNum_;
}
public static final int GROUPUSER_FIELD_NUMBER = 27;
private java.util.List groupUser_;
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
@java.lang.Override
public java.util.List getGroupUserList() {
return groupUser_;
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getGroupUserOrBuilderList() {
return groupUser_;
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
@java.lang.Override
public int getGroupUserCount() {
return groupUser_.size();
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString getGroupUser(int index) {
return groupUser_.get(index);
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinStringOrBuilder getGroupUserOrBuilder(
int index) {
return groupUser_.get(index);
}
public static final int OBJECTOPERATIONS_FIELD_NUMBER = 28;
private wechat.protobuf.SKBuiltinString_ objectOperations_;
/**
* optional .wechat_proto.SKBuiltinString_ objectOperations = 28;
* @return Whether the objectOperations field is set.
*/
@java.lang.Override
public boolean hasObjectOperations() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ objectOperations = 28;
* @return The objectOperations.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getObjectOperations() {
return objectOperations_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectOperations_;
}
/**
* optional .wechat_proto.SKBuiltinString_ objectOperations = 28;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getObjectOperationsOrBuilder() {
return objectOperations_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectOperations_;
}
public static final int SNSREDENVELOPS_FIELD_NUMBER = 29;
private wechat.protobuf.Friendgroup.SnsRedEnvelops snsRedEnvelops_;
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29;
* @return Whether the snsRedEnvelops field is set.
*/
@java.lang.Override
public boolean hasSnsRedEnvelops() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29;
* @return The snsRedEnvelops.
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsRedEnvelops getSnsRedEnvelops() {
return snsRedEnvelops_ == null ? wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_;
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder getSnsRedEnvelopsOrBuilder() {
return snsRedEnvelops_ == null ? wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_;
}
public static final int PREDOWNLOADINFO_FIELD_NUMBER = 30;
private wechat.protobuf.Friendgroup.PreDownloadInfo preDownloadInfo_;
/**
* optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30;
* @return Whether the preDownloadInfo field is set.
*/
@java.lang.Override
public boolean hasPreDownloadInfo() {
return ((bitField0_ & 0x00800000) != 0);
}
/**
* optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30;
* @return The preDownloadInfo.
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.PreDownloadInfo getPreDownloadInfo() {
return preDownloadInfo_ == null ? wechat.protobuf.Friendgroup.PreDownloadInfo.getDefaultInstance() : preDownloadInfo_;
}
/**
* optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.PreDownloadInfoOrBuilder getPreDownloadInfoOrBuilder() {
return preDownloadInfo_ == null ? wechat.protobuf.Friendgroup.PreDownloadInfo.getDefaultInstance() : preDownloadInfo_;
}
public static final int WEAPPINFO_FIELD_NUMBER = 31;
private wechat.protobuf.Friendgroup.SnsWeAppInfo weAppInfo_;
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 31;
* @return Whether the weAppInfo field is set.
*/
@java.lang.Override
public boolean hasWeAppInfo() {
return ((bitField0_ & 0x01000000) != 0);
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 31;
* @return The weAppInfo.
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsWeAppInfo getWeAppInfo() {
return weAppInfo_ == null ? wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_;
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 31;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder getWeAppInfoOrBuilder() {
return weAppInfo_ == null ? wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_;
}
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.writeUInt64(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, username_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nickname_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, createTime_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(5, getObjectDesc());
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt32(6, likeFlag_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeUInt32(7, likeNum_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeUInt32(8, likeUserListNum_);
}
for (int i = 0; i < likeUserList_.size(); i++) {
output.writeMessage(9, likeUserList_.get(i));
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeUInt32(10, commentNum_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeUInt32(11, commentUserListNum_);
}
for (int i = 0; i < commentUserList_.size(); i++) {
output.writeMessage(12, commentUserList_.get(i));
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeUInt32(13, withUserNum_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeUInt32(14, withUserListNum_);
}
for (int i = 0; i < withUserList_.size(); i++) {
output.writeMessage(15, withUserList_.get(i));
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeUInt32(16, extFlag_);
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeUInt32(17, noChange_);
}
if (((bitField0_ & 0x00004000) != 0)) {
output.writeUInt32(18, groupNum_);
}
for (int i = 0; i < groupList_.size(); i++) {
output.writeMessage(19, groupList_.get(i));
}
if (((bitField0_ & 0x00008000) != 0)) {
output.writeUInt32(20, isNotRichText_);
}
if (((bitField0_ & 0x00010000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 21, referUsername_);
}
if (((bitField0_ & 0x00020000) != 0)) {
output.writeUInt64(22, referId_);
}
if (((bitField0_ & 0x00040000) != 0)) {
output.writeUInt32(23, blackListNum_);
}
for (int i = 0; i < blackList_.size(); i++) {
output.writeMessage(24, blackList_.get(i));
}
if (((bitField0_ & 0x00080000) != 0)) {
output.writeUInt32(25, deleteFlag_);
}
if (((bitField0_ & 0x00100000) != 0)) {
output.writeUInt32(26, groupUserNum_);
}
for (int i = 0; i < groupUser_.size(); i++) {
output.writeMessage(27, groupUser_.get(i));
}
if (((bitField0_ & 0x00200000) != 0)) {
output.writeMessage(28, getObjectOperations());
}
if (((bitField0_ & 0x00400000) != 0)) {
output.writeMessage(29, getSnsRedEnvelops());
}
if (((bitField0_ & 0x00800000) != 0)) {
output.writeMessage(30, getPreDownloadInfo());
}
if (((bitField0_ & 0x01000000) != 0)) {
output.writeMessage(31, getWeAppInfo());
}
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
.computeUInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, username_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nickname_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, createTime_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getObjectDesc());
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, likeFlag_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, likeNum_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, likeUserListNum_);
}
for (int i = 0; i < likeUserList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, likeUserList_.get(i));
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, commentNum_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, commentUserListNum_);
}
for (int i = 0; i < commentUserList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, commentUserList_.get(i));
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, withUserNum_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, withUserListNum_);
}
for (int i = 0; i < withUserList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, withUserList_.get(i));
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(16, extFlag_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(17, noChange_);
}
if (((bitField0_ & 0x00004000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(18, groupNum_);
}
for (int i = 0; i < groupList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, groupList_.get(i));
}
if (((bitField0_ & 0x00008000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(20, isNotRichText_);
}
if (((bitField0_ & 0x00010000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, referUsername_);
}
if (((bitField0_ & 0x00020000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(22, referId_);
}
if (((bitField0_ & 0x00040000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(23, blackListNum_);
}
for (int i = 0; i < blackList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(24, blackList_.get(i));
}
if (((bitField0_ & 0x00080000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(25, deleteFlag_);
}
if (((bitField0_ & 0x00100000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(26, groupUserNum_);
}
for (int i = 0; i < groupUser_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(27, groupUser_.get(i));
}
if (((bitField0_ & 0x00200000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(28, getObjectOperations());
}
if (((bitField0_ & 0x00400000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(29, getSnsRedEnvelops());
}
if (((bitField0_ & 0x00800000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(30, getPreDownloadInfo());
}
if (((bitField0_ & 0x01000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(31, getWeAppInfo());
}
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.Friendgroup.SnsObject)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsObject other = (wechat.protobuf.Friendgroup.SnsObject) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasUsername() != other.hasUsername()) return false;
if (hasUsername()) {
if (!getUsername()
.equals(other.getUsername())) return false;
}
if (hasNickname() != other.hasNickname()) return false;
if (hasNickname()) {
if (!getNickname()
.equals(other.getNickname())) return false;
}
if (hasCreateTime() != other.hasCreateTime()) return false;
if (hasCreateTime()) {
if (getCreateTime()
!= other.getCreateTime()) return false;
}
if (hasObjectDesc() != other.hasObjectDesc()) return false;
if (hasObjectDesc()) {
if (!getObjectDesc()
.equals(other.getObjectDesc())) return false;
}
if (hasLikeFlag() != other.hasLikeFlag()) return false;
if (hasLikeFlag()) {
if (getLikeFlag()
!= other.getLikeFlag()) return false;
}
if (hasLikeNum() != other.hasLikeNum()) return false;
if (hasLikeNum()) {
if (getLikeNum()
!= other.getLikeNum()) return false;
}
if (hasLikeUserListNum() != other.hasLikeUserListNum()) return false;
if (hasLikeUserListNum()) {
if (getLikeUserListNum()
!= other.getLikeUserListNum()) return false;
}
if (!getLikeUserListList()
.equals(other.getLikeUserListList())) return false;
if (hasCommentNum() != other.hasCommentNum()) return false;
if (hasCommentNum()) {
if (getCommentNum()
!= other.getCommentNum()) return false;
}
if (hasCommentUserListNum() != other.hasCommentUserListNum()) return false;
if (hasCommentUserListNum()) {
if (getCommentUserListNum()
!= other.getCommentUserListNum()) return false;
}
if (!getCommentUserListList()
.equals(other.getCommentUserListList())) return false;
if (hasWithUserNum() != other.hasWithUserNum()) return false;
if (hasWithUserNum()) {
if (getWithUserNum()
!= other.getWithUserNum()) return false;
}
if (hasWithUserListNum() != other.hasWithUserListNum()) return false;
if (hasWithUserListNum()) {
if (getWithUserListNum()
!= other.getWithUserListNum()) return false;
}
if (!getWithUserListList()
.equals(other.getWithUserListList())) return false;
if (hasExtFlag() != other.hasExtFlag()) return false;
if (hasExtFlag()) {
if (getExtFlag()
!= other.getExtFlag()) return false;
}
if (hasNoChange() != other.hasNoChange()) return false;
if (hasNoChange()) {
if (getNoChange()
!= other.getNoChange()) return false;
}
if (hasGroupNum() != other.hasGroupNum()) return false;
if (hasGroupNum()) {
if (getGroupNum()
!= other.getGroupNum()) return false;
}
if (!getGroupListList()
.equals(other.getGroupListList())) return false;
if (hasIsNotRichText() != other.hasIsNotRichText()) return false;
if (hasIsNotRichText()) {
if (getIsNotRichText()
!= other.getIsNotRichText()) return false;
}
if (hasReferUsername() != other.hasReferUsername()) return false;
if (hasReferUsername()) {
if (!getReferUsername()
.equals(other.getReferUsername())) return false;
}
if (hasReferId() != other.hasReferId()) return false;
if (hasReferId()) {
if (getReferId()
!= other.getReferId()) return false;
}
if (hasBlackListNum() != other.hasBlackListNum()) return false;
if (hasBlackListNum()) {
if (getBlackListNum()
!= other.getBlackListNum()) return false;
}
if (!getBlackListList()
.equals(other.getBlackListList())) return false;
if (hasDeleteFlag() != other.hasDeleteFlag()) return false;
if (hasDeleteFlag()) {
if (getDeleteFlag()
!= other.getDeleteFlag()) return false;
}
if (hasGroupUserNum() != other.hasGroupUserNum()) return false;
if (hasGroupUserNum()) {
if (getGroupUserNum()
!= other.getGroupUserNum()) return false;
}
if (!getGroupUserList()
.equals(other.getGroupUserList())) return false;
if (hasObjectOperations() != other.hasObjectOperations()) return false;
if (hasObjectOperations()) {
if (!getObjectOperations()
.equals(other.getObjectOperations())) return false;
}
if (hasSnsRedEnvelops() != other.hasSnsRedEnvelops()) return false;
if (hasSnsRedEnvelops()) {
if (!getSnsRedEnvelops()
.equals(other.getSnsRedEnvelops())) return false;
}
if (hasPreDownloadInfo() != other.hasPreDownloadInfo()) return false;
if (hasPreDownloadInfo()) {
if (!getPreDownloadInfo()
.equals(other.getPreDownloadInfo())) return false;
}
if (hasWeAppInfo() != other.hasWeAppInfo()) return false;
if (hasWeAppInfo()) {
if (!getWeAppInfo()
.equals(other.getWeAppInfo())) 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 (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getId());
}
if (hasUsername()) {
hash = (37 * hash) + USERNAME_FIELD_NUMBER;
hash = (53 * hash) + getUsername().hashCode();
}
if (hasNickname()) {
hash = (37 * hash) + NICKNAME_FIELD_NUMBER;
hash = (53 * hash) + getNickname().hashCode();
}
if (hasCreateTime()) {
hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
hash = (53 * hash) + getCreateTime();
}
if (hasObjectDesc()) {
hash = (37 * hash) + OBJECTDESC_FIELD_NUMBER;
hash = (53 * hash) + getObjectDesc().hashCode();
}
if (hasLikeFlag()) {
hash = (37 * hash) + LIKEFLAG_FIELD_NUMBER;
hash = (53 * hash) + getLikeFlag();
}
if (hasLikeNum()) {
hash = (37 * hash) + LIKENUM_FIELD_NUMBER;
hash = (53 * hash) + getLikeNum();
}
if (hasLikeUserListNum()) {
hash = (37 * hash) + LIKEUSERLISTNUM_FIELD_NUMBER;
hash = (53 * hash) + getLikeUserListNum();
}
if (getLikeUserListCount() > 0) {
hash = (37 * hash) + LIKEUSERLIST_FIELD_NUMBER;
hash = (53 * hash) + getLikeUserListList().hashCode();
}
if (hasCommentNum()) {
hash = (37 * hash) + COMMENTNUM_FIELD_NUMBER;
hash = (53 * hash) + getCommentNum();
}
if (hasCommentUserListNum()) {
hash = (37 * hash) + COMMENTUSERLISTNUM_FIELD_NUMBER;
hash = (53 * hash) + getCommentUserListNum();
}
if (getCommentUserListCount() > 0) {
hash = (37 * hash) + COMMENTUSERLIST_FIELD_NUMBER;
hash = (53 * hash) + getCommentUserListList().hashCode();
}
if (hasWithUserNum()) {
hash = (37 * hash) + WITHUSERNUM_FIELD_NUMBER;
hash = (53 * hash) + getWithUserNum();
}
if (hasWithUserListNum()) {
hash = (37 * hash) + WITHUSERLISTNUM_FIELD_NUMBER;
hash = (53 * hash) + getWithUserListNum();
}
if (getWithUserListCount() > 0) {
hash = (37 * hash) + WITHUSERLIST_FIELD_NUMBER;
hash = (53 * hash) + getWithUserListList().hashCode();
}
if (hasExtFlag()) {
hash = (37 * hash) + EXTFLAG_FIELD_NUMBER;
hash = (53 * hash) + getExtFlag();
}
if (hasNoChange()) {
hash = (37 * hash) + NOCHANGE_FIELD_NUMBER;
hash = (53 * hash) + getNoChange();
}
if (hasGroupNum()) {
hash = (37 * hash) + GROUPNUM_FIELD_NUMBER;
hash = (53 * hash) + getGroupNum();
}
if (getGroupListCount() > 0) {
hash = (37 * hash) + GROUPLIST_FIELD_NUMBER;
hash = (53 * hash) + getGroupListList().hashCode();
}
if (hasIsNotRichText()) {
hash = (37 * hash) + ISNOTRICHTEXT_FIELD_NUMBER;
hash = (53 * hash) + getIsNotRichText();
}
if (hasReferUsername()) {
hash = (37 * hash) + REFERUSERNAME_FIELD_NUMBER;
hash = (53 * hash) + getReferUsername().hashCode();
}
if (hasReferId()) {
hash = (37 * hash) + REFERID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getReferId());
}
if (hasBlackListNum()) {
hash = (37 * hash) + BLACKLISTNUM_FIELD_NUMBER;
hash = (53 * hash) + getBlackListNum();
}
if (getBlackListCount() > 0) {
hash = (37 * hash) + BLACKLIST_FIELD_NUMBER;
hash = (53 * hash) + getBlackListList().hashCode();
}
if (hasDeleteFlag()) {
hash = (37 * hash) + DELETEFLAG_FIELD_NUMBER;
hash = (53 * hash) + getDeleteFlag();
}
if (hasGroupUserNum()) {
hash = (37 * hash) + GROUPUSERNUM_FIELD_NUMBER;
hash = (53 * hash) + getGroupUserNum();
}
if (getGroupUserCount() > 0) {
hash = (37 * hash) + GROUPUSER_FIELD_NUMBER;
hash = (53 * hash) + getGroupUserList().hashCode();
}
if (hasObjectOperations()) {
hash = (37 * hash) + OBJECTOPERATIONS_FIELD_NUMBER;
hash = (53 * hash) + getObjectOperations().hashCode();
}
if (hasSnsRedEnvelops()) {
hash = (37 * hash) + SNSREDENVELOPS_FIELD_NUMBER;
hash = (53 * hash) + getSnsRedEnvelops().hashCode();
}
if (hasPreDownloadInfo()) {
hash = (37 * hash) + PREDOWNLOADINFO_FIELD_NUMBER;
hash = (53 * hash) + getPreDownloadInfo().hashCode();
}
if (hasWeAppInfo()) {
hash = (37 * hash) + WEAPPINFO_FIELD_NUMBER;
hash = (53 * hash) + getWeAppInfo().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsObject parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsObject parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsObject parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsObject 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.Friendgroup.SnsObject parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsObject parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsObject parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsObject 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.Friendgroup.SnsObject parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsObject 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.Friendgroup.SnsObject parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsObject 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.Friendgroup.SnsObject 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.SnsObject}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsObject)
wechat.protobuf.Friendgroup.SnsObjectOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObject_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObject_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsObject.class, wechat.protobuf.Friendgroup.SnsObject.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsObject.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getObjectDescFieldBuilder();
getLikeUserListFieldBuilder();
getCommentUserListFieldBuilder();
getWithUserListFieldBuilder();
getGroupListFieldBuilder();
getBlackListFieldBuilder();
getGroupUserFieldBuilder();
getObjectOperationsFieldBuilder();
getSnsRedEnvelopsFieldBuilder();
getPreDownloadInfoFieldBuilder();
getWeAppInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
username_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
nickname_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
createTime_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
if (objectDescBuilder_ == null) {
objectDesc_ = null;
} else {
objectDescBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
likeFlag_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
likeNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
likeUserListNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
if (likeUserListBuilder_ == null) {
likeUserList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
} else {
likeUserListBuilder_.clear();
}
commentNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000200);
commentUserListNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000400);
if (commentUserListBuilder_ == null) {
commentUserList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
} else {
commentUserListBuilder_.clear();
}
withUserNum_ = 0;
bitField0_ = (bitField0_ & ~0x00001000);
withUserListNum_ = 0;
bitField0_ = (bitField0_ & ~0x00002000);
if (withUserListBuilder_ == null) {
withUserList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00004000);
} else {
withUserListBuilder_.clear();
}
extFlag_ = 0;
bitField0_ = (bitField0_ & ~0x00008000);
noChange_ = 0;
bitField0_ = (bitField0_ & ~0x00010000);
groupNum_ = 0;
bitField0_ = (bitField0_ & ~0x00020000);
if (groupListBuilder_ == null) {
groupList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00040000);
} else {
groupListBuilder_.clear();
}
isNotRichText_ = 0;
bitField0_ = (bitField0_ & ~0x00080000);
referUsername_ = "";
bitField0_ = (bitField0_ & ~0x00100000);
referId_ = 0L;
bitField0_ = (bitField0_ & ~0x00200000);
blackListNum_ = 0;
bitField0_ = (bitField0_ & ~0x00400000);
if (blackListBuilder_ == null) {
blackList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00800000);
} else {
blackListBuilder_.clear();
}
deleteFlag_ = 0;
bitField0_ = (bitField0_ & ~0x01000000);
groupUserNum_ = 0;
bitField0_ = (bitField0_ & ~0x02000000);
if (groupUserBuilder_ == null) {
groupUser_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x04000000);
} else {
groupUserBuilder_.clear();
}
if (objectOperationsBuilder_ == null) {
objectOperations_ = null;
} else {
objectOperationsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x08000000);
if (snsRedEnvelopsBuilder_ == null) {
snsRedEnvelops_ = null;
} else {
snsRedEnvelopsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x10000000);
if (preDownloadInfoBuilder_ == null) {
preDownloadInfo_ = null;
} else {
preDownloadInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x20000000);
if (weAppInfoBuilder_ == null) {
weAppInfo_ = null;
} else {
weAppInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x40000000);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObject_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObject getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObject build() {
wechat.protobuf.Friendgroup.SnsObject result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObject buildPartial() {
wechat.protobuf.Friendgroup.SnsObject result = new wechat.protobuf.Friendgroup.SnsObject(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.username_ = username_;
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.nickname_ = nickname_;
if (((from_bitField0_ & 0x00000008) != 0)) {
result.createTime_ = createTime_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
if (objectDescBuilder_ == null) {
result.objectDesc_ = objectDesc_;
} else {
result.objectDesc_ = objectDescBuilder_.build();
}
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.likeFlag_ = likeFlag_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.likeNum_ = likeNum_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.likeUserListNum_ = likeUserListNum_;
to_bitField0_ |= 0x00000080;
}
if (likeUserListBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0)) {
likeUserList_ = java.util.Collections.unmodifiableList(likeUserList_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.likeUserList_ = likeUserList_;
} else {
result.likeUserList_ = likeUserListBuilder_.build();
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.commentNum_ = commentNum_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.commentUserListNum_ = commentUserListNum_;
to_bitField0_ |= 0x00000200;
}
if (commentUserListBuilder_ == null) {
if (((bitField0_ & 0x00000800) != 0)) {
commentUserList_ = java.util.Collections.unmodifiableList(commentUserList_);
bitField0_ = (bitField0_ & ~0x00000800);
}
result.commentUserList_ = commentUserList_;
} else {
result.commentUserList_ = commentUserListBuilder_.build();
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.withUserNum_ = withUserNum_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.withUserListNum_ = withUserListNum_;
to_bitField0_ |= 0x00000800;
}
if (withUserListBuilder_ == null) {
if (((bitField0_ & 0x00004000) != 0)) {
withUserList_ = java.util.Collections.unmodifiableList(withUserList_);
bitField0_ = (bitField0_ & ~0x00004000);
}
result.withUserList_ = withUserList_;
} else {
result.withUserList_ = withUserListBuilder_.build();
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.extFlag_ = extFlag_;
to_bitField0_ |= 0x00001000;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
result.noChange_ = noChange_;
to_bitField0_ |= 0x00002000;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
result.groupNum_ = groupNum_;
to_bitField0_ |= 0x00004000;
}
if (groupListBuilder_ == null) {
if (((bitField0_ & 0x00040000) != 0)) {
groupList_ = java.util.Collections.unmodifiableList(groupList_);
bitField0_ = (bitField0_ & ~0x00040000);
}
result.groupList_ = groupList_;
} else {
result.groupList_ = groupListBuilder_.build();
}
if (((from_bitField0_ & 0x00080000) != 0)) {
result.isNotRichText_ = isNotRichText_;
to_bitField0_ |= 0x00008000;
}
if (((from_bitField0_ & 0x00100000) != 0)) {
to_bitField0_ |= 0x00010000;
}
result.referUsername_ = referUsername_;
if (((from_bitField0_ & 0x00200000) != 0)) {
result.referId_ = referId_;
to_bitField0_ |= 0x00020000;
}
if (((from_bitField0_ & 0x00400000) != 0)) {
result.blackListNum_ = blackListNum_;
to_bitField0_ |= 0x00040000;
}
if (blackListBuilder_ == null) {
if (((bitField0_ & 0x00800000) != 0)) {
blackList_ = java.util.Collections.unmodifiableList(blackList_);
bitField0_ = (bitField0_ & ~0x00800000);
}
result.blackList_ = blackList_;
} else {
result.blackList_ = blackListBuilder_.build();
}
if (((from_bitField0_ & 0x01000000) != 0)) {
result.deleteFlag_ = deleteFlag_;
to_bitField0_ |= 0x00080000;
}
if (((from_bitField0_ & 0x02000000) != 0)) {
result.groupUserNum_ = groupUserNum_;
to_bitField0_ |= 0x00100000;
}
if (groupUserBuilder_ == null) {
if (((bitField0_ & 0x04000000) != 0)) {
groupUser_ = java.util.Collections.unmodifiableList(groupUser_);
bitField0_ = (bitField0_ & ~0x04000000);
}
result.groupUser_ = groupUser_;
} else {
result.groupUser_ = groupUserBuilder_.build();
}
if (((from_bitField0_ & 0x08000000) != 0)) {
if (objectOperationsBuilder_ == null) {
result.objectOperations_ = objectOperations_;
} else {
result.objectOperations_ = objectOperationsBuilder_.build();
}
to_bitField0_ |= 0x00200000;
}
if (((from_bitField0_ & 0x10000000) != 0)) {
if (snsRedEnvelopsBuilder_ == null) {
result.snsRedEnvelops_ = snsRedEnvelops_;
} else {
result.snsRedEnvelops_ = snsRedEnvelopsBuilder_.build();
}
to_bitField0_ |= 0x00400000;
}
if (((from_bitField0_ & 0x20000000) != 0)) {
if (preDownloadInfoBuilder_ == null) {
result.preDownloadInfo_ = preDownloadInfo_;
} else {
result.preDownloadInfo_ = preDownloadInfoBuilder_.build();
}
to_bitField0_ |= 0x00800000;
}
if (((from_bitField0_ & 0x40000000) != 0)) {
if (weAppInfoBuilder_ == null) {
result.weAppInfo_ = weAppInfo_;
} else {
result.weAppInfo_ = weAppInfoBuilder_.build();
}
to_bitField0_ |= 0x01000000;
}
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.Friendgroup.SnsObject) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsObject)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsObject other) {
if (other == wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasUsername()) {
bitField0_ |= 0x00000002;
username_ = other.username_;
onChanged();
}
if (other.hasNickname()) {
bitField0_ |= 0x00000004;
nickname_ = other.nickname_;
onChanged();
}
if (other.hasCreateTime()) {
setCreateTime(other.getCreateTime());
}
if (other.hasObjectDesc()) {
mergeObjectDesc(other.getObjectDesc());
}
if (other.hasLikeFlag()) {
setLikeFlag(other.getLikeFlag());
}
if (other.hasLikeNum()) {
setLikeNum(other.getLikeNum());
}
if (other.hasLikeUserListNum()) {
setLikeUserListNum(other.getLikeUserListNum());
}
if (likeUserListBuilder_ == null) {
if (!other.likeUserList_.isEmpty()) {
if (likeUserList_.isEmpty()) {
likeUserList_ = other.likeUserList_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureLikeUserListIsMutable();
likeUserList_.addAll(other.likeUserList_);
}
onChanged();
}
} else {
if (!other.likeUserList_.isEmpty()) {
if (likeUserListBuilder_.isEmpty()) {
likeUserListBuilder_.dispose();
likeUserListBuilder_ = null;
likeUserList_ = other.likeUserList_;
bitField0_ = (bitField0_ & ~0x00000100);
likeUserListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLikeUserListFieldBuilder() : null;
} else {
likeUserListBuilder_.addAllMessages(other.likeUserList_);
}
}
}
if (other.hasCommentNum()) {
setCommentNum(other.getCommentNum());
}
if (other.hasCommentUserListNum()) {
setCommentUserListNum(other.getCommentUserListNum());
}
if (commentUserListBuilder_ == null) {
if (!other.commentUserList_.isEmpty()) {
if (commentUserList_.isEmpty()) {
commentUserList_ = other.commentUserList_;
bitField0_ = (bitField0_ & ~0x00000800);
} else {
ensureCommentUserListIsMutable();
commentUserList_.addAll(other.commentUserList_);
}
onChanged();
}
} else {
if (!other.commentUserList_.isEmpty()) {
if (commentUserListBuilder_.isEmpty()) {
commentUserListBuilder_.dispose();
commentUserListBuilder_ = null;
commentUserList_ = other.commentUserList_;
bitField0_ = (bitField0_ & ~0x00000800);
commentUserListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getCommentUserListFieldBuilder() : null;
} else {
commentUserListBuilder_.addAllMessages(other.commentUserList_);
}
}
}
if (other.hasWithUserNum()) {
setWithUserNum(other.getWithUserNum());
}
if (other.hasWithUserListNum()) {
setWithUserListNum(other.getWithUserListNum());
}
if (withUserListBuilder_ == null) {
if (!other.withUserList_.isEmpty()) {
if (withUserList_.isEmpty()) {
withUserList_ = other.withUserList_;
bitField0_ = (bitField0_ & ~0x00004000);
} else {
ensureWithUserListIsMutable();
withUserList_.addAll(other.withUserList_);
}
onChanged();
}
} else {
if (!other.withUserList_.isEmpty()) {
if (withUserListBuilder_.isEmpty()) {
withUserListBuilder_.dispose();
withUserListBuilder_ = null;
withUserList_ = other.withUserList_;
bitField0_ = (bitField0_ & ~0x00004000);
withUserListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getWithUserListFieldBuilder() : null;
} else {
withUserListBuilder_.addAllMessages(other.withUserList_);
}
}
}
if (other.hasExtFlag()) {
setExtFlag(other.getExtFlag());
}
if (other.hasNoChange()) {
setNoChange(other.getNoChange());
}
if (other.hasGroupNum()) {
setGroupNum(other.getGroupNum());
}
if (groupListBuilder_ == null) {
if (!other.groupList_.isEmpty()) {
if (groupList_.isEmpty()) {
groupList_ = other.groupList_;
bitField0_ = (bitField0_ & ~0x00040000);
} else {
ensureGroupListIsMutable();
groupList_.addAll(other.groupList_);
}
onChanged();
}
} else {
if (!other.groupList_.isEmpty()) {
if (groupListBuilder_.isEmpty()) {
groupListBuilder_.dispose();
groupListBuilder_ = null;
groupList_ = other.groupList_;
bitField0_ = (bitField0_ & ~0x00040000);
groupListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getGroupListFieldBuilder() : null;
} else {
groupListBuilder_.addAllMessages(other.groupList_);
}
}
}
if (other.hasIsNotRichText()) {
setIsNotRichText(other.getIsNotRichText());
}
if (other.hasReferUsername()) {
bitField0_ |= 0x00100000;
referUsername_ = other.referUsername_;
onChanged();
}
if (other.hasReferId()) {
setReferId(other.getReferId());
}
if (other.hasBlackListNum()) {
setBlackListNum(other.getBlackListNum());
}
if (blackListBuilder_ == null) {
if (!other.blackList_.isEmpty()) {
if (blackList_.isEmpty()) {
blackList_ = other.blackList_;
bitField0_ = (bitField0_ & ~0x00800000);
} else {
ensureBlackListIsMutable();
blackList_.addAll(other.blackList_);
}
onChanged();
}
} else {
if (!other.blackList_.isEmpty()) {
if (blackListBuilder_.isEmpty()) {
blackListBuilder_.dispose();
blackListBuilder_ = null;
blackList_ = other.blackList_;
bitField0_ = (bitField0_ & ~0x00800000);
blackListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getBlackListFieldBuilder() : null;
} else {
blackListBuilder_.addAllMessages(other.blackList_);
}
}
}
if (other.hasDeleteFlag()) {
setDeleteFlag(other.getDeleteFlag());
}
if (other.hasGroupUserNum()) {
setGroupUserNum(other.getGroupUserNum());
}
if (groupUserBuilder_ == null) {
if (!other.groupUser_.isEmpty()) {
if (groupUser_.isEmpty()) {
groupUser_ = other.groupUser_;
bitField0_ = (bitField0_ & ~0x04000000);
} else {
ensureGroupUserIsMutable();
groupUser_.addAll(other.groupUser_);
}
onChanged();
}
} else {
if (!other.groupUser_.isEmpty()) {
if (groupUserBuilder_.isEmpty()) {
groupUserBuilder_.dispose();
groupUserBuilder_ = null;
groupUser_ = other.groupUser_;
bitField0_ = (bitField0_ & ~0x04000000);
groupUserBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getGroupUserFieldBuilder() : null;
} else {
groupUserBuilder_.addAllMessages(other.groupUser_);
}
}
}
if (other.hasObjectOperations()) {
mergeObjectOperations(other.getObjectOperations());
}
if (other.hasSnsRedEnvelops()) {
mergeSnsRedEnvelops(other.getSnsRedEnvelops());
}
if (other.hasPreDownloadInfo()) {
mergePreDownloadInfo(other.getPreDownloadInfo());
}
if (other.hasWeAppInfo()) {
mergeWeAppInfo(other.getWeAppInfo());
}
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.Friendgroup.SnsObject parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsObject) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long id_ ;
/**
* optional uint64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional uint64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional uint64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private java.lang.Object username_ = "";
/**
* optional string username = 2;
* @return Whether the username field is set.
*/
public boolean hasUsername() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string username = 2;
* @return The username.
*/
public java.lang.String getUsername() {
java.lang.Object ref = username_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
username_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string username = 2;
* @return The bytes for username.
*/
public com.google.protobuf.ByteString
getUsernameBytes() {
java.lang.Object ref = username_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
username_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string username = 2;
* @param value The username to set.
* @return This builder for chaining.
*/
public Builder setUsername(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
username_ = value;
onChanged();
return this;
}
/**
* optional string username = 2;
* @return This builder for chaining.
*/
public Builder clearUsername() {
bitField0_ = (bitField0_ & ~0x00000002);
username_ = getDefaultInstance().getUsername();
onChanged();
return this;
}
/**
* optional string username = 2;
* @param value The bytes for username to set.
* @return This builder for chaining.
*/
public Builder setUsernameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
username_ = value;
onChanged();
return this;
}
private java.lang.Object nickname_ = "";
/**
* optional string nickname = 3;
* @return Whether the nickname field is set.
*/
public boolean hasNickname() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string nickname = 3;
* @return The nickname.
*/
public java.lang.String getNickname() {
java.lang.Object ref = nickname_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
nickname_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string nickname = 3;
* @return The bytes for nickname.
*/
public com.google.protobuf.ByteString
getNicknameBytes() {
java.lang.Object ref = nickname_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nickname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string nickname = 3;
* @param value The nickname to set.
* @return This builder for chaining.
*/
public Builder setNickname(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
nickname_ = value;
onChanged();
return this;
}
/**
* optional string nickname = 3;
* @return This builder for chaining.
*/
public Builder clearNickname() {
bitField0_ = (bitField0_ & ~0x00000004);
nickname_ = getDefaultInstance().getNickname();
onChanged();
return this;
}
/**
* optional string nickname = 3;
* @param value The bytes for nickname to set.
* @return This builder for chaining.
*/
public Builder setNicknameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
nickname_ = value;
onChanged();
return this;
}
private int createTime_ ;
/**
* optional uint32 createTime = 4;
* @return Whether the createTime field is set.
*/
@java.lang.Override
public boolean hasCreateTime() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 createTime = 4;
* @return The createTime.
*/
@java.lang.Override
public int getCreateTime() {
return createTime_;
}
/**
* optional uint32 createTime = 4;
* @param value The createTime to set.
* @return This builder for chaining.
*/
public Builder setCreateTime(int value) {
bitField0_ |= 0x00000008;
createTime_ = value;
onChanged();
return this;
}
/**
* optional uint32 createTime = 4;
* @return This builder for chaining.
*/
public Builder clearCreateTime() {
bitField0_ = (bitField0_ & ~0x00000008);
createTime_ = 0;
onChanged();
return this;
}
private wechat.protobuf.SKBuiltinString_ objectDesc_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> objectDescBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
* @return Whether the objectDesc field is set.
*/
public boolean hasObjectDesc() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
* @return The objectDesc.
*/
public wechat.protobuf.SKBuiltinString_ getObjectDesc() {
if (objectDescBuilder_ == null) {
return objectDesc_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_;
} else {
return objectDescBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
*/
public Builder setObjectDesc(wechat.protobuf.SKBuiltinString_ value) {
if (objectDescBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
objectDesc_ = value;
onChanged();
} else {
objectDescBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
*/
public Builder setObjectDesc(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (objectDescBuilder_ == null) {
objectDesc_ = builderForValue.build();
onChanged();
} else {
objectDescBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
*/
public Builder mergeObjectDesc(wechat.protobuf.SKBuiltinString_ value) {
if (objectDescBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
objectDesc_ != null &&
objectDesc_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
objectDesc_ =
wechat.protobuf.SKBuiltinString_.newBuilder(objectDesc_).mergeFrom(value).buildPartial();
} else {
objectDesc_ = value;
}
onChanged();
} else {
objectDescBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
*/
public Builder clearObjectDesc() {
if (objectDescBuilder_ == null) {
objectDesc_ = null;
onChanged();
} else {
objectDescBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
*/
public wechat.protobuf.SKBuiltinString_.Builder getObjectDescBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getObjectDescFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getObjectDescOrBuilder() {
if (objectDescBuilder_ != null) {
return objectDescBuilder_.getMessageOrBuilder();
} else {
return objectDesc_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getObjectDescFieldBuilder() {
if (objectDescBuilder_ == null) {
objectDescBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getObjectDesc(),
getParentForChildren(),
isClean());
objectDesc_ = null;
}
return objectDescBuilder_;
}
private int likeFlag_ ;
/**
* optional uint32 likeFlag = 6;
* @return Whether the likeFlag field is set.
*/
@java.lang.Override
public boolean hasLikeFlag() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 likeFlag = 6;
* @return The likeFlag.
*/
@java.lang.Override
public int getLikeFlag() {
return likeFlag_;
}
/**
* optional uint32 likeFlag = 6;
* @param value The likeFlag to set.
* @return This builder for chaining.
*/
public Builder setLikeFlag(int value) {
bitField0_ |= 0x00000020;
likeFlag_ = value;
onChanged();
return this;
}
/**
* optional uint32 likeFlag = 6;
* @return This builder for chaining.
*/
public Builder clearLikeFlag() {
bitField0_ = (bitField0_ & ~0x00000020);
likeFlag_ = 0;
onChanged();
return this;
}
private int likeNum_ ;
/**
* optional uint32 likeNum = 7;
* @return Whether the likeNum field is set.
*/
@java.lang.Override
public boolean hasLikeNum() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 likeNum = 7;
* @return The likeNum.
*/
@java.lang.Override
public int getLikeNum() {
return likeNum_;
}
/**
* optional uint32 likeNum = 7;
* @param value The likeNum to set.
* @return This builder for chaining.
*/
public Builder setLikeNum(int value) {
bitField0_ |= 0x00000040;
likeNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 likeNum = 7;
* @return This builder for chaining.
*/
public Builder clearLikeNum() {
bitField0_ = (bitField0_ & ~0x00000040);
likeNum_ = 0;
onChanged();
return this;
}
private int likeUserListNum_ ;
/**
* optional uint32 likeUserListNum = 8;
* @return Whether the likeUserListNum field is set.
*/
@java.lang.Override
public boolean hasLikeUserListNum() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional uint32 likeUserListNum = 8;
* @return The likeUserListNum.
*/
@java.lang.Override
public int getLikeUserListNum() {
return likeUserListNum_;
}
/**
* optional uint32 likeUserListNum = 8;
* @param value The likeUserListNum to set.
* @return This builder for chaining.
*/
public Builder setLikeUserListNum(int value) {
bitField0_ |= 0x00000080;
likeUserListNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 likeUserListNum = 8;
* @return This builder for chaining.
*/
public Builder clearLikeUserListNum() {
bitField0_ = (bitField0_ & ~0x00000080);
likeUserListNum_ = 0;
onChanged();
return this;
}
private java.util.List likeUserList_ =
java.util.Collections.emptyList();
private void ensureLikeUserListIsMutable() {
if (!((bitField0_ & 0x00000100) != 0)) {
likeUserList_ = new java.util.ArrayList(likeUserList_);
bitField0_ |= 0x00000100;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder> likeUserListBuilder_;
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public java.util.List getLikeUserListList() {
if (likeUserListBuilder_ == null) {
return java.util.Collections.unmodifiableList(likeUserList_);
} else {
return likeUserListBuilder_.getMessageList();
}
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public int getLikeUserListCount() {
if (likeUserListBuilder_ == null) {
return likeUserList_.size();
} else {
return likeUserListBuilder_.getCount();
}
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public wechat.protobuf.Friendgroup.SnsCommentInfo getLikeUserList(int index) {
if (likeUserListBuilder_ == null) {
return likeUserList_.get(index);
} else {
return likeUserListBuilder_.getMessage(index);
}
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public Builder setLikeUserList(
int index, wechat.protobuf.Friendgroup.SnsCommentInfo value) {
if (likeUserListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLikeUserListIsMutable();
likeUserList_.set(index, value);
onChanged();
} else {
likeUserListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public Builder setLikeUserList(
int index, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) {
if (likeUserListBuilder_ == null) {
ensureLikeUserListIsMutable();
likeUserList_.set(index, builderForValue.build());
onChanged();
} else {
likeUserListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public Builder addLikeUserList(wechat.protobuf.Friendgroup.SnsCommentInfo value) {
if (likeUserListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLikeUserListIsMutable();
likeUserList_.add(value);
onChanged();
} else {
likeUserListBuilder_.addMessage(value);
}
return this;
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public Builder addLikeUserList(
int index, wechat.protobuf.Friendgroup.SnsCommentInfo value) {
if (likeUserListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLikeUserListIsMutable();
likeUserList_.add(index, value);
onChanged();
} else {
likeUserListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public Builder addLikeUserList(
wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) {
if (likeUserListBuilder_ == null) {
ensureLikeUserListIsMutable();
likeUserList_.add(builderForValue.build());
onChanged();
} else {
likeUserListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public Builder addLikeUserList(
int index, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) {
if (likeUserListBuilder_ == null) {
ensureLikeUserListIsMutable();
likeUserList_.add(index, builderForValue.build());
onChanged();
} else {
likeUserListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public Builder addAllLikeUserList(
java.lang.Iterable extends wechat.protobuf.Friendgroup.SnsCommentInfo> values) {
if (likeUserListBuilder_ == null) {
ensureLikeUserListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, likeUserList_);
onChanged();
} else {
likeUserListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public Builder clearLikeUserList() {
if (likeUserListBuilder_ == null) {
likeUserList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
likeUserListBuilder_.clear();
}
return this;
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public Builder removeLikeUserList(int index) {
if (likeUserListBuilder_ == null) {
ensureLikeUserListIsMutable();
likeUserList_.remove(index);
onChanged();
} else {
likeUserListBuilder_.remove(index);
}
return this;
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder getLikeUserListBuilder(
int index) {
return getLikeUserListFieldBuilder().getBuilder(index);
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getLikeUserListOrBuilder(
int index) {
if (likeUserListBuilder_ == null) {
return likeUserList_.get(index); } else {
return likeUserListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public java.util.List extends wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>
getLikeUserListOrBuilderList() {
if (likeUserListBuilder_ != null) {
return likeUserListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(likeUserList_);
}
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder addLikeUserListBuilder() {
return getLikeUserListFieldBuilder().addBuilder(
wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance());
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder addLikeUserListBuilder(
int index) {
return getLikeUserListFieldBuilder().addBuilder(
index, wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance());
}
/**
*
* 点赞好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo likeUserList = 9;
*/
public java.util.List
getLikeUserListBuilderList() {
return getLikeUserListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>
getLikeUserListFieldBuilder() {
if (likeUserListBuilder_ == null) {
likeUserListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>(
likeUserList_,
((bitField0_ & 0x00000100) != 0),
getParentForChildren(),
isClean());
likeUserList_ = null;
}
return likeUserListBuilder_;
}
private int commentNum_ ;
/**
* optional uint32 commentNum = 10;
* @return Whether the commentNum field is set.
*/
@java.lang.Override
public boolean hasCommentNum() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional uint32 commentNum = 10;
* @return The commentNum.
*/
@java.lang.Override
public int getCommentNum() {
return commentNum_;
}
/**
* optional uint32 commentNum = 10;
* @param value The commentNum to set.
* @return This builder for chaining.
*/
public Builder setCommentNum(int value) {
bitField0_ |= 0x00000200;
commentNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 commentNum = 10;
* @return This builder for chaining.
*/
public Builder clearCommentNum() {
bitField0_ = (bitField0_ & ~0x00000200);
commentNum_ = 0;
onChanged();
return this;
}
private int commentUserListNum_ ;
/**
* optional uint32 commentUserListNum = 11;
* @return Whether the commentUserListNum field is set.
*/
@java.lang.Override
public boolean hasCommentUserListNum() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional uint32 commentUserListNum = 11;
* @return The commentUserListNum.
*/
@java.lang.Override
public int getCommentUserListNum() {
return commentUserListNum_;
}
/**
* optional uint32 commentUserListNum = 11;
* @param value The commentUserListNum to set.
* @return This builder for chaining.
*/
public Builder setCommentUserListNum(int value) {
bitField0_ |= 0x00000400;
commentUserListNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 commentUserListNum = 11;
* @return This builder for chaining.
*/
public Builder clearCommentUserListNum() {
bitField0_ = (bitField0_ & ~0x00000400);
commentUserListNum_ = 0;
onChanged();
return this;
}
private java.util.List commentUserList_ =
java.util.Collections.emptyList();
private void ensureCommentUserListIsMutable() {
if (!((bitField0_ & 0x00000800) != 0)) {
commentUserList_ = new java.util.ArrayList(commentUserList_);
bitField0_ |= 0x00000800;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder> commentUserListBuilder_;
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public java.util.List getCommentUserListList() {
if (commentUserListBuilder_ == null) {
return java.util.Collections.unmodifiableList(commentUserList_);
} else {
return commentUserListBuilder_.getMessageList();
}
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public int getCommentUserListCount() {
if (commentUserListBuilder_ == null) {
return commentUserList_.size();
} else {
return commentUserListBuilder_.getCount();
}
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public wechat.protobuf.Friendgroup.SnsCommentInfo getCommentUserList(int index) {
if (commentUserListBuilder_ == null) {
return commentUserList_.get(index);
} else {
return commentUserListBuilder_.getMessage(index);
}
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public Builder setCommentUserList(
int index, wechat.protobuf.Friendgroup.SnsCommentInfo value) {
if (commentUserListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCommentUserListIsMutable();
commentUserList_.set(index, value);
onChanged();
} else {
commentUserListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public Builder setCommentUserList(
int index, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) {
if (commentUserListBuilder_ == null) {
ensureCommentUserListIsMutable();
commentUserList_.set(index, builderForValue.build());
onChanged();
} else {
commentUserListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public Builder addCommentUserList(wechat.protobuf.Friendgroup.SnsCommentInfo value) {
if (commentUserListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCommentUserListIsMutable();
commentUserList_.add(value);
onChanged();
} else {
commentUserListBuilder_.addMessage(value);
}
return this;
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public Builder addCommentUserList(
int index, wechat.protobuf.Friendgroup.SnsCommentInfo value) {
if (commentUserListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCommentUserListIsMutable();
commentUserList_.add(index, value);
onChanged();
} else {
commentUserListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public Builder addCommentUserList(
wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) {
if (commentUserListBuilder_ == null) {
ensureCommentUserListIsMutable();
commentUserList_.add(builderForValue.build());
onChanged();
} else {
commentUserListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public Builder addCommentUserList(
int index, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) {
if (commentUserListBuilder_ == null) {
ensureCommentUserListIsMutable();
commentUserList_.add(index, builderForValue.build());
onChanged();
} else {
commentUserListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public Builder addAllCommentUserList(
java.lang.Iterable extends wechat.protobuf.Friendgroup.SnsCommentInfo> values) {
if (commentUserListBuilder_ == null) {
ensureCommentUserListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, commentUserList_);
onChanged();
} else {
commentUserListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public Builder clearCommentUserList() {
if (commentUserListBuilder_ == null) {
commentUserList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
} else {
commentUserListBuilder_.clear();
}
return this;
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public Builder removeCommentUserList(int index) {
if (commentUserListBuilder_ == null) {
ensureCommentUserListIsMutable();
commentUserList_.remove(index);
onChanged();
} else {
commentUserListBuilder_.remove(index);
}
return this;
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder getCommentUserListBuilder(
int index) {
return getCommentUserListFieldBuilder().getBuilder(index);
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getCommentUserListOrBuilder(
int index) {
if (commentUserListBuilder_ == null) {
return commentUserList_.get(index); } else {
return commentUserListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public java.util.List extends wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>
getCommentUserListOrBuilderList() {
if (commentUserListBuilder_ != null) {
return commentUserListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(commentUserList_);
}
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder addCommentUserListBuilder() {
return getCommentUserListFieldBuilder().addBuilder(
wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance());
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder addCommentUserListBuilder(
int index) {
return getCommentUserListFieldBuilder().addBuilder(
index, wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance());
}
/**
*
* 评论好友列表
*
*
* repeated .wechat_proto.SnsCommentInfo commentUserList = 12;
*/
public java.util.List
getCommentUserListBuilderList() {
return getCommentUserListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>
getCommentUserListFieldBuilder() {
if (commentUserListBuilder_ == null) {
commentUserListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>(
commentUserList_,
((bitField0_ & 0x00000800) != 0),
getParentForChildren(),
isClean());
commentUserList_ = null;
}
return commentUserListBuilder_;
}
private int withUserNum_ ;
/**
* optional uint32 withUserNum = 13;
* @return Whether the withUserNum field is set.
*/
@java.lang.Override
public boolean hasWithUserNum() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional uint32 withUserNum = 13;
* @return The withUserNum.
*/
@java.lang.Override
public int getWithUserNum() {
return withUserNum_;
}
/**
* optional uint32 withUserNum = 13;
* @param value The withUserNum to set.
* @return This builder for chaining.
*/
public Builder setWithUserNum(int value) {
bitField0_ |= 0x00001000;
withUserNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 withUserNum = 13;
* @return This builder for chaining.
*/
public Builder clearWithUserNum() {
bitField0_ = (bitField0_ & ~0x00001000);
withUserNum_ = 0;
onChanged();
return this;
}
private int withUserListNum_ ;
/**
* optional uint32 withUserListNum = 14;
* @return Whether the withUserListNum field is set.
*/
@java.lang.Override
public boolean hasWithUserListNum() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional uint32 withUserListNum = 14;
* @return The withUserListNum.
*/
@java.lang.Override
public int getWithUserListNum() {
return withUserListNum_;
}
/**
* optional uint32 withUserListNum = 14;
* @param value The withUserListNum to set.
* @return This builder for chaining.
*/
public Builder setWithUserListNum(int value) {
bitField0_ |= 0x00002000;
withUserListNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 withUserListNum = 14;
* @return This builder for chaining.
*/
public Builder clearWithUserListNum() {
bitField0_ = (bitField0_ & ~0x00002000);
withUserListNum_ = 0;
onChanged();
return this;
}
private java.util.List withUserList_ =
java.util.Collections.emptyList();
private void ensureWithUserListIsMutable() {
if (!((bitField0_ & 0x00004000) != 0)) {
withUserList_ = new java.util.ArrayList(withUserList_);
bitField0_ |= 0x00004000;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder> withUserListBuilder_;
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public java.util.List getWithUserListList() {
if (withUserListBuilder_ == null) {
return java.util.Collections.unmodifiableList(withUserList_);
} else {
return withUserListBuilder_.getMessageList();
}
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public int getWithUserListCount() {
if (withUserListBuilder_ == null) {
return withUserList_.size();
} else {
return withUserListBuilder_.getCount();
}
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public wechat.protobuf.Friendgroup.SnsCommentInfo getWithUserList(int index) {
if (withUserListBuilder_ == null) {
return withUserList_.get(index);
} else {
return withUserListBuilder_.getMessage(index);
}
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public Builder setWithUserList(
int index, wechat.protobuf.Friendgroup.SnsCommentInfo value) {
if (withUserListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWithUserListIsMutable();
withUserList_.set(index, value);
onChanged();
} else {
withUserListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public Builder setWithUserList(
int index, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) {
if (withUserListBuilder_ == null) {
ensureWithUserListIsMutable();
withUserList_.set(index, builderForValue.build());
onChanged();
} else {
withUserListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public Builder addWithUserList(wechat.protobuf.Friendgroup.SnsCommentInfo value) {
if (withUserListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWithUserListIsMutable();
withUserList_.add(value);
onChanged();
} else {
withUserListBuilder_.addMessage(value);
}
return this;
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public Builder addWithUserList(
int index, wechat.protobuf.Friendgroup.SnsCommentInfo value) {
if (withUserListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWithUserListIsMutable();
withUserList_.add(index, value);
onChanged();
} else {
withUserListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public Builder addWithUserList(
wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) {
if (withUserListBuilder_ == null) {
ensureWithUserListIsMutable();
withUserList_.add(builderForValue.build());
onChanged();
} else {
withUserListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public Builder addWithUserList(
int index, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder builderForValue) {
if (withUserListBuilder_ == null) {
ensureWithUserListIsMutable();
withUserList_.add(index, builderForValue.build());
onChanged();
} else {
withUserListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public Builder addAllWithUserList(
java.lang.Iterable extends wechat.protobuf.Friendgroup.SnsCommentInfo> values) {
if (withUserListBuilder_ == null) {
ensureWithUserListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, withUserList_);
onChanged();
} else {
withUserListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public Builder clearWithUserList() {
if (withUserListBuilder_ == null) {
withUserList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00004000);
onChanged();
} else {
withUserListBuilder_.clear();
}
return this;
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public Builder removeWithUserList(int index) {
if (withUserListBuilder_ == null) {
ensureWithUserListIsMutable();
withUserList_.remove(index);
onChanged();
} else {
withUserListBuilder_.remove(index);
}
return this;
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder getWithUserListBuilder(
int index) {
return getWithUserListFieldBuilder().getBuilder(index);
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder getWithUserListOrBuilder(
int index) {
if (withUserListBuilder_ == null) {
return withUserList_.get(index); } else {
return withUserListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public java.util.List extends wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>
getWithUserListOrBuilderList() {
if (withUserListBuilder_ != null) {
return withUserListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(withUserList_);
}
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder addWithUserListBuilder() {
return getWithUserListFieldBuilder().addBuilder(
wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance());
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public wechat.protobuf.Friendgroup.SnsCommentInfo.Builder addWithUserListBuilder(
int index) {
return getWithUserListFieldBuilder().addBuilder(
index, wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance());
}
/**
*
* 发送朋友圈时,提到的用户列表
*
*
* repeated .wechat_proto.SnsCommentInfo withUserList = 15;
*/
public java.util.List
getWithUserListBuilderList() {
return getWithUserListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>
getWithUserListFieldBuilder() {
if (withUserListBuilder_ == null) {
withUserListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsCommentInfo, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder, wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder>(
withUserList_,
((bitField0_ & 0x00004000) != 0),
getParentForChildren(),
isClean());
withUserList_ = null;
}
return withUserListBuilder_;
}
private int extFlag_ ;
/**
* optional uint32 extFlag = 16;
* @return Whether the extFlag field is set.
*/
@java.lang.Override
public boolean hasExtFlag() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional uint32 extFlag = 16;
* @return The extFlag.
*/
@java.lang.Override
public int getExtFlag() {
return extFlag_;
}
/**
* optional uint32 extFlag = 16;
* @param value The extFlag to set.
* @return This builder for chaining.
*/
public Builder setExtFlag(int value) {
bitField0_ |= 0x00008000;
extFlag_ = value;
onChanged();
return this;
}
/**
* optional uint32 extFlag = 16;
* @return This builder for chaining.
*/
public Builder clearExtFlag() {
bitField0_ = (bitField0_ & ~0x00008000);
extFlag_ = 0;
onChanged();
return this;
}
private int noChange_ ;
/**
* optional uint32 noChange = 17;
* @return Whether the noChange field is set.
*/
@java.lang.Override
public boolean hasNoChange() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional uint32 noChange = 17;
* @return The noChange.
*/
@java.lang.Override
public int getNoChange() {
return noChange_;
}
/**
* optional uint32 noChange = 17;
* @param value The noChange to set.
* @return This builder for chaining.
*/
public Builder setNoChange(int value) {
bitField0_ |= 0x00010000;
noChange_ = value;
onChanged();
return this;
}
/**
* optional uint32 noChange = 17;
* @return This builder for chaining.
*/
public Builder clearNoChange() {
bitField0_ = (bitField0_ & ~0x00010000);
noChange_ = 0;
onChanged();
return this;
}
private int groupNum_ ;
/**
* optional uint32 groupNum = 18;
* @return Whether the groupNum field is set.
*/
@java.lang.Override
public boolean hasGroupNum() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional uint32 groupNum = 18;
* @return The groupNum.
*/
@java.lang.Override
public int getGroupNum() {
return groupNum_;
}
/**
* optional uint32 groupNum = 18;
* @param value The groupNum to set.
* @return This builder for chaining.
*/
public Builder setGroupNum(int value) {
bitField0_ |= 0x00020000;
groupNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 groupNum = 18;
* @return This builder for chaining.
*/
public Builder clearGroupNum() {
bitField0_ = (bitField0_ & ~0x00020000);
groupNum_ = 0;
onChanged();
return this;
}
private java.util.List groupList_ =
java.util.Collections.emptyList();
private void ensureGroupListIsMutable() {
if (!((bitField0_ & 0x00040000) != 0)) {
groupList_ = new java.util.ArrayList(groupList_);
bitField0_ |= 0x00040000;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsGroup, wechat.protobuf.Friendgroup.SnsGroup.Builder, wechat.protobuf.Friendgroup.SnsGroupOrBuilder> groupListBuilder_;
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public java.util.List getGroupListList() {
if (groupListBuilder_ == null) {
return java.util.Collections.unmodifiableList(groupList_);
} else {
return groupListBuilder_.getMessageList();
}
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public int getGroupListCount() {
if (groupListBuilder_ == null) {
return groupList_.size();
} else {
return groupListBuilder_.getCount();
}
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public wechat.protobuf.Friendgroup.SnsGroup getGroupList(int index) {
if (groupListBuilder_ == null) {
return groupList_.get(index);
} else {
return groupListBuilder_.getMessage(index);
}
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public Builder setGroupList(
int index, wechat.protobuf.Friendgroup.SnsGroup value) {
if (groupListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupListIsMutable();
groupList_.set(index, value);
onChanged();
} else {
groupListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public Builder setGroupList(
int index, wechat.protobuf.Friendgroup.SnsGroup.Builder builderForValue) {
if (groupListBuilder_ == null) {
ensureGroupListIsMutable();
groupList_.set(index, builderForValue.build());
onChanged();
} else {
groupListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public Builder addGroupList(wechat.protobuf.Friendgroup.SnsGroup value) {
if (groupListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupListIsMutable();
groupList_.add(value);
onChanged();
} else {
groupListBuilder_.addMessage(value);
}
return this;
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public Builder addGroupList(
int index, wechat.protobuf.Friendgroup.SnsGroup value) {
if (groupListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupListIsMutable();
groupList_.add(index, value);
onChanged();
} else {
groupListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public Builder addGroupList(
wechat.protobuf.Friendgroup.SnsGroup.Builder builderForValue) {
if (groupListBuilder_ == null) {
ensureGroupListIsMutable();
groupList_.add(builderForValue.build());
onChanged();
} else {
groupListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public Builder addGroupList(
int index, wechat.protobuf.Friendgroup.SnsGroup.Builder builderForValue) {
if (groupListBuilder_ == null) {
ensureGroupListIsMutable();
groupList_.add(index, builderForValue.build());
onChanged();
} else {
groupListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public Builder addAllGroupList(
java.lang.Iterable extends wechat.protobuf.Friendgroup.SnsGroup> values) {
if (groupListBuilder_ == null) {
ensureGroupListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, groupList_);
onChanged();
} else {
groupListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public Builder clearGroupList() {
if (groupListBuilder_ == null) {
groupList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00040000);
onChanged();
} else {
groupListBuilder_.clear();
}
return this;
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public Builder removeGroupList(int index) {
if (groupListBuilder_ == null) {
ensureGroupListIsMutable();
groupList_.remove(index);
onChanged();
} else {
groupListBuilder_.remove(index);
}
return this;
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public wechat.protobuf.Friendgroup.SnsGroup.Builder getGroupListBuilder(
int index) {
return getGroupListFieldBuilder().getBuilder(index);
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public wechat.protobuf.Friendgroup.SnsGroupOrBuilder getGroupListOrBuilder(
int index) {
if (groupListBuilder_ == null) {
return groupList_.get(index); } else {
return groupListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public java.util.List extends wechat.protobuf.Friendgroup.SnsGroupOrBuilder>
getGroupListOrBuilderList() {
if (groupListBuilder_ != null) {
return groupListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(groupList_);
}
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public wechat.protobuf.Friendgroup.SnsGroup.Builder addGroupListBuilder() {
return getGroupListFieldBuilder().addBuilder(
wechat.protobuf.Friendgroup.SnsGroup.getDefaultInstance());
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public wechat.protobuf.Friendgroup.SnsGroup.Builder addGroupListBuilder(
int index) {
return getGroupListFieldBuilder().addBuilder(
index, wechat.protobuf.Friendgroup.SnsGroup.getDefaultInstance());
}
/**
*
* 暂时不知道做什么用
*
*
* repeated .wechat_proto.SnsGroup groupList = 19;
*/
public java.util.List
getGroupListBuilderList() {
return getGroupListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsGroup, wechat.protobuf.Friendgroup.SnsGroup.Builder, wechat.protobuf.Friendgroup.SnsGroupOrBuilder>
getGroupListFieldBuilder() {
if (groupListBuilder_ == null) {
groupListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsGroup, wechat.protobuf.Friendgroup.SnsGroup.Builder, wechat.protobuf.Friendgroup.SnsGroupOrBuilder>(
groupList_,
((bitField0_ & 0x00040000) != 0),
getParentForChildren(),
isClean());
groupList_ = null;
}
return groupListBuilder_;
}
private int isNotRichText_ ;
/**
* optional uint32 isNotRichText = 20;
* @return Whether the isNotRichText field is set.
*/
@java.lang.Override
public boolean hasIsNotRichText() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
* optional uint32 isNotRichText = 20;
* @return The isNotRichText.
*/
@java.lang.Override
public int getIsNotRichText() {
return isNotRichText_;
}
/**
* optional uint32 isNotRichText = 20;
* @param value The isNotRichText to set.
* @return This builder for chaining.
*/
public Builder setIsNotRichText(int value) {
bitField0_ |= 0x00080000;
isNotRichText_ = value;
onChanged();
return this;
}
/**
* optional uint32 isNotRichText = 20;
* @return This builder for chaining.
*/
public Builder clearIsNotRichText() {
bitField0_ = (bitField0_ & ~0x00080000);
isNotRichText_ = 0;
onChanged();
return this;
}
private java.lang.Object referUsername_ = "";
/**
* optional string referUsername = 21;
* @return Whether the referUsername field is set.
*/
public boolean hasReferUsername() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
* optional string referUsername = 21;
* @return The referUsername.
*/
public java.lang.String getReferUsername() {
java.lang.Object ref = referUsername_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
referUsername_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string referUsername = 21;
* @return The bytes for referUsername.
*/
public com.google.protobuf.ByteString
getReferUsernameBytes() {
java.lang.Object ref = referUsername_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
referUsername_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string referUsername = 21;
* @param value The referUsername to set.
* @return This builder for chaining.
*/
public Builder setReferUsername(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00100000;
referUsername_ = value;
onChanged();
return this;
}
/**
* optional string referUsername = 21;
* @return This builder for chaining.
*/
public Builder clearReferUsername() {
bitField0_ = (bitField0_ & ~0x00100000);
referUsername_ = getDefaultInstance().getReferUsername();
onChanged();
return this;
}
/**
* optional string referUsername = 21;
* @param value The bytes for referUsername to set.
* @return This builder for chaining.
*/
public Builder setReferUsernameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00100000;
referUsername_ = value;
onChanged();
return this;
}
private long referId_ ;
/**
* optional uint64 referId = 22;
* @return Whether the referId field is set.
*/
@java.lang.Override
public boolean hasReferId() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
* optional uint64 referId = 22;
* @return The referId.
*/
@java.lang.Override
public long getReferId() {
return referId_;
}
/**
* optional uint64 referId = 22;
* @param value The referId to set.
* @return This builder for chaining.
*/
public Builder setReferId(long value) {
bitField0_ |= 0x00200000;
referId_ = value;
onChanged();
return this;
}
/**
* optional uint64 referId = 22;
* @return This builder for chaining.
*/
public Builder clearReferId() {
bitField0_ = (bitField0_ & ~0x00200000);
referId_ = 0L;
onChanged();
return this;
}
private int blackListNum_ ;
/**
* optional uint32 blackListNum = 23;
* @return Whether the blackListNum field is set.
*/
@java.lang.Override
public boolean hasBlackListNum() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
* optional uint32 blackListNum = 23;
* @return The blackListNum.
*/
@java.lang.Override
public int getBlackListNum() {
return blackListNum_;
}
/**
* optional uint32 blackListNum = 23;
* @param value The blackListNum to set.
* @return This builder for chaining.
*/
public Builder setBlackListNum(int value) {
bitField0_ |= 0x00400000;
blackListNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 blackListNum = 23;
* @return This builder for chaining.
*/
public Builder clearBlackListNum() {
bitField0_ = (bitField0_ & ~0x00400000);
blackListNum_ = 0;
onChanged();
return this;
}
private java.util.List blackList_ =
java.util.Collections.emptyList();
private void ensureBlackListIsMutable() {
if (!((bitField0_ & 0x00800000) != 0)) {
blackList_ = new java.util.ArrayList(blackList_);
bitField0_ |= 0x00800000;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> blackListBuilder_;
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public java.util.List getBlackListList() {
if (blackListBuilder_ == null) {
return java.util.Collections.unmodifiableList(blackList_);
} else {
return blackListBuilder_.getMessageList();
}
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public int getBlackListCount() {
if (blackListBuilder_ == null) {
return blackList_.size();
} else {
return blackListBuilder_.getCount();
}
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public wechat.protobuf.SKBuiltinString getBlackList(int index) {
if (blackListBuilder_ == null) {
return blackList_.get(index);
} else {
return blackListBuilder_.getMessage(index);
}
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public Builder setBlackList(
int index, wechat.protobuf.SKBuiltinString value) {
if (blackListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBlackListIsMutable();
blackList_.set(index, value);
onChanged();
} else {
blackListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public Builder setBlackList(
int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (blackListBuilder_ == null) {
ensureBlackListIsMutable();
blackList_.set(index, builderForValue.build());
onChanged();
} else {
blackListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public Builder addBlackList(wechat.protobuf.SKBuiltinString value) {
if (blackListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBlackListIsMutable();
blackList_.add(value);
onChanged();
} else {
blackListBuilder_.addMessage(value);
}
return this;
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public Builder addBlackList(
int index, wechat.protobuf.SKBuiltinString value) {
if (blackListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBlackListIsMutable();
blackList_.add(index, value);
onChanged();
} else {
blackListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public Builder addBlackList(
wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (blackListBuilder_ == null) {
ensureBlackListIsMutable();
blackList_.add(builderForValue.build());
onChanged();
} else {
blackListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public Builder addBlackList(
int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (blackListBuilder_ == null) {
ensureBlackListIsMutable();
blackList_.add(index, builderForValue.build());
onChanged();
} else {
blackListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public Builder addAllBlackList(
java.lang.Iterable extends wechat.protobuf.SKBuiltinString> values) {
if (blackListBuilder_ == null) {
ensureBlackListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, blackList_);
onChanged();
} else {
blackListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public Builder clearBlackList() {
if (blackListBuilder_ == null) {
blackList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00800000);
onChanged();
} else {
blackListBuilder_.clear();
}
return this;
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public Builder removeBlackList(int index) {
if (blackListBuilder_ == null) {
ensureBlackListIsMutable();
blackList_.remove(index);
onChanged();
} else {
blackListBuilder_.remove(index);
}
return this;
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public wechat.protobuf.SKBuiltinString.Builder getBlackListBuilder(
int index) {
return getBlackListFieldBuilder().getBuilder(index);
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public wechat.protobuf.SKBuiltinStringOrBuilder getBlackListOrBuilder(
int index) {
if (blackListBuilder_ == null) {
return blackList_.get(index); } else {
return blackListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getBlackListOrBuilderList() {
if (blackListBuilder_ != null) {
return blackListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(blackList_);
}
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public wechat.protobuf.SKBuiltinString.Builder addBlackListBuilder() {
return getBlackListFieldBuilder().addBuilder(
wechat.protobuf.SKBuiltinString.getDefaultInstance());
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public wechat.protobuf.SKBuiltinString.Builder addBlackListBuilder(
int index) {
return getBlackListFieldBuilder().addBuilder(
index, wechat.protobuf.SKBuiltinString.getDefaultInstance());
}
/**
*
* 不可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString blackList = 24;
*/
public java.util.List
getBlackListBuilderList() {
return getBlackListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>
getBlackListFieldBuilder() {
if (blackListBuilder_ == null) {
blackListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>(
blackList_,
((bitField0_ & 0x00800000) != 0),
getParentForChildren(),
isClean());
blackList_ = null;
}
return blackListBuilder_;
}
private int deleteFlag_ ;
/**
* optional uint32 deleteFlag = 25;
* @return Whether the deleteFlag field is set.
*/
@java.lang.Override
public boolean hasDeleteFlag() {
return ((bitField0_ & 0x01000000) != 0);
}
/**
* optional uint32 deleteFlag = 25;
* @return The deleteFlag.
*/
@java.lang.Override
public int getDeleteFlag() {
return deleteFlag_;
}
/**
* optional uint32 deleteFlag = 25;
* @param value The deleteFlag to set.
* @return This builder for chaining.
*/
public Builder setDeleteFlag(int value) {
bitField0_ |= 0x01000000;
deleteFlag_ = value;
onChanged();
return this;
}
/**
* optional uint32 deleteFlag = 25;
* @return This builder for chaining.
*/
public Builder clearDeleteFlag() {
bitField0_ = (bitField0_ & ~0x01000000);
deleteFlag_ = 0;
onChanged();
return this;
}
private int groupUserNum_ ;
/**
* optional uint32 groupUserNum = 26;
* @return Whether the groupUserNum field is set.
*/
@java.lang.Override
public boolean hasGroupUserNum() {
return ((bitField0_ & 0x02000000) != 0);
}
/**
* optional uint32 groupUserNum = 26;
* @return The groupUserNum.
*/
@java.lang.Override
public int getGroupUserNum() {
return groupUserNum_;
}
/**
* optional uint32 groupUserNum = 26;
* @param value The groupUserNum to set.
* @return This builder for chaining.
*/
public Builder setGroupUserNum(int value) {
bitField0_ |= 0x02000000;
groupUserNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 groupUserNum = 26;
* @return This builder for chaining.
*/
public Builder clearGroupUserNum() {
bitField0_ = (bitField0_ & ~0x02000000);
groupUserNum_ = 0;
onChanged();
return this;
}
private java.util.List groupUser_ =
java.util.Collections.emptyList();
private void ensureGroupUserIsMutable() {
if (!((bitField0_ & 0x04000000) != 0)) {
groupUser_ = new java.util.ArrayList(groupUser_);
bitField0_ |= 0x04000000;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> groupUserBuilder_;
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public java.util.List getGroupUserList() {
if (groupUserBuilder_ == null) {
return java.util.Collections.unmodifiableList(groupUser_);
} else {
return groupUserBuilder_.getMessageList();
}
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public int getGroupUserCount() {
if (groupUserBuilder_ == null) {
return groupUser_.size();
} else {
return groupUserBuilder_.getCount();
}
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public wechat.protobuf.SKBuiltinString getGroupUser(int index) {
if (groupUserBuilder_ == null) {
return groupUser_.get(index);
} else {
return groupUserBuilder_.getMessage(index);
}
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public Builder setGroupUser(
int index, wechat.protobuf.SKBuiltinString value) {
if (groupUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupUserIsMutable();
groupUser_.set(index, value);
onChanged();
} else {
groupUserBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public Builder setGroupUser(
int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (groupUserBuilder_ == null) {
ensureGroupUserIsMutable();
groupUser_.set(index, builderForValue.build());
onChanged();
} else {
groupUserBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public Builder addGroupUser(wechat.protobuf.SKBuiltinString value) {
if (groupUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupUserIsMutable();
groupUser_.add(value);
onChanged();
} else {
groupUserBuilder_.addMessage(value);
}
return this;
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public Builder addGroupUser(
int index, wechat.protobuf.SKBuiltinString value) {
if (groupUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupUserIsMutable();
groupUser_.add(index, value);
onChanged();
} else {
groupUserBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public Builder addGroupUser(
wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (groupUserBuilder_ == null) {
ensureGroupUserIsMutable();
groupUser_.add(builderForValue.build());
onChanged();
} else {
groupUserBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public Builder addGroupUser(
int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (groupUserBuilder_ == null) {
ensureGroupUserIsMutable();
groupUser_.add(index, builderForValue.build());
onChanged();
} else {
groupUserBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public Builder addAllGroupUser(
java.lang.Iterable extends wechat.protobuf.SKBuiltinString> values) {
if (groupUserBuilder_ == null) {
ensureGroupUserIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, groupUser_);
onChanged();
} else {
groupUserBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public Builder clearGroupUser() {
if (groupUserBuilder_ == null) {
groupUser_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x04000000);
onChanged();
} else {
groupUserBuilder_.clear();
}
return this;
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public Builder removeGroupUser(int index) {
if (groupUserBuilder_ == null) {
ensureGroupUserIsMutable();
groupUser_.remove(index);
onChanged();
} else {
groupUserBuilder_.remove(index);
}
return this;
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public wechat.protobuf.SKBuiltinString.Builder getGroupUserBuilder(
int index) {
return getGroupUserFieldBuilder().getBuilder(index);
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public wechat.protobuf.SKBuiltinStringOrBuilder getGroupUserOrBuilder(
int index) {
if (groupUserBuilder_ == null) {
return groupUser_.get(index); } else {
return groupUserBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getGroupUserOrBuilderList() {
if (groupUserBuilder_ != null) {
return groupUserBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(groupUser_);
}
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public wechat.protobuf.SKBuiltinString.Builder addGroupUserBuilder() {
return getGroupUserFieldBuilder().addBuilder(
wechat.protobuf.SKBuiltinString.getDefaultInstance());
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public wechat.protobuf.SKBuiltinString.Builder addGroupUserBuilder(
int index) {
return getGroupUserFieldBuilder().addBuilder(
index, wechat.protobuf.SKBuiltinString.getDefaultInstance());
}
/**
*
* 可见的朋友
*
*
* repeated .wechat_proto.SKBuiltinString groupUser = 27;
*/
public java.util.List
getGroupUserBuilderList() {
return getGroupUserFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>
getGroupUserFieldBuilder() {
if (groupUserBuilder_ == null) {
groupUserBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>(
groupUser_,
((bitField0_ & 0x04000000) != 0),
getParentForChildren(),
isClean());
groupUser_ = null;
}
return groupUserBuilder_;
}
private wechat.protobuf.SKBuiltinString_ objectOperations_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> objectOperationsBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ objectOperations = 28;
* @return Whether the objectOperations field is set.
*/
public boolean hasObjectOperations() {
return ((bitField0_ & 0x08000000) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ objectOperations = 28;
* @return The objectOperations.
*/
public wechat.protobuf.SKBuiltinString_ getObjectOperations() {
if (objectOperationsBuilder_ == null) {
return objectOperations_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectOperations_;
} else {
return objectOperationsBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ objectOperations = 28;
*/
public Builder setObjectOperations(wechat.protobuf.SKBuiltinString_ value) {
if (objectOperationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
objectOperations_ = value;
onChanged();
} else {
objectOperationsBuilder_.setMessage(value);
}
bitField0_ |= 0x08000000;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ objectOperations = 28;
*/
public Builder setObjectOperations(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (objectOperationsBuilder_ == null) {
objectOperations_ = builderForValue.build();
onChanged();
} else {
objectOperationsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x08000000;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ objectOperations = 28;
*/
public Builder mergeObjectOperations(wechat.protobuf.SKBuiltinString_ value) {
if (objectOperationsBuilder_ == null) {
if (((bitField0_ & 0x08000000) != 0) &&
objectOperations_ != null &&
objectOperations_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
objectOperations_ =
wechat.protobuf.SKBuiltinString_.newBuilder(objectOperations_).mergeFrom(value).buildPartial();
} else {
objectOperations_ = value;
}
onChanged();
} else {
objectOperationsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x08000000;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ objectOperations = 28;
*/
public Builder clearObjectOperations() {
if (objectOperationsBuilder_ == null) {
objectOperations_ = null;
onChanged();
} else {
objectOperationsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x08000000);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ objectOperations = 28;
*/
public wechat.protobuf.SKBuiltinString_.Builder getObjectOperationsBuilder() {
bitField0_ |= 0x08000000;
onChanged();
return getObjectOperationsFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ objectOperations = 28;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getObjectOperationsOrBuilder() {
if (objectOperationsBuilder_ != null) {
return objectOperationsBuilder_.getMessageOrBuilder();
} else {
return objectOperations_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectOperations_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ objectOperations = 28;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getObjectOperationsFieldBuilder() {
if (objectOperationsBuilder_ == null) {
objectOperationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getObjectOperations(),
getParentForChildren(),
isClean());
objectOperations_ = null;
}
return objectOperationsBuilder_;
}
private wechat.protobuf.Friendgroup.SnsRedEnvelops snsRedEnvelops_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsRedEnvelops, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder, wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder> snsRedEnvelopsBuilder_;
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29;
* @return Whether the snsRedEnvelops field is set.
*/
public boolean hasSnsRedEnvelops() {
return ((bitField0_ & 0x10000000) != 0);
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29;
* @return The snsRedEnvelops.
*/
public wechat.protobuf.Friendgroup.SnsRedEnvelops getSnsRedEnvelops() {
if (snsRedEnvelopsBuilder_ == null) {
return snsRedEnvelops_ == null ? wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_;
} else {
return snsRedEnvelopsBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29;
*/
public Builder setSnsRedEnvelops(wechat.protobuf.Friendgroup.SnsRedEnvelops value) {
if (snsRedEnvelopsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
snsRedEnvelops_ = value;
onChanged();
} else {
snsRedEnvelopsBuilder_.setMessage(value);
}
bitField0_ |= 0x10000000;
return this;
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29;
*/
public Builder setSnsRedEnvelops(
wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder builderForValue) {
if (snsRedEnvelopsBuilder_ == null) {
snsRedEnvelops_ = builderForValue.build();
onChanged();
} else {
snsRedEnvelopsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x10000000;
return this;
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29;
*/
public Builder mergeSnsRedEnvelops(wechat.protobuf.Friendgroup.SnsRedEnvelops value) {
if (snsRedEnvelopsBuilder_ == null) {
if (((bitField0_ & 0x10000000) != 0) &&
snsRedEnvelops_ != null &&
snsRedEnvelops_ != wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance()) {
snsRedEnvelops_ =
wechat.protobuf.Friendgroup.SnsRedEnvelops.newBuilder(snsRedEnvelops_).mergeFrom(value).buildPartial();
} else {
snsRedEnvelops_ = value;
}
onChanged();
} else {
snsRedEnvelopsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x10000000;
return this;
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29;
*/
public Builder clearSnsRedEnvelops() {
if (snsRedEnvelopsBuilder_ == null) {
snsRedEnvelops_ = null;
onChanged();
} else {
snsRedEnvelopsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x10000000);
return this;
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29;
*/
public wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder getSnsRedEnvelopsBuilder() {
bitField0_ |= 0x10000000;
onChanged();
return getSnsRedEnvelopsFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29;
*/
public wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder getSnsRedEnvelopsOrBuilder() {
if (snsRedEnvelopsBuilder_ != null) {
return snsRedEnvelopsBuilder_.getMessageOrBuilder();
} else {
return snsRedEnvelops_ == null ?
wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_;
}
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 29;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsRedEnvelops, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder, wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder>
getSnsRedEnvelopsFieldBuilder() {
if (snsRedEnvelopsBuilder_ == null) {
snsRedEnvelopsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsRedEnvelops, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder, wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder>(
getSnsRedEnvelops(),
getParentForChildren(),
isClean());
snsRedEnvelops_ = null;
}
return snsRedEnvelopsBuilder_;
}
private wechat.protobuf.Friendgroup.PreDownloadInfo preDownloadInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.PreDownloadInfo, wechat.protobuf.Friendgroup.PreDownloadInfo.Builder, wechat.protobuf.Friendgroup.PreDownloadInfoOrBuilder> preDownloadInfoBuilder_;
/**
* optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30;
* @return Whether the preDownloadInfo field is set.
*/
public boolean hasPreDownloadInfo() {
return ((bitField0_ & 0x20000000) != 0);
}
/**
* optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30;
* @return The preDownloadInfo.
*/
public wechat.protobuf.Friendgroup.PreDownloadInfo getPreDownloadInfo() {
if (preDownloadInfoBuilder_ == null) {
return preDownloadInfo_ == null ? wechat.protobuf.Friendgroup.PreDownloadInfo.getDefaultInstance() : preDownloadInfo_;
} else {
return preDownloadInfoBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30;
*/
public Builder setPreDownloadInfo(wechat.protobuf.Friendgroup.PreDownloadInfo value) {
if (preDownloadInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
preDownloadInfo_ = value;
onChanged();
} else {
preDownloadInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x20000000;
return this;
}
/**
* optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30;
*/
public Builder setPreDownloadInfo(
wechat.protobuf.Friendgroup.PreDownloadInfo.Builder builderForValue) {
if (preDownloadInfoBuilder_ == null) {
preDownloadInfo_ = builderForValue.build();
onChanged();
} else {
preDownloadInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x20000000;
return this;
}
/**
* optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30;
*/
public Builder mergePreDownloadInfo(wechat.protobuf.Friendgroup.PreDownloadInfo value) {
if (preDownloadInfoBuilder_ == null) {
if (((bitField0_ & 0x20000000) != 0) &&
preDownloadInfo_ != null &&
preDownloadInfo_ != wechat.protobuf.Friendgroup.PreDownloadInfo.getDefaultInstance()) {
preDownloadInfo_ =
wechat.protobuf.Friendgroup.PreDownloadInfo.newBuilder(preDownloadInfo_).mergeFrom(value).buildPartial();
} else {
preDownloadInfo_ = value;
}
onChanged();
} else {
preDownloadInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x20000000;
return this;
}
/**
* optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30;
*/
public Builder clearPreDownloadInfo() {
if (preDownloadInfoBuilder_ == null) {
preDownloadInfo_ = null;
onChanged();
} else {
preDownloadInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x20000000);
return this;
}
/**
* optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30;
*/
public wechat.protobuf.Friendgroup.PreDownloadInfo.Builder getPreDownloadInfoBuilder() {
bitField0_ |= 0x20000000;
onChanged();
return getPreDownloadInfoFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30;
*/
public wechat.protobuf.Friendgroup.PreDownloadInfoOrBuilder getPreDownloadInfoOrBuilder() {
if (preDownloadInfoBuilder_ != null) {
return preDownloadInfoBuilder_.getMessageOrBuilder();
} else {
return preDownloadInfo_ == null ?
wechat.protobuf.Friendgroup.PreDownloadInfo.getDefaultInstance() : preDownloadInfo_;
}
}
/**
* optional .wechat_proto.PreDownloadInfo preDownloadInfo = 30;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.PreDownloadInfo, wechat.protobuf.Friendgroup.PreDownloadInfo.Builder, wechat.protobuf.Friendgroup.PreDownloadInfoOrBuilder>
getPreDownloadInfoFieldBuilder() {
if (preDownloadInfoBuilder_ == null) {
preDownloadInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.PreDownloadInfo, wechat.protobuf.Friendgroup.PreDownloadInfo.Builder, wechat.protobuf.Friendgroup.PreDownloadInfoOrBuilder>(
getPreDownloadInfo(),
getParentForChildren(),
isClean());
preDownloadInfo_ = null;
}
return preDownloadInfoBuilder_;
}
private wechat.protobuf.Friendgroup.SnsWeAppInfo weAppInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsWeAppInfo, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder, wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder> weAppInfoBuilder_;
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 31;
* @return Whether the weAppInfo field is set.
*/
public boolean hasWeAppInfo() {
return ((bitField0_ & 0x40000000) != 0);
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 31;
* @return The weAppInfo.
*/
public wechat.protobuf.Friendgroup.SnsWeAppInfo getWeAppInfo() {
if (weAppInfoBuilder_ == null) {
return weAppInfo_ == null ? wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_;
} else {
return weAppInfoBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 31;
*/
public Builder setWeAppInfo(wechat.protobuf.Friendgroup.SnsWeAppInfo value) {
if (weAppInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
weAppInfo_ = value;
onChanged();
} else {
weAppInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x40000000;
return this;
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 31;
*/
public Builder setWeAppInfo(
wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder builderForValue) {
if (weAppInfoBuilder_ == null) {
weAppInfo_ = builderForValue.build();
onChanged();
} else {
weAppInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x40000000;
return this;
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 31;
*/
public Builder mergeWeAppInfo(wechat.protobuf.Friendgroup.SnsWeAppInfo value) {
if (weAppInfoBuilder_ == null) {
if (((bitField0_ & 0x40000000) != 0) &&
weAppInfo_ != null &&
weAppInfo_ != wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance()) {
weAppInfo_ =
wechat.protobuf.Friendgroup.SnsWeAppInfo.newBuilder(weAppInfo_).mergeFrom(value).buildPartial();
} else {
weAppInfo_ = value;
}
onChanged();
} else {
weAppInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x40000000;
return this;
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 31;
*/
public Builder clearWeAppInfo() {
if (weAppInfoBuilder_ == null) {
weAppInfo_ = null;
onChanged();
} else {
weAppInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x40000000);
return this;
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 31;
*/
public wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder getWeAppInfoBuilder() {
bitField0_ |= 0x40000000;
onChanged();
return getWeAppInfoFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 31;
*/
public wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder getWeAppInfoOrBuilder() {
if (weAppInfoBuilder_ != null) {
return weAppInfoBuilder_.getMessageOrBuilder();
} else {
return weAppInfo_ == null ?
wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_;
}
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 31;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsWeAppInfo, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder, wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder>
getWeAppInfoFieldBuilder() {
if (weAppInfoBuilder_ == null) {
weAppInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsWeAppInfo, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder, wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder>(
getWeAppInfo(),
getParentForChildren(),
isClean());
weAppInfo_ = null;
}
return weAppInfoBuilder_;
}
@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.SnsObject)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsObject)
private static final wechat.protobuf.Friendgroup.SnsObject DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsObject();
}
public static wechat.protobuf.Friendgroup.SnsObject getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsObject parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsObject(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.Friendgroup.SnsObject getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsRedEnvelopsOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsRedEnvelops)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 rewardNum = 1;
* @return Whether the rewardNum field is set.
*/
boolean hasRewardNum();
/**
* optional uint32 rewardNum = 1;
* @return The rewardNum.
*/
int getRewardNum();
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
java.util.List
getRewardUserListList();
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
wechat.protobuf.Friendgroup.SnsHBUserInfo getRewardUserList(int index);
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
int getRewardUserListCount();
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
java.util.List extends wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder>
getRewardUserListOrBuilderList();
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder getRewardUserListOrBuilder(
int index);
/**
* optional uint32 resourceId = 3;
* @return Whether the resourceId field is set.
*/
boolean hasResourceId();
/**
* optional uint32 resourceId = 3;
* @return The resourceId.
*/
int getResourceId();
/**
* optional uint32 reportId = 4;
* @return Whether the reportId field is set.
*/
boolean hasReportId();
/**
* optional uint32 reportId = 4;
* @return The reportId.
*/
int getReportId();
/**
* optional uint32 reportKey = 5;
* @return Whether the reportKey field is set.
*/
boolean hasReportKey();
/**
* optional uint32 reportKey = 5;
* @return The reportKey.
*/
int getReportKey();
}
/**
* Protobuf type {@code wechat_proto.SnsRedEnvelops}
*/
public static final class SnsRedEnvelops extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsRedEnvelops)
SnsRedEnvelopsOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsRedEnvelops.newBuilder() to construct.
private SnsRedEnvelops(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsRedEnvelops() {
rewardUserList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsRedEnvelops();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsRedEnvelops(
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;
rewardNum_ = input.readUInt32();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
rewardUserList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
rewardUserList_.add(
input.readMessage(wechat.protobuf.Friendgroup.SnsHBUserInfo.PARSER, extensionRegistry));
break;
}
case 24: {
bitField0_ |= 0x00000002;
resourceId_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000004;
reportId_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000008;
reportKey_ = 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_ & 0x00000002) != 0)) {
rewardUserList_ = java.util.Collections.unmodifiableList(rewardUserList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsRedEnvelops_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsRedEnvelops_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsRedEnvelops.class, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder.class);
}
private int bitField0_;
public static final int REWARDNUM_FIELD_NUMBER = 1;
private int rewardNum_;
/**
* optional uint32 rewardNum = 1;
* @return Whether the rewardNum field is set.
*/
@java.lang.Override
public boolean hasRewardNum() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 rewardNum = 1;
* @return The rewardNum.
*/
@java.lang.Override
public int getRewardNum() {
return rewardNum_;
}
public static final int REWARDUSERLIST_FIELD_NUMBER = 2;
private java.util.List rewardUserList_;
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
@java.lang.Override
public java.util.List getRewardUserListList() {
return rewardUserList_;
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder>
getRewardUserListOrBuilderList() {
return rewardUserList_;
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
@java.lang.Override
public int getRewardUserListCount() {
return rewardUserList_.size();
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsHBUserInfo getRewardUserList(int index) {
return rewardUserList_.get(index);
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder getRewardUserListOrBuilder(
int index) {
return rewardUserList_.get(index);
}
public static final int RESOURCEID_FIELD_NUMBER = 3;
private int resourceId_;
/**
* optional uint32 resourceId = 3;
* @return Whether the resourceId field is set.
*/
@java.lang.Override
public boolean hasResourceId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 resourceId = 3;
* @return The resourceId.
*/
@java.lang.Override
public int getResourceId() {
return resourceId_;
}
public static final int REPORTID_FIELD_NUMBER = 4;
private int reportId_;
/**
* optional uint32 reportId = 4;
* @return Whether the reportId field is set.
*/
@java.lang.Override
public boolean hasReportId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 reportId = 4;
* @return The reportId.
*/
@java.lang.Override
public int getReportId() {
return reportId_;
}
public static final int REPORTKEY_FIELD_NUMBER = 5;
private int reportKey_;
/**
* optional uint32 reportKey = 5;
* @return Whether the reportKey field is set.
*/
@java.lang.Override
public boolean hasReportKey() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 reportKey = 5;
* @return The reportKey.
*/
@java.lang.Override
public int getReportKey() {
return reportKey_;
}
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.writeUInt32(1, rewardNum_);
}
for (int i = 0; i < rewardUserList_.size(); i++) {
output.writeMessage(2, rewardUserList_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(3, resourceId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(4, reportId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(5, reportKey_);
}
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
.computeUInt32Size(1, rewardNum_);
}
for (int i = 0; i < rewardUserList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, rewardUserList_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, resourceId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, reportId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, reportKey_);
}
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.Friendgroup.SnsRedEnvelops)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsRedEnvelops other = (wechat.protobuf.Friendgroup.SnsRedEnvelops) obj;
if (hasRewardNum() != other.hasRewardNum()) return false;
if (hasRewardNum()) {
if (getRewardNum()
!= other.getRewardNum()) return false;
}
if (!getRewardUserListList()
.equals(other.getRewardUserListList())) return false;
if (hasResourceId() != other.hasResourceId()) return false;
if (hasResourceId()) {
if (getResourceId()
!= other.getResourceId()) return false;
}
if (hasReportId() != other.hasReportId()) return false;
if (hasReportId()) {
if (getReportId()
!= other.getReportId()) return false;
}
if (hasReportKey() != other.hasReportKey()) return false;
if (hasReportKey()) {
if (getReportKey()
!= other.getReportKey()) 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 (hasRewardNum()) {
hash = (37 * hash) + REWARDNUM_FIELD_NUMBER;
hash = (53 * hash) + getRewardNum();
}
if (getRewardUserListCount() > 0) {
hash = (37 * hash) + REWARDUSERLIST_FIELD_NUMBER;
hash = (53 * hash) + getRewardUserListList().hashCode();
}
if (hasResourceId()) {
hash = (37 * hash) + RESOURCEID_FIELD_NUMBER;
hash = (53 * hash) + getResourceId();
}
if (hasReportId()) {
hash = (37 * hash) + REPORTID_FIELD_NUMBER;
hash = (53 * hash) + getReportId();
}
if (hasReportKey()) {
hash = (37 * hash) + REPORTKEY_FIELD_NUMBER;
hash = (53 * hash) + getReportKey();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsRedEnvelops parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsRedEnvelops parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsRedEnvelops parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsRedEnvelops 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.Friendgroup.SnsRedEnvelops parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsRedEnvelops parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsRedEnvelops parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsRedEnvelops 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.Friendgroup.SnsRedEnvelops parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsRedEnvelops 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.Friendgroup.SnsRedEnvelops parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsRedEnvelops 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.Friendgroup.SnsRedEnvelops 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.SnsRedEnvelops}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsRedEnvelops)
wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsRedEnvelops_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsRedEnvelops_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsRedEnvelops.class, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsRedEnvelops.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getRewardUserListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
rewardNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
if (rewardUserListBuilder_ == null) {
rewardUserList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
rewardUserListBuilder_.clear();
}
resourceId_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
reportId_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
reportKey_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsRedEnvelops_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsRedEnvelops getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsRedEnvelops build() {
wechat.protobuf.Friendgroup.SnsRedEnvelops result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsRedEnvelops buildPartial() {
wechat.protobuf.Friendgroup.SnsRedEnvelops result = new wechat.protobuf.Friendgroup.SnsRedEnvelops(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.rewardNum_ = rewardNum_;
to_bitField0_ |= 0x00000001;
}
if (rewardUserListBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
rewardUserList_ = java.util.Collections.unmodifiableList(rewardUserList_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.rewardUserList_ = rewardUserList_;
} else {
result.rewardUserList_ = rewardUserListBuilder_.build();
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.resourceId_ = resourceId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.reportId_ = reportId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.reportKey_ = reportKey_;
to_bitField0_ |= 0x00000008;
}
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.Friendgroup.SnsRedEnvelops) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsRedEnvelops)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsRedEnvelops other) {
if (other == wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance()) return this;
if (other.hasRewardNum()) {
setRewardNum(other.getRewardNum());
}
if (rewardUserListBuilder_ == null) {
if (!other.rewardUserList_.isEmpty()) {
if (rewardUserList_.isEmpty()) {
rewardUserList_ = other.rewardUserList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureRewardUserListIsMutable();
rewardUserList_.addAll(other.rewardUserList_);
}
onChanged();
}
} else {
if (!other.rewardUserList_.isEmpty()) {
if (rewardUserListBuilder_.isEmpty()) {
rewardUserListBuilder_.dispose();
rewardUserListBuilder_ = null;
rewardUserList_ = other.rewardUserList_;
bitField0_ = (bitField0_ & ~0x00000002);
rewardUserListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRewardUserListFieldBuilder() : null;
} else {
rewardUserListBuilder_.addAllMessages(other.rewardUserList_);
}
}
}
if (other.hasResourceId()) {
setResourceId(other.getResourceId());
}
if (other.hasReportId()) {
setReportId(other.getReportId());
}
if (other.hasReportKey()) {
setReportKey(other.getReportKey());
}
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.Friendgroup.SnsRedEnvelops parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsRedEnvelops) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int rewardNum_ ;
/**
* optional uint32 rewardNum = 1;
* @return Whether the rewardNum field is set.
*/
@java.lang.Override
public boolean hasRewardNum() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 rewardNum = 1;
* @return The rewardNum.
*/
@java.lang.Override
public int getRewardNum() {
return rewardNum_;
}
/**
* optional uint32 rewardNum = 1;
* @param value The rewardNum to set.
* @return This builder for chaining.
*/
public Builder setRewardNum(int value) {
bitField0_ |= 0x00000001;
rewardNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 rewardNum = 1;
* @return This builder for chaining.
*/
public Builder clearRewardNum() {
bitField0_ = (bitField0_ & ~0x00000001);
rewardNum_ = 0;
onChanged();
return this;
}
private java.util.List rewardUserList_ =
java.util.Collections.emptyList();
private void ensureRewardUserListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
rewardUserList_ = new java.util.ArrayList(rewardUserList_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsHBUserInfo, wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder, wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder> rewardUserListBuilder_;
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public java.util.List getRewardUserListList() {
if (rewardUserListBuilder_ == null) {
return java.util.Collections.unmodifiableList(rewardUserList_);
} else {
return rewardUserListBuilder_.getMessageList();
}
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public int getRewardUserListCount() {
if (rewardUserListBuilder_ == null) {
return rewardUserList_.size();
} else {
return rewardUserListBuilder_.getCount();
}
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public wechat.protobuf.Friendgroup.SnsHBUserInfo getRewardUserList(int index) {
if (rewardUserListBuilder_ == null) {
return rewardUserList_.get(index);
} else {
return rewardUserListBuilder_.getMessage(index);
}
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public Builder setRewardUserList(
int index, wechat.protobuf.Friendgroup.SnsHBUserInfo value) {
if (rewardUserListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRewardUserListIsMutable();
rewardUserList_.set(index, value);
onChanged();
} else {
rewardUserListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public Builder setRewardUserList(
int index, wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder builderForValue) {
if (rewardUserListBuilder_ == null) {
ensureRewardUserListIsMutable();
rewardUserList_.set(index, builderForValue.build());
onChanged();
} else {
rewardUserListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public Builder addRewardUserList(wechat.protobuf.Friendgroup.SnsHBUserInfo value) {
if (rewardUserListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRewardUserListIsMutable();
rewardUserList_.add(value);
onChanged();
} else {
rewardUserListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public Builder addRewardUserList(
int index, wechat.protobuf.Friendgroup.SnsHBUserInfo value) {
if (rewardUserListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRewardUserListIsMutable();
rewardUserList_.add(index, value);
onChanged();
} else {
rewardUserListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public Builder addRewardUserList(
wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder builderForValue) {
if (rewardUserListBuilder_ == null) {
ensureRewardUserListIsMutable();
rewardUserList_.add(builderForValue.build());
onChanged();
} else {
rewardUserListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public Builder addRewardUserList(
int index, wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder builderForValue) {
if (rewardUserListBuilder_ == null) {
ensureRewardUserListIsMutable();
rewardUserList_.add(index, builderForValue.build());
onChanged();
} else {
rewardUserListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public Builder addAllRewardUserList(
java.lang.Iterable extends wechat.protobuf.Friendgroup.SnsHBUserInfo> values) {
if (rewardUserListBuilder_ == null) {
ensureRewardUserListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, rewardUserList_);
onChanged();
} else {
rewardUserListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public Builder clearRewardUserList() {
if (rewardUserListBuilder_ == null) {
rewardUserList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
rewardUserListBuilder_.clear();
}
return this;
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public Builder removeRewardUserList(int index) {
if (rewardUserListBuilder_ == null) {
ensureRewardUserListIsMutable();
rewardUserList_.remove(index);
onChanged();
} else {
rewardUserListBuilder_.remove(index);
}
return this;
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder getRewardUserListBuilder(
int index) {
return getRewardUserListFieldBuilder().getBuilder(index);
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder getRewardUserListOrBuilder(
int index) {
if (rewardUserListBuilder_ == null) {
return rewardUserList_.get(index); } else {
return rewardUserListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public java.util.List extends wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder>
getRewardUserListOrBuilderList() {
if (rewardUserListBuilder_ != null) {
return rewardUserListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(rewardUserList_);
}
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder addRewardUserListBuilder() {
return getRewardUserListFieldBuilder().addBuilder(
wechat.protobuf.Friendgroup.SnsHBUserInfo.getDefaultInstance());
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder addRewardUserListBuilder(
int index) {
return getRewardUserListFieldBuilder().addBuilder(
index, wechat.protobuf.Friendgroup.SnsHBUserInfo.getDefaultInstance());
}
/**
* repeated .wechat_proto.SnsHBUserInfo rewardUserList = 2;
*/
public java.util.List
getRewardUserListBuilderList() {
return getRewardUserListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsHBUserInfo, wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder, wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder>
getRewardUserListFieldBuilder() {
if (rewardUserListBuilder_ == null) {
rewardUserListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsHBUserInfo, wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder, wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder>(
rewardUserList_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
rewardUserList_ = null;
}
return rewardUserListBuilder_;
}
private int resourceId_ ;
/**
* optional uint32 resourceId = 3;
* @return Whether the resourceId field is set.
*/
@java.lang.Override
public boolean hasResourceId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 resourceId = 3;
* @return The resourceId.
*/
@java.lang.Override
public int getResourceId() {
return resourceId_;
}
/**
* optional uint32 resourceId = 3;
* @param value The resourceId to set.
* @return This builder for chaining.
*/
public Builder setResourceId(int value) {
bitField0_ |= 0x00000004;
resourceId_ = value;
onChanged();
return this;
}
/**
* optional uint32 resourceId = 3;
* @return This builder for chaining.
*/
public Builder clearResourceId() {
bitField0_ = (bitField0_ & ~0x00000004);
resourceId_ = 0;
onChanged();
return this;
}
private int reportId_ ;
/**
* optional uint32 reportId = 4;
* @return Whether the reportId field is set.
*/
@java.lang.Override
public boolean hasReportId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 reportId = 4;
* @return The reportId.
*/
@java.lang.Override
public int getReportId() {
return reportId_;
}
/**
* optional uint32 reportId = 4;
* @param value The reportId to set.
* @return This builder for chaining.
*/
public Builder setReportId(int value) {
bitField0_ |= 0x00000008;
reportId_ = value;
onChanged();
return this;
}
/**
* optional uint32 reportId = 4;
* @return This builder for chaining.
*/
public Builder clearReportId() {
bitField0_ = (bitField0_ & ~0x00000008);
reportId_ = 0;
onChanged();
return this;
}
private int reportKey_ ;
/**
* optional uint32 reportKey = 5;
* @return Whether the reportKey field is set.
*/
@java.lang.Override
public boolean hasReportKey() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 reportKey = 5;
* @return The reportKey.
*/
@java.lang.Override
public int getReportKey() {
return reportKey_;
}
/**
* optional uint32 reportKey = 5;
* @param value The reportKey to set.
* @return This builder for chaining.
*/
public Builder setReportKey(int value) {
bitField0_ |= 0x00000010;
reportKey_ = value;
onChanged();
return this;
}
/**
* optional uint32 reportKey = 5;
* @return This builder for chaining.
*/
public Builder clearReportKey() {
bitField0_ = (bitField0_ & ~0x00000010);
reportKey_ = 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.SnsRedEnvelops)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsRedEnvelops)
private static final wechat.protobuf.Friendgroup.SnsRedEnvelops DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsRedEnvelops();
}
public static wechat.protobuf.Friendgroup.SnsRedEnvelops getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsRedEnvelops parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsRedEnvelops(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.Friendgroup.SnsRedEnvelops getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PreDownloadInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.PreDownloadInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 preDownloadPercent = 1;
* @return Whether the preDownloadPercent field is set.
*/
boolean hasPreDownloadPercent();
/**
* optional uint32 preDownloadPercent = 1;
* @return The preDownloadPercent.
*/
int getPreDownloadPercent();
/**
* optional uint32 preDownloadNetType = 2;
* @return Whether the preDownloadNetType field is set.
*/
boolean hasPreDownloadNetType();
/**
* optional uint32 preDownloadNetType = 2;
* @return The preDownloadNetType.
*/
int getPreDownloadNetType();
/**
* optional string noPreDownloadRange = 3;
* @return Whether the noPreDownloadRange field is set.
*/
boolean hasNoPreDownloadRange();
/**
* optional string noPreDownloadRange = 3;
* @return The noPreDownloadRange.
*/
java.lang.String getNoPreDownloadRange();
/**
* optional string noPreDownloadRange = 3;
* @return The bytes for noPreDownloadRange.
*/
com.google.protobuf.ByteString
getNoPreDownloadRangeBytes();
}
/**
* Protobuf type {@code wechat_proto.PreDownloadInfo}
*/
public static final class PreDownloadInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.PreDownloadInfo)
PreDownloadInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PreDownloadInfo.newBuilder() to construct.
private PreDownloadInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PreDownloadInfo() {
noPreDownloadRange_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PreDownloadInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PreDownloadInfo(
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;
preDownloadPercent_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
preDownloadNetType_ = input.readUInt32();
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
noPreDownloadRange_ = bs;
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.Friendgroup.internal_static_wechat_proto_PreDownloadInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_PreDownloadInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.PreDownloadInfo.class, wechat.protobuf.Friendgroup.PreDownloadInfo.Builder.class);
}
private int bitField0_;
public static final int PREDOWNLOADPERCENT_FIELD_NUMBER = 1;
private int preDownloadPercent_;
/**
* optional uint32 preDownloadPercent = 1;
* @return Whether the preDownloadPercent field is set.
*/
@java.lang.Override
public boolean hasPreDownloadPercent() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 preDownloadPercent = 1;
* @return The preDownloadPercent.
*/
@java.lang.Override
public int getPreDownloadPercent() {
return preDownloadPercent_;
}
public static final int PREDOWNLOADNETTYPE_FIELD_NUMBER = 2;
private int preDownloadNetType_;
/**
* optional uint32 preDownloadNetType = 2;
* @return Whether the preDownloadNetType field is set.
*/
@java.lang.Override
public boolean hasPreDownloadNetType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 preDownloadNetType = 2;
* @return The preDownloadNetType.
*/
@java.lang.Override
public int getPreDownloadNetType() {
return preDownloadNetType_;
}
public static final int NOPREDOWNLOADRANGE_FIELD_NUMBER = 3;
private volatile java.lang.Object noPreDownloadRange_;
/**
* optional string noPreDownloadRange = 3;
* @return Whether the noPreDownloadRange field is set.
*/
@java.lang.Override
public boolean hasNoPreDownloadRange() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string noPreDownloadRange = 3;
* @return The noPreDownloadRange.
*/
@java.lang.Override
public java.lang.String getNoPreDownloadRange() {
java.lang.Object ref = noPreDownloadRange_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
noPreDownloadRange_ = s;
}
return s;
}
}
/**
* optional string noPreDownloadRange = 3;
* @return The bytes for noPreDownloadRange.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNoPreDownloadRangeBytes() {
java.lang.Object ref = noPreDownloadRange_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
noPreDownloadRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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.writeUInt32(1, preDownloadPercent_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, preDownloadNetType_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, noPreDownloadRange_);
}
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
.computeUInt32Size(1, preDownloadPercent_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, preDownloadNetType_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, noPreDownloadRange_);
}
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.Friendgroup.PreDownloadInfo)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.PreDownloadInfo other = (wechat.protobuf.Friendgroup.PreDownloadInfo) obj;
if (hasPreDownloadPercent() != other.hasPreDownloadPercent()) return false;
if (hasPreDownloadPercent()) {
if (getPreDownloadPercent()
!= other.getPreDownloadPercent()) return false;
}
if (hasPreDownloadNetType() != other.hasPreDownloadNetType()) return false;
if (hasPreDownloadNetType()) {
if (getPreDownloadNetType()
!= other.getPreDownloadNetType()) return false;
}
if (hasNoPreDownloadRange() != other.hasNoPreDownloadRange()) return false;
if (hasNoPreDownloadRange()) {
if (!getNoPreDownloadRange()
.equals(other.getNoPreDownloadRange())) 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 (hasPreDownloadPercent()) {
hash = (37 * hash) + PREDOWNLOADPERCENT_FIELD_NUMBER;
hash = (53 * hash) + getPreDownloadPercent();
}
if (hasPreDownloadNetType()) {
hash = (37 * hash) + PREDOWNLOADNETTYPE_FIELD_NUMBER;
hash = (53 * hash) + getPreDownloadNetType();
}
if (hasNoPreDownloadRange()) {
hash = (37 * hash) + NOPREDOWNLOADRANGE_FIELD_NUMBER;
hash = (53 * hash) + getNoPreDownloadRange().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.PreDownloadInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.PreDownloadInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.PreDownloadInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.PreDownloadInfo 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.Friendgroup.PreDownloadInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.PreDownloadInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.PreDownloadInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.PreDownloadInfo 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.Friendgroup.PreDownloadInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.PreDownloadInfo 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.Friendgroup.PreDownloadInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.PreDownloadInfo 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.Friendgroup.PreDownloadInfo 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.PreDownloadInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.PreDownloadInfo)
wechat.protobuf.Friendgroup.PreDownloadInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_PreDownloadInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_PreDownloadInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.PreDownloadInfo.class, wechat.protobuf.Friendgroup.PreDownloadInfo.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.PreDownloadInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
preDownloadPercent_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
preDownloadNetType_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
noPreDownloadRange_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_PreDownloadInfo_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.PreDownloadInfo getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.PreDownloadInfo.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.PreDownloadInfo build() {
wechat.protobuf.Friendgroup.PreDownloadInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.PreDownloadInfo buildPartial() {
wechat.protobuf.Friendgroup.PreDownloadInfo result = new wechat.protobuf.Friendgroup.PreDownloadInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.preDownloadPercent_ = preDownloadPercent_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.preDownloadNetType_ = preDownloadNetType_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.noPreDownloadRange_ = noPreDownloadRange_;
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.Friendgroup.PreDownloadInfo) {
return mergeFrom((wechat.protobuf.Friendgroup.PreDownloadInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.PreDownloadInfo other) {
if (other == wechat.protobuf.Friendgroup.PreDownloadInfo.getDefaultInstance()) return this;
if (other.hasPreDownloadPercent()) {
setPreDownloadPercent(other.getPreDownloadPercent());
}
if (other.hasPreDownloadNetType()) {
setPreDownloadNetType(other.getPreDownloadNetType());
}
if (other.hasNoPreDownloadRange()) {
bitField0_ |= 0x00000004;
noPreDownloadRange_ = other.noPreDownloadRange_;
onChanged();
}
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.Friendgroup.PreDownloadInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.PreDownloadInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int preDownloadPercent_ ;
/**
* optional uint32 preDownloadPercent = 1;
* @return Whether the preDownloadPercent field is set.
*/
@java.lang.Override
public boolean hasPreDownloadPercent() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 preDownloadPercent = 1;
* @return The preDownloadPercent.
*/
@java.lang.Override
public int getPreDownloadPercent() {
return preDownloadPercent_;
}
/**
* optional uint32 preDownloadPercent = 1;
* @param value The preDownloadPercent to set.
* @return This builder for chaining.
*/
public Builder setPreDownloadPercent(int value) {
bitField0_ |= 0x00000001;
preDownloadPercent_ = value;
onChanged();
return this;
}
/**
* optional uint32 preDownloadPercent = 1;
* @return This builder for chaining.
*/
public Builder clearPreDownloadPercent() {
bitField0_ = (bitField0_ & ~0x00000001);
preDownloadPercent_ = 0;
onChanged();
return this;
}
private int preDownloadNetType_ ;
/**
* optional uint32 preDownloadNetType = 2;
* @return Whether the preDownloadNetType field is set.
*/
@java.lang.Override
public boolean hasPreDownloadNetType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 preDownloadNetType = 2;
* @return The preDownloadNetType.
*/
@java.lang.Override
public int getPreDownloadNetType() {
return preDownloadNetType_;
}
/**
* optional uint32 preDownloadNetType = 2;
* @param value The preDownloadNetType to set.
* @return This builder for chaining.
*/
public Builder setPreDownloadNetType(int value) {
bitField0_ |= 0x00000002;
preDownloadNetType_ = value;
onChanged();
return this;
}
/**
* optional uint32 preDownloadNetType = 2;
* @return This builder for chaining.
*/
public Builder clearPreDownloadNetType() {
bitField0_ = (bitField0_ & ~0x00000002);
preDownloadNetType_ = 0;
onChanged();
return this;
}
private java.lang.Object noPreDownloadRange_ = "";
/**
* optional string noPreDownloadRange = 3;
* @return Whether the noPreDownloadRange field is set.
*/
public boolean hasNoPreDownloadRange() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string noPreDownloadRange = 3;
* @return The noPreDownloadRange.
*/
public java.lang.String getNoPreDownloadRange() {
java.lang.Object ref = noPreDownloadRange_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
noPreDownloadRange_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string noPreDownloadRange = 3;
* @return The bytes for noPreDownloadRange.
*/
public com.google.protobuf.ByteString
getNoPreDownloadRangeBytes() {
java.lang.Object ref = noPreDownloadRange_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
noPreDownloadRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string noPreDownloadRange = 3;
* @param value The noPreDownloadRange to set.
* @return This builder for chaining.
*/
public Builder setNoPreDownloadRange(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
noPreDownloadRange_ = value;
onChanged();
return this;
}
/**
* optional string noPreDownloadRange = 3;
* @return This builder for chaining.
*/
public Builder clearNoPreDownloadRange() {
bitField0_ = (bitField0_ & ~0x00000004);
noPreDownloadRange_ = getDefaultInstance().getNoPreDownloadRange();
onChanged();
return this;
}
/**
* optional string noPreDownloadRange = 3;
* @param value The bytes for noPreDownloadRange to set.
* @return This builder for chaining.
*/
public Builder setNoPreDownloadRangeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
noPreDownloadRange_ = value;
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.PreDownloadInfo)
}
// @@protoc_insertion_point(class_scope:wechat_proto.PreDownloadInfo)
private static final wechat.protobuf.Friendgroup.PreDownloadInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.PreDownloadInfo();
}
public static wechat.protobuf.Friendgroup.PreDownloadInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PreDownloadInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PreDownloadInfo(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.Friendgroup.PreDownloadInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsWeAppInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsWeAppInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional string mapPoiId = 1;
* @return Whether the mapPoiId field is set.
*/
boolean hasMapPoiId();
/**
* optional string mapPoiId = 1;
* @return The mapPoiId.
*/
java.lang.String getMapPoiId();
/**
* optional string mapPoiId = 1;
* @return The bytes for mapPoiId.
*/
com.google.protobuf.ByteString
getMapPoiIdBytes();
/**
* optional uint32 appId = 2;
* @return Whether the appId field is set.
*/
boolean hasAppId();
/**
* optional uint32 appId = 2;
* @return The appId.
*/
int getAppId();
/**
* optional string userName = 3;
* @return Whether the userName field is set.
*/
boolean hasUserName();
/**
* optional string userName = 3;
* @return The userName.
*/
java.lang.String getUserName();
/**
* optional string userName = 3;
* @return The bytes for userName.
*/
com.google.protobuf.ByteString
getUserNameBytes();
/**
* optional string redirectUrl = 4;
* @return Whether the redirectUrl field is set.
*/
boolean hasRedirectUrl();
/**
* optional string redirectUrl = 4;
* @return The redirectUrl.
*/
java.lang.String getRedirectUrl();
/**
* optional string redirectUrl = 4;
* @return The bytes for redirectUrl.
*/
com.google.protobuf.ByteString
getRedirectUrlBytes();
/**
* optional uint32 showType = 5;
* @return Whether the showType field is set.
*/
boolean hasShowType();
/**
* optional uint32 showType = 5;
* @return The showType.
*/
int getShowType();
/**
* optional uint32 score = 6;
* @return Whether the score field is set.
*/
boolean hasScore();
/**
* optional uint32 score = 6;
* @return The score.
*/
int getScore();
}
/**
* Protobuf type {@code wechat_proto.SnsWeAppInfo}
*/
public static final class SnsWeAppInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsWeAppInfo)
SnsWeAppInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsWeAppInfo.newBuilder() to construct.
private SnsWeAppInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsWeAppInfo() {
mapPoiId_ = "";
userName_ = "";
redirectUrl_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsWeAppInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsWeAppInfo(
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: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
mapPoiId_ = bs;
break;
}
case 16: {
bitField0_ |= 0x00000002;
appId_ = input.readUInt32();
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
userName_ = bs;
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
redirectUrl_ = bs;
break;
}
case 40: {
bitField0_ |= 0x00000010;
showType_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
score_ = 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.Friendgroup.internal_static_wechat_proto_SnsWeAppInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsWeAppInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsWeAppInfo.class, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder.class);
}
private int bitField0_;
public static final int MAPPOIID_FIELD_NUMBER = 1;
private volatile java.lang.Object mapPoiId_;
/**
* optional string mapPoiId = 1;
* @return Whether the mapPoiId field is set.
*/
@java.lang.Override
public boolean hasMapPoiId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string mapPoiId = 1;
* @return The mapPoiId.
*/
@java.lang.Override
public java.lang.String getMapPoiId() {
java.lang.Object ref = mapPoiId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
mapPoiId_ = s;
}
return s;
}
}
/**
* optional string mapPoiId = 1;
* @return The bytes for mapPoiId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMapPoiIdBytes() {
java.lang.Object ref = mapPoiId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mapPoiId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int APPID_FIELD_NUMBER = 2;
private int appId_;
/**
* optional uint32 appId = 2;
* @return Whether the appId field is set.
*/
@java.lang.Override
public boolean hasAppId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 appId = 2;
* @return The appId.
*/
@java.lang.Override
public int getAppId() {
return appId_;
}
public static final int USERNAME_FIELD_NUMBER = 3;
private volatile java.lang.Object userName_;
/**
* optional string userName = 3;
* @return Whether the userName field is set.
*/
@java.lang.Override
public boolean hasUserName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string userName = 3;
* @return The userName.
*/
@java.lang.Override
public java.lang.String getUserName() {
java.lang.Object ref = userName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
userName_ = s;
}
return s;
}
}
/**
* optional string userName = 3;
* @return The bytes for userName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserNameBytes() {
java.lang.Object ref = userName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REDIRECTURL_FIELD_NUMBER = 4;
private volatile java.lang.Object redirectUrl_;
/**
* optional string redirectUrl = 4;
* @return Whether the redirectUrl field is set.
*/
@java.lang.Override
public boolean hasRedirectUrl() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string redirectUrl = 4;
* @return The redirectUrl.
*/
@java.lang.Override
public java.lang.String getRedirectUrl() {
java.lang.Object ref = redirectUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
redirectUrl_ = s;
}
return s;
}
}
/**
* optional string redirectUrl = 4;
* @return The bytes for redirectUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRedirectUrlBytes() {
java.lang.Object ref = redirectUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
redirectUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SHOWTYPE_FIELD_NUMBER = 5;
private int showType_;
/**
* optional uint32 showType = 5;
* @return Whether the showType field is set.
*/
@java.lang.Override
public boolean hasShowType() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 showType = 5;
* @return The showType.
*/
@java.lang.Override
public int getShowType() {
return showType_;
}
public static final int SCORE_FIELD_NUMBER = 6;
private int score_;
/**
* optional uint32 score = 6;
* @return Whether the score field is set.
*/
@java.lang.Override
public boolean hasScore() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 score = 6;
* @return The score.
*/
@java.lang.Override
public int getScore() {
return score_;
}
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)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, mapPoiId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, appId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, userName_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, redirectUrl_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, showType_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt32(6, score_);
}
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.GeneratedMessageV3.computeStringSize(1, mapPoiId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, appId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userName_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, redirectUrl_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, showType_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, score_);
}
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.Friendgroup.SnsWeAppInfo)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsWeAppInfo other = (wechat.protobuf.Friendgroup.SnsWeAppInfo) obj;
if (hasMapPoiId() != other.hasMapPoiId()) return false;
if (hasMapPoiId()) {
if (!getMapPoiId()
.equals(other.getMapPoiId())) return false;
}
if (hasAppId() != other.hasAppId()) return false;
if (hasAppId()) {
if (getAppId()
!= other.getAppId()) return false;
}
if (hasUserName() != other.hasUserName()) return false;
if (hasUserName()) {
if (!getUserName()
.equals(other.getUserName())) return false;
}
if (hasRedirectUrl() != other.hasRedirectUrl()) return false;
if (hasRedirectUrl()) {
if (!getRedirectUrl()
.equals(other.getRedirectUrl())) return false;
}
if (hasShowType() != other.hasShowType()) return false;
if (hasShowType()) {
if (getShowType()
!= other.getShowType()) return false;
}
if (hasScore() != other.hasScore()) return false;
if (hasScore()) {
if (getScore()
!= other.getScore()) 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 (hasMapPoiId()) {
hash = (37 * hash) + MAPPOIID_FIELD_NUMBER;
hash = (53 * hash) + getMapPoiId().hashCode();
}
if (hasAppId()) {
hash = (37 * hash) + APPID_FIELD_NUMBER;
hash = (53 * hash) + getAppId();
}
if (hasUserName()) {
hash = (37 * hash) + USERNAME_FIELD_NUMBER;
hash = (53 * hash) + getUserName().hashCode();
}
if (hasRedirectUrl()) {
hash = (37 * hash) + REDIRECTURL_FIELD_NUMBER;
hash = (53 * hash) + getRedirectUrl().hashCode();
}
if (hasShowType()) {
hash = (37 * hash) + SHOWTYPE_FIELD_NUMBER;
hash = (53 * hash) + getShowType();
}
if (hasScore()) {
hash = (37 * hash) + SCORE_FIELD_NUMBER;
hash = (53 * hash) + getScore();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsWeAppInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsWeAppInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsWeAppInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsWeAppInfo 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.Friendgroup.SnsWeAppInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsWeAppInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsWeAppInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsWeAppInfo 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.Friendgroup.SnsWeAppInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsWeAppInfo 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.Friendgroup.SnsWeAppInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsWeAppInfo 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.Friendgroup.SnsWeAppInfo 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.SnsWeAppInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsWeAppInfo)
wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsWeAppInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsWeAppInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsWeAppInfo.class, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsWeAppInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
mapPoiId_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
appId_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
userName_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
redirectUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
showType_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
score_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsWeAppInfo_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsWeAppInfo getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsWeAppInfo build() {
wechat.protobuf.Friendgroup.SnsWeAppInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsWeAppInfo buildPartial() {
wechat.protobuf.Friendgroup.SnsWeAppInfo result = new wechat.protobuf.Friendgroup.SnsWeAppInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.mapPoiId_ = mapPoiId_;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.appId_ = appId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.userName_ = userName_;
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.redirectUrl_ = redirectUrl_;
if (((from_bitField0_ & 0x00000010) != 0)) {
result.showType_ = showType_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.score_ = score_;
to_bitField0_ |= 0x00000020;
}
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.Friendgroup.SnsWeAppInfo) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsWeAppInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsWeAppInfo other) {
if (other == wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance()) return this;
if (other.hasMapPoiId()) {
bitField0_ |= 0x00000001;
mapPoiId_ = other.mapPoiId_;
onChanged();
}
if (other.hasAppId()) {
setAppId(other.getAppId());
}
if (other.hasUserName()) {
bitField0_ |= 0x00000004;
userName_ = other.userName_;
onChanged();
}
if (other.hasRedirectUrl()) {
bitField0_ |= 0x00000008;
redirectUrl_ = other.redirectUrl_;
onChanged();
}
if (other.hasShowType()) {
setShowType(other.getShowType());
}
if (other.hasScore()) {
setScore(other.getScore());
}
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.Friendgroup.SnsWeAppInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsWeAppInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object mapPoiId_ = "";
/**
* optional string mapPoiId = 1;
* @return Whether the mapPoiId field is set.
*/
public boolean hasMapPoiId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string mapPoiId = 1;
* @return The mapPoiId.
*/
public java.lang.String getMapPoiId() {
java.lang.Object ref = mapPoiId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
mapPoiId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string mapPoiId = 1;
* @return The bytes for mapPoiId.
*/
public com.google.protobuf.ByteString
getMapPoiIdBytes() {
java.lang.Object ref = mapPoiId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mapPoiId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string mapPoiId = 1;
* @param value The mapPoiId to set.
* @return This builder for chaining.
*/
public Builder setMapPoiId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
mapPoiId_ = value;
onChanged();
return this;
}
/**
* optional string mapPoiId = 1;
* @return This builder for chaining.
*/
public Builder clearMapPoiId() {
bitField0_ = (bitField0_ & ~0x00000001);
mapPoiId_ = getDefaultInstance().getMapPoiId();
onChanged();
return this;
}
/**
* optional string mapPoiId = 1;
* @param value The bytes for mapPoiId to set.
* @return This builder for chaining.
*/
public Builder setMapPoiIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
mapPoiId_ = value;
onChanged();
return this;
}
private int appId_ ;
/**
* optional uint32 appId = 2;
* @return Whether the appId field is set.
*/
@java.lang.Override
public boolean hasAppId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 appId = 2;
* @return The appId.
*/
@java.lang.Override
public int getAppId() {
return appId_;
}
/**
* optional uint32 appId = 2;
* @param value The appId to set.
* @return This builder for chaining.
*/
public Builder setAppId(int value) {
bitField0_ |= 0x00000002;
appId_ = value;
onChanged();
return this;
}
/**
* optional uint32 appId = 2;
* @return This builder for chaining.
*/
public Builder clearAppId() {
bitField0_ = (bitField0_ & ~0x00000002);
appId_ = 0;
onChanged();
return this;
}
private java.lang.Object userName_ = "";
/**
* optional string userName = 3;
* @return Whether the userName field is set.
*/
public boolean hasUserName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string userName = 3;
* @return The userName.
*/
public java.lang.String getUserName() {
java.lang.Object ref = userName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
userName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string userName = 3;
* @return The bytes for userName.
*/
public com.google.protobuf.ByteString
getUserNameBytes() {
java.lang.Object ref = userName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string userName = 3;
* @param value The userName to set.
* @return This builder for chaining.
*/
public Builder setUserName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
userName_ = value;
onChanged();
return this;
}
/**
* optional string userName = 3;
* @return This builder for chaining.
*/
public Builder clearUserName() {
bitField0_ = (bitField0_ & ~0x00000004);
userName_ = getDefaultInstance().getUserName();
onChanged();
return this;
}
/**
* optional string userName = 3;
* @param value The bytes for userName to set.
* @return This builder for chaining.
*/
public Builder setUserNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
userName_ = value;
onChanged();
return this;
}
private java.lang.Object redirectUrl_ = "";
/**
* optional string redirectUrl = 4;
* @return Whether the redirectUrl field is set.
*/
public boolean hasRedirectUrl() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string redirectUrl = 4;
* @return The redirectUrl.
*/
public java.lang.String getRedirectUrl() {
java.lang.Object ref = redirectUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
redirectUrl_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string redirectUrl = 4;
* @return The bytes for redirectUrl.
*/
public com.google.protobuf.ByteString
getRedirectUrlBytes() {
java.lang.Object ref = redirectUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
redirectUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string redirectUrl = 4;
* @param value The redirectUrl to set.
* @return This builder for chaining.
*/
public Builder setRedirectUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
redirectUrl_ = value;
onChanged();
return this;
}
/**
* optional string redirectUrl = 4;
* @return This builder for chaining.
*/
public Builder clearRedirectUrl() {
bitField0_ = (bitField0_ & ~0x00000008);
redirectUrl_ = getDefaultInstance().getRedirectUrl();
onChanged();
return this;
}
/**
* optional string redirectUrl = 4;
* @param value The bytes for redirectUrl to set.
* @return This builder for chaining.
*/
public Builder setRedirectUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
redirectUrl_ = value;
onChanged();
return this;
}
private int showType_ ;
/**
* optional uint32 showType = 5;
* @return Whether the showType field is set.
*/
@java.lang.Override
public boolean hasShowType() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 showType = 5;
* @return The showType.
*/
@java.lang.Override
public int getShowType() {
return showType_;
}
/**
* optional uint32 showType = 5;
* @param value The showType to set.
* @return This builder for chaining.
*/
public Builder setShowType(int value) {
bitField0_ |= 0x00000010;
showType_ = value;
onChanged();
return this;
}
/**
* optional uint32 showType = 5;
* @return This builder for chaining.
*/
public Builder clearShowType() {
bitField0_ = (bitField0_ & ~0x00000010);
showType_ = 0;
onChanged();
return this;
}
private int score_ ;
/**
* optional uint32 score = 6;
* @return Whether the score field is set.
*/
@java.lang.Override
public boolean hasScore() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 score = 6;
* @return The score.
*/
@java.lang.Override
public int getScore() {
return score_;
}
/**
* optional uint32 score = 6;
* @param value The score to set.
* @return This builder for chaining.
*/
public Builder setScore(int value) {
bitField0_ |= 0x00000020;
score_ = value;
onChanged();
return this;
}
/**
* optional uint32 score = 6;
* @return This builder for chaining.
*/
public Builder clearScore() {
bitField0_ = (bitField0_ & ~0x00000020);
score_ = 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.SnsWeAppInfo)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsWeAppInfo)
private static final wechat.protobuf.Friendgroup.SnsWeAppInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsWeAppInfo();
}
public static wechat.protobuf.Friendgroup.SnsWeAppInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsWeAppInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsWeAppInfo(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.Friendgroup.SnsWeAppInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsCommentInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsCommentInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional string username = 1;
* @return Whether the username field is set.
*/
boolean hasUsername();
/**
* optional string username = 1;
* @return The username.
*/
java.lang.String getUsername();
/**
* optional string username = 1;
* @return The bytes for username.
*/
com.google.protobuf.ByteString
getUsernameBytes();
/**
* optional string nickname = 2;
* @return Whether the nickname field is set.
*/
boolean hasNickname();
/**
* optional string nickname = 2;
* @return The nickname.
*/
java.lang.String getNickname();
/**
* optional string nickname = 2;
* @return The bytes for nickname.
*/
com.google.protobuf.ByteString
getNicknameBytes();
/**
* optional uint32 source = 3;
* @return Whether the source field is set.
*/
boolean hasSource();
/**
* optional uint32 source = 3;
* @return The source.
*/
int getSource();
/**
* optional uint32 type = 4;
* @return Whether the type field is set.
*/
boolean hasType();
/**
* optional uint32 type = 4;
* @return The type.
*/
int getType();
/**
* optional string content = 5;
* @return Whether the content field is set.
*/
boolean hasContent();
/**
* optional string content = 5;
* @return The content.
*/
java.lang.String getContent();
/**
* optional string content = 5;
* @return The bytes for content.
*/
com.google.protobuf.ByteString
getContentBytes();
/**
* optional uint32 createTime = 6;
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
* optional uint32 createTime = 6;
* @return The createTime.
*/
int getCreateTime();
/**
* optional uint32 commentId = 7;
* @return Whether the commentId field is set.
*/
boolean hasCommentId();
/**
* optional uint32 commentId = 7;
* @return The commentId.
*/
int getCommentId();
/**
* optional uint32 replyCommentId = 8;
* @return Whether the replyCommentId field is set.
*/
boolean hasReplyCommentId();
/**
* optional uint32 replyCommentId = 8;
* @return The replyCommentId.
*/
int getReplyCommentId();
/**
* optional string replyUsername = 9;
* @return Whether the replyUsername field is set.
*/
boolean hasReplyUsername();
/**
* optional string replyUsername = 9;
* @return The replyUsername.
*/
java.lang.String getReplyUsername();
/**
* optional string replyUsername = 9;
* @return The bytes for replyUsername.
*/
com.google.protobuf.ByteString
getReplyUsernameBytes();
/**
* optional uint32 isNotRichText = 10;
* @return Whether the isNotRichText field is set.
*/
boolean hasIsNotRichText();
/**
* optional uint32 isNotRichText = 10;
* @return The isNotRichText.
*/
int getIsNotRichText();
/**
* optional uint64 replyCommentId2 = 11;
* @return Whether the replyCommentId2 field is set.
*/
boolean hasReplyCommentId2();
/**
* optional uint64 replyCommentId2 = 11;
* @return The replyCommentId2.
*/
long getReplyCommentId2();
/**
* optional uint64 commentId2 = 12;
* @return Whether the commentId2 field is set.
*/
boolean hasCommentId2();
/**
* optional uint64 commentId2 = 12;
* @return The commentId2.
*/
long getCommentId2();
/**
* optional uint32 deleteFlag = 13;
* @return Whether the deleteFlag field is set.
*/
boolean hasDeleteFlag();
/**
* optional uint32 deleteFlag = 13;
* @return The deleteFlag.
*/
int getDeleteFlag();
/**
* optional uint32 commentFlag = 14;
* @return Whether the commentFlag field is set.
*/
boolean hasCommentFlag();
/**
* optional uint32 commentFlag = 14;
* @return The commentFlag.
*/
int getCommentFlag();
}
/**
* Protobuf type {@code wechat_proto.SnsCommentInfo}
*/
public static final class SnsCommentInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsCommentInfo)
SnsCommentInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsCommentInfo.newBuilder() to construct.
private SnsCommentInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsCommentInfo() {
username_ = "";
nickname_ = "";
content_ = "";
replyUsername_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsCommentInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsCommentInfo(
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: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
username_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
nickname_ = bs;
break;
}
case 24: {
bitField0_ |= 0x00000004;
source_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
type_ = input.readUInt32();
break;
}
case 42: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
content_ = bs;
break;
}
case 48: {
bitField0_ |= 0x00000020;
createTime_ = input.readUInt32();
break;
}
case 56: {
bitField0_ |= 0x00000040;
commentId_ = input.readUInt32();
break;
}
case 64: {
bitField0_ |= 0x00000080;
replyCommentId_ = input.readUInt32();
break;
}
case 74: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000100;
replyUsername_ = bs;
break;
}
case 80: {
bitField0_ |= 0x00000200;
isNotRichText_ = input.readUInt32();
break;
}
case 88: {
bitField0_ |= 0x00000400;
replyCommentId2_ = input.readUInt64();
break;
}
case 96: {
bitField0_ |= 0x00000800;
commentId2_ = input.readUInt64();
break;
}
case 104: {
bitField0_ |= 0x00001000;
deleteFlag_ = input.readUInt32();
break;
}
case 112: {
bitField0_ |= 0x00002000;
commentFlag_ = 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.Friendgroup.internal_static_wechat_proto_SnsCommentInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsCommentInfo.class, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder.class);
}
private int bitField0_;
public static final int USERNAME_FIELD_NUMBER = 1;
private volatile java.lang.Object username_;
/**
* optional string username = 1;
* @return Whether the username field is set.
*/
@java.lang.Override
public boolean hasUsername() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string username = 1;
* @return The username.
*/
@java.lang.Override
public java.lang.String getUsername() {
java.lang.Object ref = username_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
username_ = s;
}
return s;
}
}
/**
* optional string username = 1;
* @return The bytes for username.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUsernameBytes() {
java.lang.Object ref = username_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
username_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NICKNAME_FIELD_NUMBER = 2;
private volatile java.lang.Object nickname_;
/**
* optional string nickname = 2;
* @return Whether the nickname field is set.
*/
@java.lang.Override
public boolean hasNickname() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string nickname = 2;
* @return The nickname.
*/
@java.lang.Override
public java.lang.String getNickname() {
java.lang.Object ref = nickname_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
nickname_ = s;
}
return s;
}
}
/**
* optional string nickname = 2;
* @return The bytes for nickname.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNicknameBytes() {
java.lang.Object ref = nickname_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nickname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SOURCE_FIELD_NUMBER = 3;
private int source_;
/**
* optional uint32 source = 3;
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 source = 3;
* @return The source.
*/
@java.lang.Override
public int getSource() {
return source_;
}
public static final int TYPE_FIELD_NUMBER = 4;
private int type_;
/**
* optional uint32 type = 4;
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 type = 4;
* @return The type.
*/
@java.lang.Override
public int getType() {
return type_;
}
public static final int CONTENT_FIELD_NUMBER = 5;
private volatile java.lang.Object content_;
/**
* optional string content = 5;
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string content = 5;
* @return The content.
*/
@java.lang.Override
public java.lang.String getContent() {
java.lang.Object ref = content_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
content_ = s;
}
return s;
}
}
/**
* optional string content = 5;
* @return The bytes for content.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
content_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATETIME_FIELD_NUMBER = 6;
private int createTime_;
/**
* optional uint32 createTime = 6;
* @return Whether the createTime field is set.
*/
@java.lang.Override
public boolean hasCreateTime() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 createTime = 6;
* @return The createTime.
*/
@java.lang.Override
public int getCreateTime() {
return createTime_;
}
public static final int COMMENTID_FIELD_NUMBER = 7;
private int commentId_;
/**
* optional uint32 commentId = 7;
* @return Whether the commentId field is set.
*/
@java.lang.Override
public boolean hasCommentId() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 commentId = 7;
* @return The commentId.
*/
@java.lang.Override
public int getCommentId() {
return commentId_;
}
public static final int REPLYCOMMENTID_FIELD_NUMBER = 8;
private int replyCommentId_;
/**
* optional uint32 replyCommentId = 8;
* @return Whether the replyCommentId field is set.
*/
@java.lang.Override
public boolean hasReplyCommentId() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional uint32 replyCommentId = 8;
* @return The replyCommentId.
*/
@java.lang.Override
public int getReplyCommentId() {
return replyCommentId_;
}
public static final int REPLYUSERNAME_FIELD_NUMBER = 9;
private volatile java.lang.Object replyUsername_;
/**
* optional string replyUsername = 9;
* @return Whether the replyUsername field is set.
*/
@java.lang.Override
public boolean hasReplyUsername() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional string replyUsername = 9;
* @return The replyUsername.
*/
@java.lang.Override
public java.lang.String getReplyUsername() {
java.lang.Object ref = replyUsername_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
replyUsername_ = s;
}
return s;
}
}
/**
* optional string replyUsername = 9;
* @return The bytes for replyUsername.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReplyUsernameBytes() {
java.lang.Object ref = replyUsername_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
replyUsername_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ISNOTRICHTEXT_FIELD_NUMBER = 10;
private int isNotRichText_;
/**
* optional uint32 isNotRichText = 10;
* @return Whether the isNotRichText field is set.
*/
@java.lang.Override
public boolean hasIsNotRichText() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional uint32 isNotRichText = 10;
* @return The isNotRichText.
*/
@java.lang.Override
public int getIsNotRichText() {
return isNotRichText_;
}
public static final int REPLYCOMMENTID2_FIELD_NUMBER = 11;
private long replyCommentId2_;
/**
* optional uint64 replyCommentId2 = 11;
* @return Whether the replyCommentId2 field is set.
*/
@java.lang.Override
public boolean hasReplyCommentId2() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional uint64 replyCommentId2 = 11;
* @return The replyCommentId2.
*/
@java.lang.Override
public long getReplyCommentId2() {
return replyCommentId2_;
}
public static final int COMMENTID2_FIELD_NUMBER = 12;
private long commentId2_;
/**
* optional uint64 commentId2 = 12;
* @return Whether the commentId2 field is set.
*/
@java.lang.Override
public boolean hasCommentId2() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional uint64 commentId2 = 12;
* @return The commentId2.
*/
@java.lang.Override
public long getCommentId2() {
return commentId2_;
}
public static final int DELETEFLAG_FIELD_NUMBER = 13;
private int deleteFlag_;
/**
* optional uint32 deleteFlag = 13;
* @return Whether the deleteFlag field is set.
*/
@java.lang.Override
public boolean hasDeleteFlag() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional uint32 deleteFlag = 13;
* @return The deleteFlag.
*/
@java.lang.Override
public int getDeleteFlag() {
return deleteFlag_;
}
public static final int COMMENTFLAG_FIELD_NUMBER = 14;
private int commentFlag_;
/**
* optional uint32 commentFlag = 14;
* @return Whether the commentFlag field is set.
*/
@java.lang.Override
public boolean hasCommentFlag() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional uint32 commentFlag = 14;
* @return The commentFlag.
*/
@java.lang.Override
public int getCommentFlag() {
return commentFlag_;
}
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)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nickname_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, source_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, type_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, content_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt32(6, createTime_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeUInt32(7, commentId_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeUInt32(8, replyCommentId_);
}
if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, replyUsername_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeUInt32(10, isNotRichText_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeUInt64(11, replyCommentId2_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeUInt64(12, commentId2_);
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeUInt32(13, deleteFlag_);
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeUInt32(14, commentFlag_);
}
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.GeneratedMessageV3.computeStringSize(1, username_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nickname_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, source_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, type_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, content_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, createTime_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, commentId_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, replyCommentId_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, replyUsername_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, isNotRichText_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(11, replyCommentId2_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(12, commentId2_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, deleteFlag_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, commentFlag_);
}
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.Friendgroup.SnsCommentInfo)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsCommentInfo other = (wechat.protobuf.Friendgroup.SnsCommentInfo) obj;
if (hasUsername() != other.hasUsername()) return false;
if (hasUsername()) {
if (!getUsername()
.equals(other.getUsername())) return false;
}
if (hasNickname() != other.hasNickname()) return false;
if (hasNickname()) {
if (!getNickname()
.equals(other.getNickname())) return false;
}
if (hasSource() != other.hasSource()) return false;
if (hasSource()) {
if (getSource()
!= other.getSource()) return false;
}
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (getType()
!= other.getType()) return false;
}
if (hasContent() != other.hasContent()) return false;
if (hasContent()) {
if (!getContent()
.equals(other.getContent())) return false;
}
if (hasCreateTime() != other.hasCreateTime()) return false;
if (hasCreateTime()) {
if (getCreateTime()
!= other.getCreateTime()) return false;
}
if (hasCommentId() != other.hasCommentId()) return false;
if (hasCommentId()) {
if (getCommentId()
!= other.getCommentId()) return false;
}
if (hasReplyCommentId() != other.hasReplyCommentId()) return false;
if (hasReplyCommentId()) {
if (getReplyCommentId()
!= other.getReplyCommentId()) return false;
}
if (hasReplyUsername() != other.hasReplyUsername()) return false;
if (hasReplyUsername()) {
if (!getReplyUsername()
.equals(other.getReplyUsername())) return false;
}
if (hasIsNotRichText() != other.hasIsNotRichText()) return false;
if (hasIsNotRichText()) {
if (getIsNotRichText()
!= other.getIsNotRichText()) return false;
}
if (hasReplyCommentId2() != other.hasReplyCommentId2()) return false;
if (hasReplyCommentId2()) {
if (getReplyCommentId2()
!= other.getReplyCommentId2()) return false;
}
if (hasCommentId2() != other.hasCommentId2()) return false;
if (hasCommentId2()) {
if (getCommentId2()
!= other.getCommentId2()) return false;
}
if (hasDeleteFlag() != other.hasDeleteFlag()) return false;
if (hasDeleteFlag()) {
if (getDeleteFlag()
!= other.getDeleteFlag()) return false;
}
if (hasCommentFlag() != other.hasCommentFlag()) return false;
if (hasCommentFlag()) {
if (getCommentFlag()
!= other.getCommentFlag()) 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 (hasUsername()) {
hash = (37 * hash) + USERNAME_FIELD_NUMBER;
hash = (53 * hash) + getUsername().hashCode();
}
if (hasNickname()) {
hash = (37 * hash) + NICKNAME_FIELD_NUMBER;
hash = (53 * hash) + getNickname().hashCode();
}
if (hasSource()) {
hash = (37 * hash) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource();
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType();
}
if (hasContent()) {
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
}
if (hasCreateTime()) {
hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
hash = (53 * hash) + getCreateTime();
}
if (hasCommentId()) {
hash = (37 * hash) + COMMENTID_FIELD_NUMBER;
hash = (53 * hash) + getCommentId();
}
if (hasReplyCommentId()) {
hash = (37 * hash) + REPLYCOMMENTID_FIELD_NUMBER;
hash = (53 * hash) + getReplyCommentId();
}
if (hasReplyUsername()) {
hash = (37 * hash) + REPLYUSERNAME_FIELD_NUMBER;
hash = (53 * hash) + getReplyUsername().hashCode();
}
if (hasIsNotRichText()) {
hash = (37 * hash) + ISNOTRICHTEXT_FIELD_NUMBER;
hash = (53 * hash) + getIsNotRichText();
}
if (hasReplyCommentId2()) {
hash = (37 * hash) + REPLYCOMMENTID2_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getReplyCommentId2());
}
if (hasCommentId2()) {
hash = (37 * hash) + COMMENTID2_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCommentId2());
}
if (hasDeleteFlag()) {
hash = (37 * hash) + DELETEFLAG_FIELD_NUMBER;
hash = (53 * hash) + getDeleteFlag();
}
if (hasCommentFlag()) {
hash = (37 * hash) + COMMENTFLAG_FIELD_NUMBER;
hash = (53 * hash) + getCommentFlag();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsCommentInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsCommentInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsCommentInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsCommentInfo 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.Friendgroup.SnsCommentInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsCommentInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsCommentInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsCommentInfo 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.Friendgroup.SnsCommentInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsCommentInfo 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.Friendgroup.SnsCommentInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsCommentInfo 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.Friendgroup.SnsCommentInfo 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.SnsCommentInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsCommentInfo)
wechat.protobuf.Friendgroup.SnsCommentInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsCommentInfo.class, wechat.protobuf.Friendgroup.SnsCommentInfo.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsCommentInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
username_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
nickname_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
source_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
type_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
content_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
createTime_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
commentId_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
replyCommentId_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
replyUsername_ = "";
bitField0_ = (bitField0_ & ~0x00000100);
isNotRichText_ = 0;
bitField0_ = (bitField0_ & ~0x00000200);
replyCommentId2_ = 0L;
bitField0_ = (bitField0_ & ~0x00000400);
commentId2_ = 0L;
bitField0_ = (bitField0_ & ~0x00000800);
deleteFlag_ = 0;
bitField0_ = (bitField0_ & ~0x00001000);
commentFlag_ = 0;
bitField0_ = (bitField0_ & ~0x00002000);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentInfo_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsCommentInfo getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsCommentInfo build() {
wechat.protobuf.Friendgroup.SnsCommentInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsCommentInfo buildPartial() {
wechat.protobuf.Friendgroup.SnsCommentInfo result = new wechat.protobuf.Friendgroup.SnsCommentInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.username_ = username_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.nickname_ = nickname_;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.source_ = source_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.type_ = type_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.content_ = content_;
if (((from_bitField0_ & 0x00000020) != 0)) {
result.createTime_ = createTime_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.commentId_ = commentId_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.replyCommentId_ = replyCommentId_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
to_bitField0_ |= 0x00000100;
}
result.replyUsername_ = replyUsername_;
if (((from_bitField0_ & 0x00000200) != 0)) {
result.isNotRichText_ = isNotRichText_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.replyCommentId2_ = replyCommentId2_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.commentId2_ = commentId2_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.deleteFlag_ = deleteFlag_;
to_bitField0_ |= 0x00001000;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.commentFlag_ = commentFlag_;
to_bitField0_ |= 0x00002000;
}
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.Friendgroup.SnsCommentInfo) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsCommentInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsCommentInfo other) {
if (other == wechat.protobuf.Friendgroup.SnsCommentInfo.getDefaultInstance()) return this;
if (other.hasUsername()) {
bitField0_ |= 0x00000001;
username_ = other.username_;
onChanged();
}
if (other.hasNickname()) {
bitField0_ |= 0x00000002;
nickname_ = other.nickname_;
onChanged();
}
if (other.hasSource()) {
setSource(other.getSource());
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasContent()) {
bitField0_ |= 0x00000010;
content_ = other.content_;
onChanged();
}
if (other.hasCreateTime()) {
setCreateTime(other.getCreateTime());
}
if (other.hasCommentId()) {
setCommentId(other.getCommentId());
}
if (other.hasReplyCommentId()) {
setReplyCommentId(other.getReplyCommentId());
}
if (other.hasReplyUsername()) {
bitField0_ |= 0x00000100;
replyUsername_ = other.replyUsername_;
onChanged();
}
if (other.hasIsNotRichText()) {
setIsNotRichText(other.getIsNotRichText());
}
if (other.hasReplyCommentId2()) {
setReplyCommentId2(other.getReplyCommentId2());
}
if (other.hasCommentId2()) {
setCommentId2(other.getCommentId2());
}
if (other.hasDeleteFlag()) {
setDeleteFlag(other.getDeleteFlag());
}
if (other.hasCommentFlag()) {
setCommentFlag(other.getCommentFlag());
}
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.Friendgroup.SnsCommentInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsCommentInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object username_ = "";
/**
* optional string username = 1;
* @return Whether the username field is set.
*/
public boolean hasUsername() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string username = 1;
* @return The username.
*/
public java.lang.String getUsername() {
java.lang.Object ref = username_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
username_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string username = 1;
* @return The bytes for username.
*/
public com.google.protobuf.ByteString
getUsernameBytes() {
java.lang.Object ref = username_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
username_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string username = 1;
* @param value The username to set.
* @return This builder for chaining.
*/
public Builder setUsername(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
username_ = value;
onChanged();
return this;
}
/**
* optional string username = 1;
* @return This builder for chaining.
*/
public Builder clearUsername() {
bitField0_ = (bitField0_ & ~0x00000001);
username_ = getDefaultInstance().getUsername();
onChanged();
return this;
}
/**
* optional string username = 1;
* @param value The bytes for username to set.
* @return This builder for chaining.
*/
public Builder setUsernameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
username_ = value;
onChanged();
return this;
}
private java.lang.Object nickname_ = "";
/**
* optional string nickname = 2;
* @return Whether the nickname field is set.
*/
public boolean hasNickname() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string nickname = 2;
* @return The nickname.
*/
public java.lang.String getNickname() {
java.lang.Object ref = nickname_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
nickname_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string nickname = 2;
* @return The bytes for nickname.
*/
public com.google.protobuf.ByteString
getNicknameBytes() {
java.lang.Object ref = nickname_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nickname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string nickname = 2;
* @param value The nickname to set.
* @return This builder for chaining.
*/
public Builder setNickname(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
nickname_ = value;
onChanged();
return this;
}
/**
* optional string nickname = 2;
* @return This builder for chaining.
*/
public Builder clearNickname() {
bitField0_ = (bitField0_ & ~0x00000002);
nickname_ = getDefaultInstance().getNickname();
onChanged();
return this;
}
/**
* optional string nickname = 2;
* @param value The bytes for nickname to set.
* @return This builder for chaining.
*/
public Builder setNicknameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
nickname_ = value;
onChanged();
return this;
}
private int source_ ;
/**
* optional uint32 source = 3;
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 source = 3;
* @return The source.
*/
@java.lang.Override
public int getSource() {
return source_;
}
/**
* optional uint32 source = 3;
* @param value The source to set.
* @return This builder for chaining.
*/
public Builder setSource(int value) {
bitField0_ |= 0x00000004;
source_ = value;
onChanged();
return this;
}
/**
* optional uint32 source = 3;
* @return This builder for chaining.
*/
public Builder clearSource() {
bitField0_ = (bitField0_ & ~0x00000004);
source_ = 0;
onChanged();
return this;
}
private int type_ ;
/**
* optional uint32 type = 4;
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 type = 4;
* @return The type.
*/
@java.lang.Override
public int getType() {
return type_;
}
/**
* optional uint32 type = 4;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(int value) {
bitField0_ |= 0x00000008;
type_ = value;
onChanged();
return this;
}
/**
* optional uint32 type = 4;
* @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000008);
type_ = 0;
onChanged();
return this;
}
private java.lang.Object content_ = "";
/**
* optional string content = 5;
* @return Whether the content field is set.
*/
public boolean hasContent() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string content = 5;
* @return The content.
*/
public java.lang.String getContent() {
java.lang.Object ref = content_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
content_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string content = 5;
* @return The bytes for content.
*/
public com.google.protobuf.ByteString
getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
content_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string content = 5;
* @param value The content to set.
* @return This builder for chaining.
*/
public Builder setContent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
content_ = value;
onChanged();
return this;
}
/**
* optional string content = 5;
* @return This builder for chaining.
*/
public Builder clearContent() {
bitField0_ = (bitField0_ & ~0x00000010);
content_ = getDefaultInstance().getContent();
onChanged();
return this;
}
/**
* optional string content = 5;
* @param value The bytes for content to set.
* @return This builder for chaining.
*/
public Builder setContentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
content_ = value;
onChanged();
return this;
}
private int createTime_ ;
/**
* optional uint32 createTime = 6;
* @return Whether the createTime field is set.
*/
@java.lang.Override
public boolean hasCreateTime() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 createTime = 6;
* @return The createTime.
*/
@java.lang.Override
public int getCreateTime() {
return createTime_;
}
/**
* optional uint32 createTime = 6;
* @param value The createTime to set.
* @return This builder for chaining.
*/
public Builder setCreateTime(int value) {
bitField0_ |= 0x00000020;
createTime_ = value;
onChanged();
return this;
}
/**
* optional uint32 createTime = 6;
* @return This builder for chaining.
*/
public Builder clearCreateTime() {
bitField0_ = (bitField0_ & ~0x00000020);
createTime_ = 0;
onChanged();
return this;
}
private int commentId_ ;
/**
* optional uint32 commentId = 7;
* @return Whether the commentId field is set.
*/
@java.lang.Override
public boolean hasCommentId() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 commentId = 7;
* @return The commentId.
*/
@java.lang.Override
public int getCommentId() {
return commentId_;
}
/**
* optional uint32 commentId = 7;
* @param value The commentId to set.
* @return This builder for chaining.
*/
public Builder setCommentId(int value) {
bitField0_ |= 0x00000040;
commentId_ = value;
onChanged();
return this;
}
/**
* optional uint32 commentId = 7;
* @return This builder for chaining.
*/
public Builder clearCommentId() {
bitField0_ = (bitField0_ & ~0x00000040);
commentId_ = 0;
onChanged();
return this;
}
private int replyCommentId_ ;
/**
* optional uint32 replyCommentId = 8;
* @return Whether the replyCommentId field is set.
*/
@java.lang.Override
public boolean hasReplyCommentId() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional uint32 replyCommentId = 8;
* @return The replyCommentId.
*/
@java.lang.Override
public int getReplyCommentId() {
return replyCommentId_;
}
/**
* optional uint32 replyCommentId = 8;
* @param value The replyCommentId to set.
* @return This builder for chaining.
*/
public Builder setReplyCommentId(int value) {
bitField0_ |= 0x00000080;
replyCommentId_ = value;
onChanged();
return this;
}
/**
* optional uint32 replyCommentId = 8;
* @return This builder for chaining.
*/
public Builder clearReplyCommentId() {
bitField0_ = (bitField0_ & ~0x00000080);
replyCommentId_ = 0;
onChanged();
return this;
}
private java.lang.Object replyUsername_ = "";
/**
* optional string replyUsername = 9;
* @return Whether the replyUsername field is set.
*/
public boolean hasReplyUsername() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional string replyUsername = 9;
* @return The replyUsername.
*/
public java.lang.String getReplyUsername() {
java.lang.Object ref = replyUsername_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
replyUsername_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string replyUsername = 9;
* @return The bytes for replyUsername.
*/
public com.google.protobuf.ByteString
getReplyUsernameBytes() {
java.lang.Object ref = replyUsername_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
replyUsername_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string replyUsername = 9;
* @param value The replyUsername to set.
* @return This builder for chaining.
*/
public Builder setReplyUsername(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
replyUsername_ = value;
onChanged();
return this;
}
/**
* optional string replyUsername = 9;
* @return This builder for chaining.
*/
public Builder clearReplyUsername() {
bitField0_ = (bitField0_ & ~0x00000100);
replyUsername_ = getDefaultInstance().getReplyUsername();
onChanged();
return this;
}
/**
* optional string replyUsername = 9;
* @param value The bytes for replyUsername to set.
* @return This builder for chaining.
*/
public Builder setReplyUsernameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
replyUsername_ = value;
onChanged();
return this;
}
private int isNotRichText_ ;
/**
* optional uint32 isNotRichText = 10;
* @return Whether the isNotRichText field is set.
*/
@java.lang.Override
public boolean hasIsNotRichText() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional uint32 isNotRichText = 10;
* @return The isNotRichText.
*/
@java.lang.Override
public int getIsNotRichText() {
return isNotRichText_;
}
/**
* optional uint32 isNotRichText = 10;
* @param value The isNotRichText to set.
* @return This builder for chaining.
*/
public Builder setIsNotRichText(int value) {
bitField0_ |= 0x00000200;
isNotRichText_ = value;
onChanged();
return this;
}
/**
* optional uint32 isNotRichText = 10;
* @return This builder for chaining.
*/
public Builder clearIsNotRichText() {
bitField0_ = (bitField0_ & ~0x00000200);
isNotRichText_ = 0;
onChanged();
return this;
}
private long replyCommentId2_ ;
/**
* optional uint64 replyCommentId2 = 11;
* @return Whether the replyCommentId2 field is set.
*/
@java.lang.Override
public boolean hasReplyCommentId2() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional uint64 replyCommentId2 = 11;
* @return The replyCommentId2.
*/
@java.lang.Override
public long getReplyCommentId2() {
return replyCommentId2_;
}
/**
* optional uint64 replyCommentId2 = 11;
* @param value The replyCommentId2 to set.
* @return This builder for chaining.
*/
public Builder setReplyCommentId2(long value) {
bitField0_ |= 0x00000400;
replyCommentId2_ = value;
onChanged();
return this;
}
/**
* optional uint64 replyCommentId2 = 11;
* @return This builder for chaining.
*/
public Builder clearReplyCommentId2() {
bitField0_ = (bitField0_ & ~0x00000400);
replyCommentId2_ = 0L;
onChanged();
return this;
}
private long commentId2_ ;
/**
* optional uint64 commentId2 = 12;
* @return Whether the commentId2 field is set.
*/
@java.lang.Override
public boolean hasCommentId2() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional uint64 commentId2 = 12;
* @return The commentId2.
*/
@java.lang.Override
public long getCommentId2() {
return commentId2_;
}
/**
* optional uint64 commentId2 = 12;
* @param value The commentId2 to set.
* @return This builder for chaining.
*/
public Builder setCommentId2(long value) {
bitField0_ |= 0x00000800;
commentId2_ = value;
onChanged();
return this;
}
/**
* optional uint64 commentId2 = 12;
* @return This builder for chaining.
*/
public Builder clearCommentId2() {
bitField0_ = (bitField0_ & ~0x00000800);
commentId2_ = 0L;
onChanged();
return this;
}
private int deleteFlag_ ;
/**
* optional uint32 deleteFlag = 13;
* @return Whether the deleteFlag field is set.
*/
@java.lang.Override
public boolean hasDeleteFlag() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional uint32 deleteFlag = 13;
* @return The deleteFlag.
*/
@java.lang.Override
public int getDeleteFlag() {
return deleteFlag_;
}
/**
* optional uint32 deleteFlag = 13;
* @param value The deleteFlag to set.
* @return This builder for chaining.
*/
public Builder setDeleteFlag(int value) {
bitField0_ |= 0x00001000;
deleteFlag_ = value;
onChanged();
return this;
}
/**
* optional uint32 deleteFlag = 13;
* @return This builder for chaining.
*/
public Builder clearDeleteFlag() {
bitField0_ = (bitField0_ & ~0x00001000);
deleteFlag_ = 0;
onChanged();
return this;
}
private int commentFlag_ ;
/**
* optional uint32 commentFlag = 14;
* @return Whether the commentFlag field is set.
*/
@java.lang.Override
public boolean hasCommentFlag() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional uint32 commentFlag = 14;
* @return The commentFlag.
*/
@java.lang.Override
public int getCommentFlag() {
return commentFlag_;
}
/**
* optional uint32 commentFlag = 14;
* @param value The commentFlag to set.
* @return This builder for chaining.
*/
public Builder setCommentFlag(int value) {
bitField0_ |= 0x00002000;
commentFlag_ = value;
onChanged();
return this;
}
/**
* optional uint32 commentFlag = 14;
* @return This builder for chaining.
*/
public Builder clearCommentFlag() {
bitField0_ = (bitField0_ & ~0x00002000);
commentFlag_ = 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.SnsCommentInfo)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsCommentInfo)
private static final wechat.protobuf.Friendgroup.SnsCommentInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsCommentInfo();
}
public static wechat.protobuf.Friendgroup.SnsCommentInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsCommentInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsCommentInfo(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.Friendgroup.SnsCommentInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsGroupOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsGroup)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint64 groupId = 1;
* @return Whether the groupId field is set.
*/
boolean hasGroupId();
/**
* optional uint64 groupId = 1;
* @return The groupId.
*/
long getGroupId();
}
/**
* Protobuf type {@code wechat_proto.SnsGroup}
*/
public static final class SnsGroup extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsGroup)
SnsGroupOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsGroup.newBuilder() to construct.
private SnsGroup(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsGroup() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsGroup();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsGroup(
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;
groupId_ = 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.Friendgroup.internal_static_wechat_proto_SnsGroup_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsGroup_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsGroup.class, wechat.protobuf.Friendgroup.SnsGroup.Builder.class);
}
private int bitField0_;
public static final int GROUPID_FIELD_NUMBER = 1;
private long groupId_;
/**
* optional uint64 groupId = 1;
* @return Whether the groupId field is set.
*/
@java.lang.Override
public boolean hasGroupId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint64 groupId = 1;
* @return The groupId.
*/
@java.lang.Override
public long getGroupId() {
return groupId_;
}
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.writeUInt64(1, groupId_);
}
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
.computeUInt64Size(1, groupId_);
}
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.Friendgroup.SnsGroup)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsGroup other = (wechat.protobuf.Friendgroup.SnsGroup) obj;
if (hasGroupId() != other.hasGroupId()) return false;
if (hasGroupId()) {
if (getGroupId()
!= other.getGroupId()) 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 (hasGroupId()) {
hash = (37 * hash) + GROUPID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGroupId());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsGroup parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsGroup parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsGroup parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsGroup 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.Friendgroup.SnsGroup parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsGroup parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsGroup parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsGroup 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.Friendgroup.SnsGroup parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsGroup 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.Friendgroup.SnsGroup parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsGroup 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.Friendgroup.SnsGroup 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.SnsGroup}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsGroup)
wechat.protobuf.Friendgroup.SnsGroupOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsGroup_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsGroup_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsGroup.class, wechat.protobuf.Friendgroup.SnsGroup.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsGroup.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
groupId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsGroup_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsGroup getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsGroup.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsGroup build() {
wechat.protobuf.Friendgroup.SnsGroup result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsGroup buildPartial() {
wechat.protobuf.Friendgroup.SnsGroup result = new wechat.protobuf.Friendgroup.SnsGroup(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.groupId_ = groupId_;
to_bitField0_ |= 0x00000001;
}
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.Friendgroup.SnsGroup) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsGroup)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsGroup other) {
if (other == wechat.protobuf.Friendgroup.SnsGroup.getDefaultInstance()) return this;
if (other.hasGroupId()) {
setGroupId(other.getGroupId());
}
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.Friendgroup.SnsGroup parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsGroup) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long groupId_ ;
/**
* optional uint64 groupId = 1;
* @return Whether the groupId field is set.
*/
@java.lang.Override
public boolean hasGroupId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint64 groupId = 1;
* @return The groupId.
*/
@java.lang.Override
public long getGroupId() {
return groupId_;
}
/**
* optional uint64 groupId = 1;
* @param value The groupId to set.
* @return This builder for chaining.
*/
public Builder setGroupId(long value) {
bitField0_ |= 0x00000001;
groupId_ = value;
onChanged();
return this;
}
/**
* optional uint64 groupId = 1;
* @return This builder for chaining.
*/
public Builder clearGroupId() {
bitField0_ = (bitField0_ & ~0x00000001);
groupId_ = 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.SnsGroup)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsGroup)
private static final wechat.protobuf.Friendgroup.SnsGroup DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsGroup();
}
public static wechat.protobuf.Friendgroup.SnsGroup getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsGroup parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsGroup(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.Friendgroup.SnsGroup getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsHBUserInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsHBUserInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional string username = 1;
* @return Whether the username field is set.
*/
boolean hasUsername();
/**
* optional string username = 1;
* @return The username.
*/
java.lang.String getUsername();
/**
* optional string username = 1;
* @return The bytes for username.
*/
com.google.protobuf.ByteString
getUsernameBytes();
/**
* optional uint32 createTime = 2;
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
* optional uint32 createTime = 2;
* @return The createTime.
*/
int getCreateTime();
/**
* optional .wechat_proto.SKBuiltinString_ hbbuffer = 3;
* @return Whether the hbbuffer field is set.
*/
boolean hasHbbuffer();
/**
* optional .wechat_proto.SKBuiltinString_ hbbuffer = 3;
* @return The hbbuffer.
*/
wechat.protobuf.SKBuiltinString_ getHbbuffer();
/**
* optional .wechat_proto.SKBuiltinString_ hbbuffer = 3;
*/
wechat.protobuf.SKBuiltinString_OrBuilder getHbbufferOrBuilder();
}
/**
* Protobuf type {@code wechat_proto.SnsHBUserInfo}
*/
public static final class SnsHBUserInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsHBUserInfo)
SnsHBUserInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsHBUserInfo.newBuilder() to construct.
private SnsHBUserInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsHBUserInfo() {
username_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsHBUserInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsHBUserInfo(
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: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
username_ = bs;
break;
}
case 16: {
bitField0_ |= 0x00000002;
createTime_ = input.readUInt32();
break;
}
case 26: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = hbbuffer_.toBuilder();
}
hbbuffer_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(hbbuffer_);
hbbuffer_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
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.Friendgroup.internal_static_wechat_proto_SnsHBUserInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsHBUserInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsHBUserInfo.class, wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder.class);
}
private int bitField0_;
public static final int USERNAME_FIELD_NUMBER = 1;
private volatile java.lang.Object username_;
/**
* optional string username = 1;
* @return Whether the username field is set.
*/
@java.lang.Override
public boolean hasUsername() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string username = 1;
* @return The username.
*/
@java.lang.Override
public java.lang.String getUsername() {
java.lang.Object ref = username_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
username_ = s;
}
return s;
}
}
/**
* optional string username = 1;
* @return The bytes for username.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUsernameBytes() {
java.lang.Object ref = username_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
username_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATETIME_FIELD_NUMBER = 2;
private int createTime_;
/**
* optional uint32 createTime = 2;
* @return Whether the createTime field is set.
*/
@java.lang.Override
public boolean hasCreateTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 createTime = 2;
* @return The createTime.
*/
@java.lang.Override
public int getCreateTime() {
return createTime_;
}
public static final int HBBUFFER_FIELD_NUMBER = 3;
private wechat.protobuf.SKBuiltinString_ hbbuffer_;
/**
* optional .wechat_proto.SKBuiltinString_ hbbuffer = 3;
* @return Whether the hbbuffer field is set.
*/
@java.lang.Override
public boolean hasHbbuffer() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ hbbuffer = 3;
* @return The hbbuffer.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getHbbuffer() {
return hbbuffer_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : hbbuffer_;
}
/**
* optional .wechat_proto.SKBuiltinString_ hbbuffer = 3;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getHbbufferOrBuilder() {
return hbbuffer_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : hbbuffer_;
}
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)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, createTime_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getHbbuffer());
}
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.GeneratedMessageV3.computeStringSize(1, username_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, createTime_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getHbbuffer());
}
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.Friendgroup.SnsHBUserInfo)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsHBUserInfo other = (wechat.protobuf.Friendgroup.SnsHBUserInfo) obj;
if (hasUsername() != other.hasUsername()) return false;
if (hasUsername()) {
if (!getUsername()
.equals(other.getUsername())) return false;
}
if (hasCreateTime() != other.hasCreateTime()) return false;
if (hasCreateTime()) {
if (getCreateTime()
!= other.getCreateTime()) return false;
}
if (hasHbbuffer() != other.hasHbbuffer()) return false;
if (hasHbbuffer()) {
if (!getHbbuffer()
.equals(other.getHbbuffer())) 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 (hasUsername()) {
hash = (37 * hash) + USERNAME_FIELD_NUMBER;
hash = (53 * hash) + getUsername().hashCode();
}
if (hasCreateTime()) {
hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
hash = (53 * hash) + getCreateTime();
}
if (hasHbbuffer()) {
hash = (37 * hash) + HBBUFFER_FIELD_NUMBER;
hash = (53 * hash) + getHbbuffer().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsHBUserInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsHBUserInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsHBUserInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsHBUserInfo 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.Friendgroup.SnsHBUserInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsHBUserInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsHBUserInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsHBUserInfo 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.Friendgroup.SnsHBUserInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsHBUserInfo 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.Friendgroup.SnsHBUserInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsHBUserInfo 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.Friendgroup.SnsHBUserInfo 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.SnsHBUserInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsHBUserInfo)
wechat.protobuf.Friendgroup.SnsHBUserInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsHBUserInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsHBUserInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsHBUserInfo.class, wechat.protobuf.Friendgroup.SnsHBUserInfo.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsHBUserInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getHbbufferFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
username_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
createTime_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (hbbufferBuilder_ == null) {
hbbuffer_ = null;
} else {
hbbufferBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsHBUserInfo_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsHBUserInfo getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsHBUserInfo.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsHBUserInfo build() {
wechat.protobuf.Friendgroup.SnsHBUserInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsHBUserInfo buildPartial() {
wechat.protobuf.Friendgroup.SnsHBUserInfo result = new wechat.protobuf.Friendgroup.SnsHBUserInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.username_ = username_;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.createTime_ = createTime_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
if (hbbufferBuilder_ == null) {
result.hbbuffer_ = hbbuffer_;
} else {
result.hbbuffer_ = hbbufferBuilder_.build();
}
to_bitField0_ |= 0x00000004;
}
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.Friendgroup.SnsHBUserInfo) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsHBUserInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsHBUserInfo other) {
if (other == wechat.protobuf.Friendgroup.SnsHBUserInfo.getDefaultInstance()) return this;
if (other.hasUsername()) {
bitField0_ |= 0x00000001;
username_ = other.username_;
onChanged();
}
if (other.hasCreateTime()) {
setCreateTime(other.getCreateTime());
}
if (other.hasHbbuffer()) {
mergeHbbuffer(other.getHbbuffer());
}
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.Friendgroup.SnsHBUserInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsHBUserInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object username_ = "";
/**
* optional string username = 1;
* @return Whether the username field is set.
*/
public boolean hasUsername() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string username = 1;
* @return The username.
*/
public java.lang.String getUsername() {
java.lang.Object ref = username_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
username_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string username = 1;
* @return The bytes for username.
*/
public com.google.protobuf.ByteString
getUsernameBytes() {
java.lang.Object ref = username_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
username_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string username = 1;
* @param value The username to set.
* @return This builder for chaining.
*/
public Builder setUsername(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
username_ = value;
onChanged();
return this;
}
/**
* optional string username = 1;
* @return This builder for chaining.
*/
public Builder clearUsername() {
bitField0_ = (bitField0_ & ~0x00000001);
username_ = getDefaultInstance().getUsername();
onChanged();
return this;
}
/**
* optional string username = 1;
* @param value The bytes for username to set.
* @return This builder for chaining.
*/
public Builder setUsernameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
username_ = value;
onChanged();
return this;
}
private int createTime_ ;
/**
* optional uint32 createTime = 2;
* @return Whether the createTime field is set.
*/
@java.lang.Override
public boolean hasCreateTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 createTime = 2;
* @return The createTime.
*/
@java.lang.Override
public int getCreateTime() {
return createTime_;
}
/**
* optional uint32 createTime = 2;
* @param value The createTime to set.
* @return This builder for chaining.
*/
public Builder setCreateTime(int value) {
bitField0_ |= 0x00000002;
createTime_ = value;
onChanged();
return this;
}
/**
* optional uint32 createTime = 2;
* @return This builder for chaining.
*/
public Builder clearCreateTime() {
bitField0_ = (bitField0_ & ~0x00000002);
createTime_ = 0;
onChanged();
return this;
}
private wechat.protobuf.SKBuiltinString_ hbbuffer_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> hbbufferBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ hbbuffer = 3;
* @return Whether the hbbuffer field is set.
*/
public boolean hasHbbuffer() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ hbbuffer = 3;
* @return The hbbuffer.
*/
public wechat.protobuf.SKBuiltinString_ getHbbuffer() {
if (hbbufferBuilder_ == null) {
return hbbuffer_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : hbbuffer_;
} else {
return hbbufferBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ hbbuffer = 3;
*/
public Builder setHbbuffer(wechat.protobuf.SKBuiltinString_ value) {
if (hbbufferBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
hbbuffer_ = value;
onChanged();
} else {
hbbufferBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ hbbuffer = 3;
*/
public Builder setHbbuffer(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (hbbufferBuilder_ == null) {
hbbuffer_ = builderForValue.build();
onChanged();
} else {
hbbufferBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ hbbuffer = 3;
*/
public Builder mergeHbbuffer(wechat.protobuf.SKBuiltinString_ value) {
if (hbbufferBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
hbbuffer_ != null &&
hbbuffer_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
hbbuffer_ =
wechat.protobuf.SKBuiltinString_.newBuilder(hbbuffer_).mergeFrom(value).buildPartial();
} else {
hbbuffer_ = value;
}
onChanged();
} else {
hbbufferBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ hbbuffer = 3;
*/
public Builder clearHbbuffer() {
if (hbbufferBuilder_ == null) {
hbbuffer_ = null;
onChanged();
} else {
hbbufferBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ hbbuffer = 3;
*/
public wechat.protobuf.SKBuiltinString_.Builder getHbbufferBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getHbbufferFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ hbbuffer = 3;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getHbbufferOrBuilder() {
if (hbbufferBuilder_ != null) {
return hbbufferBuilder_.getMessageOrBuilder();
} else {
return hbbuffer_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : hbbuffer_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ hbbuffer = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getHbbufferFieldBuilder() {
if (hbbufferBuilder_ == null) {
hbbufferBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getHbbuffer(),
getParentForChildren(),
isClean());
hbbuffer_ = null;
}
return hbbufferBuilder_;
}
@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.SnsHBUserInfo)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsHBUserInfo)
private static final wechat.protobuf.Friendgroup.SnsHBUserInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsHBUserInfo();
}
public static wechat.protobuf.Friendgroup.SnsHBUserInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsHBUserInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsHBUserInfo(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.Friendgroup.SnsHBUserInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CryptoDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.CryptoData)
com.google.protobuf.MessageOrBuilder {
/**
* optional bytes version = 1;
* @return Whether the version field is set.
*/
boolean hasVersion();
/**
* optional bytes version = 1;
* @return The version.
*/
com.google.protobuf.ByteString getVersion();
/**
* optional uint32 type = 2;
* @return Whether the type field is set.
*/
boolean hasType();
/**
* optional uint32 type = 2;
* @return The type.
*/
int getType();
/**
* optional bytes encryptData = 3;
* @return Whether the encryptData field is set.
*/
boolean hasEncryptData();
/**
* optional bytes encryptData = 3;
* @return The encryptData.
*/
com.google.protobuf.ByteString getEncryptData();
/**
* optional uint32 timestamp = 4;
* @return Whether the timestamp field is set.
*/
boolean hasTimestamp();
/**
* optional uint32 timestamp = 4;
* @return The timestamp.
*/
int getTimestamp();
/**
* optional uint32 unknown5 = 5;
* @return Whether the unknown5 field is set.
*/
boolean hasUnknown5();
/**
* optional uint32 unknown5 = 5;
* @return The unknown5.
*/
int getUnknown5();
/**
* optional uint32 unknown6 = 6;
* @return Whether the unknown6 field is set.
*/
boolean hasUnknown6();
/**
* optional uint32 unknown6 = 6;
* @return The unknown6.
*/
int getUnknown6();
}
/**
* Protobuf type {@code wechat_proto.CryptoData}
*/
public static final class CryptoData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.CryptoData)
CryptoDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use CryptoData.newBuilder() to construct.
private CryptoData(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CryptoData() {
version_ = com.google.protobuf.ByteString.EMPTY;
encryptData_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CryptoData();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CryptoData(
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: {
bitField0_ |= 0x00000001;
version_ = input.readBytes();
break;
}
case 16: {
bitField0_ |= 0x00000002;
type_ = input.readUInt32();
break;
}
case 26: {
bitField0_ |= 0x00000004;
encryptData_ = input.readBytes();
break;
}
case 32: {
bitField0_ |= 0x00000008;
timestamp_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
unknown5_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
unknown6_ = 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.Friendgroup.internal_static_wechat_proto_CryptoData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CryptoData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.CryptoData.class, wechat.protobuf.Friendgroup.CryptoData.Builder.class);
}
private int bitField0_;
public static final int VERSION_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString version_;
/**
* optional bytes version = 1;
* @return Whether the version field is set.
*/
@java.lang.Override
public boolean hasVersion() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bytes version = 1;
* @return The version.
*/
@java.lang.Override
public com.google.protobuf.ByteString getVersion() {
return version_;
}
public static final int TYPE_FIELD_NUMBER = 2;
private int type_;
/**
* optional uint32 type = 2;
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 type = 2;
* @return The type.
*/
@java.lang.Override
public int getType() {
return type_;
}
public static final int ENCRYPTDATA_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString encryptData_;
/**
* optional bytes encryptData = 3;
* @return Whether the encryptData field is set.
*/
@java.lang.Override
public boolean hasEncryptData() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bytes encryptData = 3;
* @return The encryptData.
*/
@java.lang.Override
public com.google.protobuf.ByteString getEncryptData() {
return encryptData_;
}
public static final int TIMESTAMP_FIELD_NUMBER = 4;
private int timestamp_;
/**
* optional uint32 timestamp = 4;
* @return Whether the timestamp field is set.
*/
@java.lang.Override
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 timestamp = 4;
* @return The timestamp.
*/
@java.lang.Override
public int getTimestamp() {
return timestamp_;
}
public static final int UNKNOWN5_FIELD_NUMBER = 5;
private int unknown5_;
/**
* optional uint32 unknown5 = 5;
* @return Whether the unknown5 field is set.
*/
@java.lang.Override
public boolean hasUnknown5() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 unknown5 = 5;
* @return The unknown5.
*/
@java.lang.Override
public int getUnknown5() {
return unknown5_;
}
public static final int UNKNOWN6_FIELD_NUMBER = 6;
private int unknown6_;
/**
* optional uint32 unknown6 = 6;
* @return Whether the unknown6 field is set.
*/
@java.lang.Override
public boolean hasUnknown6() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 unknown6 = 6;
* @return The unknown6.
*/
@java.lang.Override
public int getUnknown6() {
return unknown6_;
}
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.writeBytes(1, version_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, type_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBytes(3, encryptData_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, timestamp_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, unknown5_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt32(6, unknown6_);
}
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
.computeBytesSize(1, version_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, type_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, encryptData_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, timestamp_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, unknown5_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, unknown6_);
}
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.Friendgroup.CryptoData)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.CryptoData other = (wechat.protobuf.Friendgroup.CryptoData) obj;
if (hasVersion() != other.hasVersion()) return false;
if (hasVersion()) {
if (!getVersion()
.equals(other.getVersion())) return false;
}
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (getType()
!= other.getType()) return false;
}
if (hasEncryptData() != other.hasEncryptData()) return false;
if (hasEncryptData()) {
if (!getEncryptData()
.equals(other.getEncryptData())) return false;
}
if (hasTimestamp() != other.hasTimestamp()) return false;
if (hasTimestamp()) {
if (getTimestamp()
!= other.getTimestamp()) return false;
}
if (hasUnknown5() != other.hasUnknown5()) return false;
if (hasUnknown5()) {
if (getUnknown5()
!= other.getUnknown5()) return false;
}
if (hasUnknown6() != other.hasUnknown6()) return false;
if (hasUnknown6()) {
if (getUnknown6()
!= other.getUnknown6()) 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 (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType();
}
if (hasEncryptData()) {
hash = (37 * hash) + ENCRYPTDATA_FIELD_NUMBER;
hash = (53 * hash) + getEncryptData().hashCode();
}
if (hasTimestamp()) {
hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + getTimestamp();
}
if (hasUnknown5()) {
hash = (37 * hash) + UNKNOWN5_FIELD_NUMBER;
hash = (53 * hash) + getUnknown5();
}
if (hasUnknown6()) {
hash = (37 * hash) + UNKNOWN6_FIELD_NUMBER;
hash = (53 * hash) + getUnknown6();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.CryptoData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.CryptoData parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.CryptoData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.CryptoData 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.Friendgroup.CryptoData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.CryptoData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.CryptoData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.CryptoData 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.Friendgroup.CryptoData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.CryptoData 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.Friendgroup.CryptoData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.CryptoData 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.Friendgroup.CryptoData 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.CryptoData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.CryptoData)
wechat.protobuf.Friendgroup.CryptoDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CryptoData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CryptoData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.CryptoData.class, wechat.protobuf.Friendgroup.CryptoData.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.CryptoData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
version_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
encryptData_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
timestamp_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
unknown5_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
unknown6_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CryptoData_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.CryptoData getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.CryptoData.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.CryptoData build() {
wechat.protobuf.Friendgroup.CryptoData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.CryptoData buildPartial() {
wechat.protobuf.Friendgroup.CryptoData result = new wechat.protobuf.Friendgroup.CryptoData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.version_ = version_;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.type_ = type_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.encryptData_ = encryptData_;
if (((from_bitField0_ & 0x00000008) != 0)) {
result.timestamp_ = timestamp_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.unknown5_ = unknown5_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.unknown6_ = unknown6_;
to_bitField0_ |= 0x00000020;
}
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.Friendgroup.CryptoData) {
return mergeFrom((wechat.protobuf.Friendgroup.CryptoData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.CryptoData other) {
if (other == wechat.protobuf.Friendgroup.CryptoData.getDefaultInstance()) return this;
if (other.hasVersion()) {
setVersion(other.getVersion());
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasEncryptData()) {
setEncryptData(other.getEncryptData());
}
if (other.hasTimestamp()) {
setTimestamp(other.getTimestamp());
}
if (other.hasUnknown5()) {
setUnknown5(other.getUnknown5());
}
if (other.hasUnknown6()) {
setUnknown6(other.getUnknown6());
}
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.Friendgroup.CryptoData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.CryptoData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.ByteString version_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes version = 1;
* @return Whether the version field is set.
*/
@java.lang.Override
public boolean hasVersion() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bytes version = 1;
* @return The version.
*/
@java.lang.Override
public com.google.protobuf.ByteString getVersion() {
return version_;
}
/**
* optional bytes version = 1;
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
version_ = value;
onChanged();
return this;
}
/**
* optional bytes version = 1;
* @return This builder for chaining.
*/
public Builder clearVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
version_ = getDefaultInstance().getVersion();
onChanged();
return this;
}
private int type_ ;
/**
* optional uint32 type = 2;
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 type = 2;
* @return The type.
*/
@java.lang.Override
public int getType() {
return type_;
}
/**
* optional uint32 type = 2;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(int value) {
bitField0_ |= 0x00000002;
type_ = value;
onChanged();
return this;
}
/**
* optional uint32 type = 2;
* @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000002);
type_ = 0;
onChanged();
return this;
}
private com.google.protobuf.ByteString encryptData_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes encryptData = 3;
* @return Whether the encryptData field is set.
*/
@java.lang.Override
public boolean hasEncryptData() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bytes encryptData = 3;
* @return The encryptData.
*/
@java.lang.Override
public com.google.protobuf.ByteString getEncryptData() {
return encryptData_;
}
/**
* optional bytes encryptData = 3;
* @param value The encryptData to set.
* @return This builder for chaining.
*/
public Builder setEncryptData(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
encryptData_ = value;
onChanged();
return this;
}
/**
* optional bytes encryptData = 3;
* @return This builder for chaining.
*/
public Builder clearEncryptData() {
bitField0_ = (bitField0_ & ~0x00000004);
encryptData_ = getDefaultInstance().getEncryptData();
onChanged();
return this;
}
private int timestamp_ ;
/**
* optional uint32 timestamp = 4;
* @return Whether the timestamp field is set.
*/
@java.lang.Override
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 timestamp = 4;
* @return The timestamp.
*/
@java.lang.Override
public int getTimestamp() {
return timestamp_;
}
/**
* optional uint32 timestamp = 4;
* @param value The timestamp to set.
* @return This builder for chaining.
*/
public Builder setTimestamp(int value) {
bitField0_ |= 0x00000008;
timestamp_ = value;
onChanged();
return this;
}
/**
* optional uint32 timestamp = 4;
* @return This builder for chaining.
*/
public Builder clearTimestamp() {
bitField0_ = (bitField0_ & ~0x00000008);
timestamp_ = 0;
onChanged();
return this;
}
private int unknown5_ ;
/**
* optional uint32 unknown5 = 5;
* @return Whether the unknown5 field is set.
*/
@java.lang.Override
public boolean hasUnknown5() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 unknown5 = 5;
* @return The unknown5.
*/
@java.lang.Override
public int getUnknown5() {
return unknown5_;
}
/**
* optional uint32 unknown5 = 5;
* @param value The unknown5 to set.
* @return This builder for chaining.
*/
public Builder setUnknown5(int value) {
bitField0_ |= 0x00000010;
unknown5_ = value;
onChanged();
return this;
}
/**
* optional uint32 unknown5 = 5;
* @return This builder for chaining.
*/
public Builder clearUnknown5() {
bitField0_ = (bitField0_ & ~0x00000010);
unknown5_ = 0;
onChanged();
return this;
}
private int unknown6_ ;
/**
* optional uint32 unknown6 = 6;
* @return Whether the unknown6 field is set.
*/
@java.lang.Override
public boolean hasUnknown6() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 unknown6 = 6;
* @return The unknown6.
*/
@java.lang.Override
public int getUnknown6() {
return unknown6_;
}
/**
* optional uint32 unknown6 = 6;
* @param value The unknown6 to set.
* @return This builder for chaining.
*/
public Builder setUnknown6(int value) {
bitField0_ |= 0x00000020;
unknown6_ = value;
onChanged();
return this;
}
/**
* optional uint32 unknown6 = 6;
* @return This builder for chaining.
*/
public Builder clearUnknown6() {
bitField0_ = (bitField0_ & ~0x00000020);
unknown6_ = 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.CryptoData)
}
// @@protoc_insertion_point(class_scope:wechat_proto.CryptoData)
private static final wechat.protobuf.Friendgroup.CryptoData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.CryptoData();
}
public static wechat.protobuf.Friendgroup.CryptoData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CryptoData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CryptoData(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.Friendgroup.CryptoData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsPostRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsPostRequest)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
boolean hasBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
wechat.protobuf.BaseRequest getBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder();
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 2;
* @return Whether the objectDesc field is set.
*/
boolean hasObjectDesc();
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 2;
* @return The objectDesc.
*/
wechat.protobuf.SKBuiltinString_ getObjectDesc();
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 2;
*/
wechat.protobuf.SKBuiltinString_OrBuilder getObjectDescOrBuilder();
/**
* optional uint32 withUserListNum = 3;
* @return Whether the withUserListNum field is set.
*/
boolean hasWithUserListNum();
/**
* optional uint32 withUserListNum = 3;
* @return The withUserListNum.
*/
int getWithUserListNum();
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
java.util.List
getWithUserListList();
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
wechat.protobuf.SKBuiltinString getWithUserList(int index);
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
int getWithUserListCount();
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getWithUserListOrBuilderList();
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
wechat.protobuf.SKBuiltinStringOrBuilder getWithUserListOrBuilder(
int index);
/**
* optional uint32 privacy = 5;
* @return Whether the privacy field is set.
*/
boolean hasPrivacy();
/**
* optional uint32 privacy = 5;
* @return The privacy.
*/
int getPrivacy();
/**
* optional uint32 syncFlag = 6;
* @return Whether the syncFlag field is set.
*/
boolean hasSyncFlag();
/**
* optional uint32 syncFlag = 6;
* @return The syncFlag.
*/
int getSyncFlag();
/**
* optional string clientId = 7;
* @return Whether the clientId field is set.
*/
boolean hasClientId();
/**
* optional string clientId = 7;
* @return The clientId.
*/
java.lang.String getClientId();
/**
* optional string clientId = 7;
* @return The bytes for clientId.
*/
com.google.protobuf.ByteString
getClientIdBytes();
/**
* optional uint32 postBgimgType = 8;
* @return Whether the postBgimgType field is set.
*/
boolean hasPostBgimgType();
/**
* optional uint32 postBgimgType = 8;
* @return The postBgimgType.
*/
int getPostBgimgType();
/**
* optional uint32 groupNum = 9;
* @return Whether the groupNum field is set.
*/
boolean hasGroupNum();
/**
* optional uint32 groupNum = 9;
* @return The groupNum.
*/
int getGroupNum();
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
java.util.List
getGroupIdsList();
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
wechat.protobuf.Friendgroup.SnsGroup getGroupIds(int index);
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
int getGroupIdsCount();
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
java.util.List extends wechat.protobuf.Friendgroup.SnsGroupOrBuilder>
getGroupIdsOrBuilderList();
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
wechat.protobuf.Friendgroup.SnsGroupOrBuilder getGroupIdsOrBuilder(
int index);
/**
* optional uint32 objectSource = 11;
* @return Whether the objectSource field is set.
*/
boolean hasObjectSource();
/**
* optional uint32 objectSource = 11;
* @return The objectSource.
*/
int getObjectSource();
/**
* optional uint64 referId = 12;
* @return Whether the referId field is set.
*/
boolean hasReferId();
/**
* optional uint64 referId = 12;
* @return The referId.
*/
long getReferId();
/**
* optional uint32 blackListNum = 13;
* @return Whether the blackListNum field is set.
*/
boolean hasBlackListNum();
/**
* optional uint32 blackListNum = 13;
* @return The blackListNum.
*/
int getBlackListNum();
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
java.util.List
getBlackListList();
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
wechat.protobuf.SKBuiltinString getBlackList(int index);
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
int getBlackListCount();
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getBlackListOrBuilderList();
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
wechat.protobuf.SKBuiltinStringOrBuilder getBlackListOrBuilder(
int index);
/**
* optional .wechat_proto.TwitterInfo twitterInfo = 15;
* @return Whether the twitterInfo field is set.
*/
boolean hasTwitterInfo();
/**
* optional .wechat_proto.TwitterInfo twitterInfo = 15;
* @return The twitterInfo.
*/
wechat.protobuf.Friendgroup.TwitterInfo getTwitterInfo();
/**
* optional .wechat_proto.TwitterInfo twitterInfo = 15;
*/
wechat.protobuf.Friendgroup.TwitterInfoOrBuilder getTwitterInfoOrBuilder();
/**
* optional uint32 groupUserNum = 16;
* @return Whether the groupUserNum field is set.
*/
boolean hasGroupUserNum();
/**
* optional uint32 groupUserNum = 16;
* @return The groupUserNum.
*/
int getGroupUserNum();
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
java.util.List
getGroupUserList();
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
wechat.protobuf.SKBuiltinString getGroupUser(int index);
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
int getGroupUserCount();
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getGroupUserOrBuilderList();
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
wechat.protobuf.SKBuiltinStringOrBuilder getGroupUserOrBuilder(
int index);
/**
* optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18;
* @return Whether the ctocUploadInfo field is set.
*/
boolean hasCtocUploadInfo();
/**
* optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18;
* @return The ctocUploadInfo.
*/
wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo getCtocUploadInfo();
/**
* optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18;
*/
wechat.protobuf.Friendgroup.SnsPostCtocUploadInfoOrBuilder getCtocUploadInfoOrBuilder();
/**
* optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19;
* @return Whether the snsPostOperationFields field is set.
*/
boolean hasSnsPostOperationFields();
/**
* optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19;
* @return The snsPostOperationFields.
*/
wechat.protobuf.Friendgroup.SnsPostOperationFields getSnsPostOperationFields();
/**
* optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19;
*/
wechat.protobuf.Friendgroup.SnsPostOperationFieldsOrBuilder getSnsPostOperationFieldsOrBuilder();
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20;
* @return Whether the snsRedEnvelops field is set.
*/
boolean hasSnsRedEnvelops();
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20;
* @return The snsRedEnvelops.
*/
wechat.protobuf.Friendgroup.SnsRedEnvelops getSnsRedEnvelops();
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20;
*/
wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder getSnsRedEnvelopsOrBuilder();
/**
* optional .wechat_proto.SKBuiltinString_ poiInfo = 21;
* @return Whether the poiInfo field is set.
*/
boolean hasPoiInfo();
/**
* optional .wechat_proto.SKBuiltinString_ poiInfo = 21;
* @return The poiInfo.
*/
wechat.protobuf.SKBuiltinString_ getPoiInfo();
/**
* optional .wechat_proto.SKBuiltinString_ poiInfo = 21;
*/
wechat.protobuf.SKBuiltinString_OrBuilder getPoiInfoOrBuilder();
/**
* optional string fromScene = 22;
* @return Whether the fromScene field is set.
*/
boolean hasFromScene();
/**
* optional string fromScene = 22;
* @return The fromScene.
*/
java.lang.String getFromScene();
/**
* optional string fromScene = 22;
* @return The bytes for fromScene.
*/
com.google.protobuf.ByteString
getFromSceneBytes();
/**
* optional .wechat_proto.CanvasInfo canvasInfo = 23;
* @return Whether the canvasInfo field is set.
*/
boolean hasCanvasInfo();
/**
* optional .wechat_proto.CanvasInfo canvasInfo = 23;
* @return The canvasInfo.
*/
wechat.protobuf.Friendgroup.CanvasInfo getCanvasInfo();
/**
* optional .wechat_proto.CanvasInfo canvasInfo = 23;
*/
wechat.protobuf.Friendgroup.CanvasInfoOrBuilder getCanvasInfoOrBuilder();
/**
* optional uint32 mediaInfoNum = 24;
* @return Whether the mediaInfoNum field is set.
*/
boolean hasMediaInfoNum();
/**
* optional uint32 mediaInfoNum = 24;
* @return The mediaInfoNum.
*/
int getMediaInfoNum();
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
java.util.List
getMediaInfoList();
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
wechat.protobuf.Friendgroup.MediaInfo getMediaInfo(int index);
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
int getMediaInfoCount();
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
java.util.List extends wechat.protobuf.Friendgroup.MediaInfoOrBuilder>
getMediaInfoOrBuilderList();
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
wechat.protobuf.Friendgroup.MediaInfoOrBuilder getMediaInfoOrBuilder(
int index);
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 26;
* @return Whether the weAppInfo field is set.
*/
boolean hasWeAppInfo();
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 26;
* @return The weAppInfo.
*/
wechat.protobuf.Friendgroup.SnsWeAppInfo getWeAppInfo();
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 26;
*/
wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder getWeAppInfoOrBuilder();
/**
* optional .wechat_proto.SKBuiltinString_ clientCheckData = 27;
* @return Whether the clientCheckData field is set.
*/
boolean hasClientCheckData();
/**
* optional .wechat_proto.SKBuiltinString_ clientCheckData = 27;
* @return The clientCheckData.
*/
wechat.protobuf.SKBuiltinString_ getClientCheckData();
/**
* optional .wechat_proto.SKBuiltinString_ clientCheckData = 27;
*/
wechat.protobuf.SKBuiltinString_OrBuilder getClientCheckDataOrBuilder();
/**
* optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28;
* @return Whether the extSpamInfo field is set.
*/
boolean hasExtSpamInfo();
/**
* optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28;
* @return The extSpamInfo.
*/
wechat.protobuf.SKBuiltinString_ getExtSpamInfo();
/**
* optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28;
*/
wechat.protobuf.SKBuiltinString_OrBuilder getExtSpamInfoOrBuilder();
}
/**
* Protobuf type {@code wechat_proto.SnsPostRequest}
*/
public static final class SnsPostRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsPostRequest)
SnsPostRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsPostRequest.newBuilder() to construct.
private SnsPostRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsPostRequest() {
withUserList_ = java.util.Collections.emptyList();
clientId_ = "";
groupIds_ = java.util.Collections.emptyList();
blackList_ = java.util.Collections.emptyList();
groupUser_ = java.util.Collections.emptyList();
fromScene_ = "";
mediaInfo_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsPostRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsPostRequest(
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.BaseRequest.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = baseRequest_.toBuilder();
}
baseRequest_ = input.readMessage(wechat.protobuf.BaseRequest.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseRequest_);
baseRequest_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = objectDesc_.toBuilder();
}
objectDesc_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(objectDesc_);
objectDesc_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 24: {
bitField0_ |= 0x00000004;
withUserListNum_ = input.readUInt32();
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
withUserList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
withUserList_.add(
input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry));
break;
}
case 40: {
bitField0_ |= 0x00000008;
privacy_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000010;
syncFlag_ = input.readUInt32();
break;
}
case 58: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
clientId_ = bs;
break;
}
case 64: {
bitField0_ |= 0x00000040;
postBgimgType_ = input.readUInt32();
break;
}
case 72: {
bitField0_ |= 0x00000080;
groupNum_ = input.readUInt32();
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000200) != 0)) {
groupIds_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
groupIds_.add(
input.readMessage(wechat.protobuf.Friendgroup.SnsGroup.PARSER, extensionRegistry));
break;
}
case 88: {
bitField0_ |= 0x00000100;
objectSource_ = input.readUInt32();
break;
}
case 96: {
bitField0_ |= 0x00000200;
referId_ = input.readUInt64();
break;
}
case 104: {
bitField0_ |= 0x00000400;
blackListNum_ = input.readUInt32();
break;
}
case 114: {
if (!((mutable_bitField0_ & 0x00002000) != 0)) {
blackList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00002000;
}
blackList_.add(
input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry));
break;
}
case 122: {
wechat.protobuf.Friendgroup.TwitterInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000800) != 0)) {
subBuilder = twitterInfo_.toBuilder();
}
twitterInfo_ = input.readMessage(wechat.protobuf.Friendgroup.TwitterInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(twitterInfo_);
twitterInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000800;
break;
}
case 128: {
bitField0_ |= 0x00001000;
groupUserNum_ = input.readUInt32();
break;
}
case 138: {
if (!((mutable_bitField0_ & 0x00010000) != 0)) {
groupUser_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00010000;
}
groupUser_.add(
input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry));
break;
}
case 146: {
wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00002000) != 0)) {
subBuilder = ctocUploadInfo_.toBuilder();
}
ctocUploadInfo_ = input.readMessage(wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(ctocUploadInfo_);
ctocUploadInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00002000;
break;
}
case 154: {
wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder subBuilder = null;
if (((bitField0_ & 0x00004000) != 0)) {
subBuilder = snsPostOperationFields_.toBuilder();
}
snsPostOperationFields_ = input.readMessage(wechat.protobuf.Friendgroup.SnsPostOperationFields.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(snsPostOperationFields_);
snsPostOperationFields_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00004000;
break;
}
case 162: {
wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder subBuilder = null;
if (((bitField0_ & 0x00008000) != 0)) {
subBuilder = snsRedEnvelops_.toBuilder();
}
snsRedEnvelops_ = input.readMessage(wechat.protobuf.Friendgroup.SnsRedEnvelops.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(snsRedEnvelops_);
snsRedEnvelops_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00008000;
break;
}
case 170: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00010000) != 0)) {
subBuilder = poiInfo_.toBuilder();
}
poiInfo_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(poiInfo_);
poiInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00010000;
break;
}
case 178: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00020000;
fromScene_ = bs;
break;
}
case 186: {
wechat.protobuf.Friendgroup.CanvasInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00040000) != 0)) {
subBuilder = canvasInfo_.toBuilder();
}
canvasInfo_ = input.readMessage(wechat.protobuf.Friendgroup.CanvasInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(canvasInfo_);
canvasInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00040000;
break;
}
case 192: {
bitField0_ |= 0x00080000;
mediaInfoNum_ = input.readUInt32();
break;
}
case 202: {
if (!((mutable_bitField0_ & 0x01000000) != 0)) {
mediaInfo_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x01000000;
}
mediaInfo_.add(
input.readMessage(wechat.protobuf.Friendgroup.MediaInfo.PARSER, extensionRegistry));
break;
}
case 210: {
wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00100000) != 0)) {
subBuilder = weAppInfo_.toBuilder();
}
weAppInfo_ = input.readMessage(wechat.protobuf.Friendgroup.SnsWeAppInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(weAppInfo_);
weAppInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00100000;
break;
}
case 218: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00200000) != 0)) {
subBuilder = clientCheckData_.toBuilder();
}
clientCheckData_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(clientCheckData_);
clientCheckData_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00200000;
break;
}
case 226: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00400000) != 0)) {
subBuilder = extSpamInfo_.toBuilder();
}
extSpamInfo_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(extSpamInfo_);
extSpamInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00400000;
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_ & 0x00000008) != 0)) {
withUserList_ = java.util.Collections.unmodifiableList(withUserList_);
}
if (((mutable_bitField0_ & 0x00000200) != 0)) {
groupIds_ = java.util.Collections.unmodifiableList(groupIds_);
}
if (((mutable_bitField0_ & 0x00002000) != 0)) {
blackList_ = java.util.Collections.unmodifiableList(blackList_);
}
if (((mutable_bitField0_ & 0x00010000) != 0)) {
groupUser_ = java.util.Collections.unmodifiableList(groupUser_);
}
if (((mutable_bitField0_ & 0x01000000) != 0)) {
mediaInfo_ = java.util.Collections.unmodifiableList(mediaInfo_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsPostRequest.class, wechat.protobuf.Friendgroup.SnsPostRequest.Builder.class);
}
private int bitField0_;
public static final int BASEREQUEST_FIELD_NUMBER = 1;
private wechat.protobuf.BaseRequest baseRequest_;
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
@java.lang.Override
public boolean hasBaseRequest() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
@java.lang.Override
public wechat.protobuf.BaseRequest getBaseRequest() {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
@java.lang.Override
public wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder() {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
public static final int OBJECTDESC_FIELD_NUMBER = 2;
private wechat.protobuf.SKBuiltinString_ objectDesc_;
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 2;
* @return Whether the objectDesc field is set.
*/
@java.lang.Override
public boolean hasObjectDesc() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 2;
* @return The objectDesc.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getObjectDesc() {
return objectDesc_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_;
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 2;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getObjectDescOrBuilder() {
return objectDesc_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_;
}
public static final int WITHUSERLISTNUM_FIELD_NUMBER = 3;
private int withUserListNum_;
/**
* optional uint32 withUserListNum = 3;
* @return Whether the withUserListNum field is set.
*/
@java.lang.Override
public boolean hasWithUserListNum() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 withUserListNum = 3;
* @return The withUserListNum.
*/
@java.lang.Override
public int getWithUserListNum() {
return withUserListNum_;
}
public static final int WITHUSERLIST_FIELD_NUMBER = 4;
private java.util.List withUserList_;
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
@java.lang.Override
public java.util.List getWithUserListList() {
return withUserList_;
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getWithUserListOrBuilderList() {
return withUserList_;
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
@java.lang.Override
public int getWithUserListCount() {
return withUserList_.size();
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString getWithUserList(int index) {
return withUserList_.get(index);
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinStringOrBuilder getWithUserListOrBuilder(
int index) {
return withUserList_.get(index);
}
public static final int PRIVACY_FIELD_NUMBER = 5;
private int privacy_;
/**
* optional uint32 privacy = 5;
* @return Whether the privacy field is set.
*/
@java.lang.Override
public boolean hasPrivacy() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 privacy = 5;
* @return The privacy.
*/
@java.lang.Override
public int getPrivacy() {
return privacy_;
}
public static final int SYNCFLAG_FIELD_NUMBER = 6;
private int syncFlag_;
/**
* optional uint32 syncFlag = 6;
* @return Whether the syncFlag field is set.
*/
@java.lang.Override
public boolean hasSyncFlag() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 syncFlag = 6;
* @return The syncFlag.
*/
@java.lang.Override
public int getSyncFlag() {
return syncFlag_;
}
public static final int CLIENTID_FIELD_NUMBER = 7;
private volatile java.lang.Object clientId_;
/**
* optional string clientId = 7;
* @return Whether the clientId field is set.
*/
@java.lang.Override
public boolean hasClientId() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string clientId = 7;
* @return The clientId.
*/
@java.lang.Override
public java.lang.String getClientId() {
java.lang.Object ref = clientId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
clientId_ = s;
}
return s;
}
}
/**
* optional string clientId = 7;
* @return The bytes for clientId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClientIdBytes() {
java.lang.Object ref = clientId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int POSTBGIMGTYPE_FIELD_NUMBER = 8;
private int postBgimgType_;
/**
* optional uint32 postBgimgType = 8;
* @return Whether the postBgimgType field is set.
*/
@java.lang.Override
public boolean hasPostBgimgType() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 postBgimgType = 8;
* @return The postBgimgType.
*/
@java.lang.Override
public int getPostBgimgType() {
return postBgimgType_;
}
public static final int GROUPNUM_FIELD_NUMBER = 9;
private int groupNum_;
/**
* optional uint32 groupNum = 9;
* @return Whether the groupNum field is set.
*/
@java.lang.Override
public boolean hasGroupNum() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional uint32 groupNum = 9;
* @return The groupNum.
*/
@java.lang.Override
public int getGroupNum() {
return groupNum_;
}
public static final int GROUPIDS_FIELD_NUMBER = 10;
private java.util.List groupIds_;
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
@java.lang.Override
public java.util.List getGroupIdsList() {
return groupIds_;
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.Friendgroup.SnsGroupOrBuilder>
getGroupIdsOrBuilderList() {
return groupIds_;
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
@java.lang.Override
public int getGroupIdsCount() {
return groupIds_.size();
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsGroup getGroupIds(int index) {
return groupIds_.get(index);
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsGroupOrBuilder getGroupIdsOrBuilder(
int index) {
return groupIds_.get(index);
}
public static final int OBJECTSOURCE_FIELD_NUMBER = 11;
private int objectSource_;
/**
* optional uint32 objectSource = 11;
* @return Whether the objectSource field is set.
*/
@java.lang.Override
public boolean hasObjectSource() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional uint32 objectSource = 11;
* @return The objectSource.
*/
@java.lang.Override
public int getObjectSource() {
return objectSource_;
}
public static final int REFERID_FIELD_NUMBER = 12;
private long referId_;
/**
* optional uint64 referId = 12;
* @return Whether the referId field is set.
*/
@java.lang.Override
public boolean hasReferId() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional uint64 referId = 12;
* @return The referId.
*/
@java.lang.Override
public long getReferId() {
return referId_;
}
public static final int BLACKLISTNUM_FIELD_NUMBER = 13;
private int blackListNum_;
/**
* optional uint32 blackListNum = 13;
* @return Whether the blackListNum field is set.
*/
@java.lang.Override
public boolean hasBlackListNum() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional uint32 blackListNum = 13;
* @return The blackListNum.
*/
@java.lang.Override
public int getBlackListNum() {
return blackListNum_;
}
public static final int BLACKLIST_FIELD_NUMBER = 14;
private java.util.List blackList_;
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
@java.lang.Override
public java.util.List getBlackListList() {
return blackList_;
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getBlackListOrBuilderList() {
return blackList_;
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
@java.lang.Override
public int getBlackListCount() {
return blackList_.size();
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString getBlackList(int index) {
return blackList_.get(index);
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinStringOrBuilder getBlackListOrBuilder(
int index) {
return blackList_.get(index);
}
public static final int TWITTERINFO_FIELD_NUMBER = 15;
private wechat.protobuf.Friendgroup.TwitterInfo twitterInfo_;
/**
* optional .wechat_proto.TwitterInfo twitterInfo = 15;
* @return Whether the twitterInfo field is set.
*/
@java.lang.Override
public boolean hasTwitterInfo() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional .wechat_proto.TwitterInfo twitterInfo = 15;
* @return The twitterInfo.
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.TwitterInfo getTwitterInfo() {
return twitterInfo_ == null ? wechat.protobuf.Friendgroup.TwitterInfo.getDefaultInstance() : twitterInfo_;
}
/**
* optional .wechat_proto.TwitterInfo twitterInfo = 15;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.TwitterInfoOrBuilder getTwitterInfoOrBuilder() {
return twitterInfo_ == null ? wechat.protobuf.Friendgroup.TwitterInfo.getDefaultInstance() : twitterInfo_;
}
public static final int GROUPUSERNUM_FIELD_NUMBER = 16;
private int groupUserNum_;
/**
* optional uint32 groupUserNum = 16;
* @return Whether the groupUserNum field is set.
*/
@java.lang.Override
public boolean hasGroupUserNum() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional uint32 groupUserNum = 16;
* @return The groupUserNum.
*/
@java.lang.Override
public int getGroupUserNum() {
return groupUserNum_;
}
public static final int GROUPUSER_FIELD_NUMBER = 17;
private java.util.List groupUser_;
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
@java.lang.Override
public java.util.List getGroupUserList() {
return groupUser_;
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getGroupUserOrBuilderList() {
return groupUser_;
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
@java.lang.Override
public int getGroupUserCount() {
return groupUser_.size();
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString getGroupUser(int index) {
return groupUser_.get(index);
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinStringOrBuilder getGroupUserOrBuilder(
int index) {
return groupUser_.get(index);
}
public static final int CTOCUPLOADINFO_FIELD_NUMBER = 18;
private wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo ctocUploadInfo_;
/**
* optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18;
* @return Whether the ctocUploadInfo field is set.
*/
@java.lang.Override
public boolean hasCtocUploadInfo() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18;
* @return The ctocUploadInfo.
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo getCtocUploadInfo() {
return ctocUploadInfo_ == null ? wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.getDefaultInstance() : ctocUploadInfo_;
}
/**
* optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfoOrBuilder getCtocUploadInfoOrBuilder() {
return ctocUploadInfo_ == null ? wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.getDefaultInstance() : ctocUploadInfo_;
}
public static final int SNSPOSTOPERATIONFIELDS_FIELD_NUMBER = 19;
private wechat.protobuf.Friendgroup.SnsPostOperationFields snsPostOperationFields_;
/**
* optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19;
* @return Whether the snsPostOperationFields field is set.
*/
@java.lang.Override
public boolean hasSnsPostOperationFields() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19;
* @return The snsPostOperationFields.
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostOperationFields getSnsPostOperationFields() {
return snsPostOperationFields_ == null ? wechat.protobuf.Friendgroup.SnsPostOperationFields.getDefaultInstance() : snsPostOperationFields_;
}
/**
* optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostOperationFieldsOrBuilder getSnsPostOperationFieldsOrBuilder() {
return snsPostOperationFields_ == null ? wechat.protobuf.Friendgroup.SnsPostOperationFields.getDefaultInstance() : snsPostOperationFields_;
}
public static final int SNSREDENVELOPS_FIELD_NUMBER = 20;
private wechat.protobuf.Friendgroup.SnsRedEnvelops snsRedEnvelops_;
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20;
* @return Whether the snsRedEnvelops field is set.
*/
@java.lang.Override
public boolean hasSnsRedEnvelops() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20;
* @return The snsRedEnvelops.
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsRedEnvelops getSnsRedEnvelops() {
return snsRedEnvelops_ == null ? wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_;
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder getSnsRedEnvelopsOrBuilder() {
return snsRedEnvelops_ == null ? wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_;
}
public static final int POIINFO_FIELD_NUMBER = 21;
private wechat.protobuf.SKBuiltinString_ poiInfo_;
/**
* optional .wechat_proto.SKBuiltinString_ poiInfo = 21;
* @return Whether the poiInfo field is set.
*/
@java.lang.Override
public boolean hasPoiInfo() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ poiInfo = 21;
* @return The poiInfo.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getPoiInfo() {
return poiInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : poiInfo_;
}
/**
* optional .wechat_proto.SKBuiltinString_ poiInfo = 21;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getPoiInfoOrBuilder() {
return poiInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : poiInfo_;
}
public static final int FROMSCENE_FIELD_NUMBER = 22;
private volatile java.lang.Object fromScene_;
/**
* optional string fromScene = 22;
* @return Whether the fromScene field is set.
*/
@java.lang.Override
public boolean hasFromScene() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional string fromScene = 22;
* @return The fromScene.
*/
@java.lang.Override
public java.lang.String getFromScene() {
java.lang.Object ref = fromScene_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
fromScene_ = s;
}
return s;
}
}
/**
* optional string fromScene = 22;
* @return The bytes for fromScene.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFromSceneBytes() {
java.lang.Object ref = fromScene_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fromScene_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CANVASINFO_FIELD_NUMBER = 23;
private wechat.protobuf.Friendgroup.CanvasInfo canvasInfo_;
/**
* optional .wechat_proto.CanvasInfo canvasInfo = 23;
* @return Whether the canvasInfo field is set.
*/
@java.lang.Override
public boolean hasCanvasInfo() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
* optional .wechat_proto.CanvasInfo canvasInfo = 23;
* @return The canvasInfo.
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.CanvasInfo getCanvasInfo() {
return canvasInfo_ == null ? wechat.protobuf.Friendgroup.CanvasInfo.getDefaultInstance() : canvasInfo_;
}
/**
* optional .wechat_proto.CanvasInfo canvasInfo = 23;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.CanvasInfoOrBuilder getCanvasInfoOrBuilder() {
return canvasInfo_ == null ? wechat.protobuf.Friendgroup.CanvasInfo.getDefaultInstance() : canvasInfo_;
}
public static final int MEDIAINFONUM_FIELD_NUMBER = 24;
private int mediaInfoNum_;
/**
* optional uint32 mediaInfoNum = 24;
* @return Whether the mediaInfoNum field is set.
*/
@java.lang.Override
public boolean hasMediaInfoNum() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
* optional uint32 mediaInfoNum = 24;
* @return The mediaInfoNum.
*/
@java.lang.Override
public int getMediaInfoNum() {
return mediaInfoNum_;
}
public static final int MEDIAINFO_FIELD_NUMBER = 25;
private java.util.List mediaInfo_;
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
@java.lang.Override
public java.util.List getMediaInfoList() {
return mediaInfo_;
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.Friendgroup.MediaInfoOrBuilder>
getMediaInfoOrBuilderList() {
return mediaInfo_;
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
@java.lang.Override
public int getMediaInfoCount() {
return mediaInfo_.size();
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.MediaInfo getMediaInfo(int index) {
return mediaInfo_.get(index);
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.MediaInfoOrBuilder getMediaInfoOrBuilder(
int index) {
return mediaInfo_.get(index);
}
public static final int WEAPPINFO_FIELD_NUMBER = 26;
private wechat.protobuf.Friendgroup.SnsWeAppInfo weAppInfo_;
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 26;
* @return Whether the weAppInfo field is set.
*/
@java.lang.Override
public boolean hasWeAppInfo() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 26;
* @return The weAppInfo.
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsWeAppInfo getWeAppInfo() {
return weAppInfo_ == null ? wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_;
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 26;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder getWeAppInfoOrBuilder() {
return weAppInfo_ == null ? wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_;
}
public static final int CLIENTCHECKDATA_FIELD_NUMBER = 27;
private wechat.protobuf.SKBuiltinString_ clientCheckData_;
/**
* optional .wechat_proto.SKBuiltinString_ clientCheckData = 27;
* @return Whether the clientCheckData field is set.
*/
@java.lang.Override
public boolean hasClientCheckData() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ clientCheckData = 27;
* @return The clientCheckData.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getClientCheckData() {
return clientCheckData_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clientCheckData_;
}
/**
* optional .wechat_proto.SKBuiltinString_ clientCheckData = 27;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getClientCheckDataOrBuilder() {
return clientCheckData_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clientCheckData_;
}
public static final int EXTSPAMINFO_FIELD_NUMBER = 28;
private wechat.protobuf.SKBuiltinString_ extSpamInfo_;
/**
* optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28;
* @return Whether the extSpamInfo field is set.
*/
@java.lang.Override
public boolean hasExtSpamInfo() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28;
* @return The extSpamInfo.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getExtSpamInfo() {
return extSpamInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : extSpamInfo_;
}
/**
* optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getExtSpamInfoOrBuilder() {
return extSpamInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : extSpamInfo_;
}
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, getBaseRequest());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getObjectDesc());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, withUserListNum_);
}
for (int i = 0; i < withUserList_.size(); i++) {
output.writeMessage(4, withUserList_.get(i));
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(5, privacy_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(6, syncFlag_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, clientId_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeUInt32(8, postBgimgType_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeUInt32(9, groupNum_);
}
for (int i = 0; i < groupIds_.size(); i++) {
output.writeMessage(10, groupIds_.get(i));
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeUInt32(11, objectSource_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeUInt64(12, referId_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeUInt32(13, blackListNum_);
}
for (int i = 0; i < blackList_.size(); i++) {
output.writeMessage(14, blackList_.get(i));
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeMessage(15, getTwitterInfo());
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeUInt32(16, groupUserNum_);
}
for (int i = 0; i < groupUser_.size(); i++) {
output.writeMessage(17, groupUser_.get(i));
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeMessage(18, getCtocUploadInfo());
}
if (((bitField0_ & 0x00004000) != 0)) {
output.writeMessage(19, getSnsPostOperationFields());
}
if (((bitField0_ & 0x00008000) != 0)) {
output.writeMessage(20, getSnsRedEnvelops());
}
if (((bitField0_ & 0x00010000) != 0)) {
output.writeMessage(21, getPoiInfo());
}
if (((bitField0_ & 0x00020000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 22, fromScene_);
}
if (((bitField0_ & 0x00040000) != 0)) {
output.writeMessage(23, getCanvasInfo());
}
if (((bitField0_ & 0x00080000) != 0)) {
output.writeUInt32(24, mediaInfoNum_);
}
for (int i = 0; i < mediaInfo_.size(); i++) {
output.writeMessage(25, mediaInfo_.get(i));
}
if (((bitField0_ & 0x00100000) != 0)) {
output.writeMessage(26, getWeAppInfo());
}
if (((bitField0_ & 0x00200000) != 0)) {
output.writeMessage(27, getClientCheckData());
}
if (((bitField0_ & 0x00400000) != 0)) {
output.writeMessage(28, getExtSpamInfo());
}
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, getBaseRequest());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getObjectDesc());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, withUserListNum_);
}
for (int i = 0; i < withUserList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, withUserList_.get(i));
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, privacy_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, syncFlag_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, clientId_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, postBgimgType_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, groupNum_);
}
for (int i = 0; i < groupIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, groupIds_.get(i));
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, objectSource_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(12, referId_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, blackListNum_);
}
for (int i = 0; i < blackList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, blackList_.get(i));
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getTwitterInfo());
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(16, groupUserNum_);
}
for (int i = 0; i < groupUser_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, groupUser_.get(i));
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, getCtocUploadInfo());
}
if (((bitField0_ & 0x00004000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, getSnsPostOperationFields());
}
if (((bitField0_ & 0x00008000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, getSnsRedEnvelops());
}
if (((bitField0_ & 0x00010000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(21, getPoiInfo());
}
if (((bitField0_ & 0x00020000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, fromScene_);
}
if (((bitField0_ & 0x00040000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(23, getCanvasInfo());
}
if (((bitField0_ & 0x00080000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(24, mediaInfoNum_);
}
for (int i = 0; i < mediaInfo_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(25, mediaInfo_.get(i));
}
if (((bitField0_ & 0x00100000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(26, getWeAppInfo());
}
if (((bitField0_ & 0x00200000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(27, getClientCheckData());
}
if (((bitField0_ & 0x00400000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(28, getExtSpamInfo());
}
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.Friendgroup.SnsPostRequest)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsPostRequest other = (wechat.protobuf.Friendgroup.SnsPostRequest) obj;
if (hasBaseRequest() != other.hasBaseRequest()) return false;
if (hasBaseRequest()) {
if (!getBaseRequest()
.equals(other.getBaseRequest())) return false;
}
if (hasObjectDesc() != other.hasObjectDesc()) return false;
if (hasObjectDesc()) {
if (!getObjectDesc()
.equals(other.getObjectDesc())) return false;
}
if (hasWithUserListNum() != other.hasWithUserListNum()) return false;
if (hasWithUserListNum()) {
if (getWithUserListNum()
!= other.getWithUserListNum()) return false;
}
if (!getWithUserListList()
.equals(other.getWithUserListList())) return false;
if (hasPrivacy() != other.hasPrivacy()) return false;
if (hasPrivacy()) {
if (getPrivacy()
!= other.getPrivacy()) return false;
}
if (hasSyncFlag() != other.hasSyncFlag()) return false;
if (hasSyncFlag()) {
if (getSyncFlag()
!= other.getSyncFlag()) return false;
}
if (hasClientId() != other.hasClientId()) return false;
if (hasClientId()) {
if (!getClientId()
.equals(other.getClientId())) return false;
}
if (hasPostBgimgType() != other.hasPostBgimgType()) return false;
if (hasPostBgimgType()) {
if (getPostBgimgType()
!= other.getPostBgimgType()) return false;
}
if (hasGroupNum() != other.hasGroupNum()) return false;
if (hasGroupNum()) {
if (getGroupNum()
!= other.getGroupNum()) return false;
}
if (!getGroupIdsList()
.equals(other.getGroupIdsList())) return false;
if (hasObjectSource() != other.hasObjectSource()) return false;
if (hasObjectSource()) {
if (getObjectSource()
!= other.getObjectSource()) return false;
}
if (hasReferId() != other.hasReferId()) return false;
if (hasReferId()) {
if (getReferId()
!= other.getReferId()) return false;
}
if (hasBlackListNum() != other.hasBlackListNum()) return false;
if (hasBlackListNum()) {
if (getBlackListNum()
!= other.getBlackListNum()) return false;
}
if (!getBlackListList()
.equals(other.getBlackListList())) return false;
if (hasTwitterInfo() != other.hasTwitterInfo()) return false;
if (hasTwitterInfo()) {
if (!getTwitterInfo()
.equals(other.getTwitterInfo())) return false;
}
if (hasGroupUserNum() != other.hasGroupUserNum()) return false;
if (hasGroupUserNum()) {
if (getGroupUserNum()
!= other.getGroupUserNum()) return false;
}
if (!getGroupUserList()
.equals(other.getGroupUserList())) return false;
if (hasCtocUploadInfo() != other.hasCtocUploadInfo()) return false;
if (hasCtocUploadInfo()) {
if (!getCtocUploadInfo()
.equals(other.getCtocUploadInfo())) return false;
}
if (hasSnsPostOperationFields() != other.hasSnsPostOperationFields()) return false;
if (hasSnsPostOperationFields()) {
if (!getSnsPostOperationFields()
.equals(other.getSnsPostOperationFields())) return false;
}
if (hasSnsRedEnvelops() != other.hasSnsRedEnvelops()) return false;
if (hasSnsRedEnvelops()) {
if (!getSnsRedEnvelops()
.equals(other.getSnsRedEnvelops())) return false;
}
if (hasPoiInfo() != other.hasPoiInfo()) return false;
if (hasPoiInfo()) {
if (!getPoiInfo()
.equals(other.getPoiInfo())) return false;
}
if (hasFromScene() != other.hasFromScene()) return false;
if (hasFromScene()) {
if (!getFromScene()
.equals(other.getFromScene())) return false;
}
if (hasCanvasInfo() != other.hasCanvasInfo()) return false;
if (hasCanvasInfo()) {
if (!getCanvasInfo()
.equals(other.getCanvasInfo())) return false;
}
if (hasMediaInfoNum() != other.hasMediaInfoNum()) return false;
if (hasMediaInfoNum()) {
if (getMediaInfoNum()
!= other.getMediaInfoNum()) return false;
}
if (!getMediaInfoList()
.equals(other.getMediaInfoList())) return false;
if (hasWeAppInfo() != other.hasWeAppInfo()) return false;
if (hasWeAppInfo()) {
if (!getWeAppInfo()
.equals(other.getWeAppInfo())) return false;
}
if (hasClientCheckData() != other.hasClientCheckData()) return false;
if (hasClientCheckData()) {
if (!getClientCheckData()
.equals(other.getClientCheckData())) return false;
}
if (hasExtSpamInfo() != other.hasExtSpamInfo()) return false;
if (hasExtSpamInfo()) {
if (!getExtSpamInfo()
.equals(other.getExtSpamInfo())) 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 (hasBaseRequest()) {
hash = (37 * hash) + BASEREQUEST_FIELD_NUMBER;
hash = (53 * hash) + getBaseRequest().hashCode();
}
if (hasObjectDesc()) {
hash = (37 * hash) + OBJECTDESC_FIELD_NUMBER;
hash = (53 * hash) + getObjectDesc().hashCode();
}
if (hasWithUserListNum()) {
hash = (37 * hash) + WITHUSERLISTNUM_FIELD_NUMBER;
hash = (53 * hash) + getWithUserListNum();
}
if (getWithUserListCount() > 0) {
hash = (37 * hash) + WITHUSERLIST_FIELD_NUMBER;
hash = (53 * hash) + getWithUserListList().hashCode();
}
if (hasPrivacy()) {
hash = (37 * hash) + PRIVACY_FIELD_NUMBER;
hash = (53 * hash) + getPrivacy();
}
if (hasSyncFlag()) {
hash = (37 * hash) + SYNCFLAG_FIELD_NUMBER;
hash = (53 * hash) + getSyncFlag();
}
if (hasClientId()) {
hash = (37 * hash) + CLIENTID_FIELD_NUMBER;
hash = (53 * hash) + getClientId().hashCode();
}
if (hasPostBgimgType()) {
hash = (37 * hash) + POSTBGIMGTYPE_FIELD_NUMBER;
hash = (53 * hash) + getPostBgimgType();
}
if (hasGroupNum()) {
hash = (37 * hash) + GROUPNUM_FIELD_NUMBER;
hash = (53 * hash) + getGroupNum();
}
if (getGroupIdsCount() > 0) {
hash = (37 * hash) + GROUPIDS_FIELD_NUMBER;
hash = (53 * hash) + getGroupIdsList().hashCode();
}
if (hasObjectSource()) {
hash = (37 * hash) + OBJECTSOURCE_FIELD_NUMBER;
hash = (53 * hash) + getObjectSource();
}
if (hasReferId()) {
hash = (37 * hash) + REFERID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getReferId());
}
if (hasBlackListNum()) {
hash = (37 * hash) + BLACKLISTNUM_FIELD_NUMBER;
hash = (53 * hash) + getBlackListNum();
}
if (getBlackListCount() > 0) {
hash = (37 * hash) + BLACKLIST_FIELD_NUMBER;
hash = (53 * hash) + getBlackListList().hashCode();
}
if (hasTwitterInfo()) {
hash = (37 * hash) + TWITTERINFO_FIELD_NUMBER;
hash = (53 * hash) + getTwitterInfo().hashCode();
}
if (hasGroupUserNum()) {
hash = (37 * hash) + GROUPUSERNUM_FIELD_NUMBER;
hash = (53 * hash) + getGroupUserNum();
}
if (getGroupUserCount() > 0) {
hash = (37 * hash) + GROUPUSER_FIELD_NUMBER;
hash = (53 * hash) + getGroupUserList().hashCode();
}
if (hasCtocUploadInfo()) {
hash = (37 * hash) + CTOCUPLOADINFO_FIELD_NUMBER;
hash = (53 * hash) + getCtocUploadInfo().hashCode();
}
if (hasSnsPostOperationFields()) {
hash = (37 * hash) + SNSPOSTOPERATIONFIELDS_FIELD_NUMBER;
hash = (53 * hash) + getSnsPostOperationFields().hashCode();
}
if (hasSnsRedEnvelops()) {
hash = (37 * hash) + SNSREDENVELOPS_FIELD_NUMBER;
hash = (53 * hash) + getSnsRedEnvelops().hashCode();
}
if (hasPoiInfo()) {
hash = (37 * hash) + POIINFO_FIELD_NUMBER;
hash = (53 * hash) + getPoiInfo().hashCode();
}
if (hasFromScene()) {
hash = (37 * hash) + FROMSCENE_FIELD_NUMBER;
hash = (53 * hash) + getFromScene().hashCode();
}
if (hasCanvasInfo()) {
hash = (37 * hash) + CANVASINFO_FIELD_NUMBER;
hash = (53 * hash) + getCanvasInfo().hashCode();
}
if (hasMediaInfoNum()) {
hash = (37 * hash) + MEDIAINFONUM_FIELD_NUMBER;
hash = (53 * hash) + getMediaInfoNum();
}
if (getMediaInfoCount() > 0) {
hash = (37 * hash) + MEDIAINFO_FIELD_NUMBER;
hash = (53 * hash) + getMediaInfoList().hashCode();
}
if (hasWeAppInfo()) {
hash = (37 * hash) + WEAPPINFO_FIELD_NUMBER;
hash = (53 * hash) + getWeAppInfo().hashCode();
}
if (hasClientCheckData()) {
hash = (37 * hash) + CLIENTCHECKDATA_FIELD_NUMBER;
hash = (53 * hash) + getClientCheckData().hashCode();
}
if (hasExtSpamInfo()) {
hash = (37 * hash) + EXTSPAMINFO_FIELD_NUMBER;
hash = (53 * hash) + getExtSpamInfo().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsPostRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsPostRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsPostRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsPostRequest 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.Friendgroup.SnsPostRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsPostRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsPostRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsPostRequest 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.Friendgroup.SnsPostRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsPostRequest 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.Friendgroup.SnsPostRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsPostRequest 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.Friendgroup.SnsPostRequest 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.SnsPostRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsPostRequest)
wechat.protobuf.Friendgroup.SnsPostRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsPostRequest.class, wechat.protobuf.Friendgroup.SnsPostRequest.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsPostRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getBaseRequestFieldBuilder();
getObjectDescFieldBuilder();
getWithUserListFieldBuilder();
getGroupIdsFieldBuilder();
getBlackListFieldBuilder();
getTwitterInfoFieldBuilder();
getGroupUserFieldBuilder();
getCtocUploadInfoFieldBuilder();
getSnsPostOperationFieldsFieldBuilder();
getSnsRedEnvelopsFieldBuilder();
getPoiInfoFieldBuilder();
getCanvasInfoFieldBuilder();
getMediaInfoFieldBuilder();
getWeAppInfoFieldBuilder();
getClientCheckDataFieldBuilder();
getExtSpamInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (objectDescBuilder_ == null) {
objectDesc_ = null;
} else {
objectDescBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
withUserListNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
if (withUserListBuilder_ == null) {
withUserList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
withUserListBuilder_.clear();
}
privacy_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
syncFlag_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
clientId_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
postBgimgType_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
groupNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000100);
if (groupIdsBuilder_ == null) {
groupIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
} else {
groupIdsBuilder_.clear();
}
objectSource_ = 0;
bitField0_ = (bitField0_ & ~0x00000400);
referId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000800);
blackListNum_ = 0;
bitField0_ = (bitField0_ & ~0x00001000);
if (blackListBuilder_ == null) {
blackList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00002000);
} else {
blackListBuilder_.clear();
}
if (twitterInfoBuilder_ == null) {
twitterInfo_ = null;
} else {
twitterInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00004000);
groupUserNum_ = 0;
bitField0_ = (bitField0_ & ~0x00008000);
if (groupUserBuilder_ == null) {
groupUser_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00010000);
} else {
groupUserBuilder_.clear();
}
if (ctocUploadInfoBuilder_ == null) {
ctocUploadInfo_ = null;
} else {
ctocUploadInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00020000);
if (snsPostOperationFieldsBuilder_ == null) {
snsPostOperationFields_ = null;
} else {
snsPostOperationFieldsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00040000);
if (snsRedEnvelopsBuilder_ == null) {
snsRedEnvelops_ = null;
} else {
snsRedEnvelopsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00080000);
if (poiInfoBuilder_ == null) {
poiInfo_ = null;
} else {
poiInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00100000);
fromScene_ = "";
bitField0_ = (bitField0_ & ~0x00200000);
if (canvasInfoBuilder_ == null) {
canvasInfo_ = null;
} else {
canvasInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00400000);
mediaInfoNum_ = 0;
bitField0_ = (bitField0_ & ~0x00800000);
if (mediaInfoBuilder_ == null) {
mediaInfo_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x01000000);
} else {
mediaInfoBuilder_.clear();
}
if (weAppInfoBuilder_ == null) {
weAppInfo_ = null;
} else {
weAppInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x02000000);
if (clientCheckDataBuilder_ == null) {
clientCheckData_ = null;
} else {
clientCheckDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x04000000);
if (extSpamInfoBuilder_ == null) {
extSpamInfo_ = null;
} else {
extSpamInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x08000000);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostRequest_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostRequest getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsPostRequest.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostRequest build() {
wechat.protobuf.Friendgroup.SnsPostRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostRequest buildPartial() {
wechat.protobuf.Friendgroup.SnsPostRequest result = new wechat.protobuf.Friendgroup.SnsPostRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (baseRequestBuilder_ == null) {
result.baseRequest_ = baseRequest_;
} else {
result.baseRequest_ = baseRequestBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
if (objectDescBuilder_ == null) {
result.objectDesc_ = objectDesc_;
} else {
result.objectDesc_ = objectDescBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.withUserListNum_ = withUserListNum_;
to_bitField0_ |= 0x00000004;
}
if (withUserListBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
withUserList_ = java.util.Collections.unmodifiableList(withUserList_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.withUserList_ = withUserList_;
} else {
result.withUserList_ = withUserListBuilder_.build();
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.privacy_ = privacy_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.syncFlag_ = syncFlag_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.clientId_ = clientId_;
if (((from_bitField0_ & 0x00000080) != 0)) {
result.postBgimgType_ = postBgimgType_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.groupNum_ = groupNum_;
to_bitField0_ |= 0x00000080;
}
if (groupIdsBuilder_ == null) {
if (((bitField0_ & 0x00000200) != 0)) {
groupIds_ = java.util.Collections.unmodifiableList(groupIds_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.groupIds_ = groupIds_;
} else {
result.groupIds_ = groupIdsBuilder_.build();
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.objectSource_ = objectSource_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.referId_ = referId_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.blackListNum_ = blackListNum_;
to_bitField0_ |= 0x00000400;
}
if (blackListBuilder_ == null) {
if (((bitField0_ & 0x00002000) != 0)) {
blackList_ = java.util.Collections.unmodifiableList(blackList_);
bitField0_ = (bitField0_ & ~0x00002000);
}
result.blackList_ = blackList_;
} else {
result.blackList_ = blackListBuilder_.build();
}
if (((from_bitField0_ & 0x00004000) != 0)) {
if (twitterInfoBuilder_ == null) {
result.twitterInfo_ = twitterInfo_;
} else {
result.twitterInfo_ = twitterInfoBuilder_.build();
}
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.groupUserNum_ = groupUserNum_;
to_bitField0_ |= 0x00001000;
}
if (groupUserBuilder_ == null) {
if (((bitField0_ & 0x00010000) != 0)) {
groupUser_ = java.util.Collections.unmodifiableList(groupUser_);
bitField0_ = (bitField0_ & ~0x00010000);
}
result.groupUser_ = groupUser_;
} else {
result.groupUser_ = groupUserBuilder_.build();
}
if (((from_bitField0_ & 0x00020000) != 0)) {
if (ctocUploadInfoBuilder_ == null) {
result.ctocUploadInfo_ = ctocUploadInfo_;
} else {
result.ctocUploadInfo_ = ctocUploadInfoBuilder_.build();
}
to_bitField0_ |= 0x00002000;
}
if (((from_bitField0_ & 0x00040000) != 0)) {
if (snsPostOperationFieldsBuilder_ == null) {
result.snsPostOperationFields_ = snsPostOperationFields_;
} else {
result.snsPostOperationFields_ = snsPostOperationFieldsBuilder_.build();
}
to_bitField0_ |= 0x00004000;
}
if (((from_bitField0_ & 0x00080000) != 0)) {
if (snsRedEnvelopsBuilder_ == null) {
result.snsRedEnvelops_ = snsRedEnvelops_;
} else {
result.snsRedEnvelops_ = snsRedEnvelopsBuilder_.build();
}
to_bitField0_ |= 0x00008000;
}
if (((from_bitField0_ & 0x00100000) != 0)) {
if (poiInfoBuilder_ == null) {
result.poiInfo_ = poiInfo_;
} else {
result.poiInfo_ = poiInfoBuilder_.build();
}
to_bitField0_ |= 0x00010000;
}
if (((from_bitField0_ & 0x00200000) != 0)) {
to_bitField0_ |= 0x00020000;
}
result.fromScene_ = fromScene_;
if (((from_bitField0_ & 0x00400000) != 0)) {
if (canvasInfoBuilder_ == null) {
result.canvasInfo_ = canvasInfo_;
} else {
result.canvasInfo_ = canvasInfoBuilder_.build();
}
to_bitField0_ |= 0x00040000;
}
if (((from_bitField0_ & 0x00800000) != 0)) {
result.mediaInfoNum_ = mediaInfoNum_;
to_bitField0_ |= 0x00080000;
}
if (mediaInfoBuilder_ == null) {
if (((bitField0_ & 0x01000000) != 0)) {
mediaInfo_ = java.util.Collections.unmodifiableList(mediaInfo_);
bitField0_ = (bitField0_ & ~0x01000000);
}
result.mediaInfo_ = mediaInfo_;
} else {
result.mediaInfo_ = mediaInfoBuilder_.build();
}
if (((from_bitField0_ & 0x02000000) != 0)) {
if (weAppInfoBuilder_ == null) {
result.weAppInfo_ = weAppInfo_;
} else {
result.weAppInfo_ = weAppInfoBuilder_.build();
}
to_bitField0_ |= 0x00100000;
}
if (((from_bitField0_ & 0x04000000) != 0)) {
if (clientCheckDataBuilder_ == null) {
result.clientCheckData_ = clientCheckData_;
} else {
result.clientCheckData_ = clientCheckDataBuilder_.build();
}
to_bitField0_ |= 0x00200000;
}
if (((from_bitField0_ & 0x08000000) != 0)) {
if (extSpamInfoBuilder_ == null) {
result.extSpamInfo_ = extSpamInfo_;
} else {
result.extSpamInfo_ = extSpamInfoBuilder_.build();
}
to_bitField0_ |= 0x00400000;
}
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.Friendgroup.SnsPostRequest) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsPostRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsPostRequest other) {
if (other == wechat.protobuf.Friendgroup.SnsPostRequest.getDefaultInstance()) return this;
if (other.hasBaseRequest()) {
mergeBaseRequest(other.getBaseRequest());
}
if (other.hasObjectDesc()) {
mergeObjectDesc(other.getObjectDesc());
}
if (other.hasWithUserListNum()) {
setWithUserListNum(other.getWithUserListNum());
}
if (withUserListBuilder_ == null) {
if (!other.withUserList_.isEmpty()) {
if (withUserList_.isEmpty()) {
withUserList_ = other.withUserList_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureWithUserListIsMutable();
withUserList_.addAll(other.withUserList_);
}
onChanged();
}
} else {
if (!other.withUserList_.isEmpty()) {
if (withUserListBuilder_.isEmpty()) {
withUserListBuilder_.dispose();
withUserListBuilder_ = null;
withUserList_ = other.withUserList_;
bitField0_ = (bitField0_ & ~0x00000008);
withUserListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getWithUserListFieldBuilder() : null;
} else {
withUserListBuilder_.addAllMessages(other.withUserList_);
}
}
}
if (other.hasPrivacy()) {
setPrivacy(other.getPrivacy());
}
if (other.hasSyncFlag()) {
setSyncFlag(other.getSyncFlag());
}
if (other.hasClientId()) {
bitField0_ |= 0x00000040;
clientId_ = other.clientId_;
onChanged();
}
if (other.hasPostBgimgType()) {
setPostBgimgType(other.getPostBgimgType());
}
if (other.hasGroupNum()) {
setGroupNum(other.getGroupNum());
}
if (groupIdsBuilder_ == null) {
if (!other.groupIds_.isEmpty()) {
if (groupIds_.isEmpty()) {
groupIds_ = other.groupIds_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureGroupIdsIsMutable();
groupIds_.addAll(other.groupIds_);
}
onChanged();
}
} else {
if (!other.groupIds_.isEmpty()) {
if (groupIdsBuilder_.isEmpty()) {
groupIdsBuilder_.dispose();
groupIdsBuilder_ = null;
groupIds_ = other.groupIds_;
bitField0_ = (bitField0_ & ~0x00000200);
groupIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getGroupIdsFieldBuilder() : null;
} else {
groupIdsBuilder_.addAllMessages(other.groupIds_);
}
}
}
if (other.hasObjectSource()) {
setObjectSource(other.getObjectSource());
}
if (other.hasReferId()) {
setReferId(other.getReferId());
}
if (other.hasBlackListNum()) {
setBlackListNum(other.getBlackListNum());
}
if (blackListBuilder_ == null) {
if (!other.blackList_.isEmpty()) {
if (blackList_.isEmpty()) {
blackList_ = other.blackList_;
bitField0_ = (bitField0_ & ~0x00002000);
} else {
ensureBlackListIsMutable();
blackList_.addAll(other.blackList_);
}
onChanged();
}
} else {
if (!other.blackList_.isEmpty()) {
if (blackListBuilder_.isEmpty()) {
blackListBuilder_.dispose();
blackListBuilder_ = null;
blackList_ = other.blackList_;
bitField0_ = (bitField0_ & ~0x00002000);
blackListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getBlackListFieldBuilder() : null;
} else {
blackListBuilder_.addAllMessages(other.blackList_);
}
}
}
if (other.hasTwitterInfo()) {
mergeTwitterInfo(other.getTwitterInfo());
}
if (other.hasGroupUserNum()) {
setGroupUserNum(other.getGroupUserNum());
}
if (groupUserBuilder_ == null) {
if (!other.groupUser_.isEmpty()) {
if (groupUser_.isEmpty()) {
groupUser_ = other.groupUser_;
bitField0_ = (bitField0_ & ~0x00010000);
} else {
ensureGroupUserIsMutable();
groupUser_.addAll(other.groupUser_);
}
onChanged();
}
} else {
if (!other.groupUser_.isEmpty()) {
if (groupUserBuilder_.isEmpty()) {
groupUserBuilder_.dispose();
groupUserBuilder_ = null;
groupUser_ = other.groupUser_;
bitField0_ = (bitField0_ & ~0x00010000);
groupUserBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getGroupUserFieldBuilder() : null;
} else {
groupUserBuilder_.addAllMessages(other.groupUser_);
}
}
}
if (other.hasCtocUploadInfo()) {
mergeCtocUploadInfo(other.getCtocUploadInfo());
}
if (other.hasSnsPostOperationFields()) {
mergeSnsPostOperationFields(other.getSnsPostOperationFields());
}
if (other.hasSnsRedEnvelops()) {
mergeSnsRedEnvelops(other.getSnsRedEnvelops());
}
if (other.hasPoiInfo()) {
mergePoiInfo(other.getPoiInfo());
}
if (other.hasFromScene()) {
bitField0_ |= 0x00200000;
fromScene_ = other.fromScene_;
onChanged();
}
if (other.hasCanvasInfo()) {
mergeCanvasInfo(other.getCanvasInfo());
}
if (other.hasMediaInfoNum()) {
setMediaInfoNum(other.getMediaInfoNum());
}
if (mediaInfoBuilder_ == null) {
if (!other.mediaInfo_.isEmpty()) {
if (mediaInfo_.isEmpty()) {
mediaInfo_ = other.mediaInfo_;
bitField0_ = (bitField0_ & ~0x01000000);
} else {
ensureMediaInfoIsMutable();
mediaInfo_.addAll(other.mediaInfo_);
}
onChanged();
}
} else {
if (!other.mediaInfo_.isEmpty()) {
if (mediaInfoBuilder_.isEmpty()) {
mediaInfoBuilder_.dispose();
mediaInfoBuilder_ = null;
mediaInfo_ = other.mediaInfo_;
bitField0_ = (bitField0_ & ~0x01000000);
mediaInfoBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMediaInfoFieldBuilder() : null;
} else {
mediaInfoBuilder_.addAllMessages(other.mediaInfo_);
}
}
}
if (other.hasWeAppInfo()) {
mergeWeAppInfo(other.getWeAppInfo());
}
if (other.hasClientCheckData()) {
mergeClientCheckData(other.getClientCheckData());
}
if (other.hasExtSpamInfo()) {
mergeExtSpamInfo(other.getExtSpamInfo());
}
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.Friendgroup.SnsPostRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsPostRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private wechat.protobuf.BaseRequest baseRequest_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder> baseRequestBuilder_;
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
public boolean hasBaseRequest() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
public wechat.protobuf.BaseRequest getBaseRequest() {
if (baseRequestBuilder_ == null) {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
} else {
return baseRequestBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder setBaseRequest(wechat.protobuf.BaseRequest value) {
if (baseRequestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseRequest_ = value;
onChanged();
} else {
baseRequestBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder setBaseRequest(
wechat.protobuf.BaseRequest.Builder builderForValue) {
if (baseRequestBuilder_ == null) {
baseRequest_ = builderForValue.build();
onChanged();
} else {
baseRequestBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder mergeBaseRequest(wechat.protobuf.BaseRequest value) {
if (baseRequestBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
baseRequest_ != null &&
baseRequest_ != wechat.protobuf.BaseRequest.getDefaultInstance()) {
baseRequest_ =
wechat.protobuf.BaseRequest.newBuilder(baseRequest_).mergeFrom(value).buildPartial();
} else {
baseRequest_ = value;
}
onChanged();
} else {
baseRequestBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder clearBaseRequest() {
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
onChanged();
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public wechat.protobuf.BaseRequest.Builder getBaseRequestBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getBaseRequestFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder() {
if (baseRequestBuilder_ != null) {
return baseRequestBuilder_.getMessageOrBuilder();
} else {
return baseRequest_ == null ?
wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder>
getBaseRequestFieldBuilder() {
if (baseRequestBuilder_ == null) {
baseRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder>(
getBaseRequest(),
getParentForChildren(),
isClean());
baseRequest_ = null;
}
return baseRequestBuilder_;
}
private wechat.protobuf.SKBuiltinString_ objectDesc_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> objectDescBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 2;
* @return Whether the objectDesc field is set.
*/
public boolean hasObjectDesc() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 2;
* @return The objectDesc.
*/
public wechat.protobuf.SKBuiltinString_ getObjectDesc() {
if (objectDescBuilder_ == null) {
return objectDesc_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_;
} else {
return objectDescBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 2;
*/
public Builder setObjectDesc(wechat.protobuf.SKBuiltinString_ value) {
if (objectDescBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
objectDesc_ = value;
onChanged();
} else {
objectDescBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 2;
*/
public Builder setObjectDesc(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (objectDescBuilder_ == null) {
objectDesc_ = builderForValue.build();
onChanged();
} else {
objectDescBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 2;
*/
public Builder mergeObjectDesc(wechat.protobuf.SKBuiltinString_ value) {
if (objectDescBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
objectDesc_ != null &&
objectDesc_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
objectDesc_ =
wechat.protobuf.SKBuiltinString_.newBuilder(objectDesc_).mergeFrom(value).buildPartial();
} else {
objectDesc_ = value;
}
onChanged();
} else {
objectDescBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 2;
*/
public Builder clearObjectDesc() {
if (objectDescBuilder_ == null) {
objectDesc_ = null;
onChanged();
} else {
objectDescBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 2;
*/
public wechat.protobuf.SKBuiltinString_.Builder getObjectDescBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getObjectDescFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 2;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getObjectDescOrBuilder() {
if (objectDescBuilder_ != null) {
return objectDescBuilder_.getMessageOrBuilder();
} else {
return objectDesc_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : objectDesc_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ objectDesc = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getObjectDescFieldBuilder() {
if (objectDescBuilder_ == null) {
objectDescBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getObjectDesc(),
getParentForChildren(),
isClean());
objectDesc_ = null;
}
return objectDescBuilder_;
}
private int withUserListNum_ ;
/**
* optional uint32 withUserListNum = 3;
* @return Whether the withUserListNum field is set.
*/
@java.lang.Override
public boolean hasWithUserListNum() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 withUserListNum = 3;
* @return The withUserListNum.
*/
@java.lang.Override
public int getWithUserListNum() {
return withUserListNum_;
}
/**
* optional uint32 withUserListNum = 3;
* @param value The withUserListNum to set.
* @return This builder for chaining.
*/
public Builder setWithUserListNum(int value) {
bitField0_ |= 0x00000004;
withUserListNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 withUserListNum = 3;
* @return This builder for chaining.
*/
public Builder clearWithUserListNum() {
bitField0_ = (bitField0_ & ~0x00000004);
withUserListNum_ = 0;
onChanged();
return this;
}
private java.util.List withUserList_ =
java.util.Collections.emptyList();
private void ensureWithUserListIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
withUserList_ = new java.util.ArrayList(withUserList_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> withUserListBuilder_;
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public java.util.List getWithUserListList() {
if (withUserListBuilder_ == null) {
return java.util.Collections.unmodifiableList(withUserList_);
} else {
return withUserListBuilder_.getMessageList();
}
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public int getWithUserListCount() {
if (withUserListBuilder_ == null) {
return withUserList_.size();
} else {
return withUserListBuilder_.getCount();
}
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public wechat.protobuf.SKBuiltinString getWithUserList(int index) {
if (withUserListBuilder_ == null) {
return withUserList_.get(index);
} else {
return withUserListBuilder_.getMessage(index);
}
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public Builder setWithUserList(
int index, wechat.protobuf.SKBuiltinString value) {
if (withUserListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWithUserListIsMutable();
withUserList_.set(index, value);
onChanged();
} else {
withUserListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public Builder setWithUserList(
int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (withUserListBuilder_ == null) {
ensureWithUserListIsMutable();
withUserList_.set(index, builderForValue.build());
onChanged();
} else {
withUserListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public Builder addWithUserList(wechat.protobuf.SKBuiltinString value) {
if (withUserListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWithUserListIsMutable();
withUserList_.add(value);
onChanged();
} else {
withUserListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public Builder addWithUserList(
int index, wechat.protobuf.SKBuiltinString value) {
if (withUserListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWithUserListIsMutable();
withUserList_.add(index, value);
onChanged();
} else {
withUserListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public Builder addWithUserList(
wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (withUserListBuilder_ == null) {
ensureWithUserListIsMutable();
withUserList_.add(builderForValue.build());
onChanged();
} else {
withUserListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public Builder addWithUserList(
int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (withUserListBuilder_ == null) {
ensureWithUserListIsMutable();
withUserList_.add(index, builderForValue.build());
onChanged();
} else {
withUserListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public Builder addAllWithUserList(
java.lang.Iterable extends wechat.protobuf.SKBuiltinString> values) {
if (withUserListBuilder_ == null) {
ensureWithUserListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, withUserList_);
onChanged();
} else {
withUserListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public Builder clearWithUserList() {
if (withUserListBuilder_ == null) {
withUserList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
withUserListBuilder_.clear();
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public Builder removeWithUserList(int index) {
if (withUserListBuilder_ == null) {
ensureWithUserListIsMutable();
withUserList_.remove(index);
onChanged();
} else {
withUserListBuilder_.remove(index);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public wechat.protobuf.SKBuiltinString.Builder getWithUserListBuilder(
int index) {
return getWithUserListFieldBuilder().getBuilder(index);
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public wechat.protobuf.SKBuiltinStringOrBuilder getWithUserListOrBuilder(
int index) {
if (withUserListBuilder_ == null) {
return withUserList_.get(index); } else {
return withUserListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getWithUserListOrBuilderList() {
if (withUserListBuilder_ != null) {
return withUserListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(withUserList_);
}
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public wechat.protobuf.SKBuiltinString.Builder addWithUserListBuilder() {
return getWithUserListFieldBuilder().addBuilder(
wechat.protobuf.SKBuiltinString.getDefaultInstance());
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public wechat.protobuf.SKBuiltinString.Builder addWithUserListBuilder(
int index) {
return getWithUserListFieldBuilder().addBuilder(
index, wechat.protobuf.SKBuiltinString.getDefaultInstance());
}
/**
* repeated .wechat_proto.SKBuiltinString withUserList = 4;
*/
public java.util.List
getWithUserListBuilderList() {
return getWithUserListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>
getWithUserListFieldBuilder() {
if (withUserListBuilder_ == null) {
withUserListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>(
withUserList_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
withUserList_ = null;
}
return withUserListBuilder_;
}
private int privacy_ ;
/**
* optional uint32 privacy = 5;
* @return Whether the privacy field is set.
*/
@java.lang.Override
public boolean hasPrivacy() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 privacy = 5;
* @return The privacy.
*/
@java.lang.Override
public int getPrivacy() {
return privacy_;
}
/**
* optional uint32 privacy = 5;
* @param value The privacy to set.
* @return This builder for chaining.
*/
public Builder setPrivacy(int value) {
bitField0_ |= 0x00000010;
privacy_ = value;
onChanged();
return this;
}
/**
* optional uint32 privacy = 5;
* @return This builder for chaining.
*/
public Builder clearPrivacy() {
bitField0_ = (bitField0_ & ~0x00000010);
privacy_ = 0;
onChanged();
return this;
}
private int syncFlag_ ;
/**
* optional uint32 syncFlag = 6;
* @return Whether the syncFlag field is set.
*/
@java.lang.Override
public boolean hasSyncFlag() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 syncFlag = 6;
* @return The syncFlag.
*/
@java.lang.Override
public int getSyncFlag() {
return syncFlag_;
}
/**
* optional uint32 syncFlag = 6;
* @param value The syncFlag to set.
* @return This builder for chaining.
*/
public Builder setSyncFlag(int value) {
bitField0_ |= 0x00000020;
syncFlag_ = value;
onChanged();
return this;
}
/**
* optional uint32 syncFlag = 6;
* @return This builder for chaining.
*/
public Builder clearSyncFlag() {
bitField0_ = (bitField0_ & ~0x00000020);
syncFlag_ = 0;
onChanged();
return this;
}
private java.lang.Object clientId_ = "";
/**
* optional string clientId = 7;
* @return Whether the clientId field is set.
*/
public boolean hasClientId() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string clientId = 7;
* @return The clientId.
*/
public java.lang.String getClientId() {
java.lang.Object ref = clientId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
clientId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string clientId = 7;
* @return The bytes for clientId.
*/
public com.google.protobuf.ByteString
getClientIdBytes() {
java.lang.Object ref = clientId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string clientId = 7;
* @param value The clientId to set.
* @return This builder for chaining.
*/
public Builder setClientId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
clientId_ = value;
onChanged();
return this;
}
/**
* optional string clientId = 7;
* @return This builder for chaining.
*/
public Builder clearClientId() {
bitField0_ = (bitField0_ & ~0x00000040);
clientId_ = getDefaultInstance().getClientId();
onChanged();
return this;
}
/**
* optional string clientId = 7;
* @param value The bytes for clientId to set.
* @return This builder for chaining.
*/
public Builder setClientIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
clientId_ = value;
onChanged();
return this;
}
private int postBgimgType_ ;
/**
* optional uint32 postBgimgType = 8;
* @return Whether the postBgimgType field is set.
*/
@java.lang.Override
public boolean hasPostBgimgType() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional uint32 postBgimgType = 8;
* @return The postBgimgType.
*/
@java.lang.Override
public int getPostBgimgType() {
return postBgimgType_;
}
/**
* optional uint32 postBgimgType = 8;
* @param value The postBgimgType to set.
* @return This builder for chaining.
*/
public Builder setPostBgimgType(int value) {
bitField0_ |= 0x00000080;
postBgimgType_ = value;
onChanged();
return this;
}
/**
* optional uint32 postBgimgType = 8;
* @return This builder for chaining.
*/
public Builder clearPostBgimgType() {
bitField0_ = (bitField0_ & ~0x00000080);
postBgimgType_ = 0;
onChanged();
return this;
}
private int groupNum_ ;
/**
* optional uint32 groupNum = 9;
* @return Whether the groupNum field is set.
*/
@java.lang.Override
public boolean hasGroupNum() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional uint32 groupNum = 9;
* @return The groupNum.
*/
@java.lang.Override
public int getGroupNum() {
return groupNum_;
}
/**
* optional uint32 groupNum = 9;
* @param value The groupNum to set.
* @return This builder for chaining.
*/
public Builder setGroupNum(int value) {
bitField0_ |= 0x00000100;
groupNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 groupNum = 9;
* @return This builder for chaining.
*/
public Builder clearGroupNum() {
bitField0_ = (bitField0_ & ~0x00000100);
groupNum_ = 0;
onChanged();
return this;
}
private java.util.List groupIds_ =
java.util.Collections.emptyList();
private void ensureGroupIdsIsMutable() {
if (!((bitField0_ & 0x00000200) != 0)) {
groupIds_ = new java.util.ArrayList(groupIds_);
bitField0_ |= 0x00000200;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsGroup, wechat.protobuf.Friendgroup.SnsGroup.Builder, wechat.protobuf.Friendgroup.SnsGroupOrBuilder> groupIdsBuilder_;
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public java.util.List getGroupIdsList() {
if (groupIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(groupIds_);
} else {
return groupIdsBuilder_.getMessageList();
}
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public int getGroupIdsCount() {
if (groupIdsBuilder_ == null) {
return groupIds_.size();
} else {
return groupIdsBuilder_.getCount();
}
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public wechat.protobuf.Friendgroup.SnsGroup getGroupIds(int index) {
if (groupIdsBuilder_ == null) {
return groupIds_.get(index);
} else {
return groupIdsBuilder_.getMessage(index);
}
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public Builder setGroupIds(
int index, wechat.protobuf.Friendgroup.SnsGroup value) {
if (groupIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupIdsIsMutable();
groupIds_.set(index, value);
onChanged();
} else {
groupIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public Builder setGroupIds(
int index, wechat.protobuf.Friendgroup.SnsGroup.Builder builderForValue) {
if (groupIdsBuilder_ == null) {
ensureGroupIdsIsMutable();
groupIds_.set(index, builderForValue.build());
onChanged();
} else {
groupIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public Builder addGroupIds(wechat.protobuf.Friendgroup.SnsGroup value) {
if (groupIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupIdsIsMutable();
groupIds_.add(value);
onChanged();
} else {
groupIdsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public Builder addGroupIds(
int index, wechat.protobuf.Friendgroup.SnsGroup value) {
if (groupIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupIdsIsMutable();
groupIds_.add(index, value);
onChanged();
} else {
groupIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public Builder addGroupIds(
wechat.protobuf.Friendgroup.SnsGroup.Builder builderForValue) {
if (groupIdsBuilder_ == null) {
ensureGroupIdsIsMutable();
groupIds_.add(builderForValue.build());
onChanged();
} else {
groupIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public Builder addGroupIds(
int index, wechat.protobuf.Friendgroup.SnsGroup.Builder builderForValue) {
if (groupIdsBuilder_ == null) {
ensureGroupIdsIsMutable();
groupIds_.add(index, builderForValue.build());
onChanged();
} else {
groupIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public Builder addAllGroupIds(
java.lang.Iterable extends wechat.protobuf.Friendgroup.SnsGroup> values) {
if (groupIdsBuilder_ == null) {
ensureGroupIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, groupIds_);
onChanged();
} else {
groupIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public Builder clearGroupIds() {
if (groupIdsBuilder_ == null) {
groupIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
groupIdsBuilder_.clear();
}
return this;
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public Builder removeGroupIds(int index) {
if (groupIdsBuilder_ == null) {
ensureGroupIdsIsMutable();
groupIds_.remove(index);
onChanged();
} else {
groupIdsBuilder_.remove(index);
}
return this;
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public wechat.protobuf.Friendgroup.SnsGroup.Builder getGroupIdsBuilder(
int index) {
return getGroupIdsFieldBuilder().getBuilder(index);
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public wechat.protobuf.Friendgroup.SnsGroupOrBuilder getGroupIdsOrBuilder(
int index) {
if (groupIdsBuilder_ == null) {
return groupIds_.get(index); } else {
return groupIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public java.util.List extends wechat.protobuf.Friendgroup.SnsGroupOrBuilder>
getGroupIdsOrBuilderList() {
if (groupIdsBuilder_ != null) {
return groupIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(groupIds_);
}
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public wechat.protobuf.Friendgroup.SnsGroup.Builder addGroupIdsBuilder() {
return getGroupIdsFieldBuilder().addBuilder(
wechat.protobuf.Friendgroup.SnsGroup.getDefaultInstance());
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public wechat.protobuf.Friendgroup.SnsGroup.Builder addGroupIdsBuilder(
int index) {
return getGroupIdsFieldBuilder().addBuilder(
index, wechat.protobuf.Friendgroup.SnsGroup.getDefaultInstance());
}
/**
* repeated .wechat_proto.SnsGroup groupIds = 10;
*/
public java.util.List
getGroupIdsBuilderList() {
return getGroupIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsGroup, wechat.protobuf.Friendgroup.SnsGroup.Builder, wechat.protobuf.Friendgroup.SnsGroupOrBuilder>
getGroupIdsFieldBuilder() {
if (groupIdsBuilder_ == null) {
groupIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsGroup, wechat.protobuf.Friendgroup.SnsGroup.Builder, wechat.protobuf.Friendgroup.SnsGroupOrBuilder>(
groupIds_,
((bitField0_ & 0x00000200) != 0),
getParentForChildren(),
isClean());
groupIds_ = null;
}
return groupIdsBuilder_;
}
private int objectSource_ ;
/**
* optional uint32 objectSource = 11;
* @return Whether the objectSource field is set.
*/
@java.lang.Override
public boolean hasObjectSource() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional uint32 objectSource = 11;
* @return The objectSource.
*/
@java.lang.Override
public int getObjectSource() {
return objectSource_;
}
/**
* optional uint32 objectSource = 11;
* @param value The objectSource to set.
* @return This builder for chaining.
*/
public Builder setObjectSource(int value) {
bitField0_ |= 0x00000400;
objectSource_ = value;
onChanged();
return this;
}
/**
* optional uint32 objectSource = 11;
* @return This builder for chaining.
*/
public Builder clearObjectSource() {
bitField0_ = (bitField0_ & ~0x00000400);
objectSource_ = 0;
onChanged();
return this;
}
private long referId_ ;
/**
* optional uint64 referId = 12;
* @return Whether the referId field is set.
*/
@java.lang.Override
public boolean hasReferId() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional uint64 referId = 12;
* @return The referId.
*/
@java.lang.Override
public long getReferId() {
return referId_;
}
/**
* optional uint64 referId = 12;
* @param value The referId to set.
* @return This builder for chaining.
*/
public Builder setReferId(long value) {
bitField0_ |= 0x00000800;
referId_ = value;
onChanged();
return this;
}
/**
* optional uint64 referId = 12;
* @return This builder for chaining.
*/
public Builder clearReferId() {
bitField0_ = (bitField0_ & ~0x00000800);
referId_ = 0L;
onChanged();
return this;
}
private int blackListNum_ ;
/**
* optional uint32 blackListNum = 13;
* @return Whether the blackListNum field is set.
*/
@java.lang.Override
public boolean hasBlackListNum() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional uint32 blackListNum = 13;
* @return The blackListNum.
*/
@java.lang.Override
public int getBlackListNum() {
return blackListNum_;
}
/**
* optional uint32 blackListNum = 13;
* @param value The blackListNum to set.
* @return This builder for chaining.
*/
public Builder setBlackListNum(int value) {
bitField0_ |= 0x00001000;
blackListNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 blackListNum = 13;
* @return This builder for chaining.
*/
public Builder clearBlackListNum() {
bitField0_ = (bitField0_ & ~0x00001000);
blackListNum_ = 0;
onChanged();
return this;
}
private java.util.List blackList_ =
java.util.Collections.emptyList();
private void ensureBlackListIsMutable() {
if (!((bitField0_ & 0x00002000) != 0)) {
blackList_ = new java.util.ArrayList(blackList_);
bitField0_ |= 0x00002000;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> blackListBuilder_;
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public java.util.List getBlackListList() {
if (blackListBuilder_ == null) {
return java.util.Collections.unmodifiableList(blackList_);
} else {
return blackListBuilder_.getMessageList();
}
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public int getBlackListCount() {
if (blackListBuilder_ == null) {
return blackList_.size();
} else {
return blackListBuilder_.getCount();
}
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public wechat.protobuf.SKBuiltinString getBlackList(int index) {
if (blackListBuilder_ == null) {
return blackList_.get(index);
} else {
return blackListBuilder_.getMessage(index);
}
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public Builder setBlackList(
int index, wechat.protobuf.SKBuiltinString value) {
if (blackListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBlackListIsMutable();
blackList_.set(index, value);
onChanged();
} else {
blackListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public Builder setBlackList(
int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (blackListBuilder_ == null) {
ensureBlackListIsMutable();
blackList_.set(index, builderForValue.build());
onChanged();
} else {
blackListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public Builder addBlackList(wechat.protobuf.SKBuiltinString value) {
if (blackListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBlackListIsMutable();
blackList_.add(value);
onChanged();
} else {
blackListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public Builder addBlackList(
int index, wechat.protobuf.SKBuiltinString value) {
if (blackListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBlackListIsMutable();
blackList_.add(index, value);
onChanged();
} else {
blackListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public Builder addBlackList(
wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (blackListBuilder_ == null) {
ensureBlackListIsMutable();
blackList_.add(builderForValue.build());
onChanged();
} else {
blackListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public Builder addBlackList(
int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (blackListBuilder_ == null) {
ensureBlackListIsMutable();
blackList_.add(index, builderForValue.build());
onChanged();
} else {
blackListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public Builder addAllBlackList(
java.lang.Iterable extends wechat.protobuf.SKBuiltinString> values) {
if (blackListBuilder_ == null) {
ensureBlackListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, blackList_);
onChanged();
} else {
blackListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public Builder clearBlackList() {
if (blackListBuilder_ == null) {
blackList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00002000);
onChanged();
} else {
blackListBuilder_.clear();
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public Builder removeBlackList(int index) {
if (blackListBuilder_ == null) {
ensureBlackListIsMutable();
blackList_.remove(index);
onChanged();
} else {
blackListBuilder_.remove(index);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public wechat.protobuf.SKBuiltinString.Builder getBlackListBuilder(
int index) {
return getBlackListFieldBuilder().getBuilder(index);
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public wechat.protobuf.SKBuiltinStringOrBuilder getBlackListOrBuilder(
int index) {
if (blackListBuilder_ == null) {
return blackList_.get(index); } else {
return blackListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getBlackListOrBuilderList() {
if (blackListBuilder_ != null) {
return blackListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(blackList_);
}
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public wechat.protobuf.SKBuiltinString.Builder addBlackListBuilder() {
return getBlackListFieldBuilder().addBuilder(
wechat.protobuf.SKBuiltinString.getDefaultInstance());
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public wechat.protobuf.SKBuiltinString.Builder addBlackListBuilder(
int index) {
return getBlackListFieldBuilder().addBuilder(
index, wechat.protobuf.SKBuiltinString.getDefaultInstance());
}
/**
* repeated .wechat_proto.SKBuiltinString blackList = 14;
*/
public java.util.List
getBlackListBuilderList() {
return getBlackListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>
getBlackListFieldBuilder() {
if (blackListBuilder_ == null) {
blackListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>(
blackList_,
((bitField0_ & 0x00002000) != 0),
getParentForChildren(),
isClean());
blackList_ = null;
}
return blackListBuilder_;
}
private wechat.protobuf.Friendgroup.TwitterInfo twitterInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.TwitterInfo, wechat.protobuf.Friendgroup.TwitterInfo.Builder, wechat.protobuf.Friendgroup.TwitterInfoOrBuilder> twitterInfoBuilder_;
/**
* optional .wechat_proto.TwitterInfo twitterInfo = 15;
* @return Whether the twitterInfo field is set.
*/
public boolean hasTwitterInfo() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional .wechat_proto.TwitterInfo twitterInfo = 15;
* @return The twitterInfo.
*/
public wechat.protobuf.Friendgroup.TwitterInfo getTwitterInfo() {
if (twitterInfoBuilder_ == null) {
return twitterInfo_ == null ? wechat.protobuf.Friendgroup.TwitterInfo.getDefaultInstance() : twitterInfo_;
} else {
return twitterInfoBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.TwitterInfo twitterInfo = 15;
*/
public Builder setTwitterInfo(wechat.protobuf.Friendgroup.TwitterInfo value) {
if (twitterInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
twitterInfo_ = value;
onChanged();
} else {
twitterInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00004000;
return this;
}
/**
* optional .wechat_proto.TwitterInfo twitterInfo = 15;
*/
public Builder setTwitterInfo(
wechat.protobuf.Friendgroup.TwitterInfo.Builder builderForValue) {
if (twitterInfoBuilder_ == null) {
twitterInfo_ = builderForValue.build();
onChanged();
} else {
twitterInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00004000;
return this;
}
/**
* optional .wechat_proto.TwitterInfo twitterInfo = 15;
*/
public Builder mergeTwitterInfo(wechat.protobuf.Friendgroup.TwitterInfo value) {
if (twitterInfoBuilder_ == null) {
if (((bitField0_ & 0x00004000) != 0) &&
twitterInfo_ != null &&
twitterInfo_ != wechat.protobuf.Friendgroup.TwitterInfo.getDefaultInstance()) {
twitterInfo_ =
wechat.protobuf.Friendgroup.TwitterInfo.newBuilder(twitterInfo_).mergeFrom(value).buildPartial();
} else {
twitterInfo_ = value;
}
onChanged();
} else {
twitterInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00004000;
return this;
}
/**
* optional .wechat_proto.TwitterInfo twitterInfo = 15;
*/
public Builder clearTwitterInfo() {
if (twitterInfoBuilder_ == null) {
twitterInfo_ = null;
onChanged();
} else {
twitterInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00004000);
return this;
}
/**
* optional .wechat_proto.TwitterInfo twitterInfo = 15;
*/
public wechat.protobuf.Friendgroup.TwitterInfo.Builder getTwitterInfoBuilder() {
bitField0_ |= 0x00004000;
onChanged();
return getTwitterInfoFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.TwitterInfo twitterInfo = 15;
*/
public wechat.protobuf.Friendgroup.TwitterInfoOrBuilder getTwitterInfoOrBuilder() {
if (twitterInfoBuilder_ != null) {
return twitterInfoBuilder_.getMessageOrBuilder();
} else {
return twitterInfo_ == null ?
wechat.protobuf.Friendgroup.TwitterInfo.getDefaultInstance() : twitterInfo_;
}
}
/**
* optional .wechat_proto.TwitterInfo twitterInfo = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.TwitterInfo, wechat.protobuf.Friendgroup.TwitterInfo.Builder, wechat.protobuf.Friendgroup.TwitterInfoOrBuilder>
getTwitterInfoFieldBuilder() {
if (twitterInfoBuilder_ == null) {
twitterInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.TwitterInfo, wechat.protobuf.Friendgroup.TwitterInfo.Builder, wechat.protobuf.Friendgroup.TwitterInfoOrBuilder>(
getTwitterInfo(),
getParentForChildren(),
isClean());
twitterInfo_ = null;
}
return twitterInfoBuilder_;
}
private int groupUserNum_ ;
/**
* optional uint32 groupUserNum = 16;
* @return Whether the groupUserNum field is set.
*/
@java.lang.Override
public boolean hasGroupUserNum() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional uint32 groupUserNum = 16;
* @return The groupUserNum.
*/
@java.lang.Override
public int getGroupUserNum() {
return groupUserNum_;
}
/**
* optional uint32 groupUserNum = 16;
* @param value The groupUserNum to set.
* @return This builder for chaining.
*/
public Builder setGroupUserNum(int value) {
bitField0_ |= 0x00008000;
groupUserNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 groupUserNum = 16;
* @return This builder for chaining.
*/
public Builder clearGroupUserNum() {
bitField0_ = (bitField0_ & ~0x00008000);
groupUserNum_ = 0;
onChanged();
return this;
}
private java.util.List groupUser_ =
java.util.Collections.emptyList();
private void ensureGroupUserIsMutable() {
if (!((bitField0_ & 0x00010000) != 0)) {
groupUser_ = new java.util.ArrayList(groupUser_);
bitField0_ |= 0x00010000;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> groupUserBuilder_;
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public java.util.List getGroupUserList() {
if (groupUserBuilder_ == null) {
return java.util.Collections.unmodifiableList(groupUser_);
} else {
return groupUserBuilder_.getMessageList();
}
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public int getGroupUserCount() {
if (groupUserBuilder_ == null) {
return groupUser_.size();
} else {
return groupUserBuilder_.getCount();
}
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public wechat.protobuf.SKBuiltinString getGroupUser(int index) {
if (groupUserBuilder_ == null) {
return groupUser_.get(index);
} else {
return groupUserBuilder_.getMessage(index);
}
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public Builder setGroupUser(
int index, wechat.protobuf.SKBuiltinString value) {
if (groupUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupUserIsMutable();
groupUser_.set(index, value);
onChanged();
} else {
groupUserBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public Builder setGroupUser(
int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (groupUserBuilder_ == null) {
ensureGroupUserIsMutable();
groupUser_.set(index, builderForValue.build());
onChanged();
} else {
groupUserBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public Builder addGroupUser(wechat.protobuf.SKBuiltinString value) {
if (groupUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupUserIsMutable();
groupUser_.add(value);
onChanged();
} else {
groupUserBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public Builder addGroupUser(
int index, wechat.protobuf.SKBuiltinString value) {
if (groupUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupUserIsMutable();
groupUser_.add(index, value);
onChanged();
} else {
groupUserBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public Builder addGroupUser(
wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (groupUserBuilder_ == null) {
ensureGroupUserIsMutable();
groupUser_.add(builderForValue.build());
onChanged();
} else {
groupUserBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public Builder addGroupUser(
int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (groupUserBuilder_ == null) {
ensureGroupUserIsMutable();
groupUser_.add(index, builderForValue.build());
onChanged();
} else {
groupUserBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public Builder addAllGroupUser(
java.lang.Iterable extends wechat.protobuf.SKBuiltinString> values) {
if (groupUserBuilder_ == null) {
ensureGroupUserIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, groupUser_);
onChanged();
} else {
groupUserBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public Builder clearGroupUser() {
if (groupUserBuilder_ == null) {
groupUser_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00010000);
onChanged();
} else {
groupUserBuilder_.clear();
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public Builder removeGroupUser(int index) {
if (groupUserBuilder_ == null) {
ensureGroupUserIsMutable();
groupUser_.remove(index);
onChanged();
} else {
groupUserBuilder_.remove(index);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public wechat.protobuf.SKBuiltinString.Builder getGroupUserBuilder(
int index) {
return getGroupUserFieldBuilder().getBuilder(index);
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public wechat.protobuf.SKBuiltinStringOrBuilder getGroupUserOrBuilder(
int index) {
if (groupUserBuilder_ == null) {
return groupUser_.get(index); } else {
return groupUserBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getGroupUserOrBuilderList() {
if (groupUserBuilder_ != null) {
return groupUserBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(groupUser_);
}
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public wechat.protobuf.SKBuiltinString.Builder addGroupUserBuilder() {
return getGroupUserFieldBuilder().addBuilder(
wechat.protobuf.SKBuiltinString.getDefaultInstance());
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public wechat.protobuf.SKBuiltinString.Builder addGroupUserBuilder(
int index) {
return getGroupUserFieldBuilder().addBuilder(
index, wechat.protobuf.SKBuiltinString.getDefaultInstance());
}
/**
* repeated .wechat_proto.SKBuiltinString groupUser = 17;
*/
public java.util.List
getGroupUserBuilderList() {
return getGroupUserFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>
getGroupUserFieldBuilder() {
if (groupUserBuilder_ == null) {
groupUserBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>(
groupUser_,
((bitField0_ & 0x00010000) != 0),
getParentForChildren(),
isClean());
groupUser_ = null;
}
return groupUserBuilder_;
}
private wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo ctocUploadInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfoOrBuilder> ctocUploadInfoBuilder_;
/**
* optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18;
* @return Whether the ctocUploadInfo field is set.
*/
public boolean hasCtocUploadInfo() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18;
* @return The ctocUploadInfo.
*/
public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo getCtocUploadInfo() {
if (ctocUploadInfoBuilder_ == null) {
return ctocUploadInfo_ == null ? wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.getDefaultInstance() : ctocUploadInfo_;
} else {
return ctocUploadInfoBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18;
*/
public Builder setCtocUploadInfo(wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo value) {
if (ctocUploadInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ctocUploadInfo_ = value;
onChanged();
} else {
ctocUploadInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00020000;
return this;
}
/**
* optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18;
*/
public Builder setCtocUploadInfo(
wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder builderForValue) {
if (ctocUploadInfoBuilder_ == null) {
ctocUploadInfo_ = builderForValue.build();
onChanged();
} else {
ctocUploadInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00020000;
return this;
}
/**
* optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18;
*/
public Builder mergeCtocUploadInfo(wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo value) {
if (ctocUploadInfoBuilder_ == null) {
if (((bitField0_ & 0x00020000) != 0) &&
ctocUploadInfo_ != null &&
ctocUploadInfo_ != wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.getDefaultInstance()) {
ctocUploadInfo_ =
wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.newBuilder(ctocUploadInfo_).mergeFrom(value).buildPartial();
} else {
ctocUploadInfo_ = value;
}
onChanged();
} else {
ctocUploadInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00020000;
return this;
}
/**
* optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18;
*/
public Builder clearCtocUploadInfo() {
if (ctocUploadInfoBuilder_ == null) {
ctocUploadInfo_ = null;
onChanged();
} else {
ctocUploadInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00020000);
return this;
}
/**
* optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18;
*/
public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder getCtocUploadInfoBuilder() {
bitField0_ |= 0x00020000;
onChanged();
return getCtocUploadInfoFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18;
*/
public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfoOrBuilder getCtocUploadInfoOrBuilder() {
if (ctocUploadInfoBuilder_ != null) {
return ctocUploadInfoBuilder_.getMessageOrBuilder();
} else {
return ctocUploadInfo_ == null ?
wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.getDefaultInstance() : ctocUploadInfo_;
}
}
/**
* optional .wechat_proto.SnsPostCtocUploadInfo ctocUploadInfo = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfoOrBuilder>
getCtocUploadInfoFieldBuilder() {
if (ctocUploadInfoBuilder_ == null) {
ctocUploadInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfoOrBuilder>(
getCtocUploadInfo(),
getParentForChildren(),
isClean());
ctocUploadInfo_ = null;
}
return ctocUploadInfoBuilder_;
}
private wechat.protobuf.Friendgroup.SnsPostOperationFields snsPostOperationFields_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsPostOperationFields, wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder, wechat.protobuf.Friendgroup.SnsPostOperationFieldsOrBuilder> snsPostOperationFieldsBuilder_;
/**
* optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19;
* @return Whether the snsPostOperationFields field is set.
*/
public boolean hasSnsPostOperationFields() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
* optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19;
* @return The snsPostOperationFields.
*/
public wechat.protobuf.Friendgroup.SnsPostOperationFields getSnsPostOperationFields() {
if (snsPostOperationFieldsBuilder_ == null) {
return snsPostOperationFields_ == null ? wechat.protobuf.Friendgroup.SnsPostOperationFields.getDefaultInstance() : snsPostOperationFields_;
} else {
return snsPostOperationFieldsBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19;
*/
public Builder setSnsPostOperationFields(wechat.protobuf.Friendgroup.SnsPostOperationFields value) {
if (snsPostOperationFieldsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
snsPostOperationFields_ = value;
onChanged();
} else {
snsPostOperationFieldsBuilder_.setMessage(value);
}
bitField0_ |= 0x00040000;
return this;
}
/**
* optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19;
*/
public Builder setSnsPostOperationFields(
wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder builderForValue) {
if (snsPostOperationFieldsBuilder_ == null) {
snsPostOperationFields_ = builderForValue.build();
onChanged();
} else {
snsPostOperationFieldsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00040000;
return this;
}
/**
* optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19;
*/
public Builder mergeSnsPostOperationFields(wechat.protobuf.Friendgroup.SnsPostOperationFields value) {
if (snsPostOperationFieldsBuilder_ == null) {
if (((bitField0_ & 0x00040000) != 0) &&
snsPostOperationFields_ != null &&
snsPostOperationFields_ != wechat.protobuf.Friendgroup.SnsPostOperationFields.getDefaultInstance()) {
snsPostOperationFields_ =
wechat.protobuf.Friendgroup.SnsPostOperationFields.newBuilder(snsPostOperationFields_).mergeFrom(value).buildPartial();
} else {
snsPostOperationFields_ = value;
}
onChanged();
} else {
snsPostOperationFieldsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00040000;
return this;
}
/**
* optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19;
*/
public Builder clearSnsPostOperationFields() {
if (snsPostOperationFieldsBuilder_ == null) {
snsPostOperationFields_ = null;
onChanged();
} else {
snsPostOperationFieldsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00040000);
return this;
}
/**
* optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19;
*/
public wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder getSnsPostOperationFieldsBuilder() {
bitField0_ |= 0x00040000;
onChanged();
return getSnsPostOperationFieldsFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19;
*/
public wechat.protobuf.Friendgroup.SnsPostOperationFieldsOrBuilder getSnsPostOperationFieldsOrBuilder() {
if (snsPostOperationFieldsBuilder_ != null) {
return snsPostOperationFieldsBuilder_.getMessageOrBuilder();
} else {
return snsPostOperationFields_ == null ?
wechat.protobuf.Friendgroup.SnsPostOperationFields.getDefaultInstance() : snsPostOperationFields_;
}
}
/**
* optional .wechat_proto.SnsPostOperationFields snsPostOperationFields = 19;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsPostOperationFields, wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder, wechat.protobuf.Friendgroup.SnsPostOperationFieldsOrBuilder>
getSnsPostOperationFieldsFieldBuilder() {
if (snsPostOperationFieldsBuilder_ == null) {
snsPostOperationFieldsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsPostOperationFields, wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder, wechat.protobuf.Friendgroup.SnsPostOperationFieldsOrBuilder>(
getSnsPostOperationFields(),
getParentForChildren(),
isClean());
snsPostOperationFields_ = null;
}
return snsPostOperationFieldsBuilder_;
}
private wechat.protobuf.Friendgroup.SnsRedEnvelops snsRedEnvelops_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsRedEnvelops, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder, wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder> snsRedEnvelopsBuilder_;
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20;
* @return Whether the snsRedEnvelops field is set.
*/
public boolean hasSnsRedEnvelops() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20;
* @return The snsRedEnvelops.
*/
public wechat.protobuf.Friendgroup.SnsRedEnvelops getSnsRedEnvelops() {
if (snsRedEnvelopsBuilder_ == null) {
return snsRedEnvelops_ == null ? wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_;
} else {
return snsRedEnvelopsBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20;
*/
public Builder setSnsRedEnvelops(wechat.protobuf.Friendgroup.SnsRedEnvelops value) {
if (snsRedEnvelopsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
snsRedEnvelops_ = value;
onChanged();
} else {
snsRedEnvelopsBuilder_.setMessage(value);
}
bitField0_ |= 0x00080000;
return this;
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20;
*/
public Builder setSnsRedEnvelops(
wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder builderForValue) {
if (snsRedEnvelopsBuilder_ == null) {
snsRedEnvelops_ = builderForValue.build();
onChanged();
} else {
snsRedEnvelopsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00080000;
return this;
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20;
*/
public Builder mergeSnsRedEnvelops(wechat.protobuf.Friendgroup.SnsRedEnvelops value) {
if (snsRedEnvelopsBuilder_ == null) {
if (((bitField0_ & 0x00080000) != 0) &&
snsRedEnvelops_ != null &&
snsRedEnvelops_ != wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance()) {
snsRedEnvelops_ =
wechat.protobuf.Friendgroup.SnsRedEnvelops.newBuilder(snsRedEnvelops_).mergeFrom(value).buildPartial();
} else {
snsRedEnvelops_ = value;
}
onChanged();
} else {
snsRedEnvelopsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00080000;
return this;
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20;
*/
public Builder clearSnsRedEnvelops() {
if (snsRedEnvelopsBuilder_ == null) {
snsRedEnvelops_ = null;
onChanged();
} else {
snsRedEnvelopsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00080000);
return this;
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20;
*/
public wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder getSnsRedEnvelopsBuilder() {
bitField0_ |= 0x00080000;
onChanged();
return getSnsRedEnvelopsFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20;
*/
public wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder getSnsRedEnvelopsOrBuilder() {
if (snsRedEnvelopsBuilder_ != null) {
return snsRedEnvelopsBuilder_.getMessageOrBuilder();
} else {
return snsRedEnvelops_ == null ?
wechat.protobuf.Friendgroup.SnsRedEnvelops.getDefaultInstance() : snsRedEnvelops_;
}
}
/**
* optional .wechat_proto.SnsRedEnvelops snsRedEnvelops = 20;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsRedEnvelops, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder, wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder>
getSnsRedEnvelopsFieldBuilder() {
if (snsRedEnvelopsBuilder_ == null) {
snsRedEnvelopsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsRedEnvelops, wechat.protobuf.Friendgroup.SnsRedEnvelops.Builder, wechat.protobuf.Friendgroup.SnsRedEnvelopsOrBuilder>(
getSnsRedEnvelops(),
getParentForChildren(),
isClean());
snsRedEnvelops_ = null;
}
return snsRedEnvelopsBuilder_;
}
private wechat.protobuf.SKBuiltinString_ poiInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> poiInfoBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ poiInfo = 21;
* @return Whether the poiInfo field is set.
*/
public boolean hasPoiInfo() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ poiInfo = 21;
* @return The poiInfo.
*/
public wechat.protobuf.SKBuiltinString_ getPoiInfo() {
if (poiInfoBuilder_ == null) {
return poiInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : poiInfo_;
} else {
return poiInfoBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ poiInfo = 21;
*/
public Builder setPoiInfo(wechat.protobuf.SKBuiltinString_ value) {
if (poiInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
poiInfo_ = value;
onChanged();
} else {
poiInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00100000;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ poiInfo = 21;
*/
public Builder setPoiInfo(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (poiInfoBuilder_ == null) {
poiInfo_ = builderForValue.build();
onChanged();
} else {
poiInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00100000;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ poiInfo = 21;
*/
public Builder mergePoiInfo(wechat.protobuf.SKBuiltinString_ value) {
if (poiInfoBuilder_ == null) {
if (((bitField0_ & 0x00100000) != 0) &&
poiInfo_ != null &&
poiInfo_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
poiInfo_ =
wechat.protobuf.SKBuiltinString_.newBuilder(poiInfo_).mergeFrom(value).buildPartial();
} else {
poiInfo_ = value;
}
onChanged();
} else {
poiInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00100000;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ poiInfo = 21;
*/
public Builder clearPoiInfo() {
if (poiInfoBuilder_ == null) {
poiInfo_ = null;
onChanged();
} else {
poiInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00100000);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ poiInfo = 21;
*/
public wechat.protobuf.SKBuiltinString_.Builder getPoiInfoBuilder() {
bitField0_ |= 0x00100000;
onChanged();
return getPoiInfoFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ poiInfo = 21;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getPoiInfoOrBuilder() {
if (poiInfoBuilder_ != null) {
return poiInfoBuilder_.getMessageOrBuilder();
} else {
return poiInfo_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : poiInfo_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ poiInfo = 21;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getPoiInfoFieldBuilder() {
if (poiInfoBuilder_ == null) {
poiInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getPoiInfo(),
getParentForChildren(),
isClean());
poiInfo_ = null;
}
return poiInfoBuilder_;
}
private java.lang.Object fromScene_ = "";
/**
* optional string fromScene = 22;
* @return Whether the fromScene field is set.
*/
public boolean hasFromScene() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
* optional string fromScene = 22;
* @return The fromScene.
*/
public java.lang.String getFromScene() {
java.lang.Object ref = fromScene_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
fromScene_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string fromScene = 22;
* @return The bytes for fromScene.
*/
public com.google.protobuf.ByteString
getFromSceneBytes() {
java.lang.Object ref = fromScene_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fromScene_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string fromScene = 22;
* @param value The fromScene to set.
* @return This builder for chaining.
*/
public Builder setFromScene(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00200000;
fromScene_ = value;
onChanged();
return this;
}
/**
* optional string fromScene = 22;
* @return This builder for chaining.
*/
public Builder clearFromScene() {
bitField0_ = (bitField0_ & ~0x00200000);
fromScene_ = getDefaultInstance().getFromScene();
onChanged();
return this;
}
/**
* optional string fromScene = 22;
* @param value The bytes for fromScene to set.
* @return This builder for chaining.
*/
public Builder setFromSceneBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00200000;
fromScene_ = value;
onChanged();
return this;
}
private wechat.protobuf.Friendgroup.CanvasInfo canvasInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.CanvasInfo, wechat.protobuf.Friendgroup.CanvasInfo.Builder, wechat.protobuf.Friendgroup.CanvasInfoOrBuilder> canvasInfoBuilder_;
/**
* optional .wechat_proto.CanvasInfo canvasInfo = 23;
* @return Whether the canvasInfo field is set.
*/
public boolean hasCanvasInfo() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
* optional .wechat_proto.CanvasInfo canvasInfo = 23;
* @return The canvasInfo.
*/
public wechat.protobuf.Friendgroup.CanvasInfo getCanvasInfo() {
if (canvasInfoBuilder_ == null) {
return canvasInfo_ == null ? wechat.protobuf.Friendgroup.CanvasInfo.getDefaultInstance() : canvasInfo_;
} else {
return canvasInfoBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.CanvasInfo canvasInfo = 23;
*/
public Builder setCanvasInfo(wechat.protobuf.Friendgroup.CanvasInfo value) {
if (canvasInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
canvasInfo_ = value;
onChanged();
} else {
canvasInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00400000;
return this;
}
/**
* optional .wechat_proto.CanvasInfo canvasInfo = 23;
*/
public Builder setCanvasInfo(
wechat.protobuf.Friendgroup.CanvasInfo.Builder builderForValue) {
if (canvasInfoBuilder_ == null) {
canvasInfo_ = builderForValue.build();
onChanged();
} else {
canvasInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00400000;
return this;
}
/**
* optional .wechat_proto.CanvasInfo canvasInfo = 23;
*/
public Builder mergeCanvasInfo(wechat.protobuf.Friendgroup.CanvasInfo value) {
if (canvasInfoBuilder_ == null) {
if (((bitField0_ & 0x00400000) != 0) &&
canvasInfo_ != null &&
canvasInfo_ != wechat.protobuf.Friendgroup.CanvasInfo.getDefaultInstance()) {
canvasInfo_ =
wechat.protobuf.Friendgroup.CanvasInfo.newBuilder(canvasInfo_).mergeFrom(value).buildPartial();
} else {
canvasInfo_ = value;
}
onChanged();
} else {
canvasInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00400000;
return this;
}
/**
* optional .wechat_proto.CanvasInfo canvasInfo = 23;
*/
public Builder clearCanvasInfo() {
if (canvasInfoBuilder_ == null) {
canvasInfo_ = null;
onChanged();
} else {
canvasInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00400000);
return this;
}
/**
* optional .wechat_proto.CanvasInfo canvasInfo = 23;
*/
public wechat.protobuf.Friendgroup.CanvasInfo.Builder getCanvasInfoBuilder() {
bitField0_ |= 0x00400000;
onChanged();
return getCanvasInfoFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.CanvasInfo canvasInfo = 23;
*/
public wechat.protobuf.Friendgroup.CanvasInfoOrBuilder getCanvasInfoOrBuilder() {
if (canvasInfoBuilder_ != null) {
return canvasInfoBuilder_.getMessageOrBuilder();
} else {
return canvasInfo_ == null ?
wechat.protobuf.Friendgroup.CanvasInfo.getDefaultInstance() : canvasInfo_;
}
}
/**
* optional .wechat_proto.CanvasInfo canvasInfo = 23;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.CanvasInfo, wechat.protobuf.Friendgroup.CanvasInfo.Builder, wechat.protobuf.Friendgroup.CanvasInfoOrBuilder>
getCanvasInfoFieldBuilder() {
if (canvasInfoBuilder_ == null) {
canvasInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.CanvasInfo, wechat.protobuf.Friendgroup.CanvasInfo.Builder, wechat.protobuf.Friendgroup.CanvasInfoOrBuilder>(
getCanvasInfo(),
getParentForChildren(),
isClean());
canvasInfo_ = null;
}
return canvasInfoBuilder_;
}
private int mediaInfoNum_ ;
/**
* optional uint32 mediaInfoNum = 24;
* @return Whether the mediaInfoNum field is set.
*/
@java.lang.Override
public boolean hasMediaInfoNum() {
return ((bitField0_ & 0x00800000) != 0);
}
/**
* optional uint32 mediaInfoNum = 24;
* @return The mediaInfoNum.
*/
@java.lang.Override
public int getMediaInfoNum() {
return mediaInfoNum_;
}
/**
* optional uint32 mediaInfoNum = 24;
* @param value The mediaInfoNum to set.
* @return This builder for chaining.
*/
public Builder setMediaInfoNum(int value) {
bitField0_ |= 0x00800000;
mediaInfoNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 mediaInfoNum = 24;
* @return This builder for chaining.
*/
public Builder clearMediaInfoNum() {
bitField0_ = (bitField0_ & ~0x00800000);
mediaInfoNum_ = 0;
onChanged();
return this;
}
private java.util.List mediaInfo_ =
java.util.Collections.emptyList();
private void ensureMediaInfoIsMutable() {
if (!((bitField0_ & 0x01000000) != 0)) {
mediaInfo_ = new java.util.ArrayList(mediaInfo_);
bitField0_ |= 0x01000000;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.MediaInfo, wechat.protobuf.Friendgroup.MediaInfo.Builder, wechat.protobuf.Friendgroup.MediaInfoOrBuilder> mediaInfoBuilder_;
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public java.util.List getMediaInfoList() {
if (mediaInfoBuilder_ == null) {
return java.util.Collections.unmodifiableList(mediaInfo_);
} else {
return mediaInfoBuilder_.getMessageList();
}
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public int getMediaInfoCount() {
if (mediaInfoBuilder_ == null) {
return mediaInfo_.size();
} else {
return mediaInfoBuilder_.getCount();
}
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public wechat.protobuf.Friendgroup.MediaInfo getMediaInfo(int index) {
if (mediaInfoBuilder_ == null) {
return mediaInfo_.get(index);
} else {
return mediaInfoBuilder_.getMessage(index);
}
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public Builder setMediaInfo(
int index, wechat.protobuf.Friendgroup.MediaInfo value) {
if (mediaInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMediaInfoIsMutable();
mediaInfo_.set(index, value);
onChanged();
} else {
mediaInfoBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public Builder setMediaInfo(
int index, wechat.protobuf.Friendgroup.MediaInfo.Builder builderForValue) {
if (mediaInfoBuilder_ == null) {
ensureMediaInfoIsMutable();
mediaInfo_.set(index, builderForValue.build());
onChanged();
} else {
mediaInfoBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public Builder addMediaInfo(wechat.protobuf.Friendgroup.MediaInfo value) {
if (mediaInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMediaInfoIsMutable();
mediaInfo_.add(value);
onChanged();
} else {
mediaInfoBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public Builder addMediaInfo(
int index, wechat.protobuf.Friendgroup.MediaInfo value) {
if (mediaInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMediaInfoIsMutable();
mediaInfo_.add(index, value);
onChanged();
} else {
mediaInfoBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public Builder addMediaInfo(
wechat.protobuf.Friendgroup.MediaInfo.Builder builderForValue) {
if (mediaInfoBuilder_ == null) {
ensureMediaInfoIsMutable();
mediaInfo_.add(builderForValue.build());
onChanged();
} else {
mediaInfoBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public Builder addMediaInfo(
int index, wechat.protobuf.Friendgroup.MediaInfo.Builder builderForValue) {
if (mediaInfoBuilder_ == null) {
ensureMediaInfoIsMutable();
mediaInfo_.add(index, builderForValue.build());
onChanged();
} else {
mediaInfoBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public Builder addAllMediaInfo(
java.lang.Iterable extends wechat.protobuf.Friendgroup.MediaInfo> values) {
if (mediaInfoBuilder_ == null) {
ensureMediaInfoIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, mediaInfo_);
onChanged();
} else {
mediaInfoBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public Builder clearMediaInfo() {
if (mediaInfoBuilder_ == null) {
mediaInfo_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x01000000);
onChanged();
} else {
mediaInfoBuilder_.clear();
}
return this;
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public Builder removeMediaInfo(int index) {
if (mediaInfoBuilder_ == null) {
ensureMediaInfoIsMutable();
mediaInfo_.remove(index);
onChanged();
} else {
mediaInfoBuilder_.remove(index);
}
return this;
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public wechat.protobuf.Friendgroup.MediaInfo.Builder getMediaInfoBuilder(
int index) {
return getMediaInfoFieldBuilder().getBuilder(index);
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public wechat.protobuf.Friendgroup.MediaInfoOrBuilder getMediaInfoOrBuilder(
int index) {
if (mediaInfoBuilder_ == null) {
return mediaInfo_.get(index); } else {
return mediaInfoBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public java.util.List extends wechat.protobuf.Friendgroup.MediaInfoOrBuilder>
getMediaInfoOrBuilderList() {
if (mediaInfoBuilder_ != null) {
return mediaInfoBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(mediaInfo_);
}
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public wechat.protobuf.Friendgroup.MediaInfo.Builder addMediaInfoBuilder() {
return getMediaInfoFieldBuilder().addBuilder(
wechat.protobuf.Friendgroup.MediaInfo.getDefaultInstance());
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public wechat.protobuf.Friendgroup.MediaInfo.Builder addMediaInfoBuilder(
int index) {
return getMediaInfoFieldBuilder().addBuilder(
index, wechat.protobuf.Friendgroup.MediaInfo.getDefaultInstance());
}
/**
* repeated .wechat_proto.MediaInfo mediaInfo = 25;
*/
public java.util.List
getMediaInfoBuilderList() {
return getMediaInfoFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.MediaInfo, wechat.protobuf.Friendgroup.MediaInfo.Builder, wechat.protobuf.Friendgroup.MediaInfoOrBuilder>
getMediaInfoFieldBuilder() {
if (mediaInfoBuilder_ == null) {
mediaInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.MediaInfo, wechat.protobuf.Friendgroup.MediaInfo.Builder, wechat.protobuf.Friendgroup.MediaInfoOrBuilder>(
mediaInfo_,
((bitField0_ & 0x01000000) != 0),
getParentForChildren(),
isClean());
mediaInfo_ = null;
}
return mediaInfoBuilder_;
}
private wechat.protobuf.Friendgroup.SnsWeAppInfo weAppInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsWeAppInfo, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder, wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder> weAppInfoBuilder_;
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 26;
* @return Whether the weAppInfo field is set.
*/
public boolean hasWeAppInfo() {
return ((bitField0_ & 0x02000000) != 0);
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 26;
* @return The weAppInfo.
*/
public wechat.protobuf.Friendgroup.SnsWeAppInfo getWeAppInfo() {
if (weAppInfoBuilder_ == null) {
return weAppInfo_ == null ? wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_;
} else {
return weAppInfoBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 26;
*/
public Builder setWeAppInfo(wechat.protobuf.Friendgroup.SnsWeAppInfo value) {
if (weAppInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
weAppInfo_ = value;
onChanged();
} else {
weAppInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x02000000;
return this;
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 26;
*/
public Builder setWeAppInfo(
wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder builderForValue) {
if (weAppInfoBuilder_ == null) {
weAppInfo_ = builderForValue.build();
onChanged();
} else {
weAppInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x02000000;
return this;
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 26;
*/
public Builder mergeWeAppInfo(wechat.protobuf.Friendgroup.SnsWeAppInfo value) {
if (weAppInfoBuilder_ == null) {
if (((bitField0_ & 0x02000000) != 0) &&
weAppInfo_ != null &&
weAppInfo_ != wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance()) {
weAppInfo_ =
wechat.protobuf.Friendgroup.SnsWeAppInfo.newBuilder(weAppInfo_).mergeFrom(value).buildPartial();
} else {
weAppInfo_ = value;
}
onChanged();
} else {
weAppInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x02000000;
return this;
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 26;
*/
public Builder clearWeAppInfo() {
if (weAppInfoBuilder_ == null) {
weAppInfo_ = null;
onChanged();
} else {
weAppInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x02000000);
return this;
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 26;
*/
public wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder getWeAppInfoBuilder() {
bitField0_ |= 0x02000000;
onChanged();
return getWeAppInfoFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 26;
*/
public wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder getWeAppInfoOrBuilder() {
if (weAppInfoBuilder_ != null) {
return weAppInfoBuilder_.getMessageOrBuilder();
} else {
return weAppInfo_ == null ?
wechat.protobuf.Friendgroup.SnsWeAppInfo.getDefaultInstance() : weAppInfo_;
}
}
/**
* optional .wechat_proto.SnsWeAppInfo weAppInfo = 26;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsWeAppInfo, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder, wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder>
getWeAppInfoFieldBuilder() {
if (weAppInfoBuilder_ == null) {
weAppInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsWeAppInfo, wechat.protobuf.Friendgroup.SnsWeAppInfo.Builder, wechat.protobuf.Friendgroup.SnsWeAppInfoOrBuilder>(
getWeAppInfo(),
getParentForChildren(),
isClean());
weAppInfo_ = null;
}
return weAppInfoBuilder_;
}
private wechat.protobuf.SKBuiltinString_ clientCheckData_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> clientCheckDataBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ clientCheckData = 27;
* @return Whether the clientCheckData field is set.
*/
public boolean hasClientCheckData() {
return ((bitField0_ & 0x04000000) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ clientCheckData = 27;
* @return The clientCheckData.
*/
public wechat.protobuf.SKBuiltinString_ getClientCheckData() {
if (clientCheckDataBuilder_ == null) {
return clientCheckData_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clientCheckData_;
} else {
return clientCheckDataBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ clientCheckData = 27;
*/
public Builder setClientCheckData(wechat.protobuf.SKBuiltinString_ value) {
if (clientCheckDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
clientCheckData_ = value;
onChanged();
} else {
clientCheckDataBuilder_.setMessage(value);
}
bitField0_ |= 0x04000000;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ clientCheckData = 27;
*/
public Builder setClientCheckData(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (clientCheckDataBuilder_ == null) {
clientCheckData_ = builderForValue.build();
onChanged();
} else {
clientCheckDataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x04000000;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ clientCheckData = 27;
*/
public Builder mergeClientCheckData(wechat.protobuf.SKBuiltinString_ value) {
if (clientCheckDataBuilder_ == null) {
if (((bitField0_ & 0x04000000) != 0) &&
clientCheckData_ != null &&
clientCheckData_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
clientCheckData_ =
wechat.protobuf.SKBuiltinString_.newBuilder(clientCheckData_).mergeFrom(value).buildPartial();
} else {
clientCheckData_ = value;
}
onChanged();
} else {
clientCheckDataBuilder_.mergeFrom(value);
}
bitField0_ |= 0x04000000;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ clientCheckData = 27;
*/
public Builder clearClientCheckData() {
if (clientCheckDataBuilder_ == null) {
clientCheckData_ = null;
onChanged();
} else {
clientCheckDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x04000000);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ clientCheckData = 27;
*/
public wechat.protobuf.SKBuiltinString_.Builder getClientCheckDataBuilder() {
bitField0_ |= 0x04000000;
onChanged();
return getClientCheckDataFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ clientCheckData = 27;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getClientCheckDataOrBuilder() {
if (clientCheckDataBuilder_ != null) {
return clientCheckDataBuilder_.getMessageOrBuilder();
} else {
return clientCheckData_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clientCheckData_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ clientCheckData = 27;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getClientCheckDataFieldBuilder() {
if (clientCheckDataBuilder_ == null) {
clientCheckDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getClientCheckData(),
getParentForChildren(),
isClean());
clientCheckData_ = null;
}
return clientCheckDataBuilder_;
}
private wechat.protobuf.SKBuiltinString_ extSpamInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> extSpamInfoBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28;
* @return Whether the extSpamInfo field is set.
*/
public boolean hasExtSpamInfo() {
return ((bitField0_ & 0x08000000) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28;
* @return The extSpamInfo.
*/
public wechat.protobuf.SKBuiltinString_ getExtSpamInfo() {
if (extSpamInfoBuilder_ == null) {
return extSpamInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : extSpamInfo_;
} else {
return extSpamInfoBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28;
*/
public Builder setExtSpamInfo(wechat.protobuf.SKBuiltinString_ value) {
if (extSpamInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
extSpamInfo_ = value;
onChanged();
} else {
extSpamInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x08000000;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28;
*/
public Builder setExtSpamInfo(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (extSpamInfoBuilder_ == null) {
extSpamInfo_ = builderForValue.build();
onChanged();
} else {
extSpamInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x08000000;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28;
*/
public Builder mergeExtSpamInfo(wechat.protobuf.SKBuiltinString_ value) {
if (extSpamInfoBuilder_ == null) {
if (((bitField0_ & 0x08000000) != 0) &&
extSpamInfo_ != null &&
extSpamInfo_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
extSpamInfo_ =
wechat.protobuf.SKBuiltinString_.newBuilder(extSpamInfo_).mergeFrom(value).buildPartial();
} else {
extSpamInfo_ = value;
}
onChanged();
} else {
extSpamInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x08000000;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28;
*/
public Builder clearExtSpamInfo() {
if (extSpamInfoBuilder_ == null) {
extSpamInfo_ = null;
onChanged();
} else {
extSpamInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x08000000);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28;
*/
public wechat.protobuf.SKBuiltinString_.Builder getExtSpamInfoBuilder() {
bitField0_ |= 0x08000000;
onChanged();
return getExtSpamInfoFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getExtSpamInfoOrBuilder() {
if (extSpamInfoBuilder_ != null) {
return extSpamInfoBuilder_.getMessageOrBuilder();
} else {
return extSpamInfo_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : extSpamInfo_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ extSpamInfo = 28;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getExtSpamInfoFieldBuilder() {
if (extSpamInfoBuilder_ == null) {
extSpamInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getExtSpamInfo(),
getParentForChildren(),
isClean());
extSpamInfo_ = null;
}
return extSpamInfoBuilder_;
}
@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.SnsPostRequest)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsPostRequest)
private static final wechat.protobuf.Friendgroup.SnsPostRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsPostRequest();
}
public static wechat.protobuf.Friendgroup.SnsPostRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsPostRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsPostRequest(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.Friendgroup.SnsPostRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TwitterInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.TwitterInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional string oauthToken = 1;
* @return Whether the oauthToken field is set.
*/
boolean hasOauthToken();
/**
* optional string oauthToken = 1;
* @return The oauthToken.
*/
java.lang.String getOauthToken();
/**
* optional string oauthToken = 1;
* @return The bytes for oauthToken.
*/
com.google.protobuf.ByteString
getOauthTokenBytes();
/**
* optional string oauthTokenSecret = 2;
* @return Whether the oauthTokenSecret field is set.
*/
boolean hasOauthTokenSecret();
/**
* optional string oauthTokenSecret = 2;
* @return The oauthTokenSecret.
*/
java.lang.String getOauthTokenSecret();
/**
* optional string oauthTokenSecret = 2;
* @return The bytes for oauthTokenSecret.
*/
com.google.protobuf.ByteString
getOauthTokenSecretBytes();
}
/**
* Protobuf type {@code wechat_proto.TwitterInfo}
*/
public static final class TwitterInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.TwitterInfo)
TwitterInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use TwitterInfo.newBuilder() to construct.
private TwitterInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TwitterInfo() {
oauthToken_ = "";
oauthTokenSecret_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TwitterInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TwitterInfo(
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: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
oauthToken_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
oauthTokenSecret_ = bs;
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.Friendgroup.internal_static_wechat_proto_TwitterInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_TwitterInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.TwitterInfo.class, wechat.protobuf.Friendgroup.TwitterInfo.Builder.class);
}
private int bitField0_;
public static final int OAUTHTOKEN_FIELD_NUMBER = 1;
private volatile java.lang.Object oauthToken_;
/**
* optional string oauthToken = 1;
* @return Whether the oauthToken field is set.
*/
@java.lang.Override
public boolean hasOauthToken() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string oauthToken = 1;
* @return The oauthToken.
*/
@java.lang.Override
public java.lang.String getOauthToken() {
java.lang.Object ref = oauthToken_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
oauthToken_ = s;
}
return s;
}
}
/**
* optional string oauthToken = 1;
* @return The bytes for oauthToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOauthTokenBytes() {
java.lang.Object ref = oauthToken_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
oauthToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OAUTHTOKENSECRET_FIELD_NUMBER = 2;
private volatile java.lang.Object oauthTokenSecret_;
/**
* optional string oauthTokenSecret = 2;
* @return Whether the oauthTokenSecret field is set.
*/
@java.lang.Override
public boolean hasOauthTokenSecret() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string oauthTokenSecret = 2;
* @return The oauthTokenSecret.
*/
@java.lang.Override
public java.lang.String getOauthTokenSecret() {
java.lang.Object ref = oauthTokenSecret_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
oauthTokenSecret_ = s;
}
return s;
}
}
/**
* optional string oauthTokenSecret = 2;
* @return The bytes for oauthTokenSecret.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOauthTokenSecretBytes() {
java.lang.Object ref = oauthTokenSecret_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
oauthTokenSecret_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, oauthToken_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, oauthTokenSecret_);
}
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.GeneratedMessageV3.computeStringSize(1, oauthToken_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, oauthTokenSecret_);
}
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.Friendgroup.TwitterInfo)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.TwitterInfo other = (wechat.protobuf.Friendgroup.TwitterInfo) obj;
if (hasOauthToken() != other.hasOauthToken()) return false;
if (hasOauthToken()) {
if (!getOauthToken()
.equals(other.getOauthToken())) return false;
}
if (hasOauthTokenSecret() != other.hasOauthTokenSecret()) return false;
if (hasOauthTokenSecret()) {
if (!getOauthTokenSecret()
.equals(other.getOauthTokenSecret())) 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 (hasOauthToken()) {
hash = (37 * hash) + OAUTHTOKEN_FIELD_NUMBER;
hash = (53 * hash) + getOauthToken().hashCode();
}
if (hasOauthTokenSecret()) {
hash = (37 * hash) + OAUTHTOKENSECRET_FIELD_NUMBER;
hash = (53 * hash) + getOauthTokenSecret().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.TwitterInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.TwitterInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.TwitterInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.TwitterInfo 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.Friendgroup.TwitterInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.TwitterInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.TwitterInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.TwitterInfo 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.Friendgroup.TwitterInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.TwitterInfo 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.Friendgroup.TwitterInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.TwitterInfo 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.Friendgroup.TwitterInfo 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.TwitterInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.TwitterInfo)
wechat.protobuf.Friendgroup.TwitterInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_TwitterInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_TwitterInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.TwitterInfo.class, wechat.protobuf.Friendgroup.TwitterInfo.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.TwitterInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
oauthToken_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
oauthTokenSecret_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_TwitterInfo_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.TwitterInfo getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.TwitterInfo.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.TwitterInfo build() {
wechat.protobuf.Friendgroup.TwitterInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.TwitterInfo buildPartial() {
wechat.protobuf.Friendgroup.TwitterInfo result = new wechat.protobuf.Friendgroup.TwitterInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.oauthToken_ = oauthToken_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.oauthTokenSecret_ = oauthTokenSecret_;
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.Friendgroup.TwitterInfo) {
return mergeFrom((wechat.protobuf.Friendgroup.TwitterInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.TwitterInfo other) {
if (other == wechat.protobuf.Friendgroup.TwitterInfo.getDefaultInstance()) return this;
if (other.hasOauthToken()) {
bitField0_ |= 0x00000001;
oauthToken_ = other.oauthToken_;
onChanged();
}
if (other.hasOauthTokenSecret()) {
bitField0_ |= 0x00000002;
oauthTokenSecret_ = other.oauthTokenSecret_;
onChanged();
}
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.Friendgroup.TwitterInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.TwitterInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object oauthToken_ = "";
/**
* optional string oauthToken = 1;
* @return Whether the oauthToken field is set.
*/
public boolean hasOauthToken() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string oauthToken = 1;
* @return The oauthToken.
*/
public java.lang.String getOauthToken() {
java.lang.Object ref = oauthToken_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
oauthToken_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string oauthToken = 1;
* @return The bytes for oauthToken.
*/
public com.google.protobuf.ByteString
getOauthTokenBytes() {
java.lang.Object ref = oauthToken_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
oauthToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string oauthToken = 1;
* @param value The oauthToken to set.
* @return This builder for chaining.
*/
public Builder setOauthToken(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
oauthToken_ = value;
onChanged();
return this;
}
/**
* optional string oauthToken = 1;
* @return This builder for chaining.
*/
public Builder clearOauthToken() {
bitField0_ = (bitField0_ & ~0x00000001);
oauthToken_ = getDefaultInstance().getOauthToken();
onChanged();
return this;
}
/**
* optional string oauthToken = 1;
* @param value The bytes for oauthToken to set.
* @return This builder for chaining.
*/
public Builder setOauthTokenBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
oauthToken_ = value;
onChanged();
return this;
}
private java.lang.Object oauthTokenSecret_ = "";
/**
* optional string oauthTokenSecret = 2;
* @return Whether the oauthTokenSecret field is set.
*/
public boolean hasOauthTokenSecret() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string oauthTokenSecret = 2;
* @return The oauthTokenSecret.
*/
public java.lang.String getOauthTokenSecret() {
java.lang.Object ref = oauthTokenSecret_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
oauthTokenSecret_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string oauthTokenSecret = 2;
* @return The bytes for oauthTokenSecret.
*/
public com.google.protobuf.ByteString
getOauthTokenSecretBytes() {
java.lang.Object ref = oauthTokenSecret_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
oauthTokenSecret_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string oauthTokenSecret = 2;
* @param value The oauthTokenSecret to set.
* @return This builder for chaining.
*/
public Builder setOauthTokenSecret(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
oauthTokenSecret_ = value;
onChanged();
return this;
}
/**
* optional string oauthTokenSecret = 2;
* @return This builder for chaining.
*/
public Builder clearOauthTokenSecret() {
bitField0_ = (bitField0_ & ~0x00000002);
oauthTokenSecret_ = getDefaultInstance().getOauthTokenSecret();
onChanged();
return this;
}
/**
* optional string oauthTokenSecret = 2;
* @param value The bytes for oauthTokenSecret to set.
* @return This builder for chaining.
*/
public Builder setOauthTokenSecretBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
oauthTokenSecret_ = value;
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.TwitterInfo)
}
// @@protoc_insertion_point(class_scope:wechat_proto.TwitterInfo)
private static final wechat.protobuf.Friendgroup.TwitterInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.TwitterInfo();
}
public static wechat.protobuf.Friendgroup.TwitterInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TwitterInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TwitterInfo(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.Friendgroup.TwitterInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsPostCtocUploadInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsPostCtocUploadInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 flag = 1;
* @return Whether the flag field is set.
*/
boolean hasFlag();
/**
* optional uint32 flag = 1;
* @return The flag.
*/
int getFlag();
/**
* optional uint32 photoNum = 2;
* @return Whether the photoNum field is set.
*/
boolean hasPhotoNum();
/**
* optional uint32 photoNum = 2;
* @return The photoNum.
*/
int getPhotoNum();
}
/**
* Protobuf type {@code wechat_proto.SnsPostCtocUploadInfo}
*/
public static final class SnsPostCtocUploadInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsPostCtocUploadInfo)
SnsPostCtocUploadInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsPostCtocUploadInfo.newBuilder() to construct.
private SnsPostCtocUploadInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsPostCtocUploadInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsPostCtocUploadInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsPostCtocUploadInfo(
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;
flag_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
photoNum_ = 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.Friendgroup.internal_static_wechat_proto_SnsPostCtocUploadInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostCtocUploadInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.class, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder.class);
}
private int bitField0_;
public static final int FLAG_FIELD_NUMBER = 1;
private int flag_;
/**
* optional uint32 flag = 1;
* @return Whether the flag field is set.
*/
@java.lang.Override
public boolean hasFlag() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 flag = 1;
* @return The flag.
*/
@java.lang.Override
public int getFlag() {
return flag_;
}
public static final int PHOTONUM_FIELD_NUMBER = 2;
private int photoNum_;
/**
* optional uint32 photoNum = 2;
* @return Whether the photoNum field is set.
*/
@java.lang.Override
public boolean hasPhotoNum() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 photoNum = 2;
* @return The photoNum.
*/
@java.lang.Override
public int getPhotoNum() {
return photoNum_;
}
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.writeUInt32(1, flag_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, photoNum_);
}
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
.computeUInt32Size(1, flag_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, photoNum_);
}
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.Friendgroup.SnsPostCtocUploadInfo)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo other = (wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo) obj;
if (hasFlag() != other.hasFlag()) return false;
if (hasFlag()) {
if (getFlag()
!= other.getFlag()) return false;
}
if (hasPhotoNum() != other.hasPhotoNum()) return false;
if (hasPhotoNum()) {
if (getPhotoNum()
!= other.getPhotoNum()) 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 (hasFlag()) {
hash = (37 * hash) + FLAG_FIELD_NUMBER;
hash = (53 * hash) + getFlag();
}
if (hasPhotoNum()) {
hash = (37 * hash) + PHOTONUM_FIELD_NUMBER;
hash = (53 * hash) + getPhotoNum();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo 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.Friendgroup.SnsPostCtocUploadInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo 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.Friendgroup.SnsPostCtocUploadInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo 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.Friendgroup.SnsPostCtocUploadInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo 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.Friendgroup.SnsPostCtocUploadInfo 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.SnsPostCtocUploadInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsPostCtocUploadInfo)
wechat.protobuf.Friendgroup.SnsPostCtocUploadInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostCtocUploadInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostCtocUploadInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.class, wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
flag_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
photoNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostCtocUploadInfo_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo build() {
wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo buildPartial() {
wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo result = new wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.flag_ = flag_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.photoNum_ = photoNum_;
to_bitField0_ |= 0x00000002;
}
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.Friendgroup.SnsPostCtocUploadInfo) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo other) {
if (other == wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo.getDefaultInstance()) return this;
if (other.hasFlag()) {
setFlag(other.getFlag());
}
if (other.hasPhotoNum()) {
setPhotoNum(other.getPhotoNum());
}
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.Friendgroup.SnsPostCtocUploadInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int flag_ ;
/**
* optional uint32 flag = 1;
* @return Whether the flag field is set.
*/
@java.lang.Override
public boolean hasFlag() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 flag = 1;
* @return The flag.
*/
@java.lang.Override
public int getFlag() {
return flag_;
}
/**
* optional uint32 flag = 1;
* @param value The flag to set.
* @return This builder for chaining.
*/
public Builder setFlag(int value) {
bitField0_ |= 0x00000001;
flag_ = value;
onChanged();
return this;
}
/**
* optional uint32 flag = 1;
* @return This builder for chaining.
*/
public Builder clearFlag() {
bitField0_ = (bitField0_ & ~0x00000001);
flag_ = 0;
onChanged();
return this;
}
private int photoNum_ ;
/**
* optional uint32 photoNum = 2;
* @return Whether the photoNum field is set.
*/
@java.lang.Override
public boolean hasPhotoNum() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 photoNum = 2;
* @return The photoNum.
*/
@java.lang.Override
public int getPhotoNum() {
return photoNum_;
}
/**
* optional uint32 photoNum = 2;
* @param value The photoNum to set.
* @return This builder for chaining.
*/
public Builder setPhotoNum(int value) {
bitField0_ |= 0x00000002;
photoNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 photoNum = 2;
* @return This builder for chaining.
*/
public Builder clearPhotoNum() {
bitField0_ = (bitField0_ & ~0x00000002);
photoNum_ = 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.SnsPostCtocUploadInfo)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsPostCtocUploadInfo)
private static final wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo();
}
public static wechat.protobuf.Friendgroup.SnsPostCtocUploadInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsPostCtocUploadInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsPostCtocUploadInfo(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.Friendgroup.SnsPostCtocUploadInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsPostOperationFieldsOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsPostOperationFields)
com.google.protobuf.MessageOrBuilder {
/**
* optional string shareUrlOriginal = 1;
* @return Whether the shareUrlOriginal field is set.
*/
boolean hasShareUrlOriginal();
/**
* optional string shareUrlOriginal = 1;
* @return The shareUrlOriginal.
*/
java.lang.String getShareUrlOriginal();
/**
* optional string shareUrlOriginal = 1;
* @return The bytes for shareUrlOriginal.
*/
com.google.protobuf.ByteString
getShareUrlOriginalBytes();
/**
* optional string shareUrlOpen = 2;
* @return Whether the shareUrlOpen field is set.
*/
boolean hasShareUrlOpen();
/**
* optional string shareUrlOpen = 2;
* @return The shareUrlOpen.
*/
java.lang.String getShareUrlOpen();
/**
* optional string shareUrlOpen = 2;
* @return The bytes for shareUrlOpen.
*/
com.google.protobuf.ByteString
getShareUrlOpenBytes();
/**
* optional string jsAppId = 3;
* @return Whether the jsAppId field is set.
*/
boolean hasJsAppId();
/**
* optional string jsAppId = 3;
* @return The jsAppId.
*/
java.lang.String getJsAppId();
/**
* optional string jsAppId = 3;
* @return The bytes for jsAppId.
*/
com.google.protobuf.ByteString
getJsAppIdBytes();
/**
* optional uint32 contactTagNum = 4;
* @return Whether the contactTagNum field is set.
*/
boolean hasContactTagNum();
/**
* optional uint32 contactTagNum = 4;
* @return The contactTagNum.
*/
int getContactTagNum();
/**
* optional uint32 tempUserNum = 5;
* @return Whether the tempUserNum field is set.
*/
boolean hasTempUserNum();
/**
* optional uint32 tempUserNum = 5;
* @return The tempUserNum.
*/
int getTempUserNum();
}
/**
* Protobuf type {@code wechat_proto.SnsPostOperationFields}
*/
public static final class SnsPostOperationFields extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsPostOperationFields)
SnsPostOperationFieldsOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsPostOperationFields.newBuilder() to construct.
private SnsPostOperationFields(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsPostOperationFields() {
shareUrlOriginal_ = "";
shareUrlOpen_ = "";
jsAppId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsPostOperationFields();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsPostOperationFields(
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: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
shareUrlOriginal_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
shareUrlOpen_ = bs;
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
jsAppId_ = bs;
break;
}
case 32: {
bitField0_ |= 0x00000008;
contactTagNum_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
tempUserNum_ = 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.Friendgroup.internal_static_wechat_proto_SnsPostOperationFields_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostOperationFields_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsPostOperationFields.class, wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder.class);
}
private int bitField0_;
public static final int SHAREURLORIGINAL_FIELD_NUMBER = 1;
private volatile java.lang.Object shareUrlOriginal_;
/**
* optional string shareUrlOriginal = 1;
* @return Whether the shareUrlOriginal field is set.
*/
@java.lang.Override
public boolean hasShareUrlOriginal() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string shareUrlOriginal = 1;
* @return The shareUrlOriginal.
*/
@java.lang.Override
public java.lang.String getShareUrlOriginal() {
java.lang.Object ref = shareUrlOriginal_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
shareUrlOriginal_ = s;
}
return s;
}
}
/**
* optional string shareUrlOriginal = 1;
* @return The bytes for shareUrlOriginal.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getShareUrlOriginalBytes() {
java.lang.Object ref = shareUrlOriginal_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
shareUrlOriginal_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SHAREURLOPEN_FIELD_NUMBER = 2;
private volatile java.lang.Object shareUrlOpen_;
/**
* optional string shareUrlOpen = 2;
* @return Whether the shareUrlOpen field is set.
*/
@java.lang.Override
public boolean hasShareUrlOpen() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string shareUrlOpen = 2;
* @return The shareUrlOpen.
*/
@java.lang.Override
public java.lang.String getShareUrlOpen() {
java.lang.Object ref = shareUrlOpen_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
shareUrlOpen_ = s;
}
return s;
}
}
/**
* optional string shareUrlOpen = 2;
* @return The bytes for shareUrlOpen.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getShareUrlOpenBytes() {
java.lang.Object ref = shareUrlOpen_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
shareUrlOpen_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int JSAPPID_FIELD_NUMBER = 3;
private volatile java.lang.Object jsAppId_;
/**
* optional string jsAppId = 3;
* @return Whether the jsAppId field is set.
*/
@java.lang.Override
public boolean hasJsAppId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string jsAppId = 3;
* @return The jsAppId.
*/
@java.lang.Override
public java.lang.String getJsAppId() {
java.lang.Object ref = jsAppId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
jsAppId_ = s;
}
return s;
}
}
/**
* optional string jsAppId = 3;
* @return The bytes for jsAppId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJsAppIdBytes() {
java.lang.Object ref = jsAppId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jsAppId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONTACTTAGNUM_FIELD_NUMBER = 4;
private int contactTagNum_;
/**
* optional uint32 contactTagNum = 4;
* @return Whether the contactTagNum field is set.
*/
@java.lang.Override
public boolean hasContactTagNum() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 contactTagNum = 4;
* @return The contactTagNum.
*/
@java.lang.Override
public int getContactTagNum() {
return contactTagNum_;
}
public static final int TEMPUSERNUM_FIELD_NUMBER = 5;
private int tempUserNum_;
/**
* optional uint32 tempUserNum = 5;
* @return Whether the tempUserNum field is set.
*/
@java.lang.Override
public boolean hasTempUserNum() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 tempUserNum = 5;
* @return The tempUserNum.
*/
@java.lang.Override
public int getTempUserNum() {
return tempUserNum_;
}
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)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, shareUrlOriginal_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shareUrlOpen_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, jsAppId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, contactTagNum_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, tempUserNum_);
}
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.GeneratedMessageV3.computeStringSize(1, shareUrlOriginal_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shareUrlOpen_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, jsAppId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, contactTagNum_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, tempUserNum_);
}
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.Friendgroup.SnsPostOperationFields)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsPostOperationFields other = (wechat.protobuf.Friendgroup.SnsPostOperationFields) obj;
if (hasShareUrlOriginal() != other.hasShareUrlOriginal()) return false;
if (hasShareUrlOriginal()) {
if (!getShareUrlOriginal()
.equals(other.getShareUrlOriginal())) return false;
}
if (hasShareUrlOpen() != other.hasShareUrlOpen()) return false;
if (hasShareUrlOpen()) {
if (!getShareUrlOpen()
.equals(other.getShareUrlOpen())) return false;
}
if (hasJsAppId() != other.hasJsAppId()) return false;
if (hasJsAppId()) {
if (!getJsAppId()
.equals(other.getJsAppId())) return false;
}
if (hasContactTagNum() != other.hasContactTagNum()) return false;
if (hasContactTagNum()) {
if (getContactTagNum()
!= other.getContactTagNum()) return false;
}
if (hasTempUserNum() != other.hasTempUserNum()) return false;
if (hasTempUserNum()) {
if (getTempUserNum()
!= other.getTempUserNum()) 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 (hasShareUrlOriginal()) {
hash = (37 * hash) + SHAREURLORIGINAL_FIELD_NUMBER;
hash = (53 * hash) + getShareUrlOriginal().hashCode();
}
if (hasShareUrlOpen()) {
hash = (37 * hash) + SHAREURLOPEN_FIELD_NUMBER;
hash = (53 * hash) + getShareUrlOpen().hashCode();
}
if (hasJsAppId()) {
hash = (37 * hash) + JSAPPID_FIELD_NUMBER;
hash = (53 * hash) + getJsAppId().hashCode();
}
if (hasContactTagNum()) {
hash = (37 * hash) + CONTACTTAGNUM_FIELD_NUMBER;
hash = (53 * hash) + getContactTagNum();
}
if (hasTempUserNum()) {
hash = (37 * hash) + TEMPUSERNUM_FIELD_NUMBER;
hash = (53 * hash) + getTempUserNum();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsPostOperationFields parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsPostOperationFields parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsPostOperationFields parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsPostOperationFields 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.Friendgroup.SnsPostOperationFields parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsPostOperationFields parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsPostOperationFields parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsPostOperationFields 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.Friendgroup.SnsPostOperationFields parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsPostOperationFields 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.Friendgroup.SnsPostOperationFields parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsPostOperationFields 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.Friendgroup.SnsPostOperationFields 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.SnsPostOperationFields}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsPostOperationFields)
wechat.protobuf.Friendgroup.SnsPostOperationFieldsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostOperationFields_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostOperationFields_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsPostOperationFields.class, wechat.protobuf.Friendgroup.SnsPostOperationFields.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsPostOperationFields.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
shareUrlOriginal_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
shareUrlOpen_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
jsAppId_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
contactTagNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
tempUserNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostOperationFields_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostOperationFields getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsPostOperationFields.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostOperationFields build() {
wechat.protobuf.Friendgroup.SnsPostOperationFields result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostOperationFields buildPartial() {
wechat.protobuf.Friendgroup.SnsPostOperationFields result = new wechat.protobuf.Friendgroup.SnsPostOperationFields(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.shareUrlOriginal_ = shareUrlOriginal_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.shareUrlOpen_ = shareUrlOpen_;
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.jsAppId_ = jsAppId_;
if (((from_bitField0_ & 0x00000008) != 0)) {
result.contactTagNum_ = contactTagNum_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.tempUserNum_ = tempUserNum_;
to_bitField0_ |= 0x00000010;
}
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.Friendgroup.SnsPostOperationFields) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsPostOperationFields)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsPostOperationFields other) {
if (other == wechat.protobuf.Friendgroup.SnsPostOperationFields.getDefaultInstance()) return this;
if (other.hasShareUrlOriginal()) {
bitField0_ |= 0x00000001;
shareUrlOriginal_ = other.shareUrlOriginal_;
onChanged();
}
if (other.hasShareUrlOpen()) {
bitField0_ |= 0x00000002;
shareUrlOpen_ = other.shareUrlOpen_;
onChanged();
}
if (other.hasJsAppId()) {
bitField0_ |= 0x00000004;
jsAppId_ = other.jsAppId_;
onChanged();
}
if (other.hasContactTagNum()) {
setContactTagNum(other.getContactTagNum());
}
if (other.hasTempUserNum()) {
setTempUserNum(other.getTempUserNum());
}
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.Friendgroup.SnsPostOperationFields parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsPostOperationFields) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object shareUrlOriginal_ = "";
/**
* optional string shareUrlOriginal = 1;
* @return Whether the shareUrlOriginal field is set.
*/
public boolean hasShareUrlOriginal() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string shareUrlOriginal = 1;
* @return The shareUrlOriginal.
*/
public java.lang.String getShareUrlOriginal() {
java.lang.Object ref = shareUrlOriginal_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
shareUrlOriginal_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string shareUrlOriginal = 1;
* @return The bytes for shareUrlOriginal.
*/
public com.google.protobuf.ByteString
getShareUrlOriginalBytes() {
java.lang.Object ref = shareUrlOriginal_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
shareUrlOriginal_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string shareUrlOriginal = 1;
* @param value The shareUrlOriginal to set.
* @return This builder for chaining.
*/
public Builder setShareUrlOriginal(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
shareUrlOriginal_ = value;
onChanged();
return this;
}
/**
* optional string shareUrlOriginal = 1;
* @return This builder for chaining.
*/
public Builder clearShareUrlOriginal() {
bitField0_ = (bitField0_ & ~0x00000001);
shareUrlOriginal_ = getDefaultInstance().getShareUrlOriginal();
onChanged();
return this;
}
/**
* optional string shareUrlOriginal = 1;
* @param value The bytes for shareUrlOriginal to set.
* @return This builder for chaining.
*/
public Builder setShareUrlOriginalBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
shareUrlOriginal_ = value;
onChanged();
return this;
}
private java.lang.Object shareUrlOpen_ = "";
/**
* optional string shareUrlOpen = 2;
* @return Whether the shareUrlOpen field is set.
*/
public boolean hasShareUrlOpen() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string shareUrlOpen = 2;
* @return The shareUrlOpen.
*/
public java.lang.String getShareUrlOpen() {
java.lang.Object ref = shareUrlOpen_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
shareUrlOpen_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string shareUrlOpen = 2;
* @return The bytes for shareUrlOpen.
*/
public com.google.protobuf.ByteString
getShareUrlOpenBytes() {
java.lang.Object ref = shareUrlOpen_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
shareUrlOpen_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string shareUrlOpen = 2;
* @param value The shareUrlOpen to set.
* @return This builder for chaining.
*/
public Builder setShareUrlOpen(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
shareUrlOpen_ = value;
onChanged();
return this;
}
/**
* optional string shareUrlOpen = 2;
* @return This builder for chaining.
*/
public Builder clearShareUrlOpen() {
bitField0_ = (bitField0_ & ~0x00000002);
shareUrlOpen_ = getDefaultInstance().getShareUrlOpen();
onChanged();
return this;
}
/**
* optional string shareUrlOpen = 2;
* @param value The bytes for shareUrlOpen to set.
* @return This builder for chaining.
*/
public Builder setShareUrlOpenBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
shareUrlOpen_ = value;
onChanged();
return this;
}
private java.lang.Object jsAppId_ = "";
/**
* optional string jsAppId = 3;
* @return Whether the jsAppId field is set.
*/
public boolean hasJsAppId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string jsAppId = 3;
* @return The jsAppId.
*/
public java.lang.String getJsAppId() {
java.lang.Object ref = jsAppId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
jsAppId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string jsAppId = 3;
* @return The bytes for jsAppId.
*/
public com.google.protobuf.ByteString
getJsAppIdBytes() {
java.lang.Object ref = jsAppId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jsAppId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string jsAppId = 3;
* @param value The jsAppId to set.
* @return This builder for chaining.
*/
public Builder setJsAppId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
jsAppId_ = value;
onChanged();
return this;
}
/**
* optional string jsAppId = 3;
* @return This builder for chaining.
*/
public Builder clearJsAppId() {
bitField0_ = (bitField0_ & ~0x00000004);
jsAppId_ = getDefaultInstance().getJsAppId();
onChanged();
return this;
}
/**
* optional string jsAppId = 3;
* @param value The bytes for jsAppId to set.
* @return This builder for chaining.
*/
public Builder setJsAppIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
jsAppId_ = value;
onChanged();
return this;
}
private int contactTagNum_ ;
/**
* optional uint32 contactTagNum = 4;
* @return Whether the contactTagNum field is set.
*/
@java.lang.Override
public boolean hasContactTagNum() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 contactTagNum = 4;
* @return The contactTagNum.
*/
@java.lang.Override
public int getContactTagNum() {
return contactTagNum_;
}
/**
* optional uint32 contactTagNum = 4;
* @param value The contactTagNum to set.
* @return This builder for chaining.
*/
public Builder setContactTagNum(int value) {
bitField0_ |= 0x00000008;
contactTagNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 contactTagNum = 4;
* @return This builder for chaining.
*/
public Builder clearContactTagNum() {
bitField0_ = (bitField0_ & ~0x00000008);
contactTagNum_ = 0;
onChanged();
return this;
}
private int tempUserNum_ ;
/**
* optional uint32 tempUserNum = 5;
* @return Whether the tempUserNum field is set.
*/
@java.lang.Override
public boolean hasTempUserNum() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 tempUserNum = 5;
* @return The tempUserNum.
*/
@java.lang.Override
public int getTempUserNum() {
return tempUserNum_;
}
/**
* optional uint32 tempUserNum = 5;
* @param value The tempUserNum to set.
* @return This builder for chaining.
*/
public Builder setTempUserNum(int value) {
bitField0_ |= 0x00000010;
tempUserNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 tempUserNum = 5;
* @return This builder for chaining.
*/
public Builder clearTempUserNum() {
bitField0_ = (bitField0_ & ~0x00000010);
tempUserNum_ = 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.SnsPostOperationFields)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsPostOperationFields)
private static final wechat.protobuf.Friendgroup.SnsPostOperationFields DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsPostOperationFields();
}
public static wechat.protobuf.Friendgroup.SnsPostOperationFields getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsPostOperationFields parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsPostOperationFields(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.Friendgroup.SnsPostOperationFields getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CanvasInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.CanvasInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional string dataBuffer = 1;
* @return Whether the dataBuffer field is set.
*/
boolean hasDataBuffer();
/**
* optional string dataBuffer = 1;
* @return The dataBuffer.
*/
java.lang.String getDataBuffer();
/**
* optional string dataBuffer = 1;
* @return The bytes for dataBuffer.
*/
com.google.protobuf.ByteString
getDataBufferBytes();
}
/**
* Protobuf type {@code wechat_proto.CanvasInfo}
*/
public static final class CanvasInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.CanvasInfo)
CanvasInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use CanvasInfo.newBuilder() to construct.
private CanvasInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CanvasInfo() {
dataBuffer_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CanvasInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CanvasInfo(
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: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
dataBuffer_ = bs;
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.Friendgroup.internal_static_wechat_proto_CanvasInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CanvasInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.CanvasInfo.class, wechat.protobuf.Friendgroup.CanvasInfo.Builder.class);
}
private int bitField0_;
public static final int DATABUFFER_FIELD_NUMBER = 1;
private volatile java.lang.Object dataBuffer_;
/**
* optional string dataBuffer = 1;
* @return Whether the dataBuffer field is set.
*/
@java.lang.Override
public boolean hasDataBuffer() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string dataBuffer = 1;
* @return The dataBuffer.
*/
@java.lang.Override
public java.lang.String getDataBuffer() {
java.lang.Object ref = dataBuffer_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
dataBuffer_ = s;
}
return s;
}
}
/**
* optional string dataBuffer = 1;
* @return The bytes for dataBuffer.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDataBufferBytes() {
java.lang.Object ref = dataBuffer_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataBuffer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataBuffer_);
}
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.GeneratedMessageV3.computeStringSize(1, dataBuffer_);
}
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.Friendgroup.CanvasInfo)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.CanvasInfo other = (wechat.protobuf.Friendgroup.CanvasInfo) obj;
if (hasDataBuffer() != other.hasDataBuffer()) return false;
if (hasDataBuffer()) {
if (!getDataBuffer()
.equals(other.getDataBuffer())) 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 (hasDataBuffer()) {
hash = (37 * hash) + DATABUFFER_FIELD_NUMBER;
hash = (53 * hash) + getDataBuffer().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.CanvasInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.CanvasInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.CanvasInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.CanvasInfo 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.Friendgroup.CanvasInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.CanvasInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.CanvasInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.CanvasInfo 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.Friendgroup.CanvasInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.CanvasInfo 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.Friendgroup.CanvasInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.CanvasInfo 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.Friendgroup.CanvasInfo 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.CanvasInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.CanvasInfo)
wechat.protobuf.Friendgroup.CanvasInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CanvasInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CanvasInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.CanvasInfo.class, wechat.protobuf.Friendgroup.CanvasInfo.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.CanvasInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
dataBuffer_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_CanvasInfo_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.CanvasInfo getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.CanvasInfo.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.CanvasInfo build() {
wechat.protobuf.Friendgroup.CanvasInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.CanvasInfo buildPartial() {
wechat.protobuf.Friendgroup.CanvasInfo result = new wechat.protobuf.Friendgroup.CanvasInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.dataBuffer_ = dataBuffer_;
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.Friendgroup.CanvasInfo) {
return mergeFrom((wechat.protobuf.Friendgroup.CanvasInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.CanvasInfo other) {
if (other == wechat.protobuf.Friendgroup.CanvasInfo.getDefaultInstance()) return this;
if (other.hasDataBuffer()) {
bitField0_ |= 0x00000001;
dataBuffer_ = other.dataBuffer_;
onChanged();
}
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.Friendgroup.CanvasInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.CanvasInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object dataBuffer_ = "";
/**
* optional string dataBuffer = 1;
* @return Whether the dataBuffer field is set.
*/
public boolean hasDataBuffer() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string dataBuffer = 1;
* @return The dataBuffer.
*/
public java.lang.String getDataBuffer() {
java.lang.Object ref = dataBuffer_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
dataBuffer_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string dataBuffer = 1;
* @return The bytes for dataBuffer.
*/
public com.google.protobuf.ByteString
getDataBufferBytes() {
java.lang.Object ref = dataBuffer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataBuffer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string dataBuffer = 1;
* @param value The dataBuffer to set.
* @return This builder for chaining.
*/
public Builder setDataBuffer(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
dataBuffer_ = value;
onChanged();
return this;
}
/**
* optional string dataBuffer = 1;
* @return This builder for chaining.
*/
public Builder clearDataBuffer() {
bitField0_ = (bitField0_ & ~0x00000001);
dataBuffer_ = getDefaultInstance().getDataBuffer();
onChanged();
return this;
}
/**
* optional string dataBuffer = 1;
* @param value The bytes for dataBuffer to set.
* @return This builder for chaining.
*/
public Builder setDataBufferBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
dataBuffer_ = value;
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.CanvasInfo)
}
// @@protoc_insertion_point(class_scope:wechat_proto.CanvasInfo)
private static final wechat.protobuf.Friendgroup.CanvasInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.CanvasInfo();
}
public static wechat.protobuf.Friendgroup.CanvasInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CanvasInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CanvasInfo(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.Friendgroup.CanvasInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MediaInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.MediaInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 source = 1;
* @return Whether the source field is set.
*/
boolean hasSource();
/**
* optional uint32 source = 1;
* @return The source.
*/
int getSource();
/**
* optional uint32 mediaType = 2;
* @return Whether the mediaType field is set.
*/
boolean hasMediaType();
/**
* optional uint32 mediaType = 2;
* @return The mediaType.
*/
int getMediaType();
/**
* optional uint32 videoPlayLength = 3;
* @return Whether the videoPlayLength field is set.
*/
boolean hasVideoPlayLength();
/**
* optional uint32 videoPlayLength = 3;
* @return The videoPlayLength.
*/
int getVideoPlayLength();
/**
* optional string sessionId = 4;
* @return Whether the sessionId field is set.
*/
boolean hasSessionId();
/**
* optional string sessionId = 4;
* @return The sessionId.
*/
java.lang.String getSessionId();
/**
* optional string sessionId = 4;
* @return The bytes for sessionId.
*/
com.google.protobuf.ByteString
getSessionIdBytes();
/**
* optional uint32 startTime = 5;
* @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
* optional uint32 startTime = 5;
* @return The startTime.
*/
int getStartTime();
}
/**
* Protobuf type {@code wechat_proto.MediaInfo}
*/
public static final class MediaInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.MediaInfo)
MediaInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use MediaInfo.newBuilder() to construct.
private MediaInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MediaInfo() {
sessionId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MediaInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MediaInfo(
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;
source_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
mediaType_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
videoPlayLength_ = input.readUInt32();
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
sessionId_ = bs;
break;
}
case 40: {
bitField0_ |= 0x00000010;
startTime_ = 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.Friendgroup.internal_static_wechat_proto_MediaInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_MediaInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.MediaInfo.class, wechat.protobuf.Friendgroup.MediaInfo.Builder.class);
}
private int bitField0_;
public static final int SOURCE_FIELD_NUMBER = 1;
private int source_;
/**
* optional uint32 source = 1;
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 source = 1;
* @return The source.
*/
@java.lang.Override
public int getSource() {
return source_;
}
public static final int MEDIATYPE_FIELD_NUMBER = 2;
private int mediaType_;
/**
* optional uint32 mediaType = 2;
* @return Whether the mediaType field is set.
*/
@java.lang.Override
public boolean hasMediaType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 mediaType = 2;
* @return The mediaType.
*/
@java.lang.Override
public int getMediaType() {
return mediaType_;
}
public static final int VIDEOPLAYLENGTH_FIELD_NUMBER = 3;
private int videoPlayLength_;
/**
* optional uint32 videoPlayLength = 3;
* @return Whether the videoPlayLength field is set.
*/
@java.lang.Override
public boolean hasVideoPlayLength() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 videoPlayLength = 3;
* @return The videoPlayLength.
*/
@java.lang.Override
public int getVideoPlayLength() {
return videoPlayLength_;
}
public static final int SESSIONID_FIELD_NUMBER = 4;
private volatile java.lang.Object sessionId_;
/**
* optional string sessionId = 4;
* @return Whether the sessionId field is set.
*/
@java.lang.Override
public boolean hasSessionId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string sessionId = 4;
* @return The sessionId.
*/
@java.lang.Override
public java.lang.String getSessionId() {
java.lang.Object ref = sessionId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
sessionId_ = s;
}
return s;
}
}
/**
* optional string sessionId = 4;
* @return The bytes for sessionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSessionIdBytes() {
java.lang.Object ref = sessionId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sessionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STARTTIME_FIELD_NUMBER = 5;
private int startTime_;
/**
* optional uint32 startTime = 5;
* @return Whether the startTime field is set.
*/
@java.lang.Override
public boolean hasStartTime() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 startTime = 5;
* @return The startTime.
*/
@java.lang.Override
public int getStartTime() {
return startTime_;
}
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.writeUInt32(1, source_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, mediaType_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, videoPlayLength_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sessionId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, startTime_);
}
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
.computeUInt32Size(1, source_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, mediaType_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, videoPlayLength_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sessionId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, startTime_);
}
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.Friendgroup.MediaInfo)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.MediaInfo other = (wechat.protobuf.Friendgroup.MediaInfo) obj;
if (hasSource() != other.hasSource()) return false;
if (hasSource()) {
if (getSource()
!= other.getSource()) return false;
}
if (hasMediaType() != other.hasMediaType()) return false;
if (hasMediaType()) {
if (getMediaType()
!= other.getMediaType()) return false;
}
if (hasVideoPlayLength() != other.hasVideoPlayLength()) return false;
if (hasVideoPlayLength()) {
if (getVideoPlayLength()
!= other.getVideoPlayLength()) return false;
}
if (hasSessionId() != other.hasSessionId()) return false;
if (hasSessionId()) {
if (!getSessionId()
.equals(other.getSessionId())) return false;
}
if (hasStartTime() != other.hasStartTime()) return false;
if (hasStartTime()) {
if (getStartTime()
!= other.getStartTime()) 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 (hasSource()) {
hash = (37 * hash) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource();
}
if (hasMediaType()) {
hash = (37 * hash) + MEDIATYPE_FIELD_NUMBER;
hash = (53 * hash) + getMediaType();
}
if (hasVideoPlayLength()) {
hash = (37 * hash) + VIDEOPLAYLENGTH_FIELD_NUMBER;
hash = (53 * hash) + getVideoPlayLength();
}
if (hasSessionId()) {
hash = (37 * hash) + SESSIONID_FIELD_NUMBER;
hash = (53 * hash) + getSessionId().hashCode();
}
if (hasStartTime()) {
hash = (37 * hash) + STARTTIME_FIELD_NUMBER;
hash = (53 * hash) + getStartTime();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.MediaInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.MediaInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.MediaInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.MediaInfo 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.Friendgroup.MediaInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.MediaInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.MediaInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.MediaInfo 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.Friendgroup.MediaInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.MediaInfo 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.Friendgroup.MediaInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.MediaInfo 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.Friendgroup.MediaInfo 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.MediaInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.MediaInfo)
wechat.protobuf.Friendgroup.MediaInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_MediaInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_MediaInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.MediaInfo.class, wechat.protobuf.Friendgroup.MediaInfo.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.MediaInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
source_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
mediaType_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
videoPlayLength_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
sessionId_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
startTime_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_MediaInfo_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.MediaInfo getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.MediaInfo.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.MediaInfo build() {
wechat.protobuf.Friendgroup.MediaInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.MediaInfo buildPartial() {
wechat.protobuf.Friendgroup.MediaInfo result = new wechat.protobuf.Friendgroup.MediaInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.source_ = source_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.mediaType_ = mediaType_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.videoPlayLength_ = videoPlayLength_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.sessionId_ = sessionId_;
if (((from_bitField0_ & 0x00000010) != 0)) {
result.startTime_ = startTime_;
to_bitField0_ |= 0x00000010;
}
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.Friendgroup.MediaInfo) {
return mergeFrom((wechat.protobuf.Friendgroup.MediaInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.MediaInfo other) {
if (other == wechat.protobuf.Friendgroup.MediaInfo.getDefaultInstance()) return this;
if (other.hasSource()) {
setSource(other.getSource());
}
if (other.hasMediaType()) {
setMediaType(other.getMediaType());
}
if (other.hasVideoPlayLength()) {
setVideoPlayLength(other.getVideoPlayLength());
}
if (other.hasSessionId()) {
bitField0_ |= 0x00000008;
sessionId_ = other.sessionId_;
onChanged();
}
if (other.hasStartTime()) {
setStartTime(other.getStartTime());
}
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.Friendgroup.MediaInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.MediaInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int source_ ;
/**
* optional uint32 source = 1;
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 source = 1;
* @return The source.
*/
@java.lang.Override
public int getSource() {
return source_;
}
/**
* optional uint32 source = 1;
* @param value The source to set.
* @return This builder for chaining.
*/
public Builder setSource(int value) {
bitField0_ |= 0x00000001;
source_ = value;
onChanged();
return this;
}
/**
* optional uint32 source = 1;
* @return This builder for chaining.
*/
public Builder clearSource() {
bitField0_ = (bitField0_ & ~0x00000001);
source_ = 0;
onChanged();
return this;
}
private int mediaType_ ;
/**
* optional uint32 mediaType = 2;
* @return Whether the mediaType field is set.
*/
@java.lang.Override
public boolean hasMediaType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 mediaType = 2;
* @return The mediaType.
*/
@java.lang.Override
public int getMediaType() {
return mediaType_;
}
/**
* optional uint32 mediaType = 2;
* @param value The mediaType to set.
* @return This builder for chaining.
*/
public Builder setMediaType(int value) {
bitField0_ |= 0x00000002;
mediaType_ = value;
onChanged();
return this;
}
/**
* optional uint32 mediaType = 2;
* @return This builder for chaining.
*/
public Builder clearMediaType() {
bitField0_ = (bitField0_ & ~0x00000002);
mediaType_ = 0;
onChanged();
return this;
}
private int videoPlayLength_ ;
/**
* optional uint32 videoPlayLength = 3;
* @return Whether the videoPlayLength field is set.
*/
@java.lang.Override
public boolean hasVideoPlayLength() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 videoPlayLength = 3;
* @return The videoPlayLength.
*/
@java.lang.Override
public int getVideoPlayLength() {
return videoPlayLength_;
}
/**
* optional uint32 videoPlayLength = 3;
* @param value The videoPlayLength to set.
* @return This builder for chaining.
*/
public Builder setVideoPlayLength(int value) {
bitField0_ |= 0x00000004;
videoPlayLength_ = value;
onChanged();
return this;
}
/**
* optional uint32 videoPlayLength = 3;
* @return This builder for chaining.
*/
public Builder clearVideoPlayLength() {
bitField0_ = (bitField0_ & ~0x00000004);
videoPlayLength_ = 0;
onChanged();
return this;
}
private java.lang.Object sessionId_ = "";
/**
* optional string sessionId = 4;
* @return Whether the sessionId field is set.
*/
public boolean hasSessionId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string sessionId = 4;
* @return The sessionId.
*/
public java.lang.String getSessionId() {
java.lang.Object ref = sessionId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
sessionId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string sessionId = 4;
* @return The bytes for sessionId.
*/
public com.google.protobuf.ByteString
getSessionIdBytes() {
java.lang.Object ref = sessionId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sessionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string sessionId = 4;
* @param value The sessionId to set.
* @return This builder for chaining.
*/
public Builder setSessionId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
sessionId_ = value;
onChanged();
return this;
}
/**
* optional string sessionId = 4;
* @return This builder for chaining.
*/
public Builder clearSessionId() {
bitField0_ = (bitField0_ & ~0x00000008);
sessionId_ = getDefaultInstance().getSessionId();
onChanged();
return this;
}
/**
* optional string sessionId = 4;
* @param value The bytes for sessionId to set.
* @return This builder for chaining.
*/
public Builder setSessionIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
sessionId_ = value;
onChanged();
return this;
}
private int startTime_ ;
/**
* optional uint32 startTime = 5;
* @return Whether the startTime field is set.
*/
@java.lang.Override
public boolean hasStartTime() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 startTime = 5;
* @return The startTime.
*/
@java.lang.Override
public int getStartTime() {
return startTime_;
}
/**
* optional uint32 startTime = 5;
* @param value The startTime to set.
* @return This builder for chaining.
*/
public Builder setStartTime(int value) {
bitField0_ |= 0x00000010;
startTime_ = value;
onChanged();
return this;
}
/**
* optional uint32 startTime = 5;
* @return This builder for chaining.
*/
public Builder clearStartTime() {
bitField0_ = (bitField0_ & ~0x00000010);
startTime_ = 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.MediaInfo)
}
// @@protoc_insertion_point(class_scope:wechat_proto.MediaInfo)
private static final wechat.protobuf.Friendgroup.MediaInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.MediaInfo();
}
public static wechat.protobuf.Friendgroup.MediaInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MediaInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MediaInfo(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.Friendgroup.MediaInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsPostResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsPostResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
boolean hasBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
wechat.protobuf.BaseResponse getBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder();
/**
* optional .wechat_proto.SnsObject snsObject = 2;
* @return Whether the snsObject field is set.
*/
boolean hasSnsObject();
/**
* optional .wechat_proto.SnsObject snsObject = 2;
* @return The snsObject.
*/
wechat.protobuf.Friendgroup.SnsObject getSnsObject();
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder();
/**
* optional string spamTips = 3;
* @return Whether the spamTips field is set.
*/
boolean hasSpamTips();
/**
* optional string spamTips = 3;
* @return The spamTips.
*/
java.lang.String getSpamTips();
/**
* optional string spamTips = 3;
* @return The bytes for spamTips.
*/
com.google.protobuf.ByteString
getSpamTipsBytes();
}
/**
* Protobuf type {@code wechat_proto.SnsPostResponse}
*/
public static final class SnsPostResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsPostResponse)
SnsPostResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsPostResponse.newBuilder() to construct.
private SnsPostResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsPostResponse() {
spamTips_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsPostResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsPostResponse(
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.Friendgroup.SnsObject.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = snsObject_.toBuilder();
}
snsObject_ = input.readMessage(wechat.protobuf.Friendgroup.SnsObject.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(snsObject_);
snsObject_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
spamTips_ = bs;
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.Friendgroup.internal_static_wechat_proto_SnsPostResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsPostResponse.class, wechat.protobuf.Friendgroup.SnsPostResponse.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 SNSOBJECT_FIELD_NUMBER = 2;
private wechat.protobuf.Friendgroup.SnsObject snsObject_;
/**
* optional .wechat_proto.SnsObject snsObject = 2;
* @return Whether the snsObject field is set.
*/
@java.lang.Override
public boolean hasSnsObject() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
* @return The snsObject.
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObject getSnsObject() {
return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_;
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder() {
return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_;
}
public static final int SPAMTIPS_FIELD_NUMBER = 3;
private volatile java.lang.Object spamTips_;
/**
* optional string spamTips = 3;
* @return Whether the spamTips field is set.
*/
@java.lang.Override
public boolean hasSpamTips() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string spamTips = 3;
* @return The spamTips.
*/
@java.lang.Override
public java.lang.String getSpamTips() {
java.lang.Object ref = spamTips_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
spamTips_ = s;
}
return s;
}
}
/**
* optional string spamTips = 3;
* @return The bytes for spamTips.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSpamTipsBytes() {
java.lang.Object ref = spamTips_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spamTips_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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, getSnsObject());
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, spamTips_);
}
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, getSnsObject());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, spamTips_);
}
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.Friendgroup.SnsPostResponse)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsPostResponse other = (wechat.protobuf.Friendgroup.SnsPostResponse) obj;
if (hasBaseResponse() != other.hasBaseResponse()) return false;
if (hasBaseResponse()) {
if (!getBaseResponse()
.equals(other.getBaseResponse())) return false;
}
if (hasSnsObject() != other.hasSnsObject()) return false;
if (hasSnsObject()) {
if (!getSnsObject()
.equals(other.getSnsObject())) return false;
}
if (hasSpamTips() != other.hasSpamTips()) return false;
if (hasSpamTips()) {
if (!getSpamTips()
.equals(other.getSpamTips())) 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 (hasSnsObject()) {
hash = (37 * hash) + SNSOBJECT_FIELD_NUMBER;
hash = (53 * hash) + getSnsObject().hashCode();
}
if (hasSpamTips()) {
hash = (37 * hash) + SPAMTIPS_FIELD_NUMBER;
hash = (53 * hash) + getSpamTips().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsPostResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsPostResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsPostResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsPostResponse 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.Friendgroup.SnsPostResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsPostResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsPostResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsPostResponse 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.Friendgroup.SnsPostResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsPostResponse 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.Friendgroup.SnsPostResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsPostResponse 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.Friendgroup.SnsPostResponse 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.SnsPostResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsPostResponse)
wechat.protobuf.Friendgroup.SnsPostResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsPostResponse.class, wechat.protobuf.Friendgroup.SnsPostResponse.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsPostResponse.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();
getSnsObjectFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseResponseBuilder_ == null) {
baseResponse_ = null;
} else {
baseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (snsObjectBuilder_ == null) {
snsObject_ = null;
} else {
snsObjectBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
spamTips_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsPostResponse_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostResponse getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsPostResponse.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostResponse build() {
wechat.protobuf.Friendgroup.SnsPostResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsPostResponse buildPartial() {
wechat.protobuf.Friendgroup.SnsPostResponse result = new wechat.protobuf.Friendgroup.SnsPostResponse(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 (snsObjectBuilder_ == null) {
result.snsObject_ = snsObject_;
} else {
result.snsObject_ = snsObjectBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.spamTips_ = spamTips_;
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.Friendgroup.SnsPostResponse) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsPostResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsPostResponse other) {
if (other == wechat.protobuf.Friendgroup.SnsPostResponse.getDefaultInstance()) return this;
if (other.hasBaseResponse()) {
mergeBaseResponse(other.getBaseResponse());
}
if (other.hasSnsObject()) {
mergeSnsObject(other.getSnsObject());
}
if (other.hasSpamTips()) {
bitField0_ |= 0x00000004;
spamTips_ = other.spamTips_;
onChanged();
}
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.Friendgroup.SnsPostResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsPostResponse) 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.Friendgroup.SnsObject snsObject_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> snsObjectBuilder_;
/**
* optional .wechat_proto.SnsObject snsObject = 2;
* @return Whether the snsObject field is set.
*/
public boolean hasSnsObject() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
* @return The snsObject.
*/
public wechat.protobuf.Friendgroup.SnsObject getSnsObject() {
if (snsObjectBuilder_ == null) {
return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_;
} else {
return snsObjectBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
public Builder setSnsObject(wechat.protobuf.Friendgroup.SnsObject value) {
if (snsObjectBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
snsObject_ = value;
onChanged();
} else {
snsObjectBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
public Builder setSnsObject(
wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) {
if (snsObjectBuilder_ == null) {
snsObject_ = builderForValue.build();
onChanged();
} else {
snsObjectBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
public Builder mergeSnsObject(wechat.protobuf.Friendgroup.SnsObject value) {
if (snsObjectBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
snsObject_ != null &&
snsObject_ != wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance()) {
snsObject_ =
wechat.protobuf.Friendgroup.SnsObject.newBuilder(snsObject_).mergeFrom(value).buildPartial();
} else {
snsObject_ = value;
}
onChanged();
} else {
snsObjectBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
public Builder clearSnsObject() {
if (snsObjectBuilder_ == null) {
snsObject_ = null;
onChanged();
} else {
snsObjectBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
public wechat.protobuf.Friendgroup.SnsObject.Builder getSnsObjectBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getSnsObjectFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder() {
if (snsObjectBuilder_ != null) {
return snsObjectBuilder_.getMessageOrBuilder();
} else {
return snsObject_ == null ?
wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_;
}
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder>
getSnsObjectFieldBuilder() {
if (snsObjectBuilder_ == null) {
snsObjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder>(
getSnsObject(),
getParentForChildren(),
isClean());
snsObject_ = null;
}
return snsObjectBuilder_;
}
private java.lang.Object spamTips_ = "";
/**
* optional string spamTips = 3;
* @return Whether the spamTips field is set.
*/
public boolean hasSpamTips() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string spamTips = 3;
* @return The spamTips.
*/
public java.lang.String getSpamTips() {
java.lang.Object ref = spamTips_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
spamTips_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string spamTips = 3;
* @return The bytes for spamTips.
*/
public com.google.protobuf.ByteString
getSpamTipsBytes() {
java.lang.Object ref = spamTips_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spamTips_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string spamTips = 3;
* @param value The spamTips to set.
* @return This builder for chaining.
*/
public Builder setSpamTips(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
spamTips_ = value;
onChanged();
return this;
}
/**
* optional string spamTips = 3;
* @return This builder for chaining.
*/
public Builder clearSpamTips() {
bitField0_ = (bitField0_ & ~0x00000004);
spamTips_ = getDefaultInstance().getSpamTips();
onChanged();
return this;
}
/**
* optional string spamTips = 3;
* @param value The bytes for spamTips to set.
* @return This builder for chaining.
*/
public Builder setSpamTipsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
spamTips_ = value;
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.SnsPostResponse)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsPostResponse)
private static final wechat.protobuf.Friendgroup.SnsPostResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsPostResponse();
}
public static wechat.protobuf.Friendgroup.SnsPostResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsPostResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsPostResponse(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.Friendgroup.SnsPostResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsObjectOpRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsObjectOpRequest)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
boolean hasBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
wechat.protobuf.BaseRequest getBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder();
/**
* optional uint32 opNum = 2;
* @return Whether the opNum field is set.
*/
boolean hasOpNum();
/**
* optional uint32 opNum = 2;
* @return The opNum.
*/
int getOpNum();
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
java.util.List
getOpListList();
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
wechat.protobuf.Friendgroup.SnsObjectOp getOpList(int index);
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
int getOpListCount();
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
java.util.List extends wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder>
getOpListOrBuilderList();
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder getOpListOrBuilder(
int index);
}
/**
* Protobuf type {@code wechat_proto.SnsObjectOpRequest}
*/
public static final class SnsObjectOpRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsObjectOpRequest)
SnsObjectOpRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsObjectOpRequest.newBuilder() to construct.
private SnsObjectOpRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsObjectOpRequest() {
opList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsObjectOpRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsObjectOpRequest(
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.BaseRequest.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = baseRequest_.toBuilder();
}
baseRequest_ = input.readMessage(wechat.protobuf.BaseRequest.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseRequest_);
baseRequest_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
opNum_ = input.readUInt32();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
opList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
opList_.add(
input.readMessage(wechat.protobuf.Friendgroup.SnsObjectOp.PARSER, extensionRegistry));
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_ & 0x00000004) != 0)) {
opList_ = java.util.Collections.unmodifiableList(opList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsObjectOpRequest.class, wechat.protobuf.Friendgroup.SnsObjectOpRequest.Builder.class);
}
private int bitField0_;
public static final int BASEREQUEST_FIELD_NUMBER = 1;
private wechat.protobuf.BaseRequest baseRequest_;
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
@java.lang.Override
public boolean hasBaseRequest() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
@java.lang.Override
public wechat.protobuf.BaseRequest getBaseRequest() {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
@java.lang.Override
public wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder() {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
public static final int OPNUM_FIELD_NUMBER = 2;
private int opNum_;
/**
* optional uint32 opNum = 2;
* @return Whether the opNum field is set.
*/
@java.lang.Override
public boolean hasOpNum() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 opNum = 2;
* @return The opNum.
*/
@java.lang.Override
public int getOpNum() {
return opNum_;
}
public static final int OPLIST_FIELD_NUMBER = 3;
private java.util.List opList_;
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
@java.lang.Override
public java.util.List getOpListList() {
return opList_;
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder>
getOpListOrBuilderList() {
return opList_;
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
@java.lang.Override
public int getOpListCount() {
return opList_.size();
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOp getOpList(int index) {
return opList_.get(index);
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder getOpListOrBuilder(
int index) {
return opList_.get(index);
}
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, getBaseRequest());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, opNum_);
}
for (int i = 0; i < opList_.size(); i++) {
output.writeMessage(3, opList_.get(i));
}
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, getBaseRequest());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, opNum_);
}
for (int i = 0; i < opList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, opList_.get(i));
}
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.Friendgroup.SnsObjectOpRequest)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsObjectOpRequest other = (wechat.protobuf.Friendgroup.SnsObjectOpRequest) obj;
if (hasBaseRequest() != other.hasBaseRequest()) return false;
if (hasBaseRequest()) {
if (!getBaseRequest()
.equals(other.getBaseRequest())) return false;
}
if (hasOpNum() != other.hasOpNum()) return false;
if (hasOpNum()) {
if (getOpNum()
!= other.getOpNum()) return false;
}
if (!getOpListList()
.equals(other.getOpListList())) 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 (hasBaseRequest()) {
hash = (37 * hash) + BASEREQUEST_FIELD_NUMBER;
hash = (53 * hash) + getBaseRequest().hashCode();
}
if (hasOpNum()) {
hash = (37 * hash) + OPNUM_FIELD_NUMBER;
hash = (53 * hash) + getOpNum();
}
if (getOpListCount() > 0) {
hash = (37 * hash) + OPLIST_FIELD_NUMBER;
hash = (53 * hash) + getOpListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsObjectOpRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpRequest 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.Friendgroup.SnsObjectOpRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpRequest 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.Friendgroup.SnsObjectOpRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpRequest 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.Friendgroup.SnsObjectOpRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpRequest 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.Friendgroup.SnsObjectOpRequest 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.SnsObjectOpRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsObjectOpRequest)
wechat.protobuf.Friendgroup.SnsObjectOpRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsObjectOpRequest.class, wechat.protobuf.Friendgroup.SnsObjectOpRequest.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsObjectOpRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getBaseRequestFieldBuilder();
getOpListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
opNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (opListBuilder_ == null) {
opList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
opListBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpRequest_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOpRequest getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsObjectOpRequest.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOpRequest build() {
wechat.protobuf.Friendgroup.SnsObjectOpRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOpRequest buildPartial() {
wechat.protobuf.Friendgroup.SnsObjectOpRequest result = new wechat.protobuf.Friendgroup.SnsObjectOpRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (baseRequestBuilder_ == null) {
result.baseRequest_ = baseRequest_;
} else {
result.baseRequest_ = baseRequestBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.opNum_ = opNum_;
to_bitField0_ |= 0x00000002;
}
if (opListBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
opList_ = java.util.Collections.unmodifiableList(opList_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.opList_ = opList_;
} else {
result.opList_ = opListBuilder_.build();
}
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.Friendgroup.SnsObjectOpRequest) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsObjectOpRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsObjectOpRequest other) {
if (other == wechat.protobuf.Friendgroup.SnsObjectOpRequest.getDefaultInstance()) return this;
if (other.hasBaseRequest()) {
mergeBaseRequest(other.getBaseRequest());
}
if (other.hasOpNum()) {
setOpNum(other.getOpNum());
}
if (opListBuilder_ == null) {
if (!other.opList_.isEmpty()) {
if (opList_.isEmpty()) {
opList_ = other.opList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureOpListIsMutable();
opList_.addAll(other.opList_);
}
onChanged();
}
} else {
if (!other.opList_.isEmpty()) {
if (opListBuilder_.isEmpty()) {
opListBuilder_.dispose();
opListBuilder_ = null;
opList_ = other.opList_;
bitField0_ = (bitField0_ & ~0x00000004);
opListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOpListFieldBuilder() : null;
} else {
opListBuilder_.addAllMessages(other.opList_);
}
}
}
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.Friendgroup.SnsObjectOpRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsObjectOpRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private wechat.protobuf.BaseRequest baseRequest_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder> baseRequestBuilder_;
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
public boolean hasBaseRequest() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
public wechat.protobuf.BaseRequest getBaseRequest() {
if (baseRequestBuilder_ == null) {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
} else {
return baseRequestBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder setBaseRequest(wechat.protobuf.BaseRequest value) {
if (baseRequestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseRequest_ = value;
onChanged();
} else {
baseRequestBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder setBaseRequest(
wechat.protobuf.BaseRequest.Builder builderForValue) {
if (baseRequestBuilder_ == null) {
baseRequest_ = builderForValue.build();
onChanged();
} else {
baseRequestBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder mergeBaseRequest(wechat.protobuf.BaseRequest value) {
if (baseRequestBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
baseRequest_ != null &&
baseRequest_ != wechat.protobuf.BaseRequest.getDefaultInstance()) {
baseRequest_ =
wechat.protobuf.BaseRequest.newBuilder(baseRequest_).mergeFrom(value).buildPartial();
} else {
baseRequest_ = value;
}
onChanged();
} else {
baseRequestBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder clearBaseRequest() {
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
onChanged();
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public wechat.protobuf.BaseRequest.Builder getBaseRequestBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getBaseRequestFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder() {
if (baseRequestBuilder_ != null) {
return baseRequestBuilder_.getMessageOrBuilder();
} else {
return baseRequest_ == null ?
wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder>
getBaseRequestFieldBuilder() {
if (baseRequestBuilder_ == null) {
baseRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder>(
getBaseRequest(),
getParentForChildren(),
isClean());
baseRequest_ = null;
}
return baseRequestBuilder_;
}
private int opNum_ ;
/**
* optional uint32 opNum = 2;
* @return Whether the opNum field is set.
*/
@java.lang.Override
public boolean hasOpNum() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 opNum = 2;
* @return The opNum.
*/
@java.lang.Override
public int getOpNum() {
return opNum_;
}
/**
* optional uint32 opNum = 2;
* @param value The opNum to set.
* @return This builder for chaining.
*/
public Builder setOpNum(int value) {
bitField0_ |= 0x00000002;
opNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 opNum = 2;
* @return This builder for chaining.
*/
public Builder clearOpNum() {
bitField0_ = (bitField0_ & ~0x00000002);
opNum_ = 0;
onChanged();
return this;
}
private java.util.List opList_ =
java.util.Collections.emptyList();
private void ensureOpListIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
opList_ = new java.util.ArrayList(opList_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsObjectOp, wechat.protobuf.Friendgroup.SnsObjectOp.Builder, wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder> opListBuilder_;
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public java.util.List getOpListList() {
if (opListBuilder_ == null) {
return java.util.Collections.unmodifiableList(opList_);
} else {
return opListBuilder_.getMessageList();
}
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public int getOpListCount() {
if (opListBuilder_ == null) {
return opList_.size();
} else {
return opListBuilder_.getCount();
}
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public wechat.protobuf.Friendgroup.SnsObjectOp getOpList(int index) {
if (opListBuilder_ == null) {
return opList_.get(index);
} else {
return opListBuilder_.getMessage(index);
}
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public Builder setOpList(
int index, wechat.protobuf.Friendgroup.SnsObjectOp value) {
if (opListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOpListIsMutable();
opList_.set(index, value);
onChanged();
} else {
opListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public Builder setOpList(
int index, wechat.protobuf.Friendgroup.SnsObjectOp.Builder builderForValue) {
if (opListBuilder_ == null) {
ensureOpListIsMutable();
opList_.set(index, builderForValue.build());
onChanged();
} else {
opListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public Builder addOpList(wechat.protobuf.Friendgroup.SnsObjectOp value) {
if (opListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOpListIsMutable();
opList_.add(value);
onChanged();
} else {
opListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public Builder addOpList(
int index, wechat.protobuf.Friendgroup.SnsObjectOp value) {
if (opListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOpListIsMutable();
opList_.add(index, value);
onChanged();
} else {
opListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public Builder addOpList(
wechat.protobuf.Friendgroup.SnsObjectOp.Builder builderForValue) {
if (opListBuilder_ == null) {
ensureOpListIsMutable();
opList_.add(builderForValue.build());
onChanged();
} else {
opListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public Builder addOpList(
int index, wechat.protobuf.Friendgroup.SnsObjectOp.Builder builderForValue) {
if (opListBuilder_ == null) {
ensureOpListIsMutable();
opList_.add(index, builderForValue.build());
onChanged();
} else {
opListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public Builder addAllOpList(
java.lang.Iterable extends wechat.protobuf.Friendgroup.SnsObjectOp> values) {
if (opListBuilder_ == null) {
ensureOpListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, opList_);
onChanged();
} else {
opListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public Builder clearOpList() {
if (opListBuilder_ == null) {
opList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
opListBuilder_.clear();
}
return this;
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public Builder removeOpList(int index) {
if (opListBuilder_ == null) {
ensureOpListIsMutable();
opList_.remove(index);
onChanged();
} else {
opListBuilder_.remove(index);
}
return this;
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public wechat.protobuf.Friendgroup.SnsObjectOp.Builder getOpListBuilder(
int index) {
return getOpListFieldBuilder().getBuilder(index);
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder getOpListOrBuilder(
int index) {
if (opListBuilder_ == null) {
return opList_.get(index); } else {
return opListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public java.util.List extends wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder>
getOpListOrBuilderList() {
if (opListBuilder_ != null) {
return opListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(opList_);
}
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public wechat.protobuf.Friendgroup.SnsObjectOp.Builder addOpListBuilder() {
return getOpListFieldBuilder().addBuilder(
wechat.protobuf.Friendgroup.SnsObjectOp.getDefaultInstance());
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public wechat.protobuf.Friendgroup.SnsObjectOp.Builder addOpListBuilder(
int index) {
return getOpListFieldBuilder().addBuilder(
index, wechat.protobuf.Friendgroup.SnsObjectOp.getDefaultInstance());
}
/**
* repeated .wechat_proto.SnsObjectOp opList = 3;
*/
public java.util.List
getOpListBuilderList() {
return getOpListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsObjectOp, wechat.protobuf.Friendgroup.SnsObjectOp.Builder, wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder>
getOpListFieldBuilder() {
if (opListBuilder_ == null) {
opListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsObjectOp, wechat.protobuf.Friendgroup.SnsObjectOp.Builder, wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder>(
opList_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
opList_ = null;
}
return opListBuilder_;
}
@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.SnsObjectOpRequest)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsObjectOpRequest)
private static final wechat.protobuf.Friendgroup.SnsObjectOpRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsObjectOpRequest();
}
public static wechat.protobuf.Friendgroup.SnsObjectOpRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsObjectOpRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsObjectOpRequest(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.Friendgroup.SnsObjectOpRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsObjectOpResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsObjectOpResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
boolean hasBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
wechat.protobuf.BaseResponse getBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder();
/**
* optional uint32 opNum = 2;
* @return Whether the opNum field is set.
*/
boolean hasOpNum();
/**
* optional uint32 opNum = 2;
* @return The opNum.
*/
int getOpNum();
/**
* repeated int32 opRetList = 3;
* @return A list containing the opRetList.
*/
java.util.List getOpRetListList();
/**
* repeated int32 opRetList = 3;
* @return The count of opRetList.
*/
int getOpRetListCount();
/**
* repeated int32 opRetList = 3;
* @param index The index of the element to return.
* @return The opRetList at the given index.
*/
int getOpRetList(int index);
}
/**
* Protobuf type {@code wechat_proto.SnsObjectOpResponse}
*/
public static final class SnsObjectOpResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsObjectOpResponse)
SnsObjectOpResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsObjectOpResponse.newBuilder() to construct.
private SnsObjectOpResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsObjectOpResponse() {
opRetList_ = emptyIntList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsObjectOpResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsObjectOpResponse(
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;
opNum_ = input.readUInt32();
break;
}
case 24: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
opRetList_ = newIntList();
mutable_bitField0_ |= 0x00000004;
}
opRetList_.addInt(input.readInt32());
break;
}
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
opRetList_ = newIntList();
mutable_bitField0_ |= 0x00000004;
}
while (input.getBytesUntilLimit() > 0) {
opRetList_.addInt(input.readInt32());
}
input.popLimit(limit);
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_ & 0x00000004) != 0)) {
opRetList_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsObjectOpResponse.class, wechat.protobuf.Friendgroup.SnsObjectOpResponse.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 OPNUM_FIELD_NUMBER = 2;
private int opNum_;
/**
* optional uint32 opNum = 2;
* @return Whether the opNum field is set.
*/
@java.lang.Override
public boolean hasOpNum() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 opNum = 2;
* @return The opNum.
*/
@java.lang.Override
public int getOpNum() {
return opNum_;
}
public static final int OPRETLIST_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.IntList opRetList_;
/**
* repeated int32 opRetList = 3;
* @return A list containing the opRetList.
*/
@java.lang.Override
public java.util.List
getOpRetListList() {
return opRetList_;
}
/**
* repeated int32 opRetList = 3;
* @return The count of opRetList.
*/
public int getOpRetListCount() {
return opRetList_.size();
}
/**
* repeated int32 opRetList = 3;
* @param index The index of the element to return.
* @return The opRetList at the given index.
*/
public int getOpRetList(int index) {
return opRetList_.getInt(index);
}
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, opNum_);
}
for (int i = 0; i < opRetList_.size(); i++) {
output.writeInt32(3, opRetList_.getInt(i));
}
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, opNum_);
}
{
int dataSize = 0;
for (int i = 0; i < opRetList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(opRetList_.getInt(i));
}
size += dataSize;
size += 1 * getOpRetListList().size();
}
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.Friendgroup.SnsObjectOpResponse)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsObjectOpResponse other = (wechat.protobuf.Friendgroup.SnsObjectOpResponse) obj;
if (hasBaseResponse() != other.hasBaseResponse()) return false;
if (hasBaseResponse()) {
if (!getBaseResponse()
.equals(other.getBaseResponse())) return false;
}
if (hasOpNum() != other.hasOpNum()) return false;
if (hasOpNum()) {
if (getOpNum()
!= other.getOpNum()) return false;
}
if (!getOpRetListList()
.equals(other.getOpRetListList())) 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 (hasOpNum()) {
hash = (37 * hash) + OPNUM_FIELD_NUMBER;
hash = (53 * hash) + getOpNum();
}
if (getOpRetListCount() > 0) {
hash = (37 * hash) + OPRETLIST_FIELD_NUMBER;
hash = (53 * hash) + getOpRetListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsObjectOpResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpResponse 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.Friendgroup.SnsObjectOpResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpResponse 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.Friendgroup.SnsObjectOpResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpResponse 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.Friendgroup.SnsObjectOpResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpResponse 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.Friendgroup.SnsObjectOpResponse 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.SnsObjectOpResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsObjectOpResponse)
wechat.protobuf.Friendgroup.SnsObjectOpResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsObjectOpResponse.class, wechat.protobuf.Friendgroup.SnsObjectOpResponse.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsObjectOpResponse.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();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseResponseBuilder_ == null) {
baseResponse_ = null;
} else {
baseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
opNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
opRetList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpResponse_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOpResponse getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsObjectOpResponse.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOpResponse build() {
wechat.protobuf.Friendgroup.SnsObjectOpResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOpResponse buildPartial() {
wechat.protobuf.Friendgroup.SnsObjectOpResponse result = new wechat.protobuf.Friendgroup.SnsObjectOpResponse(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.opNum_ = opNum_;
to_bitField0_ |= 0x00000002;
}
if (((bitField0_ & 0x00000004) != 0)) {
opRetList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.opRetList_ = opRetList_;
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.Friendgroup.SnsObjectOpResponse) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsObjectOpResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsObjectOpResponse other) {
if (other == wechat.protobuf.Friendgroup.SnsObjectOpResponse.getDefaultInstance()) return this;
if (other.hasBaseResponse()) {
mergeBaseResponse(other.getBaseResponse());
}
if (other.hasOpNum()) {
setOpNum(other.getOpNum());
}
if (!other.opRetList_.isEmpty()) {
if (opRetList_.isEmpty()) {
opRetList_ = other.opRetList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureOpRetListIsMutable();
opRetList_.addAll(other.opRetList_);
}
onChanged();
}
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.Friendgroup.SnsObjectOpResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsObjectOpResponse) 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 opNum_ ;
/**
* optional uint32 opNum = 2;
* @return Whether the opNum field is set.
*/
@java.lang.Override
public boolean hasOpNum() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 opNum = 2;
* @return The opNum.
*/
@java.lang.Override
public int getOpNum() {
return opNum_;
}
/**
* optional uint32 opNum = 2;
* @param value The opNum to set.
* @return This builder for chaining.
*/
public Builder setOpNum(int value) {
bitField0_ |= 0x00000002;
opNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 opNum = 2;
* @return This builder for chaining.
*/
public Builder clearOpNum() {
bitField0_ = (bitField0_ & ~0x00000002);
opNum_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList opRetList_ = emptyIntList();
private void ensureOpRetListIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
opRetList_ = mutableCopy(opRetList_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated int32 opRetList = 3;
* @return A list containing the opRetList.
*/
public java.util.List
getOpRetListList() {
return ((bitField0_ & 0x00000004) != 0) ?
java.util.Collections.unmodifiableList(opRetList_) : opRetList_;
}
/**
* repeated int32 opRetList = 3;
* @return The count of opRetList.
*/
public int getOpRetListCount() {
return opRetList_.size();
}
/**
* repeated int32 opRetList = 3;
* @param index The index of the element to return.
* @return The opRetList at the given index.
*/
public int getOpRetList(int index) {
return opRetList_.getInt(index);
}
/**
* repeated int32 opRetList = 3;
* @param index The index to set the value at.
* @param value The opRetList to set.
* @return This builder for chaining.
*/
public Builder setOpRetList(
int index, int value) {
ensureOpRetListIsMutable();
opRetList_.setInt(index, value);
onChanged();
return this;
}
/**
* repeated int32 opRetList = 3;
* @param value The opRetList to add.
* @return This builder for chaining.
*/
public Builder addOpRetList(int value) {
ensureOpRetListIsMutable();
opRetList_.addInt(value);
onChanged();
return this;
}
/**
* repeated int32 opRetList = 3;
* @param values The opRetList to add.
* @return This builder for chaining.
*/
public Builder addAllOpRetList(
java.lang.Iterable extends java.lang.Integer> values) {
ensureOpRetListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, opRetList_);
onChanged();
return this;
}
/**
* repeated int32 opRetList = 3;
* @return This builder for chaining.
*/
public Builder clearOpRetList() {
opRetList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000004);
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.SnsObjectOpResponse)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsObjectOpResponse)
private static final wechat.protobuf.Friendgroup.SnsObjectOpResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsObjectOpResponse();
}
public static wechat.protobuf.Friendgroup.SnsObjectOpResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsObjectOpResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsObjectOpResponse(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.Friendgroup.SnsObjectOpResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsObjectOpOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsObjectOp)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional uint64 id = 1;
* @return The id.
*/
long getId();
/**
* optional uint32 opType = 2;
* @return Whether the opType field is set.
*/
boolean hasOpType();
/**
* optional uint32 opType = 2;
* @return The opType.
*/
int getOpType();
/**
* optional .wechat_proto.SKBuiltinString_ ext = 3;
* @return Whether the ext field is set.
*/
boolean hasExt();
/**
* optional .wechat_proto.SKBuiltinString_ ext = 3;
* @return The ext.
*/
wechat.protobuf.SKBuiltinString_ getExt();
/**
* optional .wechat_proto.SKBuiltinString_ ext = 3;
*/
wechat.protobuf.SKBuiltinString_OrBuilder getExtOrBuilder();
}
/**
* Protobuf type {@code wechat_proto.SnsObjectOp}
*/
public static final class SnsObjectOp extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsObjectOp)
SnsObjectOpOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsObjectOp.newBuilder() to construct.
private SnsObjectOp(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsObjectOp() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsObjectOp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsObjectOp(
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;
id_ = input.readUInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
opType_ = input.readUInt32();
break;
}
case 26: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = ext_.toBuilder();
}
ext_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(ext_);
ext_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
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.Friendgroup.internal_static_wechat_proto_SnsObjectOp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsObjectOp.class, wechat.protobuf.Friendgroup.SnsObjectOp.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional uint64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int OPTYPE_FIELD_NUMBER = 2;
private int opType_;
/**
* optional uint32 opType = 2;
* @return Whether the opType field is set.
*/
@java.lang.Override
public boolean hasOpType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 opType = 2;
* @return The opType.
*/
@java.lang.Override
public int getOpType() {
return opType_;
}
public static final int EXT_FIELD_NUMBER = 3;
private wechat.protobuf.SKBuiltinString_ ext_;
/**
* optional .wechat_proto.SKBuiltinString_ ext = 3;
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ ext = 3;
* @return The ext.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getExt() {
return ext_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : ext_;
}
/**
* optional .wechat_proto.SKBuiltinString_ ext = 3;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getExtOrBuilder() {
return ext_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : ext_;
}
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.writeUInt64(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, opType_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getExt());
}
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
.computeUInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, opType_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getExt());
}
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.Friendgroup.SnsObjectOp)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsObjectOp other = (wechat.protobuf.Friendgroup.SnsObjectOp) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasOpType() != other.hasOpType()) return false;
if (hasOpType()) {
if (getOpType()
!= other.getOpType()) return false;
}
if (hasExt() != other.hasExt()) return false;
if (hasExt()) {
if (!getExt()
.equals(other.getExt())) 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 (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getId());
}
if (hasOpType()) {
hash = (37 * hash) + OPTYPE_FIELD_NUMBER;
hash = (53 * hash) + getOpType();
}
if (hasExt()) {
hash = (37 * hash) + EXT_FIELD_NUMBER;
hash = (53 * hash) + getExt().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsObjectOp parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsObjectOp parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsObjectOp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsObjectOp 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.Friendgroup.SnsObjectOp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsObjectOp parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsObjectOp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsObjectOp 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.Friendgroup.SnsObjectOp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsObjectOp 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.Friendgroup.SnsObjectOp parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsObjectOp 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.Friendgroup.SnsObjectOp 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.SnsObjectOp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsObjectOp)
wechat.protobuf.Friendgroup.SnsObjectOpOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsObjectOp.class, wechat.protobuf.Friendgroup.SnsObjectOp.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsObjectOp.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getExtFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
opType_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (extBuilder_ == null) {
ext_ = null;
} else {
extBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOp_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOp getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsObjectOp.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOp build() {
wechat.protobuf.Friendgroup.SnsObjectOp result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOp buildPartial() {
wechat.protobuf.Friendgroup.SnsObjectOp result = new wechat.protobuf.Friendgroup.SnsObjectOp(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.opType_ = opType_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
if (extBuilder_ == null) {
result.ext_ = ext_;
} else {
result.ext_ = extBuilder_.build();
}
to_bitField0_ |= 0x00000004;
}
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.Friendgroup.SnsObjectOp) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsObjectOp)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsObjectOp other) {
if (other == wechat.protobuf.Friendgroup.SnsObjectOp.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasOpType()) {
setOpType(other.getOpType());
}
if (other.hasExt()) {
mergeExt(other.getExt());
}
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.Friendgroup.SnsObjectOp parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsObjectOp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long id_ ;
/**
* optional uint64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional uint64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional uint64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private int opType_ ;
/**
* optional uint32 opType = 2;
* @return Whether the opType field is set.
*/
@java.lang.Override
public boolean hasOpType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 opType = 2;
* @return The opType.
*/
@java.lang.Override
public int getOpType() {
return opType_;
}
/**
* optional uint32 opType = 2;
* @param value The opType to set.
* @return This builder for chaining.
*/
public Builder setOpType(int value) {
bitField0_ |= 0x00000002;
opType_ = value;
onChanged();
return this;
}
/**
* optional uint32 opType = 2;
* @return This builder for chaining.
*/
public Builder clearOpType() {
bitField0_ = (bitField0_ & ~0x00000002);
opType_ = 0;
onChanged();
return this;
}
private wechat.protobuf.SKBuiltinString_ ext_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> extBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ ext = 3;
* @return Whether the ext field is set.
*/
public boolean hasExt() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ ext = 3;
* @return The ext.
*/
public wechat.protobuf.SKBuiltinString_ getExt() {
if (extBuilder_ == null) {
return ext_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : ext_;
} else {
return extBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ ext = 3;
*/
public Builder setExt(wechat.protobuf.SKBuiltinString_ value) {
if (extBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ext_ = value;
onChanged();
} else {
extBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ ext = 3;
*/
public Builder setExt(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (extBuilder_ == null) {
ext_ = builderForValue.build();
onChanged();
} else {
extBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ ext = 3;
*/
public Builder mergeExt(wechat.protobuf.SKBuiltinString_ value) {
if (extBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
ext_ != null &&
ext_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
ext_ =
wechat.protobuf.SKBuiltinString_.newBuilder(ext_).mergeFrom(value).buildPartial();
} else {
ext_ = value;
}
onChanged();
} else {
extBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ ext = 3;
*/
public Builder clearExt() {
if (extBuilder_ == null) {
ext_ = null;
onChanged();
} else {
extBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ ext = 3;
*/
public wechat.protobuf.SKBuiltinString_.Builder getExtBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getExtFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ ext = 3;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getExtOrBuilder() {
if (extBuilder_ != null) {
return extBuilder_.getMessageOrBuilder();
} else {
return ext_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : ext_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ ext = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getExtFieldBuilder() {
if (extBuilder_ == null) {
extBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getExt(),
getParentForChildren(),
isClean());
ext_ = null;
}
return extBuilder_;
}
@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.SnsObjectOp)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsObjectOp)
private static final wechat.protobuf.Friendgroup.SnsObjectOp DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsObjectOp();
}
public static wechat.protobuf.Friendgroup.SnsObjectOp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsObjectOp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsObjectOp(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.Friendgroup.SnsObjectOp getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsObjectOpDeleteCommentOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsObjectOpDeleteComment)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 commentId = 1;
* @return Whether the commentId field is set.
*/
boolean hasCommentId();
/**
* optional uint32 commentId = 1;
* @return The commentId.
*/
int getCommentId();
}
/**
* Protobuf type {@code wechat_proto.SnsObjectOpDeleteComment}
*/
public static final class SnsObjectOpDeleteComment extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsObjectOpDeleteComment)
SnsObjectOpDeleteCommentOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsObjectOpDeleteComment.newBuilder() to construct.
private SnsObjectOpDeleteComment(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsObjectOpDeleteComment() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsObjectOpDeleteComment();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsObjectOpDeleteComment(
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;
commentId_ = 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.Friendgroup.internal_static_wechat_proto_SnsObjectOpDeleteComment_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpDeleteComment_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment.class, wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment.Builder.class);
}
private int bitField0_;
public static final int COMMENTID_FIELD_NUMBER = 1;
private int commentId_;
/**
* optional uint32 commentId = 1;
* @return Whether the commentId field is set.
*/
@java.lang.Override
public boolean hasCommentId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 commentId = 1;
* @return The commentId.
*/
@java.lang.Override
public int getCommentId() {
return commentId_;
}
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.writeUInt32(1, commentId_);
}
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
.computeUInt32Size(1, commentId_);
}
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.Friendgroup.SnsObjectOpDeleteComment)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment other = (wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment) obj;
if (hasCommentId() != other.hasCommentId()) return false;
if (hasCommentId()) {
if (getCommentId()
!= other.getCommentId()) 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 (hasCommentId()) {
hash = (37 * hash) + COMMENTID_FIELD_NUMBER;
hash = (53 * hash) + getCommentId();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment 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.Friendgroup.SnsObjectOpDeleteComment parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment 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.Friendgroup.SnsObjectOpDeleteComment parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment 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.Friendgroup.SnsObjectOpDeleteComment parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment 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.Friendgroup.SnsObjectOpDeleteComment 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.SnsObjectOpDeleteComment}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsObjectOpDeleteComment)
wechat.protobuf.Friendgroup.SnsObjectOpDeleteCommentOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpDeleteComment_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpDeleteComment_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment.class, wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
commentId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsObjectOpDeleteComment_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment build() {
wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment buildPartial() {
wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment result = new wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.commentId_ = commentId_;
to_bitField0_ |= 0x00000001;
}
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.Friendgroup.SnsObjectOpDeleteComment) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment other) {
if (other == wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment.getDefaultInstance()) return this;
if (other.hasCommentId()) {
setCommentId(other.getCommentId());
}
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.Friendgroup.SnsObjectOpDeleteComment parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int commentId_ ;
/**
* optional uint32 commentId = 1;
* @return Whether the commentId field is set.
*/
@java.lang.Override
public boolean hasCommentId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 commentId = 1;
* @return The commentId.
*/
@java.lang.Override
public int getCommentId() {
return commentId_;
}
/**
* optional uint32 commentId = 1;
* @param value The commentId to set.
* @return This builder for chaining.
*/
public Builder setCommentId(int value) {
bitField0_ |= 0x00000001;
commentId_ = value;
onChanged();
return this;
}
/**
* optional uint32 commentId = 1;
* @return This builder for chaining.
*/
public Builder clearCommentId() {
bitField0_ = (bitField0_ & ~0x00000001);
commentId_ = 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.SnsObjectOpDeleteComment)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsObjectOpDeleteComment)
private static final wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment();
}
public static wechat.protobuf.Friendgroup.SnsObjectOpDeleteComment getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsObjectOpDeleteComment parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsObjectOpDeleteComment(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.Friendgroup.SnsObjectOpDeleteComment getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsCommentRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsCommentRequest)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
boolean hasBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
wechat.protobuf.BaseRequest getBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder();
/**
* optional .wechat_proto.SnsActionGroup action = 2;
* @return Whether the action field is set.
*/
boolean hasAction();
/**
* optional .wechat_proto.SnsActionGroup action = 2;
* @return The action.
*/
wechat.protobuf.Syncitem.SnsActionGroup getAction();
/**
* optional .wechat_proto.SnsActionGroup action = 2;
*/
wechat.protobuf.Syncitem.SnsActionGroupOrBuilder getActionOrBuilder();
/**
* optional string clientId = 3;
* @return Whether the clientId field is set.
*/
boolean hasClientId();
/**
* optional string clientId = 3;
* @return The clientId.
*/
java.lang.String getClientId();
/**
* optional string clientId = 3;
* @return The bytes for clientId.
*/
com.google.protobuf.ByteString
getClientIdBytes();
}
/**
* Protobuf type {@code wechat_proto.SnsCommentRequest}
*/
public static final class SnsCommentRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsCommentRequest)
SnsCommentRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsCommentRequest.newBuilder() to construct.
private SnsCommentRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsCommentRequest() {
clientId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsCommentRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsCommentRequest(
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.BaseRequest.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = baseRequest_.toBuilder();
}
baseRequest_ = input.readMessage(wechat.protobuf.BaseRequest.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseRequest_);
baseRequest_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
wechat.protobuf.Syncitem.SnsActionGroup.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = action_.toBuilder();
}
action_ = input.readMessage(wechat.protobuf.Syncitem.SnsActionGroup.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(action_);
action_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
clientId_ = bs;
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.Friendgroup.internal_static_wechat_proto_SnsCommentRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsCommentRequest.class, wechat.protobuf.Friendgroup.SnsCommentRequest.Builder.class);
}
private int bitField0_;
public static final int BASEREQUEST_FIELD_NUMBER = 1;
private wechat.protobuf.BaseRequest baseRequest_;
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
@java.lang.Override
public boolean hasBaseRequest() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
@java.lang.Override
public wechat.protobuf.BaseRequest getBaseRequest() {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
@java.lang.Override
public wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder() {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
public static final int ACTION_FIELD_NUMBER = 2;
private wechat.protobuf.Syncitem.SnsActionGroup action_;
/**
* optional .wechat_proto.SnsActionGroup action = 2;
* @return Whether the action field is set.
*/
@java.lang.Override
public boolean hasAction() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.SnsActionGroup action = 2;
* @return The action.
*/
@java.lang.Override
public wechat.protobuf.Syncitem.SnsActionGroup getAction() {
return action_ == null ? wechat.protobuf.Syncitem.SnsActionGroup.getDefaultInstance() : action_;
}
/**
* optional .wechat_proto.SnsActionGroup action = 2;
*/
@java.lang.Override
public wechat.protobuf.Syncitem.SnsActionGroupOrBuilder getActionOrBuilder() {
return action_ == null ? wechat.protobuf.Syncitem.SnsActionGroup.getDefaultInstance() : action_;
}
public static final int CLIENTID_FIELD_NUMBER = 3;
private volatile java.lang.Object clientId_;
/**
* optional string clientId = 3;
* @return Whether the clientId field is set.
*/
@java.lang.Override
public boolean hasClientId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string clientId = 3;
* @return The clientId.
*/
@java.lang.Override
public java.lang.String getClientId() {
java.lang.Object ref = clientId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
clientId_ = s;
}
return s;
}
}
/**
* optional string clientId = 3;
* @return The bytes for clientId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClientIdBytes() {
java.lang.Object ref = clientId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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, getBaseRequest());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getAction());
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, clientId_);
}
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, getBaseRequest());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getAction());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clientId_);
}
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.Friendgroup.SnsCommentRequest)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsCommentRequest other = (wechat.protobuf.Friendgroup.SnsCommentRequest) obj;
if (hasBaseRequest() != other.hasBaseRequest()) return false;
if (hasBaseRequest()) {
if (!getBaseRequest()
.equals(other.getBaseRequest())) return false;
}
if (hasAction() != other.hasAction()) return false;
if (hasAction()) {
if (!getAction()
.equals(other.getAction())) return false;
}
if (hasClientId() != other.hasClientId()) return false;
if (hasClientId()) {
if (!getClientId()
.equals(other.getClientId())) 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 (hasBaseRequest()) {
hash = (37 * hash) + BASEREQUEST_FIELD_NUMBER;
hash = (53 * hash) + getBaseRequest().hashCode();
}
if (hasAction()) {
hash = (37 * hash) + ACTION_FIELD_NUMBER;
hash = (53 * hash) + getAction().hashCode();
}
if (hasClientId()) {
hash = (37 * hash) + CLIENTID_FIELD_NUMBER;
hash = (53 * hash) + getClientId().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsCommentRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsCommentRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsCommentRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsCommentRequest 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.Friendgroup.SnsCommentRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsCommentRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsCommentRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsCommentRequest 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.Friendgroup.SnsCommentRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsCommentRequest 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.Friendgroup.SnsCommentRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsCommentRequest 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.Friendgroup.SnsCommentRequest 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.SnsCommentRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsCommentRequest)
wechat.protobuf.Friendgroup.SnsCommentRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsCommentRequest.class, wechat.protobuf.Friendgroup.SnsCommentRequest.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsCommentRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getBaseRequestFieldBuilder();
getActionFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (actionBuilder_ == null) {
action_ = null;
} else {
actionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
clientId_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentRequest_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsCommentRequest getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsCommentRequest.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsCommentRequest build() {
wechat.protobuf.Friendgroup.SnsCommentRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsCommentRequest buildPartial() {
wechat.protobuf.Friendgroup.SnsCommentRequest result = new wechat.protobuf.Friendgroup.SnsCommentRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (baseRequestBuilder_ == null) {
result.baseRequest_ = baseRequest_;
} else {
result.baseRequest_ = baseRequestBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
if (actionBuilder_ == null) {
result.action_ = action_;
} else {
result.action_ = actionBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.clientId_ = clientId_;
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.Friendgroup.SnsCommentRequest) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsCommentRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsCommentRequest other) {
if (other == wechat.protobuf.Friendgroup.SnsCommentRequest.getDefaultInstance()) return this;
if (other.hasBaseRequest()) {
mergeBaseRequest(other.getBaseRequest());
}
if (other.hasAction()) {
mergeAction(other.getAction());
}
if (other.hasClientId()) {
bitField0_ |= 0x00000004;
clientId_ = other.clientId_;
onChanged();
}
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.Friendgroup.SnsCommentRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsCommentRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private wechat.protobuf.BaseRequest baseRequest_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder> baseRequestBuilder_;
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
public boolean hasBaseRequest() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
public wechat.protobuf.BaseRequest getBaseRequest() {
if (baseRequestBuilder_ == null) {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
} else {
return baseRequestBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder setBaseRequest(wechat.protobuf.BaseRequest value) {
if (baseRequestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseRequest_ = value;
onChanged();
} else {
baseRequestBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder setBaseRequest(
wechat.protobuf.BaseRequest.Builder builderForValue) {
if (baseRequestBuilder_ == null) {
baseRequest_ = builderForValue.build();
onChanged();
} else {
baseRequestBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder mergeBaseRequest(wechat.protobuf.BaseRequest value) {
if (baseRequestBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
baseRequest_ != null &&
baseRequest_ != wechat.protobuf.BaseRequest.getDefaultInstance()) {
baseRequest_ =
wechat.protobuf.BaseRequest.newBuilder(baseRequest_).mergeFrom(value).buildPartial();
} else {
baseRequest_ = value;
}
onChanged();
} else {
baseRequestBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder clearBaseRequest() {
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
onChanged();
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public wechat.protobuf.BaseRequest.Builder getBaseRequestBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getBaseRequestFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder() {
if (baseRequestBuilder_ != null) {
return baseRequestBuilder_.getMessageOrBuilder();
} else {
return baseRequest_ == null ?
wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder>
getBaseRequestFieldBuilder() {
if (baseRequestBuilder_ == null) {
baseRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder>(
getBaseRequest(),
getParentForChildren(),
isClean());
baseRequest_ = null;
}
return baseRequestBuilder_;
}
private wechat.protobuf.Syncitem.SnsActionGroup action_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Syncitem.SnsActionGroup, wechat.protobuf.Syncitem.SnsActionGroup.Builder, wechat.protobuf.Syncitem.SnsActionGroupOrBuilder> actionBuilder_;
/**
* optional .wechat_proto.SnsActionGroup action = 2;
* @return Whether the action field is set.
*/
public boolean hasAction() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.SnsActionGroup action = 2;
* @return The action.
*/
public wechat.protobuf.Syncitem.SnsActionGroup getAction() {
if (actionBuilder_ == null) {
return action_ == null ? wechat.protobuf.Syncitem.SnsActionGroup.getDefaultInstance() : action_;
} else {
return actionBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SnsActionGroup action = 2;
*/
public Builder setAction(wechat.protobuf.Syncitem.SnsActionGroup value) {
if (actionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
action_ = value;
onChanged();
} else {
actionBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SnsActionGroup action = 2;
*/
public Builder setAction(
wechat.protobuf.Syncitem.SnsActionGroup.Builder builderForValue) {
if (actionBuilder_ == null) {
action_ = builderForValue.build();
onChanged();
} else {
actionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SnsActionGroup action = 2;
*/
public Builder mergeAction(wechat.protobuf.Syncitem.SnsActionGroup value) {
if (actionBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
action_ != null &&
action_ != wechat.protobuf.Syncitem.SnsActionGroup.getDefaultInstance()) {
action_ =
wechat.protobuf.Syncitem.SnsActionGroup.newBuilder(action_).mergeFrom(value).buildPartial();
} else {
action_ = value;
}
onChanged();
} else {
actionBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SnsActionGroup action = 2;
*/
public Builder clearAction() {
if (actionBuilder_ == null) {
action_ = null;
onChanged();
} else {
actionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .wechat_proto.SnsActionGroup action = 2;
*/
public wechat.protobuf.Syncitem.SnsActionGroup.Builder getActionBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getActionFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SnsActionGroup action = 2;
*/
public wechat.protobuf.Syncitem.SnsActionGroupOrBuilder getActionOrBuilder() {
if (actionBuilder_ != null) {
return actionBuilder_.getMessageOrBuilder();
} else {
return action_ == null ?
wechat.protobuf.Syncitem.SnsActionGroup.getDefaultInstance() : action_;
}
}
/**
* optional .wechat_proto.SnsActionGroup action = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Syncitem.SnsActionGroup, wechat.protobuf.Syncitem.SnsActionGroup.Builder, wechat.protobuf.Syncitem.SnsActionGroupOrBuilder>
getActionFieldBuilder() {
if (actionBuilder_ == null) {
actionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Syncitem.SnsActionGroup, wechat.protobuf.Syncitem.SnsActionGroup.Builder, wechat.protobuf.Syncitem.SnsActionGroupOrBuilder>(
getAction(),
getParentForChildren(),
isClean());
action_ = null;
}
return actionBuilder_;
}
private java.lang.Object clientId_ = "";
/**
* optional string clientId = 3;
* @return Whether the clientId field is set.
*/
public boolean hasClientId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string clientId = 3;
* @return The clientId.
*/
public java.lang.String getClientId() {
java.lang.Object ref = clientId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
clientId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string clientId = 3;
* @return The bytes for clientId.
*/
public com.google.protobuf.ByteString
getClientIdBytes() {
java.lang.Object ref = clientId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string clientId = 3;
* @param value The clientId to set.
* @return This builder for chaining.
*/
public Builder setClientId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
clientId_ = value;
onChanged();
return this;
}
/**
* optional string clientId = 3;
* @return This builder for chaining.
*/
public Builder clearClientId() {
bitField0_ = (bitField0_ & ~0x00000004);
clientId_ = getDefaultInstance().getClientId();
onChanged();
return this;
}
/**
* optional string clientId = 3;
* @param value The bytes for clientId to set.
* @return This builder for chaining.
*/
public Builder setClientIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
clientId_ = value;
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.SnsCommentRequest)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsCommentRequest)
private static final wechat.protobuf.Friendgroup.SnsCommentRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsCommentRequest();
}
public static wechat.protobuf.Friendgroup.SnsCommentRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsCommentRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsCommentRequest(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.Friendgroup.SnsCommentRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsCommentResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsCommentResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
boolean hasBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
wechat.protobuf.BaseResponse getBaseResponse();
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder();
/**
* optional .wechat_proto.SnsObject snsObject = 2;
* @return Whether the snsObject field is set.
*/
boolean hasSnsObject();
/**
* optional .wechat_proto.SnsObject snsObject = 2;
* @return The snsObject.
*/
wechat.protobuf.Friendgroup.SnsObject getSnsObject();
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder();
}
/**
* Protobuf type {@code wechat_proto.SnsCommentResponse}
*/
public static final class SnsCommentResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsCommentResponse)
SnsCommentResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsCommentResponse.newBuilder() to construct.
private SnsCommentResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsCommentResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsCommentResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsCommentResponse(
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.Friendgroup.SnsObject.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = snsObject_.toBuilder();
}
snsObject_ = input.readMessage(wechat.protobuf.Friendgroup.SnsObject.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(snsObject_);
snsObject_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
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.Friendgroup.internal_static_wechat_proto_SnsCommentResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsCommentResponse.class, wechat.protobuf.Friendgroup.SnsCommentResponse.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 SNSOBJECT_FIELD_NUMBER = 2;
private wechat.protobuf.Friendgroup.SnsObject snsObject_;
/**
* optional .wechat_proto.SnsObject snsObject = 2;
* @return Whether the snsObject field is set.
*/
@java.lang.Override
public boolean hasSnsObject() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
* @return The snsObject.
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObject getSnsObject() {
return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_;
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder() {
return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_;
}
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, getSnsObject());
}
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, getSnsObject());
}
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.Friendgroup.SnsCommentResponse)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsCommentResponse other = (wechat.protobuf.Friendgroup.SnsCommentResponse) obj;
if (hasBaseResponse() != other.hasBaseResponse()) return false;
if (hasBaseResponse()) {
if (!getBaseResponse()
.equals(other.getBaseResponse())) return false;
}
if (hasSnsObject() != other.hasSnsObject()) return false;
if (hasSnsObject()) {
if (!getSnsObject()
.equals(other.getSnsObject())) 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 (hasSnsObject()) {
hash = (37 * hash) + SNSOBJECT_FIELD_NUMBER;
hash = (53 * hash) + getSnsObject().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsCommentResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsCommentResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsCommentResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsCommentResponse 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.Friendgroup.SnsCommentResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsCommentResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsCommentResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsCommentResponse 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.Friendgroup.SnsCommentResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsCommentResponse 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.Friendgroup.SnsCommentResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsCommentResponse 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.Friendgroup.SnsCommentResponse 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.SnsCommentResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsCommentResponse)
wechat.protobuf.Friendgroup.SnsCommentResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsCommentResponse.class, wechat.protobuf.Friendgroup.SnsCommentResponse.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsCommentResponse.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();
getSnsObjectFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseResponseBuilder_ == null) {
baseResponse_ = null;
} else {
baseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (snsObjectBuilder_ == null) {
snsObject_ = null;
} else {
snsObjectBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsCommentResponse_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsCommentResponse getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsCommentResponse.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsCommentResponse build() {
wechat.protobuf.Friendgroup.SnsCommentResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsCommentResponse buildPartial() {
wechat.protobuf.Friendgroup.SnsCommentResponse result = new wechat.protobuf.Friendgroup.SnsCommentResponse(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 (snsObjectBuilder_ == null) {
result.snsObject_ = snsObject_;
} else {
result.snsObject_ = snsObjectBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
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.Friendgroup.SnsCommentResponse) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsCommentResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsCommentResponse other) {
if (other == wechat.protobuf.Friendgroup.SnsCommentResponse.getDefaultInstance()) return this;
if (other.hasBaseResponse()) {
mergeBaseResponse(other.getBaseResponse());
}
if (other.hasSnsObject()) {
mergeSnsObject(other.getSnsObject());
}
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.Friendgroup.SnsCommentResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsCommentResponse) 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.Friendgroup.SnsObject snsObject_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder> snsObjectBuilder_;
/**
* optional .wechat_proto.SnsObject snsObject = 2;
* @return Whether the snsObject field is set.
*/
public boolean hasSnsObject() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
* @return The snsObject.
*/
public wechat.protobuf.Friendgroup.SnsObject getSnsObject() {
if (snsObjectBuilder_ == null) {
return snsObject_ == null ? wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_;
} else {
return snsObjectBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
public Builder setSnsObject(wechat.protobuf.Friendgroup.SnsObject value) {
if (snsObjectBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
snsObject_ = value;
onChanged();
} else {
snsObjectBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
public Builder setSnsObject(
wechat.protobuf.Friendgroup.SnsObject.Builder builderForValue) {
if (snsObjectBuilder_ == null) {
snsObject_ = builderForValue.build();
onChanged();
} else {
snsObjectBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
public Builder mergeSnsObject(wechat.protobuf.Friendgroup.SnsObject value) {
if (snsObjectBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
snsObject_ != null &&
snsObject_ != wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance()) {
snsObject_ =
wechat.protobuf.Friendgroup.SnsObject.newBuilder(snsObject_).mergeFrom(value).buildPartial();
} else {
snsObject_ = value;
}
onChanged();
} else {
snsObjectBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
public Builder clearSnsObject() {
if (snsObjectBuilder_ == null) {
snsObject_ = null;
onChanged();
} else {
snsObjectBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
public wechat.protobuf.Friendgroup.SnsObject.Builder getSnsObjectBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getSnsObjectFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
public wechat.protobuf.Friendgroup.SnsObjectOrBuilder getSnsObjectOrBuilder() {
if (snsObjectBuilder_ != null) {
return snsObjectBuilder_.getMessageOrBuilder();
} else {
return snsObject_ == null ?
wechat.protobuf.Friendgroup.SnsObject.getDefaultInstance() : snsObject_;
}
}
/**
* optional .wechat_proto.SnsObject snsObject = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder>
getSnsObjectFieldBuilder() {
if (snsObjectBuilder_ == null) {
snsObjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.Friendgroup.SnsObject, wechat.protobuf.Friendgroup.SnsObject.Builder, wechat.protobuf.Friendgroup.SnsObjectOrBuilder>(
getSnsObject(),
getParentForChildren(),
isClean());
snsObject_ = null;
}
return snsObjectBuilder_;
}
@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.SnsCommentResponse)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsCommentResponse)
private static final wechat.protobuf.Friendgroup.SnsCommentResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsCommentResponse();
}
public static wechat.protobuf.Friendgroup.SnsCommentResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnsCommentResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnsCommentResponse(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.Friendgroup.SnsCommentResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ModSnsBlackListOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.ModSnsBlackList)
com.google.protobuf.MessageOrBuilder {
/**
* optional string contactUsername = 1;
* @return Whether the contactUsername field is set.
*/
boolean hasContactUsername();
/**
* optional string contactUsername = 1;
* @return The contactUsername.
*/
java.lang.String getContactUsername();
/**
* optional string contactUsername = 1;
* @return The bytes for contactUsername.
*/
com.google.protobuf.ByteString
getContactUsernameBytes();
/**
* optional uint32 modType = 2;
* @return Whether the modType field is set.
*/
boolean hasModType();
/**
* optional uint32 modType = 2;
* @return The modType.
*/
int getModType();
}
/**
* Protobuf type {@code wechat_proto.ModSnsBlackList}
*/
public static final class ModSnsBlackList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.ModSnsBlackList)
ModSnsBlackListOrBuilder {
private static final long serialVersionUID = 0L;
// Use ModSnsBlackList.newBuilder() to construct.
private ModSnsBlackList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ModSnsBlackList() {
contactUsername_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ModSnsBlackList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ModSnsBlackList(
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: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
contactUsername_ = bs;
break;
}
case 16: {
bitField0_ |= 0x00000002;
modType_ = 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.Friendgroup.internal_static_wechat_proto_ModSnsBlackList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_ModSnsBlackList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.ModSnsBlackList.class, wechat.protobuf.Friendgroup.ModSnsBlackList.Builder.class);
}
private int bitField0_;
public static final int CONTACTUSERNAME_FIELD_NUMBER = 1;
private volatile java.lang.Object contactUsername_;
/**
* optional string contactUsername = 1;
* @return Whether the contactUsername field is set.
*/
@java.lang.Override
public boolean hasContactUsername() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string contactUsername = 1;
* @return The contactUsername.
*/
@java.lang.Override
public java.lang.String getContactUsername() {
java.lang.Object ref = contactUsername_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
contactUsername_ = s;
}
return s;
}
}
/**
* optional string contactUsername = 1;
* @return The bytes for contactUsername.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getContactUsernameBytes() {
java.lang.Object ref = contactUsername_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
contactUsername_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MODTYPE_FIELD_NUMBER = 2;
private int modType_;
/**
* optional uint32 modType = 2;
* @return Whether the modType field is set.
*/
@java.lang.Override
public boolean hasModType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 modType = 2;
* @return The modType.
*/
@java.lang.Override
public int getModType() {
return modType_;
}
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)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, contactUsername_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, modType_);
}
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.GeneratedMessageV3.computeStringSize(1, contactUsername_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, modType_);
}
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.Friendgroup.ModSnsBlackList)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.ModSnsBlackList other = (wechat.protobuf.Friendgroup.ModSnsBlackList) obj;
if (hasContactUsername() != other.hasContactUsername()) return false;
if (hasContactUsername()) {
if (!getContactUsername()
.equals(other.getContactUsername())) return false;
}
if (hasModType() != other.hasModType()) return false;
if (hasModType()) {
if (getModType()
!= other.getModType()) 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 (hasContactUsername()) {
hash = (37 * hash) + CONTACTUSERNAME_FIELD_NUMBER;
hash = (53 * hash) + getContactUsername().hashCode();
}
if (hasModType()) {
hash = (37 * hash) + MODTYPE_FIELD_NUMBER;
hash = (53 * hash) + getModType();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.ModSnsBlackList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.ModSnsBlackList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.ModSnsBlackList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.ModSnsBlackList 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.Friendgroup.ModSnsBlackList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.ModSnsBlackList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.ModSnsBlackList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.ModSnsBlackList 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.Friendgroup.ModSnsBlackList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.ModSnsBlackList 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.Friendgroup.ModSnsBlackList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.ModSnsBlackList 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.Friendgroup.ModSnsBlackList 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.ModSnsBlackList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.ModSnsBlackList)
wechat.protobuf.Friendgroup.ModSnsBlackListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_ModSnsBlackList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_ModSnsBlackList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.ModSnsBlackList.class, wechat.protobuf.Friendgroup.ModSnsBlackList.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.ModSnsBlackList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
contactUsername_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
modType_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_ModSnsBlackList_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.ModSnsBlackList getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.ModSnsBlackList.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.ModSnsBlackList build() {
wechat.protobuf.Friendgroup.ModSnsBlackList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.ModSnsBlackList buildPartial() {
wechat.protobuf.Friendgroup.ModSnsBlackList result = new wechat.protobuf.Friendgroup.ModSnsBlackList(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.contactUsername_ = contactUsername_;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.modType_ = modType_;
to_bitField0_ |= 0x00000002;
}
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.Friendgroup.ModSnsBlackList) {
return mergeFrom((wechat.protobuf.Friendgroup.ModSnsBlackList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.ModSnsBlackList other) {
if (other == wechat.protobuf.Friendgroup.ModSnsBlackList.getDefaultInstance()) return this;
if (other.hasContactUsername()) {
bitField0_ |= 0x00000001;
contactUsername_ = other.contactUsername_;
onChanged();
}
if (other.hasModType()) {
setModType(other.getModType());
}
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.Friendgroup.ModSnsBlackList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.ModSnsBlackList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object contactUsername_ = "";
/**
* optional string contactUsername = 1;
* @return Whether the contactUsername field is set.
*/
public boolean hasContactUsername() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string contactUsername = 1;
* @return The contactUsername.
*/
public java.lang.String getContactUsername() {
java.lang.Object ref = contactUsername_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
contactUsername_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string contactUsername = 1;
* @return The bytes for contactUsername.
*/
public com.google.protobuf.ByteString
getContactUsernameBytes() {
java.lang.Object ref = contactUsername_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
contactUsername_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string contactUsername = 1;
* @param value The contactUsername to set.
* @return This builder for chaining.
*/
public Builder setContactUsername(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
contactUsername_ = value;
onChanged();
return this;
}
/**
* optional string contactUsername = 1;
* @return This builder for chaining.
*/
public Builder clearContactUsername() {
bitField0_ = (bitField0_ & ~0x00000001);
contactUsername_ = getDefaultInstance().getContactUsername();
onChanged();
return this;
}
/**
* optional string contactUsername = 1;
* @param value The bytes for contactUsername to set.
* @return This builder for chaining.
*/
public Builder setContactUsernameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
contactUsername_ = value;
onChanged();
return this;
}
private int modType_ ;
/**
* optional uint32 modType = 2;
* @return Whether the modType field is set.
*/
@java.lang.Override
public boolean hasModType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 modType = 2;
* @return The modType.
*/
@java.lang.Override
public int getModType() {
return modType_;
}
/**
* optional uint32 modType = 2;
* @param value The modType to set.
* @return This builder for chaining.
*/
public Builder setModType(int value) {
bitField0_ |= 0x00000002;
modType_ = value;
onChanged();
return this;
}
/**
* optional uint32 modType = 2;
* @return This builder for chaining.
*/
public Builder clearModType() {
bitField0_ = (bitField0_ & ~0x00000002);
modType_ = 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.ModSnsBlackList)
}
// @@protoc_insertion_point(class_scope:wechat_proto.ModSnsBlackList)
private static final wechat.protobuf.Friendgroup.ModSnsBlackList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.ModSnsBlackList();
}
public static wechat.protobuf.Friendgroup.ModSnsBlackList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ModSnsBlackList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ModSnsBlackList(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.Friendgroup.ModSnsBlackList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnsTagMemberOptionRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:wechat_proto.SnsTagMemberOptionRequest)
com.google.protobuf.MessageOrBuilder {
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
boolean hasBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
wechat.protobuf.BaseRequest getBaseRequest();
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder();
/**
* optional uint32 opCode = 2;
* @return Whether the opCode field is set.
*/
boolean hasOpCode();
/**
* optional uint32 opCode = 2;
* @return The opCode.
*/
int getOpCode();
/**
* optional uint64 tagId = 3;
* @return Whether the tagId field is set.
*/
boolean hasTagId();
/**
* optional uint64 tagId = 3;
* @return The tagId.
*/
long getTagId();
/**
* optional string tagName = 4;
* @return Whether the tagName field is set.
*/
boolean hasTagName();
/**
* optional string tagName = 4;
* @return The tagName.
*/
java.lang.String getTagName();
/**
* optional string tagName = 4;
* @return The bytes for tagName.
*/
com.google.protobuf.ByteString
getTagNameBytes();
/**
* optional uint32 count = 5;
* @return Whether the count field is set.
*/
boolean hasCount();
/**
* optional uint32 count = 5;
* @return The count.
*/
int getCount();
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
java.util.List
getListList();
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
wechat.protobuf.SKBuiltinString getList(int index);
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
int getListCount();
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getListOrBuilderList();
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
wechat.protobuf.SKBuiltinStringOrBuilder getListOrBuilder(
int index);
/**
* optional uint32 scene = 7;
* @return Whether the scene field is set.
*/
boolean hasScene();
/**
* optional uint32 scene = 7;
* @return The scene.
*/
int getScene();
}
/**
* Protobuf type {@code wechat_proto.SnsTagMemberOptionRequest}
*/
public static final class SnsTagMemberOptionRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.SnsTagMemberOptionRequest)
SnsTagMemberOptionRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnsTagMemberOptionRequest.newBuilder() to construct.
private SnsTagMemberOptionRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnsTagMemberOptionRequest() {
tagName_ = "";
list_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnsTagMemberOptionRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnsTagMemberOptionRequest(
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.BaseRequest.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = baseRequest_.toBuilder();
}
baseRequest_ = input.readMessage(wechat.protobuf.BaseRequest.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseRequest_);
baseRequest_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
opCode_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
tagId_ = input.readUInt64();
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
tagName_ = bs;
break;
}
case 40: {
bitField0_ |= 0x00000010;
count_ = input.readUInt32();
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000020) != 0)) {
list_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
list_.add(
input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry));
break;
}
case 56: {
bitField0_ |= 0x00000020;
scene_ = 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_ & 0x00000020) != 0)) {
list_ = java.util.Collections.unmodifiableList(list_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagMemberOptionRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagMemberOptionRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest.class, wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest.Builder.class);
}
private int bitField0_;
public static final int BASEREQUEST_FIELD_NUMBER = 1;
private wechat.protobuf.BaseRequest baseRequest_;
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
@java.lang.Override
public boolean hasBaseRequest() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
@java.lang.Override
public wechat.protobuf.BaseRequest getBaseRequest() {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
@java.lang.Override
public wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder() {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
public static final int OPCODE_FIELD_NUMBER = 2;
private int opCode_;
/**
* optional uint32 opCode = 2;
* @return Whether the opCode field is set.
*/
@java.lang.Override
public boolean hasOpCode() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 opCode = 2;
* @return The opCode.
*/
@java.lang.Override
public int getOpCode() {
return opCode_;
}
public static final int TAGID_FIELD_NUMBER = 3;
private long tagId_;
/**
* optional uint64 tagId = 3;
* @return Whether the tagId field is set.
*/
@java.lang.Override
public boolean hasTagId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint64 tagId = 3;
* @return The tagId.
*/
@java.lang.Override
public long getTagId() {
return tagId_;
}
public static final int TAGNAME_FIELD_NUMBER = 4;
private volatile java.lang.Object tagName_;
/**
* optional string tagName = 4;
* @return Whether the tagName field is set.
*/
@java.lang.Override
public boolean hasTagName() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string tagName = 4;
* @return The tagName.
*/
@java.lang.Override
public java.lang.String getTagName() {
java.lang.Object ref = tagName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
tagName_ = s;
}
return s;
}
}
/**
* optional string tagName = 4;
* @return The bytes for tagName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTagNameBytes() {
java.lang.Object ref = tagName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tagName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COUNT_FIELD_NUMBER = 5;
private int count_;
/**
* optional uint32 count = 5;
* @return Whether the count field is set.
*/
@java.lang.Override
public boolean hasCount() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 count = 5;
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
public static final int LIST_FIELD_NUMBER = 6;
private java.util.List list_;
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
@java.lang.Override
public java.util.List getListList() {
return list_;
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getListOrBuilderList() {
return list_;
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
@java.lang.Override
public int getListCount() {
return list_.size();
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString getList(int index) {
return list_.get(index);
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinStringOrBuilder getListOrBuilder(
int index) {
return list_.get(index);
}
public static final int SCENE_FIELD_NUMBER = 7;
private int scene_;
/**
* optional uint32 scene = 7;
* @return Whether the scene field is set.
*/
@java.lang.Override
public boolean hasScene() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 scene = 7;
* @return The scene.
*/
@java.lang.Override
public int getScene() {
return scene_;
}
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, getBaseRequest());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, opCode_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt64(3, tagId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, tagName_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, count_);
}
for (int i = 0; i < list_.size(); i++) {
output.writeMessage(6, list_.get(i));
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt32(7, scene_);
}
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, getBaseRequest());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, opCode_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, tagId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, tagName_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, count_);
}
for (int i = 0; i < list_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, list_.get(i));
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, scene_);
}
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.Friendgroup.SnsTagMemberOptionRequest)) {
return super.equals(obj);
}
wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest other = (wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest) obj;
if (hasBaseRequest() != other.hasBaseRequest()) return false;
if (hasBaseRequest()) {
if (!getBaseRequest()
.equals(other.getBaseRequest())) return false;
}
if (hasOpCode() != other.hasOpCode()) return false;
if (hasOpCode()) {
if (getOpCode()
!= other.getOpCode()) return false;
}
if (hasTagId() != other.hasTagId()) return false;
if (hasTagId()) {
if (getTagId()
!= other.getTagId()) return false;
}
if (hasTagName() != other.hasTagName()) return false;
if (hasTagName()) {
if (!getTagName()
.equals(other.getTagName())) return false;
}
if (hasCount() != other.hasCount()) return false;
if (hasCount()) {
if (getCount()
!= other.getCount()) return false;
}
if (!getListList()
.equals(other.getListList())) return false;
if (hasScene() != other.hasScene()) return false;
if (hasScene()) {
if (getScene()
!= other.getScene()) 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 (hasBaseRequest()) {
hash = (37 * hash) + BASEREQUEST_FIELD_NUMBER;
hash = (53 * hash) + getBaseRequest().hashCode();
}
if (hasOpCode()) {
hash = (37 * hash) + OPCODE_FIELD_NUMBER;
hash = (53 * hash) + getOpCode();
}
if (hasTagId()) {
hash = (37 * hash) + TAGID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTagId());
}
if (hasTagName()) {
hash = (37 * hash) + TAGNAME_FIELD_NUMBER;
hash = (53 * hash) + getTagName().hashCode();
}
if (hasCount()) {
hash = (37 * hash) + COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCount();
}
if (getListCount() > 0) {
hash = (37 * hash) + LIST_FIELD_NUMBER;
hash = (53 * hash) + getListList().hashCode();
}
if (hasScene()) {
hash = (37 * hash) + SCENE_FIELD_NUMBER;
hash = (53 * hash) + getScene();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest 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.Friendgroup.SnsTagMemberOptionRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest 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.Friendgroup.SnsTagMemberOptionRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest 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.Friendgroup.SnsTagMemberOptionRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest 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.Friendgroup.SnsTagMemberOptionRequest 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.SnsTagMemberOptionRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.SnsTagMemberOptionRequest)
wechat.protobuf.Friendgroup.SnsTagMemberOptionRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagMemberOptionRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagMemberOptionRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest.class, wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest.Builder.class);
}
// Construct using wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getBaseRequestFieldBuilder();
getListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
opCode_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
tagId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
tagName_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
count_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
if (listBuilder_ == null) {
list_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
listBuilder_.clear();
}
scene_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Friendgroup.internal_static_wechat_proto_SnsTagMemberOptionRequest_descriptor;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest getDefaultInstanceForType() {
return wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest build() {
wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest buildPartial() {
wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest result = new wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (baseRequestBuilder_ == null) {
result.baseRequest_ = baseRequest_;
} else {
result.baseRequest_ = baseRequestBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.opCode_ = opCode_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.tagId_ = tagId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.tagName_ = tagName_;
if (((from_bitField0_ & 0x00000010) != 0)) {
result.count_ = count_;
to_bitField0_ |= 0x00000010;
}
if (listBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0)) {
list_ = java.util.Collections.unmodifiableList(list_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.list_ = list_;
} else {
result.list_ = listBuilder_.build();
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.scene_ = scene_;
to_bitField0_ |= 0x00000020;
}
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.Friendgroup.SnsTagMemberOptionRequest) {
return mergeFrom((wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest other) {
if (other == wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest.getDefaultInstance()) return this;
if (other.hasBaseRequest()) {
mergeBaseRequest(other.getBaseRequest());
}
if (other.hasOpCode()) {
setOpCode(other.getOpCode());
}
if (other.hasTagId()) {
setTagId(other.getTagId());
}
if (other.hasTagName()) {
bitField0_ |= 0x00000008;
tagName_ = other.tagName_;
onChanged();
}
if (other.hasCount()) {
setCount(other.getCount());
}
if (listBuilder_ == null) {
if (!other.list_.isEmpty()) {
if (list_.isEmpty()) {
list_ = other.list_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureListIsMutable();
list_.addAll(other.list_);
}
onChanged();
}
} else {
if (!other.list_.isEmpty()) {
if (listBuilder_.isEmpty()) {
listBuilder_.dispose();
listBuilder_ = null;
list_ = other.list_;
bitField0_ = (bitField0_ & ~0x00000020);
listBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getListFieldBuilder() : null;
} else {
listBuilder_.addAllMessages(other.list_);
}
}
}
if (other.hasScene()) {
setScene(other.getScene());
}
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.Friendgroup.SnsTagMemberOptionRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private wechat.protobuf.BaseRequest baseRequest_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder> baseRequestBuilder_;
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return Whether the baseRequest field is set.
*/
public boolean hasBaseRequest() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
* @return The baseRequest.
*/
public wechat.protobuf.BaseRequest getBaseRequest() {
if (baseRequestBuilder_ == null) {
return baseRequest_ == null ? wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
} else {
return baseRequestBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder setBaseRequest(wechat.protobuf.BaseRequest value) {
if (baseRequestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseRequest_ = value;
onChanged();
} else {
baseRequestBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder setBaseRequest(
wechat.protobuf.BaseRequest.Builder builderForValue) {
if (baseRequestBuilder_ == null) {
baseRequest_ = builderForValue.build();
onChanged();
} else {
baseRequestBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder mergeBaseRequest(wechat.protobuf.BaseRequest value) {
if (baseRequestBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
baseRequest_ != null &&
baseRequest_ != wechat.protobuf.BaseRequest.getDefaultInstance()) {
baseRequest_ =
wechat.protobuf.BaseRequest.newBuilder(baseRequest_).mergeFrom(value).buildPartial();
} else {
baseRequest_ = value;
}
onChanged();
} else {
baseRequestBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public Builder clearBaseRequest() {
if (baseRequestBuilder_ == null) {
baseRequest_ = null;
onChanged();
} else {
baseRequestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public wechat.protobuf.BaseRequest.Builder getBaseRequestBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getBaseRequestFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
public wechat.protobuf.BaseRequestOrBuilder getBaseRequestOrBuilder() {
if (baseRequestBuilder_ != null) {
return baseRequestBuilder_.getMessageOrBuilder();
} else {
return baseRequest_ == null ?
wechat.protobuf.BaseRequest.getDefaultInstance() : baseRequest_;
}
}
/**
* optional .wechat_proto.BaseRequest baseRequest = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder>
getBaseRequestFieldBuilder() {
if (baseRequestBuilder_ == null) {
baseRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseRequest, wechat.protobuf.BaseRequest.Builder, wechat.protobuf.BaseRequestOrBuilder>(
getBaseRequest(),
getParentForChildren(),
isClean());
baseRequest_ = null;
}
return baseRequestBuilder_;
}
private int opCode_ ;
/**
* optional uint32 opCode = 2;
* @return Whether the opCode field is set.
*/
@java.lang.Override
public boolean hasOpCode() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 opCode = 2;
* @return The opCode.
*/
@java.lang.Override
public int getOpCode() {
return opCode_;
}
/**
* optional uint32 opCode = 2;
* @param value The opCode to set.
* @return This builder for chaining.
*/
public Builder setOpCode(int value) {
bitField0_ |= 0x00000002;
opCode_ = value;
onChanged();
return this;
}
/**
* optional uint32 opCode = 2;
* @return This builder for chaining.
*/
public Builder clearOpCode() {
bitField0_ = (bitField0_ & ~0x00000002);
opCode_ = 0;
onChanged();
return this;
}
private long tagId_ ;
/**
* optional uint64 tagId = 3;
* @return Whether the tagId field is set.
*/
@java.lang.Override
public boolean hasTagId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint64 tagId = 3;
* @return The tagId.
*/
@java.lang.Override
public long getTagId() {
return tagId_;
}
/**
* optional uint64 tagId = 3;
* @param value The tagId to set.
* @return This builder for chaining.
*/
public Builder setTagId(long value) {
bitField0_ |= 0x00000004;
tagId_ = value;
onChanged();
return this;
}
/**
* optional uint64 tagId = 3;
* @return This builder for chaining.
*/
public Builder clearTagId() {
bitField0_ = (bitField0_ & ~0x00000004);
tagId_ = 0L;
onChanged();
return this;
}
private java.lang.Object tagName_ = "";
/**
* optional string tagName = 4;
* @return Whether the tagName field is set.
*/
public boolean hasTagName() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string tagName = 4;
* @return The tagName.
*/
public java.lang.String getTagName() {
java.lang.Object ref = tagName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
tagName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string tagName = 4;
* @return The bytes for tagName.
*/
public com.google.protobuf.ByteString
getTagNameBytes() {
java.lang.Object ref = tagName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tagName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string tagName = 4;
* @param value The tagName to set.
* @return This builder for chaining.
*/
public Builder setTagName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
tagName_ = value;
onChanged();
return this;
}
/**
* optional string tagName = 4;
* @return This builder for chaining.
*/
public Builder clearTagName() {
bitField0_ = (bitField0_ & ~0x00000008);
tagName_ = getDefaultInstance().getTagName();
onChanged();
return this;
}
/**
* optional string tagName = 4;
* @param value The bytes for tagName to set.
* @return This builder for chaining.
*/
public Builder setTagNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
tagName_ = value;
onChanged();
return this;
}
private int count_ ;
/**
* optional uint32 count = 5;
* @return Whether the count field is set.
*/
@java.lang.Override
public boolean hasCount() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 count = 5;
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
/**
* optional uint32 count = 5;
* @param value The count to set.
* @return This builder for chaining.
*/
public Builder setCount(int value) {
bitField0_ |= 0x00000010;
count_ = value;
onChanged();
return this;
}
/**
* optional uint32 count = 5;
* @return This builder for chaining.
*/
public Builder clearCount() {
bitField0_ = (bitField0_ & ~0x00000010);
count_ = 0;
onChanged();
return this;
}
private java.util.List list_ =
java.util.Collections.emptyList();
private void ensureListIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
list_ = new java.util.ArrayList(list_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> listBuilder_;
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public java.util.List getListList() {
if (listBuilder_ == null) {
return java.util.Collections.unmodifiableList(list_);
} else {
return listBuilder_.getMessageList();
}
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public int getListCount() {
if (listBuilder_ == null) {
return list_.size();
} else {
return listBuilder_.getCount();
}
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public wechat.protobuf.SKBuiltinString getList(int index) {
if (listBuilder_ == null) {
return list_.get(index);
} else {
return listBuilder_.getMessage(index);
}
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public Builder setList(
int index, wechat.protobuf.SKBuiltinString value) {
if (listBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureListIsMutable();
list_.set(index, value);
onChanged();
} else {
listBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public Builder setList(
int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (listBuilder_ == null) {
ensureListIsMutable();
list_.set(index, builderForValue.build());
onChanged();
} else {
listBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public Builder addList(wechat.protobuf.SKBuiltinString value) {
if (listBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureListIsMutable();
list_.add(value);
onChanged();
} else {
listBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public Builder addList(
int index, wechat.protobuf.SKBuiltinString value) {
if (listBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureListIsMutable();
list_.add(index, value);
onChanged();
} else {
listBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public Builder addList(
wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (listBuilder_ == null) {
ensureListIsMutable();
list_.add(builderForValue.build());
onChanged();
} else {
listBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public Builder addList(
int index, wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (listBuilder_ == null) {
ensureListIsMutable();
list_.add(index, builderForValue.build());
onChanged();
} else {
listBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public Builder addAllList(
java.lang.Iterable extends wechat.protobuf.SKBuiltinString> values) {
if (listBuilder_ == null) {
ensureListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, list_);
onChanged();
} else {
listBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public Builder clearList() {
if (listBuilder_ == null) {
list_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
listBuilder_.clear();
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public Builder removeList(int index) {
if (listBuilder_ == null) {
ensureListIsMutable();
list_.remove(index);
onChanged();
} else {
listBuilder_.remove(index);
}
return this;
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public wechat.protobuf.SKBuiltinString.Builder getListBuilder(
int index) {
return getListFieldBuilder().getBuilder(index);
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public wechat.protobuf.SKBuiltinStringOrBuilder getListOrBuilder(
int index) {
if (listBuilder_ == null) {
return list_.get(index); } else {
return listBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public java.util.List extends wechat.protobuf.SKBuiltinStringOrBuilder>
getListOrBuilderList() {
if (listBuilder_ != null) {
return listBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(list_);
}
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public wechat.protobuf.SKBuiltinString.Builder addListBuilder() {
return getListFieldBuilder().addBuilder(
wechat.protobuf.SKBuiltinString.getDefaultInstance());
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public wechat.protobuf.SKBuiltinString.Builder addListBuilder(
int index) {
return getListFieldBuilder().addBuilder(
index, wechat.protobuf.SKBuiltinString.getDefaultInstance());
}
/**
* repeated .wechat_proto.SKBuiltinString list = 6;
*/
public java.util.List
getListBuilderList() {
return getListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>
getListFieldBuilder() {
if (listBuilder_ == null) {
listBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>(
list_,
((bitField0_ & 0x00000020) != 0),
getParentForChildren(),
isClean());
list_ = null;
}
return listBuilder_;
}
private int scene_ ;
/**
* optional uint32 scene = 7;
* @return Whether the scene field is set.
*/
@java.lang.Override
public boolean hasScene() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional uint32 scene = 7;
* @return The scene.
*/
@java.lang.Override
public int getScene() {
return scene_;
}
/**
* optional uint32 scene = 7;
* @param value The scene to set.
* @return This builder for chaining.
*/
public Builder setScene(int value) {
bitField0_ |= 0x00000040;
scene_ = value;
onChanged();
return this;
}
/**
* optional uint32 scene = 7;
* @return This builder for chaining.
*/
public Builder clearScene() {
bitField0_ = (bitField0_ & ~0x00000040);
scene_ = 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.SnsTagMemberOptionRequest)
}
// @@protoc_insertion_point(class_scope:wechat_proto.SnsTagMemberOptionRequest)
private static final wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest();
}
public static wechat.protobuf.Friendgroup.SnsTagMemberOptionRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser