
wechat.protobuf.CreateChatRoomResponse Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: wechat.proto
package wechat.protobuf;
/**
* Protobuf type {@code wechat_proto.CreateChatRoomResponse}
*/
public final class CreateChatRoomResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.CreateChatRoomResponse)
CreateChatRoomResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use CreateChatRoomResponse.newBuilder() to construct.
private CreateChatRoomResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CreateChatRoomResponse() {
memberList_ = java.util.Collections.emptyList();
bigHeadImgUrl_ = "";
smallHeadImgUrl_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CreateChatRoomResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CreateChatRoomResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
wechat.protobuf.BaseResponse.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = baseResponse_.toBuilder();
}
baseResponse_ = input.readMessage(wechat.protobuf.BaseResponse.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseResponse_);
baseResponse_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
wechat.protobuf.SKBuiltinString.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = topic_.toBuilder();
}
topic_ = input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(topic_);
topic_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
wechat.protobuf.SKBuiltinString.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = pyinitial_.toBuilder();
}
pyinitial_ = input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pyinitial_);
pyinitial_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 34: {
wechat.protobuf.SKBuiltinString.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) != 0)) {
subBuilder = quanPin_.toBuilder();
}
quanPin_ = input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(quanPin_);
quanPin_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 40: {
bitField0_ |= 0x00000010;
memberNum_ = input.readUInt32();
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000020) != 0)) {
memberList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
memberList_.add(
input.readMessage(wechat.protobuf.MemberReq.PARSER, extensionRegistry));
break;
}
case 58: {
wechat.protobuf.SKBuiltinString.Builder subBuilder = null;
if (((bitField0_ & 0x00000020) != 0)) {
subBuilder = chatRoomName_.toBuilder();
}
chatRoomName_ = input.readMessage(wechat.protobuf.SKBuiltinString.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(chatRoomName_);
chatRoomName_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000020;
break;
}
case 66: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00000040) != 0)) {
subBuilder = imgBuf_.toBuilder();
}
imgBuf_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(imgBuf_);
imgBuf_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000040;
break;
}
case 74: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000080;
bigHeadImgUrl_ = bs;
break;
}
case 82: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000100;
smallHeadImgUrl_ = 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_ & 0x00000020) != 0)) {
memberList_ = java.util.Collections.unmodifiableList(memberList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_CreateChatRoomResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_CreateChatRoomResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.CreateChatRoomResponse.class, wechat.protobuf.CreateChatRoomResponse.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 TOPIC_FIELD_NUMBER = 2;
private wechat.protobuf.SKBuiltinString topic_;
/**
* optional .wechat_proto.SKBuiltinString topic = 2;
* @return Whether the topic field is set.
*/
@java.lang.Override
public boolean hasTopic() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString topic = 2;
* @return The topic.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString getTopic() {
return topic_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : topic_;
}
/**
* optional .wechat_proto.SKBuiltinString topic = 2;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinStringOrBuilder getTopicOrBuilder() {
return topic_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : topic_;
}
public static final int PYINITIAL_FIELD_NUMBER = 3;
private wechat.protobuf.SKBuiltinString pyinitial_;
/**
* optional .wechat_proto.SKBuiltinString pyinitial = 3;
* @return Whether the pyinitial field is set.
*/
@java.lang.Override
public boolean hasPyinitial() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString pyinitial = 3;
* @return The pyinitial.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString getPyinitial() {
return pyinitial_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : pyinitial_;
}
/**
* optional .wechat_proto.SKBuiltinString pyinitial = 3;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinStringOrBuilder getPyinitialOrBuilder() {
return pyinitial_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : pyinitial_;
}
public static final int QUANPIN_FIELD_NUMBER = 4;
private wechat.protobuf.SKBuiltinString quanPin_;
/**
* optional .wechat_proto.SKBuiltinString quanPin = 4;
* @return Whether the quanPin field is set.
*/
@java.lang.Override
public boolean hasQuanPin() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString quanPin = 4;
* @return The quanPin.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString getQuanPin() {
return quanPin_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : quanPin_;
}
/**
* optional .wechat_proto.SKBuiltinString quanPin = 4;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinStringOrBuilder getQuanPinOrBuilder() {
return quanPin_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : quanPin_;
}
public static final int MEMBERNUM_FIELD_NUMBER = 5;
private int memberNum_;
/**
* optional uint32 memberNum = 5;
* @return Whether the memberNum field is set.
*/
@java.lang.Override
public boolean hasMemberNum() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 memberNum = 5;
* @return The memberNum.
*/
@java.lang.Override
public int getMemberNum() {
return memberNum_;
}
public static final int MEMBERLIST_FIELD_NUMBER = 6;
private java.util.List memberList_;
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
@java.lang.Override
public java.util.List getMemberListList() {
return memberList_;
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.MemberReqOrBuilder>
getMemberListOrBuilderList() {
return memberList_;
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
@java.lang.Override
public int getMemberListCount() {
return memberList_.size();
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
@java.lang.Override
public wechat.protobuf.MemberReq getMemberList(int index) {
return memberList_.get(index);
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
@java.lang.Override
public wechat.protobuf.MemberReqOrBuilder getMemberListOrBuilder(
int index) {
return memberList_.get(index);
}
public static final int CHATROOMNAME_FIELD_NUMBER = 7;
private wechat.protobuf.SKBuiltinString chatRoomName_;
/**
* optional .wechat_proto.SKBuiltinString chatRoomName = 7;
* @return Whether the chatRoomName field is set.
*/
@java.lang.Override
public boolean hasChatRoomName() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString chatRoomName = 7;
* @return The chatRoomName.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString getChatRoomName() {
return chatRoomName_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : chatRoomName_;
}
/**
* optional .wechat_proto.SKBuiltinString chatRoomName = 7;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinStringOrBuilder getChatRoomNameOrBuilder() {
return chatRoomName_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : chatRoomName_;
}
public static final int IMGBUF_FIELD_NUMBER = 8;
private wechat.protobuf.SKBuiltinString_ imgBuf_;
/**
* optional .wechat_proto.SKBuiltinString_ imgBuf = 8;
* @return Whether the imgBuf field is set.
*/
@java.lang.Override
public boolean hasImgBuf() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ imgBuf = 8;
* @return The imgBuf.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getImgBuf() {
return imgBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : imgBuf_;
}
/**
* optional .wechat_proto.SKBuiltinString_ imgBuf = 8;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getImgBufOrBuilder() {
return imgBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : imgBuf_;
}
public static final int BIGHEADIMGURL_FIELD_NUMBER = 9;
private volatile java.lang.Object bigHeadImgUrl_;
/**
* optional string bigHeadImgUrl = 9;
* @return Whether the bigHeadImgUrl field is set.
*/
@java.lang.Override
public boolean hasBigHeadImgUrl() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional string bigHeadImgUrl = 9;
* @return The bigHeadImgUrl.
*/
@java.lang.Override
public java.lang.String getBigHeadImgUrl() {
java.lang.Object ref = bigHeadImgUrl_;
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()) {
bigHeadImgUrl_ = s;
}
return s;
}
}
/**
* optional string bigHeadImgUrl = 9;
* @return The bytes for bigHeadImgUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBigHeadImgUrlBytes() {
java.lang.Object ref = bigHeadImgUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bigHeadImgUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SMALLHEADIMGURL_FIELD_NUMBER = 10;
private volatile java.lang.Object smallHeadImgUrl_;
/**
* optional string smallHeadImgUrl = 10;
* @return Whether the smallHeadImgUrl field is set.
*/
@java.lang.Override
public boolean hasSmallHeadImgUrl() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional string smallHeadImgUrl = 10;
* @return The smallHeadImgUrl.
*/
@java.lang.Override
public java.lang.String getSmallHeadImgUrl() {
java.lang.Object ref = smallHeadImgUrl_;
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()) {
smallHeadImgUrl_ = s;
}
return s;
}
}
/**
* optional string smallHeadImgUrl = 10;
* @return The bytes for smallHeadImgUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSmallHeadImgUrlBytes() {
java.lang.Object ref = smallHeadImgUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
smallHeadImgUrl_ = 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, getTopic());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getPyinitial());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getQuanPin());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, memberNum_);
}
for (int i = 0; i < memberList_.size(); i++) {
output.writeMessage(6, memberList_.get(i));
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeMessage(7, getChatRoomName());
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeMessage(8, getImgBuf());
}
if (((bitField0_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, bigHeadImgUrl_);
}
if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, smallHeadImgUrl_);
}
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, getTopic());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getPyinitial());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getQuanPin());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, memberNum_);
}
for (int i = 0; i < memberList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, memberList_.get(i));
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getChatRoomName());
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getImgBuf());
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, bigHeadImgUrl_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, smallHeadImgUrl_);
}
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.CreateChatRoomResponse)) {
return super.equals(obj);
}
wechat.protobuf.CreateChatRoomResponse other = (wechat.protobuf.CreateChatRoomResponse) obj;
if (hasBaseResponse() != other.hasBaseResponse()) return false;
if (hasBaseResponse()) {
if (!getBaseResponse()
.equals(other.getBaseResponse())) return false;
}
if (hasTopic() != other.hasTopic()) return false;
if (hasTopic()) {
if (!getTopic()
.equals(other.getTopic())) return false;
}
if (hasPyinitial() != other.hasPyinitial()) return false;
if (hasPyinitial()) {
if (!getPyinitial()
.equals(other.getPyinitial())) return false;
}
if (hasQuanPin() != other.hasQuanPin()) return false;
if (hasQuanPin()) {
if (!getQuanPin()
.equals(other.getQuanPin())) return false;
}
if (hasMemberNum() != other.hasMemberNum()) return false;
if (hasMemberNum()) {
if (getMemberNum()
!= other.getMemberNum()) return false;
}
if (!getMemberListList()
.equals(other.getMemberListList())) return false;
if (hasChatRoomName() != other.hasChatRoomName()) return false;
if (hasChatRoomName()) {
if (!getChatRoomName()
.equals(other.getChatRoomName())) return false;
}
if (hasImgBuf() != other.hasImgBuf()) return false;
if (hasImgBuf()) {
if (!getImgBuf()
.equals(other.getImgBuf())) return false;
}
if (hasBigHeadImgUrl() != other.hasBigHeadImgUrl()) return false;
if (hasBigHeadImgUrl()) {
if (!getBigHeadImgUrl()
.equals(other.getBigHeadImgUrl())) return false;
}
if (hasSmallHeadImgUrl() != other.hasSmallHeadImgUrl()) return false;
if (hasSmallHeadImgUrl()) {
if (!getSmallHeadImgUrl()
.equals(other.getSmallHeadImgUrl())) 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 (hasTopic()) {
hash = (37 * hash) + TOPIC_FIELD_NUMBER;
hash = (53 * hash) + getTopic().hashCode();
}
if (hasPyinitial()) {
hash = (37 * hash) + PYINITIAL_FIELD_NUMBER;
hash = (53 * hash) + getPyinitial().hashCode();
}
if (hasQuanPin()) {
hash = (37 * hash) + QUANPIN_FIELD_NUMBER;
hash = (53 * hash) + getQuanPin().hashCode();
}
if (hasMemberNum()) {
hash = (37 * hash) + MEMBERNUM_FIELD_NUMBER;
hash = (53 * hash) + getMemberNum();
}
if (getMemberListCount() > 0) {
hash = (37 * hash) + MEMBERLIST_FIELD_NUMBER;
hash = (53 * hash) + getMemberListList().hashCode();
}
if (hasChatRoomName()) {
hash = (37 * hash) + CHATROOMNAME_FIELD_NUMBER;
hash = (53 * hash) + getChatRoomName().hashCode();
}
if (hasImgBuf()) {
hash = (37 * hash) + IMGBUF_FIELD_NUMBER;
hash = (53 * hash) + getImgBuf().hashCode();
}
if (hasBigHeadImgUrl()) {
hash = (37 * hash) + BIGHEADIMGURL_FIELD_NUMBER;
hash = (53 * hash) + getBigHeadImgUrl().hashCode();
}
if (hasSmallHeadImgUrl()) {
hash = (37 * hash) + SMALLHEADIMGURL_FIELD_NUMBER;
hash = (53 * hash) + getSmallHeadImgUrl().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.CreateChatRoomResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.CreateChatRoomResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.CreateChatRoomResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.CreateChatRoomResponse 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.CreateChatRoomResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.CreateChatRoomResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.CreateChatRoomResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.CreateChatRoomResponse 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.CreateChatRoomResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.CreateChatRoomResponse 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.CreateChatRoomResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.CreateChatRoomResponse 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.CreateChatRoomResponse 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.CreateChatRoomResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.CreateChatRoomResponse)
wechat.protobuf.CreateChatRoomResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_CreateChatRoomResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_CreateChatRoomResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.CreateChatRoomResponse.class, wechat.protobuf.CreateChatRoomResponse.Builder.class);
}
// Construct using wechat.protobuf.CreateChatRoomResponse.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();
getTopicFieldBuilder();
getPyinitialFieldBuilder();
getQuanPinFieldBuilder();
getMemberListFieldBuilder();
getChatRoomNameFieldBuilder();
getImgBufFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (baseResponseBuilder_ == null) {
baseResponse_ = null;
} else {
baseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (topicBuilder_ == null) {
topic_ = null;
} else {
topicBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (pyinitialBuilder_ == null) {
pyinitial_ = null;
} else {
pyinitialBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (quanPinBuilder_ == null) {
quanPin_ = null;
} else {
quanPinBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
memberNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
if (memberListBuilder_ == null) {
memberList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
memberListBuilder_.clear();
}
if (chatRoomNameBuilder_ == null) {
chatRoomName_ = null;
} else {
chatRoomNameBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
if (imgBufBuilder_ == null) {
imgBuf_ = null;
} else {
imgBufBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
bigHeadImgUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000100);
smallHeadImgUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_CreateChatRoomResponse_descriptor;
}
@java.lang.Override
public wechat.protobuf.CreateChatRoomResponse getDefaultInstanceForType() {
return wechat.protobuf.CreateChatRoomResponse.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.CreateChatRoomResponse build() {
wechat.protobuf.CreateChatRoomResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.CreateChatRoomResponse buildPartial() {
wechat.protobuf.CreateChatRoomResponse result = new wechat.protobuf.CreateChatRoomResponse(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 (topicBuilder_ == null) {
result.topic_ = topic_;
} else {
result.topic_ = topicBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
if (pyinitialBuilder_ == null) {
result.pyinitial_ = pyinitial_;
} else {
result.pyinitial_ = pyinitialBuilder_.build();
}
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
if (quanPinBuilder_ == null) {
result.quanPin_ = quanPin_;
} else {
result.quanPin_ = quanPinBuilder_.build();
}
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.memberNum_ = memberNum_;
to_bitField0_ |= 0x00000010;
}
if (memberListBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0)) {
memberList_ = java.util.Collections.unmodifiableList(memberList_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.memberList_ = memberList_;
} else {
result.memberList_ = memberListBuilder_.build();
}
if (((from_bitField0_ & 0x00000040) != 0)) {
if (chatRoomNameBuilder_ == null) {
result.chatRoomName_ = chatRoomName_;
} else {
result.chatRoomName_ = chatRoomNameBuilder_.build();
}
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
if (imgBufBuilder_ == null) {
result.imgBuf_ = imgBuf_;
} else {
result.imgBuf_ = imgBufBuilder_.build();
}
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
to_bitField0_ |= 0x00000080;
}
result.bigHeadImgUrl_ = bigHeadImgUrl_;
if (((from_bitField0_ & 0x00000200) != 0)) {
to_bitField0_ |= 0x00000100;
}
result.smallHeadImgUrl_ = smallHeadImgUrl_;
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.CreateChatRoomResponse) {
return mergeFrom((wechat.protobuf.CreateChatRoomResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.CreateChatRoomResponse other) {
if (other == wechat.protobuf.CreateChatRoomResponse.getDefaultInstance()) return this;
if (other.hasBaseResponse()) {
mergeBaseResponse(other.getBaseResponse());
}
if (other.hasTopic()) {
mergeTopic(other.getTopic());
}
if (other.hasPyinitial()) {
mergePyinitial(other.getPyinitial());
}
if (other.hasQuanPin()) {
mergeQuanPin(other.getQuanPin());
}
if (other.hasMemberNum()) {
setMemberNum(other.getMemberNum());
}
if (memberListBuilder_ == null) {
if (!other.memberList_.isEmpty()) {
if (memberList_.isEmpty()) {
memberList_ = other.memberList_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureMemberListIsMutable();
memberList_.addAll(other.memberList_);
}
onChanged();
}
} else {
if (!other.memberList_.isEmpty()) {
if (memberListBuilder_.isEmpty()) {
memberListBuilder_.dispose();
memberListBuilder_ = null;
memberList_ = other.memberList_;
bitField0_ = (bitField0_ & ~0x00000020);
memberListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMemberListFieldBuilder() : null;
} else {
memberListBuilder_.addAllMessages(other.memberList_);
}
}
}
if (other.hasChatRoomName()) {
mergeChatRoomName(other.getChatRoomName());
}
if (other.hasImgBuf()) {
mergeImgBuf(other.getImgBuf());
}
if (other.hasBigHeadImgUrl()) {
bitField0_ |= 0x00000100;
bigHeadImgUrl_ = other.bigHeadImgUrl_;
onChanged();
}
if (other.hasSmallHeadImgUrl()) {
bitField0_ |= 0x00000200;
smallHeadImgUrl_ = other.smallHeadImgUrl_;
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.CreateChatRoomResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.CreateChatRoomResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private wechat.protobuf.BaseResponse baseResponse_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder> baseResponseBuilder_;
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return Whether the baseResponse field is set.
*/
public boolean hasBaseResponse() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
* @return The baseResponse.
*/
public wechat.protobuf.BaseResponse getBaseResponse() {
if (baseResponseBuilder_ == null) {
return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
} else {
return baseResponseBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder setBaseResponse(wechat.protobuf.BaseResponse value) {
if (baseResponseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseResponse_ = value;
onChanged();
} else {
baseResponseBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder setBaseResponse(
wechat.protobuf.BaseResponse.Builder builderForValue) {
if (baseResponseBuilder_ == null) {
baseResponse_ = builderForValue.build();
onChanged();
} else {
baseResponseBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder mergeBaseResponse(wechat.protobuf.BaseResponse value) {
if (baseResponseBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
baseResponse_ != null &&
baseResponse_ != wechat.protobuf.BaseResponse.getDefaultInstance()) {
baseResponse_ =
wechat.protobuf.BaseResponse.newBuilder(baseResponse_).mergeFrom(value).buildPartial();
} else {
baseResponse_ = value;
}
onChanged();
} else {
baseResponseBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public Builder clearBaseResponse() {
if (baseResponseBuilder_ == null) {
baseResponse_ = null;
onChanged();
} else {
baseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public wechat.protobuf.BaseResponse.Builder getBaseResponseBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getBaseResponseFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
public wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder() {
if (baseResponseBuilder_ != null) {
return baseResponseBuilder_.getMessageOrBuilder();
} else {
return baseResponse_ == null ?
wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
}
}
/**
* optional .wechat_proto.BaseResponse baseResponse = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder>
getBaseResponseFieldBuilder() {
if (baseResponseBuilder_ == null) {
baseResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder>(
getBaseResponse(),
getParentForChildren(),
isClean());
baseResponse_ = null;
}
return baseResponseBuilder_;
}
private wechat.protobuf.SKBuiltinString topic_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> topicBuilder_;
/**
* optional .wechat_proto.SKBuiltinString topic = 2;
* @return Whether the topic field is set.
*/
public boolean hasTopic() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString topic = 2;
* @return The topic.
*/
public wechat.protobuf.SKBuiltinString getTopic() {
if (topicBuilder_ == null) {
return topic_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : topic_;
} else {
return topicBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString topic = 2;
*/
public Builder setTopic(wechat.protobuf.SKBuiltinString value) {
if (topicBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
topic_ = value;
onChanged();
} else {
topicBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString topic = 2;
*/
public Builder setTopic(
wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (topicBuilder_ == null) {
topic_ = builderForValue.build();
onChanged();
} else {
topicBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString topic = 2;
*/
public Builder mergeTopic(wechat.protobuf.SKBuiltinString value) {
if (topicBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
topic_ != null &&
topic_ != wechat.protobuf.SKBuiltinString.getDefaultInstance()) {
topic_ =
wechat.protobuf.SKBuiltinString.newBuilder(topic_).mergeFrom(value).buildPartial();
} else {
topic_ = value;
}
onChanged();
} else {
topicBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString topic = 2;
*/
public Builder clearTopic() {
if (topicBuilder_ == null) {
topic_ = null;
onChanged();
} else {
topicBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString topic = 2;
*/
public wechat.protobuf.SKBuiltinString.Builder getTopicBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getTopicFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString topic = 2;
*/
public wechat.protobuf.SKBuiltinStringOrBuilder getTopicOrBuilder() {
if (topicBuilder_ != null) {
return topicBuilder_.getMessageOrBuilder();
} else {
return topic_ == null ?
wechat.protobuf.SKBuiltinString.getDefaultInstance() : topic_;
}
}
/**
* optional .wechat_proto.SKBuiltinString topic = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>
getTopicFieldBuilder() {
if (topicBuilder_ == null) {
topicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>(
getTopic(),
getParentForChildren(),
isClean());
topic_ = null;
}
return topicBuilder_;
}
private wechat.protobuf.SKBuiltinString pyinitial_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> pyinitialBuilder_;
/**
* optional .wechat_proto.SKBuiltinString pyinitial = 3;
* @return Whether the pyinitial field is set.
*/
public boolean hasPyinitial() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString pyinitial = 3;
* @return The pyinitial.
*/
public wechat.protobuf.SKBuiltinString getPyinitial() {
if (pyinitialBuilder_ == null) {
return pyinitial_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : pyinitial_;
} else {
return pyinitialBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString pyinitial = 3;
*/
public Builder setPyinitial(wechat.protobuf.SKBuiltinString value) {
if (pyinitialBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
pyinitial_ = value;
onChanged();
} else {
pyinitialBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString pyinitial = 3;
*/
public Builder setPyinitial(
wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (pyinitialBuilder_ == null) {
pyinitial_ = builderForValue.build();
onChanged();
} else {
pyinitialBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString pyinitial = 3;
*/
public Builder mergePyinitial(wechat.protobuf.SKBuiltinString value) {
if (pyinitialBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
pyinitial_ != null &&
pyinitial_ != wechat.protobuf.SKBuiltinString.getDefaultInstance()) {
pyinitial_ =
wechat.protobuf.SKBuiltinString.newBuilder(pyinitial_).mergeFrom(value).buildPartial();
} else {
pyinitial_ = value;
}
onChanged();
} else {
pyinitialBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString pyinitial = 3;
*/
public Builder clearPyinitial() {
if (pyinitialBuilder_ == null) {
pyinitial_ = null;
onChanged();
} else {
pyinitialBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString pyinitial = 3;
*/
public wechat.protobuf.SKBuiltinString.Builder getPyinitialBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getPyinitialFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString pyinitial = 3;
*/
public wechat.protobuf.SKBuiltinStringOrBuilder getPyinitialOrBuilder() {
if (pyinitialBuilder_ != null) {
return pyinitialBuilder_.getMessageOrBuilder();
} else {
return pyinitial_ == null ?
wechat.protobuf.SKBuiltinString.getDefaultInstance() : pyinitial_;
}
}
/**
* optional .wechat_proto.SKBuiltinString pyinitial = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>
getPyinitialFieldBuilder() {
if (pyinitialBuilder_ == null) {
pyinitialBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>(
getPyinitial(),
getParentForChildren(),
isClean());
pyinitial_ = null;
}
return pyinitialBuilder_;
}
private wechat.protobuf.SKBuiltinString quanPin_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> quanPinBuilder_;
/**
* optional .wechat_proto.SKBuiltinString quanPin = 4;
* @return Whether the quanPin field is set.
*/
public boolean hasQuanPin() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString quanPin = 4;
* @return The quanPin.
*/
public wechat.protobuf.SKBuiltinString getQuanPin() {
if (quanPinBuilder_ == null) {
return quanPin_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : quanPin_;
} else {
return quanPinBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString quanPin = 4;
*/
public Builder setQuanPin(wechat.protobuf.SKBuiltinString value) {
if (quanPinBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
quanPin_ = value;
onChanged();
} else {
quanPinBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString quanPin = 4;
*/
public Builder setQuanPin(
wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (quanPinBuilder_ == null) {
quanPin_ = builderForValue.build();
onChanged();
} else {
quanPinBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString quanPin = 4;
*/
public Builder mergeQuanPin(wechat.protobuf.SKBuiltinString value) {
if (quanPinBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
quanPin_ != null &&
quanPin_ != wechat.protobuf.SKBuiltinString.getDefaultInstance()) {
quanPin_ =
wechat.protobuf.SKBuiltinString.newBuilder(quanPin_).mergeFrom(value).buildPartial();
} else {
quanPin_ = value;
}
onChanged();
} else {
quanPinBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString quanPin = 4;
*/
public Builder clearQuanPin() {
if (quanPinBuilder_ == null) {
quanPin_ = null;
onChanged();
} else {
quanPinBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString quanPin = 4;
*/
public wechat.protobuf.SKBuiltinString.Builder getQuanPinBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getQuanPinFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString quanPin = 4;
*/
public wechat.protobuf.SKBuiltinStringOrBuilder getQuanPinOrBuilder() {
if (quanPinBuilder_ != null) {
return quanPinBuilder_.getMessageOrBuilder();
} else {
return quanPin_ == null ?
wechat.protobuf.SKBuiltinString.getDefaultInstance() : quanPin_;
}
}
/**
* optional .wechat_proto.SKBuiltinString quanPin = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>
getQuanPinFieldBuilder() {
if (quanPinBuilder_ == null) {
quanPinBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>(
getQuanPin(),
getParentForChildren(),
isClean());
quanPin_ = null;
}
return quanPinBuilder_;
}
private int memberNum_ ;
/**
* optional uint32 memberNum = 5;
* @return Whether the memberNum field is set.
*/
@java.lang.Override
public boolean hasMemberNum() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 memberNum = 5;
* @return The memberNum.
*/
@java.lang.Override
public int getMemberNum() {
return memberNum_;
}
/**
* optional uint32 memberNum = 5;
* @param value The memberNum to set.
* @return This builder for chaining.
*/
public Builder setMemberNum(int value) {
bitField0_ |= 0x00000010;
memberNum_ = value;
onChanged();
return this;
}
/**
* optional uint32 memberNum = 5;
* @return This builder for chaining.
*/
public Builder clearMemberNum() {
bitField0_ = (bitField0_ & ~0x00000010);
memberNum_ = 0;
onChanged();
return this;
}
private java.util.List memberList_ =
java.util.Collections.emptyList();
private void ensureMemberListIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
memberList_ = new java.util.ArrayList(memberList_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.MemberReq, wechat.protobuf.MemberReq.Builder, wechat.protobuf.MemberReqOrBuilder> memberListBuilder_;
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public java.util.List getMemberListList() {
if (memberListBuilder_ == null) {
return java.util.Collections.unmodifiableList(memberList_);
} else {
return memberListBuilder_.getMessageList();
}
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public int getMemberListCount() {
if (memberListBuilder_ == null) {
return memberList_.size();
} else {
return memberListBuilder_.getCount();
}
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public wechat.protobuf.MemberReq getMemberList(int index) {
if (memberListBuilder_ == null) {
return memberList_.get(index);
} else {
return memberListBuilder_.getMessage(index);
}
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public Builder setMemberList(
int index, wechat.protobuf.MemberReq value) {
if (memberListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMemberListIsMutable();
memberList_.set(index, value);
onChanged();
} else {
memberListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public Builder setMemberList(
int index, wechat.protobuf.MemberReq.Builder builderForValue) {
if (memberListBuilder_ == null) {
ensureMemberListIsMutable();
memberList_.set(index, builderForValue.build());
onChanged();
} else {
memberListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public Builder addMemberList(wechat.protobuf.MemberReq value) {
if (memberListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMemberListIsMutable();
memberList_.add(value);
onChanged();
} else {
memberListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public Builder addMemberList(
int index, wechat.protobuf.MemberReq value) {
if (memberListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMemberListIsMutable();
memberList_.add(index, value);
onChanged();
} else {
memberListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public Builder addMemberList(
wechat.protobuf.MemberReq.Builder builderForValue) {
if (memberListBuilder_ == null) {
ensureMemberListIsMutable();
memberList_.add(builderForValue.build());
onChanged();
} else {
memberListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public Builder addMemberList(
int index, wechat.protobuf.MemberReq.Builder builderForValue) {
if (memberListBuilder_ == null) {
ensureMemberListIsMutable();
memberList_.add(index, builderForValue.build());
onChanged();
} else {
memberListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public Builder addAllMemberList(
java.lang.Iterable extends wechat.protobuf.MemberReq> values) {
if (memberListBuilder_ == null) {
ensureMemberListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, memberList_);
onChanged();
} else {
memberListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public Builder clearMemberList() {
if (memberListBuilder_ == null) {
memberList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
memberListBuilder_.clear();
}
return this;
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public Builder removeMemberList(int index) {
if (memberListBuilder_ == null) {
ensureMemberListIsMutable();
memberList_.remove(index);
onChanged();
} else {
memberListBuilder_.remove(index);
}
return this;
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public wechat.protobuf.MemberReq.Builder getMemberListBuilder(
int index) {
return getMemberListFieldBuilder().getBuilder(index);
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public wechat.protobuf.MemberReqOrBuilder getMemberListOrBuilder(
int index) {
if (memberListBuilder_ == null) {
return memberList_.get(index); } else {
return memberListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public java.util.List extends wechat.protobuf.MemberReqOrBuilder>
getMemberListOrBuilderList() {
if (memberListBuilder_ != null) {
return memberListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(memberList_);
}
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public wechat.protobuf.MemberReq.Builder addMemberListBuilder() {
return getMemberListFieldBuilder().addBuilder(
wechat.protobuf.MemberReq.getDefaultInstance());
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public wechat.protobuf.MemberReq.Builder addMemberListBuilder(
int index) {
return getMemberListFieldBuilder().addBuilder(
index, wechat.protobuf.MemberReq.getDefaultInstance());
}
/**
* repeated .wechat_proto.MemberReq memberList = 6;
*/
public java.util.List
getMemberListBuilderList() {
return getMemberListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.MemberReq, wechat.protobuf.MemberReq.Builder, wechat.protobuf.MemberReqOrBuilder>
getMemberListFieldBuilder() {
if (memberListBuilder_ == null) {
memberListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.MemberReq, wechat.protobuf.MemberReq.Builder, wechat.protobuf.MemberReqOrBuilder>(
memberList_,
((bitField0_ & 0x00000020) != 0),
getParentForChildren(),
isClean());
memberList_ = null;
}
return memberListBuilder_;
}
private wechat.protobuf.SKBuiltinString chatRoomName_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder> chatRoomNameBuilder_;
/**
* optional .wechat_proto.SKBuiltinString chatRoomName = 7;
* @return Whether the chatRoomName field is set.
*/
public boolean hasChatRoomName() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString chatRoomName = 7;
* @return The chatRoomName.
*/
public wechat.protobuf.SKBuiltinString getChatRoomName() {
if (chatRoomNameBuilder_ == null) {
return chatRoomName_ == null ? wechat.protobuf.SKBuiltinString.getDefaultInstance() : chatRoomName_;
} else {
return chatRoomNameBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString chatRoomName = 7;
*/
public Builder setChatRoomName(wechat.protobuf.SKBuiltinString value) {
if (chatRoomNameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
chatRoomName_ = value;
onChanged();
} else {
chatRoomNameBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString chatRoomName = 7;
*/
public Builder setChatRoomName(
wechat.protobuf.SKBuiltinString.Builder builderForValue) {
if (chatRoomNameBuilder_ == null) {
chatRoomName_ = builderForValue.build();
onChanged();
} else {
chatRoomNameBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString chatRoomName = 7;
*/
public Builder mergeChatRoomName(wechat.protobuf.SKBuiltinString value) {
if (chatRoomNameBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0) &&
chatRoomName_ != null &&
chatRoomName_ != wechat.protobuf.SKBuiltinString.getDefaultInstance()) {
chatRoomName_ =
wechat.protobuf.SKBuiltinString.newBuilder(chatRoomName_).mergeFrom(value).buildPartial();
} else {
chatRoomName_ = value;
}
onChanged();
} else {
chatRoomNameBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString chatRoomName = 7;
*/
public Builder clearChatRoomName() {
if (chatRoomNameBuilder_ == null) {
chatRoomName_ = null;
onChanged();
} else {
chatRoomNameBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString chatRoomName = 7;
*/
public wechat.protobuf.SKBuiltinString.Builder getChatRoomNameBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getChatRoomNameFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString chatRoomName = 7;
*/
public wechat.protobuf.SKBuiltinStringOrBuilder getChatRoomNameOrBuilder() {
if (chatRoomNameBuilder_ != null) {
return chatRoomNameBuilder_.getMessageOrBuilder();
} else {
return chatRoomName_ == null ?
wechat.protobuf.SKBuiltinString.getDefaultInstance() : chatRoomName_;
}
}
/**
* optional .wechat_proto.SKBuiltinString chatRoomName = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>
getChatRoomNameFieldBuilder() {
if (chatRoomNameBuilder_ == null) {
chatRoomNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString, wechat.protobuf.SKBuiltinString.Builder, wechat.protobuf.SKBuiltinStringOrBuilder>(
getChatRoomName(),
getParentForChildren(),
isClean());
chatRoomName_ = null;
}
return chatRoomNameBuilder_;
}
private wechat.protobuf.SKBuiltinString_ imgBuf_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> imgBufBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ imgBuf = 8;
* @return Whether the imgBuf field is set.
*/
public boolean hasImgBuf() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ imgBuf = 8;
* @return The imgBuf.
*/
public wechat.protobuf.SKBuiltinString_ getImgBuf() {
if (imgBufBuilder_ == null) {
return imgBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : imgBuf_;
} else {
return imgBufBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ imgBuf = 8;
*/
public Builder setImgBuf(wechat.protobuf.SKBuiltinString_ value) {
if (imgBufBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
imgBuf_ = value;
onChanged();
} else {
imgBufBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ imgBuf = 8;
*/
public Builder setImgBuf(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (imgBufBuilder_ == null) {
imgBuf_ = builderForValue.build();
onChanged();
} else {
imgBufBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ imgBuf = 8;
*/
public Builder mergeImgBuf(wechat.protobuf.SKBuiltinString_ value) {
if (imgBufBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0) &&
imgBuf_ != null &&
imgBuf_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
imgBuf_ =
wechat.protobuf.SKBuiltinString_.newBuilder(imgBuf_).mergeFrom(value).buildPartial();
} else {
imgBuf_ = value;
}
onChanged();
} else {
imgBufBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ imgBuf = 8;
*/
public Builder clearImgBuf() {
if (imgBufBuilder_ == null) {
imgBuf_ = null;
onChanged();
} else {
imgBufBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ imgBuf = 8;
*/
public wechat.protobuf.SKBuiltinString_.Builder getImgBufBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getImgBufFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ imgBuf = 8;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getImgBufOrBuilder() {
if (imgBufBuilder_ != null) {
return imgBufBuilder_.getMessageOrBuilder();
} else {
return imgBuf_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : imgBuf_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ imgBuf = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getImgBufFieldBuilder() {
if (imgBufBuilder_ == null) {
imgBufBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getImgBuf(),
getParentForChildren(),
isClean());
imgBuf_ = null;
}
return imgBufBuilder_;
}
private java.lang.Object bigHeadImgUrl_ = "";
/**
* optional string bigHeadImgUrl = 9;
* @return Whether the bigHeadImgUrl field is set.
*/
public boolean hasBigHeadImgUrl() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional string bigHeadImgUrl = 9;
* @return The bigHeadImgUrl.
*/
public java.lang.String getBigHeadImgUrl() {
java.lang.Object ref = bigHeadImgUrl_;
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()) {
bigHeadImgUrl_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string bigHeadImgUrl = 9;
* @return The bytes for bigHeadImgUrl.
*/
public com.google.protobuf.ByteString
getBigHeadImgUrlBytes() {
java.lang.Object ref = bigHeadImgUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bigHeadImgUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string bigHeadImgUrl = 9;
* @param value The bigHeadImgUrl to set.
* @return This builder for chaining.
*/
public Builder setBigHeadImgUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
bigHeadImgUrl_ = value;
onChanged();
return this;
}
/**
* optional string bigHeadImgUrl = 9;
* @return This builder for chaining.
*/
public Builder clearBigHeadImgUrl() {
bitField0_ = (bitField0_ & ~0x00000100);
bigHeadImgUrl_ = getDefaultInstance().getBigHeadImgUrl();
onChanged();
return this;
}
/**
* optional string bigHeadImgUrl = 9;
* @param value The bytes for bigHeadImgUrl to set.
* @return This builder for chaining.
*/
public Builder setBigHeadImgUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
bigHeadImgUrl_ = value;
onChanged();
return this;
}
private java.lang.Object smallHeadImgUrl_ = "";
/**
* optional string smallHeadImgUrl = 10;
* @return Whether the smallHeadImgUrl field is set.
*/
public boolean hasSmallHeadImgUrl() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional string smallHeadImgUrl = 10;
* @return The smallHeadImgUrl.
*/
public java.lang.String getSmallHeadImgUrl() {
java.lang.Object ref = smallHeadImgUrl_;
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()) {
smallHeadImgUrl_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string smallHeadImgUrl = 10;
* @return The bytes for smallHeadImgUrl.
*/
public com.google.protobuf.ByteString
getSmallHeadImgUrlBytes() {
java.lang.Object ref = smallHeadImgUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
smallHeadImgUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string smallHeadImgUrl = 10;
* @param value The smallHeadImgUrl to set.
* @return This builder for chaining.
*/
public Builder setSmallHeadImgUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
smallHeadImgUrl_ = value;
onChanged();
return this;
}
/**
* optional string smallHeadImgUrl = 10;
* @return This builder for chaining.
*/
public Builder clearSmallHeadImgUrl() {
bitField0_ = (bitField0_ & ~0x00000200);
smallHeadImgUrl_ = getDefaultInstance().getSmallHeadImgUrl();
onChanged();
return this;
}
/**
* optional string smallHeadImgUrl = 10;
* @param value The bytes for smallHeadImgUrl to set.
* @return This builder for chaining.
*/
public Builder setSmallHeadImgUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
smallHeadImgUrl_ = 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.CreateChatRoomResponse)
}
// @@protoc_insertion_point(class_scope:wechat_proto.CreateChatRoomResponse)
private static final wechat.protobuf.CreateChatRoomResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.CreateChatRoomResponse();
}
public static wechat.protobuf.CreateChatRoomResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CreateChatRoomResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CreateChatRoomResponse(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.CreateChatRoomResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy