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

wechat.protobuf.Syncitem Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: syncitem.proto

package wechat.protobuf;

public final class Syncitem {
  private Syncitem() {}
  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 ModUserInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:wechat_proto.ModUserInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional uint32 bitFlag = 1;
     * @return Whether the bitFlag field is set.
     */
    boolean hasBitFlag();
    /**
     * optional uint32 bitFlag = 1;
     * @return The bitFlag.
     */
    int getBitFlag();

    /**
     * optional .wechat_proto.SKBuiltinString userName = 2;
     * @return Whether the userName field is set.
     */
    boolean hasUserName();
    /**
     * optional .wechat_proto.SKBuiltinString userName = 2;
     * @return The userName.
     */
    wechat.protobuf.Wechat.SKBuiltinString getUserName();
    /**
     * optional .wechat_proto.SKBuiltinString userName = 2;
     */
    wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getUserNameOrBuilder();

    /**
     * optional .wechat_proto.SKBuiltinString nickName = 3;
     * @return Whether the nickName field is set.
     */
    boolean hasNickName();
    /**
     * optional .wechat_proto.SKBuiltinString nickName = 3;
     * @return The nickName.
     */
    wechat.protobuf.Wechat.SKBuiltinString getNickName();
    /**
     * optional .wechat_proto.SKBuiltinString nickName = 3;
     */
    wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getNickNameOrBuilder();

    /**
     * optional uint32 bindUin = 4;
     * @return Whether the bindUin field is set.
     */
    boolean hasBindUin();
    /**
     * optional uint32 bindUin = 4;
     * @return The bindUin.
     */
    int getBindUin();

    /**
     * optional .wechat_proto.SKBuiltinString bindEmail = 5;
     * @return Whether the bindEmail field is set.
     */
    boolean hasBindEmail();
    /**
     * optional .wechat_proto.SKBuiltinString bindEmail = 5;
     * @return The bindEmail.
     */
    wechat.protobuf.Wechat.SKBuiltinString getBindEmail();
    /**
     * optional .wechat_proto.SKBuiltinString bindEmail = 5;
     */
    wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getBindEmailOrBuilder();

    /**
     * optional .wechat_proto.SKBuiltinString bindMobile = 6;
     * @return Whether the bindMobile field is set.
     */
    boolean hasBindMobile();
    /**
     * optional .wechat_proto.SKBuiltinString bindMobile = 6;
     * @return The bindMobile.
     */
    wechat.protobuf.Wechat.SKBuiltinString getBindMobile();
    /**
     * optional .wechat_proto.SKBuiltinString bindMobile = 6;
     */
    wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getBindMobileOrBuilder();

    /**
     * optional uint32 status = 7;
     * @return Whether the status field is set.
     */
    boolean hasStatus();
    /**
     * optional uint32 status = 7;
     * @return The status.
     */
    int getStatus();

    /**
     * optional uint32 imgLen = 8;
     * @return Whether the imgLen field is set.
     */
    boolean hasImgLen();
    /**
     * optional uint32 imgLen = 8;
     * @return The imgLen.
     */
    int getImgLen();

    /**
     * 
     *图片 base64字符串
     * 
* * optional bytes imgBuf = 9; * @return Whether the imgBuf field is set. */ boolean hasImgBuf(); /** *
     *图片 base64字符串
     * 
* * optional bytes imgBuf = 9; * @return The imgBuf. */ com.google.protobuf.ByteString getImgBuf(); /** * optional uint32 sex = 10; * @return Whether the sex field is set. */ boolean hasSex(); /** * optional uint32 sex = 10; * @return The sex. */ int getSex(); /** * optional string province = 11; * @return Whether the province field is set. */ boolean hasProvince(); /** * optional string province = 11; * @return The province. */ java.lang.String getProvince(); /** * optional string province = 11; * @return The bytes for province. */ com.google.protobuf.ByteString getProvinceBytes(); /** * optional string city = 12; * @return Whether the city field is set. */ boolean hasCity(); /** * optional string city = 12; * @return The city. */ java.lang.String getCity(); /** * optional string city = 12; * @return The bytes for city. */ com.google.protobuf.ByteString getCityBytes(); /** * optional string signature = 13; * @return Whether the signature field is set. */ boolean hasSignature(); /** * optional string signature = 13; * @return The signature. */ java.lang.String getSignature(); /** * optional string signature = 13; * @return The bytes for signature. */ com.google.protobuf.ByteString getSignatureBytes(); /** * optional uint32 personalCard = 14; * @return Whether the personalCard field is set. */ boolean hasPersonalCard(); /** * optional uint32 personalCard = 14; * @return The personalCard. */ int getPersonalCard(); /** * optional .wechat_proto.DisturbSetting disturbSetting = 15; * @return Whether the disturbSetting field is set. */ boolean hasDisturbSetting(); /** * optional .wechat_proto.DisturbSetting disturbSetting = 15; * @return The disturbSetting. */ wechat.protobuf.Syncitem.DisturbSetting getDisturbSetting(); /** * optional .wechat_proto.DisturbSetting disturbSetting = 15; */ wechat.protobuf.Syncitem.DisturbSettingOrBuilder getDisturbSettingOrBuilder(); /** * optional uint32 pluginFlag = 16; * @return Whether the pluginFlag field is set. */ boolean hasPluginFlag(); /** * optional uint32 pluginFlag = 16; * @return The pluginFlag. */ int getPluginFlag(); /** * optional uint32 verifyFlag = 17; * @return Whether the verifyFlag field is set. */ boolean hasVerifyFlag(); /** * optional uint32 verifyFlag = 17; * @return The verifyFlag. */ int getVerifyFlag(); /** * optional string verifyInfo = 18; * @return Whether the verifyInfo field is set. */ boolean hasVerifyInfo(); /** * optional string verifyInfo = 18; * @return The verifyInfo. */ java.lang.String getVerifyInfo(); /** * optional string verifyInfo = 18; * @return The bytes for verifyInfo. */ com.google.protobuf.ByteString getVerifyInfoBytes(); /** * optional uint32 point = 19; * @return Whether the point field is set. */ boolean hasPoint(); /** * optional uint32 point = 19; * @return The point. */ int getPoint(); /** * optional uint32 experience = 20; * @return Whether the experience field is set. */ boolean hasExperience(); /** * optional uint32 experience = 20; * @return The experience. */ int getExperience(); /** * optional uint32 level = 21; * @return Whether the level field is set. */ boolean hasLevel(); /** * optional uint32 level = 21; * @return The level. */ int getLevel(); /** * optional uint32 levelLowExp = 22; * @return Whether the levelLowExp field is set. */ boolean hasLevelLowExp(); /** * optional uint32 levelLowExp = 22; * @return The levelLowExp. */ int getLevelLowExp(); /** * optional uint32 levelHighExp = 23; * @return Whether the levelHighExp field is set. */ boolean hasLevelHighExp(); /** * optional uint32 levelHighExp = 23; * @return The levelHighExp. */ int getLevelHighExp(); /** * optional string weibo = 24; * @return Whether the weibo field is set. */ boolean hasWeibo(); /** * optional string weibo = 24; * @return The weibo. */ java.lang.String getWeibo(); /** * optional string weibo = 24; * @return The bytes for weibo. */ com.google.protobuf.ByteString getWeiboBytes(); /** * optional uint32 pluginSwitch = 25; * @return Whether the pluginSwitch field is set. */ boolean hasPluginSwitch(); /** * optional uint32 pluginSwitch = 25; * @return The pluginSwitch. */ int getPluginSwitch(); /** * optional .wechat_proto.GmailList gmailList = 26; * @return Whether the gmailList field is set. */ boolean hasGmailList(); /** * optional .wechat_proto.GmailList gmailList = 26; * @return The gmailList. */ wechat.protobuf.Syncitem.GmailList getGmailList(); /** * optional .wechat_proto.GmailList gmailList = 26; */ wechat.protobuf.Syncitem.GmailListOrBuilder getGmailListOrBuilder(); /** * optional string alias = 27; * @return Whether the alias field is set. */ boolean hasAlias(); /** * optional string alias = 27; * @return The alias. */ java.lang.String getAlias(); /** * optional string alias = 27; * @return The bytes for alias. */ com.google.protobuf.ByteString getAliasBytes(); /** * optional string weiboNickname = 28; * @return Whether the weiboNickname field is set. */ boolean hasWeiboNickname(); /** * optional string weiboNickname = 28; * @return The weiboNickname. */ java.lang.String getWeiboNickname(); /** * optional string weiboNickname = 28; * @return The bytes for weiboNickname. */ com.google.protobuf.ByteString getWeiboNicknameBytes(); /** * optional uint32 weiboFlag = 29; * @return Whether the weiboFlag field is set. */ boolean hasWeiboFlag(); /** * optional uint32 weiboFlag = 29; * @return The weiboFlag. */ int getWeiboFlag(); /** * optional uint32 faceBookFlag = 30; * @return Whether the faceBookFlag field is set. */ boolean hasFaceBookFlag(); /** * optional uint32 faceBookFlag = 30; * @return The faceBookFlag. */ int getFaceBookFlag(); /** * optional int64 fbuserId = 31; * @return Whether the fbuserId field is set. */ boolean hasFbuserId(); /** * optional int64 fbuserId = 31; * @return The fbuserId. */ long getFbuserId(); /** * optional string fbuserName = 32; * @return Whether the fbuserName field is set. */ boolean hasFbuserName(); /** * optional string fbuserName = 32; * @return The fbuserName. */ java.lang.String getFbuserName(); /** * optional string fbuserName = 32; * @return The bytes for fbuserName. */ com.google.protobuf.ByteString getFbuserNameBytes(); /** * optional uint32 albumStyle = 33; * @return Whether the albumStyle field is set. */ boolean hasAlbumStyle(); /** * optional uint32 albumStyle = 33; * @return The albumStyle. */ int getAlbumStyle(); /** * optional uint32 albumFlag = 34; * @return Whether the albumFlag field is set. */ boolean hasAlbumFlag(); /** * optional uint32 albumFlag = 34; * @return The albumFlag. */ int getAlbumFlag(); /** * optional string albumBgimgId = 35; * @return Whether the albumBgimgId field is set. */ boolean hasAlbumBgimgId(); /** * optional string albumBgimgId = 35; * @return The albumBgimgId. */ java.lang.String getAlbumBgimgId(); /** * optional string albumBgimgId = 35; * @return The bytes for albumBgimgId. */ com.google.protobuf.ByteString getAlbumBgimgIdBytes(); /** * optional uint32 txnewsCategory = 36; * @return Whether the txnewsCategory field is set. */ boolean hasTxnewsCategory(); /** * optional uint32 txnewsCategory = 36; * @return The txnewsCategory. */ int getTxnewsCategory(); /** * optional string fbtoken = 37; * @return Whether the fbtoken field is set. */ boolean hasFbtoken(); /** * optional string fbtoken = 37; * @return The fbtoken. */ java.lang.String getFbtoken(); /** * optional string fbtoken = 37; * @return The bytes for fbtoken. */ com.google.protobuf.ByteString getFbtokenBytes(); /** * optional string country = 38; * @return Whether the country field is set. */ boolean hasCountry(); /** * optional string country = 38; * @return The country. */ java.lang.String getCountry(); /** * optional string country = 38; * @return The bytes for country. */ com.google.protobuf.ByteString getCountryBytes(); } /** * Protobuf type {@code wechat_proto.ModUserInfo} */ public static final class ModUserInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.ModUserInfo) ModUserInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ModUserInfo.newBuilder() to construct. private ModUserInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ModUserInfo() { imgBuf_ = com.google.protobuf.ByteString.EMPTY; province_ = ""; city_ = ""; signature_ = ""; verifyInfo_ = ""; weibo_ = ""; alias_ = ""; weiboNickname_ = ""; fbuserName_ = ""; albumBgimgId_ = ""; fbtoken_ = ""; country_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ModUserInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ModUserInfo( 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; int mutable_bitField1_ = 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; bitFlag_ = input.readUInt32(); break; } case 18: { wechat.protobuf.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = userName_.toBuilder(); } userName_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(userName_); userName_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { wechat.protobuf.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = nickName_.toBuilder(); } nickName_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(nickName_); nickName_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 32: { bitField0_ |= 0x00000008; bindUin_ = input.readUInt32(); break; } case 42: { wechat.protobuf.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000010) != 0)) { subBuilder = bindEmail_.toBuilder(); } bindEmail_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(bindEmail_); bindEmail_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 50: { wechat.protobuf.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000020) != 0)) { subBuilder = bindMobile_.toBuilder(); } bindMobile_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(bindMobile_); bindMobile_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 56: { bitField0_ |= 0x00000040; status_ = input.readUInt32(); break; } case 64: { bitField0_ |= 0x00000080; imgLen_ = input.readUInt32(); break; } case 74: { bitField0_ |= 0x00000100; imgBuf_ = input.readBytes(); break; } case 80: { bitField0_ |= 0x00000200; sex_ = input.readUInt32(); break; } case 90: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000400; province_ = bs; break; } case 98: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000800; city_ = bs; break; } case 106: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00001000; signature_ = bs; break; } case 112: { bitField0_ |= 0x00002000; personalCard_ = input.readUInt32(); break; } case 122: { wechat.protobuf.Syncitem.DisturbSetting.Builder subBuilder = null; if (((bitField0_ & 0x00004000) != 0)) { subBuilder = disturbSetting_.toBuilder(); } disturbSetting_ = input.readMessage(wechat.protobuf.Syncitem.DisturbSetting.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(disturbSetting_); disturbSetting_ = subBuilder.buildPartial(); } bitField0_ |= 0x00004000; break; } case 128: { bitField0_ |= 0x00008000; pluginFlag_ = input.readUInt32(); break; } case 136: { bitField0_ |= 0x00010000; verifyFlag_ = input.readUInt32(); break; } case 146: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00020000; verifyInfo_ = bs; break; } case 152: { bitField0_ |= 0x00040000; point_ = input.readUInt32(); break; } case 160: { bitField0_ |= 0x00080000; experience_ = input.readUInt32(); break; } case 168: { bitField0_ |= 0x00100000; level_ = input.readUInt32(); break; } case 176: { bitField0_ |= 0x00200000; levelLowExp_ = input.readUInt32(); break; } case 184: { bitField0_ |= 0x00400000; levelHighExp_ = input.readUInt32(); break; } case 194: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00800000; weibo_ = bs; break; } case 200: { bitField0_ |= 0x01000000; pluginSwitch_ = input.readUInt32(); break; } case 210: { wechat.protobuf.Syncitem.GmailList.Builder subBuilder = null; if (((bitField0_ & 0x02000000) != 0)) { subBuilder = gmailList_.toBuilder(); } gmailList_ = input.readMessage(wechat.protobuf.Syncitem.GmailList.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(gmailList_); gmailList_ = subBuilder.buildPartial(); } bitField0_ |= 0x02000000; break; } case 218: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x04000000; alias_ = bs; break; } case 226: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x08000000; weiboNickname_ = bs; break; } case 232: { bitField0_ |= 0x10000000; weiboFlag_ = input.readUInt32(); break; } case 240: { bitField0_ |= 0x20000000; faceBookFlag_ = input.readUInt32(); break; } case 248: { bitField0_ |= 0x40000000; fbuserId_ = input.readInt64(); break; } case 258: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x80000000; fbuserName_ = bs; break; } case 264: { bitField1_ |= 0x00000001; albumStyle_ = input.readUInt32(); break; } case 272: { bitField1_ |= 0x00000002; albumFlag_ = input.readUInt32(); break; } case 282: { com.google.protobuf.ByteString bs = input.readBytes(); bitField1_ |= 0x00000004; albumBgimgId_ = bs; break; } case 288: { bitField1_ |= 0x00000008; txnewsCategory_ = input.readUInt32(); break; } case 298: { com.google.protobuf.ByteString bs = input.readBytes(); bitField1_ |= 0x00000010; fbtoken_ = bs; break; } case 306: { com.google.protobuf.ByteString bs = input.readBytes(); bitField1_ |= 0x00000020; country_ = 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.Syncitem.internal_static_wechat_proto_ModUserInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModUserInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.ModUserInfo.class, wechat.protobuf.Syncitem.ModUserInfo.Builder.class); } private int bitField0_; private int bitField1_; public static final int BITFLAG_FIELD_NUMBER = 1; private int bitFlag_; /** * optional uint32 bitFlag = 1; * @return Whether the bitFlag field is set. */ @java.lang.Override public boolean hasBitFlag() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 bitFlag = 1; * @return The bitFlag. */ @java.lang.Override public int getBitFlag() { return bitFlag_; } public static final int USERNAME_FIELD_NUMBER = 2; private wechat.protobuf.Wechat.SKBuiltinString userName_; /** * optional .wechat_proto.SKBuiltinString userName = 2; * @return Whether the userName field is set. */ @java.lang.Override public boolean hasUserName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString userName = 2; * @return The userName. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getUserName() { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getUserNameOrBuilder() { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } public static final int NICKNAME_FIELD_NUMBER = 3; private wechat.protobuf.Wechat.SKBuiltinString nickName_; /** * optional .wechat_proto.SKBuiltinString nickName = 3; * @return Whether the nickName field is set. */ @java.lang.Override public boolean hasNickName() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .wechat_proto.SKBuiltinString nickName = 3; * @return The nickName. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getNickName() { return nickName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : nickName_; } /** * optional .wechat_proto.SKBuiltinString nickName = 3; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getNickNameOrBuilder() { return nickName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : nickName_; } public static final int BINDUIN_FIELD_NUMBER = 4; private int bindUin_; /** * optional uint32 bindUin = 4; * @return Whether the bindUin field is set. */ @java.lang.Override public boolean hasBindUin() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 bindUin = 4; * @return The bindUin. */ @java.lang.Override public int getBindUin() { return bindUin_; } public static final int BINDEMAIL_FIELD_NUMBER = 5; private wechat.protobuf.Wechat.SKBuiltinString bindEmail_; /** * optional .wechat_proto.SKBuiltinString bindEmail = 5; * @return Whether the bindEmail field is set. */ @java.lang.Override public boolean hasBindEmail() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .wechat_proto.SKBuiltinString bindEmail = 5; * @return The bindEmail. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getBindEmail() { return bindEmail_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : bindEmail_; } /** * optional .wechat_proto.SKBuiltinString bindEmail = 5; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getBindEmailOrBuilder() { return bindEmail_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : bindEmail_; } public static final int BINDMOBILE_FIELD_NUMBER = 6; private wechat.protobuf.Wechat.SKBuiltinString bindMobile_; /** * optional .wechat_proto.SKBuiltinString bindMobile = 6; * @return Whether the bindMobile field is set. */ @java.lang.Override public boolean hasBindMobile() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .wechat_proto.SKBuiltinString bindMobile = 6; * @return The bindMobile. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getBindMobile() { return bindMobile_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : bindMobile_; } /** * optional .wechat_proto.SKBuiltinString bindMobile = 6; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getBindMobileOrBuilder() { return bindMobile_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : bindMobile_; } public static final int STATUS_FIELD_NUMBER = 7; private int status_; /** * optional uint32 status = 7; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 status = 7; * @return The status. */ @java.lang.Override public int getStatus() { return status_; } public static final int IMGLEN_FIELD_NUMBER = 8; private int imgLen_; /** * optional uint32 imgLen = 8; * @return Whether the imgLen field is set. */ @java.lang.Override public boolean hasImgLen() { return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 imgLen = 8; * @return The imgLen. */ @java.lang.Override public int getImgLen() { return imgLen_; } public static final int IMGBUF_FIELD_NUMBER = 9; private com.google.protobuf.ByteString imgBuf_; /** *
     *图片 base64字符串
     * 
* * optional bytes imgBuf = 9; * @return Whether the imgBuf field is set. */ @java.lang.Override public boolean hasImgBuf() { return ((bitField0_ & 0x00000100) != 0); } /** *
     *图片 base64字符串
     * 
* * optional bytes imgBuf = 9; * @return The imgBuf. */ @java.lang.Override public com.google.protobuf.ByteString getImgBuf() { return imgBuf_; } public static final int SEX_FIELD_NUMBER = 10; private int sex_; /** * optional uint32 sex = 10; * @return Whether the sex field is set. */ @java.lang.Override public boolean hasSex() { return ((bitField0_ & 0x00000200) != 0); } /** * optional uint32 sex = 10; * @return The sex. */ @java.lang.Override public int getSex() { return sex_; } public static final int PROVINCE_FIELD_NUMBER = 11; private volatile java.lang.Object province_; /** * optional string province = 11; * @return Whether the province field is set. */ @java.lang.Override public boolean hasProvince() { return ((bitField0_ & 0x00000400) != 0); } /** * optional string province = 11; * @return The province. */ @java.lang.Override public java.lang.String getProvince() { java.lang.Object ref = province_; 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()) { province_ = s; } return s; } } /** * optional string province = 11; * @return The bytes for province. */ @java.lang.Override public com.google.protobuf.ByteString getProvinceBytes() { java.lang.Object ref = province_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); province_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CITY_FIELD_NUMBER = 12; private volatile java.lang.Object city_; /** * optional string city = 12; * @return Whether the city field is set. */ @java.lang.Override public boolean hasCity() { return ((bitField0_ & 0x00000800) != 0); } /** * optional string city = 12; * @return The city. */ @java.lang.Override public java.lang.String getCity() { java.lang.Object ref = city_; 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()) { city_ = s; } return s; } } /** * optional string city = 12; * @return The bytes for city. */ @java.lang.Override public com.google.protobuf.ByteString getCityBytes() { java.lang.Object ref = city_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); city_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SIGNATURE_FIELD_NUMBER = 13; private volatile java.lang.Object signature_; /** * optional string signature = 13; * @return Whether the signature field is set. */ @java.lang.Override public boolean hasSignature() { return ((bitField0_ & 0x00001000) != 0); } /** * optional string signature = 13; * @return The signature. */ @java.lang.Override public java.lang.String getSignature() { java.lang.Object ref = signature_; 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()) { signature_ = s; } return s; } } /** * optional string signature = 13; * @return The bytes for signature. */ @java.lang.Override public com.google.protobuf.ByteString getSignatureBytes() { java.lang.Object ref = signature_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signature_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PERSONALCARD_FIELD_NUMBER = 14; private int personalCard_; /** * optional uint32 personalCard = 14; * @return Whether the personalCard field is set. */ @java.lang.Override public boolean hasPersonalCard() { return ((bitField0_ & 0x00002000) != 0); } /** * optional uint32 personalCard = 14; * @return The personalCard. */ @java.lang.Override public int getPersonalCard() { return personalCard_; } public static final int DISTURBSETTING_FIELD_NUMBER = 15; private wechat.protobuf.Syncitem.DisturbSetting disturbSetting_; /** * optional .wechat_proto.DisturbSetting disturbSetting = 15; * @return Whether the disturbSetting field is set. */ @java.lang.Override public boolean hasDisturbSetting() { return ((bitField0_ & 0x00004000) != 0); } /** * optional .wechat_proto.DisturbSetting disturbSetting = 15; * @return The disturbSetting. */ @java.lang.Override public wechat.protobuf.Syncitem.DisturbSetting getDisturbSetting() { return disturbSetting_ == null ? wechat.protobuf.Syncitem.DisturbSetting.getDefaultInstance() : disturbSetting_; } /** * optional .wechat_proto.DisturbSetting disturbSetting = 15; */ @java.lang.Override public wechat.protobuf.Syncitem.DisturbSettingOrBuilder getDisturbSettingOrBuilder() { return disturbSetting_ == null ? wechat.protobuf.Syncitem.DisturbSetting.getDefaultInstance() : disturbSetting_; } public static final int PLUGINFLAG_FIELD_NUMBER = 16; private int pluginFlag_; /** * optional uint32 pluginFlag = 16; * @return Whether the pluginFlag field is set. */ @java.lang.Override public boolean hasPluginFlag() { return ((bitField0_ & 0x00008000) != 0); } /** * optional uint32 pluginFlag = 16; * @return The pluginFlag. */ @java.lang.Override public int getPluginFlag() { return pluginFlag_; } public static final int VERIFYFLAG_FIELD_NUMBER = 17; private int verifyFlag_; /** * optional uint32 verifyFlag = 17; * @return Whether the verifyFlag field is set. */ @java.lang.Override public boolean hasVerifyFlag() { return ((bitField0_ & 0x00010000) != 0); } /** * optional uint32 verifyFlag = 17; * @return The verifyFlag. */ @java.lang.Override public int getVerifyFlag() { return verifyFlag_; } public static final int VERIFYINFO_FIELD_NUMBER = 18; private volatile java.lang.Object verifyInfo_; /** * optional string verifyInfo = 18; * @return Whether the verifyInfo field is set. */ @java.lang.Override public boolean hasVerifyInfo() { return ((bitField0_ & 0x00020000) != 0); } /** * optional string verifyInfo = 18; * @return The verifyInfo. */ @java.lang.Override public java.lang.String getVerifyInfo() { java.lang.Object ref = verifyInfo_; 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()) { verifyInfo_ = s; } return s; } } /** * optional string verifyInfo = 18; * @return The bytes for verifyInfo. */ @java.lang.Override public com.google.protobuf.ByteString getVerifyInfoBytes() { java.lang.Object ref = verifyInfo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); verifyInfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int POINT_FIELD_NUMBER = 19; private int point_; /** * optional uint32 point = 19; * @return Whether the point field is set. */ @java.lang.Override public boolean hasPoint() { return ((bitField0_ & 0x00040000) != 0); } /** * optional uint32 point = 19; * @return The point. */ @java.lang.Override public int getPoint() { return point_; } public static final int EXPERIENCE_FIELD_NUMBER = 20; private int experience_; /** * optional uint32 experience = 20; * @return Whether the experience field is set. */ @java.lang.Override public boolean hasExperience() { return ((bitField0_ & 0x00080000) != 0); } /** * optional uint32 experience = 20; * @return The experience. */ @java.lang.Override public int getExperience() { return experience_; } public static final int LEVEL_FIELD_NUMBER = 21; private int level_; /** * optional uint32 level = 21; * @return Whether the level field is set. */ @java.lang.Override public boolean hasLevel() { return ((bitField0_ & 0x00100000) != 0); } /** * optional uint32 level = 21; * @return The level. */ @java.lang.Override public int getLevel() { return level_; } public static final int LEVELLOWEXP_FIELD_NUMBER = 22; private int levelLowExp_; /** * optional uint32 levelLowExp = 22; * @return Whether the levelLowExp field is set. */ @java.lang.Override public boolean hasLevelLowExp() { return ((bitField0_ & 0x00200000) != 0); } /** * optional uint32 levelLowExp = 22; * @return The levelLowExp. */ @java.lang.Override public int getLevelLowExp() { return levelLowExp_; } public static final int LEVELHIGHEXP_FIELD_NUMBER = 23; private int levelHighExp_; /** * optional uint32 levelHighExp = 23; * @return Whether the levelHighExp field is set. */ @java.lang.Override public boolean hasLevelHighExp() { return ((bitField0_ & 0x00400000) != 0); } /** * optional uint32 levelHighExp = 23; * @return The levelHighExp. */ @java.lang.Override public int getLevelHighExp() { return levelHighExp_; } public static final int WEIBO_FIELD_NUMBER = 24; private volatile java.lang.Object weibo_; /** * optional string weibo = 24; * @return Whether the weibo field is set. */ @java.lang.Override public boolean hasWeibo() { return ((bitField0_ & 0x00800000) != 0); } /** * optional string weibo = 24; * @return The weibo. */ @java.lang.Override public java.lang.String getWeibo() { java.lang.Object ref = weibo_; 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()) { weibo_ = s; } return s; } } /** * optional string weibo = 24; * @return The bytes for weibo. */ @java.lang.Override public com.google.protobuf.ByteString getWeiboBytes() { java.lang.Object ref = weibo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); weibo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PLUGINSWITCH_FIELD_NUMBER = 25; private int pluginSwitch_; /** * optional uint32 pluginSwitch = 25; * @return Whether the pluginSwitch field is set. */ @java.lang.Override public boolean hasPluginSwitch() { return ((bitField0_ & 0x01000000) != 0); } /** * optional uint32 pluginSwitch = 25; * @return The pluginSwitch. */ @java.lang.Override public int getPluginSwitch() { return pluginSwitch_; } public static final int GMAILLIST_FIELD_NUMBER = 26; private wechat.protobuf.Syncitem.GmailList gmailList_; /** * optional .wechat_proto.GmailList gmailList = 26; * @return Whether the gmailList field is set. */ @java.lang.Override public boolean hasGmailList() { return ((bitField0_ & 0x02000000) != 0); } /** * optional .wechat_proto.GmailList gmailList = 26; * @return The gmailList. */ @java.lang.Override public wechat.protobuf.Syncitem.GmailList getGmailList() { return gmailList_ == null ? wechat.protobuf.Syncitem.GmailList.getDefaultInstance() : gmailList_; } /** * optional .wechat_proto.GmailList gmailList = 26; */ @java.lang.Override public wechat.protobuf.Syncitem.GmailListOrBuilder getGmailListOrBuilder() { return gmailList_ == null ? wechat.protobuf.Syncitem.GmailList.getDefaultInstance() : gmailList_; } public static final int ALIAS_FIELD_NUMBER = 27; private volatile java.lang.Object alias_; /** * optional string alias = 27; * @return Whether the alias field is set. */ @java.lang.Override public boolean hasAlias() { return ((bitField0_ & 0x04000000) != 0); } /** * optional string alias = 27; * @return The alias. */ @java.lang.Override public java.lang.String getAlias() { java.lang.Object ref = alias_; 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()) { alias_ = s; } return s; } } /** * optional string alias = 27; * @return The bytes for alias. */ @java.lang.Override public com.google.protobuf.ByteString getAliasBytes() { java.lang.Object ref = alias_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); alias_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WEIBONICKNAME_FIELD_NUMBER = 28; private volatile java.lang.Object weiboNickname_; /** * optional string weiboNickname = 28; * @return Whether the weiboNickname field is set. */ @java.lang.Override public boolean hasWeiboNickname() { return ((bitField0_ & 0x08000000) != 0); } /** * optional string weiboNickname = 28; * @return The weiboNickname. */ @java.lang.Override public java.lang.String getWeiboNickname() { java.lang.Object ref = weiboNickname_; 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()) { weiboNickname_ = s; } return s; } } /** * optional string weiboNickname = 28; * @return The bytes for weiboNickname. */ @java.lang.Override public com.google.protobuf.ByteString getWeiboNicknameBytes() { java.lang.Object ref = weiboNickname_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); weiboNickname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WEIBOFLAG_FIELD_NUMBER = 29; private int weiboFlag_; /** * optional uint32 weiboFlag = 29; * @return Whether the weiboFlag field is set. */ @java.lang.Override public boolean hasWeiboFlag() { return ((bitField0_ & 0x10000000) != 0); } /** * optional uint32 weiboFlag = 29; * @return The weiboFlag. */ @java.lang.Override public int getWeiboFlag() { return weiboFlag_; } public static final int FACEBOOKFLAG_FIELD_NUMBER = 30; private int faceBookFlag_; /** * optional uint32 faceBookFlag = 30; * @return Whether the faceBookFlag field is set. */ @java.lang.Override public boolean hasFaceBookFlag() { return ((bitField0_ & 0x20000000) != 0); } /** * optional uint32 faceBookFlag = 30; * @return The faceBookFlag. */ @java.lang.Override public int getFaceBookFlag() { return faceBookFlag_; } public static final int FBUSERID_FIELD_NUMBER = 31; private long fbuserId_; /** * optional int64 fbuserId = 31; * @return Whether the fbuserId field is set. */ @java.lang.Override public boolean hasFbuserId() { return ((bitField0_ & 0x40000000) != 0); } /** * optional int64 fbuserId = 31; * @return The fbuserId. */ @java.lang.Override public long getFbuserId() { return fbuserId_; } public static final int FBUSERNAME_FIELD_NUMBER = 32; private volatile java.lang.Object fbuserName_; /** * optional string fbuserName = 32; * @return Whether the fbuserName field is set. */ @java.lang.Override public boolean hasFbuserName() { return ((bitField0_ & 0x80000000) != 0); } /** * optional string fbuserName = 32; * @return The fbuserName. */ @java.lang.Override public java.lang.String getFbuserName() { java.lang.Object ref = fbuserName_; 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()) { fbuserName_ = s; } return s; } } /** * optional string fbuserName = 32; * @return The bytes for fbuserName. */ @java.lang.Override public com.google.protobuf.ByteString getFbuserNameBytes() { java.lang.Object ref = fbuserName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fbuserName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALBUMSTYLE_FIELD_NUMBER = 33; private int albumStyle_; /** * optional uint32 albumStyle = 33; * @return Whether the albumStyle field is set. */ @java.lang.Override public boolean hasAlbumStyle() { return ((bitField1_ & 0x00000001) != 0); } /** * optional uint32 albumStyle = 33; * @return The albumStyle. */ @java.lang.Override public int getAlbumStyle() { return albumStyle_; } public static final int ALBUMFLAG_FIELD_NUMBER = 34; private int albumFlag_; /** * optional uint32 albumFlag = 34; * @return Whether the albumFlag field is set. */ @java.lang.Override public boolean hasAlbumFlag() { return ((bitField1_ & 0x00000002) != 0); } /** * optional uint32 albumFlag = 34; * @return The albumFlag. */ @java.lang.Override public int getAlbumFlag() { return albumFlag_; } public static final int ALBUMBGIMGID_FIELD_NUMBER = 35; private volatile java.lang.Object albumBgimgId_; /** * optional string albumBgimgId = 35; * @return Whether the albumBgimgId field is set. */ @java.lang.Override public boolean hasAlbumBgimgId() { return ((bitField1_ & 0x00000004) != 0); } /** * optional string albumBgimgId = 35; * @return The albumBgimgId. */ @java.lang.Override public java.lang.String getAlbumBgimgId() { java.lang.Object ref = albumBgimgId_; 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()) { albumBgimgId_ = s; } return s; } } /** * optional string albumBgimgId = 35; * @return The bytes for albumBgimgId. */ @java.lang.Override public com.google.protobuf.ByteString getAlbumBgimgIdBytes() { java.lang.Object ref = albumBgimgId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); albumBgimgId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TXNEWSCATEGORY_FIELD_NUMBER = 36; private int txnewsCategory_; /** * optional uint32 txnewsCategory = 36; * @return Whether the txnewsCategory field is set. */ @java.lang.Override public boolean hasTxnewsCategory() { return ((bitField1_ & 0x00000008) != 0); } /** * optional uint32 txnewsCategory = 36; * @return The txnewsCategory. */ @java.lang.Override public int getTxnewsCategory() { return txnewsCategory_; } public static final int FBTOKEN_FIELD_NUMBER = 37; private volatile java.lang.Object fbtoken_; /** * optional string fbtoken = 37; * @return Whether the fbtoken field is set. */ @java.lang.Override public boolean hasFbtoken() { return ((bitField1_ & 0x00000010) != 0); } /** * optional string fbtoken = 37; * @return The fbtoken. */ @java.lang.Override public java.lang.String getFbtoken() { java.lang.Object ref = fbtoken_; 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()) { fbtoken_ = s; } return s; } } /** * optional string fbtoken = 37; * @return The bytes for fbtoken. */ @java.lang.Override public com.google.protobuf.ByteString getFbtokenBytes() { java.lang.Object ref = fbtoken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fbtoken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COUNTRY_FIELD_NUMBER = 38; private volatile java.lang.Object country_; /** * optional string country = 38; * @return Whether the country field is set. */ @java.lang.Override public boolean hasCountry() { return ((bitField1_ & 0x00000020) != 0); } /** * optional string country = 38; * @return The country. */ @java.lang.Override public java.lang.String getCountry() { java.lang.Object ref = country_; 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()) { country_ = s; } return s; } } /** * optional string country = 38; * @return The bytes for country. */ @java.lang.Override public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = 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, bitFlag_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getUserName()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getNickName()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, bindUin_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(5, getBindEmail()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(6, getBindMobile()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt32(7, status_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeUInt32(8, imgLen_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeBytes(9, imgBuf_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeUInt32(10, sex_); } if (((bitField0_ & 0x00000400) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, province_); } if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, city_); } if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, signature_); } if (((bitField0_ & 0x00002000) != 0)) { output.writeUInt32(14, personalCard_); } if (((bitField0_ & 0x00004000) != 0)) { output.writeMessage(15, getDisturbSetting()); } if (((bitField0_ & 0x00008000) != 0)) { output.writeUInt32(16, pluginFlag_); } if (((bitField0_ & 0x00010000) != 0)) { output.writeUInt32(17, verifyFlag_); } if (((bitField0_ & 0x00020000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, verifyInfo_); } if (((bitField0_ & 0x00040000) != 0)) { output.writeUInt32(19, point_); } if (((bitField0_ & 0x00080000) != 0)) { output.writeUInt32(20, experience_); } if (((bitField0_ & 0x00100000) != 0)) { output.writeUInt32(21, level_); } if (((bitField0_ & 0x00200000) != 0)) { output.writeUInt32(22, levelLowExp_); } if (((bitField0_ & 0x00400000) != 0)) { output.writeUInt32(23, levelHighExp_); } if (((bitField0_ & 0x00800000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 24, weibo_); } if (((bitField0_ & 0x01000000) != 0)) { output.writeUInt32(25, pluginSwitch_); } if (((bitField0_ & 0x02000000) != 0)) { output.writeMessage(26, getGmailList()); } if (((bitField0_ & 0x04000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 27, alias_); } if (((bitField0_ & 0x08000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 28, weiboNickname_); } if (((bitField0_ & 0x10000000) != 0)) { output.writeUInt32(29, weiboFlag_); } if (((bitField0_ & 0x20000000) != 0)) { output.writeUInt32(30, faceBookFlag_); } if (((bitField0_ & 0x40000000) != 0)) { output.writeInt64(31, fbuserId_); } if (((bitField0_ & 0x80000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 32, fbuserName_); } if (((bitField1_ & 0x00000001) != 0)) { output.writeUInt32(33, albumStyle_); } if (((bitField1_ & 0x00000002) != 0)) { output.writeUInt32(34, albumFlag_); } if (((bitField1_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 35, albumBgimgId_); } if (((bitField1_ & 0x00000008) != 0)) { output.writeUInt32(36, txnewsCategory_); } if (((bitField1_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 37, fbtoken_); } if (((bitField1_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 38, country_); } 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, bitFlag_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getUserName()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getNickName()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, bindUin_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getBindEmail()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getBindMobile()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, status_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, imgLen_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(9, imgBuf_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(10, sex_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, province_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, city_); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, signature_); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(14, personalCard_); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getDisturbSetting()); } if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(16, pluginFlag_); } if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(17, verifyFlag_); } if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, verifyInfo_); } if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(19, point_); } if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(20, experience_); } if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(21, level_); } if (((bitField0_ & 0x00200000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(22, levelLowExp_); } if (((bitField0_ & 0x00400000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(23, levelHighExp_); } if (((bitField0_ & 0x00800000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, weibo_); } if (((bitField0_ & 0x01000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(25, pluginSwitch_); } if (((bitField0_ & 0x02000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(26, getGmailList()); } if (((bitField0_ & 0x04000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, alias_); } if (((bitField0_ & 0x08000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, weiboNickname_); } if (((bitField0_ & 0x10000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(29, weiboFlag_); } if (((bitField0_ & 0x20000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(30, faceBookFlag_); } if (((bitField0_ & 0x40000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(31, fbuserId_); } if (((bitField0_ & 0x80000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(32, fbuserName_); } if (((bitField1_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(33, albumStyle_); } if (((bitField1_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(34, albumFlag_); } if (((bitField1_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(35, albumBgimgId_); } if (((bitField1_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(36, txnewsCategory_); } if (((bitField1_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37, fbtoken_); } if (((bitField1_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(38, country_); } 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.Syncitem.ModUserInfo)) { return super.equals(obj); } wechat.protobuf.Syncitem.ModUserInfo other = (wechat.protobuf.Syncitem.ModUserInfo) obj; if (hasBitFlag() != other.hasBitFlag()) return false; if (hasBitFlag()) { if (getBitFlag() != other.getBitFlag()) 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 (hasBindUin() != other.hasBindUin()) return false; if (hasBindUin()) { if (getBindUin() != other.getBindUin()) return false; } if (hasBindEmail() != other.hasBindEmail()) return false; if (hasBindEmail()) { if (!getBindEmail() .equals(other.getBindEmail())) return false; } if (hasBindMobile() != other.hasBindMobile()) return false; if (hasBindMobile()) { if (!getBindMobile() .equals(other.getBindMobile())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (getStatus() != other.getStatus()) return false; } if (hasImgLen() != other.hasImgLen()) return false; if (hasImgLen()) { if (getImgLen() != other.getImgLen()) return false; } if (hasImgBuf() != other.hasImgBuf()) return false; if (hasImgBuf()) { if (!getImgBuf() .equals(other.getImgBuf())) return false; } if (hasSex() != other.hasSex()) return false; if (hasSex()) { if (getSex() != other.getSex()) return false; } if (hasProvince() != other.hasProvince()) return false; if (hasProvince()) { if (!getProvince() .equals(other.getProvince())) return false; } if (hasCity() != other.hasCity()) return false; if (hasCity()) { if (!getCity() .equals(other.getCity())) return false; } if (hasSignature() != other.hasSignature()) return false; if (hasSignature()) { if (!getSignature() .equals(other.getSignature())) return false; } if (hasPersonalCard() != other.hasPersonalCard()) return false; if (hasPersonalCard()) { if (getPersonalCard() != other.getPersonalCard()) return false; } if (hasDisturbSetting() != other.hasDisturbSetting()) return false; if (hasDisturbSetting()) { if (!getDisturbSetting() .equals(other.getDisturbSetting())) return false; } if (hasPluginFlag() != other.hasPluginFlag()) return false; if (hasPluginFlag()) { if (getPluginFlag() != other.getPluginFlag()) return false; } if (hasVerifyFlag() != other.hasVerifyFlag()) return false; if (hasVerifyFlag()) { if (getVerifyFlag() != other.getVerifyFlag()) return false; } if (hasVerifyInfo() != other.hasVerifyInfo()) return false; if (hasVerifyInfo()) { if (!getVerifyInfo() .equals(other.getVerifyInfo())) return false; } if (hasPoint() != other.hasPoint()) return false; if (hasPoint()) { if (getPoint() != other.getPoint()) return false; } if (hasExperience() != other.hasExperience()) return false; if (hasExperience()) { if (getExperience() != other.getExperience()) return false; } if (hasLevel() != other.hasLevel()) return false; if (hasLevel()) { if (getLevel() != other.getLevel()) return false; } if (hasLevelLowExp() != other.hasLevelLowExp()) return false; if (hasLevelLowExp()) { if (getLevelLowExp() != other.getLevelLowExp()) return false; } if (hasLevelHighExp() != other.hasLevelHighExp()) return false; if (hasLevelHighExp()) { if (getLevelHighExp() != other.getLevelHighExp()) return false; } if (hasWeibo() != other.hasWeibo()) return false; if (hasWeibo()) { if (!getWeibo() .equals(other.getWeibo())) return false; } if (hasPluginSwitch() != other.hasPluginSwitch()) return false; if (hasPluginSwitch()) { if (getPluginSwitch() != other.getPluginSwitch()) return false; } if (hasGmailList() != other.hasGmailList()) return false; if (hasGmailList()) { if (!getGmailList() .equals(other.getGmailList())) return false; } if (hasAlias() != other.hasAlias()) return false; if (hasAlias()) { if (!getAlias() .equals(other.getAlias())) return false; } if (hasWeiboNickname() != other.hasWeiboNickname()) return false; if (hasWeiboNickname()) { if (!getWeiboNickname() .equals(other.getWeiboNickname())) return false; } if (hasWeiboFlag() != other.hasWeiboFlag()) return false; if (hasWeiboFlag()) { if (getWeiboFlag() != other.getWeiboFlag()) return false; } if (hasFaceBookFlag() != other.hasFaceBookFlag()) return false; if (hasFaceBookFlag()) { if (getFaceBookFlag() != other.getFaceBookFlag()) return false; } if (hasFbuserId() != other.hasFbuserId()) return false; if (hasFbuserId()) { if (getFbuserId() != other.getFbuserId()) return false; } if (hasFbuserName() != other.hasFbuserName()) return false; if (hasFbuserName()) { if (!getFbuserName() .equals(other.getFbuserName())) return false; } if (hasAlbumStyle() != other.hasAlbumStyle()) return false; if (hasAlbumStyle()) { if (getAlbumStyle() != other.getAlbumStyle()) return false; } if (hasAlbumFlag() != other.hasAlbumFlag()) return false; if (hasAlbumFlag()) { if (getAlbumFlag() != other.getAlbumFlag()) return false; } if (hasAlbumBgimgId() != other.hasAlbumBgimgId()) return false; if (hasAlbumBgimgId()) { if (!getAlbumBgimgId() .equals(other.getAlbumBgimgId())) return false; } if (hasTxnewsCategory() != other.hasTxnewsCategory()) return false; if (hasTxnewsCategory()) { if (getTxnewsCategory() != other.getTxnewsCategory()) return false; } if (hasFbtoken() != other.hasFbtoken()) return false; if (hasFbtoken()) { if (!getFbtoken() .equals(other.getFbtoken())) return false; } if (hasCountry() != other.hasCountry()) return false; if (hasCountry()) { if (!getCountry() .equals(other.getCountry())) 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 (hasBitFlag()) { hash = (37 * hash) + BITFLAG_FIELD_NUMBER; hash = (53 * hash) + getBitFlag(); } 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 (hasBindUin()) { hash = (37 * hash) + BINDUIN_FIELD_NUMBER; hash = (53 * hash) + getBindUin(); } if (hasBindEmail()) { hash = (37 * hash) + BINDEMAIL_FIELD_NUMBER; hash = (53 * hash) + getBindEmail().hashCode(); } if (hasBindMobile()) { hash = (37 * hash) + BINDMOBILE_FIELD_NUMBER; hash = (53 * hash) + getBindMobile().hashCode(); } if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus(); } if (hasImgLen()) { hash = (37 * hash) + IMGLEN_FIELD_NUMBER; hash = (53 * hash) + getImgLen(); } if (hasImgBuf()) { hash = (37 * hash) + IMGBUF_FIELD_NUMBER; hash = (53 * hash) + getImgBuf().hashCode(); } if (hasSex()) { hash = (37 * hash) + SEX_FIELD_NUMBER; hash = (53 * hash) + getSex(); } if (hasProvince()) { hash = (37 * hash) + PROVINCE_FIELD_NUMBER; hash = (53 * hash) + getProvince().hashCode(); } if (hasCity()) { hash = (37 * hash) + CITY_FIELD_NUMBER; hash = (53 * hash) + getCity().hashCode(); } if (hasSignature()) { hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); } if (hasPersonalCard()) { hash = (37 * hash) + PERSONALCARD_FIELD_NUMBER; hash = (53 * hash) + getPersonalCard(); } if (hasDisturbSetting()) { hash = (37 * hash) + DISTURBSETTING_FIELD_NUMBER; hash = (53 * hash) + getDisturbSetting().hashCode(); } if (hasPluginFlag()) { hash = (37 * hash) + PLUGINFLAG_FIELD_NUMBER; hash = (53 * hash) + getPluginFlag(); } if (hasVerifyFlag()) { hash = (37 * hash) + VERIFYFLAG_FIELD_NUMBER; hash = (53 * hash) + getVerifyFlag(); } if (hasVerifyInfo()) { hash = (37 * hash) + VERIFYINFO_FIELD_NUMBER; hash = (53 * hash) + getVerifyInfo().hashCode(); } if (hasPoint()) { hash = (37 * hash) + POINT_FIELD_NUMBER; hash = (53 * hash) + getPoint(); } if (hasExperience()) { hash = (37 * hash) + EXPERIENCE_FIELD_NUMBER; hash = (53 * hash) + getExperience(); } if (hasLevel()) { hash = (37 * hash) + LEVEL_FIELD_NUMBER; hash = (53 * hash) + getLevel(); } if (hasLevelLowExp()) { hash = (37 * hash) + LEVELLOWEXP_FIELD_NUMBER; hash = (53 * hash) + getLevelLowExp(); } if (hasLevelHighExp()) { hash = (37 * hash) + LEVELHIGHEXP_FIELD_NUMBER; hash = (53 * hash) + getLevelHighExp(); } if (hasWeibo()) { hash = (37 * hash) + WEIBO_FIELD_NUMBER; hash = (53 * hash) + getWeibo().hashCode(); } if (hasPluginSwitch()) { hash = (37 * hash) + PLUGINSWITCH_FIELD_NUMBER; hash = (53 * hash) + getPluginSwitch(); } if (hasGmailList()) { hash = (37 * hash) + GMAILLIST_FIELD_NUMBER; hash = (53 * hash) + getGmailList().hashCode(); } if (hasAlias()) { hash = (37 * hash) + ALIAS_FIELD_NUMBER; hash = (53 * hash) + getAlias().hashCode(); } if (hasWeiboNickname()) { hash = (37 * hash) + WEIBONICKNAME_FIELD_NUMBER; hash = (53 * hash) + getWeiboNickname().hashCode(); } if (hasWeiboFlag()) { hash = (37 * hash) + WEIBOFLAG_FIELD_NUMBER; hash = (53 * hash) + getWeiboFlag(); } if (hasFaceBookFlag()) { hash = (37 * hash) + FACEBOOKFLAG_FIELD_NUMBER; hash = (53 * hash) + getFaceBookFlag(); } if (hasFbuserId()) { hash = (37 * hash) + FBUSERID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFbuserId()); } if (hasFbuserName()) { hash = (37 * hash) + FBUSERNAME_FIELD_NUMBER; hash = (53 * hash) + getFbuserName().hashCode(); } if (hasAlbumStyle()) { hash = (37 * hash) + ALBUMSTYLE_FIELD_NUMBER; hash = (53 * hash) + getAlbumStyle(); } if (hasAlbumFlag()) { hash = (37 * hash) + ALBUMFLAG_FIELD_NUMBER; hash = (53 * hash) + getAlbumFlag(); } if (hasAlbumBgimgId()) { hash = (37 * hash) + ALBUMBGIMGID_FIELD_NUMBER; hash = (53 * hash) + getAlbumBgimgId().hashCode(); } if (hasTxnewsCategory()) { hash = (37 * hash) + TXNEWSCATEGORY_FIELD_NUMBER; hash = (53 * hash) + getTxnewsCategory(); } if (hasFbtoken()) { hash = (37 * hash) + FBTOKEN_FIELD_NUMBER; hash = (53 * hash) + getFbtoken().hashCode(); } if (hasCountry()) { hash = (37 * hash) + COUNTRY_FIELD_NUMBER; hash = (53 * hash) + getCountry().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.ModUserInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModUserInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.ModUserInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModUserInfo 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.Syncitem.ModUserInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModUserInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.ModUserInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModUserInfo 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.Syncitem.ModUserInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModUserInfo 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.Syncitem.ModUserInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModUserInfo 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.Syncitem.ModUserInfo 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.ModUserInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.ModUserInfo) wechat.protobuf.Syncitem.ModUserInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModUserInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModUserInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.ModUserInfo.class, wechat.protobuf.Syncitem.ModUserInfo.Builder.class); } // Construct using wechat.protobuf.Syncitem.ModUserInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUserNameFieldBuilder(); getNickNameFieldBuilder(); getBindEmailFieldBuilder(); getBindMobileFieldBuilder(); getDisturbSettingFieldBuilder(); getGmailListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitFlag_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (userNameBuilder_ == null) { userName_ = null; } else { userNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (nickNameBuilder_ == null) { nickName_ = null; } else { nickNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); bindUin_ = 0; bitField0_ = (bitField0_ & ~0x00000008); if (bindEmailBuilder_ == null) { bindEmail_ = null; } else { bindEmailBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (bindMobileBuilder_ == null) { bindMobile_ = null; } else { bindMobileBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); status_ = 0; bitField0_ = (bitField0_ & ~0x00000040); imgLen_ = 0; bitField0_ = (bitField0_ & ~0x00000080); imgBuf_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000100); sex_ = 0; bitField0_ = (bitField0_ & ~0x00000200); province_ = ""; bitField0_ = (bitField0_ & ~0x00000400); city_ = ""; bitField0_ = (bitField0_ & ~0x00000800); signature_ = ""; bitField0_ = (bitField0_ & ~0x00001000); personalCard_ = 0; bitField0_ = (bitField0_ & ~0x00002000); if (disturbSettingBuilder_ == null) { disturbSetting_ = null; } else { disturbSettingBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00004000); pluginFlag_ = 0; bitField0_ = (bitField0_ & ~0x00008000); verifyFlag_ = 0; bitField0_ = (bitField0_ & ~0x00010000); verifyInfo_ = ""; bitField0_ = (bitField0_ & ~0x00020000); point_ = 0; bitField0_ = (bitField0_ & ~0x00040000); experience_ = 0; bitField0_ = (bitField0_ & ~0x00080000); level_ = 0; bitField0_ = (bitField0_ & ~0x00100000); levelLowExp_ = 0; bitField0_ = (bitField0_ & ~0x00200000); levelHighExp_ = 0; bitField0_ = (bitField0_ & ~0x00400000); weibo_ = ""; bitField0_ = (bitField0_ & ~0x00800000); pluginSwitch_ = 0; bitField0_ = (bitField0_ & ~0x01000000); if (gmailListBuilder_ == null) { gmailList_ = null; } else { gmailListBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x02000000); alias_ = ""; bitField0_ = (bitField0_ & ~0x04000000); weiboNickname_ = ""; bitField0_ = (bitField0_ & ~0x08000000); weiboFlag_ = 0; bitField0_ = (bitField0_ & ~0x10000000); faceBookFlag_ = 0; bitField0_ = (bitField0_ & ~0x20000000); fbuserId_ = 0L; bitField0_ = (bitField0_ & ~0x40000000); fbuserName_ = ""; bitField0_ = (bitField0_ & ~0x80000000); albumStyle_ = 0; bitField1_ = (bitField1_ & ~0x00000001); albumFlag_ = 0; bitField1_ = (bitField1_ & ~0x00000002); albumBgimgId_ = ""; bitField1_ = (bitField1_ & ~0x00000004); txnewsCategory_ = 0; bitField1_ = (bitField1_ & ~0x00000008); fbtoken_ = ""; bitField1_ = (bitField1_ & ~0x00000010); country_ = ""; bitField1_ = (bitField1_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModUserInfo_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.ModUserInfo getDefaultInstanceForType() { return wechat.protobuf.Syncitem.ModUserInfo.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.ModUserInfo build() { wechat.protobuf.Syncitem.ModUserInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.ModUserInfo buildPartial() { wechat.protobuf.Syncitem.ModUserInfo result = new wechat.protobuf.Syncitem.ModUserInfo(this); int from_bitField0_ = bitField0_; int from_bitField1_ = bitField1_; int to_bitField0_ = 0; int to_bitField1_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.bitFlag_ = bitFlag_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (userNameBuilder_ == null) { result.userName_ = userName_; } else { result.userName_ = userNameBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (nickNameBuilder_ == null) { result.nickName_ = nickName_; } else { result.nickName_ = nickNameBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.bindUin_ = bindUin_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { if (bindEmailBuilder_ == null) { result.bindEmail_ = bindEmail_; } else { result.bindEmail_ = bindEmailBuilder_.build(); } to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { if (bindMobileBuilder_ == null) { result.bindMobile_ = bindMobile_; } else { result.bindMobile_ = bindMobileBuilder_.build(); } to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.status_ = status_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.imgLen_ = imgLen_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000100; } result.imgBuf_ = imgBuf_; if (((from_bitField0_ & 0x00000200) != 0)) { result.sex_ = sex_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { to_bitField0_ |= 0x00000400; } result.province_ = province_; if (((from_bitField0_ & 0x00000800) != 0)) { to_bitField0_ |= 0x00000800; } result.city_ = city_; if (((from_bitField0_ & 0x00001000) != 0)) { to_bitField0_ |= 0x00001000; } result.signature_ = signature_; if (((from_bitField0_ & 0x00002000) != 0)) { result.personalCard_ = personalCard_; to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00004000) != 0)) { if (disturbSettingBuilder_ == null) { result.disturbSetting_ = disturbSetting_; } else { result.disturbSetting_ = disturbSettingBuilder_.build(); } to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00008000) != 0)) { result.pluginFlag_ = pluginFlag_; to_bitField0_ |= 0x00008000; } if (((from_bitField0_ & 0x00010000) != 0)) { result.verifyFlag_ = verifyFlag_; to_bitField0_ |= 0x00010000; } if (((from_bitField0_ & 0x00020000) != 0)) { to_bitField0_ |= 0x00020000; } result.verifyInfo_ = verifyInfo_; if (((from_bitField0_ & 0x00040000) != 0)) { result.point_ = point_; to_bitField0_ |= 0x00040000; } if (((from_bitField0_ & 0x00080000) != 0)) { result.experience_ = experience_; to_bitField0_ |= 0x00080000; } if (((from_bitField0_ & 0x00100000) != 0)) { result.level_ = level_; to_bitField0_ |= 0x00100000; } if (((from_bitField0_ & 0x00200000) != 0)) { result.levelLowExp_ = levelLowExp_; to_bitField0_ |= 0x00200000; } if (((from_bitField0_ & 0x00400000) != 0)) { result.levelHighExp_ = levelHighExp_; to_bitField0_ |= 0x00400000; } if (((from_bitField0_ & 0x00800000) != 0)) { to_bitField0_ |= 0x00800000; } result.weibo_ = weibo_; if (((from_bitField0_ & 0x01000000) != 0)) { result.pluginSwitch_ = pluginSwitch_; to_bitField0_ |= 0x01000000; } if (((from_bitField0_ & 0x02000000) != 0)) { if (gmailListBuilder_ == null) { result.gmailList_ = gmailList_; } else { result.gmailList_ = gmailListBuilder_.build(); } to_bitField0_ |= 0x02000000; } if (((from_bitField0_ & 0x04000000) != 0)) { to_bitField0_ |= 0x04000000; } result.alias_ = alias_; if (((from_bitField0_ & 0x08000000) != 0)) { to_bitField0_ |= 0x08000000; } result.weiboNickname_ = weiboNickname_; if (((from_bitField0_ & 0x10000000) != 0)) { result.weiboFlag_ = weiboFlag_; to_bitField0_ |= 0x10000000; } if (((from_bitField0_ & 0x20000000) != 0)) { result.faceBookFlag_ = faceBookFlag_; to_bitField0_ |= 0x20000000; } if (((from_bitField0_ & 0x40000000) != 0)) { result.fbuserId_ = fbuserId_; to_bitField0_ |= 0x40000000; } if (((from_bitField0_ & 0x80000000) != 0)) { to_bitField0_ |= 0x80000000; } result.fbuserName_ = fbuserName_; if (((from_bitField1_ & 0x00000001) != 0)) { result.albumStyle_ = albumStyle_; to_bitField1_ |= 0x00000001; } if (((from_bitField1_ & 0x00000002) != 0)) { result.albumFlag_ = albumFlag_; to_bitField1_ |= 0x00000002; } if (((from_bitField1_ & 0x00000004) != 0)) { to_bitField1_ |= 0x00000004; } result.albumBgimgId_ = albumBgimgId_; if (((from_bitField1_ & 0x00000008) != 0)) { result.txnewsCategory_ = txnewsCategory_; to_bitField1_ |= 0x00000008; } if (((from_bitField1_ & 0x00000010) != 0)) { to_bitField1_ |= 0x00000010; } result.fbtoken_ = fbtoken_; if (((from_bitField1_ & 0x00000020) != 0)) { to_bitField1_ |= 0x00000020; } result.country_ = country_; result.bitField0_ = to_bitField0_; result.bitField1_ = to_bitField1_; 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.Syncitem.ModUserInfo) { return mergeFrom((wechat.protobuf.Syncitem.ModUserInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.ModUserInfo other) { if (other == wechat.protobuf.Syncitem.ModUserInfo.getDefaultInstance()) return this; if (other.hasBitFlag()) { setBitFlag(other.getBitFlag()); } if (other.hasUserName()) { mergeUserName(other.getUserName()); } if (other.hasNickName()) { mergeNickName(other.getNickName()); } if (other.hasBindUin()) { setBindUin(other.getBindUin()); } if (other.hasBindEmail()) { mergeBindEmail(other.getBindEmail()); } if (other.hasBindMobile()) { mergeBindMobile(other.getBindMobile()); } if (other.hasStatus()) { setStatus(other.getStatus()); } if (other.hasImgLen()) { setImgLen(other.getImgLen()); } if (other.hasImgBuf()) { setImgBuf(other.getImgBuf()); } if (other.hasSex()) { setSex(other.getSex()); } if (other.hasProvince()) { bitField0_ |= 0x00000400; province_ = other.province_; onChanged(); } if (other.hasCity()) { bitField0_ |= 0x00000800; city_ = other.city_; onChanged(); } if (other.hasSignature()) { bitField0_ |= 0x00001000; signature_ = other.signature_; onChanged(); } if (other.hasPersonalCard()) { setPersonalCard(other.getPersonalCard()); } if (other.hasDisturbSetting()) { mergeDisturbSetting(other.getDisturbSetting()); } if (other.hasPluginFlag()) { setPluginFlag(other.getPluginFlag()); } if (other.hasVerifyFlag()) { setVerifyFlag(other.getVerifyFlag()); } if (other.hasVerifyInfo()) { bitField0_ |= 0x00020000; verifyInfo_ = other.verifyInfo_; onChanged(); } if (other.hasPoint()) { setPoint(other.getPoint()); } if (other.hasExperience()) { setExperience(other.getExperience()); } if (other.hasLevel()) { setLevel(other.getLevel()); } if (other.hasLevelLowExp()) { setLevelLowExp(other.getLevelLowExp()); } if (other.hasLevelHighExp()) { setLevelHighExp(other.getLevelHighExp()); } if (other.hasWeibo()) { bitField0_ |= 0x00800000; weibo_ = other.weibo_; onChanged(); } if (other.hasPluginSwitch()) { setPluginSwitch(other.getPluginSwitch()); } if (other.hasGmailList()) { mergeGmailList(other.getGmailList()); } if (other.hasAlias()) { bitField0_ |= 0x04000000; alias_ = other.alias_; onChanged(); } if (other.hasWeiboNickname()) { bitField0_ |= 0x08000000; weiboNickname_ = other.weiboNickname_; onChanged(); } if (other.hasWeiboFlag()) { setWeiboFlag(other.getWeiboFlag()); } if (other.hasFaceBookFlag()) { setFaceBookFlag(other.getFaceBookFlag()); } if (other.hasFbuserId()) { setFbuserId(other.getFbuserId()); } if (other.hasFbuserName()) { bitField0_ |= 0x80000000; fbuserName_ = other.fbuserName_; onChanged(); } if (other.hasAlbumStyle()) { setAlbumStyle(other.getAlbumStyle()); } if (other.hasAlbumFlag()) { setAlbumFlag(other.getAlbumFlag()); } if (other.hasAlbumBgimgId()) { bitField1_ |= 0x00000004; albumBgimgId_ = other.albumBgimgId_; onChanged(); } if (other.hasTxnewsCategory()) { setTxnewsCategory(other.getTxnewsCategory()); } if (other.hasFbtoken()) { bitField1_ |= 0x00000010; fbtoken_ = other.fbtoken_; onChanged(); } if (other.hasCountry()) { bitField1_ |= 0x00000020; country_ = other.country_; 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.Syncitem.ModUserInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.ModUserInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int bitField1_; private int bitFlag_ ; /** * optional uint32 bitFlag = 1; * @return Whether the bitFlag field is set. */ @java.lang.Override public boolean hasBitFlag() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 bitFlag = 1; * @return The bitFlag. */ @java.lang.Override public int getBitFlag() { return bitFlag_; } /** * optional uint32 bitFlag = 1; * @param value The bitFlag to set. * @return This builder for chaining. */ public Builder setBitFlag(int value) { bitField0_ |= 0x00000001; bitFlag_ = value; onChanged(); return this; } /** * optional uint32 bitFlag = 1; * @return This builder for chaining. */ public Builder clearBitFlag() { bitField0_ = (bitField0_ & ~0x00000001); bitFlag_ = 0; onChanged(); return this; } private wechat.protobuf.Wechat.SKBuiltinString userName_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> userNameBuilder_; /** * optional .wechat_proto.SKBuiltinString userName = 2; * @return Whether the userName field is set. */ public boolean hasUserName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString userName = 2; * @return The userName. */ public wechat.protobuf.Wechat.SKBuiltinString getUserName() { if (userNameBuilder_ == null) { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } else { return userNameBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ public Builder setUserName(wechat.protobuf.Wechat.SKBuiltinString value) { if (userNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userName_ = value; onChanged(); } else { userNameBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ public Builder setUserName( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (userNameBuilder_ == null) { userName_ = builderForValue.build(); onChanged(); } else { userNameBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ public Builder mergeUserName(wechat.protobuf.Wechat.SKBuiltinString value) { if (userNameBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && userName_ != null && userName_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { userName_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(userName_).mergeFrom(value).buildPartial(); } else { userName_ = value; } onChanged(); } else { userNameBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ public Builder clearUserName() { if (userNameBuilder_ == null) { userName_ = null; onChanged(); } else { userNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getUserNameBuilder() { bitField0_ |= 0x00000002; onChanged(); return getUserNameFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getUserNameOrBuilder() { if (userNameBuilder_ != null) { return userNameBuilder_.getMessageOrBuilder(); } else { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getUserNameFieldBuilder() { if (userNameBuilder_ == null) { userNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getUserName(), getParentForChildren(), isClean()); userName_ = null; } return userNameBuilder_; } private wechat.protobuf.Wechat.SKBuiltinString nickName_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> nickNameBuilder_; /** * optional .wechat_proto.SKBuiltinString nickName = 3; * @return Whether the nickName field is set. */ public boolean hasNickName() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .wechat_proto.SKBuiltinString nickName = 3; * @return The nickName. */ public wechat.protobuf.Wechat.SKBuiltinString getNickName() { if (nickNameBuilder_ == null) { return nickName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : nickName_; } else { return nickNameBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString nickName = 3; */ public Builder setNickName(wechat.protobuf.Wechat.SKBuiltinString value) { if (nickNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } nickName_ = value; onChanged(); } else { nickNameBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SKBuiltinString nickName = 3; */ public Builder setNickName( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (nickNameBuilder_ == null) { nickName_ = builderForValue.build(); onChanged(); } else { nickNameBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SKBuiltinString nickName = 3; */ public Builder mergeNickName(wechat.protobuf.Wechat.SKBuiltinString value) { if (nickNameBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && nickName_ != null && nickName_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { nickName_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(nickName_).mergeFrom(value).buildPartial(); } else { nickName_ = value; } onChanged(); } else { nickNameBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SKBuiltinString nickName = 3; */ public Builder clearNickName() { if (nickNameBuilder_ == null) { nickName_ = null; onChanged(); } else { nickNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .wechat_proto.SKBuiltinString nickName = 3; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getNickNameBuilder() { bitField0_ |= 0x00000004; onChanged(); return getNickNameFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString nickName = 3; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getNickNameOrBuilder() { if (nickNameBuilder_ != null) { return nickNameBuilder_.getMessageOrBuilder(); } else { return nickName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : nickName_; } } /** * optional .wechat_proto.SKBuiltinString nickName = 3; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getNickNameFieldBuilder() { if (nickNameBuilder_ == null) { nickNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getNickName(), getParentForChildren(), isClean()); nickName_ = null; } return nickNameBuilder_; } private int bindUin_ ; /** * optional uint32 bindUin = 4; * @return Whether the bindUin field is set. */ @java.lang.Override public boolean hasBindUin() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 bindUin = 4; * @return The bindUin. */ @java.lang.Override public int getBindUin() { return bindUin_; } /** * optional uint32 bindUin = 4; * @param value The bindUin to set. * @return This builder for chaining. */ public Builder setBindUin(int value) { bitField0_ |= 0x00000008; bindUin_ = value; onChanged(); return this; } /** * optional uint32 bindUin = 4; * @return This builder for chaining. */ public Builder clearBindUin() { bitField0_ = (bitField0_ & ~0x00000008); bindUin_ = 0; onChanged(); return this; } private wechat.protobuf.Wechat.SKBuiltinString bindEmail_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> bindEmailBuilder_; /** * optional .wechat_proto.SKBuiltinString bindEmail = 5; * @return Whether the bindEmail field is set. */ public boolean hasBindEmail() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .wechat_proto.SKBuiltinString bindEmail = 5; * @return The bindEmail. */ public wechat.protobuf.Wechat.SKBuiltinString getBindEmail() { if (bindEmailBuilder_ == null) { return bindEmail_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : bindEmail_; } else { return bindEmailBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString bindEmail = 5; */ public Builder setBindEmail(wechat.protobuf.Wechat.SKBuiltinString value) { if (bindEmailBuilder_ == null) { if (value == null) { throw new NullPointerException(); } bindEmail_ = value; onChanged(); } else { bindEmailBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .wechat_proto.SKBuiltinString bindEmail = 5; */ public Builder setBindEmail( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (bindEmailBuilder_ == null) { bindEmail_ = builderForValue.build(); onChanged(); } else { bindEmailBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .wechat_proto.SKBuiltinString bindEmail = 5; */ public Builder mergeBindEmail(wechat.protobuf.Wechat.SKBuiltinString value) { if (bindEmailBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && bindEmail_ != null && bindEmail_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { bindEmail_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(bindEmail_).mergeFrom(value).buildPartial(); } else { bindEmail_ = value; } onChanged(); } else { bindEmailBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .wechat_proto.SKBuiltinString bindEmail = 5; */ public Builder clearBindEmail() { if (bindEmailBuilder_ == null) { bindEmail_ = null; onChanged(); } else { bindEmailBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .wechat_proto.SKBuiltinString bindEmail = 5; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getBindEmailBuilder() { bitField0_ |= 0x00000010; onChanged(); return getBindEmailFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString bindEmail = 5; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getBindEmailOrBuilder() { if (bindEmailBuilder_ != null) { return bindEmailBuilder_.getMessageOrBuilder(); } else { return bindEmail_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : bindEmail_; } } /** * optional .wechat_proto.SKBuiltinString bindEmail = 5; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getBindEmailFieldBuilder() { if (bindEmailBuilder_ == null) { bindEmailBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getBindEmail(), getParentForChildren(), isClean()); bindEmail_ = null; } return bindEmailBuilder_; } private wechat.protobuf.Wechat.SKBuiltinString bindMobile_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> bindMobileBuilder_; /** * optional .wechat_proto.SKBuiltinString bindMobile = 6; * @return Whether the bindMobile field is set. */ public boolean hasBindMobile() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .wechat_proto.SKBuiltinString bindMobile = 6; * @return The bindMobile. */ public wechat.protobuf.Wechat.SKBuiltinString getBindMobile() { if (bindMobileBuilder_ == null) { return bindMobile_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : bindMobile_; } else { return bindMobileBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString bindMobile = 6; */ public Builder setBindMobile(wechat.protobuf.Wechat.SKBuiltinString value) { if (bindMobileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } bindMobile_ = value; onChanged(); } else { bindMobileBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .wechat_proto.SKBuiltinString bindMobile = 6; */ public Builder setBindMobile( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (bindMobileBuilder_ == null) { bindMobile_ = builderForValue.build(); onChanged(); } else { bindMobileBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .wechat_proto.SKBuiltinString bindMobile = 6; */ public Builder mergeBindMobile(wechat.protobuf.Wechat.SKBuiltinString value) { if (bindMobileBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && bindMobile_ != null && bindMobile_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { bindMobile_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(bindMobile_).mergeFrom(value).buildPartial(); } else { bindMobile_ = value; } onChanged(); } else { bindMobileBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .wechat_proto.SKBuiltinString bindMobile = 6; */ public Builder clearBindMobile() { if (bindMobileBuilder_ == null) { bindMobile_ = null; onChanged(); } else { bindMobileBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .wechat_proto.SKBuiltinString bindMobile = 6; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getBindMobileBuilder() { bitField0_ |= 0x00000020; onChanged(); return getBindMobileFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString bindMobile = 6; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getBindMobileOrBuilder() { if (bindMobileBuilder_ != null) { return bindMobileBuilder_.getMessageOrBuilder(); } else { return bindMobile_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : bindMobile_; } } /** * optional .wechat_proto.SKBuiltinString bindMobile = 6; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getBindMobileFieldBuilder() { if (bindMobileBuilder_ == null) { bindMobileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getBindMobile(), getParentForChildren(), isClean()); bindMobile_ = null; } return bindMobileBuilder_; } private int status_ ; /** * optional uint32 status = 7; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 status = 7; * @return The status. */ @java.lang.Override public int getStatus() { return status_; } /** * optional uint32 status = 7; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(int value) { bitField0_ |= 0x00000040; status_ = value; onChanged(); return this; } /** * optional uint32 status = 7; * @return This builder for chaining. */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000040); status_ = 0; onChanged(); return this; } private int imgLen_ ; /** * optional uint32 imgLen = 8; * @return Whether the imgLen field is set. */ @java.lang.Override public boolean hasImgLen() { return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 imgLen = 8; * @return The imgLen. */ @java.lang.Override public int getImgLen() { return imgLen_; } /** * optional uint32 imgLen = 8; * @param value The imgLen to set. * @return This builder for chaining. */ public Builder setImgLen(int value) { bitField0_ |= 0x00000080; imgLen_ = value; onChanged(); return this; } /** * optional uint32 imgLen = 8; * @return This builder for chaining. */ public Builder clearImgLen() { bitField0_ = (bitField0_ & ~0x00000080); imgLen_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString imgBuf_ = com.google.protobuf.ByteString.EMPTY; /** *
       *图片 base64字符串
       * 
* * optional bytes imgBuf = 9; * @return Whether the imgBuf field is set. */ @java.lang.Override public boolean hasImgBuf() { return ((bitField0_ & 0x00000100) != 0); } /** *
       *图片 base64字符串
       * 
* * optional bytes imgBuf = 9; * @return The imgBuf. */ @java.lang.Override public com.google.protobuf.ByteString getImgBuf() { return imgBuf_; } /** *
       *图片 base64字符串
       * 
* * optional bytes imgBuf = 9; * @param value The imgBuf to set. * @return This builder for chaining. */ public Builder setImgBuf(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; imgBuf_ = value; onChanged(); return this; } /** *
       *图片 base64字符串
       * 
* * optional bytes imgBuf = 9; * @return This builder for chaining. */ public Builder clearImgBuf() { bitField0_ = (bitField0_ & ~0x00000100); imgBuf_ = getDefaultInstance().getImgBuf(); onChanged(); return this; } private int sex_ ; /** * optional uint32 sex = 10; * @return Whether the sex field is set. */ @java.lang.Override public boolean hasSex() { return ((bitField0_ & 0x00000200) != 0); } /** * optional uint32 sex = 10; * @return The sex. */ @java.lang.Override public int getSex() { return sex_; } /** * optional uint32 sex = 10; * @param value The sex to set. * @return This builder for chaining. */ public Builder setSex(int value) { bitField0_ |= 0x00000200; sex_ = value; onChanged(); return this; } /** * optional uint32 sex = 10; * @return This builder for chaining. */ public Builder clearSex() { bitField0_ = (bitField0_ & ~0x00000200); sex_ = 0; onChanged(); return this; } private java.lang.Object province_ = ""; /** * optional string province = 11; * @return Whether the province field is set. */ public boolean hasProvince() { return ((bitField0_ & 0x00000400) != 0); } /** * optional string province = 11; * @return The province. */ public java.lang.String getProvince() { java.lang.Object ref = province_; 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()) { province_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string province = 11; * @return The bytes for province. */ public com.google.protobuf.ByteString getProvinceBytes() { java.lang.Object ref = province_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); province_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string province = 11; * @param value The province to set. * @return This builder for chaining. */ public Builder setProvince( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; province_ = value; onChanged(); return this; } /** * optional string province = 11; * @return This builder for chaining. */ public Builder clearProvince() { bitField0_ = (bitField0_ & ~0x00000400); province_ = getDefaultInstance().getProvince(); onChanged(); return this; } /** * optional string province = 11; * @param value The bytes for province to set. * @return This builder for chaining. */ public Builder setProvinceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; province_ = value; onChanged(); return this; } private java.lang.Object city_ = ""; /** * optional string city = 12; * @return Whether the city field is set. */ public boolean hasCity() { return ((bitField0_ & 0x00000800) != 0); } /** * optional string city = 12; * @return The city. */ public java.lang.String getCity() { java.lang.Object ref = city_; 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()) { city_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string city = 12; * @return The bytes for city. */ public com.google.protobuf.ByteString getCityBytes() { java.lang.Object ref = city_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); city_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string city = 12; * @param value The city to set. * @return This builder for chaining. */ public Builder setCity( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; city_ = value; onChanged(); return this; } /** * optional string city = 12; * @return This builder for chaining. */ public Builder clearCity() { bitField0_ = (bitField0_ & ~0x00000800); city_ = getDefaultInstance().getCity(); onChanged(); return this; } /** * optional string city = 12; * @param value The bytes for city to set. * @return This builder for chaining. */ public Builder setCityBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; city_ = value; onChanged(); return this; } private java.lang.Object signature_ = ""; /** * optional string signature = 13; * @return Whether the signature field is set. */ public boolean hasSignature() { return ((bitField0_ & 0x00001000) != 0); } /** * optional string signature = 13; * @return The signature. */ public java.lang.String getSignature() { java.lang.Object ref = signature_; 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()) { signature_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string signature = 13; * @return The bytes for signature. */ public com.google.protobuf.ByteString getSignatureBytes() { java.lang.Object ref = signature_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signature_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string signature = 13; * @param value The signature to set. * @return This builder for chaining. */ public Builder setSignature( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; signature_ = value; onChanged(); return this; } /** * optional string signature = 13; * @return This builder for chaining. */ public Builder clearSignature() { bitField0_ = (bitField0_ & ~0x00001000); signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } /** * optional string signature = 13; * @param value The bytes for signature to set. * @return This builder for chaining. */ public Builder setSignatureBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; signature_ = value; onChanged(); return this; } private int personalCard_ ; /** * optional uint32 personalCard = 14; * @return Whether the personalCard field is set. */ @java.lang.Override public boolean hasPersonalCard() { return ((bitField0_ & 0x00002000) != 0); } /** * optional uint32 personalCard = 14; * @return The personalCard. */ @java.lang.Override public int getPersonalCard() { return personalCard_; } /** * optional uint32 personalCard = 14; * @param value The personalCard to set. * @return This builder for chaining. */ public Builder setPersonalCard(int value) { bitField0_ |= 0x00002000; personalCard_ = value; onChanged(); return this; } /** * optional uint32 personalCard = 14; * @return This builder for chaining. */ public Builder clearPersonalCard() { bitField0_ = (bitField0_ & ~0x00002000); personalCard_ = 0; onChanged(); return this; } private wechat.protobuf.Syncitem.DisturbSetting disturbSetting_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.DisturbSetting, wechat.protobuf.Syncitem.DisturbSetting.Builder, wechat.protobuf.Syncitem.DisturbSettingOrBuilder> disturbSettingBuilder_; /** * optional .wechat_proto.DisturbSetting disturbSetting = 15; * @return Whether the disturbSetting field is set. */ public boolean hasDisturbSetting() { return ((bitField0_ & 0x00004000) != 0); } /** * optional .wechat_proto.DisturbSetting disturbSetting = 15; * @return The disturbSetting. */ public wechat.protobuf.Syncitem.DisturbSetting getDisturbSetting() { if (disturbSettingBuilder_ == null) { return disturbSetting_ == null ? wechat.protobuf.Syncitem.DisturbSetting.getDefaultInstance() : disturbSetting_; } else { return disturbSettingBuilder_.getMessage(); } } /** * optional .wechat_proto.DisturbSetting disturbSetting = 15; */ public Builder setDisturbSetting(wechat.protobuf.Syncitem.DisturbSetting value) { if (disturbSettingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } disturbSetting_ = value; onChanged(); } else { disturbSettingBuilder_.setMessage(value); } bitField0_ |= 0x00004000; return this; } /** * optional .wechat_proto.DisturbSetting disturbSetting = 15; */ public Builder setDisturbSetting( wechat.protobuf.Syncitem.DisturbSetting.Builder builderForValue) { if (disturbSettingBuilder_ == null) { disturbSetting_ = builderForValue.build(); onChanged(); } else { disturbSettingBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00004000; return this; } /** * optional .wechat_proto.DisturbSetting disturbSetting = 15; */ public Builder mergeDisturbSetting(wechat.protobuf.Syncitem.DisturbSetting value) { if (disturbSettingBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0) && disturbSetting_ != null && disturbSetting_ != wechat.protobuf.Syncitem.DisturbSetting.getDefaultInstance()) { disturbSetting_ = wechat.protobuf.Syncitem.DisturbSetting.newBuilder(disturbSetting_).mergeFrom(value).buildPartial(); } else { disturbSetting_ = value; } onChanged(); } else { disturbSettingBuilder_.mergeFrom(value); } bitField0_ |= 0x00004000; return this; } /** * optional .wechat_proto.DisturbSetting disturbSetting = 15; */ public Builder clearDisturbSetting() { if (disturbSettingBuilder_ == null) { disturbSetting_ = null; onChanged(); } else { disturbSettingBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00004000); return this; } /** * optional .wechat_proto.DisturbSetting disturbSetting = 15; */ public wechat.protobuf.Syncitem.DisturbSetting.Builder getDisturbSettingBuilder() { bitField0_ |= 0x00004000; onChanged(); return getDisturbSettingFieldBuilder().getBuilder(); } /** * optional .wechat_proto.DisturbSetting disturbSetting = 15; */ public wechat.protobuf.Syncitem.DisturbSettingOrBuilder getDisturbSettingOrBuilder() { if (disturbSettingBuilder_ != null) { return disturbSettingBuilder_.getMessageOrBuilder(); } else { return disturbSetting_ == null ? wechat.protobuf.Syncitem.DisturbSetting.getDefaultInstance() : disturbSetting_; } } /** * optional .wechat_proto.DisturbSetting disturbSetting = 15; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.DisturbSetting, wechat.protobuf.Syncitem.DisturbSetting.Builder, wechat.protobuf.Syncitem.DisturbSettingOrBuilder> getDisturbSettingFieldBuilder() { if (disturbSettingBuilder_ == null) { disturbSettingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.DisturbSetting, wechat.protobuf.Syncitem.DisturbSetting.Builder, wechat.protobuf.Syncitem.DisturbSettingOrBuilder>( getDisturbSetting(), getParentForChildren(), isClean()); disturbSetting_ = null; } return disturbSettingBuilder_; } private int pluginFlag_ ; /** * optional uint32 pluginFlag = 16; * @return Whether the pluginFlag field is set. */ @java.lang.Override public boolean hasPluginFlag() { return ((bitField0_ & 0x00008000) != 0); } /** * optional uint32 pluginFlag = 16; * @return The pluginFlag. */ @java.lang.Override public int getPluginFlag() { return pluginFlag_; } /** * optional uint32 pluginFlag = 16; * @param value The pluginFlag to set. * @return This builder for chaining. */ public Builder setPluginFlag(int value) { bitField0_ |= 0x00008000; pluginFlag_ = value; onChanged(); return this; } /** * optional uint32 pluginFlag = 16; * @return This builder for chaining. */ public Builder clearPluginFlag() { bitField0_ = (bitField0_ & ~0x00008000); pluginFlag_ = 0; onChanged(); return this; } private int verifyFlag_ ; /** * optional uint32 verifyFlag = 17; * @return Whether the verifyFlag field is set. */ @java.lang.Override public boolean hasVerifyFlag() { return ((bitField0_ & 0x00010000) != 0); } /** * optional uint32 verifyFlag = 17; * @return The verifyFlag. */ @java.lang.Override public int getVerifyFlag() { return verifyFlag_; } /** * optional uint32 verifyFlag = 17; * @param value The verifyFlag to set. * @return This builder for chaining. */ public Builder setVerifyFlag(int value) { bitField0_ |= 0x00010000; verifyFlag_ = value; onChanged(); return this; } /** * optional uint32 verifyFlag = 17; * @return This builder for chaining. */ public Builder clearVerifyFlag() { bitField0_ = (bitField0_ & ~0x00010000); verifyFlag_ = 0; onChanged(); return this; } private java.lang.Object verifyInfo_ = ""; /** * optional string verifyInfo = 18; * @return Whether the verifyInfo field is set. */ public boolean hasVerifyInfo() { return ((bitField0_ & 0x00020000) != 0); } /** * optional string verifyInfo = 18; * @return The verifyInfo. */ public java.lang.String getVerifyInfo() { java.lang.Object ref = verifyInfo_; 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()) { verifyInfo_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string verifyInfo = 18; * @return The bytes for verifyInfo. */ public com.google.protobuf.ByteString getVerifyInfoBytes() { java.lang.Object ref = verifyInfo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); verifyInfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string verifyInfo = 18; * @param value The verifyInfo to set. * @return This builder for chaining. */ public Builder setVerifyInfo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00020000; verifyInfo_ = value; onChanged(); return this; } /** * optional string verifyInfo = 18; * @return This builder for chaining. */ public Builder clearVerifyInfo() { bitField0_ = (bitField0_ & ~0x00020000); verifyInfo_ = getDefaultInstance().getVerifyInfo(); onChanged(); return this; } /** * optional string verifyInfo = 18; * @param value The bytes for verifyInfo to set. * @return This builder for chaining. */ public Builder setVerifyInfoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00020000; verifyInfo_ = value; onChanged(); return this; } private int point_ ; /** * optional uint32 point = 19; * @return Whether the point field is set. */ @java.lang.Override public boolean hasPoint() { return ((bitField0_ & 0x00040000) != 0); } /** * optional uint32 point = 19; * @return The point. */ @java.lang.Override public int getPoint() { return point_; } /** * optional uint32 point = 19; * @param value The point to set. * @return This builder for chaining. */ public Builder setPoint(int value) { bitField0_ |= 0x00040000; point_ = value; onChanged(); return this; } /** * optional uint32 point = 19; * @return This builder for chaining. */ public Builder clearPoint() { bitField0_ = (bitField0_ & ~0x00040000); point_ = 0; onChanged(); return this; } private int experience_ ; /** * optional uint32 experience = 20; * @return Whether the experience field is set. */ @java.lang.Override public boolean hasExperience() { return ((bitField0_ & 0x00080000) != 0); } /** * optional uint32 experience = 20; * @return The experience. */ @java.lang.Override public int getExperience() { return experience_; } /** * optional uint32 experience = 20; * @param value The experience to set. * @return This builder for chaining. */ public Builder setExperience(int value) { bitField0_ |= 0x00080000; experience_ = value; onChanged(); return this; } /** * optional uint32 experience = 20; * @return This builder for chaining. */ public Builder clearExperience() { bitField0_ = (bitField0_ & ~0x00080000); experience_ = 0; onChanged(); return this; } private int level_ ; /** * optional uint32 level = 21; * @return Whether the level field is set. */ @java.lang.Override public boolean hasLevel() { return ((bitField0_ & 0x00100000) != 0); } /** * optional uint32 level = 21; * @return The level. */ @java.lang.Override public int getLevel() { return level_; } /** * optional uint32 level = 21; * @param value The level to set. * @return This builder for chaining. */ public Builder setLevel(int value) { bitField0_ |= 0x00100000; level_ = value; onChanged(); return this; } /** * optional uint32 level = 21; * @return This builder for chaining. */ public Builder clearLevel() { bitField0_ = (bitField0_ & ~0x00100000); level_ = 0; onChanged(); return this; } private int levelLowExp_ ; /** * optional uint32 levelLowExp = 22; * @return Whether the levelLowExp field is set. */ @java.lang.Override public boolean hasLevelLowExp() { return ((bitField0_ & 0x00200000) != 0); } /** * optional uint32 levelLowExp = 22; * @return The levelLowExp. */ @java.lang.Override public int getLevelLowExp() { return levelLowExp_; } /** * optional uint32 levelLowExp = 22; * @param value The levelLowExp to set. * @return This builder for chaining. */ public Builder setLevelLowExp(int value) { bitField0_ |= 0x00200000; levelLowExp_ = value; onChanged(); return this; } /** * optional uint32 levelLowExp = 22; * @return This builder for chaining. */ public Builder clearLevelLowExp() { bitField0_ = (bitField0_ & ~0x00200000); levelLowExp_ = 0; onChanged(); return this; } private int levelHighExp_ ; /** * optional uint32 levelHighExp = 23; * @return Whether the levelHighExp field is set. */ @java.lang.Override public boolean hasLevelHighExp() { return ((bitField0_ & 0x00400000) != 0); } /** * optional uint32 levelHighExp = 23; * @return The levelHighExp. */ @java.lang.Override public int getLevelHighExp() { return levelHighExp_; } /** * optional uint32 levelHighExp = 23; * @param value The levelHighExp to set. * @return This builder for chaining. */ public Builder setLevelHighExp(int value) { bitField0_ |= 0x00400000; levelHighExp_ = value; onChanged(); return this; } /** * optional uint32 levelHighExp = 23; * @return This builder for chaining. */ public Builder clearLevelHighExp() { bitField0_ = (bitField0_ & ~0x00400000); levelHighExp_ = 0; onChanged(); return this; } private java.lang.Object weibo_ = ""; /** * optional string weibo = 24; * @return Whether the weibo field is set. */ public boolean hasWeibo() { return ((bitField0_ & 0x00800000) != 0); } /** * optional string weibo = 24; * @return The weibo. */ public java.lang.String getWeibo() { java.lang.Object ref = weibo_; 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()) { weibo_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string weibo = 24; * @return The bytes for weibo. */ public com.google.protobuf.ByteString getWeiboBytes() { java.lang.Object ref = weibo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); weibo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string weibo = 24; * @param value The weibo to set. * @return This builder for chaining. */ public Builder setWeibo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00800000; weibo_ = value; onChanged(); return this; } /** * optional string weibo = 24; * @return This builder for chaining. */ public Builder clearWeibo() { bitField0_ = (bitField0_ & ~0x00800000); weibo_ = getDefaultInstance().getWeibo(); onChanged(); return this; } /** * optional string weibo = 24; * @param value The bytes for weibo to set. * @return This builder for chaining. */ public Builder setWeiboBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00800000; weibo_ = value; onChanged(); return this; } private int pluginSwitch_ ; /** * optional uint32 pluginSwitch = 25; * @return Whether the pluginSwitch field is set. */ @java.lang.Override public boolean hasPluginSwitch() { return ((bitField0_ & 0x01000000) != 0); } /** * optional uint32 pluginSwitch = 25; * @return The pluginSwitch. */ @java.lang.Override public int getPluginSwitch() { return pluginSwitch_; } /** * optional uint32 pluginSwitch = 25; * @param value The pluginSwitch to set. * @return This builder for chaining. */ public Builder setPluginSwitch(int value) { bitField0_ |= 0x01000000; pluginSwitch_ = value; onChanged(); return this; } /** * optional uint32 pluginSwitch = 25; * @return This builder for chaining. */ public Builder clearPluginSwitch() { bitField0_ = (bitField0_ & ~0x01000000); pluginSwitch_ = 0; onChanged(); return this; } private wechat.protobuf.Syncitem.GmailList gmailList_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.GmailList, wechat.protobuf.Syncitem.GmailList.Builder, wechat.protobuf.Syncitem.GmailListOrBuilder> gmailListBuilder_; /** * optional .wechat_proto.GmailList gmailList = 26; * @return Whether the gmailList field is set. */ public boolean hasGmailList() { return ((bitField0_ & 0x02000000) != 0); } /** * optional .wechat_proto.GmailList gmailList = 26; * @return The gmailList. */ public wechat.protobuf.Syncitem.GmailList getGmailList() { if (gmailListBuilder_ == null) { return gmailList_ == null ? wechat.protobuf.Syncitem.GmailList.getDefaultInstance() : gmailList_; } else { return gmailListBuilder_.getMessage(); } } /** * optional .wechat_proto.GmailList gmailList = 26; */ public Builder setGmailList(wechat.protobuf.Syncitem.GmailList value) { if (gmailListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } gmailList_ = value; onChanged(); } else { gmailListBuilder_.setMessage(value); } bitField0_ |= 0x02000000; return this; } /** * optional .wechat_proto.GmailList gmailList = 26; */ public Builder setGmailList( wechat.protobuf.Syncitem.GmailList.Builder builderForValue) { if (gmailListBuilder_ == null) { gmailList_ = builderForValue.build(); onChanged(); } else { gmailListBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x02000000; return this; } /** * optional .wechat_proto.GmailList gmailList = 26; */ public Builder mergeGmailList(wechat.protobuf.Syncitem.GmailList value) { if (gmailListBuilder_ == null) { if (((bitField0_ & 0x02000000) != 0) && gmailList_ != null && gmailList_ != wechat.protobuf.Syncitem.GmailList.getDefaultInstance()) { gmailList_ = wechat.protobuf.Syncitem.GmailList.newBuilder(gmailList_).mergeFrom(value).buildPartial(); } else { gmailList_ = value; } onChanged(); } else { gmailListBuilder_.mergeFrom(value); } bitField0_ |= 0x02000000; return this; } /** * optional .wechat_proto.GmailList gmailList = 26; */ public Builder clearGmailList() { if (gmailListBuilder_ == null) { gmailList_ = null; onChanged(); } else { gmailListBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x02000000); return this; } /** * optional .wechat_proto.GmailList gmailList = 26; */ public wechat.protobuf.Syncitem.GmailList.Builder getGmailListBuilder() { bitField0_ |= 0x02000000; onChanged(); return getGmailListFieldBuilder().getBuilder(); } /** * optional .wechat_proto.GmailList gmailList = 26; */ public wechat.protobuf.Syncitem.GmailListOrBuilder getGmailListOrBuilder() { if (gmailListBuilder_ != null) { return gmailListBuilder_.getMessageOrBuilder(); } else { return gmailList_ == null ? wechat.protobuf.Syncitem.GmailList.getDefaultInstance() : gmailList_; } } /** * optional .wechat_proto.GmailList gmailList = 26; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.GmailList, wechat.protobuf.Syncitem.GmailList.Builder, wechat.protobuf.Syncitem.GmailListOrBuilder> getGmailListFieldBuilder() { if (gmailListBuilder_ == null) { gmailListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.GmailList, wechat.protobuf.Syncitem.GmailList.Builder, wechat.protobuf.Syncitem.GmailListOrBuilder>( getGmailList(), getParentForChildren(), isClean()); gmailList_ = null; } return gmailListBuilder_; } private java.lang.Object alias_ = ""; /** * optional string alias = 27; * @return Whether the alias field is set. */ public boolean hasAlias() { return ((bitField0_ & 0x04000000) != 0); } /** * optional string alias = 27; * @return The alias. */ public java.lang.String getAlias() { java.lang.Object ref = alias_; 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()) { alias_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string alias = 27; * @return The bytes for alias. */ public com.google.protobuf.ByteString getAliasBytes() { java.lang.Object ref = alias_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); alias_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string alias = 27; * @param value The alias to set. * @return This builder for chaining. */ public Builder setAlias( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x04000000; alias_ = value; onChanged(); return this; } /** * optional string alias = 27; * @return This builder for chaining. */ public Builder clearAlias() { bitField0_ = (bitField0_ & ~0x04000000); alias_ = getDefaultInstance().getAlias(); onChanged(); return this; } /** * optional string alias = 27; * @param value The bytes for alias to set. * @return This builder for chaining. */ public Builder setAliasBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x04000000; alias_ = value; onChanged(); return this; } private java.lang.Object weiboNickname_ = ""; /** * optional string weiboNickname = 28; * @return Whether the weiboNickname field is set. */ public boolean hasWeiboNickname() { return ((bitField0_ & 0x08000000) != 0); } /** * optional string weiboNickname = 28; * @return The weiboNickname. */ public java.lang.String getWeiboNickname() { java.lang.Object ref = weiboNickname_; 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()) { weiboNickname_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string weiboNickname = 28; * @return The bytes for weiboNickname. */ public com.google.protobuf.ByteString getWeiboNicknameBytes() { java.lang.Object ref = weiboNickname_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); weiboNickname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string weiboNickname = 28; * @param value The weiboNickname to set. * @return This builder for chaining. */ public Builder setWeiboNickname( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x08000000; weiboNickname_ = value; onChanged(); return this; } /** * optional string weiboNickname = 28; * @return This builder for chaining. */ public Builder clearWeiboNickname() { bitField0_ = (bitField0_ & ~0x08000000); weiboNickname_ = getDefaultInstance().getWeiboNickname(); onChanged(); return this; } /** * optional string weiboNickname = 28; * @param value The bytes for weiboNickname to set. * @return This builder for chaining. */ public Builder setWeiboNicknameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x08000000; weiboNickname_ = value; onChanged(); return this; } private int weiboFlag_ ; /** * optional uint32 weiboFlag = 29; * @return Whether the weiboFlag field is set. */ @java.lang.Override public boolean hasWeiboFlag() { return ((bitField0_ & 0x10000000) != 0); } /** * optional uint32 weiboFlag = 29; * @return The weiboFlag. */ @java.lang.Override public int getWeiboFlag() { return weiboFlag_; } /** * optional uint32 weiboFlag = 29; * @param value The weiboFlag to set. * @return This builder for chaining. */ public Builder setWeiboFlag(int value) { bitField0_ |= 0x10000000; weiboFlag_ = value; onChanged(); return this; } /** * optional uint32 weiboFlag = 29; * @return This builder for chaining. */ public Builder clearWeiboFlag() { bitField0_ = (bitField0_ & ~0x10000000); weiboFlag_ = 0; onChanged(); return this; } private int faceBookFlag_ ; /** * optional uint32 faceBookFlag = 30; * @return Whether the faceBookFlag field is set. */ @java.lang.Override public boolean hasFaceBookFlag() { return ((bitField0_ & 0x20000000) != 0); } /** * optional uint32 faceBookFlag = 30; * @return The faceBookFlag. */ @java.lang.Override public int getFaceBookFlag() { return faceBookFlag_; } /** * optional uint32 faceBookFlag = 30; * @param value The faceBookFlag to set. * @return This builder for chaining. */ public Builder setFaceBookFlag(int value) { bitField0_ |= 0x20000000; faceBookFlag_ = value; onChanged(); return this; } /** * optional uint32 faceBookFlag = 30; * @return This builder for chaining. */ public Builder clearFaceBookFlag() { bitField0_ = (bitField0_ & ~0x20000000); faceBookFlag_ = 0; onChanged(); return this; } private long fbuserId_ ; /** * optional int64 fbuserId = 31; * @return Whether the fbuserId field is set. */ @java.lang.Override public boolean hasFbuserId() { return ((bitField0_ & 0x40000000) != 0); } /** * optional int64 fbuserId = 31; * @return The fbuserId. */ @java.lang.Override public long getFbuserId() { return fbuserId_; } /** * optional int64 fbuserId = 31; * @param value The fbuserId to set. * @return This builder for chaining. */ public Builder setFbuserId(long value) { bitField0_ |= 0x40000000; fbuserId_ = value; onChanged(); return this; } /** * optional int64 fbuserId = 31; * @return This builder for chaining. */ public Builder clearFbuserId() { bitField0_ = (bitField0_ & ~0x40000000); fbuserId_ = 0L; onChanged(); return this; } private java.lang.Object fbuserName_ = ""; /** * optional string fbuserName = 32; * @return Whether the fbuserName field is set. */ public boolean hasFbuserName() { return ((bitField0_ & 0x80000000) != 0); } /** * optional string fbuserName = 32; * @return The fbuserName. */ public java.lang.String getFbuserName() { java.lang.Object ref = fbuserName_; 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()) { fbuserName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string fbuserName = 32; * @return The bytes for fbuserName. */ public com.google.protobuf.ByteString getFbuserNameBytes() { java.lang.Object ref = fbuserName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fbuserName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string fbuserName = 32; * @param value The fbuserName to set. * @return This builder for chaining. */ public Builder setFbuserName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x80000000; fbuserName_ = value; onChanged(); return this; } /** * optional string fbuserName = 32; * @return This builder for chaining. */ public Builder clearFbuserName() { bitField0_ = (bitField0_ & ~0x80000000); fbuserName_ = getDefaultInstance().getFbuserName(); onChanged(); return this; } /** * optional string fbuserName = 32; * @param value The bytes for fbuserName to set. * @return This builder for chaining. */ public Builder setFbuserNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x80000000; fbuserName_ = value; onChanged(); return this; } private int albumStyle_ ; /** * optional uint32 albumStyle = 33; * @return Whether the albumStyle field is set. */ @java.lang.Override public boolean hasAlbumStyle() { return ((bitField1_ & 0x00000001) != 0); } /** * optional uint32 albumStyle = 33; * @return The albumStyle. */ @java.lang.Override public int getAlbumStyle() { return albumStyle_; } /** * optional uint32 albumStyle = 33; * @param value The albumStyle to set. * @return This builder for chaining. */ public Builder setAlbumStyle(int value) { bitField1_ |= 0x00000001; albumStyle_ = value; onChanged(); return this; } /** * optional uint32 albumStyle = 33; * @return This builder for chaining. */ public Builder clearAlbumStyle() { bitField1_ = (bitField1_ & ~0x00000001); albumStyle_ = 0; onChanged(); return this; } private int albumFlag_ ; /** * optional uint32 albumFlag = 34; * @return Whether the albumFlag field is set. */ @java.lang.Override public boolean hasAlbumFlag() { return ((bitField1_ & 0x00000002) != 0); } /** * optional uint32 albumFlag = 34; * @return The albumFlag. */ @java.lang.Override public int getAlbumFlag() { return albumFlag_; } /** * optional uint32 albumFlag = 34; * @param value The albumFlag to set. * @return This builder for chaining. */ public Builder setAlbumFlag(int value) { bitField1_ |= 0x00000002; albumFlag_ = value; onChanged(); return this; } /** * optional uint32 albumFlag = 34; * @return This builder for chaining. */ public Builder clearAlbumFlag() { bitField1_ = (bitField1_ & ~0x00000002); albumFlag_ = 0; onChanged(); return this; } private java.lang.Object albumBgimgId_ = ""; /** * optional string albumBgimgId = 35; * @return Whether the albumBgimgId field is set. */ public boolean hasAlbumBgimgId() { return ((bitField1_ & 0x00000004) != 0); } /** * optional string albumBgimgId = 35; * @return The albumBgimgId. */ public java.lang.String getAlbumBgimgId() { java.lang.Object ref = albumBgimgId_; 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()) { albumBgimgId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string albumBgimgId = 35; * @return The bytes for albumBgimgId. */ public com.google.protobuf.ByteString getAlbumBgimgIdBytes() { java.lang.Object ref = albumBgimgId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); albumBgimgId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string albumBgimgId = 35; * @param value The albumBgimgId to set. * @return This builder for chaining. */ public Builder setAlbumBgimgId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000004; albumBgimgId_ = value; onChanged(); return this; } /** * optional string albumBgimgId = 35; * @return This builder for chaining. */ public Builder clearAlbumBgimgId() { bitField1_ = (bitField1_ & ~0x00000004); albumBgimgId_ = getDefaultInstance().getAlbumBgimgId(); onChanged(); return this; } /** * optional string albumBgimgId = 35; * @param value The bytes for albumBgimgId to set. * @return This builder for chaining. */ public Builder setAlbumBgimgIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000004; albumBgimgId_ = value; onChanged(); return this; } private int txnewsCategory_ ; /** * optional uint32 txnewsCategory = 36; * @return Whether the txnewsCategory field is set. */ @java.lang.Override public boolean hasTxnewsCategory() { return ((bitField1_ & 0x00000008) != 0); } /** * optional uint32 txnewsCategory = 36; * @return The txnewsCategory. */ @java.lang.Override public int getTxnewsCategory() { return txnewsCategory_; } /** * optional uint32 txnewsCategory = 36; * @param value The txnewsCategory to set. * @return This builder for chaining. */ public Builder setTxnewsCategory(int value) { bitField1_ |= 0x00000008; txnewsCategory_ = value; onChanged(); return this; } /** * optional uint32 txnewsCategory = 36; * @return This builder for chaining. */ public Builder clearTxnewsCategory() { bitField1_ = (bitField1_ & ~0x00000008); txnewsCategory_ = 0; onChanged(); return this; } private java.lang.Object fbtoken_ = ""; /** * optional string fbtoken = 37; * @return Whether the fbtoken field is set. */ public boolean hasFbtoken() { return ((bitField1_ & 0x00000010) != 0); } /** * optional string fbtoken = 37; * @return The fbtoken. */ public java.lang.String getFbtoken() { java.lang.Object ref = fbtoken_; 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()) { fbtoken_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string fbtoken = 37; * @return The bytes for fbtoken. */ public com.google.protobuf.ByteString getFbtokenBytes() { java.lang.Object ref = fbtoken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fbtoken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string fbtoken = 37; * @param value The fbtoken to set. * @return This builder for chaining. */ public Builder setFbtoken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000010; fbtoken_ = value; onChanged(); return this; } /** * optional string fbtoken = 37; * @return This builder for chaining. */ public Builder clearFbtoken() { bitField1_ = (bitField1_ & ~0x00000010); fbtoken_ = getDefaultInstance().getFbtoken(); onChanged(); return this; } /** * optional string fbtoken = 37; * @param value The bytes for fbtoken to set. * @return This builder for chaining. */ public Builder setFbtokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000010; fbtoken_ = value; onChanged(); return this; } private java.lang.Object country_ = ""; /** * optional string country = 38; * @return Whether the country field is set. */ public boolean hasCountry() { return ((bitField1_ & 0x00000020) != 0); } /** * optional string country = 38; * @return The country. */ public java.lang.String getCountry() { java.lang.Object ref = country_; 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()) { country_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string country = 38; * @return The bytes for country. */ public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string country = 38; * @param value The country to set. * @return This builder for chaining. */ public Builder setCountry( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000020; country_ = value; onChanged(); return this; } /** * optional string country = 38; * @return This builder for chaining. */ public Builder clearCountry() { bitField1_ = (bitField1_ & ~0x00000020); country_ = getDefaultInstance().getCountry(); onChanged(); return this; } /** * optional string country = 38; * @param value The bytes for country to set. * @return This builder for chaining. */ public Builder setCountryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField1_ |= 0x00000020; country_ = 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.ModUserInfo) } // @@protoc_insertion_point(class_scope:wechat_proto.ModUserInfo) private static final wechat.protobuf.Syncitem.ModUserInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.ModUserInfo(); } public static wechat.protobuf.Syncitem.ModUserInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ModUserInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ModUserInfo(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.Syncitem.ModUserInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DisturbSettingOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.DisturbSetting) com.google.protobuf.MessageOrBuilder { /** * optional uint32 nightSetting = 1; * @return Whether the nightSetting field is set. */ boolean hasNightSetting(); /** * optional uint32 nightSetting = 1; * @return The nightSetting. */ int getNightSetting(); /** * optional .wechat_proto.DisturbTimeSpan nightTime = 2; * @return Whether the nightTime field is set. */ boolean hasNightTime(); /** * optional .wechat_proto.DisturbTimeSpan nightTime = 2; * @return The nightTime. */ wechat.protobuf.Syncitem.DisturbTimeSpan getNightTime(); /** * optional .wechat_proto.DisturbTimeSpan nightTime = 2; */ wechat.protobuf.Syncitem.DisturbTimeSpanOrBuilder getNightTimeOrBuilder(); /** * optional uint32 allDaySetting = 3; * @return Whether the allDaySetting field is set. */ boolean hasAllDaySetting(); /** * optional uint32 allDaySetting = 3; * @return The allDaySetting. */ int getAllDaySetting(); /** * optional .wechat_proto.DisturbTimeSpan allDayTime = 4; * @return Whether the allDayTime field is set. */ boolean hasAllDayTime(); /** * optional .wechat_proto.DisturbTimeSpan allDayTime = 4; * @return The allDayTime. */ wechat.protobuf.Syncitem.DisturbTimeSpan getAllDayTime(); /** * optional .wechat_proto.DisturbTimeSpan allDayTime = 4; */ wechat.protobuf.Syncitem.DisturbTimeSpanOrBuilder getAllDayTimeOrBuilder(); } /** * Protobuf type {@code wechat_proto.DisturbSetting} */ public static final class DisturbSetting extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.DisturbSetting) DisturbSettingOrBuilder { private static final long serialVersionUID = 0L; // Use DisturbSetting.newBuilder() to construct. private DisturbSetting(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DisturbSetting() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DisturbSetting(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DisturbSetting( 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; nightSetting_ = input.readUInt32(); break; } case 18: { wechat.protobuf.Syncitem.DisturbTimeSpan.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = nightTime_.toBuilder(); } nightTime_ = input.readMessage(wechat.protobuf.Syncitem.DisturbTimeSpan.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(nightTime_); nightTime_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 24: { bitField0_ |= 0x00000004; allDaySetting_ = input.readUInt32(); break; } case 34: { wechat.protobuf.Syncitem.DisturbTimeSpan.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = allDayTime_.toBuilder(); } allDayTime_ = input.readMessage(wechat.protobuf.Syncitem.DisturbTimeSpan.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(allDayTime_); allDayTime_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; 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.Syncitem.internal_static_wechat_proto_DisturbSetting_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DisturbSetting_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.DisturbSetting.class, wechat.protobuf.Syncitem.DisturbSetting.Builder.class); } private int bitField0_; public static final int NIGHTSETTING_FIELD_NUMBER = 1; private int nightSetting_; /** * optional uint32 nightSetting = 1; * @return Whether the nightSetting field is set. */ @java.lang.Override public boolean hasNightSetting() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 nightSetting = 1; * @return The nightSetting. */ @java.lang.Override public int getNightSetting() { return nightSetting_; } public static final int NIGHTTIME_FIELD_NUMBER = 2; private wechat.protobuf.Syncitem.DisturbTimeSpan nightTime_; /** * optional .wechat_proto.DisturbTimeSpan nightTime = 2; * @return Whether the nightTime field is set. */ @java.lang.Override public boolean hasNightTime() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.DisturbTimeSpan nightTime = 2; * @return The nightTime. */ @java.lang.Override public wechat.protobuf.Syncitem.DisturbTimeSpan getNightTime() { return nightTime_ == null ? wechat.protobuf.Syncitem.DisturbTimeSpan.getDefaultInstance() : nightTime_; } /** * optional .wechat_proto.DisturbTimeSpan nightTime = 2; */ @java.lang.Override public wechat.protobuf.Syncitem.DisturbTimeSpanOrBuilder getNightTimeOrBuilder() { return nightTime_ == null ? wechat.protobuf.Syncitem.DisturbTimeSpan.getDefaultInstance() : nightTime_; } public static final int ALLDAYSETTING_FIELD_NUMBER = 3; private int allDaySetting_; /** * optional uint32 allDaySetting = 3; * @return Whether the allDaySetting field is set. */ @java.lang.Override public boolean hasAllDaySetting() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 allDaySetting = 3; * @return The allDaySetting. */ @java.lang.Override public int getAllDaySetting() { return allDaySetting_; } public static final int ALLDAYTIME_FIELD_NUMBER = 4; private wechat.protobuf.Syncitem.DisturbTimeSpan allDayTime_; /** * optional .wechat_proto.DisturbTimeSpan allDayTime = 4; * @return Whether the allDayTime field is set. */ @java.lang.Override public boolean hasAllDayTime() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .wechat_proto.DisturbTimeSpan allDayTime = 4; * @return The allDayTime. */ @java.lang.Override public wechat.protobuf.Syncitem.DisturbTimeSpan getAllDayTime() { return allDayTime_ == null ? wechat.protobuf.Syncitem.DisturbTimeSpan.getDefaultInstance() : allDayTime_; } /** * optional .wechat_proto.DisturbTimeSpan allDayTime = 4; */ @java.lang.Override public wechat.protobuf.Syncitem.DisturbTimeSpanOrBuilder getAllDayTimeOrBuilder() { return allDayTime_ == null ? wechat.protobuf.Syncitem.DisturbTimeSpan.getDefaultInstance() : allDayTime_; } 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, nightSetting_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getNightTime()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, allDaySetting_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getAllDayTime()); } 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, nightSetting_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getNightTime()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, allDaySetting_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getAllDayTime()); } 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.Syncitem.DisturbSetting)) { return super.equals(obj); } wechat.protobuf.Syncitem.DisturbSetting other = (wechat.protobuf.Syncitem.DisturbSetting) obj; if (hasNightSetting() != other.hasNightSetting()) return false; if (hasNightSetting()) { if (getNightSetting() != other.getNightSetting()) return false; } if (hasNightTime() != other.hasNightTime()) return false; if (hasNightTime()) { if (!getNightTime() .equals(other.getNightTime())) return false; } if (hasAllDaySetting() != other.hasAllDaySetting()) return false; if (hasAllDaySetting()) { if (getAllDaySetting() != other.getAllDaySetting()) return false; } if (hasAllDayTime() != other.hasAllDayTime()) return false; if (hasAllDayTime()) { if (!getAllDayTime() .equals(other.getAllDayTime())) 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 (hasNightSetting()) { hash = (37 * hash) + NIGHTSETTING_FIELD_NUMBER; hash = (53 * hash) + getNightSetting(); } if (hasNightTime()) { hash = (37 * hash) + NIGHTTIME_FIELD_NUMBER; hash = (53 * hash) + getNightTime().hashCode(); } if (hasAllDaySetting()) { hash = (37 * hash) + ALLDAYSETTING_FIELD_NUMBER; hash = (53 * hash) + getAllDaySetting(); } if (hasAllDayTime()) { hash = (37 * hash) + ALLDAYTIME_FIELD_NUMBER; hash = (53 * hash) + getAllDayTime().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.DisturbSetting parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.DisturbSetting parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.DisturbSetting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.DisturbSetting 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.Syncitem.DisturbSetting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.DisturbSetting parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.DisturbSetting parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.DisturbSetting 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.Syncitem.DisturbSetting parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.DisturbSetting 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.Syncitem.DisturbSetting parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.DisturbSetting 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.Syncitem.DisturbSetting 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.DisturbSetting} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.DisturbSetting) wechat.protobuf.Syncitem.DisturbSettingOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DisturbSetting_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DisturbSetting_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.DisturbSetting.class, wechat.protobuf.Syncitem.DisturbSetting.Builder.class); } // Construct using wechat.protobuf.Syncitem.DisturbSetting.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getNightTimeFieldBuilder(); getAllDayTimeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); nightSetting_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (nightTimeBuilder_ == null) { nightTime_ = null; } else { nightTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); allDaySetting_ = 0; bitField0_ = (bitField0_ & ~0x00000004); if (allDayTimeBuilder_ == null) { allDayTime_ = null; } else { allDayTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DisturbSetting_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.DisturbSetting getDefaultInstanceForType() { return wechat.protobuf.Syncitem.DisturbSetting.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.DisturbSetting build() { wechat.protobuf.Syncitem.DisturbSetting result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.DisturbSetting buildPartial() { wechat.protobuf.Syncitem.DisturbSetting result = new wechat.protobuf.Syncitem.DisturbSetting(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.nightSetting_ = nightSetting_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (nightTimeBuilder_ == null) { result.nightTime_ = nightTime_; } else { result.nightTime_ = nightTimeBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.allDaySetting_ = allDaySetting_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (allDayTimeBuilder_ == null) { result.allDayTime_ = allDayTime_; } else { result.allDayTime_ = allDayTimeBuilder_.build(); } 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.Syncitem.DisturbSetting) { return mergeFrom((wechat.protobuf.Syncitem.DisturbSetting)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.DisturbSetting other) { if (other == wechat.protobuf.Syncitem.DisturbSetting.getDefaultInstance()) return this; if (other.hasNightSetting()) { setNightSetting(other.getNightSetting()); } if (other.hasNightTime()) { mergeNightTime(other.getNightTime()); } if (other.hasAllDaySetting()) { setAllDaySetting(other.getAllDaySetting()); } if (other.hasAllDayTime()) { mergeAllDayTime(other.getAllDayTime()); } 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.Syncitem.DisturbSetting parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.DisturbSetting) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int nightSetting_ ; /** * optional uint32 nightSetting = 1; * @return Whether the nightSetting field is set. */ @java.lang.Override public boolean hasNightSetting() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 nightSetting = 1; * @return The nightSetting. */ @java.lang.Override public int getNightSetting() { return nightSetting_; } /** * optional uint32 nightSetting = 1; * @param value The nightSetting to set. * @return This builder for chaining. */ public Builder setNightSetting(int value) { bitField0_ |= 0x00000001; nightSetting_ = value; onChanged(); return this; } /** * optional uint32 nightSetting = 1; * @return This builder for chaining. */ public Builder clearNightSetting() { bitField0_ = (bitField0_ & ~0x00000001); nightSetting_ = 0; onChanged(); return this; } private wechat.protobuf.Syncitem.DisturbTimeSpan nightTime_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.DisturbTimeSpan, wechat.protobuf.Syncitem.DisturbTimeSpan.Builder, wechat.protobuf.Syncitem.DisturbTimeSpanOrBuilder> nightTimeBuilder_; /** * optional .wechat_proto.DisturbTimeSpan nightTime = 2; * @return Whether the nightTime field is set. */ public boolean hasNightTime() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.DisturbTimeSpan nightTime = 2; * @return The nightTime. */ public wechat.protobuf.Syncitem.DisturbTimeSpan getNightTime() { if (nightTimeBuilder_ == null) { return nightTime_ == null ? wechat.protobuf.Syncitem.DisturbTimeSpan.getDefaultInstance() : nightTime_; } else { return nightTimeBuilder_.getMessage(); } } /** * optional .wechat_proto.DisturbTimeSpan nightTime = 2; */ public Builder setNightTime(wechat.protobuf.Syncitem.DisturbTimeSpan value) { if (nightTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } nightTime_ = value; onChanged(); } else { nightTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.DisturbTimeSpan nightTime = 2; */ public Builder setNightTime( wechat.protobuf.Syncitem.DisturbTimeSpan.Builder builderForValue) { if (nightTimeBuilder_ == null) { nightTime_ = builderForValue.build(); onChanged(); } else { nightTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.DisturbTimeSpan nightTime = 2; */ public Builder mergeNightTime(wechat.protobuf.Syncitem.DisturbTimeSpan value) { if (nightTimeBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && nightTime_ != null && nightTime_ != wechat.protobuf.Syncitem.DisturbTimeSpan.getDefaultInstance()) { nightTime_ = wechat.protobuf.Syncitem.DisturbTimeSpan.newBuilder(nightTime_).mergeFrom(value).buildPartial(); } else { nightTime_ = value; } onChanged(); } else { nightTimeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.DisturbTimeSpan nightTime = 2; */ public Builder clearNightTime() { if (nightTimeBuilder_ == null) { nightTime_ = null; onChanged(); } else { nightTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.DisturbTimeSpan nightTime = 2; */ public wechat.protobuf.Syncitem.DisturbTimeSpan.Builder getNightTimeBuilder() { bitField0_ |= 0x00000002; onChanged(); return getNightTimeFieldBuilder().getBuilder(); } /** * optional .wechat_proto.DisturbTimeSpan nightTime = 2; */ public wechat.protobuf.Syncitem.DisturbTimeSpanOrBuilder getNightTimeOrBuilder() { if (nightTimeBuilder_ != null) { return nightTimeBuilder_.getMessageOrBuilder(); } else { return nightTime_ == null ? wechat.protobuf.Syncitem.DisturbTimeSpan.getDefaultInstance() : nightTime_; } } /** * optional .wechat_proto.DisturbTimeSpan nightTime = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.DisturbTimeSpan, wechat.protobuf.Syncitem.DisturbTimeSpan.Builder, wechat.protobuf.Syncitem.DisturbTimeSpanOrBuilder> getNightTimeFieldBuilder() { if (nightTimeBuilder_ == null) { nightTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.DisturbTimeSpan, wechat.protobuf.Syncitem.DisturbTimeSpan.Builder, wechat.protobuf.Syncitem.DisturbTimeSpanOrBuilder>( getNightTime(), getParentForChildren(), isClean()); nightTime_ = null; } return nightTimeBuilder_; } private int allDaySetting_ ; /** * optional uint32 allDaySetting = 3; * @return Whether the allDaySetting field is set. */ @java.lang.Override public boolean hasAllDaySetting() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 allDaySetting = 3; * @return The allDaySetting. */ @java.lang.Override public int getAllDaySetting() { return allDaySetting_; } /** * optional uint32 allDaySetting = 3; * @param value The allDaySetting to set. * @return This builder for chaining. */ public Builder setAllDaySetting(int value) { bitField0_ |= 0x00000004; allDaySetting_ = value; onChanged(); return this; } /** * optional uint32 allDaySetting = 3; * @return This builder for chaining. */ public Builder clearAllDaySetting() { bitField0_ = (bitField0_ & ~0x00000004); allDaySetting_ = 0; onChanged(); return this; } private wechat.protobuf.Syncitem.DisturbTimeSpan allDayTime_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.DisturbTimeSpan, wechat.protobuf.Syncitem.DisturbTimeSpan.Builder, wechat.protobuf.Syncitem.DisturbTimeSpanOrBuilder> allDayTimeBuilder_; /** * optional .wechat_proto.DisturbTimeSpan allDayTime = 4; * @return Whether the allDayTime field is set. */ public boolean hasAllDayTime() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .wechat_proto.DisturbTimeSpan allDayTime = 4; * @return The allDayTime. */ public wechat.protobuf.Syncitem.DisturbTimeSpan getAllDayTime() { if (allDayTimeBuilder_ == null) { return allDayTime_ == null ? wechat.protobuf.Syncitem.DisturbTimeSpan.getDefaultInstance() : allDayTime_; } else { return allDayTimeBuilder_.getMessage(); } } /** * optional .wechat_proto.DisturbTimeSpan allDayTime = 4; */ public Builder setAllDayTime(wechat.protobuf.Syncitem.DisturbTimeSpan value) { if (allDayTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } allDayTime_ = value; onChanged(); } else { allDayTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.DisturbTimeSpan allDayTime = 4; */ public Builder setAllDayTime( wechat.protobuf.Syncitem.DisturbTimeSpan.Builder builderForValue) { if (allDayTimeBuilder_ == null) { allDayTime_ = builderForValue.build(); onChanged(); } else { allDayTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.DisturbTimeSpan allDayTime = 4; */ public Builder mergeAllDayTime(wechat.protobuf.Syncitem.DisturbTimeSpan value) { if (allDayTimeBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && allDayTime_ != null && allDayTime_ != wechat.protobuf.Syncitem.DisturbTimeSpan.getDefaultInstance()) { allDayTime_ = wechat.protobuf.Syncitem.DisturbTimeSpan.newBuilder(allDayTime_).mergeFrom(value).buildPartial(); } else { allDayTime_ = value; } onChanged(); } else { allDayTimeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.DisturbTimeSpan allDayTime = 4; */ public Builder clearAllDayTime() { if (allDayTimeBuilder_ == null) { allDayTime_ = null; onChanged(); } else { allDayTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .wechat_proto.DisturbTimeSpan allDayTime = 4; */ public wechat.protobuf.Syncitem.DisturbTimeSpan.Builder getAllDayTimeBuilder() { bitField0_ |= 0x00000008; onChanged(); return getAllDayTimeFieldBuilder().getBuilder(); } /** * optional .wechat_proto.DisturbTimeSpan allDayTime = 4; */ public wechat.protobuf.Syncitem.DisturbTimeSpanOrBuilder getAllDayTimeOrBuilder() { if (allDayTimeBuilder_ != null) { return allDayTimeBuilder_.getMessageOrBuilder(); } else { return allDayTime_ == null ? wechat.protobuf.Syncitem.DisturbTimeSpan.getDefaultInstance() : allDayTime_; } } /** * optional .wechat_proto.DisturbTimeSpan allDayTime = 4; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.DisturbTimeSpan, wechat.protobuf.Syncitem.DisturbTimeSpan.Builder, wechat.protobuf.Syncitem.DisturbTimeSpanOrBuilder> getAllDayTimeFieldBuilder() { if (allDayTimeBuilder_ == null) { allDayTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.DisturbTimeSpan, wechat.protobuf.Syncitem.DisturbTimeSpan.Builder, wechat.protobuf.Syncitem.DisturbTimeSpanOrBuilder>( getAllDayTime(), getParentForChildren(), isClean()); allDayTime_ = null; } return allDayTimeBuilder_; } @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.DisturbSetting) } // @@protoc_insertion_point(class_scope:wechat_proto.DisturbSetting) private static final wechat.protobuf.Syncitem.DisturbSetting DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.DisturbSetting(); } public static wechat.protobuf.Syncitem.DisturbSetting getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DisturbSetting parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DisturbSetting(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.Syncitem.DisturbSetting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DisturbTimeSpanOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.DisturbTimeSpan) com.google.protobuf.MessageOrBuilder { /** * optional uint32 beginTime = 1; * @return Whether the beginTime field is set. */ boolean hasBeginTime(); /** * optional uint32 beginTime = 1; * @return The beginTime. */ int getBeginTime(); /** * optional uint32 endTime = 2; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** * optional uint32 endTime = 2; * @return The endTime. */ int getEndTime(); } /** * Protobuf type {@code wechat_proto.DisturbTimeSpan} */ public static final class DisturbTimeSpan extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.DisturbTimeSpan) DisturbTimeSpanOrBuilder { private static final long serialVersionUID = 0L; // Use DisturbTimeSpan.newBuilder() to construct. private DisturbTimeSpan(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DisturbTimeSpan() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DisturbTimeSpan(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DisturbTimeSpan( 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; beginTime_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; endTime_ = 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.Syncitem.internal_static_wechat_proto_DisturbTimeSpan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DisturbTimeSpan_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.DisturbTimeSpan.class, wechat.protobuf.Syncitem.DisturbTimeSpan.Builder.class); } private int bitField0_; public static final int BEGINTIME_FIELD_NUMBER = 1; private int beginTime_; /** * optional uint32 beginTime = 1; * @return Whether the beginTime field is set. */ @java.lang.Override public boolean hasBeginTime() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 beginTime = 1; * @return The beginTime. */ @java.lang.Override public int getBeginTime() { return beginTime_; } public static final int ENDTIME_FIELD_NUMBER = 2; private int endTime_; /** * optional uint32 endTime = 2; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 endTime = 2; * @return The endTime. */ @java.lang.Override public int getEndTime() { return endTime_; } 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, beginTime_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, endTime_); } 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, beginTime_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, endTime_); } 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.Syncitem.DisturbTimeSpan)) { return super.equals(obj); } wechat.protobuf.Syncitem.DisturbTimeSpan other = (wechat.protobuf.Syncitem.DisturbTimeSpan) obj; if (hasBeginTime() != other.hasBeginTime()) return false; if (hasBeginTime()) { if (getBeginTime() != other.getBeginTime()) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { if (getEndTime() != other.getEndTime()) 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 (hasBeginTime()) { hash = (37 * hash) + BEGINTIME_FIELD_NUMBER; hash = (53 * hash) + getBeginTime(); } if (hasEndTime()) { hash = (37 * hash) + ENDTIME_FIELD_NUMBER; hash = (53 * hash) + getEndTime(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.DisturbTimeSpan parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.DisturbTimeSpan parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.DisturbTimeSpan parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.DisturbTimeSpan 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.Syncitem.DisturbTimeSpan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.DisturbTimeSpan parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.DisturbTimeSpan parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.DisturbTimeSpan 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.Syncitem.DisturbTimeSpan parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.DisturbTimeSpan 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.Syncitem.DisturbTimeSpan parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.DisturbTimeSpan 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.Syncitem.DisturbTimeSpan 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.DisturbTimeSpan} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.DisturbTimeSpan) wechat.protobuf.Syncitem.DisturbTimeSpanOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DisturbTimeSpan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DisturbTimeSpan_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.DisturbTimeSpan.class, wechat.protobuf.Syncitem.DisturbTimeSpan.Builder.class); } // Construct using wechat.protobuf.Syncitem.DisturbTimeSpan.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(); beginTime_ = 0; bitField0_ = (bitField0_ & ~0x00000001); endTime_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DisturbTimeSpan_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.DisturbTimeSpan getDefaultInstanceForType() { return wechat.protobuf.Syncitem.DisturbTimeSpan.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.DisturbTimeSpan build() { wechat.protobuf.Syncitem.DisturbTimeSpan result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.DisturbTimeSpan buildPartial() { wechat.protobuf.Syncitem.DisturbTimeSpan result = new wechat.protobuf.Syncitem.DisturbTimeSpan(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.beginTime_ = beginTime_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.endTime_ = endTime_; 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.Syncitem.DisturbTimeSpan) { return mergeFrom((wechat.protobuf.Syncitem.DisturbTimeSpan)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.DisturbTimeSpan other) { if (other == wechat.protobuf.Syncitem.DisturbTimeSpan.getDefaultInstance()) return this; if (other.hasBeginTime()) { setBeginTime(other.getBeginTime()); } if (other.hasEndTime()) { setEndTime(other.getEndTime()); } 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.Syncitem.DisturbTimeSpan parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.DisturbTimeSpan) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int beginTime_ ; /** * optional uint32 beginTime = 1; * @return Whether the beginTime field is set. */ @java.lang.Override public boolean hasBeginTime() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 beginTime = 1; * @return The beginTime. */ @java.lang.Override public int getBeginTime() { return beginTime_; } /** * optional uint32 beginTime = 1; * @param value The beginTime to set. * @return This builder for chaining. */ public Builder setBeginTime(int value) { bitField0_ |= 0x00000001; beginTime_ = value; onChanged(); return this; } /** * optional uint32 beginTime = 1; * @return This builder for chaining. */ public Builder clearBeginTime() { bitField0_ = (bitField0_ & ~0x00000001); beginTime_ = 0; onChanged(); return this; } private int endTime_ ; /** * optional uint32 endTime = 2; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 endTime = 2; * @return The endTime. */ @java.lang.Override public int getEndTime() { return endTime_; } /** * optional uint32 endTime = 2; * @param value The endTime to set. * @return This builder for chaining. */ public Builder setEndTime(int value) { bitField0_ |= 0x00000002; endTime_ = value; onChanged(); return this; } /** * optional uint32 endTime = 2; * @return This builder for chaining. */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); endTime_ = 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.DisturbTimeSpan) } // @@protoc_insertion_point(class_scope:wechat_proto.DisturbTimeSpan) private static final wechat.protobuf.Syncitem.DisturbTimeSpan DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.DisturbTimeSpan(); } public static wechat.protobuf.Syncitem.DisturbTimeSpan getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DisturbTimeSpan parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DisturbTimeSpan(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.Syncitem.DisturbTimeSpan getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GmailListOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.GmailList) com.google.protobuf.MessageOrBuilder { /** * optional uint32 count = 1; * @return Whether the count field is set. */ boolean hasCount(); /** * optional uint32 count = 1; * @return The count. */ int getCount(); } /** * Protobuf type {@code wechat_proto.GmailList} */ public static final class GmailList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.GmailList) GmailListOrBuilder { private static final long serialVersionUID = 0L; // Use GmailList.newBuilder() to construct. private GmailList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GmailList() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GmailList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GmailList( 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; count_ = 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.Syncitem.internal_static_wechat_proto_GmailList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_GmailList_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.GmailList.class, wechat.protobuf.Syncitem.GmailList.Builder.class); } private int bitField0_; public static final int COUNT_FIELD_NUMBER = 1; private int count_; /** * optional uint32 count = 1; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 count = 1; * @return The count. */ @java.lang.Override public int getCount() { return count_; } 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, count_); } 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, count_); } 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.Syncitem.GmailList)) { return super.equals(obj); } wechat.protobuf.Syncitem.GmailList other = (wechat.protobuf.Syncitem.GmailList) obj; if (hasCount() != other.hasCount()) return false; if (hasCount()) { if (getCount() != other.getCount()) 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 (hasCount()) { hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + getCount(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.GmailList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.GmailList parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.GmailList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.GmailList 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.Syncitem.GmailList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.GmailList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.GmailList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.GmailList 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.Syncitem.GmailList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.GmailList 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.Syncitem.GmailList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.GmailList 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.Syncitem.GmailList 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.GmailList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.GmailList) wechat.protobuf.Syncitem.GmailListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_GmailList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_GmailList_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.GmailList.class, wechat.protobuf.Syncitem.GmailList.Builder.class); } // Construct using wechat.protobuf.Syncitem.GmailList.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(); count_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_GmailList_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.GmailList getDefaultInstanceForType() { return wechat.protobuf.Syncitem.GmailList.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.GmailList build() { wechat.protobuf.Syncitem.GmailList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.GmailList buildPartial() { wechat.protobuf.Syncitem.GmailList result = new wechat.protobuf.Syncitem.GmailList(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.count_ = count_; 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.Syncitem.GmailList) { return mergeFrom((wechat.protobuf.Syncitem.GmailList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.GmailList other) { if (other == wechat.protobuf.Syncitem.GmailList.getDefaultInstance()) return this; if (other.hasCount()) { setCount(other.getCount()); } 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.Syncitem.GmailList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.GmailList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int count_ ; /** * optional uint32 count = 1; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 count = 1; * @return The count. */ @java.lang.Override public int getCount() { return count_; } /** * optional uint32 count = 1; * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(int value) { bitField0_ |= 0x00000001; count_ = value; onChanged(); return this; } /** * optional uint32 count = 1; * @return This builder for chaining. */ public Builder clearCount() { bitField0_ = (bitField0_ & ~0x00000001); count_ = 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.GmailList) } // @@protoc_insertion_point(class_scope:wechat_proto.GmailList) private static final wechat.protobuf.Syncitem.GmailList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.GmailList(); } public static wechat.protobuf.Syncitem.GmailList getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GmailList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GmailList(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.Syncitem.GmailList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DelContactOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.DelContact) com.google.protobuf.MessageOrBuilder { /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return Whether the userName field is set. */ boolean hasUserName(); /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return The userName. */ wechat.protobuf.Wechat.SKBuiltinString getUserName(); /** * optional .wechat_proto.SKBuiltinString userName = 1; */ wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getUserNameOrBuilder(); /** * optional uint32 deleteContactScene = 2; * @return Whether the deleteContactScene field is set. */ boolean hasDeleteContactScene(); /** * optional uint32 deleteContactScene = 2; * @return The deleteContactScene. */ int getDeleteContactScene(); } /** * Protobuf type {@code wechat_proto.DelContact} */ public static final class DelContact extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.DelContact) DelContactOrBuilder { private static final long serialVersionUID = 0L; // Use DelContact.newBuilder() to construct. private DelContact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DelContact() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DelContact(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DelContact( 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.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = userName_.toBuilder(); } userName_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(userName_); userName_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 16: { bitField0_ |= 0x00000002; deleteContactScene_ = 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.Syncitem.internal_static_wechat_proto_DelContact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DelContact_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.DelContact.class, wechat.protobuf.Syncitem.DelContact.Builder.class); } private int bitField0_; public static final int USERNAME_FIELD_NUMBER = 1; private wechat.protobuf.Wechat.SKBuiltinString userName_; /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return Whether the userName field is set. */ @java.lang.Override public boolean hasUserName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return The userName. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getUserName() { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getUserNameOrBuilder() { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } public static final int DELETECONTACTSCENE_FIELD_NUMBER = 2; private int deleteContactScene_; /** * optional uint32 deleteContactScene = 2; * @return Whether the deleteContactScene field is set. */ @java.lang.Override public boolean hasDeleteContactScene() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 deleteContactScene = 2; * @return The deleteContactScene. */ @java.lang.Override public int getDeleteContactScene() { return deleteContactScene_; } 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, getUserName()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, deleteContactScene_); } 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, getUserName()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, deleteContactScene_); } 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.Syncitem.DelContact)) { return super.equals(obj); } wechat.protobuf.Syncitem.DelContact other = (wechat.protobuf.Syncitem.DelContact) obj; if (hasUserName() != other.hasUserName()) return false; if (hasUserName()) { if (!getUserName() .equals(other.getUserName())) return false; } if (hasDeleteContactScene() != other.hasDeleteContactScene()) return false; if (hasDeleteContactScene()) { if (getDeleteContactScene() != other.getDeleteContactScene()) 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 (hasDeleteContactScene()) { hash = (37 * hash) + DELETECONTACTSCENE_FIELD_NUMBER; hash = (53 * hash) + getDeleteContactScene(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.DelContact parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.DelContact parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.DelContact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.DelContact 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.Syncitem.DelContact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.DelContact parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.DelContact parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.DelContact 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.Syncitem.DelContact parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.DelContact 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.Syncitem.DelContact parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.DelContact 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.Syncitem.DelContact 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.DelContact} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.DelContact) wechat.protobuf.Syncitem.DelContactOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DelContact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DelContact_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.DelContact.class, wechat.protobuf.Syncitem.DelContact.Builder.class); } // Construct using wechat.protobuf.Syncitem.DelContact.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUserNameFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (userNameBuilder_ == null) { userName_ = null; } else { userNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); deleteContactScene_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DelContact_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.DelContact getDefaultInstanceForType() { return wechat.protobuf.Syncitem.DelContact.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.DelContact build() { wechat.protobuf.Syncitem.DelContact result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.DelContact buildPartial() { wechat.protobuf.Syncitem.DelContact result = new wechat.protobuf.Syncitem.DelContact(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (userNameBuilder_ == null) { result.userName_ = userName_; } else { result.userName_ = userNameBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.deleteContactScene_ = deleteContactScene_; 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.Syncitem.DelContact) { return mergeFrom((wechat.protobuf.Syncitem.DelContact)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.DelContact other) { if (other == wechat.protobuf.Syncitem.DelContact.getDefaultInstance()) return this; if (other.hasUserName()) { mergeUserName(other.getUserName()); } if (other.hasDeleteContactScene()) { setDeleteContactScene(other.getDeleteContactScene()); } 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.Syncitem.DelContact parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.DelContact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private wechat.protobuf.Wechat.SKBuiltinString userName_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> userNameBuilder_; /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return Whether the userName field is set. */ public boolean hasUserName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return The userName. */ public wechat.protobuf.Wechat.SKBuiltinString getUserName() { if (userNameBuilder_ == null) { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } else { return userNameBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public Builder setUserName(wechat.protobuf.Wechat.SKBuiltinString value) { if (userNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userName_ = value; onChanged(); } else { userNameBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public Builder setUserName( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (userNameBuilder_ == null) { userName_ = builderForValue.build(); onChanged(); } else { userNameBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public Builder mergeUserName(wechat.protobuf.Wechat.SKBuiltinString value) { if (userNameBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && userName_ != null && userName_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { userName_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(userName_).mergeFrom(value).buildPartial(); } else { userName_ = value; } onChanged(); } else { userNameBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public Builder clearUserName() { if (userNameBuilder_ == null) { userName_ = null; onChanged(); } else { userNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getUserNameBuilder() { bitField0_ |= 0x00000001; onChanged(); return getUserNameFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getUserNameOrBuilder() { if (userNameBuilder_ != null) { return userNameBuilder_.getMessageOrBuilder(); } else { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getUserNameFieldBuilder() { if (userNameBuilder_ == null) { userNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getUserName(), getParentForChildren(), isClean()); userName_ = null; } return userNameBuilder_; } private int deleteContactScene_ ; /** * optional uint32 deleteContactScene = 2; * @return Whether the deleteContactScene field is set. */ @java.lang.Override public boolean hasDeleteContactScene() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 deleteContactScene = 2; * @return The deleteContactScene. */ @java.lang.Override public int getDeleteContactScene() { return deleteContactScene_; } /** * optional uint32 deleteContactScene = 2; * @param value The deleteContactScene to set. * @return This builder for chaining. */ public Builder setDeleteContactScene(int value) { bitField0_ |= 0x00000002; deleteContactScene_ = value; onChanged(); return this; } /** * optional uint32 deleteContactScene = 2; * @return This builder for chaining. */ public Builder clearDeleteContactScene() { bitField0_ = (bitField0_ & ~0x00000002); deleteContactScene_ = 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.DelContact) } // @@protoc_insertion_point(class_scope:wechat_proto.DelContact) private static final wechat.protobuf.Syncitem.DelContact DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.DelContact(); } public static wechat.protobuf.Syncitem.DelContact getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DelContact parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DelContact(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.Syncitem.DelContact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DelChatContactOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.DelChatContact) com.google.protobuf.MessageOrBuilder { /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return Whether the userName field is set. */ boolean hasUserName(); /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return The userName. */ wechat.protobuf.Wechat.SKBuiltinString getUserName(); /** * optional .wechat_proto.SKBuiltinString userName = 1; */ wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getUserNameOrBuilder(); } /** * Protobuf type {@code wechat_proto.DelChatContact} */ public static final class DelChatContact extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.DelChatContact) DelChatContactOrBuilder { private static final long serialVersionUID = 0L; // Use DelChatContact.newBuilder() to construct. private DelChatContact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DelChatContact() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DelChatContact(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DelChatContact( 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.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = userName_.toBuilder(); } userName_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(userName_); userName_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; 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.Syncitem.internal_static_wechat_proto_DelChatContact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DelChatContact_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.DelChatContact.class, wechat.protobuf.Syncitem.DelChatContact.Builder.class); } private int bitField0_; public static final int USERNAME_FIELD_NUMBER = 1; private wechat.protobuf.Wechat.SKBuiltinString userName_; /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return Whether the userName field is set. */ @java.lang.Override public boolean hasUserName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return The userName. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getUserName() { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getUserNameOrBuilder() { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } 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, getUserName()); } 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, getUserName()); } 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.Syncitem.DelChatContact)) { return super.equals(obj); } wechat.protobuf.Syncitem.DelChatContact other = (wechat.protobuf.Syncitem.DelChatContact) obj; if (hasUserName() != other.hasUserName()) return false; if (hasUserName()) { if (!getUserName() .equals(other.getUserName())) 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(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.DelChatContact parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.DelChatContact parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.DelChatContact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.DelChatContact 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.Syncitem.DelChatContact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.DelChatContact parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.DelChatContact parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.DelChatContact 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.Syncitem.DelChatContact parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.DelChatContact 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.Syncitem.DelChatContact parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.DelChatContact 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.Syncitem.DelChatContact 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.DelChatContact} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.DelChatContact) wechat.protobuf.Syncitem.DelChatContactOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DelChatContact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DelChatContact_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.DelChatContact.class, wechat.protobuf.Syncitem.DelChatContact.Builder.class); } // Construct using wechat.protobuf.Syncitem.DelChatContact.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUserNameFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (userNameBuilder_ == null) { userName_ = null; } else { userNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_DelChatContact_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.DelChatContact getDefaultInstanceForType() { return wechat.protobuf.Syncitem.DelChatContact.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.DelChatContact build() { wechat.protobuf.Syncitem.DelChatContact result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.DelChatContact buildPartial() { wechat.protobuf.Syncitem.DelChatContact result = new wechat.protobuf.Syncitem.DelChatContact(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (userNameBuilder_ == null) { result.userName_ = userName_; } else { result.userName_ = userNameBuilder_.build(); } 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.Syncitem.DelChatContact) { return mergeFrom((wechat.protobuf.Syncitem.DelChatContact)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.DelChatContact other) { if (other == wechat.protobuf.Syncitem.DelChatContact.getDefaultInstance()) return this; if (other.hasUserName()) { mergeUserName(other.getUserName()); } 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.Syncitem.DelChatContact parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.DelChatContact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private wechat.protobuf.Wechat.SKBuiltinString userName_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> userNameBuilder_; /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return Whether the userName field is set. */ public boolean hasUserName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return The userName. */ public wechat.protobuf.Wechat.SKBuiltinString getUserName() { if (userNameBuilder_ == null) { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } else { return userNameBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public Builder setUserName(wechat.protobuf.Wechat.SKBuiltinString value) { if (userNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userName_ = value; onChanged(); } else { userNameBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public Builder setUserName( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (userNameBuilder_ == null) { userName_ = builderForValue.build(); onChanged(); } else { userNameBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public Builder mergeUserName(wechat.protobuf.Wechat.SKBuiltinString value) { if (userNameBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && userName_ != null && userName_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { userName_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(userName_).mergeFrom(value).buildPartial(); } else { userName_ = value; } onChanged(); } else { userNameBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public Builder clearUserName() { if (userNameBuilder_ == null) { userName_ = null; onChanged(); } else { userNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getUserNameBuilder() { bitField0_ |= 0x00000001; onChanged(); return getUserNameFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getUserNameOrBuilder() { if (userNameBuilder_ != null) { return userNameBuilder_.getMessageOrBuilder(); } else { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getUserNameFieldBuilder() { if (userNameBuilder_ == null) { userNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getUserName(), getParentForChildren(), isClean()); userName_ = null; } return userNameBuilder_; } @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.DelChatContact) } // @@protoc_insertion_point(class_scope:wechat_proto.DelChatContact) private static final wechat.protobuf.Syncitem.DelChatContact DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.DelChatContact(); } public static wechat.protobuf.Syncitem.DelChatContact getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DelChatContact parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DelChatContact(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.Syncitem.DelChatContact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ModChatRoomMemberOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.ModChatRoomMember) com.google.protobuf.MessageOrBuilder { /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return Whether the userName field is set. */ boolean hasUserName(); /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return The userName. */ wechat.protobuf.Wechat.SKBuiltinString getUserName(); /** * optional .wechat_proto.SKBuiltinString userName = 1; */ wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getUserNameOrBuilder(); /** * optional .wechat_proto.SKBuiltinString nickName = 2; * @return Whether the nickName field is set. */ boolean hasNickName(); /** * optional .wechat_proto.SKBuiltinString nickName = 2; * @return The nickName. */ wechat.protobuf.Wechat.SKBuiltinString getNickName(); /** * optional .wechat_proto.SKBuiltinString nickName = 2; */ wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getNickNameOrBuilder(); /** * optional .wechat_proto.SKBuiltinString pyinitial = 3; * @return Whether the pyinitial field is set. */ boolean hasPyinitial(); /** * optional .wechat_proto.SKBuiltinString pyinitial = 3; * @return The pyinitial. */ wechat.protobuf.Wechat.SKBuiltinString getPyinitial(); /** * optional .wechat_proto.SKBuiltinString pyinitial = 3; */ wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getPyinitialOrBuilder(); /** * optional .wechat_proto.SKBuiltinString quanPin = 4; * @return Whether the quanPin field is set. */ boolean hasQuanPin(); /** * optional .wechat_proto.SKBuiltinString quanPin = 4; * @return The quanPin. */ wechat.protobuf.Wechat.SKBuiltinString getQuanPin(); /** * optional .wechat_proto.SKBuiltinString quanPin = 4; */ wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getQuanPinOrBuilder(); /** * optional uint32 sex = 5; * @return Whether the sex field is set. */ boolean hasSex(); /** * optional uint32 sex = 5; * @return The sex. */ int getSex(); /** * optional .wechat_proto.SKBuiltinString_ imgBuf = 6; * @return Whether the imgBuf field is set. */ boolean hasImgBuf(); /** * optional .wechat_proto.SKBuiltinString_ imgBuf = 6; * @return The imgBuf. */ wechat.protobuf.Wechat.SKBuiltinString_ getImgBuf(); /** * optional .wechat_proto.SKBuiltinString_ imgBuf = 6; */ wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getImgBufOrBuilder(); /** * optional uint32 imgFlag = 7; * @return Whether the imgFlag field is set. */ boolean hasImgFlag(); /** * optional uint32 imgFlag = 7; * @return The imgFlag. */ int getImgFlag(); /** * optional .wechat_proto.SKBuiltinString remark = 8; * @return Whether the remark field is set. */ boolean hasRemark(); /** * optional .wechat_proto.SKBuiltinString remark = 8; * @return The remark. */ wechat.protobuf.Wechat.SKBuiltinString getRemark(); /** * optional .wechat_proto.SKBuiltinString remark = 8; */ wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getRemarkOrBuilder(); /** * optional .wechat_proto.SKBuiltinString remarkPyinitial = 9; * @return Whether the remarkPyinitial field is set. */ boolean hasRemarkPyinitial(); /** * optional .wechat_proto.SKBuiltinString remarkPyinitial = 9; * @return The remarkPyinitial. */ wechat.protobuf.Wechat.SKBuiltinString getRemarkPyinitial(); /** * optional .wechat_proto.SKBuiltinString remarkPyinitial = 9; */ wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getRemarkPyinitialOrBuilder(); /** * optional .wechat_proto.SKBuiltinString remarkQuanPin = 10; * @return Whether the remarkQuanPin field is set. */ boolean hasRemarkQuanPin(); /** * optional .wechat_proto.SKBuiltinString remarkQuanPin = 10; * @return The remarkQuanPin. */ wechat.protobuf.Wechat.SKBuiltinString getRemarkQuanPin(); /** * optional .wechat_proto.SKBuiltinString remarkQuanPin = 10; */ wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getRemarkQuanPinOrBuilder(); /** * optional uint32 contactType = 11; * @return Whether the contactType field is set. */ boolean hasContactType(); /** * optional uint32 contactType = 11; * @return The contactType. */ int getContactType(); /** * optional string province = 12; * @return Whether the province field is set. */ boolean hasProvince(); /** * optional string province = 12; * @return The province. */ java.lang.String getProvince(); /** * optional string province = 12; * @return The bytes for province. */ com.google.protobuf.ByteString getProvinceBytes(); /** * optional string city = 13; * @return Whether the city field is set. */ boolean hasCity(); /** * optional string city = 13; * @return The city. */ java.lang.String getCity(); /** * optional string city = 13; * @return The bytes for city. */ com.google.protobuf.ByteString getCityBytes(); /** * optional string signature = 14; * @return Whether the signature field is set. */ boolean hasSignature(); /** * optional string signature = 14; * @return The signature. */ java.lang.String getSignature(); /** * optional string signature = 14; * @return The bytes for signature. */ com.google.protobuf.ByteString getSignatureBytes(); /** * optional uint32 personalCard = 15; * @return Whether the personalCard field is set. */ boolean hasPersonalCard(); /** * optional uint32 personalCard = 15; * @return The personalCard. */ int getPersonalCard(); /** * optional uint32 verifyFlag = 16; * @return Whether the verifyFlag field is set. */ boolean hasVerifyFlag(); /** * optional uint32 verifyFlag = 16; * @return The verifyFlag. */ int getVerifyFlag(); /** * optional string verifyInfo = 17; * @return Whether the verifyInfo field is set. */ boolean hasVerifyInfo(); /** * optional string verifyInfo = 17; * @return The verifyInfo. */ java.lang.String getVerifyInfo(); /** * optional string verifyInfo = 17; * @return The bytes for verifyInfo. */ com.google.protobuf.ByteString getVerifyInfoBytes(); /** * optional string weibo = 18; * @return Whether the weibo field is set. */ boolean hasWeibo(); /** * optional string weibo = 18; * @return The weibo. */ java.lang.String getWeibo(); /** * optional string weibo = 18; * @return The bytes for weibo. */ com.google.protobuf.ByteString getWeiboBytes(); /** * optional string verifyContent = 19; * @return Whether the verifyContent field is set. */ boolean hasVerifyContent(); /** * optional string verifyContent = 19; * @return The verifyContent. */ java.lang.String getVerifyContent(); /** * optional string verifyContent = 19; * @return The bytes for verifyContent. */ com.google.protobuf.ByteString getVerifyContentBytes(); /** * optional string weiboNickname = 20; * @return Whether the weiboNickname field is set. */ boolean hasWeiboNickname(); /** * optional string weiboNickname = 20; * @return The weiboNickname. */ java.lang.String getWeiboNickname(); /** * optional string weiboNickname = 20; * @return The bytes for weiboNickname. */ com.google.protobuf.ByteString getWeiboNicknameBytes(); /** * optional uint32 weiboFlag = 21; * @return Whether the weiboFlag field is set. */ boolean hasWeiboFlag(); /** * optional uint32 weiboFlag = 21; * @return The weiboFlag. */ int getWeiboFlag(); /** * optional uint32 albumStyle = 22; * @return Whether the albumStyle field is set. */ boolean hasAlbumStyle(); /** * optional uint32 albumStyle = 22; * @return The albumStyle. */ int getAlbumStyle(); /** * optional uint32 albumFlag = 23; * @return Whether the albumFlag field is set. */ boolean hasAlbumFlag(); /** * optional uint32 albumFlag = 23; * @return The albumFlag. */ int getAlbumFlag(); /** * optional string albumBgimgId = 24; * @return Whether the albumBgimgId field is set. */ boolean hasAlbumBgimgId(); /** * optional string albumBgimgId = 24; * @return The albumBgimgId. */ java.lang.String getAlbumBgimgId(); /** * optional string albumBgimgId = 24; * @return The bytes for albumBgimgId. */ com.google.protobuf.ByteString getAlbumBgimgIdBytes(); /** * optional string alias = 25; * @return Whether the alias field is set. */ boolean hasAlias(); /** * optional string alias = 25; * @return The alias. */ java.lang.String getAlias(); /** * optional string alias = 25; * @return The bytes for alias. */ com.google.protobuf.ByteString getAliasBytes(); /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 26; * @return Whether the snsUserInfo field is set. */ boolean hasSnsUserInfo(); /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 26; * @return The snsUserInfo. */ wechat.protobuf.Wechat.SnsUserInfo getSnsUserInfo(); /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 26; */ wechat.protobuf.Wechat.SnsUserInfoOrBuilder getSnsUserInfoOrBuilder(); /** * optional string country = 27; * @return Whether the country field is set. */ boolean hasCountry(); /** * optional string country = 27; * @return The country. */ java.lang.String getCountry(); /** * optional string country = 27; * @return The bytes for country. */ com.google.protobuf.ByteString getCountryBytes(); /** * optional string bigHeadImgUrl = 28; * @return Whether the bigHeadImgUrl field is set. */ boolean hasBigHeadImgUrl(); /** * optional string bigHeadImgUrl = 28; * @return The bigHeadImgUrl. */ java.lang.String getBigHeadImgUrl(); /** * optional string bigHeadImgUrl = 28; * @return The bytes for bigHeadImgUrl. */ com.google.protobuf.ByteString getBigHeadImgUrlBytes(); /** * optional string smallHeadImgUrl = 29; * @return Whether the smallHeadImgUrl field is set. */ boolean hasSmallHeadImgUrl(); /** * optional string smallHeadImgUrl = 29; * @return The smallHeadImgUrl. */ java.lang.String getSmallHeadImgUrl(); /** * optional string smallHeadImgUrl = 29; * @return The bytes for smallHeadImgUrl. */ com.google.protobuf.ByteString getSmallHeadImgUrlBytes(); /** * optional string myBrandList = 30; * @return Whether the myBrandList field is set. */ boolean hasMyBrandList(); /** * optional string myBrandList = 30; * @return The myBrandList. */ java.lang.String getMyBrandList(); /** * optional string myBrandList = 30; * @return The bytes for myBrandList. */ com.google.protobuf.ByteString getMyBrandListBytes(); /** * optional .wechat_proto.CustomizedInfo customizedInfo = 31; * @return Whether the customizedInfo field is set. */ boolean hasCustomizedInfo(); /** * optional .wechat_proto.CustomizedInfo customizedInfo = 31; * @return The customizedInfo. */ wechat.protobuf.Wechat.CustomizedInfo getCustomizedInfo(); /** * optional .wechat_proto.CustomizedInfo customizedInfo = 31; */ wechat.protobuf.Wechat.CustomizedInfoOrBuilder getCustomizedInfoOrBuilder(); } /** * Protobuf type {@code wechat_proto.ModChatRoomMember} */ public static final class ModChatRoomMember extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.ModChatRoomMember) ModChatRoomMemberOrBuilder { private static final long serialVersionUID = 0L; // Use ModChatRoomMember.newBuilder() to construct. private ModChatRoomMember(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ModChatRoomMember() { province_ = ""; city_ = ""; signature_ = ""; verifyInfo_ = ""; weibo_ = ""; verifyContent_ = ""; weiboNickname_ = ""; albumBgimgId_ = ""; alias_ = ""; country_ = ""; bigHeadImgUrl_ = ""; smallHeadImgUrl_ = ""; myBrandList_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ModChatRoomMember(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ModChatRoomMember( 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.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = userName_.toBuilder(); } userName_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(userName_); userName_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { wechat.protobuf.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = nickName_.toBuilder(); } nickName_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(nickName_); nickName_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { wechat.protobuf.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = pyinitial_.toBuilder(); } pyinitial_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pyinitial_); pyinitial_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { wechat.protobuf.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = quanPin_.toBuilder(); } quanPin_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(quanPin_); quanPin_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 40: { bitField0_ |= 0x00000010; sex_ = input.readUInt32(); break; } case 50: { wechat.protobuf.Wechat.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000020) != 0)) { subBuilder = imgBuf_.toBuilder(); } imgBuf_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(imgBuf_); imgBuf_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 56: { bitField0_ |= 0x00000040; imgFlag_ = input.readUInt32(); break; } case 66: { wechat.protobuf.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000080) != 0)) { subBuilder = remark_.toBuilder(); } remark_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(remark_); remark_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; break; } case 74: { wechat.protobuf.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000100) != 0)) { subBuilder = remarkPyinitial_.toBuilder(); } remarkPyinitial_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(remarkPyinitial_); remarkPyinitial_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; break; } case 82: { wechat.protobuf.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000200) != 0)) { subBuilder = remarkQuanPin_.toBuilder(); } remarkQuanPin_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(remarkQuanPin_); remarkQuanPin_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000200; break; } case 88: { bitField0_ |= 0x00000400; contactType_ = input.readUInt32(); break; } case 98: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000800; province_ = bs; break; } case 106: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00001000; city_ = bs; break; } case 114: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00002000; signature_ = bs; break; } case 120: { bitField0_ |= 0x00004000; personalCard_ = input.readUInt32(); break; } case 128: { bitField0_ |= 0x00008000; verifyFlag_ = input.readUInt32(); break; } case 138: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00010000; verifyInfo_ = bs; break; } case 146: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00020000; weibo_ = bs; break; } case 154: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00040000; verifyContent_ = bs; break; } case 162: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00080000; weiboNickname_ = bs; break; } case 168: { bitField0_ |= 0x00100000; weiboFlag_ = input.readUInt32(); break; } case 176: { bitField0_ |= 0x00200000; albumStyle_ = input.readUInt32(); break; } case 184: { bitField0_ |= 0x00400000; albumFlag_ = input.readUInt32(); break; } case 194: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00800000; albumBgimgId_ = bs; break; } case 202: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x01000000; alias_ = bs; break; } case 210: { wechat.protobuf.Wechat.SnsUserInfo.Builder subBuilder = null; if (((bitField0_ & 0x02000000) != 0)) { subBuilder = snsUserInfo_.toBuilder(); } snsUserInfo_ = input.readMessage(wechat.protobuf.Wechat.SnsUserInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(snsUserInfo_); snsUserInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x02000000; break; } case 218: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x04000000; country_ = bs; break; } case 226: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x08000000; bigHeadImgUrl_ = bs; break; } case 234: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x10000000; smallHeadImgUrl_ = bs; break; } case 242: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x20000000; myBrandList_ = bs; break; } case 250: { wechat.protobuf.Wechat.CustomizedInfo.Builder subBuilder = null; if (((bitField0_ & 0x40000000) != 0)) { subBuilder = customizedInfo_.toBuilder(); } customizedInfo_ = input.readMessage(wechat.protobuf.Wechat.CustomizedInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(customizedInfo_); customizedInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x40000000; 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.Syncitem.internal_static_wechat_proto_ModChatRoomMember_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModChatRoomMember_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.ModChatRoomMember.class, wechat.protobuf.Syncitem.ModChatRoomMember.Builder.class); } private int bitField0_; public static final int USERNAME_FIELD_NUMBER = 1; private wechat.protobuf.Wechat.SKBuiltinString userName_; /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return Whether the userName field is set. */ @java.lang.Override public boolean hasUserName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return The userName. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getUserName() { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getUserNameOrBuilder() { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } public static final int NICKNAME_FIELD_NUMBER = 2; private wechat.protobuf.Wechat.SKBuiltinString nickName_; /** * optional .wechat_proto.SKBuiltinString nickName = 2; * @return Whether the nickName field is set. */ @java.lang.Override public boolean hasNickName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString nickName = 2; * @return The nickName. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getNickName() { return nickName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : nickName_; } /** * optional .wechat_proto.SKBuiltinString nickName = 2; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getNickNameOrBuilder() { return nickName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : nickName_; } public static final int PYINITIAL_FIELD_NUMBER = 3; private wechat.protobuf.Wechat.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.Wechat.SKBuiltinString getPyinitial() { return pyinitial_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : pyinitial_; } /** * optional .wechat_proto.SKBuiltinString pyinitial = 3; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getPyinitialOrBuilder() { return pyinitial_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : pyinitial_; } public static final int QUANPIN_FIELD_NUMBER = 4; private wechat.protobuf.Wechat.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.Wechat.SKBuiltinString getQuanPin() { return quanPin_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : quanPin_; } /** * optional .wechat_proto.SKBuiltinString quanPin = 4; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getQuanPinOrBuilder() { return quanPin_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : quanPin_; } public static final int SEX_FIELD_NUMBER = 5; private int sex_; /** * optional uint32 sex = 5; * @return Whether the sex field is set. */ @java.lang.Override public boolean hasSex() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 sex = 5; * @return The sex. */ @java.lang.Override public int getSex() { return sex_; } public static final int IMGBUF_FIELD_NUMBER = 6; private wechat.protobuf.Wechat.SKBuiltinString_ imgBuf_; /** * optional .wechat_proto.SKBuiltinString_ imgBuf = 6; * @return Whether the imgBuf field is set. */ @java.lang.Override public boolean hasImgBuf() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .wechat_proto.SKBuiltinString_ imgBuf = 6; * @return The imgBuf. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString_ getImgBuf() { return imgBuf_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : imgBuf_; } /** * optional .wechat_proto.SKBuiltinString_ imgBuf = 6; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getImgBufOrBuilder() { return imgBuf_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : imgBuf_; } public static final int IMGFLAG_FIELD_NUMBER = 7; private int imgFlag_; /** * optional uint32 imgFlag = 7; * @return Whether the imgFlag field is set. */ @java.lang.Override public boolean hasImgFlag() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 imgFlag = 7; * @return The imgFlag. */ @java.lang.Override public int getImgFlag() { return imgFlag_; } public static final int REMARK_FIELD_NUMBER = 8; private wechat.protobuf.Wechat.SKBuiltinString remark_; /** * optional .wechat_proto.SKBuiltinString remark = 8; * @return Whether the remark field is set. */ @java.lang.Override public boolean hasRemark() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .wechat_proto.SKBuiltinString remark = 8; * @return The remark. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getRemark() { return remark_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : remark_; } /** * optional .wechat_proto.SKBuiltinString remark = 8; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getRemarkOrBuilder() { return remark_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : remark_; } public static final int REMARKPYINITIAL_FIELD_NUMBER = 9; private wechat.protobuf.Wechat.SKBuiltinString remarkPyinitial_; /** * optional .wechat_proto.SKBuiltinString remarkPyinitial = 9; * @return Whether the remarkPyinitial field is set. */ @java.lang.Override public boolean hasRemarkPyinitial() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .wechat_proto.SKBuiltinString remarkPyinitial = 9; * @return The remarkPyinitial. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getRemarkPyinitial() { return remarkPyinitial_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : remarkPyinitial_; } /** * optional .wechat_proto.SKBuiltinString remarkPyinitial = 9; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getRemarkPyinitialOrBuilder() { return remarkPyinitial_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : remarkPyinitial_; } public static final int REMARKQUANPIN_FIELD_NUMBER = 10; private wechat.protobuf.Wechat.SKBuiltinString remarkQuanPin_; /** * optional .wechat_proto.SKBuiltinString remarkQuanPin = 10; * @return Whether the remarkQuanPin field is set. */ @java.lang.Override public boolean hasRemarkQuanPin() { return ((bitField0_ & 0x00000200) != 0); } /** * optional .wechat_proto.SKBuiltinString remarkQuanPin = 10; * @return The remarkQuanPin. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getRemarkQuanPin() { return remarkQuanPin_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : remarkQuanPin_; } /** * optional .wechat_proto.SKBuiltinString remarkQuanPin = 10; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getRemarkQuanPinOrBuilder() { return remarkQuanPin_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : remarkQuanPin_; } public static final int CONTACTTYPE_FIELD_NUMBER = 11; private int contactType_; /** * optional uint32 contactType = 11; * @return Whether the contactType field is set. */ @java.lang.Override public boolean hasContactType() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint32 contactType = 11; * @return The contactType. */ @java.lang.Override public int getContactType() { return contactType_; } public static final int PROVINCE_FIELD_NUMBER = 12; private volatile java.lang.Object province_; /** * optional string province = 12; * @return Whether the province field is set. */ @java.lang.Override public boolean hasProvince() { return ((bitField0_ & 0x00000800) != 0); } /** * optional string province = 12; * @return The province. */ @java.lang.Override public java.lang.String getProvince() { java.lang.Object ref = province_; 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()) { province_ = s; } return s; } } /** * optional string province = 12; * @return The bytes for province. */ @java.lang.Override public com.google.protobuf.ByteString getProvinceBytes() { java.lang.Object ref = province_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); province_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CITY_FIELD_NUMBER = 13; private volatile java.lang.Object city_; /** * optional string city = 13; * @return Whether the city field is set. */ @java.lang.Override public boolean hasCity() { return ((bitField0_ & 0x00001000) != 0); } /** * optional string city = 13; * @return The city. */ @java.lang.Override public java.lang.String getCity() { java.lang.Object ref = city_; 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()) { city_ = s; } return s; } } /** * optional string city = 13; * @return The bytes for city. */ @java.lang.Override public com.google.protobuf.ByteString getCityBytes() { java.lang.Object ref = city_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); city_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SIGNATURE_FIELD_NUMBER = 14; private volatile java.lang.Object signature_; /** * optional string signature = 14; * @return Whether the signature field is set. */ @java.lang.Override public boolean hasSignature() { return ((bitField0_ & 0x00002000) != 0); } /** * optional string signature = 14; * @return The signature. */ @java.lang.Override public java.lang.String getSignature() { java.lang.Object ref = signature_; 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()) { signature_ = s; } return s; } } /** * optional string signature = 14; * @return The bytes for signature. */ @java.lang.Override public com.google.protobuf.ByteString getSignatureBytes() { java.lang.Object ref = signature_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signature_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PERSONALCARD_FIELD_NUMBER = 15; private int personalCard_; /** * optional uint32 personalCard = 15; * @return Whether the personalCard field is set. */ @java.lang.Override public boolean hasPersonalCard() { return ((bitField0_ & 0x00004000) != 0); } /** * optional uint32 personalCard = 15; * @return The personalCard. */ @java.lang.Override public int getPersonalCard() { return personalCard_; } public static final int VERIFYFLAG_FIELD_NUMBER = 16; private int verifyFlag_; /** * optional uint32 verifyFlag = 16; * @return Whether the verifyFlag field is set. */ @java.lang.Override public boolean hasVerifyFlag() { return ((bitField0_ & 0x00008000) != 0); } /** * optional uint32 verifyFlag = 16; * @return The verifyFlag. */ @java.lang.Override public int getVerifyFlag() { return verifyFlag_; } public static final int VERIFYINFO_FIELD_NUMBER = 17; private volatile java.lang.Object verifyInfo_; /** * optional string verifyInfo = 17; * @return Whether the verifyInfo field is set. */ @java.lang.Override public boolean hasVerifyInfo() { return ((bitField0_ & 0x00010000) != 0); } /** * optional string verifyInfo = 17; * @return The verifyInfo. */ @java.lang.Override public java.lang.String getVerifyInfo() { java.lang.Object ref = verifyInfo_; 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()) { verifyInfo_ = s; } return s; } } /** * optional string verifyInfo = 17; * @return The bytes for verifyInfo. */ @java.lang.Override public com.google.protobuf.ByteString getVerifyInfoBytes() { java.lang.Object ref = verifyInfo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); verifyInfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WEIBO_FIELD_NUMBER = 18; private volatile java.lang.Object weibo_; /** * optional string weibo = 18; * @return Whether the weibo field is set. */ @java.lang.Override public boolean hasWeibo() { return ((bitField0_ & 0x00020000) != 0); } /** * optional string weibo = 18; * @return The weibo. */ @java.lang.Override public java.lang.String getWeibo() { java.lang.Object ref = weibo_; 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()) { weibo_ = s; } return s; } } /** * optional string weibo = 18; * @return The bytes for weibo. */ @java.lang.Override public com.google.protobuf.ByteString getWeiboBytes() { java.lang.Object ref = weibo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); weibo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERIFYCONTENT_FIELD_NUMBER = 19; private volatile java.lang.Object verifyContent_; /** * optional string verifyContent = 19; * @return Whether the verifyContent field is set. */ @java.lang.Override public boolean hasVerifyContent() { return ((bitField0_ & 0x00040000) != 0); } /** * optional string verifyContent = 19; * @return The verifyContent. */ @java.lang.Override public java.lang.String getVerifyContent() { java.lang.Object ref = verifyContent_; 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()) { verifyContent_ = s; } return s; } } /** * optional string verifyContent = 19; * @return The bytes for verifyContent. */ @java.lang.Override public com.google.protobuf.ByteString getVerifyContentBytes() { java.lang.Object ref = verifyContent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); verifyContent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WEIBONICKNAME_FIELD_NUMBER = 20; private volatile java.lang.Object weiboNickname_; /** * optional string weiboNickname = 20; * @return Whether the weiboNickname field is set. */ @java.lang.Override public boolean hasWeiboNickname() { return ((bitField0_ & 0x00080000) != 0); } /** * optional string weiboNickname = 20; * @return The weiboNickname. */ @java.lang.Override public java.lang.String getWeiboNickname() { java.lang.Object ref = weiboNickname_; 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()) { weiboNickname_ = s; } return s; } } /** * optional string weiboNickname = 20; * @return The bytes for weiboNickname. */ @java.lang.Override public com.google.protobuf.ByteString getWeiboNicknameBytes() { java.lang.Object ref = weiboNickname_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); weiboNickname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WEIBOFLAG_FIELD_NUMBER = 21; private int weiboFlag_; /** * optional uint32 weiboFlag = 21; * @return Whether the weiboFlag field is set. */ @java.lang.Override public boolean hasWeiboFlag() { return ((bitField0_ & 0x00100000) != 0); } /** * optional uint32 weiboFlag = 21; * @return The weiboFlag. */ @java.lang.Override public int getWeiboFlag() { return weiboFlag_; } public static final int ALBUMSTYLE_FIELD_NUMBER = 22; private int albumStyle_; /** * optional uint32 albumStyle = 22; * @return Whether the albumStyle field is set. */ @java.lang.Override public boolean hasAlbumStyle() { return ((bitField0_ & 0x00200000) != 0); } /** * optional uint32 albumStyle = 22; * @return The albumStyle. */ @java.lang.Override public int getAlbumStyle() { return albumStyle_; } public static final int ALBUMFLAG_FIELD_NUMBER = 23; private int albumFlag_; /** * optional uint32 albumFlag = 23; * @return Whether the albumFlag field is set. */ @java.lang.Override public boolean hasAlbumFlag() { return ((bitField0_ & 0x00400000) != 0); } /** * optional uint32 albumFlag = 23; * @return The albumFlag. */ @java.lang.Override public int getAlbumFlag() { return albumFlag_; } public static final int ALBUMBGIMGID_FIELD_NUMBER = 24; private volatile java.lang.Object albumBgimgId_; /** * optional string albumBgimgId = 24; * @return Whether the albumBgimgId field is set. */ @java.lang.Override public boolean hasAlbumBgimgId() { return ((bitField0_ & 0x00800000) != 0); } /** * optional string albumBgimgId = 24; * @return The albumBgimgId. */ @java.lang.Override public java.lang.String getAlbumBgimgId() { java.lang.Object ref = albumBgimgId_; 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()) { albumBgimgId_ = s; } return s; } } /** * optional string albumBgimgId = 24; * @return The bytes for albumBgimgId. */ @java.lang.Override public com.google.protobuf.ByteString getAlbumBgimgIdBytes() { java.lang.Object ref = albumBgimgId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); albumBgimgId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALIAS_FIELD_NUMBER = 25; private volatile java.lang.Object alias_; /** * optional string alias = 25; * @return Whether the alias field is set. */ @java.lang.Override public boolean hasAlias() { return ((bitField0_ & 0x01000000) != 0); } /** * optional string alias = 25; * @return The alias. */ @java.lang.Override public java.lang.String getAlias() { java.lang.Object ref = alias_; 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()) { alias_ = s; } return s; } } /** * optional string alias = 25; * @return The bytes for alias. */ @java.lang.Override public com.google.protobuf.ByteString getAliasBytes() { java.lang.Object ref = alias_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); alias_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SNSUSERINFO_FIELD_NUMBER = 26; private wechat.protobuf.Wechat.SnsUserInfo snsUserInfo_; /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 26; * @return Whether the snsUserInfo field is set. */ @java.lang.Override public boolean hasSnsUserInfo() { return ((bitField0_ & 0x02000000) != 0); } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 26; * @return The snsUserInfo. */ @java.lang.Override public wechat.protobuf.Wechat.SnsUserInfo getSnsUserInfo() { return snsUserInfo_ == null ? wechat.protobuf.Wechat.SnsUserInfo.getDefaultInstance() : snsUserInfo_; } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 26; */ @java.lang.Override public wechat.protobuf.Wechat.SnsUserInfoOrBuilder getSnsUserInfoOrBuilder() { return snsUserInfo_ == null ? wechat.protobuf.Wechat.SnsUserInfo.getDefaultInstance() : snsUserInfo_; } public static final int COUNTRY_FIELD_NUMBER = 27; private volatile java.lang.Object country_; /** * optional string country = 27; * @return Whether the country field is set. */ @java.lang.Override public boolean hasCountry() { return ((bitField0_ & 0x04000000) != 0); } /** * optional string country = 27; * @return The country. */ @java.lang.Override public java.lang.String getCountry() { java.lang.Object ref = country_; 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()) { country_ = s; } return s; } } /** * optional string country = 27; * @return The bytes for country. */ @java.lang.Override public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BIGHEADIMGURL_FIELD_NUMBER = 28; private volatile java.lang.Object bigHeadImgUrl_; /** * optional string bigHeadImgUrl = 28; * @return Whether the bigHeadImgUrl field is set. */ @java.lang.Override public boolean hasBigHeadImgUrl() { return ((bitField0_ & 0x08000000) != 0); } /** * optional string bigHeadImgUrl = 28; * @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 = 28; * @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 = 29; private volatile java.lang.Object smallHeadImgUrl_; /** * optional string smallHeadImgUrl = 29; * @return Whether the smallHeadImgUrl field is set. */ @java.lang.Override public boolean hasSmallHeadImgUrl() { return ((bitField0_ & 0x10000000) != 0); } /** * optional string smallHeadImgUrl = 29; * @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 = 29; * @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; } } public static final int MYBRANDLIST_FIELD_NUMBER = 30; private volatile java.lang.Object myBrandList_; /** * optional string myBrandList = 30; * @return Whether the myBrandList field is set. */ @java.lang.Override public boolean hasMyBrandList() { return ((bitField0_ & 0x20000000) != 0); } /** * optional string myBrandList = 30; * @return The myBrandList. */ @java.lang.Override public java.lang.String getMyBrandList() { java.lang.Object ref = myBrandList_; 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()) { myBrandList_ = s; } return s; } } /** * optional string myBrandList = 30; * @return The bytes for myBrandList. */ @java.lang.Override public com.google.protobuf.ByteString getMyBrandListBytes() { java.lang.Object ref = myBrandList_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); myBrandList_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CUSTOMIZEDINFO_FIELD_NUMBER = 31; private wechat.protobuf.Wechat.CustomizedInfo customizedInfo_; /** * optional .wechat_proto.CustomizedInfo customizedInfo = 31; * @return Whether the customizedInfo field is set. */ @java.lang.Override public boolean hasCustomizedInfo() { return ((bitField0_ & 0x40000000) != 0); } /** * optional .wechat_proto.CustomizedInfo customizedInfo = 31; * @return The customizedInfo. */ @java.lang.Override public wechat.protobuf.Wechat.CustomizedInfo getCustomizedInfo() { return customizedInfo_ == null ? wechat.protobuf.Wechat.CustomizedInfo.getDefaultInstance() : customizedInfo_; } /** * optional .wechat_proto.CustomizedInfo customizedInfo = 31; */ @java.lang.Override public wechat.protobuf.Wechat.CustomizedInfoOrBuilder getCustomizedInfoOrBuilder() { return customizedInfo_ == null ? wechat.protobuf.Wechat.CustomizedInfo.getDefaultInstance() : customizedInfo_; } 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, getUserName()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getNickName()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getPyinitial()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getQuanPin()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, sex_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(6, getImgBuf()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt32(7, imgFlag_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(8, getRemark()); } if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(9, getRemarkPyinitial()); } if (((bitField0_ & 0x00000200) != 0)) { output.writeMessage(10, getRemarkQuanPin()); } if (((bitField0_ & 0x00000400) != 0)) { output.writeUInt32(11, contactType_); } if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, province_); } if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, city_); } if (((bitField0_ & 0x00002000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, signature_); } if (((bitField0_ & 0x00004000) != 0)) { output.writeUInt32(15, personalCard_); } if (((bitField0_ & 0x00008000) != 0)) { output.writeUInt32(16, verifyFlag_); } if (((bitField0_ & 0x00010000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, verifyInfo_); } if (((bitField0_ & 0x00020000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, weibo_); } if (((bitField0_ & 0x00040000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, verifyContent_); } if (((bitField0_ & 0x00080000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 20, weiboNickname_); } if (((bitField0_ & 0x00100000) != 0)) { output.writeUInt32(21, weiboFlag_); } if (((bitField0_ & 0x00200000) != 0)) { output.writeUInt32(22, albumStyle_); } if (((bitField0_ & 0x00400000) != 0)) { output.writeUInt32(23, albumFlag_); } if (((bitField0_ & 0x00800000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 24, albumBgimgId_); } if (((bitField0_ & 0x01000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 25, alias_); } if (((bitField0_ & 0x02000000) != 0)) { output.writeMessage(26, getSnsUserInfo()); } if (((bitField0_ & 0x04000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 27, country_); } if (((bitField0_ & 0x08000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 28, bigHeadImgUrl_); } if (((bitField0_ & 0x10000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 29, smallHeadImgUrl_); } if (((bitField0_ & 0x20000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 30, myBrandList_); } if (((bitField0_ & 0x40000000) != 0)) { output.writeMessage(31, getCustomizedInfo()); } 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, getUserName()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getNickName()); } 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, sex_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getImgBuf()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, imgFlag_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getRemark()); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getRemarkPyinitial()); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getRemarkQuanPin()); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(11, contactType_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, province_); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, city_); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, signature_); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(15, personalCard_); } if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(16, verifyFlag_); } if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, verifyInfo_); } if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, weibo_); } if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, verifyContent_); } if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, weiboNickname_); } if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(21, weiboFlag_); } if (((bitField0_ & 0x00200000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(22, albumStyle_); } if (((bitField0_ & 0x00400000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(23, albumFlag_); } if (((bitField0_ & 0x00800000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, albumBgimgId_); } if (((bitField0_ & 0x01000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, alias_); } if (((bitField0_ & 0x02000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(26, getSnsUserInfo()); } if (((bitField0_ & 0x04000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, country_); } if (((bitField0_ & 0x08000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, bigHeadImgUrl_); } if (((bitField0_ & 0x10000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, smallHeadImgUrl_); } if (((bitField0_ & 0x20000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, myBrandList_); } if (((bitField0_ & 0x40000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(31, getCustomizedInfo()); } 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.Syncitem.ModChatRoomMember)) { return super.equals(obj); } wechat.protobuf.Syncitem.ModChatRoomMember other = (wechat.protobuf.Syncitem.ModChatRoomMember) 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 (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 (hasSex() != other.hasSex()) return false; if (hasSex()) { if (getSex() != other.getSex()) return false; } if (hasImgBuf() != other.hasImgBuf()) return false; if (hasImgBuf()) { if (!getImgBuf() .equals(other.getImgBuf())) return false; } if (hasImgFlag() != other.hasImgFlag()) return false; if (hasImgFlag()) { if (getImgFlag() != other.getImgFlag()) return false; } if (hasRemark() != other.hasRemark()) return false; if (hasRemark()) { if (!getRemark() .equals(other.getRemark())) return false; } if (hasRemarkPyinitial() != other.hasRemarkPyinitial()) return false; if (hasRemarkPyinitial()) { if (!getRemarkPyinitial() .equals(other.getRemarkPyinitial())) return false; } if (hasRemarkQuanPin() != other.hasRemarkQuanPin()) return false; if (hasRemarkQuanPin()) { if (!getRemarkQuanPin() .equals(other.getRemarkQuanPin())) return false; } if (hasContactType() != other.hasContactType()) return false; if (hasContactType()) { if (getContactType() != other.getContactType()) return false; } if (hasProvince() != other.hasProvince()) return false; if (hasProvince()) { if (!getProvince() .equals(other.getProvince())) return false; } if (hasCity() != other.hasCity()) return false; if (hasCity()) { if (!getCity() .equals(other.getCity())) return false; } if (hasSignature() != other.hasSignature()) return false; if (hasSignature()) { if (!getSignature() .equals(other.getSignature())) return false; } if (hasPersonalCard() != other.hasPersonalCard()) return false; if (hasPersonalCard()) { if (getPersonalCard() != other.getPersonalCard()) return false; } if (hasVerifyFlag() != other.hasVerifyFlag()) return false; if (hasVerifyFlag()) { if (getVerifyFlag() != other.getVerifyFlag()) return false; } if (hasVerifyInfo() != other.hasVerifyInfo()) return false; if (hasVerifyInfo()) { if (!getVerifyInfo() .equals(other.getVerifyInfo())) return false; } if (hasWeibo() != other.hasWeibo()) return false; if (hasWeibo()) { if (!getWeibo() .equals(other.getWeibo())) return false; } if (hasVerifyContent() != other.hasVerifyContent()) return false; if (hasVerifyContent()) { if (!getVerifyContent() .equals(other.getVerifyContent())) return false; } if (hasWeiboNickname() != other.hasWeiboNickname()) return false; if (hasWeiboNickname()) { if (!getWeiboNickname() .equals(other.getWeiboNickname())) return false; } if (hasWeiboFlag() != other.hasWeiboFlag()) return false; if (hasWeiboFlag()) { if (getWeiboFlag() != other.getWeiboFlag()) return false; } if (hasAlbumStyle() != other.hasAlbumStyle()) return false; if (hasAlbumStyle()) { if (getAlbumStyle() != other.getAlbumStyle()) return false; } if (hasAlbumFlag() != other.hasAlbumFlag()) return false; if (hasAlbumFlag()) { if (getAlbumFlag() != other.getAlbumFlag()) return false; } if (hasAlbumBgimgId() != other.hasAlbumBgimgId()) return false; if (hasAlbumBgimgId()) { if (!getAlbumBgimgId() .equals(other.getAlbumBgimgId())) return false; } if (hasAlias() != other.hasAlias()) return false; if (hasAlias()) { if (!getAlias() .equals(other.getAlias())) return false; } if (hasSnsUserInfo() != other.hasSnsUserInfo()) return false; if (hasSnsUserInfo()) { if (!getSnsUserInfo() .equals(other.getSnsUserInfo())) return false; } if (hasCountry() != other.hasCountry()) return false; if (hasCountry()) { if (!getCountry() .equals(other.getCountry())) 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 (hasMyBrandList() != other.hasMyBrandList()) return false; if (hasMyBrandList()) { if (!getMyBrandList() .equals(other.getMyBrandList())) return false; } if (hasCustomizedInfo() != other.hasCustomizedInfo()) return false; if (hasCustomizedInfo()) { if (!getCustomizedInfo() .equals(other.getCustomizedInfo())) 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 (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 (hasSex()) { hash = (37 * hash) + SEX_FIELD_NUMBER; hash = (53 * hash) + getSex(); } if (hasImgBuf()) { hash = (37 * hash) + IMGBUF_FIELD_NUMBER; hash = (53 * hash) + getImgBuf().hashCode(); } if (hasImgFlag()) { hash = (37 * hash) + IMGFLAG_FIELD_NUMBER; hash = (53 * hash) + getImgFlag(); } if (hasRemark()) { hash = (37 * hash) + REMARK_FIELD_NUMBER; hash = (53 * hash) + getRemark().hashCode(); } if (hasRemarkPyinitial()) { hash = (37 * hash) + REMARKPYINITIAL_FIELD_NUMBER; hash = (53 * hash) + getRemarkPyinitial().hashCode(); } if (hasRemarkQuanPin()) { hash = (37 * hash) + REMARKQUANPIN_FIELD_NUMBER; hash = (53 * hash) + getRemarkQuanPin().hashCode(); } if (hasContactType()) { hash = (37 * hash) + CONTACTTYPE_FIELD_NUMBER; hash = (53 * hash) + getContactType(); } if (hasProvince()) { hash = (37 * hash) + PROVINCE_FIELD_NUMBER; hash = (53 * hash) + getProvince().hashCode(); } if (hasCity()) { hash = (37 * hash) + CITY_FIELD_NUMBER; hash = (53 * hash) + getCity().hashCode(); } if (hasSignature()) { hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); } if (hasPersonalCard()) { hash = (37 * hash) + PERSONALCARD_FIELD_NUMBER; hash = (53 * hash) + getPersonalCard(); } if (hasVerifyFlag()) { hash = (37 * hash) + VERIFYFLAG_FIELD_NUMBER; hash = (53 * hash) + getVerifyFlag(); } if (hasVerifyInfo()) { hash = (37 * hash) + VERIFYINFO_FIELD_NUMBER; hash = (53 * hash) + getVerifyInfo().hashCode(); } if (hasWeibo()) { hash = (37 * hash) + WEIBO_FIELD_NUMBER; hash = (53 * hash) + getWeibo().hashCode(); } if (hasVerifyContent()) { hash = (37 * hash) + VERIFYCONTENT_FIELD_NUMBER; hash = (53 * hash) + getVerifyContent().hashCode(); } if (hasWeiboNickname()) { hash = (37 * hash) + WEIBONICKNAME_FIELD_NUMBER; hash = (53 * hash) + getWeiboNickname().hashCode(); } if (hasWeiboFlag()) { hash = (37 * hash) + WEIBOFLAG_FIELD_NUMBER; hash = (53 * hash) + getWeiboFlag(); } if (hasAlbumStyle()) { hash = (37 * hash) + ALBUMSTYLE_FIELD_NUMBER; hash = (53 * hash) + getAlbumStyle(); } if (hasAlbumFlag()) { hash = (37 * hash) + ALBUMFLAG_FIELD_NUMBER; hash = (53 * hash) + getAlbumFlag(); } if (hasAlbumBgimgId()) { hash = (37 * hash) + ALBUMBGIMGID_FIELD_NUMBER; hash = (53 * hash) + getAlbumBgimgId().hashCode(); } if (hasAlias()) { hash = (37 * hash) + ALIAS_FIELD_NUMBER; hash = (53 * hash) + getAlias().hashCode(); } if (hasSnsUserInfo()) { hash = (37 * hash) + SNSUSERINFO_FIELD_NUMBER; hash = (53 * hash) + getSnsUserInfo().hashCode(); } if (hasCountry()) { hash = (37 * hash) + COUNTRY_FIELD_NUMBER; hash = (53 * hash) + getCountry().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(); } if (hasMyBrandList()) { hash = (37 * hash) + MYBRANDLIST_FIELD_NUMBER; hash = (53 * hash) + getMyBrandList().hashCode(); } if (hasCustomizedInfo()) { hash = (37 * hash) + CUSTOMIZEDINFO_FIELD_NUMBER; hash = (53 * hash) + getCustomizedInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.ModChatRoomMember parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModChatRoomMember parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.ModChatRoomMember parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModChatRoomMember 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.Syncitem.ModChatRoomMember parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModChatRoomMember parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.ModChatRoomMember parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModChatRoomMember 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.Syncitem.ModChatRoomMember parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModChatRoomMember 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.Syncitem.ModChatRoomMember parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModChatRoomMember 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.Syncitem.ModChatRoomMember 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.ModChatRoomMember} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.ModChatRoomMember) wechat.protobuf.Syncitem.ModChatRoomMemberOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModChatRoomMember_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModChatRoomMember_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.ModChatRoomMember.class, wechat.protobuf.Syncitem.ModChatRoomMember.Builder.class); } // Construct using wechat.protobuf.Syncitem.ModChatRoomMember.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUserNameFieldBuilder(); getNickNameFieldBuilder(); getPyinitialFieldBuilder(); getQuanPinFieldBuilder(); getImgBufFieldBuilder(); getRemarkFieldBuilder(); getRemarkPyinitialFieldBuilder(); getRemarkQuanPinFieldBuilder(); getSnsUserInfoFieldBuilder(); getCustomizedInfoFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (userNameBuilder_ == null) { userName_ = null; } else { userNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (nickNameBuilder_ == null) { nickName_ = null; } else { nickNameBuilder_.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); sex_ = 0; bitField0_ = (bitField0_ & ~0x00000010); if (imgBufBuilder_ == null) { imgBuf_ = null; } else { imgBufBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); imgFlag_ = 0; bitField0_ = (bitField0_ & ~0x00000040); if (remarkBuilder_ == null) { remark_ = null; } else { remarkBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); if (remarkPyinitialBuilder_ == null) { remarkPyinitial_ = null; } else { remarkPyinitialBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); if (remarkQuanPinBuilder_ == null) { remarkQuanPin_ = null; } else { remarkQuanPinBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); contactType_ = 0; bitField0_ = (bitField0_ & ~0x00000400); province_ = ""; bitField0_ = (bitField0_ & ~0x00000800); city_ = ""; bitField0_ = (bitField0_ & ~0x00001000); signature_ = ""; bitField0_ = (bitField0_ & ~0x00002000); personalCard_ = 0; bitField0_ = (bitField0_ & ~0x00004000); verifyFlag_ = 0; bitField0_ = (bitField0_ & ~0x00008000); verifyInfo_ = ""; bitField0_ = (bitField0_ & ~0x00010000); weibo_ = ""; bitField0_ = (bitField0_ & ~0x00020000); verifyContent_ = ""; bitField0_ = (bitField0_ & ~0x00040000); weiboNickname_ = ""; bitField0_ = (bitField0_ & ~0x00080000); weiboFlag_ = 0; bitField0_ = (bitField0_ & ~0x00100000); albumStyle_ = 0; bitField0_ = (bitField0_ & ~0x00200000); albumFlag_ = 0; bitField0_ = (bitField0_ & ~0x00400000); albumBgimgId_ = ""; bitField0_ = (bitField0_ & ~0x00800000); alias_ = ""; bitField0_ = (bitField0_ & ~0x01000000); if (snsUserInfoBuilder_ == null) { snsUserInfo_ = null; } else { snsUserInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x02000000); country_ = ""; bitField0_ = (bitField0_ & ~0x04000000); bigHeadImgUrl_ = ""; bitField0_ = (bitField0_ & ~0x08000000); smallHeadImgUrl_ = ""; bitField0_ = (bitField0_ & ~0x10000000); myBrandList_ = ""; bitField0_ = (bitField0_ & ~0x20000000); if (customizedInfoBuilder_ == null) { customizedInfo_ = null; } else { customizedInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x40000000); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModChatRoomMember_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.ModChatRoomMember getDefaultInstanceForType() { return wechat.protobuf.Syncitem.ModChatRoomMember.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.ModChatRoomMember build() { wechat.protobuf.Syncitem.ModChatRoomMember result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.ModChatRoomMember buildPartial() { wechat.protobuf.Syncitem.ModChatRoomMember result = new wechat.protobuf.Syncitem.ModChatRoomMember(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (userNameBuilder_ == null) { result.userName_ = userName_; } else { result.userName_ = userNameBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (nickNameBuilder_ == null) { result.nickName_ = nickName_; } else { result.nickName_ = nickNameBuilder_.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.sex_ = sex_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { if (imgBufBuilder_ == null) { result.imgBuf_ = imgBuf_; } else { result.imgBuf_ = imgBufBuilder_.build(); } to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.imgFlag_ = imgFlag_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { if (remarkBuilder_ == null) { result.remark_ = remark_; } else { result.remark_ = remarkBuilder_.build(); } to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { if (remarkPyinitialBuilder_ == null) { result.remarkPyinitial_ = remarkPyinitial_; } else { result.remarkPyinitial_ = remarkPyinitialBuilder_.build(); } to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { if (remarkQuanPinBuilder_ == null) { result.remarkQuanPin_ = remarkQuanPin_; } else { result.remarkQuanPin_ = remarkQuanPinBuilder_.build(); } to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { result.contactType_ = contactType_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00000800) != 0)) { to_bitField0_ |= 0x00000800; } result.province_ = province_; if (((from_bitField0_ & 0x00001000) != 0)) { to_bitField0_ |= 0x00001000; } result.city_ = city_; if (((from_bitField0_ & 0x00002000) != 0)) { to_bitField0_ |= 0x00002000; } result.signature_ = signature_; if (((from_bitField0_ & 0x00004000) != 0)) { result.personalCard_ = personalCard_; to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00008000) != 0)) { result.verifyFlag_ = verifyFlag_; to_bitField0_ |= 0x00008000; } if (((from_bitField0_ & 0x00010000) != 0)) { to_bitField0_ |= 0x00010000; } result.verifyInfo_ = verifyInfo_; if (((from_bitField0_ & 0x00020000) != 0)) { to_bitField0_ |= 0x00020000; } result.weibo_ = weibo_; if (((from_bitField0_ & 0x00040000) != 0)) { to_bitField0_ |= 0x00040000; } result.verifyContent_ = verifyContent_; if (((from_bitField0_ & 0x00080000) != 0)) { to_bitField0_ |= 0x00080000; } result.weiboNickname_ = weiboNickname_; if (((from_bitField0_ & 0x00100000) != 0)) { result.weiboFlag_ = weiboFlag_; to_bitField0_ |= 0x00100000; } if (((from_bitField0_ & 0x00200000) != 0)) { result.albumStyle_ = albumStyle_; to_bitField0_ |= 0x00200000; } if (((from_bitField0_ & 0x00400000) != 0)) { result.albumFlag_ = albumFlag_; to_bitField0_ |= 0x00400000; } if (((from_bitField0_ & 0x00800000) != 0)) { to_bitField0_ |= 0x00800000; } result.albumBgimgId_ = albumBgimgId_; if (((from_bitField0_ & 0x01000000) != 0)) { to_bitField0_ |= 0x01000000; } result.alias_ = alias_; if (((from_bitField0_ & 0x02000000) != 0)) { if (snsUserInfoBuilder_ == null) { result.snsUserInfo_ = snsUserInfo_; } else { result.snsUserInfo_ = snsUserInfoBuilder_.build(); } to_bitField0_ |= 0x02000000; } if (((from_bitField0_ & 0x04000000) != 0)) { to_bitField0_ |= 0x04000000; } result.country_ = country_; if (((from_bitField0_ & 0x08000000) != 0)) { to_bitField0_ |= 0x08000000; } result.bigHeadImgUrl_ = bigHeadImgUrl_; if (((from_bitField0_ & 0x10000000) != 0)) { to_bitField0_ |= 0x10000000; } result.smallHeadImgUrl_ = smallHeadImgUrl_; if (((from_bitField0_ & 0x20000000) != 0)) { to_bitField0_ |= 0x20000000; } result.myBrandList_ = myBrandList_; if (((from_bitField0_ & 0x40000000) != 0)) { if (customizedInfoBuilder_ == null) { result.customizedInfo_ = customizedInfo_; } else { result.customizedInfo_ = customizedInfoBuilder_.build(); } to_bitField0_ |= 0x40000000; } 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.Syncitem.ModChatRoomMember) { return mergeFrom((wechat.protobuf.Syncitem.ModChatRoomMember)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.ModChatRoomMember other) { if (other == wechat.protobuf.Syncitem.ModChatRoomMember.getDefaultInstance()) return this; if (other.hasUserName()) { mergeUserName(other.getUserName()); } if (other.hasNickName()) { mergeNickName(other.getNickName()); } if (other.hasPyinitial()) { mergePyinitial(other.getPyinitial()); } if (other.hasQuanPin()) { mergeQuanPin(other.getQuanPin()); } if (other.hasSex()) { setSex(other.getSex()); } if (other.hasImgBuf()) { mergeImgBuf(other.getImgBuf()); } if (other.hasImgFlag()) { setImgFlag(other.getImgFlag()); } if (other.hasRemark()) { mergeRemark(other.getRemark()); } if (other.hasRemarkPyinitial()) { mergeRemarkPyinitial(other.getRemarkPyinitial()); } if (other.hasRemarkQuanPin()) { mergeRemarkQuanPin(other.getRemarkQuanPin()); } if (other.hasContactType()) { setContactType(other.getContactType()); } if (other.hasProvince()) { bitField0_ |= 0x00000800; province_ = other.province_; onChanged(); } if (other.hasCity()) { bitField0_ |= 0x00001000; city_ = other.city_; onChanged(); } if (other.hasSignature()) { bitField0_ |= 0x00002000; signature_ = other.signature_; onChanged(); } if (other.hasPersonalCard()) { setPersonalCard(other.getPersonalCard()); } if (other.hasVerifyFlag()) { setVerifyFlag(other.getVerifyFlag()); } if (other.hasVerifyInfo()) { bitField0_ |= 0x00010000; verifyInfo_ = other.verifyInfo_; onChanged(); } if (other.hasWeibo()) { bitField0_ |= 0x00020000; weibo_ = other.weibo_; onChanged(); } if (other.hasVerifyContent()) { bitField0_ |= 0x00040000; verifyContent_ = other.verifyContent_; onChanged(); } if (other.hasWeiboNickname()) { bitField0_ |= 0x00080000; weiboNickname_ = other.weiboNickname_; onChanged(); } if (other.hasWeiboFlag()) { setWeiboFlag(other.getWeiboFlag()); } if (other.hasAlbumStyle()) { setAlbumStyle(other.getAlbumStyle()); } if (other.hasAlbumFlag()) { setAlbumFlag(other.getAlbumFlag()); } if (other.hasAlbumBgimgId()) { bitField0_ |= 0x00800000; albumBgimgId_ = other.albumBgimgId_; onChanged(); } if (other.hasAlias()) { bitField0_ |= 0x01000000; alias_ = other.alias_; onChanged(); } if (other.hasSnsUserInfo()) { mergeSnsUserInfo(other.getSnsUserInfo()); } if (other.hasCountry()) { bitField0_ |= 0x04000000; country_ = other.country_; onChanged(); } if (other.hasBigHeadImgUrl()) { bitField0_ |= 0x08000000; bigHeadImgUrl_ = other.bigHeadImgUrl_; onChanged(); } if (other.hasSmallHeadImgUrl()) { bitField0_ |= 0x10000000; smallHeadImgUrl_ = other.smallHeadImgUrl_; onChanged(); } if (other.hasMyBrandList()) { bitField0_ |= 0x20000000; myBrandList_ = other.myBrandList_; onChanged(); } if (other.hasCustomizedInfo()) { mergeCustomizedInfo(other.getCustomizedInfo()); } 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.Syncitem.ModChatRoomMember parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.ModChatRoomMember) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private wechat.protobuf.Wechat.SKBuiltinString userName_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> userNameBuilder_; /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return Whether the userName field is set. */ public boolean hasUserName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SKBuiltinString userName = 1; * @return The userName. */ public wechat.protobuf.Wechat.SKBuiltinString getUserName() { if (userNameBuilder_ == null) { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } else { return userNameBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public Builder setUserName(wechat.protobuf.Wechat.SKBuiltinString value) { if (userNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userName_ = value; onChanged(); } else { userNameBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public Builder setUserName( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (userNameBuilder_ == null) { userName_ = builderForValue.build(); onChanged(); } else { userNameBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public Builder mergeUserName(wechat.protobuf.Wechat.SKBuiltinString value) { if (userNameBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && userName_ != null && userName_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { userName_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(userName_).mergeFrom(value).buildPartial(); } else { userName_ = value; } onChanged(); } else { userNameBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public Builder clearUserName() { if (userNameBuilder_ == null) { userName_ = null; onChanged(); } else { userNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getUserNameBuilder() { bitField0_ |= 0x00000001; onChanged(); return getUserNameFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getUserNameOrBuilder() { if (userNameBuilder_ != null) { return userNameBuilder_.getMessageOrBuilder(); } else { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } } /** * optional .wechat_proto.SKBuiltinString userName = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getUserNameFieldBuilder() { if (userNameBuilder_ == null) { userNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getUserName(), getParentForChildren(), isClean()); userName_ = null; } return userNameBuilder_; } private wechat.protobuf.Wechat.SKBuiltinString nickName_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> nickNameBuilder_; /** * optional .wechat_proto.SKBuiltinString nickName = 2; * @return Whether the nickName field is set. */ public boolean hasNickName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString nickName = 2; * @return The nickName. */ public wechat.protobuf.Wechat.SKBuiltinString getNickName() { if (nickNameBuilder_ == null) { return nickName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : nickName_; } else { return nickNameBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString nickName = 2; */ public Builder setNickName(wechat.protobuf.Wechat.SKBuiltinString value) { if (nickNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } nickName_ = value; onChanged(); } else { nickNameBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString nickName = 2; */ public Builder setNickName( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (nickNameBuilder_ == null) { nickName_ = builderForValue.build(); onChanged(); } else { nickNameBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString nickName = 2; */ public Builder mergeNickName(wechat.protobuf.Wechat.SKBuiltinString value) { if (nickNameBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && nickName_ != null && nickName_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { nickName_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(nickName_).mergeFrom(value).buildPartial(); } else { nickName_ = value; } onChanged(); } else { nickNameBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString nickName = 2; */ public Builder clearNickName() { if (nickNameBuilder_ == null) { nickName_ = null; onChanged(); } else { nickNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SKBuiltinString nickName = 2; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getNickNameBuilder() { bitField0_ |= 0x00000002; onChanged(); return getNickNameFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString nickName = 2; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getNickNameOrBuilder() { if (nickNameBuilder_ != null) { return nickNameBuilder_.getMessageOrBuilder(); } else { return nickName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : nickName_; } } /** * optional .wechat_proto.SKBuiltinString nickName = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getNickNameFieldBuilder() { if (nickNameBuilder_ == null) { nickNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getNickName(), getParentForChildren(), isClean()); nickName_ = null; } return nickNameBuilder_; } private wechat.protobuf.Wechat.SKBuiltinString pyinitial_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.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.Wechat.SKBuiltinString getPyinitial() { if (pyinitialBuilder_ == null) { return pyinitial_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : pyinitial_; } else { return pyinitialBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString pyinitial = 3; */ public Builder setPyinitial(wechat.protobuf.Wechat.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.Wechat.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.Wechat.SKBuiltinString value) { if (pyinitialBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && pyinitial_ != null && pyinitial_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { pyinitial_ = wechat.protobuf.Wechat.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.Wechat.SKBuiltinString.Builder getPyinitialBuilder() { bitField0_ |= 0x00000004; onChanged(); return getPyinitialFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString pyinitial = 3; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getPyinitialOrBuilder() { if (pyinitialBuilder_ != null) { return pyinitialBuilder_.getMessageOrBuilder(); } else { return pyinitial_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : pyinitial_; } } /** * optional .wechat_proto.SKBuiltinString pyinitial = 3; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getPyinitialFieldBuilder() { if (pyinitialBuilder_ == null) { pyinitialBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getPyinitial(), getParentForChildren(), isClean()); pyinitial_ = null; } return pyinitialBuilder_; } private wechat.protobuf.Wechat.SKBuiltinString quanPin_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.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.Wechat.SKBuiltinString getQuanPin() { if (quanPinBuilder_ == null) { return quanPin_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : quanPin_; } else { return quanPinBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString quanPin = 4; */ public Builder setQuanPin(wechat.protobuf.Wechat.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.Wechat.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.Wechat.SKBuiltinString value) { if (quanPinBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && quanPin_ != null && quanPin_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { quanPin_ = wechat.protobuf.Wechat.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.Wechat.SKBuiltinString.Builder getQuanPinBuilder() { bitField0_ |= 0x00000008; onChanged(); return getQuanPinFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString quanPin = 4; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getQuanPinOrBuilder() { if (quanPinBuilder_ != null) { return quanPinBuilder_.getMessageOrBuilder(); } else { return quanPin_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : quanPin_; } } /** * optional .wechat_proto.SKBuiltinString quanPin = 4; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getQuanPinFieldBuilder() { if (quanPinBuilder_ == null) { quanPinBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getQuanPin(), getParentForChildren(), isClean()); quanPin_ = null; } return quanPinBuilder_; } private int sex_ ; /** * optional uint32 sex = 5; * @return Whether the sex field is set. */ @java.lang.Override public boolean hasSex() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 sex = 5; * @return The sex. */ @java.lang.Override public int getSex() { return sex_; } /** * optional uint32 sex = 5; * @param value The sex to set. * @return This builder for chaining. */ public Builder setSex(int value) { bitField0_ |= 0x00000010; sex_ = value; onChanged(); return this; } /** * optional uint32 sex = 5; * @return This builder for chaining. */ public Builder clearSex() { bitField0_ = (bitField0_ & ~0x00000010); sex_ = 0; onChanged(); return this; } private wechat.protobuf.Wechat.SKBuiltinString_ imgBuf_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder> imgBufBuilder_; /** * optional .wechat_proto.SKBuiltinString_ imgBuf = 6; * @return Whether the imgBuf field is set. */ public boolean hasImgBuf() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .wechat_proto.SKBuiltinString_ imgBuf = 6; * @return The imgBuf. */ public wechat.protobuf.Wechat.SKBuiltinString_ getImgBuf() { if (imgBufBuilder_ == null) { return imgBuf_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : imgBuf_; } else { return imgBufBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ imgBuf = 6; */ public Builder setImgBuf(wechat.protobuf.Wechat.SKBuiltinString_ value) { if (imgBufBuilder_ == null) { if (value == null) { throw new NullPointerException(); } imgBuf_ = value; onChanged(); } else { imgBufBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .wechat_proto.SKBuiltinString_ imgBuf = 6; */ public Builder setImgBuf( wechat.protobuf.Wechat.SKBuiltinString_.Builder builderForValue) { if (imgBufBuilder_ == null) { imgBuf_ = builderForValue.build(); onChanged(); } else { imgBufBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .wechat_proto.SKBuiltinString_ imgBuf = 6; */ public Builder mergeImgBuf(wechat.protobuf.Wechat.SKBuiltinString_ value) { if (imgBufBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && imgBuf_ != null && imgBuf_ != wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance()) { imgBuf_ = wechat.protobuf.Wechat.SKBuiltinString_.newBuilder(imgBuf_).mergeFrom(value).buildPartial(); } else { imgBuf_ = value; } onChanged(); } else { imgBufBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .wechat_proto.SKBuiltinString_ imgBuf = 6; */ public Builder clearImgBuf() { if (imgBufBuilder_ == null) { imgBuf_ = null; onChanged(); } else { imgBufBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .wechat_proto.SKBuiltinString_ imgBuf = 6; */ public wechat.protobuf.Wechat.SKBuiltinString_.Builder getImgBufBuilder() { bitField0_ |= 0x00000020; onChanged(); return getImgBufFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ imgBuf = 6; */ public wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getImgBufOrBuilder() { if (imgBufBuilder_ != null) { return imgBufBuilder_.getMessageOrBuilder(); } else { return imgBuf_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : imgBuf_; } } /** * optional .wechat_proto.SKBuiltinString_ imgBuf = 6; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder> getImgBufFieldBuilder() { if (imgBufBuilder_ == null) { imgBufBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder>( getImgBuf(), getParentForChildren(), isClean()); imgBuf_ = null; } return imgBufBuilder_; } private int imgFlag_ ; /** * optional uint32 imgFlag = 7; * @return Whether the imgFlag field is set. */ @java.lang.Override public boolean hasImgFlag() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 imgFlag = 7; * @return The imgFlag. */ @java.lang.Override public int getImgFlag() { return imgFlag_; } /** * optional uint32 imgFlag = 7; * @param value The imgFlag to set. * @return This builder for chaining. */ public Builder setImgFlag(int value) { bitField0_ |= 0x00000040; imgFlag_ = value; onChanged(); return this; } /** * optional uint32 imgFlag = 7; * @return This builder for chaining. */ public Builder clearImgFlag() { bitField0_ = (bitField0_ & ~0x00000040); imgFlag_ = 0; onChanged(); return this; } private wechat.protobuf.Wechat.SKBuiltinString remark_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> remarkBuilder_; /** * optional .wechat_proto.SKBuiltinString remark = 8; * @return Whether the remark field is set. */ public boolean hasRemark() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .wechat_proto.SKBuiltinString remark = 8; * @return The remark. */ public wechat.protobuf.Wechat.SKBuiltinString getRemark() { if (remarkBuilder_ == null) { return remark_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : remark_; } else { return remarkBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString remark = 8; */ public Builder setRemark(wechat.protobuf.Wechat.SKBuiltinString value) { if (remarkBuilder_ == null) { if (value == null) { throw new NullPointerException(); } remark_ = value; onChanged(); } else { remarkBuilder_.setMessage(value); } bitField0_ |= 0x00000080; return this; } /** * optional .wechat_proto.SKBuiltinString remark = 8; */ public Builder setRemark( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (remarkBuilder_ == null) { remark_ = builderForValue.build(); onChanged(); } else { remarkBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /** * optional .wechat_proto.SKBuiltinString remark = 8; */ public Builder mergeRemark(wechat.protobuf.Wechat.SKBuiltinString value) { if (remarkBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && remark_ != null && remark_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { remark_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(remark_).mergeFrom(value).buildPartial(); } else { remark_ = value; } onChanged(); } else { remarkBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /** * optional .wechat_proto.SKBuiltinString remark = 8; */ public Builder clearRemark() { if (remarkBuilder_ == null) { remark_ = null; onChanged(); } else { remarkBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * optional .wechat_proto.SKBuiltinString remark = 8; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getRemarkBuilder() { bitField0_ |= 0x00000080; onChanged(); return getRemarkFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString remark = 8; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getRemarkOrBuilder() { if (remarkBuilder_ != null) { return remarkBuilder_.getMessageOrBuilder(); } else { return remark_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : remark_; } } /** * optional .wechat_proto.SKBuiltinString remark = 8; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getRemarkFieldBuilder() { if (remarkBuilder_ == null) { remarkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getRemark(), getParentForChildren(), isClean()); remark_ = null; } return remarkBuilder_; } private wechat.protobuf.Wechat.SKBuiltinString remarkPyinitial_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> remarkPyinitialBuilder_; /** * optional .wechat_proto.SKBuiltinString remarkPyinitial = 9; * @return Whether the remarkPyinitial field is set. */ public boolean hasRemarkPyinitial() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .wechat_proto.SKBuiltinString remarkPyinitial = 9; * @return The remarkPyinitial. */ public wechat.protobuf.Wechat.SKBuiltinString getRemarkPyinitial() { if (remarkPyinitialBuilder_ == null) { return remarkPyinitial_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : remarkPyinitial_; } else { return remarkPyinitialBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString remarkPyinitial = 9; */ public Builder setRemarkPyinitial(wechat.protobuf.Wechat.SKBuiltinString value) { if (remarkPyinitialBuilder_ == null) { if (value == null) { throw new NullPointerException(); } remarkPyinitial_ = value; onChanged(); } else { remarkPyinitialBuilder_.setMessage(value); } bitField0_ |= 0x00000100; return this; } /** * optional .wechat_proto.SKBuiltinString remarkPyinitial = 9; */ public Builder setRemarkPyinitial( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (remarkPyinitialBuilder_ == null) { remarkPyinitial_ = builderForValue.build(); onChanged(); } else { remarkPyinitialBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; } /** * optional .wechat_proto.SKBuiltinString remarkPyinitial = 9; */ public Builder mergeRemarkPyinitial(wechat.protobuf.Wechat.SKBuiltinString value) { if (remarkPyinitialBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && remarkPyinitial_ != null && remarkPyinitial_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { remarkPyinitial_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(remarkPyinitial_).mergeFrom(value).buildPartial(); } else { remarkPyinitial_ = value; } onChanged(); } else { remarkPyinitialBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /** * optional .wechat_proto.SKBuiltinString remarkPyinitial = 9; */ public Builder clearRemarkPyinitial() { if (remarkPyinitialBuilder_ == null) { remarkPyinitial_ = null; onChanged(); } else { remarkPyinitialBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * optional .wechat_proto.SKBuiltinString remarkPyinitial = 9; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getRemarkPyinitialBuilder() { bitField0_ |= 0x00000100; onChanged(); return getRemarkPyinitialFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString remarkPyinitial = 9; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getRemarkPyinitialOrBuilder() { if (remarkPyinitialBuilder_ != null) { return remarkPyinitialBuilder_.getMessageOrBuilder(); } else { return remarkPyinitial_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : remarkPyinitial_; } } /** * optional .wechat_proto.SKBuiltinString remarkPyinitial = 9; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getRemarkPyinitialFieldBuilder() { if (remarkPyinitialBuilder_ == null) { remarkPyinitialBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getRemarkPyinitial(), getParentForChildren(), isClean()); remarkPyinitial_ = null; } return remarkPyinitialBuilder_; } private wechat.protobuf.Wechat.SKBuiltinString remarkQuanPin_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> remarkQuanPinBuilder_; /** * optional .wechat_proto.SKBuiltinString remarkQuanPin = 10; * @return Whether the remarkQuanPin field is set. */ public boolean hasRemarkQuanPin() { return ((bitField0_ & 0x00000200) != 0); } /** * optional .wechat_proto.SKBuiltinString remarkQuanPin = 10; * @return The remarkQuanPin. */ public wechat.protobuf.Wechat.SKBuiltinString getRemarkQuanPin() { if (remarkQuanPinBuilder_ == null) { return remarkQuanPin_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : remarkQuanPin_; } else { return remarkQuanPinBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString remarkQuanPin = 10; */ public Builder setRemarkQuanPin(wechat.protobuf.Wechat.SKBuiltinString value) { if (remarkQuanPinBuilder_ == null) { if (value == null) { throw new NullPointerException(); } remarkQuanPin_ = value; onChanged(); } else { remarkQuanPinBuilder_.setMessage(value); } bitField0_ |= 0x00000200; return this; } /** * optional .wechat_proto.SKBuiltinString remarkQuanPin = 10; */ public Builder setRemarkQuanPin( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (remarkQuanPinBuilder_ == null) { remarkQuanPin_ = builderForValue.build(); onChanged(); } else { remarkQuanPinBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; return this; } /** * optional .wechat_proto.SKBuiltinString remarkQuanPin = 10; */ public Builder mergeRemarkQuanPin(wechat.protobuf.Wechat.SKBuiltinString value) { if (remarkQuanPinBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0) && remarkQuanPin_ != null && remarkQuanPin_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { remarkQuanPin_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(remarkQuanPin_).mergeFrom(value).buildPartial(); } else { remarkQuanPin_ = value; } onChanged(); } else { remarkQuanPinBuilder_.mergeFrom(value); } bitField0_ |= 0x00000200; return this; } /** * optional .wechat_proto.SKBuiltinString remarkQuanPin = 10; */ public Builder clearRemarkQuanPin() { if (remarkQuanPinBuilder_ == null) { remarkQuanPin_ = null; onChanged(); } else { remarkQuanPinBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); return this; } /** * optional .wechat_proto.SKBuiltinString remarkQuanPin = 10; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getRemarkQuanPinBuilder() { bitField0_ |= 0x00000200; onChanged(); return getRemarkQuanPinFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString remarkQuanPin = 10; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getRemarkQuanPinOrBuilder() { if (remarkQuanPinBuilder_ != null) { return remarkQuanPinBuilder_.getMessageOrBuilder(); } else { return remarkQuanPin_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : remarkQuanPin_; } } /** * optional .wechat_proto.SKBuiltinString remarkQuanPin = 10; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getRemarkQuanPinFieldBuilder() { if (remarkQuanPinBuilder_ == null) { remarkQuanPinBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getRemarkQuanPin(), getParentForChildren(), isClean()); remarkQuanPin_ = null; } return remarkQuanPinBuilder_; } private int contactType_ ; /** * optional uint32 contactType = 11; * @return Whether the contactType field is set. */ @java.lang.Override public boolean hasContactType() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint32 contactType = 11; * @return The contactType. */ @java.lang.Override public int getContactType() { return contactType_; } /** * optional uint32 contactType = 11; * @param value The contactType to set. * @return This builder for chaining. */ public Builder setContactType(int value) { bitField0_ |= 0x00000400; contactType_ = value; onChanged(); return this; } /** * optional uint32 contactType = 11; * @return This builder for chaining. */ public Builder clearContactType() { bitField0_ = (bitField0_ & ~0x00000400); contactType_ = 0; onChanged(); return this; } private java.lang.Object province_ = ""; /** * optional string province = 12; * @return Whether the province field is set. */ public boolean hasProvince() { return ((bitField0_ & 0x00000800) != 0); } /** * optional string province = 12; * @return The province. */ public java.lang.String getProvince() { java.lang.Object ref = province_; 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()) { province_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string province = 12; * @return The bytes for province. */ public com.google.protobuf.ByteString getProvinceBytes() { java.lang.Object ref = province_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); province_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string province = 12; * @param value The province to set. * @return This builder for chaining. */ public Builder setProvince( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; province_ = value; onChanged(); return this; } /** * optional string province = 12; * @return This builder for chaining. */ public Builder clearProvince() { bitField0_ = (bitField0_ & ~0x00000800); province_ = getDefaultInstance().getProvince(); onChanged(); return this; } /** * optional string province = 12; * @param value The bytes for province to set. * @return This builder for chaining. */ public Builder setProvinceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; province_ = value; onChanged(); return this; } private java.lang.Object city_ = ""; /** * optional string city = 13; * @return Whether the city field is set. */ public boolean hasCity() { return ((bitField0_ & 0x00001000) != 0); } /** * optional string city = 13; * @return The city. */ public java.lang.String getCity() { java.lang.Object ref = city_; 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()) { city_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string city = 13; * @return The bytes for city. */ public com.google.protobuf.ByteString getCityBytes() { java.lang.Object ref = city_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); city_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string city = 13; * @param value The city to set. * @return This builder for chaining. */ public Builder setCity( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; city_ = value; onChanged(); return this; } /** * optional string city = 13; * @return This builder for chaining. */ public Builder clearCity() { bitField0_ = (bitField0_ & ~0x00001000); city_ = getDefaultInstance().getCity(); onChanged(); return this; } /** * optional string city = 13; * @param value The bytes for city to set. * @return This builder for chaining. */ public Builder setCityBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; city_ = value; onChanged(); return this; } private java.lang.Object signature_ = ""; /** * optional string signature = 14; * @return Whether the signature field is set. */ public boolean hasSignature() { return ((bitField0_ & 0x00002000) != 0); } /** * optional string signature = 14; * @return The signature. */ public java.lang.String getSignature() { java.lang.Object ref = signature_; 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()) { signature_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string signature = 14; * @return The bytes for signature. */ public com.google.protobuf.ByteString getSignatureBytes() { java.lang.Object ref = signature_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signature_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string signature = 14; * @param value The signature to set. * @return This builder for chaining. */ public Builder setSignature( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; signature_ = value; onChanged(); return this; } /** * optional string signature = 14; * @return This builder for chaining. */ public Builder clearSignature() { bitField0_ = (bitField0_ & ~0x00002000); signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } /** * optional string signature = 14; * @param value The bytes for signature to set. * @return This builder for chaining. */ public Builder setSignatureBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; signature_ = value; onChanged(); return this; } private int personalCard_ ; /** * optional uint32 personalCard = 15; * @return Whether the personalCard field is set. */ @java.lang.Override public boolean hasPersonalCard() { return ((bitField0_ & 0x00004000) != 0); } /** * optional uint32 personalCard = 15; * @return The personalCard. */ @java.lang.Override public int getPersonalCard() { return personalCard_; } /** * optional uint32 personalCard = 15; * @param value The personalCard to set. * @return This builder for chaining. */ public Builder setPersonalCard(int value) { bitField0_ |= 0x00004000; personalCard_ = value; onChanged(); return this; } /** * optional uint32 personalCard = 15; * @return This builder for chaining. */ public Builder clearPersonalCard() { bitField0_ = (bitField0_ & ~0x00004000); personalCard_ = 0; onChanged(); return this; } private int verifyFlag_ ; /** * optional uint32 verifyFlag = 16; * @return Whether the verifyFlag field is set. */ @java.lang.Override public boolean hasVerifyFlag() { return ((bitField0_ & 0x00008000) != 0); } /** * optional uint32 verifyFlag = 16; * @return The verifyFlag. */ @java.lang.Override public int getVerifyFlag() { return verifyFlag_; } /** * optional uint32 verifyFlag = 16; * @param value The verifyFlag to set. * @return This builder for chaining. */ public Builder setVerifyFlag(int value) { bitField0_ |= 0x00008000; verifyFlag_ = value; onChanged(); return this; } /** * optional uint32 verifyFlag = 16; * @return This builder for chaining. */ public Builder clearVerifyFlag() { bitField0_ = (bitField0_ & ~0x00008000); verifyFlag_ = 0; onChanged(); return this; } private java.lang.Object verifyInfo_ = ""; /** * optional string verifyInfo = 17; * @return Whether the verifyInfo field is set. */ public boolean hasVerifyInfo() { return ((bitField0_ & 0x00010000) != 0); } /** * optional string verifyInfo = 17; * @return The verifyInfo. */ public java.lang.String getVerifyInfo() { java.lang.Object ref = verifyInfo_; 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()) { verifyInfo_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string verifyInfo = 17; * @return The bytes for verifyInfo. */ public com.google.protobuf.ByteString getVerifyInfoBytes() { java.lang.Object ref = verifyInfo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); verifyInfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string verifyInfo = 17; * @param value The verifyInfo to set. * @return This builder for chaining. */ public Builder setVerifyInfo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; verifyInfo_ = value; onChanged(); return this; } /** * optional string verifyInfo = 17; * @return This builder for chaining. */ public Builder clearVerifyInfo() { bitField0_ = (bitField0_ & ~0x00010000); verifyInfo_ = getDefaultInstance().getVerifyInfo(); onChanged(); return this; } /** * optional string verifyInfo = 17; * @param value The bytes for verifyInfo to set. * @return This builder for chaining. */ public Builder setVerifyInfoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; verifyInfo_ = value; onChanged(); return this; } private java.lang.Object weibo_ = ""; /** * optional string weibo = 18; * @return Whether the weibo field is set. */ public boolean hasWeibo() { return ((bitField0_ & 0x00020000) != 0); } /** * optional string weibo = 18; * @return The weibo. */ public java.lang.String getWeibo() { java.lang.Object ref = weibo_; 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()) { weibo_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string weibo = 18; * @return The bytes for weibo. */ public com.google.protobuf.ByteString getWeiboBytes() { java.lang.Object ref = weibo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); weibo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string weibo = 18; * @param value The weibo to set. * @return This builder for chaining. */ public Builder setWeibo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00020000; weibo_ = value; onChanged(); return this; } /** * optional string weibo = 18; * @return This builder for chaining. */ public Builder clearWeibo() { bitField0_ = (bitField0_ & ~0x00020000); weibo_ = getDefaultInstance().getWeibo(); onChanged(); return this; } /** * optional string weibo = 18; * @param value The bytes for weibo to set. * @return This builder for chaining. */ public Builder setWeiboBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00020000; weibo_ = value; onChanged(); return this; } private java.lang.Object verifyContent_ = ""; /** * optional string verifyContent = 19; * @return Whether the verifyContent field is set. */ public boolean hasVerifyContent() { return ((bitField0_ & 0x00040000) != 0); } /** * optional string verifyContent = 19; * @return The verifyContent. */ public java.lang.String getVerifyContent() { java.lang.Object ref = verifyContent_; 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()) { verifyContent_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string verifyContent = 19; * @return The bytes for verifyContent. */ public com.google.protobuf.ByteString getVerifyContentBytes() { java.lang.Object ref = verifyContent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); verifyContent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string verifyContent = 19; * @param value The verifyContent to set. * @return This builder for chaining. */ public Builder setVerifyContent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00040000; verifyContent_ = value; onChanged(); return this; } /** * optional string verifyContent = 19; * @return This builder for chaining. */ public Builder clearVerifyContent() { bitField0_ = (bitField0_ & ~0x00040000); verifyContent_ = getDefaultInstance().getVerifyContent(); onChanged(); return this; } /** * optional string verifyContent = 19; * @param value The bytes for verifyContent to set. * @return This builder for chaining. */ public Builder setVerifyContentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00040000; verifyContent_ = value; onChanged(); return this; } private java.lang.Object weiboNickname_ = ""; /** * optional string weiboNickname = 20; * @return Whether the weiboNickname field is set. */ public boolean hasWeiboNickname() { return ((bitField0_ & 0x00080000) != 0); } /** * optional string weiboNickname = 20; * @return The weiboNickname. */ public java.lang.String getWeiboNickname() { java.lang.Object ref = weiboNickname_; 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()) { weiboNickname_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string weiboNickname = 20; * @return The bytes for weiboNickname. */ public com.google.protobuf.ByteString getWeiboNicknameBytes() { java.lang.Object ref = weiboNickname_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); weiboNickname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string weiboNickname = 20; * @param value The weiboNickname to set. * @return This builder for chaining. */ public Builder setWeiboNickname( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00080000; weiboNickname_ = value; onChanged(); return this; } /** * optional string weiboNickname = 20; * @return This builder for chaining. */ public Builder clearWeiboNickname() { bitField0_ = (bitField0_ & ~0x00080000); weiboNickname_ = getDefaultInstance().getWeiboNickname(); onChanged(); return this; } /** * optional string weiboNickname = 20; * @param value The bytes for weiboNickname to set. * @return This builder for chaining. */ public Builder setWeiboNicknameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00080000; weiboNickname_ = value; onChanged(); return this; } private int weiboFlag_ ; /** * optional uint32 weiboFlag = 21; * @return Whether the weiboFlag field is set. */ @java.lang.Override public boolean hasWeiboFlag() { return ((bitField0_ & 0x00100000) != 0); } /** * optional uint32 weiboFlag = 21; * @return The weiboFlag. */ @java.lang.Override public int getWeiboFlag() { return weiboFlag_; } /** * optional uint32 weiboFlag = 21; * @param value The weiboFlag to set. * @return This builder for chaining. */ public Builder setWeiboFlag(int value) { bitField0_ |= 0x00100000; weiboFlag_ = value; onChanged(); return this; } /** * optional uint32 weiboFlag = 21; * @return This builder for chaining. */ public Builder clearWeiboFlag() { bitField0_ = (bitField0_ & ~0x00100000); weiboFlag_ = 0; onChanged(); return this; } private int albumStyle_ ; /** * optional uint32 albumStyle = 22; * @return Whether the albumStyle field is set. */ @java.lang.Override public boolean hasAlbumStyle() { return ((bitField0_ & 0x00200000) != 0); } /** * optional uint32 albumStyle = 22; * @return The albumStyle. */ @java.lang.Override public int getAlbumStyle() { return albumStyle_; } /** * optional uint32 albumStyle = 22; * @param value The albumStyle to set. * @return This builder for chaining. */ public Builder setAlbumStyle(int value) { bitField0_ |= 0x00200000; albumStyle_ = value; onChanged(); return this; } /** * optional uint32 albumStyle = 22; * @return This builder for chaining. */ public Builder clearAlbumStyle() { bitField0_ = (bitField0_ & ~0x00200000); albumStyle_ = 0; onChanged(); return this; } private int albumFlag_ ; /** * optional uint32 albumFlag = 23; * @return Whether the albumFlag field is set. */ @java.lang.Override public boolean hasAlbumFlag() { return ((bitField0_ & 0x00400000) != 0); } /** * optional uint32 albumFlag = 23; * @return The albumFlag. */ @java.lang.Override public int getAlbumFlag() { return albumFlag_; } /** * optional uint32 albumFlag = 23; * @param value The albumFlag to set. * @return This builder for chaining. */ public Builder setAlbumFlag(int value) { bitField0_ |= 0x00400000; albumFlag_ = value; onChanged(); return this; } /** * optional uint32 albumFlag = 23; * @return This builder for chaining. */ public Builder clearAlbumFlag() { bitField0_ = (bitField0_ & ~0x00400000); albumFlag_ = 0; onChanged(); return this; } private java.lang.Object albumBgimgId_ = ""; /** * optional string albumBgimgId = 24; * @return Whether the albumBgimgId field is set. */ public boolean hasAlbumBgimgId() { return ((bitField0_ & 0x00800000) != 0); } /** * optional string albumBgimgId = 24; * @return The albumBgimgId. */ public java.lang.String getAlbumBgimgId() { java.lang.Object ref = albumBgimgId_; 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()) { albumBgimgId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string albumBgimgId = 24; * @return The bytes for albumBgimgId. */ public com.google.protobuf.ByteString getAlbumBgimgIdBytes() { java.lang.Object ref = albumBgimgId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); albumBgimgId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string albumBgimgId = 24; * @param value The albumBgimgId to set. * @return This builder for chaining. */ public Builder setAlbumBgimgId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00800000; albumBgimgId_ = value; onChanged(); return this; } /** * optional string albumBgimgId = 24; * @return This builder for chaining. */ public Builder clearAlbumBgimgId() { bitField0_ = (bitField0_ & ~0x00800000); albumBgimgId_ = getDefaultInstance().getAlbumBgimgId(); onChanged(); return this; } /** * optional string albumBgimgId = 24; * @param value The bytes for albumBgimgId to set. * @return This builder for chaining. */ public Builder setAlbumBgimgIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00800000; albumBgimgId_ = value; onChanged(); return this; } private java.lang.Object alias_ = ""; /** * optional string alias = 25; * @return Whether the alias field is set. */ public boolean hasAlias() { return ((bitField0_ & 0x01000000) != 0); } /** * optional string alias = 25; * @return The alias. */ public java.lang.String getAlias() { java.lang.Object ref = alias_; 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()) { alias_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string alias = 25; * @return The bytes for alias. */ public com.google.protobuf.ByteString getAliasBytes() { java.lang.Object ref = alias_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); alias_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string alias = 25; * @param value The alias to set. * @return This builder for chaining. */ public Builder setAlias( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x01000000; alias_ = value; onChanged(); return this; } /** * optional string alias = 25; * @return This builder for chaining. */ public Builder clearAlias() { bitField0_ = (bitField0_ & ~0x01000000); alias_ = getDefaultInstance().getAlias(); onChanged(); return this; } /** * optional string alias = 25; * @param value The bytes for alias to set. * @return This builder for chaining. */ public Builder setAliasBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x01000000; alias_ = value; onChanged(); return this; } private wechat.protobuf.Wechat.SnsUserInfo snsUserInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SnsUserInfo, wechat.protobuf.Wechat.SnsUserInfo.Builder, wechat.protobuf.Wechat.SnsUserInfoOrBuilder> snsUserInfoBuilder_; /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 26; * @return Whether the snsUserInfo field is set. */ public boolean hasSnsUserInfo() { return ((bitField0_ & 0x02000000) != 0); } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 26; * @return The snsUserInfo. */ public wechat.protobuf.Wechat.SnsUserInfo getSnsUserInfo() { if (snsUserInfoBuilder_ == null) { return snsUserInfo_ == null ? wechat.protobuf.Wechat.SnsUserInfo.getDefaultInstance() : snsUserInfo_; } else { return snsUserInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 26; */ public Builder setSnsUserInfo(wechat.protobuf.Wechat.SnsUserInfo value) { if (snsUserInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snsUserInfo_ = value; onChanged(); } else { snsUserInfoBuilder_.setMessage(value); } bitField0_ |= 0x02000000; return this; } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 26; */ public Builder setSnsUserInfo( wechat.protobuf.Wechat.SnsUserInfo.Builder builderForValue) { if (snsUserInfoBuilder_ == null) { snsUserInfo_ = builderForValue.build(); onChanged(); } else { snsUserInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x02000000; return this; } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 26; */ public Builder mergeSnsUserInfo(wechat.protobuf.Wechat.SnsUserInfo value) { if (snsUserInfoBuilder_ == null) { if (((bitField0_ & 0x02000000) != 0) && snsUserInfo_ != null && snsUserInfo_ != wechat.protobuf.Wechat.SnsUserInfo.getDefaultInstance()) { snsUserInfo_ = wechat.protobuf.Wechat.SnsUserInfo.newBuilder(snsUserInfo_).mergeFrom(value).buildPartial(); } else { snsUserInfo_ = value; } onChanged(); } else { snsUserInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x02000000; return this; } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 26; */ public Builder clearSnsUserInfo() { if (snsUserInfoBuilder_ == null) { snsUserInfo_ = null; onChanged(); } else { snsUserInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x02000000); return this; } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 26; */ public wechat.protobuf.Wechat.SnsUserInfo.Builder getSnsUserInfoBuilder() { bitField0_ |= 0x02000000; onChanged(); return getSnsUserInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 26; */ public wechat.protobuf.Wechat.SnsUserInfoOrBuilder getSnsUserInfoOrBuilder() { if (snsUserInfoBuilder_ != null) { return snsUserInfoBuilder_.getMessageOrBuilder(); } else { return snsUserInfo_ == null ? wechat.protobuf.Wechat.SnsUserInfo.getDefaultInstance() : snsUserInfo_; } } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 26; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SnsUserInfo, wechat.protobuf.Wechat.SnsUserInfo.Builder, wechat.protobuf.Wechat.SnsUserInfoOrBuilder> getSnsUserInfoFieldBuilder() { if (snsUserInfoBuilder_ == null) { snsUserInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SnsUserInfo, wechat.protobuf.Wechat.SnsUserInfo.Builder, wechat.protobuf.Wechat.SnsUserInfoOrBuilder>( getSnsUserInfo(), getParentForChildren(), isClean()); snsUserInfo_ = null; } return snsUserInfoBuilder_; } private java.lang.Object country_ = ""; /** * optional string country = 27; * @return Whether the country field is set. */ public boolean hasCountry() { return ((bitField0_ & 0x04000000) != 0); } /** * optional string country = 27; * @return The country. */ public java.lang.String getCountry() { java.lang.Object ref = country_; 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()) { country_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string country = 27; * @return The bytes for country. */ public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string country = 27; * @param value The country to set. * @return This builder for chaining. */ public Builder setCountry( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x04000000; country_ = value; onChanged(); return this; } /** * optional string country = 27; * @return This builder for chaining. */ public Builder clearCountry() { bitField0_ = (bitField0_ & ~0x04000000); country_ = getDefaultInstance().getCountry(); onChanged(); return this; } /** * optional string country = 27; * @param value The bytes for country to set. * @return This builder for chaining. */ public Builder setCountryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x04000000; country_ = value; onChanged(); return this; } private java.lang.Object bigHeadImgUrl_ = ""; /** * optional string bigHeadImgUrl = 28; * @return Whether the bigHeadImgUrl field is set. */ public boolean hasBigHeadImgUrl() { return ((bitField0_ & 0x08000000) != 0); } /** * optional string bigHeadImgUrl = 28; * @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 = 28; * @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 = 28; * @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_ |= 0x08000000; bigHeadImgUrl_ = value; onChanged(); return this; } /** * optional string bigHeadImgUrl = 28; * @return This builder for chaining. */ public Builder clearBigHeadImgUrl() { bitField0_ = (bitField0_ & ~0x08000000); bigHeadImgUrl_ = getDefaultInstance().getBigHeadImgUrl(); onChanged(); return this; } /** * optional string bigHeadImgUrl = 28; * @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_ |= 0x08000000; bigHeadImgUrl_ = value; onChanged(); return this; } private java.lang.Object smallHeadImgUrl_ = ""; /** * optional string smallHeadImgUrl = 29; * @return Whether the smallHeadImgUrl field is set. */ public boolean hasSmallHeadImgUrl() { return ((bitField0_ & 0x10000000) != 0); } /** * optional string smallHeadImgUrl = 29; * @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 = 29; * @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 = 29; * @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_ |= 0x10000000; smallHeadImgUrl_ = value; onChanged(); return this; } /** * optional string smallHeadImgUrl = 29; * @return This builder for chaining. */ public Builder clearSmallHeadImgUrl() { bitField0_ = (bitField0_ & ~0x10000000); smallHeadImgUrl_ = getDefaultInstance().getSmallHeadImgUrl(); onChanged(); return this; } /** * optional string smallHeadImgUrl = 29; * @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_ |= 0x10000000; smallHeadImgUrl_ = value; onChanged(); return this; } private java.lang.Object myBrandList_ = ""; /** * optional string myBrandList = 30; * @return Whether the myBrandList field is set. */ public boolean hasMyBrandList() { return ((bitField0_ & 0x20000000) != 0); } /** * optional string myBrandList = 30; * @return The myBrandList. */ public java.lang.String getMyBrandList() { java.lang.Object ref = myBrandList_; 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()) { myBrandList_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string myBrandList = 30; * @return The bytes for myBrandList. */ public com.google.protobuf.ByteString getMyBrandListBytes() { java.lang.Object ref = myBrandList_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); myBrandList_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string myBrandList = 30; * @param value The myBrandList to set. * @return This builder for chaining. */ public Builder setMyBrandList( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x20000000; myBrandList_ = value; onChanged(); return this; } /** * optional string myBrandList = 30; * @return This builder for chaining. */ public Builder clearMyBrandList() { bitField0_ = (bitField0_ & ~0x20000000); myBrandList_ = getDefaultInstance().getMyBrandList(); onChanged(); return this; } /** * optional string myBrandList = 30; * @param value The bytes for myBrandList to set. * @return This builder for chaining. */ public Builder setMyBrandListBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x20000000; myBrandList_ = value; onChanged(); return this; } private wechat.protobuf.Wechat.CustomizedInfo customizedInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.CustomizedInfo, wechat.protobuf.Wechat.CustomizedInfo.Builder, wechat.protobuf.Wechat.CustomizedInfoOrBuilder> customizedInfoBuilder_; /** * optional .wechat_proto.CustomizedInfo customizedInfo = 31; * @return Whether the customizedInfo field is set. */ public boolean hasCustomizedInfo() { return ((bitField0_ & 0x40000000) != 0); } /** * optional .wechat_proto.CustomizedInfo customizedInfo = 31; * @return The customizedInfo. */ public wechat.protobuf.Wechat.CustomizedInfo getCustomizedInfo() { if (customizedInfoBuilder_ == null) { return customizedInfo_ == null ? wechat.protobuf.Wechat.CustomizedInfo.getDefaultInstance() : customizedInfo_; } else { return customizedInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.CustomizedInfo customizedInfo = 31; */ public Builder setCustomizedInfo(wechat.protobuf.Wechat.CustomizedInfo value) { if (customizedInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } customizedInfo_ = value; onChanged(); } else { customizedInfoBuilder_.setMessage(value); } bitField0_ |= 0x40000000; return this; } /** * optional .wechat_proto.CustomizedInfo customizedInfo = 31; */ public Builder setCustomizedInfo( wechat.protobuf.Wechat.CustomizedInfo.Builder builderForValue) { if (customizedInfoBuilder_ == null) { customizedInfo_ = builderForValue.build(); onChanged(); } else { customizedInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x40000000; return this; } /** * optional .wechat_proto.CustomizedInfo customizedInfo = 31; */ public Builder mergeCustomizedInfo(wechat.protobuf.Wechat.CustomizedInfo value) { if (customizedInfoBuilder_ == null) { if (((bitField0_ & 0x40000000) != 0) && customizedInfo_ != null && customizedInfo_ != wechat.protobuf.Wechat.CustomizedInfo.getDefaultInstance()) { customizedInfo_ = wechat.protobuf.Wechat.CustomizedInfo.newBuilder(customizedInfo_).mergeFrom(value).buildPartial(); } else { customizedInfo_ = value; } onChanged(); } else { customizedInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x40000000; return this; } /** * optional .wechat_proto.CustomizedInfo customizedInfo = 31; */ public Builder clearCustomizedInfo() { if (customizedInfoBuilder_ == null) { customizedInfo_ = null; onChanged(); } else { customizedInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x40000000); return this; } /** * optional .wechat_proto.CustomizedInfo customizedInfo = 31; */ public wechat.protobuf.Wechat.CustomizedInfo.Builder getCustomizedInfoBuilder() { bitField0_ |= 0x40000000; onChanged(); return getCustomizedInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.CustomizedInfo customizedInfo = 31; */ public wechat.protobuf.Wechat.CustomizedInfoOrBuilder getCustomizedInfoOrBuilder() { if (customizedInfoBuilder_ != null) { return customizedInfoBuilder_.getMessageOrBuilder(); } else { return customizedInfo_ == null ? wechat.protobuf.Wechat.CustomizedInfo.getDefaultInstance() : customizedInfo_; } } /** * optional .wechat_proto.CustomizedInfo customizedInfo = 31; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.CustomizedInfo, wechat.protobuf.Wechat.CustomizedInfo.Builder, wechat.protobuf.Wechat.CustomizedInfoOrBuilder> getCustomizedInfoFieldBuilder() { if (customizedInfoBuilder_ == null) { customizedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.CustomizedInfo, wechat.protobuf.Wechat.CustomizedInfo.Builder, wechat.protobuf.Wechat.CustomizedInfoOrBuilder>( getCustomizedInfo(), getParentForChildren(), isClean()); customizedInfo_ = null; } return customizedInfoBuilder_; } @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.ModChatRoomMember) } // @@protoc_insertion_point(class_scope:wechat_proto.ModChatRoomMember) private static final wechat.protobuf.Syncitem.ModChatRoomMember DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.ModChatRoomMember(); } public static wechat.protobuf.Syncitem.ModChatRoomMember getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ModChatRoomMember parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ModChatRoomMember(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.Syncitem.ModChatRoomMember getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QuitChatRoomOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.QuitChatRoom) com.google.protobuf.MessageOrBuilder { /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return Whether the chatRoomName field is set. */ boolean hasChatRoomName(); /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return The chatRoomName. */ wechat.protobuf.Wechat.SKBuiltinString getChatRoomName(); /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getChatRoomNameOrBuilder(); /** * optional .wechat_proto.SKBuiltinString userName = 2; * @return Whether the userName field is set. */ boolean hasUserName(); /** * optional .wechat_proto.SKBuiltinString userName = 2; * @return The userName. */ wechat.protobuf.Wechat.SKBuiltinString getUserName(); /** * optional .wechat_proto.SKBuiltinString userName = 2; */ wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getUserNameOrBuilder(); } /** * Protobuf type {@code wechat_proto.QuitChatRoom} */ public static final class QuitChatRoom extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.QuitChatRoom) QuitChatRoomOrBuilder { private static final long serialVersionUID = 0L; // Use QuitChatRoom.newBuilder() to construct. private QuitChatRoom(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QuitChatRoom() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QuitChatRoom(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QuitChatRoom( 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.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = chatRoomName_.toBuilder(); } chatRoomName_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(chatRoomName_); chatRoomName_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { wechat.protobuf.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = userName_.toBuilder(); } userName_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(userName_); userName_ = 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.Syncitem.internal_static_wechat_proto_QuitChatRoom_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_QuitChatRoom_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.QuitChatRoom.class, wechat.protobuf.Syncitem.QuitChatRoom.Builder.class); } private int bitField0_; public static final int CHATROOMNAME_FIELD_NUMBER = 1; private wechat.protobuf.Wechat.SKBuiltinString chatRoomName_; /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return Whether the chatRoomName field is set. */ @java.lang.Override public boolean hasChatRoomName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return The chatRoomName. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getChatRoomName() { return chatRoomName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomName_; } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getChatRoomNameOrBuilder() { return chatRoomName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomName_; } public static final int USERNAME_FIELD_NUMBER = 2; private wechat.protobuf.Wechat.SKBuiltinString userName_; /** * optional .wechat_proto.SKBuiltinString userName = 2; * @return Whether the userName field is set. */ @java.lang.Override public boolean hasUserName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString userName = 2; * @return The userName. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getUserName() { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getUserNameOrBuilder() { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } 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, getChatRoomName()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getUserName()); } 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, getChatRoomName()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getUserName()); } 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.Syncitem.QuitChatRoom)) { return super.equals(obj); } wechat.protobuf.Syncitem.QuitChatRoom other = (wechat.protobuf.Syncitem.QuitChatRoom) obj; if (hasChatRoomName() != other.hasChatRoomName()) return false; if (hasChatRoomName()) { if (!getChatRoomName() .equals(other.getChatRoomName())) return false; } if (hasUserName() != other.hasUserName()) return false; if (hasUserName()) { if (!getUserName() .equals(other.getUserName())) 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 (hasChatRoomName()) { hash = (37 * hash) + CHATROOMNAME_FIELD_NUMBER; hash = (53 * hash) + getChatRoomName().hashCode(); } if (hasUserName()) { hash = (37 * hash) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUserName().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.QuitChatRoom parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.QuitChatRoom parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.QuitChatRoom parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.QuitChatRoom 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.Syncitem.QuitChatRoom parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.QuitChatRoom parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.QuitChatRoom parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.QuitChatRoom 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.Syncitem.QuitChatRoom parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.QuitChatRoom 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.Syncitem.QuitChatRoom parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.QuitChatRoom 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.Syncitem.QuitChatRoom 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.QuitChatRoom} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.QuitChatRoom) wechat.protobuf.Syncitem.QuitChatRoomOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_QuitChatRoom_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_QuitChatRoom_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.QuitChatRoom.class, wechat.protobuf.Syncitem.QuitChatRoom.Builder.class); } // Construct using wechat.protobuf.Syncitem.QuitChatRoom.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getChatRoomNameFieldBuilder(); getUserNameFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (chatRoomNameBuilder_ == null) { chatRoomName_ = null; } else { chatRoomNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (userNameBuilder_ == null) { userName_ = null; } else { userNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_QuitChatRoom_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.QuitChatRoom getDefaultInstanceForType() { return wechat.protobuf.Syncitem.QuitChatRoom.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.QuitChatRoom build() { wechat.protobuf.Syncitem.QuitChatRoom result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.QuitChatRoom buildPartial() { wechat.protobuf.Syncitem.QuitChatRoom result = new wechat.protobuf.Syncitem.QuitChatRoom(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (chatRoomNameBuilder_ == null) { result.chatRoomName_ = chatRoomName_; } else { result.chatRoomName_ = chatRoomNameBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (userNameBuilder_ == null) { result.userName_ = userName_; } else { result.userName_ = userNameBuilder_.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.Syncitem.QuitChatRoom) { return mergeFrom((wechat.protobuf.Syncitem.QuitChatRoom)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.QuitChatRoom other) { if (other == wechat.protobuf.Syncitem.QuitChatRoom.getDefaultInstance()) return this; if (other.hasChatRoomName()) { mergeChatRoomName(other.getChatRoomName()); } if (other.hasUserName()) { mergeUserName(other.getUserName()); } 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.Syncitem.QuitChatRoom parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.QuitChatRoom) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private wechat.protobuf.Wechat.SKBuiltinString chatRoomName_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> chatRoomNameBuilder_; /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return Whether the chatRoomName field is set. */ public boolean hasChatRoomName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return The chatRoomName. */ public wechat.protobuf.Wechat.SKBuiltinString getChatRoomName() { if (chatRoomNameBuilder_ == null) { return chatRoomName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomName_; } else { return chatRoomNameBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public Builder setChatRoomName(wechat.protobuf.Wechat.SKBuiltinString value) { if (chatRoomNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } chatRoomName_ = value; onChanged(); } else { chatRoomNameBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public Builder setChatRoomName( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (chatRoomNameBuilder_ == null) { chatRoomName_ = builderForValue.build(); onChanged(); } else { chatRoomNameBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public Builder mergeChatRoomName(wechat.protobuf.Wechat.SKBuiltinString value) { if (chatRoomNameBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && chatRoomName_ != null && chatRoomName_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { chatRoomName_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(chatRoomName_).mergeFrom(value).buildPartial(); } else { chatRoomName_ = value; } onChanged(); } else { chatRoomNameBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public Builder clearChatRoomName() { if (chatRoomNameBuilder_ == null) { chatRoomName_ = null; onChanged(); } else { chatRoomNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getChatRoomNameBuilder() { bitField0_ |= 0x00000001; onChanged(); return getChatRoomNameFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getChatRoomNameOrBuilder() { if (chatRoomNameBuilder_ != null) { return chatRoomNameBuilder_.getMessageOrBuilder(); } else { return chatRoomName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomName_; } } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getChatRoomNameFieldBuilder() { if (chatRoomNameBuilder_ == null) { chatRoomNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getChatRoomName(), getParentForChildren(), isClean()); chatRoomName_ = null; } return chatRoomNameBuilder_; } private wechat.protobuf.Wechat.SKBuiltinString userName_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> userNameBuilder_; /** * optional .wechat_proto.SKBuiltinString userName = 2; * @return Whether the userName field is set. */ public boolean hasUserName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString userName = 2; * @return The userName. */ public wechat.protobuf.Wechat.SKBuiltinString getUserName() { if (userNameBuilder_ == null) { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } else { return userNameBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ public Builder setUserName(wechat.protobuf.Wechat.SKBuiltinString value) { if (userNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userName_ = value; onChanged(); } else { userNameBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ public Builder setUserName( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (userNameBuilder_ == null) { userName_ = builderForValue.build(); onChanged(); } else { userNameBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ public Builder mergeUserName(wechat.protobuf.Wechat.SKBuiltinString value) { if (userNameBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && userName_ != null && userName_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { userName_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(userName_).mergeFrom(value).buildPartial(); } else { userName_ = value; } onChanged(); } else { userNameBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ public Builder clearUserName() { if (userNameBuilder_ == null) { userName_ = null; onChanged(); } else { userNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getUserNameBuilder() { bitField0_ |= 0x00000002; onChanged(); return getUserNameFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getUserNameOrBuilder() { if (userNameBuilder_ != null) { return userNameBuilder_.getMessageOrBuilder(); } else { return userName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : userName_; } } /** * optional .wechat_proto.SKBuiltinString userName = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getUserNameFieldBuilder() { if (userNameBuilder_ == null) { userNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getUserName(), getParentForChildren(), isClean()); userName_ = null; } return userNameBuilder_; } @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.QuitChatRoom) } // @@protoc_insertion_point(class_scope:wechat_proto.QuitChatRoom) private static final wechat.protobuf.Syncitem.QuitChatRoom DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.QuitChatRoom(); } public static wechat.protobuf.Syncitem.QuitChatRoom getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QuitChatRoom parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QuitChatRoom(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.Syncitem.QuitChatRoom getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ModChatRoomNotifyOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.ModChatRoomNotify) com.google.protobuf.MessageOrBuilder { /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return Whether the chatRoomName field is set. */ boolean hasChatRoomName(); /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return The chatRoomName. */ wechat.protobuf.Wechat.SKBuiltinString getChatRoomName(); /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getChatRoomNameOrBuilder(); /** * optional uint32 status = 2; * @return Whether the status field is set. */ boolean hasStatus(); /** * optional uint32 status = 2; * @return The status. */ int getStatus(); } /** * Protobuf type {@code wechat_proto.ModChatRoomNotify} */ public static final class ModChatRoomNotify extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.ModChatRoomNotify) ModChatRoomNotifyOrBuilder { private static final long serialVersionUID = 0L; // Use ModChatRoomNotify.newBuilder() to construct. private ModChatRoomNotify(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ModChatRoomNotify() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ModChatRoomNotify(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ModChatRoomNotify( 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.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = chatRoomName_.toBuilder(); } chatRoomName_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(chatRoomName_); chatRoomName_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 16: { bitField0_ |= 0x00000002; status_ = 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.Syncitem.internal_static_wechat_proto_ModChatRoomNotify_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModChatRoomNotify_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.ModChatRoomNotify.class, wechat.protobuf.Syncitem.ModChatRoomNotify.Builder.class); } private int bitField0_; public static final int CHATROOMNAME_FIELD_NUMBER = 1; private wechat.protobuf.Wechat.SKBuiltinString chatRoomName_; /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return Whether the chatRoomName field is set. */ @java.lang.Override public boolean hasChatRoomName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return The chatRoomName. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getChatRoomName() { return chatRoomName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomName_; } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getChatRoomNameOrBuilder() { return chatRoomName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomName_; } public static final int STATUS_FIELD_NUMBER = 2; private int status_; /** * optional uint32 status = 2; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 status = 2; * @return The status. */ @java.lang.Override public int getStatus() { return status_; } 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, getChatRoomName()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, status_); } 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, getChatRoomName()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, status_); } 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.Syncitem.ModChatRoomNotify)) { return super.equals(obj); } wechat.protobuf.Syncitem.ModChatRoomNotify other = (wechat.protobuf.Syncitem.ModChatRoomNotify) obj; if (hasChatRoomName() != other.hasChatRoomName()) return false; if (hasChatRoomName()) { if (!getChatRoomName() .equals(other.getChatRoomName())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (getStatus() != other.getStatus()) 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 (hasChatRoomName()) { hash = (37 * hash) + CHATROOMNAME_FIELD_NUMBER; hash = (53 * hash) + getChatRoomName().hashCode(); } if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.ModChatRoomNotify parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModChatRoomNotify parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.ModChatRoomNotify parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModChatRoomNotify 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.Syncitem.ModChatRoomNotify parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModChatRoomNotify parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.ModChatRoomNotify parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModChatRoomNotify 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.Syncitem.ModChatRoomNotify parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModChatRoomNotify 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.Syncitem.ModChatRoomNotify parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModChatRoomNotify 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.Syncitem.ModChatRoomNotify 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.ModChatRoomNotify} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.ModChatRoomNotify) wechat.protobuf.Syncitem.ModChatRoomNotifyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModChatRoomNotify_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModChatRoomNotify_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.ModChatRoomNotify.class, wechat.protobuf.Syncitem.ModChatRoomNotify.Builder.class); } // Construct using wechat.protobuf.Syncitem.ModChatRoomNotify.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getChatRoomNameFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (chatRoomNameBuilder_ == null) { chatRoomName_ = null; } else { chatRoomNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); status_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModChatRoomNotify_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.ModChatRoomNotify getDefaultInstanceForType() { return wechat.protobuf.Syncitem.ModChatRoomNotify.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.ModChatRoomNotify build() { wechat.protobuf.Syncitem.ModChatRoomNotify result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.ModChatRoomNotify buildPartial() { wechat.protobuf.Syncitem.ModChatRoomNotify result = new wechat.protobuf.Syncitem.ModChatRoomNotify(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (chatRoomNameBuilder_ == null) { result.chatRoomName_ = chatRoomName_; } else { result.chatRoomName_ = chatRoomNameBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.status_ = status_; 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.Syncitem.ModChatRoomNotify) { return mergeFrom((wechat.protobuf.Syncitem.ModChatRoomNotify)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.ModChatRoomNotify other) { if (other == wechat.protobuf.Syncitem.ModChatRoomNotify.getDefaultInstance()) return this; if (other.hasChatRoomName()) { mergeChatRoomName(other.getChatRoomName()); } if (other.hasStatus()) { setStatus(other.getStatus()); } 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.Syncitem.ModChatRoomNotify parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.ModChatRoomNotify) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private wechat.protobuf.Wechat.SKBuiltinString chatRoomName_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> chatRoomNameBuilder_; /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return Whether the chatRoomName field is set. */ public boolean hasChatRoomName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return The chatRoomName. */ public wechat.protobuf.Wechat.SKBuiltinString getChatRoomName() { if (chatRoomNameBuilder_ == null) { return chatRoomName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomName_; } else { return chatRoomNameBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public Builder setChatRoomName(wechat.protobuf.Wechat.SKBuiltinString value) { if (chatRoomNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } chatRoomName_ = value; onChanged(); } else { chatRoomNameBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public Builder setChatRoomName( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (chatRoomNameBuilder_ == null) { chatRoomName_ = builderForValue.build(); onChanged(); } else { chatRoomNameBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public Builder mergeChatRoomName(wechat.protobuf.Wechat.SKBuiltinString value) { if (chatRoomNameBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && chatRoomName_ != null && chatRoomName_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { chatRoomName_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(chatRoomName_).mergeFrom(value).buildPartial(); } else { chatRoomName_ = value; } onChanged(); } else { chatRoomNameBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public Builder clearChatRoomName() { if (chatRoomNameBuilder_ == null) { chatRoomName_ = null; onChanged(); } else { chatRoomNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getChatRoomNameBuilder() { bitField0_ |= 0x00000001; onChanged(); return getChatRoomNameFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getChatRoomNameOrBuilder() { if (chatRoomNameBuilder_ != null) { return chatRoomNameBuilder_.getMessageOrBuilder(); } else { return chatRoomName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomName_; } } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getChatRoomNameFieldBuilder() { if (chatRoomNameBuilder_ == null) { chatRoomNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getChatRoomName(), getParentForChildren(), isClean()); chatRoomName_ = null; } return chatRoomNameBuilder_; } private int status_ ; /** * optional uint32 status = 2; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 status = 2; * @return The status. */ @java.lang.Override public int getStatus() { return status_; } /** * optional uint32 status = 2; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(int value) { bitField0_ |= 0x00000002; status_ = value; onChanged(); return this; } /** * optional uint32 status = 2; * @return This builder for chaining. */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000002); status_ = 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.ModChatRoomNotify) } // @@protoc_insertion_point(class_scope:wechat_proto.ModChatRoomNotify) private static final wechat.protobuf.Syncitem.ModChatRoomNotify DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.ModChatRoomNotify(); } public static wechat.protobuf.Syncitem.ModChatRoomNotify getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ModChatRoomNotify parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ModChatRoomNotify(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.Syncitem.ModChatRoomNotify getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface InviteFriendOpenOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.InviteFriendOpen) 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 friendType = 2; * @return Whether the friendType field is set. */ boolean hasFriendType(); /** * optional uint32 friendType = 2; * @return The friendType. */ int getFriendType(); } /** * Protobuf type {@code wechat_proto.InviteFriendOpen} */ public static final class InviteFriendOpen extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.InviteFriendOpen) InviteFriendOpenOrBuilder { private static final long serialVersionUID = 0L; // Use InviteFriendOpen.newBuilder() to construct. private InviteFriendOpen(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InviteFriendOpen() { userName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InviteFriendOpen(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InviteFriendOpen( 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; friendType_ = 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.Syncitem.internal_static_wechat_proto_InviteFriendOpen_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_InviteFriendOpen_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.InviteFriendOpen.class, wechat.protobuf.Syncitem.InviteFriendOpen.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 FRIENDTYPE_FIELD_NUMBER = 2; private int friendType_; /** * optional uint32 friendType = 2; * @return Whether the friendType field is set. */ @java.lang.Override public boolean hasFriendType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 friendType = 2; * @return The friendType. */ @java.lang.Override public int getFriendType() { return friendType_; } 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, friendType_); } 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, friendType_); } 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.Syncitem.InviteFriendOpen)) { return super.equals(obj); } wechat.protobuf.Syncitem.InviteFriendOpen other = (wechat.protobuf.Syncitem.InviteFriendOpen) obj; if (hasUserName() != other.hasUserName()) return false; if (hasUserName()) { if (!getUserName() .equals(other.getUserName())) return false; } if (hasFriendType() != other.hasFriendType()) return false; if (hasFriendType()) { if (getFriendType() != other.getFriendType()) 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 (hasFriendType()) { hash = (37 * hash) + FRIENDTYPE_FIELD_NUMBER; hash = (53 * hash) + getFriendType(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.InviteFriendOpen parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.InviteFriendOpen parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.InviteFriendOpen parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.InviteFriendOpen 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.Syncitem.InviteFriendOpen parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.InviteFriendOpen parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.InviteFriendOpen parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.InviteFriendOpen 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.Syncitem.InviteFriendOpen parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.InviteFriendOpen 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.Syncitem.InviteFriendOpen parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.InviteFriendOpen 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.Syncitem.InviteFriendOpen 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.InviteFriendOpen} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.InviteFriendOpen) wechat.protobuf.Syncitem.InviteFriendOpenOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_InviteFriendOpen_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_InviteFriendOpen_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.InviteFriendOpen.class, wechat.protobuf.Syncitem.InviteFriendOpen.Builder.class); } // Construct using wechat.protobuf.Syncitem.InviteFriendOpen.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); friendType_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_InviteFriendOpen_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.InviteFriendOpen getDefaultInstanceForType() { return wechat.protobuf.Syncitem.InviteFriendOpen.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.InviteFriendOpen build() { wechat.protobuf.Syncitem.InviteFriendOpen result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.InviteFriendOpen buildPartial() { wechat.protobuf.Syncitem.InviteFriendOpen result = new wechat.protobuf.Syncitem.InviteFriendOpen(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.friendType_ = friendType_; 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.Syncitem.InviteFriendOpen) { return mergeFrom((wechat.protobuf.Syncitem.InviteFriendOpen)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.InviteFriendOpen other) { if (other == wechat.protobuf.Syncitem.InviteFriendOpen.getDefaultInstance()) return this; if (other.hasUserName()) { bitField0_ |= 0x00000001; userName_ = other.userName_; onChanged(); } if (other.hasFriendType()) { setFriendType(other.getFriendType()); } 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.Syncitem.InviteFriendOpen parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.InviteFriendOpen) 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 friendType_ ; /** * optional uint32 friendType = 2; * @return Whether the friendType field is set. */ @java.lang.Override public boolean hasFriendType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 friendType = 2; * @return The friendType. */ @java.lang.Override public int getFriendType() { return friendType_; } /** * optional uint32 friendType = 2; * @param value The friendType to set. * @return This builder for chaining. */ public Builder setFriendType(int value) { bitField0_ |= 0x00000002; friendType_ = value; onChanged(); return this; } /** * optional uint32 friendType = 2; * @return This builder for chaining. */ public Builder clearFriendType() { bitField0_ = (bitField0_ & ~0x00000002); friendType_ = 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.InviteFriendOpen) } // @@protoc_insertion_point(class_scope:wechat_proto.InviteFriendOpen) private static final wechat.protobuf.Syncitem.InviteFriendOpen DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.InviteFriendOpen(); } public static wechat.protobuf.Syncitem.InviteFriendOpen getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InviteFriendOpen parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InviteFriendOpen(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.Syncitem.InviteFriendOpen getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FunctionSwitchOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.FunctionSwitch) com.google.protobuf.MessageOrBuilder { /** * optional uint32 functionId = 1; * @return Whether the functionId field is set. */ boolean hasFunctionId(); /** * optional uint32 functionId = 1; * @return The functionId. */ int getFunctionId(); /** * optional uint32 switchValue = 2; * @return Whether the switchValue field is set. */ boolean hasSwitchValue(); /** * optional uint32 switchValue = 2; * @return The switchValue. */ int getSwitchValue(); } /** * Protobuf type {@code wechat_proto.FunctionSwitch} */ public static final class FunctionSwitch extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.FunctionSwitch) FunctionSwitchOrBuilder { private static final long serialVersionUID = 0L; // Use FunctionSwitch.newBuilder() to construct. private FunctionSwitch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FunctionSwitch() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FunctionSwitch(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FunctionSwitch( 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; functionId_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; switchValue_ = 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.Syncitem.internal_static_wechat_proto_FunctionSwitch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_FunctionSwitch_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.FunctionSwitch.class, wechat.protobuf.Syncitem.FunctionSwitch.Builder.class); } private int bitField0_; public static final int FUNCTIONID_FIELD_NUMBER = 1; private int functionId_; /** * optional uint32 functionId = 1; * @return Whether the functionId field is set. */ @java.lang.Override public boolean hasFunctionId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 functionId = 1; * @return The functionId. */ @java.lang.Override public int getFunctionId() { return functionId_; } public static final int SWITCHVALUE_FIELD_NUMBER = 2; private int switchValue_; /** * optional uint32 switchValue = 2; * @return Whether the switchValue field is set. */ @java.lang.Override public boolean hasSwitchValue() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 switchValue = 2; * @return The switchValue. */ @java.lang.Override public int getSwitchValue() { return switchValue_; } 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, functionId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, switchValue_); } 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, functionId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, switchValue_); } 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.Syncitem.FunctionSwitch)) { return super.equals(obj); } wechat.protobuf.Syncitem.FunctionSwitch other = (wechat.protobuf.Syncitem.FunctionSwitch) obj; if (hasFunctionId() != other.hasFunctionId()) return false; if (hasFunctionId()) { if (getFunctionId() != other.getFunctionId()) return false; } if (hasSwitchValue() != other.hasSwitchValue()) return false; if (hasSwitchValue()) { if (getSwitchValue() != other.getSwitchValue()) 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 (hasFunctionId()) { hash = (37 * hash) + FUNCTIONID_FIELD_NUMBER; hash = (53 * hash) + getFunctionId(); } if (hasSwitchValue()) { hash = (37 * hash) + SWITCHVALUE_FIELD_NUMBER; hash = (53 * hash) + getSwitchValue(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.FunctionSwitch parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.FunctionSwitch parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.FunctionSwitch parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.FunctionSwitch 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.Syncitem.FunctionSwitch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.FunctionSwitch parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.FunctionSwitch parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.FunctionSwitch 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.Syncitem.FunctionSwitch parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.FunctionSwitch 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.Syncitem.FunctionSwitch parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.FunctionSwitch 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.Syncitem.FunctionSwitch 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.FunctionSwitch} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.FunctionSwitch) wechat.protobuf.Syncitem.FunctionSwitchOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_FunctionSwitch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_FunctionSwitch_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.FunctionSwitch.class, wechat.protobuf.Syncitem.FunctionSwitch.Builder.class); } // Construct using wechat.protobuf.Syncitem.FunctionSwitch.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(); functionId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); switchValue_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_FunctionSwitch_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.FunctionSwitch getDefaultInstanceForType() { return wechat.protobuf.Syncitem.FunctionSwitch.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.FunctionSwitch build() { wechat.protobuf.Syncitem.FunctionSwitch result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.FunctionSwitch buildPartial() { wechat.protobuf.Syncitem.FunctionSwitch result = new wechat.protobuf.Syncitem.FunctionSwitch(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.functionId_ = functionId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.switchValue_ = switchValue_; 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.Syncitem.FunctionSwitch) { return mergeFrom((wechat.protobuf.Syncitem.FunctionSwitch)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.FunctionSwitch other) { if (other == wechat.protobuf.Syncitem.FunctionSwitch.getDefaultInstance()) return this; if (other.hasFunctionId()) { setFunctionId(other.getFunctionId()); } if (other.hasSwitchValue()) { setSwitchValue(other.getSwitchValue()); } 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.Syncitem.FunctionSwitch parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.FunctionSwitch) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int functionId_ ; /** * optional uint32 functionId = 1; * @return Whether the functionId field is set. */ @java.lang.Override public boolean hasFunctionId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 functionId = 1; * @return The functionId. */ @java.lang.Override public int getFunctionId() { return functionId_; } /** * optional uint32 functionId = 1; * @param value The functionId to set. * @return This builder for chaining. */ public Builder setFunctionId(int value) { bitField0_ |= 0x00000001; functionId_ = value; onChanged(); return this; } /** * optional uint32 functionId = 1; * @return This builder for chaining. */ public Builder clearFunctionId() { bitField0_ = (bitField0_ & ~0x00000001); functionId_ = 0; onChanged(); return this; } private int switchValue_ ; /** * optional uint32 switchValue = 2; * @return Whether the switchValue field is set. */ @java.lang.Override public boolean hasSwitchValue() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 switchValue = 2; * @return The switchValue. */ @java.lang.Override public int getSwitchValue() { return switchValue_; } /** * optional uint32 switchValue = 2; * @param value The switchValue to set. * @return This builder for chaining. */ public Builder setSwitchValue(int value) { bitField0_ |= 0x00000002; switchValue_ = value; onChanged(); return this; } /** * optional uint32 switchValue = 2; * @return This builder for chaining. */ public Builder clearSwitchValue() { bitField0_ = (bitField0_ & ~0x00000002); switchValue_ = 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.FunctionSwitch) } // @@protoc_insertion_point(class_scope:wechat_proto.FunctionSwitch) private static final wechat.protobuf.Syncitem.FunctionSwitch DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.FunctionSwitch(); } public static wechat.protobuf.Syncitem.FunctionSwitch getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FunctionSwitch parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FunctionSwitch(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.Syncitem.FunctionSwitch getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ModChatRoomTopicOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.ModChatRoomTopic) com.google.protobuf.MessageOrBuilder { /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return Whether the chatRoomName field is set. */ boolean hasChatRoomName(); /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return The chatRoomName. */ wechat.protobuf.Wechat.SKBuiltinString getChatRoomName(); /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getChatRoomNameOrBuilder(); /** * optional .wechat_proto.SKBuiltinString chatRoomTopic = 2; * @return Whether the chatRoomTopic field is set. */ boolean hasChatRoomTopic(); /** * optional .wechat_proto.SKBuiltinString chatRoomTopic = 2; * @return The chatRoomTopic. */ wechat.protobuf.Wechat.SKBuiltinString getChatRoomTopic(); /** * optional .wechat_proto.SKBuiltinString chatRoomTopic = 2; */ wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getChatRoomTopicOrBuilder(); } /** * Protobuf type {@code wechat_proto.ModChatRoomTopic} */ public static final class ModChatRoomTopic extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.ModChatRoomTopic) ModChatRoomTopicOrBuilder { private static final long serialVersionUID = 0L; // Use ModChatRoomTopic.newBuilder() to construct. private ModChatRoomTopic(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ModChatRoomTopic() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ModChatRoomTopic(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ModChatRoomTopic( 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.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = chatRoomName_.toBuilder(); } chatRoomName_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(chatRoomName_); chatRoomName_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { wechat.protobuf.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = chatRoomTopic_.toBuilder(); } chatRoomTopic_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(chatRoomTopic_); chatRoomTopic_ = 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.Syncitem.internal_static_wechat_proto_ModChatRoomTopic_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModChatRoomTopic_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.ModChatRoomTopic.class, wechat.protobuf.Syncitem.ModChatRoomTopic.Builder.class); } private int bitField0_; public static final int CHATROOMNAME_FIELD_NUMBER = 1; private wechat.protobuf.Wechat.SKBuiltinString chatRoomName_; /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return Whether the chatRoomName field is set. */ @java.lang.Override public boolean hasChatRoomName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return The chatRoomName. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getChatRoomName() { return chatRoomName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomName_; } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getChatRoomNameOrBuilder() { return chatRoomName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomName_; } public static final int CHATROOMTOPIC_FIELD_NUMBER = 2; private wechat.protobuf.Wechat.SKBuiltinString chatRoomTopic_; /** * optional .wechat_proto.SKBuiltinString chatRoomTopic = 2; * @return Whether the chatRoomTopic field is set. */ @java.lang.Override public boolean hasChatRoomTopic() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString chatRoomTopic = 2; * @return The chatRoomTopic. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getChatRoomTopic() { return chatRoomTopic_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomTopic_; } /** * optional .wechat_proto.SKBuiltinString chatRoomTopic = 2; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getChatRoomTopicOrBuilder() { return chatRoomTopic_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomTopic_; } 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, getChatRoomName()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getChatRoomTopic()); } 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, getChatRoomName()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getChatRoomTopic()); } 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.Syncitem.ModChatRoomTopic)) { return super.equals(obj); } wechat.protobuf.Syncitem.ModChatRoomTopic other = (wechat.protobuf.Syncitem.ModChatRoomTopic) obj; if (hasChatRoomName() != other.hasChatRoomName()) return false; if (hasChatRoomName()) { if (!getChatRoomName() .equals(other.getChatRoomName())) return false; } if (hasChatRoomTopic() != other.hasChatRoomTopic()) return false; if (hasChatRoomTopic()) { if (!getChatRoomTopic() .equals(other.getChatRoomTopic())) 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 (hasChatRoomName()) { hash = (37 * hash) + CHATROOMNAME_FIELD_NUMBER; hash = (53 * hash) + getChatRoomName().hashCode(); } if (hasChatRoomTopic()) { hash = (37 * hash) + CHATROOMTOPIC_FIELD_NUMBER; hash = (53 * hash) + getChatRoomTopic().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.ModChatRoomTopic parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModChatRoomTopic parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.ModChatRoomTopic parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModChatRoomTopic 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.Syncitem.ModChatRoomTopic parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModChatRoomTopic parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.ModChatRoomTopic parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModChatRoomTopic 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.Syncitem.ModChatRoomTopic parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModChatRoomTopic 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.Syncitem.ModChatRoomTopic parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModChatRoomTopic 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.Syncitem.ModChatRoomTopic 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.ModChatRoomTopic} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.ModChatRoomTopic) wechat.protobuf.Syncitem.ModChatRoomTopicOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModChatRoomTopic_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModChatRoomTopic_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.ModChatRoomTopic.class, wechat.protobuf.Syncitem.ModChatRoomTopic.Builder.class); } // Construct using wechat.protobuf.Syncitem.ModChatRoomTopic.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getChatRoomNameFieldBuilder(); getChatRoomTopicFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (chatRoomNameBuilder_ == null) { chatRoomName_ = null; } else { chatRoomNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (chatRoomTopicBuilder_ == null) { chatRoomTopic_ = null; } else { chatRoomTopicBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModChatRoomTopic_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.ModChatRoomTopic getDefaultInstanceForType() { return wechat.protobuf.Syncitem.ModChatRoomTopic.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.ModChatRoomTopic build() { wechat.protobuf.Syncitem.ModChatRoomTopic result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.ModChatRoomTopic buildPartial() { wechat.protobuf.Syncitem.ModChatRoomTopic result = new wechat.protobuf.Syncitem.ModChatRoomTopic(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (chatRoomNameBuilder_ == null) { result.chatRoomName_ = chatRoomName_; } else { result.chatRoomName_ = chatRoomNameBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (chatRoomTopicBuilder_ == null) { result.chatRoomTopic_ = chatRoomTopic_; } else { result.chatRoomTopic_ = chatRoomTopicBuilder_.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.Syncitem.ModChatRoomTopic) { return mergeFrom((wechat.protobuf.Syncitem.ModChatRoomTopic)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.ModChatRoomTopic other) { if (other == wechat.protobuf.Syncitem.ModChatRoomTopic.getDefaultInstance()) return this; if (other.hasChatRoomName()) { mergeChatRoomName(other.getChatRoomName()); } if (other.hasChatRoomTopic()) { mergeChatRoomTopic(other.getChatRoomTopic()); } 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.Syncitem.ModChatRoomTopic parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.ModChatRoomTopic) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private wechat.protobuf.Wechat.SKBuiltinString chatRoomName_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> chatRoomNameBuilder_; /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return Whether the chatRoomName field is set. */ public boolean hasChatRoomName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; * @return The chatRoomName. */ public wechat.protobuf.Wechat.SKBuiltinString getChatRoomName() { if (chatRoomNameBuilder_ == null) { return chatRoomName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomName_; } else { return chatRoomNameBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public Builder setChatRoomName(wechat.protobuf.Wechat.SKBuiltinString value) { if (chatRoomNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } chatRoomName_ = value; onChanged(); } else { chatRoomNameBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public Builder setChatRoomName( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (chatRoomNameBuilder_ == null) { chatRoomName_ = builderForValue.build(); onChanged(); } else { chatRoomNameBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public Builder mergeChatRoomName(wechat.protobuf.Wechat.SKBuiltinString value) { if (chatRoomNameBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && chatRoomName_ != null && chatRoomName_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { chatRoomName_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(chatRoomName_).mergeFrom(value).buildPartial(); } else { chatRoomName_ = value; } onChanged(); } else { chatRoomNameBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public Builder clearChatRoomName() { if (chatRoomNameBuilder_ == null) { chatRoomName_ = null; onChanged(); } else { chatRoomNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getChatRoomNameBuilder() { bitField0_ |= 0x00000001; onChanged(); return getChatRoomNameFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getChatRoomNameOrBuilder() { if (chatRoomNameBuilder_ != null) { return chatRoomNameBuilder_.getMessageOrBuilder(); } else { return chatRoomName_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomName_; } } /** * optional .wechat_proto.SKBuiltinString chatRoomName = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getChatRoomNameFieldBuilder() { if (chatRoomNameBuilder_ == null) { chatRoomNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getChatRoomName(), getParentForChildren(), isClean()); chatRoomName_ = null; } return chatRoomNameBuilder_; } private wechat.protobuf.Wechat.SKBuiltinString chatRoomTopic_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> chatRoomTopicBuilder_; /** * optional .wechat_proto.SKBuiltinString chatRoomTopic = 2; * @return Whether the chatRoomTopic field is set. */ public boolean hasChatRoomTopic() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString chatRoomTopic = 2; * @return The chatRoomTopic. */ public wechat.protobuf.Wechat.SKBuiltinString getChatRoomTopic() { if (chatRoomTopicBuilder_ == null) { return chatRoomTopic_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomTopic_; } else { return chatRoomTopicBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString chatRoomTopic = 2; */ public Builder setChatRoomTopic(wechat.protobuf.Wechat.SKBuiltinString value) { if (chatRoomTopicBuilder_ == null) { if (value == null) { throw new NullPointerException(); } chatRoomTopic_ = value; onChanged(); } else { chatRoomTopicBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomTopic = 2; */ public Builder setChatRoomTopic( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (chatRoomTopicBuilder_ == null) { chatRoomTopic_ = builderForValue.build(); onChanged(); } else { chatRoomTopicBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomTopic = 2; */ public Builder mergeChatRoomTopic(wechat.protobuf.Wechat.SKBuiltinString value) { if (chatRoomTopicBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && chatRoomTopic_ != null && chatRoomTopic_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { chatRoomTopic_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(chatRoomTopic_).mergeFrom(value).buildPartial(); } else { chatRoomTopic_ = value; } onChanged(); } else { chatRoomTopicBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomTopic = 2; */ public Builder clearChatRoomTopic() { if (chatRoomTopicBuilder_ == null) { chatRoomTopic_ = null; onChanged(); } else { chatRoomTopicBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SKBuiltinString chatRoomTopic = 2; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getChatRoomTopicBuilder() { bitField0_ |= 0x00000002; onChanged(); return getChatRoomTopicFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString chatRoomTopic = 2; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getChatRoomTopicOrBuilder() { if (chatRoomTopicBuilder_ != null) { return chatRoomTopicBuilder_.getMessageOrBuilder(); } else { return chatRoomTopic_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : chatRoomTopic_; } } /** * optional .wechat_proto.SKBuiltinString chatRoomTopic = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getChatRoomTopicFieldBuilder() { if (chatRoomTopicBuilder_ == null) { chatRoomTopicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getChatRoomTopic(), getParentForChildren(), isClean()); chatRoomTopic_ = null; } return chatRoomTopicBuilder_; } @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.ModChatRoomTopic) } // @@protoc_insertion_point(class_scope:wechat_proto.ModChatRoomTopic) private static final wechat.protobuf.Syncitem.ModChatRoomTopic DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.ModChatRoomTopic(); } public static wechat.protobuf.Syncitem.ModChatRoomTopic getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ModChatRoomTopic parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ModChatRoomTopic(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.Syncitem.ModChatRoomTopic getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ModBottleContactOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.ModBottleContact) 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 type = 2; * @return Whether the type field is set. */ boolean hasType(); /** * optional uint32 type = 2; * @return The type. */ int getType(); /** * optional uint32 sex = 3; * @return Whether the sex field is set. */ boolean hasSex(); /** * optional uint32 sex = 3; * @return The sex. */ int getSex(); /** * optional string city = 4; * @return Whether the city field is set. */ boolean hasCity(); /** * optional string city = 4; * @return The city. */ java.lang.String getCity(); /** * optional string city = 4; * @return The bytes for city. */ com.google.protobuf.ByteString getCityBytes(); /** * optional string province = 5; * @return Whether the province field is set. */ boolean hasProvince(); /** * optional string province = 5; * @return The province. */ java.lang.String getProvince(); /** * optional string province = 5; * @return The bytes for province. */ com.google.protobuf.ByteString getProvinceBytes(); /** * optional string signature = 6; * @return Whether the signature field is set. */ boolean hasSignature(); /** * optional string signature = 6; * @return The signature. */ java.lang.String getSignature(); /** * optional string signature = 6; * @return The bytes for signature. */ com.google.protobuf.ByteString getSignatureBytes(); /** * optional uint32 imgFlag = 7; * @return Whether the imgFlag field is set. */ boolean hasImgFlag(); /** * optional uint32 imgFlag = 7; * @return The imgFlag. */ int getImgFlag(); /** * optional uint32 hdimgFlag = 8; * @return Whether the hdimgFlag field is set. */ boolean hasHdimgFlag(); /** * optional uint32 hdimgFlag = 8; * @return The hdimgFlag. */ int getHdimgFlag(); /** * optional string country = 9; * @return Whether the country field is set. */ boolean hasCountry(); /** * optional string country = 9; * @return The country. */ java.lang.String getCountry(); /** * optional string country = 9; * @return The bytes for country. */ com.google.protobuf.ByteString getCountryBytes(); /** * optional string bigHeadImgUrl = 10; * @return Whether the bigHeadImgUrl field is set. */ boolean hasBigHeadImgUrl(); /** * optional string bigHeadImgUrl = 10; * @return The bigHeadImgUrl. */ java.lang.String getBigHeadImgUrl(); /** * optional string bigHeadImgUrl = 10; * @return The bytes for bigHeadImgUrl. */ com.google.protobuf.ByteString getBigHeadImgUrlBytes(); /** * optional string smallHeadImgUrl = 11; * @return Whether the smallHeadImgUrl field is set. */ boolean hasSmallHeadImgUrl(); /** * optional string smallHeadImgUrl = 11; * @return The smallHeadImgUrl. */ java.lang.String getSmallHeadImgUrl(); /** * optional string smallHeadImgUrl = 11; * @return The bytes for smallHeadImgUrl. */ com.google.protobuf.ByteString getSmallHeadImgUrlBytes(); } /** * Protobuf type {@code wechat_proto.ModBottleContact} */ public static final class ModBottleContact extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.ModBottleContact) ModBottleContactOrBuilder { private static final long serialVersionUID = 0L; // Use ModBottleContact.newBuilder() to construct. private ModBottleContact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ModBottleContact() { userName_ = ""; city_ = ""; province_ = ""; signature_ = ""; country_ = ""; bigHeadImgUrl_ = ""; smallHeadImgUrl_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ModBottleContact(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ModBottleContact( 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; type_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; sex_ = input.readUInt32(); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; city_ = bs; break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; province_ = bs; break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; signature_ = bs; break; } case 56: { bitField0_ |= 0x00000040; imgFlag_ = input.readUInt32(); break; } case 64: { bitField0_ |= 0x00000080; hdimgFlag_ = input.readUInt32(); break; } case 74: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000100; country_ = bs; break; } case 82: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000200; bigHeadImgUrl_ = bs; break; } case 90: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000400; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModBottleContact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModBottleContact_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.ModBottleContact.class, wechat.protobuf.Syncitem.ModBottleContact.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 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 SEX_FIELD_NUMBER = 3; private int sex_; /** * optional uint32 sex = 3; * @return Whether the sex field is set. */ @java.lang.Override public boolean hasSex() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 sex = 3; * @return The sex. */ @java.lang.Override public int getSex() { return sex_; } public static final int CITY_FIELD_NUMBER = 4; private volatile java.lang.Object city_; /** * optional string city = 4; * @return Whether the city field is set. */ @java.lang.Override public boolean hasCity() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string city = 4; * @return The city. */ @java.lang.Override public java.lang.String getCity() { java.lang.Object ref = city_; 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()) { city_ = s; } return s; } } /** * optional string city = 4; * @return The bytes for city. */ @java.lang.Override public com.google.protobuf.ByteString getCityBytes() { java.lang.Object ref = city_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); city_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROVINCE_FIELD_NUMBER = 5; private volatile java.lang.Object province_; /** * optional string province = 5; * @return Whether the province field is set. */ @java.lang.Override public boolean hasProvince() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string province = 5; * @return The province. */ @java.lang.Override public java.lang.String getProvince() { java.lang.Object ref = province_; 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()) { province_ = s; } return s; } } /** * optional string province = 5; * @return The bytes for province. */ @java.lang.Override public com.google.protobuf.ByteString getProvinceBytes() { java.lang.Object ref = province_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); province_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SIGNATURE_FIELD_NUMBER = 6; private volatile java.lang.Object signature_; /** * optional string signature = 6; * @return Whether the signature field is set. */ @java.lang.Override public boolean hasSignature() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string signature = 6; * @return The signature. */ @java.lang.Override public java.lang.String getSignature() { java.lang.Object ref = signature_; 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()) { signature_ = s; } return s; } } /** * optional string signature = 6; * @return The bytes for signature. */ @java.lang.Override public com.google.protobuf.ByteString getSignatureBytes() { java.lang.Object ref = signature_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signature_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IMGFLAG_FIELD_NUMBER = 7; private int imgFlag_; /** * optional uint32 imgFlag = 7; * @return Whether the imgFlag field is set. */ @java.lang.Override public boolean hasImgFlag() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 imgFlag = 7; * @return The imgFlag. */ @java.lang.Override public int getImgFlag() { return imgFlag_; } public static final int HDIMGFLAG_FIELD_NUMBER = 8; private int hdimgFlag_; /** * optional uint32 hdimgFlag = 8; * @return Whether the hdimgFlag field is set. */ @java.lang.Override public boolean hasHdimgFlag() { return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 hdimgFlag = 8; * @return The hdimgFlag. */ @java.lang.Override public int getHdimgFlag() { return hdimgFlag_; } public static final int COUNTRY_FIELD_NUMBER = 9; private volatile java.lang.Object country_; /** * optional string country = 9; * @return Whether the country field is set. */ @java.lang.Override public boolean hasCountry() { return ((bitField0_ & 0x00000100) != 0); } /** * optional string country = 9; * @return The country. */ @java.lang.Override public java.lang.String getCountry() { java.lang.Object ref = country_; 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()) { country_ = s; } return s; } } /** * optional string country = 9; * @return The bytes for country. */ @java.lang.Override public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BIGHEADIMGURL_FIELD_NUMBER = 10; private volatile java.lang.Object bigHeadImgUrl_; /** * optional string bigHeadImgUrl = 10; * @return Whether the bigHeadImgUrl field is set. */ @java.lang.Override public boolean hasBigHeadImgUrl() { return ((bitField0_ & 0x00000200) != 0); } /** * optional string bigHeadImgUrl = 10; * @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 = 10; * @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 = 11; private volatile java.lang.Object smallHeadImgUrl_; /** * optional string smallHeadImgUrl = 11; * @return Whether the smallHeadImgUrl field is set. */ @java.lang.Override public boolean hasSmallHeadImgUrl() { return ((bitField0_ & 0x00000400) != 0); } /** * optional string smallHeadImgUrl = 11; * @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 = 11; * @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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userName_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, type_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, sex_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, city_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, province_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, signature_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt32(7, imgFlag_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeUInt32(8, hdimgFlag_); } if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, country_); } if (((bitField0_ & 0x00000200) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, bigHeadImgUrl_); } if (((bitField0_ & 0x00000400) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, 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.GeneratedMessageV3.computeStringSize(1, userName_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, type_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, sex_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, city_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, province_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, signature_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, imgFlag_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, hdimgFlag_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, country_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, bigHeadImgUrl_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, 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.Syncitem.ModBottleContact)) { return super.equals(obj); } wechat.protobuf.Syncitem.ModBottleContact other = (wechat.protobuf.Syncitem.ModBottleContact) obj; if (hasUserName() != other.hasUserName()) return false; if (hasUserName()) { if (!getUserName() .equals(other.getUserName())) return false; } if (hasType() != other.hasType()) return false; if (hasType()) { if (getType() != other.getType()) return false; } if (hasSex() != other.hasSex()) return false; if (hasSex()) { if (getSex() != other.getSex()) return false; } if (hasCity() != other.hasCity()) return false; if (hasCity()) { if (!getCity() .equals(other.getCity())) return false; } if (hasProvince() != other.hasProvince()) return false; if (hasProvince()) { if (!getProvince() .equals(other.getProvince())) return false; } if (hasSignature() != other.hasSignature()) return false; if (hasSignature()) { if (!getSignature() .equals(other.getSignature())) return false; } if (hasImgFlag() != other.hasImgFlag()) return false; if (hasImgFlag()) { if (getImgFlag() != other.getImgFlag()) return false; } if (hasHdimgFlag() != other.hasHdimgFlag()) return false; if (hasHdimgFlag()) { if (getHdimgFlag() != other.getHdimgFlag()) return false; } if (hasCountry() != other.hasCountry()) return false; if (hasCountry()) { if (!getCountry() .equals(other.getCountry())) 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 (hasUserName()) { hash = (37 * hash) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUserName().hashCode(); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType(); } if (hasSex()) { hash = (37 * hash) + SEX_FIELD_NUMBER; hash = (53 * hash) + getSex(); } if (hasCity()) { hash = (37 * hash) + CITY_FIELD_NUMBER; hash = (53 * hash) + getCity().hashCode(); } if (hasProvince()) { hash = (37 * hash) + PROVINCE_FIELD_NUMBER; hash = (53 * hash) + getProvince().hashCode(); } if (hasSignature()) { hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); } if (hasImgFlag()) { hash = (37 * hash) + IMGFLAG_FIELD_NUMBER; hash = (53 * hash) + getImgFlag(); } if (hasHdimgFlag()) { hash = (37 * hash) + HDIMGFLAG_FIELD_NUMBER; hash = (53 * hash) + getHdimgFlag(); } if (hasCountry()) { hash = (37 * hash) + COUNTRY_FIELD_NUMBER; hash = (53 * hash) + getCountry().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.Syncitem.ModBottleContact parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModBottleContact parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.ModBottleContact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModBottleContact 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.Syncitem.ModBottleContact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModBottleContact parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.ModBottleContact parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModBottleContact 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.Syncitem.ModBottleContact parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModBottleContact 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.Syncitem.ModBottleContact parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModBottleContact 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.Syncitem.ModBottleContact 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.ModBottleContact} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.ModBottleContact) wechat.protobuf.Syncitem.ModBottleContactOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModBottleContact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModBottleContact_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.ModBottleContact.class, wechat.protobuf.Syncitem.ModBottleContact.Builder.class); } // Construct using wechat.protobuf.Syncitem.ModBottleContact.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); type_ = 0; bitField0_ = (bitField0_ & ~0x00000002); sex_ = 0; bitField0_ = (bitField0_ & ~0x00000004); city_ = ""; bitField0_ = (bitField0_ & ~0x00000008); province_ = ""; bitField0_ = (bitField0_ & ~0x00000010); signature_ = ""; bitField0_ = (bitField0_ & ~0x00000020); imgFlag_ = 0; bitField0_ = (bitField0_ & ~0x00000040); hdimgFlag_ = 0; bitField0_ = (bitField0_ & ~0x00000080); country_ = ""; bitField0_ = (bitField0_ & ~0x00000100); bigHeadImgUrl_ = ""; bitField0_ = (bitField0_ & ~0x00000200); smallHeadImgUrl_ = ""; bitField0_ = (bitField0_ & ~0x00000400); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModBottleContact_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.ModBottleContact getDefaultInstanceForType() { return wechat.protobuf.Syncitem.ModBottleContact.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.ModBottleContact build() { wechat.protobuf.Syncitem.ModBottleContact result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.ModBottleContact buildPartial() { wechat.protobuf.Syncitem.ModBottleContact result = new wechat.protobuf.Syncitem.ModBottleContact(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.type_ = type_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.sex_ = sex_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.city_ = city_; if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.province_ = province_; if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.signature_ = signature_; if (((from_bitField0_ & 0x00000040) != 0)) { result.imgFlag_ = imgFlag_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.hdimgFlag_ = hdimgFlag_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000100; } result.country_ = country_; if (((from_bitField0_ & 0x00000200) != 0)) { to_bitField0_ |= 0x00000200; } result.bigHeadImgUrl_ = bigHeadImgUrl_; if (((from_bitField0_ & 0x00000400) != 0)) { to_bitField0_ |= 0x00000400; } 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.Syncitem.ModBottleContact) { return mergeFrom((wechat.protobuf.Syncitem.ModBottleContact)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.ModBottleContact other) { if (other == wechat.protobuf.Syncitem.ModBottleContact.getDefaultInstance()) return this; if (other.hasUserName()) { bitField0_ |= 0x00000001; userName_ = other.userName_; onChanged(); } if (other.hasType()) { setType(other.getType()); } if (other.hasSex()) { setSex(other.getSex()); } if (other.hasCity()) { bitField0_ |= 0x00000008; city_ = other.city_; onChanged(); } if (other.hasProvince()) { bitField0_ |= 0x00000010; province_ = other.province_; onChanged(); } if (other.hasSignature()) { bitField0_ |= 0x00000020; signature_ = other.signature_; onChanged(); } if (other.hasImgFlag()) { setImgFlag(other.getImgFlag()); } if (other.hasHdimgFlag()) { setHdimgFlag(other.getHdimgFlag()); } if (other.hasCountry()) { bitField0_ |= 0x00000100; country_ = other.country_; onChanged(); } if (other.hasBigHeadImgUrl()) { bitField0_ |= 0x00000200; bigHeadImgUrl_ = other.bigHeadImgUrl_; onChanged(); } if (other.hasSmallHeadImgUrl()) { bitField0_ |= 0x00000400; 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.Syncitem.ModBottleContact parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.ModBottleContact) 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 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 int sex_ ; /** * optional uint32 sex = 3; * @return Whether the sex field is set. */ @java.lang.Override public boolean hasSex() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 sex = 3; * @return The sex. */ @java.lang.Override public int getSex() { return sex_; } /** * optional uint32 sex = 3; * @param value The sex to set. * @return This builder for chaining. */ public Builder setSex(int value) { bitField0_ |= 0x00000004; sex_ = value; onChanged(); return this; } /** * optional uint32 sex = 3; * @return This builder for chaining. */ public Builder clearSex() { bitField0_ = (bitField0_ & ~0x00000004); sex_ = 0; onChanged(); return this; } private java.lang.Object city_ = ""; /** * optional string city = 4; * @return Whether the city field is set. */ public boolean hasCity() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string city = 4; * @return The city. */ public java.lang.String getCity() { java.lang.Object ref = city_; 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()) { city_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string city = 4; * @return The bytes for city. */ public com.google.protobuf.ByteString getCityBytes() { java.lang.Object ref = city_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); city_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string city = 4; * @param value The city to set. * @return This builder for chaining. */ public Builder setCity( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; city_ = value; onChanged(); return this; } /** * optional string city = 4; * @return This builder for chaining. */ public Builder clearCity() { bitField0_ = (bitField0_ & ~0x00000008); city_ = getDefaultInstance().getCity(); onChanged(); return this; } /** * optional string city = 4; * @param value The bytes for city to set. * @return This builder for chaining. */ public Builder setCityBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; city_ = value; onChanged(); return this; } private java.lang.Object province_ = ""; /** * optional string province = 5; * @return Whether the province field is set. */ public boolean hasProvince() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string province = 5; * @return The province. */ public java.lang.String getProvince() { java.lang.Object ref = province_; 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()) { province_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string province = 5; * @return The bytes for province. */ public com.google.protobuf.ByteString getProvinceBytes() { java.lang.Object ref = province_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); province_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string province = 5; * @param value The province to set. * @return This builder for chaining. */ public Builder setProvince( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; province_ = value; onChanged(); return this; } /** * optional string province = 5; * @return This builder for chaining. */ public Builder clearProvince() { bitField0_ = (bitField0_ & ~0x00000010); province_ = getDefaultInstance().getProvince(); onChanged(); return this; } /** * optional string province = 5; * @param value The bytes for province to set. * @return This builder for chaining. */ public Builder setProvinceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; province_ = value; onChanged(); return this; } private java.lang.Object signature_ = ""; /** * optional string signature = 6; * @return Whether the signature field is set. */ public boolean hasSignature() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string signature = 6; * @return The signature. */ public java.lang.String getSignature() { java.lang.Object ref = signature_; 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()) { signature_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string signature = 6; * @return The bytes for signature. */ public com.google.protobuf.ByteString getSignatureBytes() { java.lang.Object ref = signature_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signature_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string signature = 6; * @param value The signature to set. * @return This builder for chaining. */ public Builder setSignature( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; signature_ = value; onChanged(); return this; } /** * optional string signature = 6; * @return This builder for chaining. */ public Builder clearSignature() { bitField0_ = (bitField0_ & ~0x00000020); signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } /** * optional string signature = 6; * @param value The bytes for signature to set. * @return This builder for chaining. */ public Builder setSignatureBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; signature_ = value; onChanged(); return this; } private int imgFlag_ ; /** * optional uint32 imgFlag = 7; * @return Whether the imgFlag field is set. */ @java.lang.Override public boolean hasImgFlag() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 imgFlag = 7; * @return The imgFlag. */ @java.lang.Override public int getImgFlag() { return imgFlag_; } /** * optional uint32 imgFlag = 7; * @param value The imgFlag to set. * @return This builder for chaining. */ public Builder setImgFlag(int value) { bitField0_ |= 0x00000040; imgFlag_ = value; onChanged(); return this; } /** * optional uint32 imgFlag = 7; * @return This builder for chaining. */ public Builder clearImgFlag() { bitField0_ = (bitField0_ & ~0x00000040); imgFlag_ = 0; onChanged(); return this; } private int hdimgFlag_ ; /** * optional uint32 hdimgFlag = 8; * @return Whether the hdimgFlag field is set. */ @java.lang.Override public boolean hasHdimgFlag() { return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 hdimgFlag = 8; * @return The hdimgFlag. */ @java.lang.Override public int getHdimgFlag() { return hdimgFlag_; } /** * optional uint32 hdimgFlag = 8; * @param value The hdimgFlag to set. * @return This builder for chaining. */ public Builder setHdimgFlag(int value) { bitField0_ |= 0x00000080; hdimgFlag_ = value; onChanged(); return this; } /** * optional uint32 hdimgFlag = 8; * @return This builder for chaining. */ public Builder clearHdimgFlag() { bitField0_ = (bitField0_ & ~0x00000080); hdimgFlag_ = 0; onChanged(); return this; } private java.lang.Object country_ = ""; /** * optional string country = 9; * @return Whether the country field is set. */ public boolean hasCountry() { return ((bitField0_ & 0x00000100) != 0); } /** * optional string country = 9; * @return The country. */ public java.lang.String getCountry() { java.lang.Object ref = country_; 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()) { country_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string country = 9; * @return The bytes for country. */ public com.google.protobuf.ByteString getCountryBytes() { java.lang.Object ref = country_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); country_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string country = 9; * @param value The country to set. * @return This builder for chaining. */ public Builder setCountry( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; country_ = value; onChanged(); return this; } /** * optional string country = 9; * @return This builder for chaining. */ public Builder clearCountry() { bitField0_ = (bitField0_ & ~0x00000100); country_ = getDefaultInstance().getCountry(); onChanged(); return this; } /** * optional string country = 9; * @param value The bytes for country to set. * @return This builder for chaining. */ public Builder setCountryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; country_ = value; onChanged(); return this; } private java.lang.Object bigHeadImgUrl_ = ""; /** * optional string bigHeadImgUrl = 10; * @return Whether the bigHeadImgUrl field is set. */ public boolean hasBigHeadImgUrl() { return ((bitField0_ & 0x00000200) != 0); } /** * optional string bigHeadImgUrl = 10; * @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 = 10; * @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 = 10; * @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_ |= 0x00000200; bigHeadImgUrl_ = value; onChanged(); return this; } /** * optional string bigHeadImgUrl = 10; * @return This builder for chaining. */ public Builder clearBigHeadImgUrl() { bitField0_ = (bitField0_ & ~0x00000200); bigHeadImgUrl_ = getDefaultInstance().getBigHeadImgUrl(); onChanged(); return this; } /** * optional string bigHeadImgUrl = 10; * @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_ |= 0x00000200; bigHeadImgUrl_ = value; onChanged(); return this; } private java.lang.Object smallHeadImgUrl_ = ""; /** * optional string smallHeadImgUrl = 11; * @return Whether the smallHeadImgUrl field is set. */ public boolean hasSmallHeadImgUrl() { return ((bitField0_ & 0x00000400) != 0); } /** * optional string smallHeadImgUrl = 11; * @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 = 11; * @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 = 11; * @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_ |= 0x00000400; smallHeadImgUrl_ = value; onChanged(); return this; } /** * optional string smallHeadImgUrl = 11; * @return This builder for chaining. */ public Builder clearSmallHeadImgUrl() { bitField0_ = (bitField0_ & ~0x00000400); smallHeadImgUrl_ = getDefaultInstance().getSmallHeadImgUrl(); onChanged(); return this; } /** * optional string smallHeadImgUrl = 11; * @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_ |= 0x00000400; 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.ModBottleContact) } // @@protoc_insertion_point(class_scope:wechat_proto.ModBottleContact) private static final wechat.protobuf.Syncitem.ModBottleContact DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.ModBottleContact(); } public static wechat.protobuf.Syncitem.ModBottleContact getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ModBottleContact parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ModBottleContact(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.Syncitem.ModBottleContact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ModUserImgOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.ModUserImg) com.google.protobuf.MessageOrBuilder { /** * optional uint32 imgType = 1; * @return Whether the imgType field is set. */ boolean hasImgType(); /** * optional uint32 imgType = 1; * @return The imgType. */ int getImgType(); /** * optional uint32 imgLen = 2; * @return Whether the imgLen field is set. */ boolean hasImgLen(); /** * optional uint32 imgLen = 2; * @return The imgLen. */ int getImgLen(); /** *
     *图片 base64字符串
     * 
* * optional bytes imgBuf = 3; * @return Whether the imgBuf field is set. */ boolean hasImgBuf(); /** *
     *图片 base64字符串
     * 
* * optional bytes imgBuf = 3; * @return The imgBuf. */ com.google.protobuf.ByteString getImgBuf(); /** * optional string imgMd5 = 4; * @return Whether the imgMd5 field is set. */ boolean hasImgMd5(); /** * optional string imgMd5 = 4; * @return The imgMd5. */ java.lang.String getImgMd5(); /** * optional string imgMd5 = 4; * @return The bytes for imgMd5. */ com.google.protobuf.ByteString getImgMd5Bytes(); /** * optional string bigHeadImgUrl = 5; * @return Whether the bigHeadImgUrl field is set. */ boolean hasBigHeadImgUrl(); /** * optional string bigHeadImgUrl = 5; * @return The bigHeadImgUrl. */ java.lang.String getBigHeadImgUrl(); /** * optional string bigHeadImgUrl = 5; * @return The bytes for bigHeadImgUrl. */ com.google.protobuf.ByteString getBigHeadImgUrlBytes(); /** * optional string smallHeadImgUrl = 6; * @return Whether the smallHeadImgUrl field is set. */ boolean hasSmallHeadImgUrl(); /** * optional string smallHeadImgUrl = 6; * @return The smallHeadImgUrl. */ java.lang.String getSmallHeadImgUrl(); /** * optional string smallHeadImgUrl = 6; * @return The bytes for smallHeadImgUrl. */ com.google.protobuf.ByteString getSmallHeadImgUrlBytes(); } /** * Protobuf type {@code wechat_proto.ModUserImg} */ public static final class ModUserImg extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.ModUserImg) ModUserImgOrBuilder { private static final long serialVersionUID = 0L; // Use ModUserImg.newBuilder() to construct. private ModUserImg(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ModUserImg() { imgBuf_ = com.google.protobuf.ByteString.EMPTY; imgMd5_ = ""; bigHeadImgUrl_ = ""; smallHeadImgUrl_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ModUserImg(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ModUserImg( 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; imgType_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; imgLen_ = input.readUInt32(); break; } case 26: { bitField0_ |= 0x00000004; imgBuf_ = input.readBytes(); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; imgMd5_ = bs; break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; bigHeadImgUrl_ = bs; break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModUserImg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModUserImg_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.ModUserImg.class, wechat.protobuf.Syncitem.ModUserImg.Builder.class); } private int bitField0_; public static final int IMGTYPE_FIELD_NUMBER = 1; private int imgType_; /** * optional uint32 imgType = 1; * @return Whether the imgType field is set. */ @java.lang.Override public boolean hasImgType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 imgType = 1; * @return The imgType. */ @java.lang.Override public int getImgType() { return imgType_; } public static final int IMGLEN_FIELD_NUMBER = 2; private int imgLen_; /** * optional uint32 imgLen = 2; * @return Whether the imgLen field is set. */ @java.lang.Override public boolean hasImgLen() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 imgLen = 2; * @return The imgLen. */ @java.lang.Override public int getImgLen() { return imgLen_; } public static final int IMGBUF_FIELD_NUMBER = 3; private com.google.protobuf.ByteString imgBuf_; /** *
     *图片 base64字符串
     * 
* * optional bytes imgBuf = 3; * @return Whether the imgBuf field is set. */ @java.lang.Override public boolean hasImgBuf() { return ((bitField0_ & 0x00000004) != 0); } /** *
     *图片 base64字符串
     * 
* * optional bytes imgBuf = 3; * @return The imgBuf. */ @java.lang.Override public com.google.protobuf.ByteString getImgBuf() { return imgBuf_; } public static final int IMGMD5_FIELD_NUMBER = 4; private volatile java.lang.Object imgMd5_; /** * optional string imgMd5 = 4; * @return Whether the imgMd5 field is set. */ @java.lang.Override public boolean hasImgMd5() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string imgMd5 = 4; * @return The imgMd5. */ @java.lang.Override public java.lang.String getImgMd5() { java.lang.Object ref = imgMd5_; 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()) { imgMd5_ = s; } return s; } } /** * optional string imgMd5 = 4; * @return The bytes for imgMd5. */ @java.lang.Override public com.google.protobuf.ByteString getImgMd5Bytes() { java.lang.Object ref = imgMd5_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); imgMd5_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BIGHEADIMGURL_FIELD_NUMBER = 5; private volatile java.lang.Object bigHeadImgUrl_; /** * optional string bigHeadImgUrl = 5; * @return Whether the bigHeadImgUrl field is set. */ @java.lang.Override public boolean hasBigHeadImgUrl() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string bigHeadImgUrl = 5; * @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 = 5; * @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 = 6; private volatile java.lang.Object smallHeadImgUrl_; /** * optional string smallHeadImgUrl = 6; * @return Whether the smallHeadImgUrl field is set. */ @java.lang.Override public boolean hasSmallHeadImgUrl() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string smallHeadImgUrl = 6; * @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 = 6; * @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.writeUInt32(1, imgType_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, imgLen_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBytes(3, imgBuf_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, imgMd5_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, bigHeadImgUrl_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, 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 .computeUInt32Size(1, imgType_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, imgLen_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, imgBuf_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, imgMd5_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, bigHeadImgUrl_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, 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.Syncitem.ModUserImg)) { return super.equals(obj); } wechat.protobuf.Syncitem.ModUserImg other = (wechat.protobuf.Syncitem.ModUserImg) obj; if (hasImgType() != other.hasImgType()) return false; if (hasImgType()) { if (getImgType() != other.getImgType()) return false; } if (hasImgLen() != other.hasImgLen()) return false; if (hasImgLen()) { if (getImgLen() != other.getImgLen()) return false; } if (hasImgBuf() != other.hasImgBuf()) return false; if (hasImgBuf()) { if (!getImgBuf() .equals(other.getImgBuf())) return false; } if (hasImgMd5() != other.hasImgMd5()) return false; if (hasImgMd5()) { if (!getImgMd5() .equals(other.getImgMd5())) 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 (hasImgType()) { hash = (37 * hash) + IMGTYPE_FIELD_NUMBER; hash = (53 * hash) + getImgType(); } if (hasImgLen()) { hash = (37 * hash) + IMGLEN_FIELD_NUMBER; hash = (53 * hash) + getImgLen(); } if (hasImgBuf()) { hash = (37 * hash) + IMGBUF_FIELD_NUMBER; hash = (53 * hash) + getImgBuf().hashCode(); } if (hasImgMd5()) { hash = (37 * hash) + IMGMD5_FIELD_NUMBER; hash = (53 * hash) + getImgMd5().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.Syncitem.ModUserImg parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModUserImg parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.ModUserImg parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModUserImg 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.Syncitem.ModUserImg parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.ModUserImg parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.ModUserImg parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModUserImg 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.Syncitem.ModUserImg parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModUserImg 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.Syncitem.ModUserImg parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.ModUserImg 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.Syncitem.ModUserImg 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.ModUserImg} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.ModUserImg) wechat.protobuf.Syncitem.ModUserImgOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModUserImg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModUserImg_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.ModUserImg.class, wechat.protobuf.Syncitem.ModUserImg.Builder.class); } // Construct using wechat.protobuf.Syncitem.ModUserImg.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(); imgType_ = 0; bitField0_ = (bitField0_ & ~0x00000001); imgLen_ = 0; bitField0_ = (bitField0_ & ~0x00000002); imgBuf_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); imgMd5_ = ""; bitField0_ = (bitField0_ & ~0x00000008); bigHeadImgUrl_ = ""; bitField0_ = (bitField0_ & ~0x00000010); smallHeadImgUrl_ = ""; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_ModUserImg_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.ModUserImg getDefaultInstanceForType() { return wechat.protobuf.Syncitem.ModUserImg.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.ModUserImg build() { wechat.protobuf.Syncitem.ModUserImg result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.ModUserImg buildPartial() { wechat.protobuf.Syncitem.ModUserImg result = new wechat.protobuf.Syncitem.ModUserImg(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.imgType_ = imgType_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.imgLen_ = imgLen_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.imgBuf_ = imgBuf_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.imgMd5_ = imgMd5_; if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.bigHeadImgUrl_ = bigHeadImgUrl_; if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } 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.Syncitem.ModUserImg) { return mergeFrom((wechat.protobuf.Syncitem.ModUserImg)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.ModUserImg other) { if (other == wechat.protobuf.Syncitem.ModUserImg.getDefaultInstance()) return this; if (other.hasImgType()) { setImgType(other.getImgType()); } if (other.hasImgLen()) { setImgLen(other.getImgLen()); } if (other.hasImgBuf()) { setImgBuf(other.getImgBuf()); } if (other.hasImgMd5()) { bitField0_ |= 0x00000008; imgMd5_ = other.imgMd5_; onChanged(); } if (other.hasBigHeadImgUrl()) { bitField0_ |= 0x00000010; bigHeadImgUrl_ = other.bigHeadImgUrl_; onChanged(); } if (other.hasSmallHeadImgUrl()) { bitField0_ |= 0x00000020; 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.Syncitem.ModUserImg parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.ModUserImg) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int imgType_ ; /** * optional uint32 imgType = 1; * @return Whether the imgType field is set. */ @java.lang.Override public boolean hasImgType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 imgType = 1; * @return The imgType. */ @java.lang.Override public int getImgType() { return imgType_; } /** * optional uint32 imgType = 1; * @param value The imgType to set. * @return This builder for chaining. */ public Builder setImgType(int value) { bitField0_ |= 0x00000001; imgType_ = value; onChanged(); return this; } /** * optional uint32 imgType = 1; * @return This builder for chaining. */ public Builder clearImgType() { bitField0_ = (bitField0_ & ~0x00000001); imgType_ = 0; onChanged(); return this; } private int imgLen_ ; /** * optional uint32 imgLen = 2; * @return Whether the imgLen field is set. */ @java.lang.Override public boolean hasImgLen() { return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 imgLen = 2; * @return The imgLen. */ @java.lang.Override public int getImgLen() { return imgLen_; } /** * optional uint32 imgLen = 2; * @param value The imgLen to set. * @return This builder for chaining. */ public Builder setImgLen(int value) { bitField0_ |= 0x00000002; imgLen_ = value; onChanged(); return this; } /** * optional uint32 imgLen = 2; * @return This builder for chaining. */ public Builder clearImgLen() { bitField0_ = (bitField0_ & ~0x00000002); imgLen_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString imgBuf_ = com.google.protobuf.ByteString.EMPTY; /** *
       *图片 base64字符串
       * 
* * optional bytes imgBuf = 3; * @return Whether the imgBuf field is set. */ @java.lang.Override public boolean hasImgBuf() { return ((bitField0_ & 0x00000004) != 0); } /** *
       *图片 base64字符串
       * 
* * optional bytes imgBuf = 3; * @return The imgBuf. */ @java.lang.Override public com.google.protobuf.ByteString getImgBuf() { return imgBuf_; } /** *
       *图片 base64字符串
       * 
* * optional bytes imgBuf = 3; * @param value The imgBuf to set. * @return This builder for chaining. */ public Builder setImgBuf(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; imgBuf_ = value; onChanged(); return this; } /** *
       *图片 base64字符串
       * 
* * optional bytes imgBuf = 3; * @return This builder for chaining. */ public Builder clearImgBuf() { bitField0_ = (bitField0_ & ~0x00000004); imgBuf_ = getDefaultInstance().getImgBuf(); onChanged(); return this; } private java.lang.Object imgMd5_ = ""; /** * optional string imgMd5 = 4; * @return Whether the imgMd5 field is set. */ public boolean hasImgMd5() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string imgMd5 = 4; * @return The imgMd5. */ public java.lang.String getImgMd5() { java.lang.Object ref = imgMd5_; 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()) { imgMd5_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string imgMd5 = 4; * @return The bytes for imgMd5. */ public com.google.protobuf.ByteString getImgMd5Bytes() { java.lang.Object ref = imgMd5_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); imgMd5_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string imgMd5 = 4; * @param value The imgMd5 to set. * @return This builder for chaining. */ public Builder setImgMd5( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; imgMd5_ = value; onChanged(); return this; } /** * optional string imgMd5 = 4; * @return This builder for chaining. */ public Builder clearImgMd5() { bitField0_ = (bitField0_ & ~0x00000008); imgMd5_ = getDefaultInstance().getImgMd5(); onChanged(); return this; } /** * optional string imgMd5 = 4; * @param value The bytes for imgMd5 to set. * @return This builder for chaining. */ public Builder setImgMd5Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; imgMd5_ = value; onChanged(); return this; } private java.lang.Object bigHeadImgUrl_ = ""; /** * optional string bigHeadImgUrl = 5; * @return Whether the bigHeadImgUrl field is set. */ public boolean hasBigHeadImgUrl() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string bigHeadImgUrl = 5; * @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 = 5; * @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 = 5; * @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_ |= 0x00000010; bigHeadImgUrl_ = value; onChanged(); return this; } /** * optional string bigHeadImgUrl = 5; * @return This builder for chaining. */ public Builder clearBigHeadImgUrl() { bitField0_ = (bitField0_ & ~0x00000010); bigHeadImgUrl_ = getDefaultInstance().getBigHeadImgUrl(); onChanged(); return this; } /** * optional string bigHeadImgUrl = 5; * @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_ |= 0x00000010; bigHeadImgUrl_ = value; onChanged(); return this; } private java.lang.Object smallHeadImgUrl_ = ""; /** * optional string smallHeadImgUrl = 6; * @return Whether the smallHeadImgUrl field is set. */ public boolean hasSmallHeadImgUrl() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string smallHeadImgUrl = 6; * @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 = 6; * @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 = 6; * @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_ |= 0x00000020; smallHeadImgUrl_ = value; onChanged(); return this; } /** * optional string smallHeadImgUrl = 6; * @return This builder for chaining. */ public Builder clearSmallHeadImgUrl() { bitField0_ = (bitField0_ & ~0x00000020); smallHeadImgUrl_ = getDefaultInstance().getSmallHeadImgUrl(); onChanged(); return this; } /** * optional string smallHeadImgUrl = 6; * @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_ |= 0x00000020; 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.ModUserImg) } // @@protoc_insertion_point(class_scope:wechat_proto.ModUserImg) private static final wechat.protobuf.Syncitem.ModUserImg DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.ModUserImg(); } public static wechat.protobuf.Syncitem.ModUserImg getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ModUserImg parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ModUserImg(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.Syncitem.ModUserImg getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UserInfoExtOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.UserInfoExt) com.google.protobuf.MessageOrBuilder { /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 1; * @return Whether the snsUserInfo field is set. */ boolean hasSnsUserInfo(); /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 1; * @return The snsUserInfo. */ wechat.protobuf.Wechat.SnsUserInfo getSnsUserInfo(); /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 1; */ wechat.protobuf.Wechat.SnsUserInfoOrBuilder getSnsUserInfoOrBuilder(); /** * optional string myBrandList = 2; * @return Whether the myBrandList field is set. */ boolean hasMyBrandList(); /** * optional string myBrandList = 2; * @return The myBrandList. */ java.lang.String getMyBrandList(); /** * optional string myBrandList = 2; * @return The bytes for myBrandList. */ com.google.protobuf.ByteString getMyBrandListBytes(); /** * optional string msgPushSound = 3; * @return Whether the msgPushSound field is set. */ boolean hasMsgPushSound(); /** * optional string msgPushSound = 3; * @return The msgPushSound. */ java.lang.String getMsgPushSound(); /** * optional string msgPushSound = 3; * @return The bytes for msgPushSound. */ com.google.protobuf.ByteString getMsgPushSoundBytes(); /** * optional string voipPushSound = 4; * @return Whether the voipPushSound field is set. */ boolean hasVoipPushSound(); /** * optional string voipPushSound = 4; * @return The voipPushSound. */ java.lang.String getVoipPushSound(); /** * optional string voipPushSound = 4; * @return The bytes for voipPushSound. */ com.google.protobuf.ByteString getVoipPushSoundBytes(); /** * optional uint32 bigChatRoomSize = 5; * @return Whether the bigChatRoomSize field is set. */ boolean hasBigChatRoomSize(); /** * optional uint32 bigChatRoomSize = 5; * @return The bigChatRoomSize. */ int getBigChatRoomSize(); /** * optional uint32 bigChatRoomQuota = 6; * @return Whether the bigChatRoomQuota field is set. */ boolean hasBigChatRoomQuota(); /** * optional uint32 bigChatRoomQuota = 6; * @return The bigChatRoomQuota. */ int getBigChatRoomQuota(); /** * optional uint32 bigChatRoomInvite = 7; * @return Whether the bigChatRoomInvite field is set. */ boolean hasBigChatRoomInvite(); /** * optional uint32 bigChatRoomInvite = 7; * @return The bigChatRoomInvite. */ int getBigChatRoomInvite(); /** * optional string safeMobile = 8; * @return Whether the safeMobile field is set. */ boolean hasSafeMobile(); /** * optional string safeMobile = 8; * @return The safeMobile. */ java.lang.String getSafeMobile(); /** * optional string safeMobile = 8; * @return The bytes for safeMobile. */ com.google.protobuf.ByteString getSafeMobileBytes(); /** * optional string bigHeadImgUrl = 9; * @return Whether the bigHeadImgUrl field is set. */ boolean hasBigHeadImgUrl(); /** * optional string bigHeadImgUrl = 9; * @return The bigHeadImgUrl. */ java.lang.String getBigHeadImgUrl(); /** * optional string bigHeadImgUrl = 9; * @return The bytes for bigHeadImgUrl. */ com.google.protobuf.ByteString getBigHeadImgUrlBytes(); /** * optional string smallHeadImgUrl = 10; * @return Whether the smallHeadImgUrl field is set. */ boolean hasSmallHeadImgUrl(); /** * optional string smallHeadImgUrl = 10; * @return The smallHeadImgUrl. */ java.lang.String getSmallHeadImgUrl(); /** * optional string smallHeadImgUrl = 10; * @return The bytes for smallHeadImgUrl. */ com.google.protobuf.ByteString getSmallHeadImgUrlBytes(); /** * optional uint32 mainAcctType = 11; * @return Whether the mainAcctType field is set. */ boolean hasMainAcctType(); /** * optional uint32 mainAcctType = 11; * @return The mainAcctType. */ int getMainAcctType(); /** * optional .wechat_proto.SKBuiltinString extXml = 12; * @return Whether the extXml field is set. */ boolean hasExtXml(); /** * optional .wechat_proto.SKBuiltinString extXml = 12; * @return The extXml. */ wechat.protobuf.Wechat.SKBuiltinString getExtXml(); /** * optional .wechat_proto.SKBuiltinString extXml = 12; */ wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getExtXmlOrBuilder(); /** * optional .wechat_proto.SafeDeviceList safeDeviceList = 13; * @return Whether the safeDeviceList field is set. */ boolean hasSafeDeviceList(); /** * optional .wechat_proto.SafeDeviceList safeDeviceList = 13; * @return The safeDeviceList. */ wechat.protobuf.Syncitem.SafeDeviceList getSafeDeviceList(); /** * optional .wechat_proto.SafeDeviceList safeDeviceList = 13; */ wechat.protobuf.Syncitem.SafeDeviceListOrBuilder getSafeDeviceListOrBuilder(); /** * optional uint32 safeDevice = 14; * @return Whether the safeDevice field is set. */ boolean hasSafeDevice(); /** * optional uint32 safeDevice = 14; * @return The safeDevice. */ int getSafeDevice(); /** * optional uint32 grayscaleFlag = 15; * @return Whether the grayscaleFlag field is set. */ boolean hasGrayscaleFlag(); /** * optional uint32 grayscaleFlag = 15; * @return The grayscaleFlag. */ int getGrayscaleFlag(); /** * optional string googleContactName = 16; * @return Whether the googleContactName field is set. */ boolean hasGoogleContactName(); /** * optional string googleContactName = 16; * @return The googleContactName. */ java.lang.String getGoogleContactName(); /** * optional string googleContactName = 16; * @return The bytes for googleContactName. */ com.google.protobuf.ByteString getGoogleContactNameBytes(); /** * optional string idcardNum = 17; * @return Whether the idcardNum field is set. */ boolean hasIdcardNum(); /** * optional string idcardNum = 17; * @return The idcardNum. */ java.lang.String getIdcardNum(); /** * optional string idcardNum = 17; * @return The bytes for idcardNum. */ com.google.protobuf.ByteString getIdcardNumBytes(); /** * optional string realName = 18; * @return Whether the realName field is set. */ boolean hasRealName(); /** * optional string realName = 18; * @return The realName. */ java.lang.String getRealName(); /** * optional string realName = 18; * @return The bytes for realName. */ com.google.protobuf.ByteString getRealNameBytes(); /** * optional string regNumry = 19; * @return Whether the regNumry field is set. */ boolean hasRegNumry(); /** * optional string regNumry = 19; * @return The regNumry. */ java.lang.String getRegNumry(); /** * optional string regNumry = 19; * @return The bytes for regNumry. */ com.google.protobuf.ByteString getRegNumryBytes(); /** * optional string bbppid = 20; * @return Whether the bbppid field is set. */ boolean hasBbppid(); /** * optional string bbppid = 20; * @return The bbppid. */ java.lang.String getBbppid(); /** * optional string bbppid = 20; * @return The bytes for bbppid. */ com.google.protobuf.ByteString getBbppidBytes(); /** * optional string bbpin = 21; * @return Whether the bbpin field is set. */ boolean hasBbpin(); /** * optional string bbpin = 21; * @return The bbpin. */ java.lang.String getBbpin(); /** * optional string bbpin = 21; * @return The bytes for bbpin. */ com.google.protobuf.ByteString getBbpinBytes(); /** * optional string bbmnickName = 22; * @return Whether the bbmnickName field is set. */ boolean hasBbmnickName(); /** * optional string bbmnickName = 22; * @return The bbmnickName. */ java.lang.String getBbmnickName(); /** * optional string bbmnickName = 22; * @return The bytes for bbmnickName. */ com.google.protobuf.ByteString getBbmnickNameBytes(); /** * optional .wechat_proto.LinkedinContactItem linkedinContactItem = 23; * @return Whether the linkedinContactItem field is set. */ boolean hasLinkedinContactItem(); /** * optional .wechat_proto.LinkedinContactItem linkedinContactItem = 23; * @return The linkedinContactItem. */ wechat.protobuf.Wechat.LinkedinContactItem getLinkedinContactItem(); /** * optional .wechat_proto.LinkedinContactItem linkedinContactItem = 23; */ wechat.protobuf.Wechat.LinkedinContactItemOrBuilder getLinkedinContactItemOrBuilder(); /** * optional string kfinfo = 24; * @return Whether the kfinfo field is set. */ boolean hasKfinfo(); /** * optional string kfinfo = 24; * @return The kfinfo. */ java.lang.String getKfinfo(); /** * optional string kfinfo = 24; * @return The bytes for kfinfo. */ com.google.protobuf.ByteString getKfinfoBytes(); /** * optional .wechat_proto.PatternLockInfo patternLockInfo = 25; * @return Whether the patternLockInfo field is set. */ boolean hasPatternLockInfo(); /** * optional .wechat_proto.PatternLockInfo patternLockInfo = 25; * @return The patternLockInfo. */ wechat.protobuf.Syncitem.PatternLockInfo getPatternLockInfo(); /** * optional .wechat_proto.PatternLockInfo patternLockInfo = 25; */ wechat.protobuf.Syncitem.PatternLockInfoOrBuilder getPatternLockInfoOrBuilder(); /** * optional string securityDeviceId = 26; * @return Whether the securityDeviceId field is set. */ boolean hasSecurityDeviceId(); /** * optional string securityDeviceId = 26; * @return The securityDeviceId. */ java.lang.String getSecurityDeviceId(); /** * optional string securityDeviceId = 26; * @return The bytes for securityDeviceId. */ com.google.protobuf.ByteString getSecurityDeviceIdBytes(); /** * optional uint32 payWalletType = 27; * @return Whether the payWalletType field is set. */ boolean hasPayWalletType(); /** * optional uint32 payWalletType = 27; * @return The payWalletType. */ int getPayWalletType(); /** * optional string weiDianInfo = 28; * @return Whether the weiDianInfo field is set. */ boolean hasWeiDianInfo(); /** * optional string weiDianInfo = 28; * @return The weiDianInfo. */ java.lang.String getWeiDianInfo(); /** * optional string weiDianInfo = 28; * @return The bytes for weiDianInfo. */ com.google.protobuf.ByteString getWeiDianInfoBytes(); /** * optional uint32 walletRegion = 29; * @return Whether the walletRegion field is set. */ boolean hasWalletRegion(); /** * optional uint32 walletRegion = 29; * @return The walletRegion. */ int getWalletRegion(); /** * optional int64 extStatus = 30; * @return Whether the extStatus field is set. */ boolean hasExtStatus(); /** * optional int64 extStatus = 30; * @return The extStatus. */ long getExtStatus(); /** * optional string f2FpushSound = 31; * @return Whether the f2FpushSound field is set. */ boolean hasF2FpushSound(); /** * optional string f2FpushSound = 31; * @return The f2FpushSound. */ java.lang.String getF2FpushSound(); /** * optional string f2FpushSound = 31; * @return The bytes for f2FpushSound. */ com.google.protobuf.ByteString getF2FpushSoundBytes(); /** * optional uint32 userStatus = 32; * @return Whether the userStatus field is set. */ boolean hasUserStatus(); /** * optional uint32 userStatus = 32; * @return The userStatus. */ int getUserStatus(); /** * optional int64 paySetting = 33; * @return Whether the paySetting field is set. */ boolean hasPaySetting(); /** * optional int64 paySetting = 33; * @return The paySetting. */ long getPaySetting(); } /** * Protobuf type {@code wechat_proto.UserInfoExt} */ public static final class UserInfoExt extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.UserInfoExt) UserInfoExtOrBuilder { private static final long serialVersionUID = 0L; // Use UserInfoExt.newBuilder() to construct. private UserInfoExt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UserInfoExt() { myBrandList_ = ""; msgPushSound_ = ""; voipPushSound_ = ""; safeMobile_ = ""; bigHeadImgUrl_ = ""; smallHeadImgUrl_ = ""; googleContactName_ = ""; idcardNum_ = ""; realName_ = ""; regNumry_ = ""; bbppid_ = ""; bbpin_ = ""; bbmnickName_ = ""; kfinfo_ = ""; securityDeviceId_ = ""; weiDianInfo_ = ""; f2FpushSound_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UserInfoExt(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UserInfoExt( 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; int mutable_bitField1_ = 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.Wechat.SnsUserInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = snsUserInfo_.toBuilder(); } snsUserInfo_ = input.readMessage(wechat.protobuf.Wechat.SnsUserInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(snsUserInfo_); snsUserInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; myBrandList_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; msgPushSound_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; voipPushSound_ = bs; break; } case 40: { bitField0_ |= 0x00000010; bigChatRoomSize_ = input.readUInt32(); break; } case 48: { bitField0_ |= 0x00000020; bigChatRoomQuota_ = input.readUInt32(); break; } case 56: { bitField0_ |= 0x00000040; bigChatRoomInvite_ = input.readUInt32(); break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; safeMobile_ = bs; break; } case 74: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000100; bigHeadImgUrl_ = bs; break; } case 82: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000200; smallHeadImgUrl_ = bs; break; } case 88: { bitField0_ |= 0x00000400; mainAcctType_ = input.readUInt32(); break; } case 98: { wechat.protobuf.Wechat.SKBuiltinString.Builder subBuilder = null; if (((bitField0_ & 0x00000800) != 0)) { subBuilder = extXml_.toBuilder(); } extXml_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(extXml_); extXml_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000800; break; } case 106: { wechat.protobuf.Syncitem.SafeDeviceList.Builder subBuilder = null; if (((bitField0_ & 0x00001000) != 0)) { subBuilder = safeDeviceList_.toBuilder(); } safeDeviceList_ = input.readMessage(wechat.protobuf.Syncitem.SafeDeviceList.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(safeDeviceList_); safeDeviceList_ = subBuilder.buildPartial(); } bitField0_ |= 0x00001000; break; } case 112: { bitField0_ |= 0x00002000; safeDevice_ = input.readUInt32(); break; } case 120: { bitField0_ |= 0x00004000; grayscaleFlag_ = input.readUInt32(); break; } case 130: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00008000; googleContactName_ = bs; break; } case 138: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00010000; idcardNum_ = bs; break; } case 146: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00020000; realName_ = bs; break; } case 154: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00040000; regNumry_ = bs; break; } case 162: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00080000; bbppid_ = bs; break; } case 170: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00100000; bbpin_ = bs; break; } case 178: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00200000; bbmnickName_ = bs; break; } case 186: { wechat.protobuf.Wechat.LinkedinContactItem.Builder subBuilder = null; if (((bitField0_ & 0x00400000) != 0)) { subBuilder = linkedinContactItem_.toBuilder(); } linkedinContactItem_ = input.readMessage(wechat.protobuf.Wechat.LinkedinContactItem.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(linkedinContactItem_); linkedinContactItem_ = subBuilder.buildPartial(); } bitField0_ |= 0x00400000; break; } case 194: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00800000; kfinfo_ = bs; break; } case 202: { wechat.protobuf.Syncitem.PatternLockInfo.Builder subBuilder = null; if (((bitField0_ & 0x01000000) != 0)) { subBuilder = patternLockInfo_.toBuilder(); } patternLockInfo_ = input.readMessage(wechat.protobuf.Syncitem.PatternLockInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(patternLockInfo_); patternLockInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x01000000; break; } case 210: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x02000000; securityDeviceId_ = bs; break; } case 216: { bitField0_ |= 0x04000000; payWalletType_ = input.readUInt32(); break; } case 226: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x08000000; weiDianInfo_ = bs; break; } case 232: { bitField0_ |= 0x10000000; walletRegion_ = input.readUInt32(); break; } case 240: { bitField0_ |= 0x20000000; extStatus_ = input.readInt64(); break; } case 250: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x40000000; f2FpushSound_ = bs; break; } case 256: { bitField0_ |= 0x80000000; userStatus_ = input.readUInt32(); break; } case 264: { bitField1_ |= 0x00000001; paySetting_ = input.readInt64(); 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.Syncitem.internal_static_wechat_proto_UserInfoExt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_UserInfoExt_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.UserInfoExt.class, wechat.protobuf.Syncitem.UserInfoExt.Builder.class); } private int bitField0_; private int bitField1_; public static final int SNSUSERINFO_FIELD_NUMBER = 1; private wechat.protobuf.Wechat.SnsUserInfo snsUserInfo_; /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 1; * @return Whether the snsUserInfo field is set. */ @java.lang.Override public boolean hasSnsUserInfo() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 1; * @return The snsUserInfo. */ @java.lang.Override public wechat.protobuf.Wechat.SnsUserInfo getSnsUserInfo() { return snsUserInfo_ == null ? wechat.protobuf.Wechat.SnsUserInfo.getDefaultInstance() : snsUserInfo_; } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 1; */ @java.lang.Override public wechat.protobuf.Wechat.SnsUserInfoOrBuilder getSnsUserInfoOrBuilder() { return snsUserInfo_ == null ? wechat.protobuf.Wechat.SnsUserInfo.getDefaultInstance() : snsUserInfo_; } public static final int MYBRANDLIST_FIELD_NUMBER = 2; private volatile java.lang.Object myBrandList_; /** * optional string myBrandList = 2; * @return Whether the myBrandList field is set. */ @java.lang.Override public boolean hasMyBrandList() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string myBrandList = 2; * @return The myBrandList. */ @java.lang.Override public java.lang.String getMyBrandList() { java.lang.Object ref = myBrandList_; 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()) { myBrandList_ = s; } return s; } } /** * optional string myBrandList = 2; * @return The bytes for myBrandList. */ @java.lang.Override public com.google.protobuf.ByteString getMyBrandListBytes() { java.lang.Object ref = myBrandList_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); myBrandList_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MSGPUSHSOUND_FIELD_NUMBER = 3; private volatile java.lang.Object msgPushSound_; /** * optional string msgPushSound = 3; * @return Whether the msgPushSound field is set. */ @java.lang.Override public boolean hasMsgPushSound() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string msgPushSound = 3; * @return The msgPushSound. */ @java.lang.Override public java.lang.String getMsgPushSound() { java.lang.Object ref = msgPushSound_; 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()) { msgPushSound_ = s; } return s; } } /** * optional string msgPushSound = 3; * @return The bytes for msgPushSound. */ @java.lang.Override public com.google.protobuf.ByteString getMsgPushSoundBytes() { java.lang.Object ref = msgPushSound_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msgPushSound_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VOIPPUSHSOUND_FIELD_NUMBER = 4; private volatile java.lang.Object voipPushSound_; /** * optional string voipPushSound = 4; * @return Whether the voipPushSound field is set. */ @java.lang.Override public boolean hasVoipPushSound() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string voipPushSound = 4; * @return The voipPushSound. */ @java.lang.Override public java.lang.String getVoipPushSound() { java.lang.Object ref = voipPushSound_; 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()) { voipPushSound_ = s; } return s; } } /** * optional string voipPushSound = 4; * @return The bytes for voipPushSound. */ @java.lang.Override public com.google.protobuf.ByteString getVoipPushSoundBytes() { java.lang.Object ref = voipPushSound_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); voipPushSound_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BIGCHATROOMSIZE_FIELD_NUMBER = 5; private int bigChatRoomSize_; /** * optional uint32 bigChatRoomSize = 5; * @return Whether the bigChatRoomSize field is set. */ @java.lang.Override public boolean hasBigChatRoomSize() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 bigChatRoomSize = 5; * @return The bigChatRoomSize. */ @java.lang.Override public int getBigChatRoomSize() { return bigChatRoomSize_; } public static final int BIGCHATROOMQUOTA_FIELD_NUMBER = 6; private int bigChatRoomQuota_; /** * optional uint32 bigChatRoomQuota = 6; * @return Whether the bigChatRoomQuota field is set. */ @java.lang.Override public boolean hasBigChatRoomQuota() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 bigChatRoomQuota = 6; * @return The bigChatRoomQuota. */ @java.lang.Override public int getBigChatRoomQuota() { return bigChatRoomQuota_; } public static final int BIGCHATROOMINVITE_FIELD_NUMBER = 7; private int bigChatRoomInvite_; /** * optional uint32 bigChatRoomInvite = 7; * @return Whether the bigChatRoomInvite field is set. */ @java.lang.Override public boolean hasBigChatRoomInvite() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 bigChatRoomInvite = 7; * @return The bigChatRoomInvite. */ @java.lang.Override public int getBigChatRoomInvite() { return bigChatRoomInvite_; } public static final int SAFEMOBILE_FIELD_NUMBER = 8; private volatile java.lang.Object safeMobile_; /** * optional string safeMobile = 8; * @return Whether the safeMobile field is set. */ @java.lang.Override public boolean hasSafeMobile() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string safeMobile = 8; * @return The safeMobile. */ @java.lang.Override public java.lang.String getSafeMobile() { java.lang.Object ref = safeMobile_; 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()) { safeMobile_ = s; } return s; } } /** * optional string safeMobile = 8; * @return The bytes for safeMobile. */ @java.lang.Override public com.google.protobuf.ByteString getSafeMobileBytes() { java.lang.Object ref = safeMobile_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); safeMobile_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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_ & 0x00000100) != 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_ & 0x00000200) != 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; } } public static final int MAINACCTTYPE_FIELD_NUMBER = 11; private int mainAcctType_; /** * optional uint32 mainAcctType = 11; * @return Whether the mainAcctType field is set. */ @java.lang.Override public boolean hasMainAcctType() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint32 mainAcctType = 11; * @return The mainAcctType. */ @java.lang.Override public int getMainAcctType() { return mainAcctType_; } public static final int EXTXML_FIELD_NUMBER = 12; private wechat.protobuf.Wechat.SKBuiltinString extXml_; /** * optional .wechat_proto.SKBuiltinString extXml = 12; * @return Whether the extXml field is set. */ @java.lang.Override public boolean hasExtXml() { return ((bitField0_ & 0x00000800) != 0); } /** * optional .wechat_proto.SKBuiltinString extXml = 12; * @return The extXml. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString getExtXml() { return extXml_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : extXml_; } /** * optional .wechat_proto.SKBuiltinString extXml = 12; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getExtXmlOrBuilder() { return extXml_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : extXml_; } public static final int SAFEDEVICELIST_FIELD_NUMBER = 13; private wechat.protobuf.Syncitem.SafeDeviceList safeDeviceList_; /** * optional .wechat_proto.SafeDeviceList safeDeviceList = 13; * @return Whether the safeDeviceList field is set. */ @java.lang.Override public boolean hasSafeDeviceList() { return ((bitField0_ & 0x00001000) != 0); } /** * optional .wechat_proto.SafeDeviceList safeDeviceList = 13; * @return The safeDeviceList. */ @java.lang.Override public wechat.protobuf.Syncitem.SafeDeviceList getSafeDeviceList() { return safeDeviceList_ == null ? wechat.protobuf.Syncitem.SafeDeviceList.getDefaultInstance() : safeDeviceList_; } /** * optional .wechat_proto.SafeDeviceList safeDeviceList = 13; */ @java.lang.Override public wechat.protobuf.Syncitem.SafeDeviceListOrBuilder getSafeDeviceListOrBuilder() { return safeDeviceList_ == null ? wechat.protobuf.Syncitem.SafeDeviceList.getDefaultInstance() : safeDeviceList_; } public static final int SAFEDEVICE_FIELD_NUMBER = 14; private int safeDevice_; /** * optional uint32 safeDevice = 14; * @return Whether the safeDevice field is set. */ @java.lang.Override public boolean hasSafeDevice() { return ((bitField0_ & 0x00002000) != 0); } /** * optional uint32 safeDevice = 14; * @return The safeDevice. */ @java.lang.Override public int getSafeDevice() { return safeDevice_; } public static final int GRAYSCALEFLAG_FIELD_NUMBER = 15; private int grayscaleFlag_; /** * optional uint32 grayscaleFlag = 15; * @return Whether the grayscaleFlag field is set. */ @java.lang.Override public boolean hasGrayscaleFlag() { return ((bitField0_ & 0x00004000) != 0); } /** * optional uint32 grayscaleFlag = 15; * @return The grayscaleFlag. */ @java.lang.Override public int getGrayscaleFlag() { return grayscaleFlag_; } public static final int GOOGLECONTACTNAME_FIELD_NUMBER = 16; private volatile java.lang.Object googleContactName_; /** * optional string googleContactName = 16; * @return Whether the googleContactName field is set. */ @java.lang.Override public boolean hasGoogleContactName() { return ((bitField0_ & 0x00008000) != 0); } /** * optional string googleContactName = 16; * @return The googleContactName. */ @java.lang.Override public java.lang.String getGoogleContactName() { java.lang.Object ref = googleContactName_; 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()) { googleContactName_ = s; } return s; } } /** * optional string googleContactName = 16; * @return The bytes for googleContactName. */ @java.lang.Override public com.google.protobuf.ByteString getGoogleContactNameBytes() { java.lang.Object ref = googleContactName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); googleContactName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IDCARDNUM_FIELD_NUMBER = 17; private volatile java.lang.Object idcardNum_; /** * optional string idcardNum = 17; * @return Whether the idcardNum field is set. */ @java.lang.Override public boolean hasIdcardNum() { return ((bitField0_ & 0x00010000) != 0); } /** * optional string idcardNum = 17; * @return The idcardNum. */ @java.lang.Override public java.lang.String getIdcardNum() { java.lang.Object ref = idcardNum_; 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()) { idcardNum_ = s; } return s; } } /** * optional string idcardNum = 17; * @return The bytes for idcardNum. */ @java.lang.Override public com.google.protobuf.ByteString getIdcardNumBytes() { java.lang.Object ref = idcardNum_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); idcardNum_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REALNAME_FIELD_NUMBER = 18; private volatile java.lang.Object realName_; /** * optional string realName = 18; * @return Whether the realName field is set. */ @java.lang.Override public boolean hasRealName() { return ((bitField0_ & 0x00020000) != 0); } /** * optional string realName = 18; * @return The realName. */ @java.lang.Override public java.lang.String getRealName() { java.lang.Object ref = realName_; 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()) { realName_ = s; } return s; } } /** * optional string realName = 18; * @return The bytes for realName. */ @java.lang.Override public com.google.protobuf.ByteString getRealNameBytes() { java.lang.Object ref = realName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); realName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REGNUMRY_FIELD_NUMBER = 19; private volatile java.lang.Object regNumry_; /** * optional string regNumry = 19; * @return Whether the regNumry field is set. */ @java.lang.Override public boolean hasRegNumry() { return ((bitField0_ & 0x00040000) != 0); } /** * optional string regNumry = 19; * @return The regNumry. */ @java.lang.Override public java.lang.String getRegNumry() { java.lang.Object ref = regNumry_; 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()) { regNumry_ = s; } return s; } } /** * optional string regNumry = 19; * @return The bytes for regNumry. */ @java.lang.Override public com.google.protobuf.ByteString getRegNumryBytes() { java.lang.Object ref = regNumry_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); regNumry_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BBPPID_FIELD_NUMBER = 20; private volatile java.lang.Object bbppid_; /** * optional string bbppid = 20; * @return Whether the bbppid field is set. */ @java.lang.Override public boolean hasBbppid() { return ((bitField0_ & 0x00080000) != 0); } /** * optional string bbppid = 20; * @return The bbppid. */ @java.lang.Override public java.lang.String getBbppid() { java.lang.Object ref = bbppid_; 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()) { bbppid_ = s; } return s; } } /** * optional string bbppid = 20; * @return The bytes for bbppid. */ @java.lang.Override public com.google.protobuf.ByteString getBbppidBytes() { java.lang.Object ref = bbppid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bbppid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BBPIN_FIELD_NUMBER = 21; private volatile java.lang.Object bbpin_; /** * optional string bbpin = 21; * @return Whether the bbpin field is set. */ @java.lang.Override public boolean hasBbpin() { return ((bitField0_ & 0x00100000) != 0); } /** * optional string bbpin = 21; * @return The bbpin. */ @java.lang.Override public java.lang.String getBbpin() { java.lang.Object ref = bbpin_; 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()) { bbpin_ = s; } return s; } } /** * optional string bbpin = 21; * @return The bytes for bbpin. */ @java.lang.Override public com.google.protobuf.ByteString getBbpinBytes() { java.lang.Object ref = bbpin_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bbpin_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BBMNICKNAME_FIELD_NUMBER = 22; private volatile java.lang.Object bbmnickName_; /** * optional string bbmnickName = 22; * @return Whether the bbmnickName field is set. */ @java.lang.Override public boolean hasBbmnickName() { return ((bitField0_ & 0x00200000) != 0); } /** * optional string bbmnickName = 22; * @return The bbmnickName. */ @java.lang.Override public java.lang.String getBbmnickName() { java.lang.Object ref = bbmnickName_; 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()) { bbmnickName_ = s; } return s; } } /** * optional string bbmnickName = 22; * @return The bytes for bbmnickName. */ @java.lang.Override public com.google.protobuf.ByteString getBbmnickNameBytes() { java.lang.Object ref = bbmnickName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bbmnickName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LINKEDINCONTACTITEM_FIELD_NUMBER = 23; private wechat.protobuf.Wechat.LinkedinContactItem linkedinContactItem_; /** * optional .wechat_proto.LinkedinContactItem linkedinContactItem = 23; * @return Whether the linkedinContactItem field is set. */ @java.lang.Override public boolean hasLinkedinContactItem() { return ((bitField0_ & 0x00400000) != 0); } /** * optional .wechat_proto.LinkedinContactItem linkedinContactItem = 23; * @return The linkedinContactItem. */ @java.lang.Override public wechat.protobuf.Wechat.LinkedinContactItem getLinkedinContactItem() { return linkedinContactItem_ == null ? wechat.protobuf.Wechat.LinkedinContactItem.getDefaultInstance() : linkedinContactItem_; } /** * optional .wechat_proto.LinkedinContactItem linkedinContactItem = 23; */ @java.lang.Override public wechat.protobuf.Wechat.LinkedinContactItemOrBuilder getLinkedinContactItemOrBuilder() { return linkedinContactItem_ == null ? wechat.protobuf.Wechat.LinkedinContactItem.getDefaultInstance() : linkedinContactItem_; } public static final int KFINFO_FIELD_NUMBER = 24; private volatile java.lang.Object kfinfo_; /** * optional string kfinfo = 24; * @return Whether the kfinfo field is set. */ @java.lang.Override public boolean hasKfinfo() { return ((bitField0_ & 0x00800000) != 0); } /** * optional string kfinfo = 24; * @return The kfinfo. */ @java.lang.Override public java.lang.String getKfinfo() { java.lang.Object ref = kfinfo_; 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()) { kfinfo_ = s; } return s; } } /** * optional string kfinfo = 24; * @return The bytes for kfinfo. */ @java.lang.Override public com.google.protobuf.ByteString getKfinfoBytes() { java.lang.Object ref = kfinfo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); kfinfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATTERNLOCKINFO_FIELD_NUMBER = 25; private wechat.protobuf.Syncitem.PatternLockInfo patternLockInfo_; /** * optional .wechat_proto.PatternLockInfo patternLockInfo = 25; * @return Whether the patternLockInfo field is set. */ @java.lang.Override public boolean hasPatternLockInfo() { return ((bitField0_ & 0x01000000) != 0); } /** * optional .wechat_proto.PatternLockInfo patternLockInfo = 25; * @return The patternLockInfo. */ @java.lang.Override public wechat.protobuf.Syncitem.PatternLockInfo getPatternLockInfo() { return patternLockInfo_ == null ? wechat.protobuf.Syncitem.PatternLockInfo.getDefaultInstance() : patternLockInfo_; } /** * optional .wechat_proto.PatternLockInfo patternLockInfo = 25; */ @java.lang.Override public wechat.protobuf.Syncitem.PatternLockInfoOrBuilder getPatternLockInfoOrBuilder() { return patternLockInfo_ == null ? wechat.protobuf.Syncitem.PatternLockInfo.getDefaultInstance() : patternLockInfo_; } public static final int SECURITYDEVICEID_FIELD_NUMBER = 26; private volatile java.lang.Object securityDeviceId_; /** * optional string securityDeviceId = 26; * @return Whether the securityDeviceId field is set. */ @java.lang.Override public boolean hasSecurityDeviceId() { return ((bitField0_ & 0x02000000) != 0); } /** * optional string securityDeviceId = 26; * @return The securityDeviceId. */ @java.lang.Override public java.lang.String getSecurityDeviceId() { java.lang.Object ref = securityDeviceId_; 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()) { securityDeviceId_ = s; } return s; } } /** * optional string securityDeviceId = 26; * @return The bytes for securityDeviceId. */ @java.lang.Override public com.google.protobuf.ByteString getSecurityDeviceIdBytes() { java.lang.Object ref = securityDeviceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); securityDeviceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PAYWALLETTYPE_FIELD_NUMBER = 27; private int payWalletType_; /** * optional uint32 payWalletType = 27; * @return Whether the payWalletType field is set. */ @java.lang.Override public boolean hasPayWalletType() { return ((bitField0_ & 0x04000000) != 0); } /** * optional uint32 payWalletType = 27; * @return The payWalletType. */ @java.lang.Override public int getPayWalletType() { return payWalletType_; } public static final int WEIDIANINFO_FIELD_NUMBER = 28; private volatile java.lang.Object weiDianInfo_; /** * optional string weiDianInfo = 28; * @return Whether the weiDianInfo field is set. */ @java.lang.Override public boolean hasWeiDianInfo() { return ((bitField0_ & 0x08000000) != 0); } /** * optional string weiDianInfo = 28; * @return The weiDianInfo. */ @java.lang.Override public java.lang.String getWeiDianInfo() { java.lang.Object ref = weiDianInfo_; 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()) { weiDianInfo_ = s; } return s; } } /** * optional string weiDianInfo = 28; * @return The bytes for weiDianInfo. */ @java.lang.Override public com.google.protobuf.ByteString getWeiDianInfoBytes() { java.lang.Object ref = weiDianInfo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); weiDianInfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WALLETREGION_FIELD_NUMBER = 29; private int walletRegion_; /** * optional uint32 walletRegion = 29; * @return Whether the walletRegion field is set. */ @java.lang.Override public boolean hasWalletRegion() { return ((bitField0_ & 0x10000000) != 0); } /** * optional uint32 walletRegion = 29; * @return The walletRegion. */ @java.lang.Override public int getWalletRegion() { return walletRegion_; } public static final int EXTSTATUS_FIELD_NUMBER = 30; private long extStatus_; /** * optional int64 extStatus = 30; * @return Whether the extStatus field is set. */ @java.lang.Override public boolean hasExtStatus() { return ((bitField0_ & 0x20000000) != 0); } /** * optional int64 extStatus = 30; * @return The extStatus. */ @java.lang.Override public long getExtStatus() { return extStatus_; } public static final int F2FPUSHSOUND_FIELD_NUMBER = 31; private volatile java.lang.Object f2FpushSound_; /** * optional string f2FpushSound = 31; * @return Whether the f2FpushSound field is set. */ @java.lang.Override public boolean hasF2FpushSound() { return ((bitField0_ & 0x40000000) != 0); } /** * optional string f2FpushSound = 31; * @return The f2FpushSound. */ @java.lang.Override public java.lang.String getF2FpushSound() { java.lang.Object ref = f2FpushSound_; 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()) { f2FpushSound_ = s; } return s; } } /** * optional string f2FpushSound = 31; * @return The bytes for f2FpushSound. */ @java.lang.Override public com.google.protobuf.ByteString getF2FpushSoundBytes() { java.lang.Object ref = f2FpushSound_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); f2FpushSound_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int USERSTATUS_FIELD_NUMBER = 32; private int userStatus_; /** * optional uint32 userStatus = 32; * @return Whether the userStatus field is set. */ @java.lang.Override public boolean hasUserStatus() { return ((bitField0_ & 0x80000000) != 0); } /** * optional uint32 userStatus = 32; * @return The userStatus. */ @java.lang.Override public int getUserStatus() { return userStatus_; } public static final int PAYSETTING_FIELD_NUMBER = 33; private long paySetting_; /** * optional int64 paySetting = 33; * @return Whether the paySetting field is set. */ @java.lang.Override public boolean hasPaySetting() { return ((bitField1_ & 0x00000001) != 0); } /** * optional int64 paySetting = 33; * @return The paySetting. */ @java.lang.Override public long getPaySetting() { return paySetting_; } 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, getSnsUserInfo()); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, myBrandList_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, msgPushSound_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, voipPushSound_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, bigChatRoomSize_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(6, bigChatRoomQuota_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt32(7, bigChatRoomInvite_); } if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, safeMobile_); } if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, bigHeadImgUrl_); } if (((bitField0_ & 0x00000200) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, smallHeadImgUrl_); } if (((bitField0_ & 0x00000400) != 0)) { output.writeUInt32(11, mainAcctType_); } if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(12, getExtXml()); } if (((bitField0_ & 0x00001000) != 0)) { output.writeMessage(13, getSafeDeviceList()); } if (((bitField0_ & 0x00002000) != 0)) { output.writeUInt32(14, safeDevice_); } if (((bitField0_ & 0x00004000) != 0)) { output.writeUInt32(15, grayscaleFlag_); } if (((bitField0_ & 0x00008000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, googleContactName_); } if (((bitField0_ & 0x00010000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, idcardNum_); } if (((bitField0_ & 0x00020000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, realName_); } if (((bitField0_ & 0x00040000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, regNumry_); } if (((bitField0_ & 0x00080000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 20, bbppid_); } if (((bitField0_ & 0x00100000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 21, bbpin_); } if (((bitField0_ & 0x00200000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 22, bbmnickName_); } if (((bitField0_ & 0x00400000) != 0)) { output.writeMessage(23, getLinkedinContactItem()); } if (((bitField0_ & 0x00800000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 24, kfinfo_); } if (((bitField0_ & 0x01000000) != 0)) { output.writeMessage(25, getPatternLockInfo()); } if (((bitField0_ & 0x02000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 26, securityDeviceId_); } if (((bitField0_ & 0x04000000) != 0)) { output.writeUInt32(27, payWalletType_); } if (((bitField0_ & 0x08000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 28, weiDianInfo_); } if (((bitField0_ & 0x10000000) != 0)) { output.writeUInt32(29, walletRegion_); } if (((bitField0_ & 0x20000000) != 0)) { output.writeInt64(30, extStatus_); } if (((bitField0_ & 0x40000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 31, f2FpushSound_); } if (((bitField0_ & 0x80000000) != 0)) { output.writeUInt32(32, userStatus_); } if (((bitField1_ & 0x00000001) != 0)) { output.writeInt64(33, paySetting_); } 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, getSnsUserInfo()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, myBrandList_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, msgPushSound_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, voipPushSound_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, bigChatRoomSize_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, bigChatRoomQuota_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, bigChatRoomInvite_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, safeMobile_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, bigHeadImgUrl_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, smallHeadImgUrl_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(11, mainAcctType_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getExtXml()); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getSafeDeviceList()); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(14, safeDevice_); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(15, grayscaleFlag_); } if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, googleContactName_); } if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, idcardNum_); } if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, realName_); } if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, regNumry_); } if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, bbppid_); } if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, bbpin_); } if (((bitField0_ & 0x00200000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, bbmnickName_); } if (((bitField0_ & 0x00400000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, getLinkedinContactItem()); } if (((bitField0_ & 0x00800000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, kfinfo_); } if (((bitField0_ & 0x01000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(25, getPatternLockInfo()); } if (((bitField0_ & 0x02000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, securityDeviceId_); } if (((bitField0_ & 0x04000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(27, payWalletType_); } if (((bitField0_ & 0x08000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, weiDianInfo_); } if (((bitField0_ & 0x10000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(29, walletRegion_); } if (((bitField0_ & 0x20000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(30, extStatus_); } if (((bitField0_ & 0x40000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, f2FpushSound_); } if (((bitField0_ & 0x80000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(32, userStatus_); } if (((bitField1_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(33, paySetting_); } 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.Syncitem.UserInfoExt)) { return super.equals(obj); } wechat.protobuf.Syncitem.UserInfoExt other = (wechat.protobuf.Syncitem.UserInfoExt) obj; if (hasSnsUserInfo() != other.hasSnsUserInfo()) return false; if (hasSnsUserInfo()) { if (!getSnsUserInfo() .equals(other.getSnsUserInfo())) return false; } if (hasMyBrandList() != other.hasMyBrandList()) return false; if (hasMyBrandList()) { if (!getMyBrandList() .equals(other.getMyBrandList())) return false; } if (hasMsgPushSound() != other.hasMsgPushSound()) return false; if (hasMsgPushSound()) { if (!getMsgPushSound() .equals(other.getMsgPushSound())) return false; } if (hasVoipPushSound() != other.hasVoipPushSound()) return false; if (hasVoipPushSound()) { if (!getVoipPushSound() .equals(other.getVoipPushSound())) return false; } if (hasBigChatRoomSize() != other.hasBigChatRoomSize()) return false; if (hasBigChatRoomSize()) { if (getBigChatRoomSize() != other.getBigChatRoomSize()) return false; } if (hasBigChatRoomQuota() != other.hasBigChatRoomQuota()) return false; if (hasBigChatRoomQuota()) { if (getBigChatRoomQuota() != other.getBigChatRoomQuota()) return false; } if (hasBigChatRoomInvite() != other.hasBigChatRoomInvite()) return false; if (hasBigChatRoomInvite()) { if (getBigChatRoomInvite() != other.getBigChatRoomInvite()) return false; } if (hasSafeMobile() != other.hasSafeMobile()) return false; if (hasSafeMobile()) { if (!getSafeMobile() .equals(other.getSafeMobile())) 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 (hasMainAcctType() != other.hasMainAcctType()) return false; if (hasMainAcctType()) { if (getMainAcctType() != other.getMainAcctType()) return false; } if (hasExtXml() != other.hasExtXml()) return false; if (hasExtXml()) { if (!getExtXml() .equals(other.getExtXml())) return false; } if (hasSafeDeviceList() != other.hasSafeDeviceList()) return false; if (hasSafeDeviceList()) { if (!getSafeDeviceList() .equals(other.getSafeDeviceList())) return false; } if (hasSafeDevice() != other.hasSafeDevice()) return false; if (hasSafeDevice()) { if (getSafeDevice() != other.getSafeDevice()) return false; } if (hasGrayscaleFlag() != other.hasGrayscaleFlag()) return false; if (hasGrayscaleFlag()) { if (getGrayscaleFlag() != other.getGrayscaleFlag()) return false; } if (hasGoogleContactName() != other.hasGoogleContactName()) return false; if (hasGoogleContactName()) { if (!getGoogleContactName() .equals(other.getGoogleContactName())) return false; } if (hasIdcardNum() != other.hasIdcardNum()) return false; if (hasIdcardNum()) { if (!getIdcardNum() .equals(other.getIdcardNum())) return false; } if (hasRealName() != other.hasRealName()) return false; if (hasRealName()) { if (!getRealName() .equals(other.getRealName())) return false; } if (hasRegNumry() != other.hasRegNumry()) return false; if (hasRegNumry()) { if (!getRegNumry() .equals(other.getRegNumry())) return false; } if (hasBbppid() != other.hasBbppid()) return false; if (hasBbppid()) { if (!getBbppid() .equals(other.getBbppid())) return false; } if (hasBbpin() != other.hasBbpin()) return false; if (hasBbpin()) { if (!getBbpin() .equals(other.getBbpin())) return false; } if (hasBbmnickName() != other.hasBbmnickName()) return false; if (hasBbmnickName()) { if (!getBbmnickName() .equals(other.getBbmnickName())) return false; } if (hasLinkedinContactItem() != other.hasLinkedinContactItem()) return false; if (hasLinkedinContactItem()) { if (!getLinkedinContactItem() .equals(other.getLinkedinContactItem())) return false; } if (hasKfinfo() != other.hasKfinfo()) return false; if (hasKfinfo()) { if (!getKfinfo() .equals(other.getKfinfo())) return false; } if (hasPatternLockInfo() != other.hasPatternLockInfo()) return false; if (hasPatternLockInfo()) { if (!getPatternLockInfo() .equals(other.getPatternLockInfo())) return false; } if (hasSecurityDeviceId() != other.hasSecurityDeviceId()) return false; if (hasSecurityDeviceId()) { if (!getSecurityDeviceId() .equals(other.getSecurityDeviceId())) return false; } if (hasPayWalletType() != other.hasPayWalletType()) return false; if (hasPayWalletType()) { if (getPayWalletType() != other.getPayWalletType()) return false; } if (hasWeiDianInfo() != other.hasWeiDianInfo()) return false; if (hasWeiDianInfo()) { if (!getWeiDianInfo() .equals(other.getWeiDianInfo())) return false; } if (hasWalletRegion() != other.hasWalletRegion()) return false; if (hasWalletRegion()) { if (getWalletRegion() != other.getWalletRegion()) return false; } if (hasExtStatus() != other.hasExtStatus()) return false; if (hasExtStatus()) { if (getExtStatus() != other.getExtStatus()) return false; } if (hasF2FpushSound() != other.hasF2FpushSound()) return false; if (hasF2FpushSound()) { if (!getF2FpushSound() .equals(other.getF2FpushSound())) return false; } if (hasUserStatus() != other.hasUserStatus()) return false; if (hasUserStatus()) { if (getUserStatus() != other.getUserStatus()) return false; } if (hasPaySetting() != other.hasPaySetting()) return false; if (hasPaySetting()) { if (getPaySetting() != other.getPaySetting()) 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 (hasSnsUserInfo()) { hash = (37 * hash) + SNSUSERINFO_FIELD_NUMBER; hash = (53 * hash) + getSnsUserInfo().hashCode(); } if (hasMyBrandList()) { hash = (37 * hash) + MYBRANDLIST_FIELD_NUMBER; hash = (53 * hash) + getMyBrandList().hashCode(); } if (hasMsgPushSound()) { hash = (37 * hash) + MSGPUSHSOUND_FIELD_NUMBER; hash = (53 * hash) + getMsgPushSound().hashCode(); } if (hasVoipPushSound()) { hash = (37 * hash) + VOIPPUSHSOUND_FIELD_NUMBER; hash = (53 * hash) + getVoipPushSound().hashCode(); } if (hasBigChatRoomSize()) { hash = (37 * hash) + BIGCHATROOMSIZE_FIELD_NUMBER; hash = (53 * hash) + getBigChatRoomSize(); } if (hasBigChatRoomQuota()) { hash = (37 * hash) + BIGCHATROOMQUOTA_FIELD_NUMBER; hash = (53 * hash) + getBigChatRoomQuota(); } if (hasBigChatRoomInvite()) { hash = (37 * hash) + BIGCHATROOMINVITE_FIELD_NUMBER; hash = (53 * hash) + getBigChatRoomInvite(); } if (hasSafeMobile()) { hash = (37 * hash) + SAFEMOBILE_FIELD_NUMBER; hash = (53 * hash) + getSafeMobile().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(); } if (hasMainAcctType()) { hash = (37 * hash) + MAINACCTTYPE_FIELD_NUMBER; hash = (53 * hash) + getMainAcctType(); } if (hasExtXml()) { hash = (37 * hash) + EXTXML_FIELD_NUMBER; hash = (53 * hash) + getExtXml().hashCode(); } if (hasSafeDeviceList()) { hash = (37 * hash) + SAFEDEVICELIST_FIELD_NUMBER; hash = (53 * hash) + getSafeDeviceList().hashCode(); } if (hasSafeDevice()) { hash = (37 * hash) + SAFEDEVICE_FIELD_NUMBER; hash = (53 * hash) + getSafeDevice(); } if (hasGrayscaleFlag()) { hash = (37 * hash) + GRAYSCALEFLAG_FIELD_NUMBER; hash = (53 * hash) + getGrayscaleFlag(); } if (hasGoogleContactName()) { hash = (37 * hash) + GOOGLECONTACTNAME_FIELD_NUMBER; hash = (53 * hash) + getGoogleContactName().hashCode(); } if (hasIdcardNum()) { hash = (37 * hash) + IDCARDNUM_FIELD_NUMBER; hash = (53 * hash) + getIdcardNum().hashCode(); } if (hasRealName()) { hash = (37 * hash) + REALNAME_FIELD_NUMBER; hash = (53 * hash) + getRealName().hashCode(); } if (hasRegNumry()) { hash = (37 * hash) + REGNUMRY_FIELD_NUMBER; hash = (53 * hash) + getRegNumry().hashCode(); } if (hasBbppid()) { hash = (37 * hash) + BBPPID_FIELD_NUMBER; hash = (53 * hash) + getBbppid().hashCode(); } if (hasBbpin()) { hash = (37 * hash) + BBPIN_FIELD_NUMBER; hash = (53 * hash) + getBbpin().hashCode(); } if (hasBbmnickName()) { hash = (37 * hash) + BBMNICKNAME_FIELD_NUMBER; hash = (53 * hash) + getBbmnickName().hashCode(); } if (hasLinkedinContactItem()) { hash = (37 * hash) + LINKEDINCONTACTITEM_FIELD_NUMBER; hash = (53 * hash) + getLinkedinContactItem().hashCode(); } if (hasKfinfo()) { hash = (37 * hash) + KFINFO_FIELD_NUMBER; hash = (53 * hash) + getKfinfo().hashCode(); } if (hasPatternLockInfo()) { hash = (37 * hash) + PATTERNLOCKINFO_FIELD_NUMBER; hash = (53 * hash) + getPatternLockInfo().hashCode(); } if (hasSecurityDeviceId()) { hash = (37 * hash) + SECURITYDEVICEID_FIELD_NUMBER; hash = (53 * hash) + getSecurityDeviceId().hashCode(); } if (hasPayWalletType()) { hash = (37 * hash) + PAYWALLETTYPE_FIELD_NUMBER; hash = (53 * hash) + getPayWalletType(); } if (hasWeiDianInfo()) { hash = (37 * hash) + WEIDIANINFO_FIELD_NUMBER; hash = (53 * hash) + getWeiDianInfo().hashCode(); } if (hasWalletRegion()) { hash = (37 * hash) + WALLETREGION_FIELD_NUMBER; hash = (53 * hash) + getWalletRegion(); } if (hasExtStatus()) { hash = (37 * hash) + EXTSTATUS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getExtStatus()); } if (hasF2FpushSound()) { hash = (37 * hash) + F2FPUSHSOUND_FIELD_NUMBER; hash = (53 * hash) + getF2FpushSound().hashCode(); } if (hasUserStatus()) { hash = (37 * hash) + USERSTATUS_FIELD_NUMBER; hash = (53 * hash) + getUserStatus(); } if (hasPaySetting()) { hash = (37 * hash) + PAYSETTING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPaySetting()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.UserInfoExt parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.UserInfoExt parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.UserInfoExt parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.UserInfoExt 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.Syncitem.UserInfoExt parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.UserInfoExt parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.UserInfoExt parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.UserInfoExt 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.Syncitem.UserInfoExt parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.UserInfoExt 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.Syncitem.UserInfoExt parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.UserInfoExt 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.Syncitem.UserInfoExt 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.UserInfoExt} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.UserInfoExt) wechat.protobuf.Syncitem.UserInfoExtOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_UserInfoExt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_UserInfoExt_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.UserInfoExt.class, wechat.protobuf.Syncitem.UserInfoExt.Builder.class); } // Construct using wechat.protobuf.Syncitem.UserInfoExt.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSnsUserInfoFieldBuilder(); getExtXmlFieldBuilder(); getSafeDeviceListFieldBuilder(); getLinkedinContactItemFieldBuilder(); getPatternLockInfoFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (snsUserInfoBuilder_ == null) { snsUserInfo_ = null; } else { snsUserInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); myBrandList_ = ""; bitField0_ = (bitField0_ & ~0x00000002); msgPushSound_ = ""; bitField0_ = (bitField0_ & ~0x00000004); voipPushSound_ = ""; bitField0_ = (bitField0_ & ~0x00000008); bigChatRoomSize_ = 0; bitField0_ = (bitField0_ & ~0x00000010); bigChatRoomQuota_ = 0; bitField0_ = (bitField0_ & ~0x00000020); bigChatRoomInvite_ = 0; bitField0_ = (bitField0_ & ~0x00000040); safeMobile_ = ""; bitField0_ = (bitField0_ & ~0x00000080); bigHeadImgUrl_ = ""; bitField0_ = (bitField0_ & ~0x00000100); smallHeadImgUrl_ = ""; bitField0_ = (bitField0_ & ~0x00000200); mainAcctType_ = 0; bitField0_ = (bitField0_ & ~0x00000400); if (extXmlBuilder_ == null) { extXml_ = null; } else { extXmlBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); if (safeDeviceListBuilder_ == null) { safeDeviceList_ = null; } else { safeDeviceListBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00001000); safeDevice_ = 0; bitField0_ = (bitField0_ & ~0x00002000); grayscaleFlag_ = 0; bitField0_ = (bitField0_ & ~0x00004000); googleContactName_ = ""; bitField0_ = (bitField0_ & ~0x00008000); idcardNum_ = ""; bitField0_ = (bitField0_ & ~0x00010000); realName_ = ""; bitField0_ = (bitField0_ & ~0x00020000); regNumry_ = ""; bitField0_ = (bitField0_ & ~0x00040000); bbppid_ = ""; bitField0_ = (bitField0_ & ~0x00080000); bbpin_ = ""; bitField0_ = (bitField0_ & ~0x00100000); bbmnickName_ = ""; bitField0_ = (bitField0_ & ~0x00200000); if (linkedinContactItemBuilder_ == null) { linkedinContactItem_ = null; } else { linkedinContactItemBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00400000); kfinfo_ = ""; bitField0_ = (bitField0_ & ~0x00800000); if (patternLockInfoBuilder_ == null) { patternLockInfo_ = null; } else { patternLockInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x01000000); securityDeviceId_ = ""; bitField0_ = (bitField0_ & ~0x02000000); payWalletType_ = 0; bitField0_ = (bitField0_ & ~0x04000000); weiDianInfo_ = ""; bitField0_ = (bitField0_ & ~0x08000000); walletRegion_ = 0; bitField0_ = (bitField0_ & ~0x10000000); extStatus_ = 0L; bitField0_ = (bitField0_ & ~0x20000000); f2FpushSound_ = ""; bitField0_ = (bitField0_ & ~0x40000000); userStatus_ = 0; bitField0_ = (bitField0_ & ~0x80000000); paySetting_ = 0L; bitField1_ = (bitField1_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_UserInfoExt_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.UserInfoExt getDefaultInstanceForType() { return wechat.protobuf.Syncitem.UserInfoExt.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.UserInfoExt build() { wechat.protobuf.Syncitem.UserInfoExt result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.UserInfoExt buildPartial() { wechat.protobuf.Syncitem.UserInfoExt result = new wechat.protobuf.Syncitem.UserInfoExt(this); int from_bitField0_ = bitField0_; int from_bitField1_ = bitField1_; int to_bitField0_ = 0; int to_bitField1_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (snsUserInfoBuilder_ == null) { result.snsUserInfo_ = snsUserInfo_; } else { result.snsUserInfo_ = snsUserInfoBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.myBrandList_ = myBrandList_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.msgPushSound_ = msgPushSound_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.voipPushSound_ = voipPushSound_; if (((from_bitField0_ & 0x00000010) != 0)) { result.bigChatRoomSize_ = bigChatRoomSize_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.bigChatRoomQuota_ = bigChatRoomQuota_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.bigChatRoomInvite_ = bigChatRoomInvite_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } result.safeMobile_ = safeMobile_; if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000100; } result.bigHeadImgUrl_ = bigHeadImgUrl_; if (((from_bitField0_ & 0x00000200) != 0)) { to_bitField0_ |= 0x00000200; } result.smallHeadImgUrl_ = smallHeadImgUrl_; if (((from_bitField0_ & 0x00000400) != 0)) { result.mainAcctType_ = mainAcctType_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00000800) != 0)) { if (extXmlBuilder_ == null) { result.extXml_ = extXml_; } else { result.extXml_ = extXmlBuilder_.build(); } to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00001000) != 0)) { if (safeDeviceListBuilder_ == null) { result.safeDeviceList_ = safeDeviceList_; } else { result.safeDeviceList_ = safeDeviceListBuilder_.build(); } to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00002000) != 0)) { result.safeDevice_ = safeDevice_; to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00004000) != 0)) { result.grayscaleFlag_ = grayscaleFlag_; to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00008000) != 0)) { to_bitField0_ |= 0x00008000; } result.googleContactName_ = googleContactName_; if (((from_bitField0_ & 0x00010000) != 0)) { to_bitField0_ |= 0x00010000; } result.idcardNum_ = idcardNum_; if (((from_bitField0_ & 0x00020000) != 0)) { to_bitField0_ |= 0x00020000; } result.realName_ = realName_; if (((from_bitField0_ & 0x00040000) != 0)) { to_bitField0_ |= 0x00040000; } result.regNumry_ = regNumry_; if (((from_bitField0_ & 0x00080000) != 0)) { to_bitField0_ |= 0x00080000; } result.bbppid_ = bbppid_; if (((from_bitField0_ & 0x00100000) != 0)) { to_bitField0_ |= 0x00100000; } result.bbpin_ = bbpin_; if (((from_bitField0_ & 0x00200000) != 0)) { to_bitField0_ |= 0x00200000; } result.bbmnickName_ = bbmnickName_; if (((from_bitField0_ & 0x00400000) != 0)) { if (linkedinContactItemBuilder_ == null) { result.linkedinContactItem_ = linkedinContactItem_; } else { result.linkedinContactItem_ = linkedinContactItemBuilder_.build(); } to_bitField0_ |= 0x00400000; } if (((from_bitField0_ & 0x00800000) != 0)) { to_bitField0_ |= 0x00800000; } result.kfinfo_ = kfinfo_; if (((from_bitField0_ & 0x01000000) != 0)) { if (patternLockInfoBuilder_ == null) { result.patternLockInfo_ = patternLockInfo_; } else { result.patternLockInfo_ = patternLockInfoBuilder_.build(); } to_bitField0_ |= 0x01000000; } if (((from_bitField0_ & 0x02000000) != 0)) { to_bitField0_ |= 0x02000000; } result.securityDeviceId_ = securityDeviceId_; if (((from_bitField0_ & 0x04000000) != 0)) { result.payWalletType_ = payWalletType_; to_bitField0_ |= 0x04000000; } if (((from_bitField0_ & 0x08000000) != 0)) { to_bitField0_ |= 0x08000000; } result.weiDianInfo_ = weiDianInfo_; if (((from_bitField0_ & 0x10000000) != 0)) { result.walletRegion_ = walletRegion_; to_bitField0_ |= 0x10000000; } if (((from_bitField0_ & 0x20000000) != 0)) { result.extStatus_ = extStatus_; to_bitField0_ |= 0x20000000; } if (((from_bitField0_ & 0x40000000) != 0)) { to_bitField0_ |= 0x40000000; } result.f2FpushSound_ = f2FpushSound_; if (((from_bitField0_ & 0x80000000) != 0)) { result.userStatus_ = userStatus_; to_bitField0_ |= 0x80000000; } if (((from_bitField1_ & 0x00000001) != 0)) { result.paySetting_ = paySetting_; to_bitField1_ |= 0x00000001; } result.bitField0_ = to_bitField0_; result.bitField1_ = to_bitField1_; 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.Syncitem.UserInfoExt) { return mergeFrom((wechat.protobuf.Syncitem.UserInfoExt)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.UserInfoExt other) { if (other == wechat.protobuf.Syncitem.UserInfoExt.getDefaultInstance()) return this; if (other.hasSnsUserInfo()) { mergeSnsUserInfo(other.getSnsUserInfo()); } if (other.hasMyBrandList()) { bitField0_ |= 0x00000002; myBrandList_ = other.myBrandList_; onChanged(); } if (other.hasMsgPushSound()) { bitField0_ |= 0x00000004; msgPushSound_ = other.msgPushSound_; onChanged(); } if (other.hasVoipPushSound()) { bitField0_ |= 0x00000008; voipPushSound_ = other.voipPushSound_; onChanged(); } if (other.hasBigChatRoomSize()) { setBigChatRoomSize(other.getBigChatRoomSize()); } if (other.hasBigChatRoomQuota()) { setBigChatRoomQuota(other.getBigChatRoomQuota()); } if (other.hasBigChatRoomInvite()) { setBigChatRoomInvite(other.getBigChatRoomInvite()); } if (other.hasSafeMobile()) { bitField0_ |= 0x00000080; safeMobile_ = other.safeMobile_; onChanged(); } if (other.hasBigHeadImgUrl()) { bitField0_ |= 0x00000100; bigHeadImgUrl_ = other.bigHeadImgUrl_; onChanged(); } if (other.hasSmallHeadImgUrl()) { bitField0_ |= 0x00000200; smallHeadImgUrl_ = other.smallHeadImgUrl_; onChanged(); } if (other.hasMainAcctType()) { setMainAcctType(other.getMainAcctType()); } if (other.hasExtXml()) { mergeExtXml(other.getExtXml()); } if (other.hasSafeDeviceList()) { mergeSafeDeviceList(other.getSafeDeviceList()); } if (other.hasSafeDevice()) { setSafeDevice(other.getSafeDevice()); } if (other.hasGrayscaleFlag()) { setGrayscaleFlag(other.getGrayscaleFlag()); } if (other.hasGoogleContactName()) { bitField0_ |= 0x00008000; googleContactName_ = other.googleContactName_; onChanged(); } if (other.hasIdcardNum()) { bitField0_ |= 0x00010000; idcardNum_ = other.idcardNum_; onChanged(); } if (other.hasRealName()) { bitField0_ |= 0x00020000; realName_ = other.realName_; onChanged(); } if (other.hasRegNumry()) { bitField0_ |= 0x00040000; regNumry_ = other.regNumry_; onChanged(); } if (other.hasBbppid()) { bitField0_ |= 0x00080000; bbppid_ = other.bbppid_; onChanged(); } if (other.hasBbpin()) { bitField0_ |= 0x00100000; bbpin_ = other.bbpin_; onChanged(); } if (other.hasBbmnickName()) { bitField0_ |= 0x00200000; bbmnickName_ = other.bbmnickName_; onChanged(); } if (other.hasLinkedinContactItem()) { mergeLinkedinContactItem(other.getLinkedinContactItem()); } if (other.hasKfinfo()) { bitField0_ |= 0x00800000; kfinfo_ = other.kfinfo_; onChanged(); } if (other.hasPatternLockInfo()) { mergePatternLockInfo(other.getPatternLockInfo()); } if (other.hasSecurityDeviceId()) { bitField0_ |= 0x02000000; securityDeviceId_ = other.securityDeviceId_; onChanged(); } if (other.hasPayWalletType()) { setPayWalletType(other.getPayWalletType()); } if (other.hasWeiDianInfo()) { bitField0_ |= 0x08000000; weiDianInfo_ = other.weiDianInfo_; onChanged(); } if (other.hasWalletRegion()) { setWalletRegion(other.getWalletRegion()); } if (other.hasExtStatus()) { setExtStatus(other.getExtStatus()); } if (other.hasF2FpushSound()) { bitField0_ |= 0x40000000; f2FpushSound_ = other.f2FpushSound_; onChanged(); } if (other.hasUserStatus()) { setUserStatus(other.getUserStatus()); } if (other.hasPaySetting()) { setPaySetting(other.getPaySetting()); } 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.Syncitem.UserInfoExt parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.UserInfoExt) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int bitField1_; private wechat.protobuf.Wechat.SnsUserInfo snsUserInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SnsUserInfo, wechat.protobuf.Wechat.SnsUserInfo.Builder, wechat.protobuf.Wechat.SnsUserInfoOrBuilder> snsUserInfoBuilder_; /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 1; * @return Whether the snsUserInfo field is set. */ public boolean hasSnsUserInfo() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 1; * @return The snsUserInfo. */ public wechat.protobuf.Wechat.SnsUserInfo getSnsUserInfo() { if (snsUserInfoBuilder_ == null) { return snsUserInfo_ == null ? wechat.protobuf.Wechat.SnsUserInfo.getDefaultInstance() : snsUserInfo_; } else { return snsUserInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 1; */ public Builder setSnsUserInfo(wechat.protobuf.Wechat.SnsUserInfo value) { if (snsUserInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snsUserInfo_ = value; onChanged(); } else { snsUserInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 1; */ public Builder setSnsUserInfo( wechat.protobuf.Wechat.SnsUserInfo.Builder builderForValue) { if (snsUserInfoBuilder_ == null) { snsUserInfo_ = builderForValue.build(); onChanged(); } else { snsUserInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 1; */ public Builder mergeSnsUserInfo(wechat.protobuf.Wechat.SnsUserInfo value) { if (snsUserInfoBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && snsUserInfo_ != null && snsUserInfo_ != wechat.protobuf.Wechat.SnsUserInfo.getDefaultInstance()) { snsUserInfo_ = wechat.protobuf.Wechat.SnsUserInfo.newBuilder(snsUserInfo_).mergeFrom(value).buildPartial(); } else { snsUserInfo_ = value; } onChanged(); } else { snsUserInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 1; */ public Builder clearSnsUserInfo() { if (snsUserInfoBuilder_ == null) { snsUserInfo_ = null; onChanged(); } else { snsUserInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 1; */ public wechat.protobuf.Wechat.SnsUserInfo.Builder getSnsUserInfoBuilder() { bitField0_ |= 0x00000001; onChanged(); return getSnsUserInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 1; */ public wechat.protobuf.Wechat.SnsUserInfoOrBuilder getSnsUserInfoOrBuilder() { if (snsUserInfoBuilder_ != null) { return snsUserInfoBuilder_.getMessageOrBuilder(); } else { return snsUserInfo_ == null ? wechat.protobuf.Wechat.SnsUserInfo.getDefaultInstance() : snsUserInfo_; } } /** * optional .wechat_proto.SnsUserInfo snsUserInfo = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SnsUserInfo, wechat.protobuf.Wechat.SnsUserInfo.Builder, wechat.protobuf.Wechat.SnsUserInfoOrBuilder> getSnsUserInfoFieldBuilder() { if (snsUserInfoBuilder_ == null) { snsUserInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SnsUserInfo, wechat.protobuf.Wechat.SnsUserInfo.Builder, wechat.protobuf.Wechat.SnsUserInfoOrBuilder>( getSnsUserInfo(), getParentForChildren(), isClean()); snsUserInfo_ = null; } return snsUserInfoBuilder_; } private java.lang.Object myBrandList_ = ""; /** * optional string myBrandList = 2; * @return Whether the myBrandList field is set. */ public boolean hasMyBrandList() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string myBrandList = 2; * @return The myBrandList. */ public java.lang.String getMyBrandList() { java.lang.Object ref = myBrandList_; 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()) { myBrandList_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string myBrandList = 2; * @return The bytes for myBrandList. */ public com.google.protobuf.ByteString getMyBrandListBytes() { java.lang.Object ref = myBrandList_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); myBrandList_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string myBrandList = 2; * @param value The myBrandList to set. * @return This builder for chaining. */ public Builder setMyBrandList( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; myBrandList_ = value; onChanged(); return this; } /** * optional string myBrandList = 2; * @return This builder for chaining. */ public Builder clearMyBrandList() { bitField0_ = (bitField0_ & ~0x00000002); myBrandList_ = getDefaultInstance().getMyBrandList(); onChanged(); return this; } /** * optional string myBrandList = 2; * @param value The bytes for myBrandList to set. * @return This builder for chaining. */ public Builder setMyBrandListBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; myBrandList_ = value; onChanged(); return this; } private java.lang.Object msgPushSound_ = ""; /** * optional string msgPushSound = 3; * @return Whether the msgPushSound field is set. */ public boolean hasMsgPushSound() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string msgPushSound = 3; * @return The msgPushSound. */ public java.lang.String getMsgPushSound() { java.lang.Object ref = msgPushSound_; 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()) { msgPushSound_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string msgPushSound = 3; * @return The bytes for msgPushSound. */ public com.google.protobuf.ByteString getMsgPushSoundBytes() { java.lang.Object ref = msgPushSound_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msgPushSound_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string msgPushSound = 3; * @param value The msgPushSound to set. * @return This builder for chaining. */ public Builder setMsgPushSound( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; msgPushSound_ = value; onChanged(); return this; } /** * optional string msgPushSound = 3; * @return This builder for chaining. */ public Builder clearMsgPushSound() { bitField0_ = (bitField0_ & ~0x00000004); msgPushSound_ = getDefaultInstance().getMsgPushSound(); onChanged(); return this; } /** * optional string msgPushSound = 3; * @param value The bytes for msgPushSound to set. * @return This builder for chaining. */ public Builder setMsgPushSoundBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; msgPushSound_ = value; onChanged(); return this; } private java.lang.Object voipPushSound_ = ""; /** * optional string voipPushSound = 4; * @return Whether the voipPushSound field is set. */ public boolean hasVoipPushSound() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string voipPushSound = 4; * @return The voipPushSound. */ public java.lang.String getVoipPushSound() { java.lang.Object ref = voipPushSound_; 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()) { voipPushSound_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string voipPushSound = 4; * @return The bytes for voipPushSound. */ public com.google.protobuf.ByteString getVoipPushSoundBytes() { java.lang.Object ref = voipPushSound_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); voipPushSound_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string voipPushSound = 4; * @param value The voipPushSound to set. * @return This builder for chaining. */ public Builder setVoipPushSound( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; voipPushSound_ = value; onChanged(); return this; } /** * optional string voipPushSound = 4; * @return This builder for chaining. */ public Builder clearVoipPushSound() { bitField0_ = (bitField0_ & ~0x00000008); voipPushSound_ = getDefaultInstance().getVoipPushSound(); onChanged(); return this; } /** * optional string voipPushSound = 4; * @param value The bytes for voipPushSound to set. * @return This builder for chaining. */ public Builder setVoipPushSoundBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; voipPushSound_ = value; onChanged(); return this; } private int bigChatRoomSize_ ; /** * optional uint32 bigChatRoomSize = 5; * @return Whether the bigChatRoomSize field is set. */ @java.lang.Override public boolean hasBigChatRoomSize() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 bigChatRoomSize = 5; * @return The bigChatRoomSize. */ @java.lang.Override public int getBigChatRoomSize() { return bigChatRoomSize_; } /** * optional uint32 bigChatRoomSize = 5; * @param value The bigChatRoomSize to set. * @return This builder for chaining. */ public Builder setBigChatRoomSize(int value) { bitField0_ |= 0x00000010; bigChatRoomSize_ = value; onChanged(); return this; } /** * optional uint32 bigChatRoomSize = 5; * @return This builder for chaining. */ public Builder clearBigChatRoomSize() { bitField0_ = (bitField0_ & ~0x00000010); bigChatRoomSize_ = 0; onChanged(); return this; } private int bigChatRoomQuota_ ; /** * optional uint32 bigChatRoomQuota = 6; * @return Whether the bigChatRoomQuota field is set. */ @java.lang.Override public boolean hasBigChatRoomQuota() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 bigChatRoomQuota = 6; * @return The bigChatRoomQuota. */ @java.lang.Override public int getBigChatRoomQuota() { return bigChatRoomQuota_; } /** * optional uint32 bigChatRoomQuota = 6; * @param value The bigChatRoomQuota to set. * @return This builder for chaining. */ public Builder setBigChatRoomQuota(int value) { bitField0_ |= 0x00000020; bigChatRoomQuota_ = value; onChanged(); return this; } /** * optional uint32 bigChatRoomQuota = 6; * @return This builder for chaining. */ public Builder clearBigChatRoomQuota() { bitField0_ = (bitField0_ & ~0x00000020); bigChatRoomQuota_ = 0; onChanged(); return this; } private int bigChatRoomInvite_ ; /** * optional uint32 bigChatRoomInvite = 7; * @return Whether the bigChatRoomInvite field is set. */ @java.lang.Override public boolean hasBigChatRoomInvite() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 bigChatRoomInvite = 7; * @return The bigChatRoomInvite. */ @java.lang.Override public int getBigChatRoomInvite() { return bigChatRoomInvite_; } /** * optional uint32 bigChatRoomInvite = 7; * @param value The bigChatRoomInvite to set. * @return This builder for chaining. */ public Builder setBigChatRoomInvite(int value) { bitField0_ |= 0x00000040; bigChatRoomInvite_ = value; onChanged(); return this; } /** * optional uint32 bigChatRoomInvite = 7; * @return This builder for chaining. */ public Builder clearBigChatRoomInvite() { bitField0_ = (bitField0_ & ~0x00000040); bigChatRoomInvite_ = 0; onChanged(); return this; } private java.lang.Object safeMobile_ = ""; /** * optional string safeMobile = 8; * @return Whether the safeMobile field is set. */ public boolean hasSafeMobile() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string safeMobile = 8; * @return The safeMobile. */ public java.lang.String getSafeMobile() { java.lang.Object ref = safeMobile_; 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()) { safeMobile_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string safeMobile = 8; * @return The bytes for safeMobile. */ public com.google.protobuf.ByteString getSafeMobileBytes() { java.lang.Object ref = safeMobile_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); safeMobile_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string safeMobile = 8; * @param value The safeMobile to set. * @return This builder for chaining. */ public Builder setSafeMobile( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; safeMobile_ = value; onChanged(); return this; } /** * optional string safeMobile = 8; * @return This builder for chaining. */ public Builder clearSafeMobile() { bitField0_ = (bitField0_ & ~0x00000080); safeMobile_ = getDefaultInstance().getSafeMobile(); onChanged(); return this; } /** * optional string safeMobile = 8; * @param value The bytes for safeMobile to set. * @return This builder for chaining. */ public Builder setSafeMobileBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; safeMobile_ = value; onChanged(); return this; } 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; } private int mainAcctType_ ; /** * optional uint32 mainAcctType = 11; * @return Whether the mainAcctType field is set. */ @java.lang.Override public boolean hasMainAcctType() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint32 mainAcctType = 11; * @return The mainAcctType. */ @java.lang.Override public int getMainAcctType() { return mainAcctType_; } /** * optional uint32 mainAcctType = 11; * @param value The mainAcctType to set. * @return This builder for chaining. */ public Builder setMainAcctType(int value) { bitField0_ |= 0x00000400; mainAcctType_ = value; onChanged(); return this; } /** * optional uint32 mainAcctType = 11; * @return This builder for chaining. */ public Builder clearMainAcctType() { bitField0_ = (bitField0_ & ~0x00000400); mainAcctType_ = 0; onChanged(); return this; } private wechat.protobuf.Wechat.SKBuiltinString extXml_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> extXmlBuilder_; /** * optional .wechat_proto.SKBuiltinString extXml = 12; * @return Whether the extXml field is set. */ public boolean hasExtXml() { return ((bitField0_ & 0x00000800) != 0); } /** * optional .wechat_proto.SKBuiltinString extXml = 12; * @return The extXml. */ public wechat.protobuf.Wechat.SKBuiltinString getExtXml() { if (extXmlBuilder_ == null) { return extXml_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : extXml_; } else { return extXmlBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString extXml = 12; */ public Builder setExtXml(wechat.protobuf.Wechat.SKBuiltinString value) { if (extXmlBuilder_ == null) { if (value == null) { throw new NullPointerException(); } extXml_ = value; onChanged(); } else { extXmlBuilder_.setMessage(value); } bitField0_ |= 0x00000800; return this; } /** * optional .wechat_proto.SKBuiltinString extXml = 12; */ public Builder setExtXml( wechat.protobuf.Wechat.SKBuiltinString.Builder builderForValue) { if (extXmlBuilder_ == null) { extXml_ = builderForValue.build(); onChanged(); } else { extXmlBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; return this; } /** * optional .wechat_proto.SKBuiltinString extXml = 12; */ public Builder mergeExtXml(wechat.protobuf.Wechat.SKBuiltinString value) { if (extXmlBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0) && extXml_ != null && extXml_ != wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance()) { extXml_ = wechat.protobuf.Wechat.SKBuiltinString.newBuilder(extXml_).mergeFrom(value).buildPartial(); } else { extXml_ = value; } onChanged(); } else { extXmlBuilder_.mergeFrom(value); } bitField0_ |= 0x00000800; return this; } /** * optional .wechat_proto.SKBuiltinString extXml = 12; */ public Builder clearExtXml() { if (extXmlBuilder_ == null) { extXml_ = null; onChanged(); } else { extXmlBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); return this; } /** * optional .wechat_proto.SKBuiltinString extXml = 12; */ public wechat.protobuf.Wechat.SKBuiltinString.Builder getExtXmlBuilder() { bitField0_ |= 0x00000800; onChanged(); return getExtXmlFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString extXml = 12; */ public wechat.protobuf.Wechat.SKBuiltinStringOrBuilder getExtXmlOrBuilder() { if (extXmlBuilder_ != null) { return extXmlBuilder_.getMessageOrBuilder(); } else { return extXml_ == null ? wechat.protobuf.Wechat.SKBuiltinString.getDefaultInstance() : extXml_; } } /** * optional .wechat_proto.SKBuiltinString extXml = 12; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder> getExtXmlFieldBuilder() { if (extXmlBuilder_ == null) { extXmlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString, wechat.protobuf.Wechat.SKBuiltinString.Builder, wechat.protobuf.Wechat.SKBuiltinStringOrBuilder>( getExtXml(), getParentForChildren(), isClean()); extXml_ = null; } return extXmlBuilder_; } private wechat.protobuf.Syncitem.SafeDeviceList safeDeviceList_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.SafeDeviceList, wechat.protobuf.Syncitem.SafeDeviceList.Builder, wechat.protobuf.Syncitem.SafeDeviceListOrBuilder> safeDeviceListBuilder_; /** * optional .wechat_proto.SafeDeviceList safeDeviceList = 13; * @return Whether the safeDeviceList field is set. */ public boolean hasSafeDeviceList() { return ((bitField0_ & 0x00001000) != 0); } /** * optional .wechat_proto.SafeDeviceList safeDeviceList = 13; * @return The safeDeviceList. */ public wechat.protobuf.Syncitem.SafeDeviceList getSafeDeviceList() { if (safeDeviceListBuilder_ == null) { return safeDeviceList_ == null ? wechat.protobuf.Syncitem.SafeDeviceList.getDefaultInstance() : safeDeviceList_; } else { return safeDeviceListBuilder_.getMessage(); } } /** * optional .wechat_proto.SafeDeviceList safeDeviceList = 13; */ public Builder setSafeDeviceList(wechat.protobuf.Syncitem.SafeDeviceList value) { if (safeDeviceListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } safeDeviceList_ = value; onChanged(); } else { safeDeviceListBuilder_.setMessage(value); } bitField0_ |= 0x00001000; return this; } /** * optional .wechat_proto.SafeDeviceList safeDeviceList = 13; */ public Builder setSafeDeviceList( wechat.protobuf.Syncitem.SafeDeviceList.Builder builderForValue) { if (safeDeviceListBuilder_ == null) { safeDeviceList_ = builderForValue.build(); onChanged(); } else { safeDeviceListBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00001000; return this; } /** * optional .wechat_proto.SafeDeviceList safeDeviceList = 13; */ public Builder mergeSafeDeviceList(wechat.protobuf.Syncitem.SafeDeviceList value) { if (safeDeviceListBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0) && safeDeviceList_ != null && safeDeviceList_ != wechat.protobuf.Syncitem.SafeDeviceList.getDefaultInstance()) { safeDeviceList_ = wechat.protobuf.Syncitem.SafeDeviceList.newBuilder(safeDeviceList_).mergeFrom(value).buildPartial(); } else { safeDeviceList_ = value; } onChanged(); } else { safeDeviceListBuilder_.mergeFrom(value); } bitField0_ |= 0x00001000; return this; } /** * optional .wechat_proto.SafeDeviceList safeDeviceList = 13; */ public Builder clearSafeDeviceList() { if (safeDeviceListBuilder_ == null) { safeDeviceList_ = null; onChanged(); } else { safeDeviceListBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00001000); return this; } /** * optional .wechat_proto.SafeDeviceList safeDeviceList = 13; */ public wechat.protobuf.Syncitem.SafeDeviceList.Builder getSafeDeviceListBuilder() { bitField0_ |= 0x00001000; onChanged(); return getSafeDeviceListFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SafeDeviceList safeDeviceList = 13; */ public wechat.protobuf.Syncitem.SafeDeviceListOrBuilder getSafeDeviceListOrBuilder() { if (safeDeviceListBuilder_ != null) { return safeDeviceListBuilder_.getMessageOrBuilder(); } else { return safeDeviceList_ == null ? wechat.protobuf.Syncitem.SafeDeviceList.getDefaultInstance() : safeDeviceList_; } } /** * optional .wechat_proto.SafeDeviceList safeDeviceList = 13; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.SafeDeviceList, wechat.protobuf.Syncitem.SafeDeviceList.Builder, wechat.protobuf.Syncitem.SafeDeviceListOrBuilder> getSafeDeviceListFieldBuilder() { if (safeDeviceListBuilder_ == null) { safeDeviceListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.SafeDeviceList, wechat.protobuf.Syncitem.SafeDeviceList.Builder, wechat.protobuf.Syncitem.SafeDeviceListOrBuilder>( getSafeDeviceList(), getParentForChildren(), isClean()); safeDeviceList_ = null; } return safeDeviceListBuilder_; } private int safeDevice_ ; /** * optional uint32 safeDevice = 14; * @return Whether the safeDevice field is set. */ @java.lang.Override public boolean hasSafeDevice() { return ((bitField0_ & 0x00002000) != 0); } /** * optional uint32 safeDevice = 14; * @return The safeDevice. */ @java.lang.Override public int getSafeDevice() { return safeDevice_; } /** * optional uint32 safeDevice = 14; * @param value The safeDevice to set. * @return This builder for chaining. */ public Builder setSafeDevice(int value) { bitField0_ |= 0x00002000; safeDevice_ = value; onChanged(); return this; } /** * optional uint32 safeDevice = 14; * @return This builder for chaining. */ public Builder clearSafeDevice() { bitField0_ = (bitField0_ & ~0x00002000); safeDevice_ = 0; onChanged(); return this; } private int grayscaleFlag_ ; /** * optional uint32 grayscaleFlag = 15; * @return Whether the grayscaleFlag field is set. */ @java.lang.Override public boolean hasGrayscaleFlag() { return ((bitField0_ & 0x00004000) != 0); } /** * optional uint32 grayscaleFlag = 15; * @return The grayscaleFlag. */ @java.lang.Override public int getGrayscaleFlag() { return grayscaleFlag_; } /** * optional uint32 grayscaleFlag = 15; * @param value The grayscaleFlag to set. * @return This builder for chaining. */ public Builder setGrayscaleFlag(int value) { bitField0_ |= 0x00004000; grayscaleFlag_ = value; onChanged(); return this; } /** * optional uint32 grayscaleFlag = 15; * @return This builder for chaining. */ public Builder clearGrayscaleFlag() { bitField0_ = (bitField0_ & ~0x00004000); grayscaleFlag_ = 0; onChanged(); return this; } private java.lang.Object googleContactName_ = ""; /** * optional string googleContactName = 16; * @return Whether the googleContactName field is set. */ public boolean hasGoogleContactName() { return ((bitField0_ & 0x00008000) != 0); } /** * optional string googleContactName = 16; * @return The googleContactName. */ public java.lang.String getGoogleContactName() { java.lang.Object ref = googleContactName_; 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()) { googleContactName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string googleContactName = 16; * @return The bytes for googleContactName. */ public com.google.protobuf.ByteString getGoogleContactNameBytes() { java.lang.Object ref = googleContactName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); googleContactName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string googleContactName = 16; * @param value The googleContactName to set. * @return This builder for chaining. */ public Builder setGoogleContactName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00008000; googleContactName_ = value; onChanged(); return this; } /** * optional string googleContactName = 16; * @return This builder for chaining. */ public Builder clearGoogleContactName() { bitField0_ = (bitField0_ & ~0x00008000); googleContactName_ = getDefaultInstance().getGoogleContactName(); onChanged(); return this; } /** * optional string googleContactName = 16; * @param value The bytes for googleContactName to set. * @return This builder for chaining. */ public Builder setGoogleContactNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00008000; googleContactName_ = value; onChanged(); return this; } private java.lang.Object idcardNum_ = ""; /** * optional string idcardNum = 17; * @return Whether the idcardNum field is set. */ public boolean hasIdcardNum() { return ((bitField0_ & 0x00010000) != 0); } /** * optional string idcardNum = 17; * @return The idcardNum. */ public java.lang.String getIdcardNum() { java.lang.Object ref = idcardNum_; 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()) { idcardNum_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string idcardNum = 17; * @return The bytes for idcardNum. */ public com.google.protobuf.ByteString getIdcardNumBytes() { java.lang.Object ref = idcardNum_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); idcardNum_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string idcardNum = 17; * @param value The idcardNum to set. * @return This builder for chaining. */ public Builder setIdcardNum( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; idcardNum_ = value; onChanged(); return this; } /** * optional string idcardNum = 17; * @return This builder for chaining. */ public Builder clearIdcardNum() { bitField0_ = (bitField0_ & ~0x00010000); idcardNum_ = getDefaultInstance().getIdcardNum(); onChanged(); return this; } /** * optional string idcardNum = 17; * @param value The bytes for idcardNum to set. * @return This builder for chaining. */ public Builder setIdcardNumBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; idcardNum_ = value; onChanged(); return this; } private java.lang.Object realName_ = ""; /** * optional string realName = 18; * @return Whether the realName field is set. */ public boolean hasRealName() { return ((bitField0_ & 0x00020000) != 0); } /** * optional string realName = 18; * @return The realName. */ public java.lang.String getRealName() { java.lang.Object ref = realName_; 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()) { realName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string realName = 18; * @return The bytes for realName. */ public com.google.protobuf.ByteString getRealNameBytes() { java.lang.Object ref = realName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); realName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string realName = 18; * @param value The realName to set. * @return This builder for chaining. */ public Builder setRealName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00020000; realName_ = value; onChanged(); return this; } /** * optional string realName = 18; * @return This builder for chaining. */ public Builder clearRealName() { bitField0_ = (bitField0_ & ~0x00020000); realName_ = getDefaultInstance().getRealName(); onChanged(); return this; } /** * optional string realName = 18; * @param value The bytes for realName to set. * @return This builder for chaining. */ public Builder setRealNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00020000; realName_ = value; onChanged(); return this; } private java.lang.Object regNumry_ = ""; /** * optional string regNumry = 19; * @return Whether the regNumry field is set. */ public boolean hasRegNumry() { return ((bitField0_ & 0x00040000) != 0); } /** * optional string regNumry = 19; * @return The regNumry. */ public java.lang.String getRegNumry() { java.lang.Object ref = regNumry_; 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()) { regNumry_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string regNumry = 19; * @return The bytes for regNumry. */ public com.google.protobuf.ByteString getRegNumryBytes() { java.lang.Object ref = regNumry_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); regNumry_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string regNumry = 19; * @param value The regNumry to set. * @return This builder for chaining. */ public Builder setRegNumry( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00040000; regNumry_ = value; onChanged(); return this; } /** * optional string regNumry = 19; * @return This builder for chaining. */ public Builder clearRegNumry() { bitField0_ = (bitField0_ & ~0x00040000); regNumry_ = getDefaultInstance().getRegNumry(); onChanged(); return this; } /** * optional string regNumry = 19; * @param value The bytes for regNumry to set. * @return This builder for chaining. */ public Builder setRegNumryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00040000; regNumry_ = value; onChanged(); return this; } private java.lang.Object bbppid_ = ""; /** * optional string bbppid = 20; * @return Whether the bbppid field is set. */ public boolean hasBbppid() { return ((bitField0_ & 0x00080000) != 0); } /** * optional string bbppid = 20; * @return The bbppid. */ public java.lang.String getBbppid() { java.lang.Object ref = bbppid_; 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()) { bbppid_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string bbppid = 20; * @return The bytes for bbppid. */ public com.google.protobuf.ByteString getBbppidBytes() { java.lang.Object ref = bbppid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bbppid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string bbppid = 20; * @param value The bbppid to set. * @return This builder for chaining. */ public Builder setBbppid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00080000; bbppid_ = value; onChanged(); return this; } /** * optional string bbppid = 20; * @return This builder for chaining. */ public Builder clearBbppid() { bitField0_ = (bitField0_ & ~0x00080000); bbppid_ = getDefaultInstance().getBbppid(); onChanged(); return this; } /** * optional string bbppid = 20; * @param value The bytes for bbppid to set. * @return This builder for chaining. */ public Builder setBbppidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00080000; bbppid_ = value; onChanged(); return this; } private java.lang.Object bbpin_ = ""; /** * optional string bbpin = 21; * @return Whether the bbpin field is set. */ public boolean hasBbpin() { return ((bitField0_ & 0x00100000) != 0); } /** * optional string bbpin = 21; * @return The bbpin. */ public java.lang.String getBbpin() { java.lang.Object ref = bbpin_; 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()) { bbpin_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string bbpin = 21; * @return The bytes for bbpin. */ public com.google.protobuf.ByteString getBbpinBytes() { java.lang.Object ref = bbpin_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bbpin_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string bbpin = 21; * @param value The bbpin to set. * @return This builder for chaining. */ public Builder setBbpin( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00100000; bbpin_ = value; onChanged(); return this; } /** * optional string bbpin = 21; * @return This builder for chaining. */ public Builder clearBbpin() { bitField0_ = (bitField0_ & ~0x00100000); bbpin_ = getDefaultInstance().getBbpin(); onChanged(); return this; } /** * optional string bbpin = 21; * @param value The bytes for bbpin to set. * @return This builder for chaining. */ public Builder setBbpinBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00100000; bbpin_ = value; onChanged(); return this; } private java.lang.Object bbmnickName_ = ""; /** * optional string bbmnickName = 22; * @return Whether the bbmnickName field is set. */ public boolean hasBbmnickName() { return ((bitField0_ & 0x00200000) != 0); } /** * optional string bbmnickName = 22; * @return The bbmnickName. */ public java.lang.String getBbmnickName() { java.lang.Object ref = bbmnickName_; 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()) { bbmnickName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string bbmnickName = 22; * @return The bytes for bbmnickName. */ public com.google.protobuf.ByteString getBbmnickNameBytes() { java.lang.Object ref = bbmnickName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); bbmnickName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string bbmnickName = 22; * @param value The bbmnickName to set. * @return This builder for chaining. */ public Builder setBbmnickName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00200000; bbmnickName_ = value; onChanged(); return this; } /** * optional string bbmnickName = 22; * @return This builder for chaining. */ public Builder clearBbmnickName() { bitField0_ = (bitField0_ & ~0x00200000); bbmnickName_ = getDefaultInstance().getBbmnickName(); onChanged(); return this; } /** * optional string bbmnickName = 22; * @param value The bytes for bbmnickName to set. * @return This builder for chaining. */ public Builder setBbmnickNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00200000; bbmnickName_ = value; onChanged(); return this; } private wechat.protobuf.Wechat.LinkedinContactItem linkedinContactItem_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.LinkedinContactItem, wechat.protobuf.Wechat.LinkedinContactItem.Builder, wechat.protobuf.Wechat.LinkedinContactItemOrBuilder> linkedinContactItemBuilder_; /** * optional .wechat_proto.LinkedinContactItem linkedinContactItem = 23; * @return Whether the linkedinContactItem field is set. */ public boolean hasLinkedinContactItem() { return ((bitField0_ & 0x00400000) != 0); } /** * optional .wechat_proto.LinkedinContactItem linkedinContactItem = 23; * @return The linkedinContactItem. */ public wechat.protobuf.Wechat.LinkedinContactItem getLinkedinContactItem() { if (linkedinContactItemBuilder_ == null) { return linkedinContactItem_ == null ? wechat.protobuf.Wechat.LinkedinContactItem.getDefaultInstance() : linkedinContactItem_; } else { return linkedinContactItemBuilder_.getMessage(); } } /** * optional .wechat_proto.LinkedinContactItem linkedinContactItem = 23; */ public Builder setLinkedinContactItem(wechat.protobuf.Wechat.LinkedinContactItem value) { if (linkedinContactItemBuilder_ == null) { if (value == null) { throw new NullPointerException(); } linkedinContactItem_ = value; onChanged(); } else { linkedinContactItemBuilder_.setMessage(value); } bitField0_ |= 0x00400000; return this; } /** * optional .wechat_proto.LinkedinContactItem linkedinContactItem = 23; */ public Builder setLinkedinContactItem( wechat.protobuf.Wechat.LinkedinContactItem.Builder builderForValue) { if (linkedinContactItemBuilder_ == null) { linkedinContactItem_ = builderForValue.build(); onChanged(); } else { linkedinContactItemBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00400000; return this; } /** * optional .wechat_proto.LinkedinContactItem linkedinContactItem = 23; */ public Builder mergeLinkedinContactItem(wechat.protobuf.Wechat.LinkedinContactItem value) { if (linkedinContactItemBuilder_ == null) { if (((bitField0_ & 0x00400000) != 0) && linkedinContactItem_ != null && linkedinContactItem_ != wechat.protobuf.Wechat.LinkedinContactItem.getDefaultInstance()) { linkedinContactItem_ = wechat.protobuf.Wechat.LinkedinContactItem.newBuilder(linkedinContactItem_).mergeFrom(value).buildPartial(); } else { linkedinContactItem_ = value; } onChanged(); } else { linkedinContactItemBuilder_.mergeFrom(value); } bitField0_ |= 0x00400000; return this; } /** * optional .wechat_proto.LinkedinContactItem linkedinContactItem = 23; */ public Builder clearLinkedinContactItem() { if (linkedinContactItemBuilder_ == null) { linkedinContactItem_ = null; onChanged(); } else { linkedinContactItemBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00400000); return this; } /** * optional .wechat_proto.LinkedinContactItem linkedinContactItem = 23; */ public wechat.protobuf.Wechat.LinkedinContactItem.Builder getLinkedinContactItemBuilder() { bitField0_ |= 0x00400000; onChanged(); return getLinkedinContactItemFieldBuilder().getBuilder(); } /** * optional .wechat_proto.LinkedinContactItem linkedinContactItem = 23; */ public wechat.protobuf.Wechat.LinkedinContactItemOrBuilder getLinkedinContactItemOrBuilder() { if (linkedinContactItemBuilder_ != null) { return linkedinContactItemBuilder_.getMessageOrBuilder(); } else { return linkedinContactItem_ == null ? wechat.protobuf.Wechat.LinkedinContactItem.getDefaultInstance() : linkedinContactItem_; } } /** * optional .wechat_proto.LinkedinContactItem linkedinContactItem = 23; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.LinkedinContactItem, wechat.protobuf.Wechat.LinkedinContactItem.Builder, wechat.protobuf.Wechat.LinkedinContactItemOrBuilder> getLinkedinContactItemFieldBuilder() { if (linkedinContactItemBuilder_ == null) { linkedinContactItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.LinkedinContactItem, wechat.protobuf.Wechat.LinkedinContactItem.Builder, wechat.protobuf.Wechat.LinkedinContactItemOrBuilder>( getLinkedinContactItem(), getParentForChildren(), isClean()); linkedinContactItem_ = null; } return linkedinContactItemBuilder_; } private java.lang.Object kfinfo_ = ""; /** * optional string kfinfo = 24; * @return Whether the kfinfo field is set. */ public boolean hasKfinfo() { return ((bitField0_ & 0x00800000) != 0); } /** * optional string kfinfo = 24; * @return The kfinfo. */ public java.lang.String getKfinfo() { java.lang.Object ref = kfinfo_; 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()) { kfinfo_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string kfinfo = 24; * @return The bytes for kfinfo. */ public com.google.protobuf.ByteString getKfinfoBytes() { java.lang.Object ref = kfinfo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); kfinfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string kfinfo = 24; * @param value The kfinfo to set. * @return This builder for chaining. */ public Builder setKfinfo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00800000; kfinfo_ = value; onChanged(); return this; } /** * optional string kfinfo = 24; * @return This builder for chaining. */ public Builder clearKfinfo() { bitField0_ = (bitField0_ & ~0x00800000); kfinfo_ = getDefaultInstance().getKfinfo(); onChanged(); return this; } /** * optional string kfinfo = 24; * @param value The bytes for kfinfo to set. * @return This builder for chaining. */ public Builder setKfinfoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00800000; kfinfo_ = value; onChanged(); return this; } private wechat.protobuf.Syncitem.PatternLockInfo patternLockInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.PatternLockInfo, wechat.protobuf.Syncitem.PatternLockInfo.Builder, wechat.protobuf.Syncitem.PatternLockInfoOrBuilder> patternLockInfoBuilder_; /** * optional .wechat_proto.PatternLockInfo patternLockInfo = 25; * @return Whether the patternLockInfo field is set. */ public boolean hasPatternLockInfo() { return ((bitField0_ & 0x01000000) != 0); } /** * optional .wechat_proto.PatternLockInfo patternLockInfo = 25; * @return The patternLockInfo. */ public wechat.protobuf.Syncitem.PatternLockInfo getPatternLockInfo() { if (patternLockInfoBuilder_ == null) { return patternLockInfo_ == null ? wechat.protobuf.Syncitem.PatternLockInfo.getDefaultInstance() : patternLockInfo_; } else { return patternLockInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.PatternLockInfo patternLockInfo = 25; */ public Builder setPatternLockInfo(wechat.protobuf.Syncitem.PatternLockInfo value) { if (patternLockInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } patternLockInfo_ = value; onChanged(); } else { patternLockInfoBuilder_.setMessage(value); } bitField0_ |= 0x01000000; return this; } /** * optional .wechat_proto.PatternLockInfo patternLockInfo = 25; */ public Builder setPatternLockInfo( wechat.protobuf.Syncitem.PatternLockInfo.Builder builderForValue) { if (patternLockInfoBuilder_ == null) { patternLockInfo_ = builderForValue.build(); onChanged(); } else { patternLockInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x01000000; return this; } /** * optional .wechat_proto.PatternLockInfo patternLockInfo = 25; */ public Builder mergePatternLockInfo(wechat.protobuf.Syncitem.PatternLockInfo value) { if (patternLockInfoBuilder_ == null) { if (((bitField0_ & 0x01000000) != 0) && patternLockInfo_ != null && patternLockInfo_ != wechat.protobuf.Syncitem.PatternLockInfo.getDefaultInstance()) { patternLockInfo_ = wechat.protobuf.Syncitem.PatternLockInfo.newBuilder(patternLockInfo_).mergeFrom(value).buildPartial(); } else { patternLockInfo_ = value; } onChanged(); } else { patternLockInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x01000000; return this; } /** * optional .wechat_proto.PatternLockInfo patternLockInfo = 25; */ public Builder clearPatternLockInfo() { if (patternLockInfoBuilder_ == null) { patternLockInfo_ = null; onChanged(); } else { patternLockInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x01000000); return this; } /** * optional .wechat_proto.PatternLockInfo patternLockInfo = 25; */ public wechat.protobuf.Syncitem.PatternLockInfo.Builder getPatternLockInfoBuilder() { bitField0_ |= 0x01000000; onChanged(); return getPatternLockInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.PatternLockInfo patternLockInfo = 25; */ public wechat.protobuf.Syncitem.PatternLockInfoOrBuilder getPatternLockInfoOrBuilder() { if (patternLockInfoBuilder_ != null) { return patternLockInfoBuilder_.getMessageOrBuilder(); } else { return patternLockInfo_ == null ? wechat.protobuf.Syncitem.PatternLockInfo.getDefaultInstance() : patternLockInfo_; } } /** * optional .wechat_proto.PatternLockInfo patternLockInfo = 25; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.PatternLockInfo, wechat.protobuf.Syncitem.PatternLockInfo.Builder, wechat.protobuf.Syncitem.PatternLockInfoOrBuilder> getPatternLockInfoFieldBuilder() { if (patternLockInfoBuilder_ == null) { patternLockInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.PatternLockInfo, wechat.protobuf.Syncitem.PatternLockInfo.Builder, wechat.protobuf.Syncitem.PatternLockInfoOrBuilder>( getPatternLockInfo(), getParentForChildren(), isClean()); patternLockInfo_ = null; } return patternLockInfoBuilder_; } private java.lang.Object securityDeviceId_ = ""; /** * optional string securityDeviceId = 26; * @return Whether the securityDeviceId field is set. */ public boolean hasSecurityDeviceId() { return ((bitField0_ & 0x02000000) != 0); } /** * optional string securityDeviceId = 26; * @return The securityDeviceId. */ public java.lang.String getSecurityDeviceId() { java.lang.Object ref = securityDeviceId_; 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()) { securityDeviceId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string securityDeviceId = 26; * @return The bytes for securityDeviceId. */ public com.google.protobuf.ByteString getSecurityDeviceIdBytes() { java.lang.Object ref = securityDeviceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); securityDeviceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string securityDeviceId = 26; * @param value The securityDeviceId to set. * @return This builder for chaining. */ public Builder setSecurityDeviceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x02000000; securityDeviceId_ = value; onChanged(); return this; } /** * optional string securityDeviceId = 26; * @return This builder for chaining. */ public Builder clearSecurityDeviceId() { bitField0_ = (bitField0_ & ~0x02000000); securityDeviceId_ = getDefaultInstance().getSecurityDeviceId(); onChanged(); return this; } /** * optional string securityDeviceId = 26; * @param value The bytes for securityDeviceId to set. * @return This builder for chaining. */ public Builder setSecurityDeviceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x02000000; securityDeviceId_ = value; onChanged(); return this; } private int payWalletType_ ; /** * optional uint32 payWalletType = 27; * @return Whether the payWalletType field is set. */ @java.lang.Override public boolean hasPayWalletType() { return ((bitField0_ & 0x04000000) != 0); } /** * optional uint32 payWalletType = 27; * @return The payWalletType. */ @java.lang.Override public int getPayWalletType() { return payWalletType_; } /** * optional uint32 payWalletType = 27; * @param value The payWalletType to set. * @return This builder for chaining. */ public Builder setPayWalletType(int value) { bitField0_ |= 0x04000000; payWalletType_ = value; onChanged(); return this; } /** * optional uint32 payWalletType = 27; * @return This builder for chaining. */ public Builder clearPayWalletType() { bitField0_ = (bitField0_ & ~0x04000000); payWalletType_ = 0; onChanged(); return this; } private java.lang.Object weiDianInfo_ = ""; /** * optional string weiDianInfo = 28; * @return Whether the weiDianInfo field is set. */ public boolean hasWeiDianInfo() { return ((bitField0_ & 0x08000000) != 0); } /** * optional string weiDianInfo = 28; * @return The weiDianInfo. */ public java.lang.String getWeiDianInfo() { java.lang.Object ref = weiDianInfo_; 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()) { weiDianInfo_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string weiDianInfo = 28; * @return The bytes for weiDianInfo. */ public com.google.protobuf.ByteString getWeiDianInfoBytes() { java.lang.Object ref = weiDianInfo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); weiDianInfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string weiDianInfo = 28; * @param value The weiDianInfo to set. * @return This builder for chaining. */ public Builder setWeiDianInfo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x08000000; weiDianInfo_ = value; onChanged(); return this; } /** * optional string weiDianInfo = 28; * @return This builder for chaining. */ public Builder clearWeiDianInfo() { bitField0_ = (bitField0_ & ~0x08000000); weiDianInfo_ = getDefaultInstance().getWeiDianInfo(); onChanged(); return this; } /** * optional string weiDianInfo = 28; * @param value The bytes for weiDianInfo to set. * @return This builder for chaining. */ public Builder setWeiDianInfoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x08000000; weiDianInfo_ = value; onChanged(); return this; } private int walletRegion_ ; /** * optional uint32 walletRegion = 29; * @return Whether the walletRegion field is set. */ @java.lang.Override public boolean hasWalletRegion() { return ((bitField0_ & 0x10000000) != 0); } /** * optional uint32 walletRegion = 29; * @return The walletRegion. */ @java.lang.Override public int getWalletRegion() { return walletRegion_; } /** * optional uint32 walletRegion = 29; * @param value The walletRegion to set. * @return This builder for chaining. */ public Builder setWalletRegion(int value) { bitField0_ |= 0x10000000; walletRegion_ = value; onChanged(); return this; } /** * optional uint32 walletRegion = 29; * @return This builder for chaining. */ public Builder clearWalletRegion() { bitField0_ = (bitField0_ & ~0x10000000); walletRegion_ = 0; onChanged(); return this; } private long extStatus_ ; /** * optional int64 extStatus = 30; * @return Whether the extStatus field is set. */ @java.lang.Override public boolean hasExtStatus() { return ((bitField0_ & 0x20000000) != 0); } /** * optional int64 extStatus = 30; * @return The extStatus. */ @java.lang.Override public long getExtStatus() { return extStatus_; } /** * optional int64 extStatus = 30; * @param value The extStatus to set. * @return This builder for chaining. */ public Builder setExtStatus(long value) { bitField0_ |= 0x20000000; extStatus_ = value; onChanged(); return this; } /** * optional int64 extStatus = 30; * @return This builder for chaining. */ public Builder clearExtStatus() { bitField0_ = (bitField0_ & ~0x20000000); extStatus_ = 0L; onChanged(); return this; } private java.lang.Object f2FpushSound_ = ""; /** * optional string f2FpushSound = 31; * @return Whether the f2FpushSound field is set. */ public boolean hasF2FpushSound() { return ((bitField0_ & 0x40000000) != 0); } /** * optional string f2FpushSound = 31; * @return The f2FpushSound. */ public java.lang.String getF2FpushSound() { java.lang.Object ref = f2FpushSound_; 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()) { f2FpushSound_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string f2FpushSound = 31; * @return The bytes for f2FpushSound. */ public com.google.protobuf.ByteString getF2FpushSoundBytes() { java.lang.Object ref = f2FpushSound_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); f2FpushSound_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string f2FpushSound = 31; * @param value The f2FpushSound to set. * @return This builder for chaining. */ public Builder setF2FpushSound( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x40000000; f2FpushSound_ = value; onChanged(); return this; } /** * optional string f2FpushSound = 31; * @return This builder for chaining. */ public Builder clearF2FpushSound() { bitField0_ = (bitField0_ & ~0x40000000); f2FpushSound_ = getDefaultInstance().getF2FpushSound(); onChanged(); return this; } /** * optional string f2FpushSound = 31; * @param value The bytes for f2FpushSound to set. * @return This builder for chaining. */ public Builder setF2FpushSoundBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x40000000; f2FpushSound_ = value; onChanged(); return this; } private int userStatus_ ; /** * optional uint32 userStatus = 32; * @return Whether the userStatus field is set. */ @java.lang.Override public boolean hasUserStatus() { return ((bitField0_ & 0x80000000) != 0); } /** * optional uint32 userStatus = 32; * @return The userStatus. */ @java.lang.Override public int getUserStatus() { return userStatus_; } /** * optional uint32 userStatus = 32; * @param value The userStatus to set. * @return This builder for chaining. */ public Builder setUserStatus(int value) { bitField0_ |= 0x80000000; userStatus_ = value; onChanged(); return this; } /** * optional uint32 userStatus = 32; * @return This builder for chaining. */ public Builder clearUserStatus() { bitField0_ = (bitField0_ & ~0x80000000); userStatus_ = 0; onChanged(); return this; } private long paySetting_ ; /** * optional int64 paySetting = 33; * @return Whether the paySetting field is set. */ @java.lang.Override public boolean hasPaySetting() { return ((bitField1_ & 0x00000001) != 0); } /** * optional int64 paySetting = 33; * @return The paySetting. */ @java.lang.Override public long getPaySetting() { return paySetting_; } /** * optional int64 paySetting = 33; * @param value The paySetting to set. * @return This builder for chaining. */ public Builder setPaySetting(long value) { bitField1_ |= 0x00000001; paySetting_ = value; onChanged(); return this; } /** * optional int64 paySetting = 33; * @return This builder for chaining. */ public Builder clearPaySetting() { bitField1_ = (bitField1_ & ~0x00000001); paySetting_ = 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.UserInfoExt) } // @@protoc_insertion_point(class_scope:wechat_proto.UserInfoExt) private static final wechat.protobuf.Syncitem.UserInfoExt DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.UserInfoExt(); } public static wechat.protobuf.Syncitem.UserInfoExt getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UserInfoExt parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UserInfoExt(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.Syncitem.UserInfoExt getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SafeDeviceListOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SafeDeviceList) com.google.protobuf.MessageOrBuilder { /** * optional uint32 count = 1; * @return Whether the count field is set. */ boolean hasCount(); /** * optional uint32 count = 1; * @return The count. */ int getCount(); } /** * Protobuf type {@code wechat_proto.SafeDeviceList} */ public static final class SafeDeviceList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SafeDeviceList) SafeDeviceListOrBuilder { private static final long serialVersionUID = 0L; // Use SafeDeviceList.newBuilder() to construct. private SafeDeviceList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SafeDeviceList() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SafeDeviceList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SafeDeviceList( 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; count_ = 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.Syncitem.internal_static_wechat_proto_SafeDeviceList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SafeDeviceList_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.SafeDeviceList.class, wechat.protobuf.Syncitem.SafeDeviceList.Builder.class); } private int bitField0_; public static final int COUNT_FIELD_NUMBER = 1; private int count_; /** * optional uint32 count = 1; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 count = 1; * @return The count. */ @java.lang.Override public int getCount() { return count_; } 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, count_); } 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, count_); } 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.Syncitem.SafeDeviceList)) { return super.equals(obj); } wechat.protobuf.Syncitem.SafeDeviceList other = (wechat.protobuf.Syncitem.SafeDeviceList) obj; if (hasCount() != other.hasCount()) return false; if (hasCount()) { if (getCount() != other.getCount()) 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 (hasCount()) { hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + getCount(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.SafeDeviceList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.SafeDeviceList parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.SafeDeviceList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.SafeDeviceList 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.Syncitem.SafeDeviceList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.SafeDeviceList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.SafeDeviceList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.SafeDeviceList 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.Syncitem.SafeDeviceList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.SafeDeviceList 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.Syncitem.SafeDeviceList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.SafeDeviceList 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.Syncitem.SafeDeviceList 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.SafeDeviceList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SafeDeviceList) wechat.protobuf.Syncitem.SafeDeviceListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SafeDeviceList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SafeDeviceList_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.SafeDeviceList.class, wechat.protobuf.Syncitem.SafeDeviceList.Builder.class); } // Construct using wechat.protobuf.Syncitem.SafeDeviceList.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(); count_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SafeDeviceList_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.SafeDeviceList getDefaultInstanceForType() { return wechat.protobuf.Syncitem.SafeDeviceList.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.SafeDeviceList build() { wechat.protobuf.Syncitem.SafeDeviceList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.SafeDeviceList buildPartial() { wechat.protobuf.Syncitem.SafeDeviceList result = new wechat.protobuf.Syncitem.SafeDeviceList(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.count_ = count_; 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.Syncitem.SafeDeviceList) { return mergeFrom((wechat.protobuf.Syncitem.SafeDeviceList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.SafeDeviceList other) { if (other == wechat.protobuf.Syncitem.SafeDeviceList.getDefaultInstance()) return this; if (other.hasCount()) { setCount(other.getCount()); } 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.Syncitem.SafeDeviceList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.SafeDeviceList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int count_ ; /** * optional uint32 count = 1; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 count = 1; * @return The count. */ @java.lang.Override public int getCount() { return count_; } /** * optional uint32 count = 1; * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(int value) { bitField0_ |= 0x00000001; count_ = value; onChanged(); return this; } /** * optional uint32 count = 1; * @return This builder for chaining. */ public Builder clearCount() { bitField0_ = (bitField0_ & ~0x00000001); count_ = 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.SafeDeviceList) } // @@protoc_insertion_point(class_scope:wechat_proto.SafeDeviceList) private static final wechat.protobuf.Syncitem.SafeDeviceList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.SafeDeviceList(); } public static wechat.protobuf.Syncitem.SafeDeviceList getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SafeDeviceList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SafeDeviceList(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.Syncitem.SafeDeviceList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PatternLockInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.PatternLockInfo) com.google.protobuf.MessageOrBuilder { /** * optional uint32 patternVersion = 1; * @return Whether the patternVersion field is set. */ boolean hasPatternVersion(); /** * optional uint32 patternVersion = 1; * @return The patternVersion. */ int getPatternVersion(); /** * optional .wechat_proto.SKBuiltinString_ sign = 2; * @return Whether the sign field is set. */ boolean hasSign(); /** * optional .wechat_proto.SKBuiltinString_ sign = 2; * @return The sign. */ wechat.protobuf.Wechat.SKBuiltinString_ getSign(); /** * optional .wechat_proto.SKBuiltinString_ sign = 2; */ wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getSignOrBuilder(); /** * optional uint32 lockStatus = 3; * @return Whether the lockStatus field is set. */ boolean hasLockStatus(); /** * optional uint32 lockStatus = 3; * @return The lockStatus. */ int getLockStatus(); } /** * Protobuf type {@code wechat_proto.PatternLockInfo} */ public static final class PatternLockInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.PatternLockInfo) PatternLockInfoOrBuilder { private static final long serialVersionUID = 0L; // Use PatternLockInfo.newBuilder() to construct. private PatternLockInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PatternLockInfo() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PatternLockInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PatternLockInfo( 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; patternVersion_ = input.readUInt32(); break; } case 18: { wechat.protobuf.Wechat.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = sign_.toBuilder(); } sign_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(sign_); sign_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 24: { bitField0_ |= 0x00000004; lockStatus_ = 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.Syncitem.internal_static_wechat_proto_PatternLockInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_PatternLockInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.PatternLockInfo.class, wechat.protobuf.Syncitem.PatternLockInfo.Builder.class); } private int bitField0_; public static final int PATTERNVERSION_FIELD_NUMBER = 1; private int patternVersion_; /** * optional uint32 patternVersion = 1; * @return Whether the patternVersion field is set. */ @java.lang.Override public boolean hasPatternVersion() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 patternVersion = 1; * @return The patternVersion. */ @java.lang.Override public int getPatternVersion() { return patternVersion_; } public static final int SIGN_FIELD_NUMBER = 2; private wechat.protobuf.Wechat.SKBuiltinString_ sign_; /** * optional .wechat_proto.SKBuiltinString_ sign = 2; * @return Whether the sign field is set. */ @java.lang.Override public boolean hasSign() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString_ sign = 2; * @return The sign. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString_ getSign() { return sign_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : sign_; } /** * optional .wechat_proto.SKBuiltinString_ sign = 2; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getSignOrBuilder() { return sign_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : sign_; } public static final int LOCKSTATUS_FIELD_NUMBER = 3; private int lockStatus_; /** * optional uint32 lockStatus = 3; * @return Whether the lockStatus field is set. */ @java.lang.Override public boolean hasLockStatus() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 lockStatus = 3; * @return The lockStatus. */ @java.lang.Override public int getLockStatus() { return lockStatus_; } 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, patternVersion_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getSign()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, lockStatus_); } 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, patternVersion_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSign()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, lockStatus_); } 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.Syncitem.PatternLockInfo)) { return super.equals(obj); } wechat.protobuf.Syncitem.PatternLockInfo other = (wechat.protobuf.Syncitem.PatternLockInfo) obj; if (hasPatternVersion() != other.hasPatternVersion()) return false; if (hasPatternVersion()) { if (getPatternVersion() != other.getPatternVersion()) return false; } if (hasSign() != other.hasSign()) return false; if (hasSign()) { if (!getSign() .equals(other.getSign())) return false; } if (hasLockStatus() != other.hasLockStatus()) return false; if (hasLockStatus()) { if (getLockStatus() != other.getLockStatus()) 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 (hasPatternVersion()) { hash = (37 * hash) + PATTERNVERSION_FIELD_NUMBER; hash = (53 * hash) + getPatternVersion(); } if (hasSign()) { hash = (37 * hash) + SIGN_FIELD_NUMBER; hash = (53 * hash) + getSign().hashCode(); } if (hasLockStatus()) { hash = (37 * hash) + LOCKSTATUS_FIELD_NUMBER; hash = (53 * hash) + getLockStatus(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.PatternLockInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.PatternLockInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.PatternLockInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.PatternLockInfo 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.Syncitem.PatternLockInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.PatternLockInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.PatternLockInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.PatternLockInfo 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.Syncitem.PatternLockInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.PatternLockInfo 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.Syncitem.PatternLockInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.PatternLockInfo 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.Syncitem.PatternLockInfo 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.PatternLockInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.PatternLockInfo) wechat.protobuf.Syncitem.PatternLockInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_PatternLockInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_PatternLockInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.PatternLockInfo.class, wechat.protobuf.Syncitem.PatternLockInfo.Builder.class); } // Construct using wechat.protobuf.Syncitem.PatternLockInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSignFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); patternVersion_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (signBuilder_ == null) { sign_ = null; } else { signBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); lockStatus_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_PatternLockInfo_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.PatternLockInfo getDefaultInstanceForType() { return wechat.protobuf.Syncitem.PatternLockInfo.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.PatternLockInfo build() { wechat.protobuf.Syncitem.PatternLockInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.PatternLockInfo buildPartial() { wechat.protobuf.Syncitem.PatternLockInfo result = new wechat.protobuf.Syncitem.PatternLockInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.patternVersion_ = patternVersion_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (signBuilder_ == null) { result.sign_ = sign_; } else { result.sign_ = signBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.lockStatus_ = lockStatus_; 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.Syncitem.PatternLockInfo) { return mergeFrom((wechat.protobuf.Syncitem.PatternLockInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.PatternLockInfo other) { if (other == wechat.protobuf.Syncitem.PatternLockInfo.getDefaultInstance()) return this; if (other.hasPatternVersion()) { setPatternVersion(other.getPatternVersion()); } if (other.hasSign()) { mergeSign(other.getSign()); } if (other.hasLockStatus()) { setLockStatus(other.getLockStatus()); } 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.Syncitem.PatternLockInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.PatternLockInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int patternVersion_ ; /** * optional uint32 patternVersion = 1; * @return Whether the patternVersion field is set. */ @java.lang.Override public boolean hasPatternVersion() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 patternVersion = 1; * @return The patternVersion. */ @java.lang.Override public int getPatternVersion() { return patternVersion_; } /** * optional uint32 patternVersion = 1; * @param value The patternVersion to set. * @return This builder for chaining. */ public Builder setPatternVersion(int value) { bitField0_ |= 0x00000001; patternVersion_ = value; onChanged(); return this; } /** * optional uint32 patternVersion = 1; * @return This builder for chaining. */ public Builder clearPatternVersion() { bitField0_ = (bitField0_ & ~0x00000001); patternVersion_ = 0; onChanged(); return this; } private wechat.protobuf.Wechat.SKBuiltinString_ sign_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder> signBuilder_; /** * optional .wechat_proto.SKBuiltinString_ sign = 2; * @return Whether the sign field is set. */ public boolean hasSign() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString_ sign = 2; * @return The sign. */ public wechat.protobuf.Wechat.SKBuiltinString_ getSign() { if (signBuilder_ == null) { return sign_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : sign_; } else { return signBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ sign = 2; */ public Builder setSign(wechat.protobuf.Wechat.SKBuiltinString_ value) { if (signBuilder_ == null) { if (value == null) { throw new NullPointerException(); } sign_ = value; onChanged(); } else { signBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString_ sign = 2; */ public Builder setSign( wechat.protobuf.Wechat.SKBuiltinString_.Builder builderForValue) { if (signBuilder_ == null) { sign_ = builderForValue.build(); onChanged(); } else { signBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString_ sign = 2; */ public Builder mergeSign(wechat.protobuf.Wechat.SKBuiltinString_ value) { if (signBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && sign_ != null && sign_ != wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance()) { sign_ = wechat.protobuf.Wechat.SKBuiltinString_.newBuilder(sign_).mergeFrom(value).buildPartial(); } else { sign_ = value; } onChanged(); } else { signBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString_ sign = 2; */ public Builder clearSign() { if (signBuilder_ == null) { sign_ = null; onChanged(); } else { signBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SKBuiltinString_ sign = 2; */ public wechat.protobuf.Wechat.SKBuiltinString_.Builder getSignBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSignFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ sign = 2; */ public wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getSignOrBuilder() { if (signBuilder_ != null) { return signBuilder_.getMessageOrBuilder(); } else { return sign_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : sign_; } } /** * optional .wechat_proto.SKBuiltinString_ sign = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder> getSignFieldBuilder() { if (signBuilder_ == null) { signBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder>( getSign(), getParentForChildren(), isClean()); sign_ = null; } return signBuilder_; } private int lockStatus_ ; /** * optional uint32 lockStatus = 3; * @return Whether the lockStatus field is set. */ @java.lang.Override public boolean hasLockStatus() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 lockStatus = 3; * @return The lockStatus. */ @java.lang.Override public int getLockStatus() { return lockStatus_; } /** * optional uint32 lockStatus = 3; * @param value The lockStatus to set. * @return This builder for chaining. */ public Builder setLockStatus(int value) { bitField0_ |= 0x00000004; lockStatus_ = value; onChanged(); return this; } /** * optional uint32 lockStatus = 3; * @return This builder for chaining. */ public Builder clearLockStatus() { bitField0_ = (bitField0_ & ~0x00000004); lockStatus_ = 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.PatternLockInfo) } // @@protoc_insertion_point(class_scope:wechat_proto.PatternLockInfo) private static final wechat.protobuf.Syncitem.PatternLockInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.PatternLockInfo(); } public static wechat.protobuf.Syncitem.PatternLockInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PatternLockInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PatternLockInfo(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.Syncitem.PatternLockInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsActionGroupOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsActionGroup) 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 int64 parentId = 2; * @return Whether the parentId field is set. */ boolean hasParentId(); /** * optional int64 parentId = 2; * @return The parentId. */ long getParentId(); /** * optional .wechat_proto.SnsAction currentAction = 3; * @return Whether the currentAction field is set. */ boolean hasCurrentAction(); /** * optional .wechat_proto.SnsAction currentAction = 3; * @return The currentAction. */ wechat.protobuf.Syncitem.SnsAction getCurrentAction(); /** * optional .wechat_proto.SnsAction currentAction = 3; */ wechat.protobuf.Syncitem.SnsActionOrBuilder getCurrentActionOrBuilder(); /** * optional .wechat_proto.SnsAction referAction = 4; * @return Whether the referAction field is set. */ boolean hasReferAction(); /** * optional .wechat_proto.SnsAction referAction = 4; * @return The referAction. */ wechat.protobuf.Syncitem.SnsAction getReferAction(); /** * optional .wechat_proto.SnsAction referAction = 4; */ wechat.protobuf.Syncitem.SnsActionOrBuilder getReferActionOrBuilder(); /** * optional string clientId = 5; * @return Whether the clientId field is set. */ boolean hasClientId(); /** * optional string clientId = 5; * @return The clientId. */ java.lang.String getClientId(); /** * optional string clientId = 5; * @return The bytes for clientId. */ com.google.protobuf.ByteString getClientIdBytes(); /** * optional uint32 objectCreateTime = 6; * @return Whether the objectCreateTime field is set. */ boolean hasObjectCreateTime(); /** * optional uint32 objectCreateTime = 6; * @return The objectCreateTime. */ int getObjectCreateTime(); } /** * Protobuf type {@code wechat_proto.SnsActionGroup} */ public static final class SnsActionGroup extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsActionGroup) SnsActionGroupOrBuilder { private static final long serialVersionUID = 0L; // Use SnsActionGroup.newBuilder() to construct. private SnsActionGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsActionGroup() { clientId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsActionGroup(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsActionGroup( 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; parentId_ = input.readInt64(); break; } case 26: { wechat.protobuf.Syncitem.SnsAction.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = currentAction_.toBuilder(); } currentAction_ = input.readMessage(wechat.protobuf.Syncitem.SnsAction.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(currentAction_); currentAction_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { wechat.protobuf.Syncitem.SnsAction.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = referAction_.toBuilder(); } referAction_ = input.readMessage(wechat.protobuf.Syncitem.SnsAction.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(referAction_); referAction_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; clientId_ = bs; break; } case 48: { bitField0_ |= 0x00000020; objectCreateTime_ = 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.Syncitem.internal_static_wechat_proto_SnsActionGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SnsActionGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.SnsActionGroup.class, wechat.protobuf.Syncitem.SnsActionGroup.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 PARENTID_FIELD_NUMBER = 2; private long parentId_; /** * optional int64 parentId = 2; * @return Whether the parentId field is set. */ @java.lang.Override public boolean hasParentId() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 parentId = 2; * @return The parentId. */ @java.lang.Override public long getParentId() { return parentId_; } public static final int CURRENTACTION_FIELD_NUMBER = 3; private wechat.protobuf.Syncitem.SnsAction currentAction_; /** * optional .wechat_proto.SnsAction currentAction = 3; * @return Whether the currentAction field is set. */ @java.lang.Override public boolean hasCurrentAction() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .wechat_proto.SnsAction currentAction = 3; * @return The currentAction. */ @java.lang.Override public wechat.protobuf.Syncitem.SnsAction getCurrentAction() { return currentAction_ == null ? wechat.protobuf.Syncitem.SnsAction.getDefaultInstance() : currentAction_; } /** * optional .wechat_proto.SnsAction currentAction = 3; */ @java.lang.Override public wechat.protobuf.Syncitem.SnsActionOrBuilder getCurrentActionOrBuilder() { return currentAction_ == null ? wechat.protobuf.Syncitem.SnsAction.getDefaultInstance() : currentAction_; } public static final int REFERACTION_FIELD_NUMBER = 4; private wechat.protobuf.Syncitem.SnsAction referAction_; /** * optional .wechat_proto.SnsAction referAction = 4; * @return Whether the referAction field is set. */ @java.lang.Override public boolean hasReferAction() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .wechat_proto.SnsAction referAction = 4; * @return The referAction. */ @java.lang.Override public wechat.protobuf.Syncitem.SnsAction getReferAction() { return referAction_ == null ? wechat.protobuf.Syncitem.SnsAction.getDefaultInstance() : referAction_; } /** * optional .wechat_proto.SnsAction referAction = 4; */ @java.lang.Override public wechat.protobuf.Syncitem.SnsActionOrBuilder getReferActionOrBuilder() { return referAction_ == null ? wechat.protobuf.Syncitem.SnsAction.getDefaultInstance() : referAction_; } public static final int CLIENTID_FIELD_NUMBER = 5; private volatile java.lang.Object clientId_; /** * optional string clientId = 5; * @return Whether the clientId field is set. */ @java.lang.Override public boolean hasClientId() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string clientId = 5; * @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 = 5; * @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 OBJECTCREATETIME_FIELD_NUMBER = 6; private int objectCreateTime_; /** * optional uint32 objectCreateTime = 6; * @return Whether the objectCreateTime field is set. */ @java.lang.Override public boolean hasObjectCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 objectCreateTime = 6; * @return The objectCreateTime. */ @java.lang.Override public int getObjectCreateTime() { return objectCreateTime_; } 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.writeInt64(2, parentId_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getCurrentAction()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getReferAction()); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, clientId_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(6, objectCreateTime_); } 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 .computeInt64Size(2, parentId_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getCurrentAction()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getReferAction()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, clientId_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, objectCreateTime_); } 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.Syncitem.SnsActionGroup)) { return super.equals(obj); } wechat.protobuf.Syncitem.SnsActionGroup other = (wechat.protobuf.Syncitem.SnsActionGroup) obj; if (hasId() != other.hasId()) return false; if (hasId()) { if (getId() != other.getId()) return false; } if (hasParentId() != other.hasParentId()) return false; if (hasParentId()) { if (getParentId() != other.getParentId()) return false; } if (hasCurrentAction() != other.hasCurrentAction()) return false; if (hasCurrentAction()) { if (!getCurrentAction() .equals(other.getCurrentAction())) return false; } if (hasReferAction() != other.hasReferAction()) return false; if (hasReferAction()) { if (!getReferAction() .equals(other.getReferAction())) return false; } if (hasClientId() != other.hasClientId()) return false; if (hasClientId()) { if (!getClientId() .equals(other.getClientId())) return false; } if (hasObjectCreateTime() != other.hasObjectCreateTime()) return false; if (hasObjectCreateTime()) { if (getObjectCreateTime() != other.getObjectCreateTime()) 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 (hasParentId()) { hash = (37 * hash) + PARENTID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getParentId()); } if (hasCurrentAction()) { hash = (37 * hash) + CURRENTACTION_FIELD_NUMBER; hash = (53 * hash) + getCurrentAction().hashCode(); } if (hasReferAction()) { hash = (37 * hash) + REFERACTION_FIELD_NUMBER; hash = (53 * hash) + getReferAction().hashCode(); } if (hasClientId()) { hash = (37 * hash) + CLIENTID_FIELD_NUMBER; hash = (53 * hash) + getClientId().hashCode(); } if (hasObjectCreateTime()) { hash = (37 * hash) + OBJECTCREATETIME_FIELD_NUMBER; hash = (53 * hash) + getObjectCreateTime(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.SnsActionGroup parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.SnsActionGroup parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.SnsActionGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.SnsActionGroup 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.Syncitem.SnsActionGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.SnsActionGroup parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.SnsActionGroup parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.SnsActionGroup 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.Syncitem.SnsActionGroup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.SnsActionGroup 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.Syncitem.SnsActionGroup parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.SnsActionGroup 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.Syncitem.SnsActionGroup 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.SnsActionGroup} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsActionGroup) wechat.protobuf.Syncitem.SnsActionGroupOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SnsActionGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SnsActionGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.SnsActionGroup.class, wechat.protobuf.Syncitem.SnsActionGroup.Builder.class); } // Construct using wechat.protobuf.Syncitem.SnsActionGroup.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getCurrentActionFieldBuilder(); getReferActionFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); id_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); parentId_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); if (currentActionBuilder_ == null) { currentAction_ = null; } else { currentActionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (referActionBuilder_ == null) { referAction_ = null; } else { referActionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); clientId_ = ""; bitField0_ = (bitField0_ & ~0x00000010); objectCreateTime_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SnsActionGroup_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.SnsActionGroup getDefaultInstanceForType() { return wechat.protobuf.Syncitem.SnsActionGroup.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.SnsActionGroup build() { wechat.protobuf.Syncitem.SnsActionGroup result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.SnsActionGroup buildPartial() { wechat.protobuf.Syncitem.SnsActionGroup result = new wechat.protobuf.Syncitem.SnsActionGroup(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.parentId_ = parentId_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (currentActionBuilder_ == null) { result.currentAction_ = currentAction_; } else { result.currentAction_ = currentActionBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (referActionBuilder_ == null) { result.referAction_ = referAction_; } else { result.referAction_ = referActionBuilder_.build(); } to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.clientId_ = clientId_; if (((from_bitField0_ & 0x00000020) != 0)) { result.objectCreateTime_ = objectCreateTime_; 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.Syncitem.SnsActionGroup) { return mergeFrom((wechat.protobuf.Syncitem.SnsActionGroup)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.SnsActionGroup other) { if (other == wechat.protobuf.Syncitem.SnsActionGroup.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasParentId()) { setParentId(other.getParentId()); } if (other.hasCurrentAction()) { mergeCurrentAction(other.getCurrentAction()); } if (other.hasReferAction()) { mergeReferAction(other.getReferAction()); } if (other.hasClientId()) { bitField0_ |= 0x00000010; clientId_ = other.clientId_; onChanged(); } if (other.hasObjectCreateTime()) { setObjectCreateTime(other.getObjectCreateTime()); } 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.Syncitem.SnsActionGroup parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.SnsActionGroup) 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 long parentId_ ; /** * optional int64 parentId = 2; * @return Whether the parentId field is set. */ @java.lang.Override public boolean hasParentId() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 parentId = 2; * @return The parentId. */ @java.lang.Override public long getParentId() { return parentId_; } /** * optional int64 parentId = 2; * @param value The parentId to set. * @return This builder for chaining. */ public Builder setParentId(long value) { bitField0_ |= 0x00000002; parentId_ = value; onChanged(); return this; } /** * optional int64 parentId = 2; * @return This builder for chaining. */ public Builder clearParentId() { bitField0_ = (bitField0_ & ~0x00000002); parentId_ = 0L; onChanged(); return this; } private wechat.protobuf.Syncitem.SnsAction currentAction_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.SnsAction, wechat.protobuf.Syncitem.SnsAction.Builder, wechat.protobuf.Syncitem.SnsActionOrBuilder> currentActionBuilder_; /** * optional .wechat_proto.SnsAction currentAction = 3; * @return Whether the currentAction field is set. */ public boolean hasCurrentAction() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .wechat_proto.SnsAction currentAction = 3; * @return The currentAction. */ public wechat.protobuf.Syncitem.SnsAction getCurrentAction() { if (currentActionBuilder_ == null) { return currentAction_ == null ? wechat.protobuf.Syncitem.SnsAction.getDefaultInstance() : currentAction_; } else { return currentActionBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsAction currentAction = 3; */ public Builder setCurrentAction(wechat.protobuf.Syncitem.SnsAction value) { if (currentActionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } currentAction_ = value; onChanged(); } else { currentActionBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SnsAction currentAction = 3; */ public Builder setCurrentAction( wechat.protobuf.Syncitem.SnsAction.Builder builderForValue) { if (currentActionBuilder_ == null) { currentAction_ = builderForValue.build(); onChanged(); } else { currentActionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SnsAction currentAction = 3; */ public Builder mergeCurrentAction(wechat.protobuf.Syncitem.SnsAction value) { if (currentActionBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && currentAction_ != null && currentAction_ != wechat.protobuf.Syncitem.SnsAction.getDefaultInstance()) { currentAction_ = wechat.protobuf.Syncitem.SnsAction.newBuilder(currentAction_).mergeFrom(value).buildPartial(); } else { currentAction_ = value; } onChanged(); } else { currentActionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SnsAction currentAction = 3; */ public Builder clearCurrentAction() { if (currentActionBuilder_ == null) { currentAction_ = null; onChanged(); } else { currentActionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .wechat_proto.SnsAction currentAction = 3; */ public wechat.protobuf.Syncitem.SnsAction.Builder getCurrentActionBuilder() { bitField0_ |= 0x00000004; onChanged(); return getCurrentActionFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsAction currentAction = 3; */ public wechat.protobuf.Syncitem.SnsActionOrBuilder getCurrentActionOrBuilder() { if (currentActionBuilder_ != null) { return currentActionBuilder_.getMessageOrBuilder(); } else { return currentAction_ == null ? wechat.protobuf.Syncitem.SnsAction.getDefaultInstance() : currentAction_; } } /** * optional .wechat_proto.SnsAction currentAction = 3; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.SnsAction, wechat.protobuf.Syncitem.SnsAction.Builder, wechat.protobuf.Syncitem.SnsActionOrBuilder> getCurrentActionFieldBuilder() { if (currentActionBuilder_ == null) { currentActionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.SnsAction, wechat.protobuf.Syncitem.SnsAction.Builder, wechat.protobuf.Syncitem.SnsActionOrBuilder>( getCurrentAction(), getParentForChildren(), isClean()); currentAction_ = null; } return currentActionBuilder_; } private wechat.protobuf.Syncitem.SnsAction referAction_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.SnsAction, wechat.protobuf.Syncitem.SnsAction.Builder, wechat.protobuf.Syncitem.SnsActionOrBuilder> referActionBuilder_; /** * optional .wechat_proto.SnsAction referAction = 4; * @return Whether the referAction field is set. */ public boolean hasReferAction() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .wechat_proto.SnsAction referAction = 4; * @return The referAction. */ public wechat.protobuf.Syncitem.SnsAction getReferAction() { if (referActionBuilder_ == null) { return referAction_ == null ? wechat.protobuf.Syncitem.SnsAction.getDefaultInstance() : referAction_; } else { return referActionBuilder_.getMessage(); } } /** * optional .wechat_proto.SnsAction referAction = 4; */ public Builder setReferAction(wechat.protobuf.Syncitem.SnsAction value) { if (referActionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } referAction_ = value; onChanged(); } else { referActionBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.SnsAction referAction = 4; */ public Builder setReferAction( wechat.protobuf.Syncitem.SnsAction.Builder builderForValue) { if (referActionBuilder_ == null) { referAction_ = builderForValue.build(); onChanged(); } else { referActionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.SnsAction referAction = 4; */ public Builder mergeReferAction(wechat.protobuf.Syncitem.SnsAction value) { if (referActionBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && referAction_ != null && referAction_ != wechat.protobuf.Syncitem.SnsAction.getDefaultInstance()) { referAction_ = wechat.protobuf.Syncitem.SnsAction.newBuilder(referAction_).mergeFrom(value).buildPartial(); } else { referAction_ = value; } onChanged(); } else { referActionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.SnsAction referAction = 4; */ public Builder clearReferAction() { if (referActionBuilder_ == null) { referAction_ = null; onChanged(); } else { referActionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .wechat_proto.SnsAction referAction = 4; */ public wechat.protobuf.Syncitem.SnsAction.Builder getReferActionBuilder() { bitField0_ |= 0x00000008; onChanged(); return getReferActionFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SnsAction referAction = 4; */ public wechat.protobuf.Syncitem.SnsActionOrBuilder getReferActionOrBuilder() { if (referActionBuilder_ != null) { return referActionBuilder_.getMessageOrBuilder(); } else { return referAction_ == null ? wechat.protobuf.Syncitem.SnsAction.getDefaultInstance() : referAction_; } } /** * optional .wechat_proto.SnsAction referAction = 4; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.SnsAction, wechat.protobuf.Syncitem.SnsAction.Builder, wechat.protobuf.Syncitem.SnsActionOrBuilder> getReferActionFieldBuilder() { if (referActionBuilder_ == null) { referActionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.SnsAction, wechat.protobuf.Syncitem.SnsAction.Builder, wechat.protobuf.Syncitem.SnsActionOrBuilder>( getReferAction(), getParentForChildren(), isClean()); referAction_ = null; } return referActionBuilder_; } private java.lang.Object clientId_ = ""; /** * optional string clientId = 5; * @return Whether the clientId field is set. */ public boolean hasClientId() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string clientId = 5; * @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 = 5; * @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 = 5; * @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_ |= 0x00000010; clientId_ = value; onChanged(); return this; } /** * optional string clientId = 5; * @return This builder for chaining. */ public Builder clearClientId() { bitField0_ = (bitField0_ & ~0x00000010); clientId_ = getDefaultInstance().getClientId(); onChanged(); return this; } /** * optional string clientId = 5; * @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_ |= 0x00000010; clientId_ = value; onChanged(); return this; } private int objectCreateTime_ ; /** * optional uint32 objectCreateTime = 6; * @return Whether the objectCreateTime field is set. */ @java.lang.Override public boolean hasObjectCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 objectCreateTime = 6; * @return The objectCreateTime. */ @java.lang.Override public int getObjectCreateTime() { return objectCreateTime_; } /** * optional uint32 objectCreateTime = 6; * @param value The objectCreateTime to set. * @return This builder for chaining. */ public Builder setObjectCreateTime(int value) { bitField0_ |= 0x00000020; objectCreateTime_ = value; onChanged(); return this; } /** * optional uint32 objectCreateTime = 6; * @return This builder for chaining. */ public Builder clearObjectCreateTime() { bitField0_ = (bitField0_ & ~0x00000020); objectCreateTime_ = 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.SnsActionGroup) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsActionGroup) private static final wechat.protobuf.Syncitem.SnsActionGroup DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.SnsActionGroup(); } public static wechat.protobuf.Syncitem.SnsActionGroup getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsActionGroup parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsActionGroup(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.Syncitem.SnsActionGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnsActionOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SnsAction) com.google.protobuf.MessageOrBuilder { /** * optional string fromUsername = 1; * @return Whether the fromUsername field is set. */ boolean hasFromUsername(); /** * optional string fromUsername = 1; * @return The fromUsername. */ java.lang.String getFromUsername(); /** * optional string fromUsername = 1; * @return The bytes for fromUsername. */ com.google.protobuf.ByteString getFromUsernameBytes(); /** * optional string toUsername = 2; * @return Whether the toUsername field is set. */ boolean hasToUsername(); /** * optional string toUsername = 2; * @return The toUsername. */ java.lang.String getToUsername(); /** * optional string toUsername = 2; * @return The bytes for toUsername. */ com.google.protobuf.ByteString getToUsernameBytes(); /** * optional string fromNickname = 3; * @return Whether the fromNickname field is set. */ boolean hasFromNickname(); /** * optional string fromNickname = 3; * @return The fromNickname. */ java.lang.String getFromNickname(); /** * optional string fromNickname = 3; * @return The bytes for fromNickname. */ com.google.protobuf.ByteString getFromNicknameBytes(); /** * optional string toNickname = 4; * @return Whether the toNickname field is set. */ boolean hasToNickname(); /** * optional string toNickname = 4; * @return The toNickname. */ java.lang.String getToNickname(); /** * optional string toNickname = 4; * @return The bytes for toNickname. */ com.google.protobuf.ByteString getToNicknameBytes(); /** * optional uint32 type = 5; * @return Whether the type field is set. */ boolean hasType(); /** * optional uint32 type = 5; * @return The type. */ int getType(); /** * optional uint32 source = 6; * @return Whether the source field is set. */ boolean hasSource(); /** * optional uint32 source = 6; * @return The source. */ int getSource(); /** * optional uint32 createTime = 7; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** * optional uint32 createTime = 7; * @return The createTime. */ int getCreateTime(); /** * optional string content = 8; * @return Whether the content field is set. */ boolean hasContent(); /** * optional string content = 8; * @return The content. */ java.lang.String getContent(); /** * optional string content = 8; * @return The bytes for content. */ com.google.protobuf.ByteString getContentBytes(); /** * optional uint32 replyCommentId = 9; * @return Whether the replyCommentId field is set. */ boolean hasReplyCommentId(); /** * optional uint32 replyCommentId = 9; * @return The replyCommentId. */ int getReplyCommentId(); /** * optional uint32 commentId = 10; * @return Whether the commentId field is set. */ boolean hasCommentId(); /** * optional uint32 commentId = 10; * @return The commentId. */ int getCommentId(); /** * optional uint32 isNotRichText = 11; * @return Whether the isNotRichText field is set. */ boolean hasIsNotRichText(); /** * optional uint32 isNotRichText = 11; * @return The isNotRichText. */ int getIsNotRichText(); /** * optional int64 replyCommentId2 = 12; * @return Whether the replyCommentId2 field is set. */ boolean hasReplyCommentId2(); /** * optional int64 replyCommentId2 = 12; * @return The replyCommentId2. */ long getReplyCommentId2(); /** * optional int64 commentId2 = 13; * @return Whether the commentId2 field is set. */ boolean hasCommentId2(); /** * optional int64 commentId2 = 13; * @return The commentId2. */ long getCommentId2(); /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 14; * @return Whether the hbbuffer field is set. */ boolean hasHbbuffer(); /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 14; * @return The hbbuffer. */ wechat.protobuf.Wechat.SKBuiltinString_ getHbbuffer(); /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 14; */ wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getHbbufferOrBuilder(); /** * optional uint32 commentFlag = 15; * @return Whether the commentFlag field is set. */ boolean hasCommentFlag(); /** * optional uint32 commentFlag = 15; * @return The commentFlag. */ int getCommentFlag(); /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 16; * @return Whether the remindFriendsInfo field is set. */ boolean hasRemindFriendsInfo(); /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 16; * @return The remindFriendsInfo. */ wechat.protobuf.Syncitem.RemindFriendsInfo getRemindFriendsInfo(); /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 16; */ wechat.protobuf.Syncitem.RemindFriendsInfoOrBuilder getRemindFriendsInfoOrBuilder(); } /** * Protobuf type {@code wechat_proto.SnsAction} */ public static final class SnsAction extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SnsAction) SnsActionOrBuilder { private static final long serialVersionUID = 0L; // Use SnsAction.newBuilder() to construct. private SnsAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SnsAction() { fromUsername_ = ""; toUsername_ = ""; fromNickname_ = ""; toNickname_ = ""; content_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SnsAction(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SnsAction( 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; fromUsername_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; toUsername_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; fromNickname_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; toNickname_ = bs; break; } case 40: { bitField0_ |= 0x00000010; type_ = input.readUInt32(); break; } case 48: { bitField0_ |= 0x00000020; source_ = input.readUInt32(); break; } case 56: { bitField0_ |= 0x00000040; createTime_ = input.readUInt32(); break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; content_ = bs; break; } case 72: { bitField0_ |= 0x00000100; replyCommentId_ = input.readUInt32(); break; } case 80: { bitField0_ |= 0x00000200; commentId_ = input.readUInt32(); break; } case 88: { bitField0_ |= 0x00000400; isNotRichText_ = input.readUInt32(); break; } case 96: { bitField0_ |= 0x00000800; replyCommentId2_ = input.readInt64(); break; } case 104: { bitField0_ |= 0x00001000; commentId2_ = input.readInt64(); break; } case 114: { wechat.protobuf.Wechat.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00002000) != 0)) { subBuilder = hbbuffer_.toBuilder(); } hbbuffer_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(hbbuffer_); hbbuffer_ = subBuilder.buildPartial(); } bitField0_ |= 0x00002000; break; } case 120: { bitField0_ |= 0x00004000; commentFlag_ = input.readUInt32(); break; } case 130: { wechat.protobuf.Syncitem.RemindFriendsInfo.Builder subBuilder = null; if (((bitField0_ & 0x00008000) != 0)) { subBuilder = remindFriendsInfo_.toBuilder(); } remindFriendsInfo_ = input.readMessage(wechat.protobuf.Syncitem.RemindFriendsInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(remindFriendsInfo_); remindFriendsInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00008000; 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.Syncitem.internal_static_wechat_proto_SnsAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SnsAction_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.SnsAction.class, wechat.protobuf.Syncitem.SnsAction.Builder.class); } private int bitField0_; public static final int FROMUSERNAME_FIELD_NUMBER = 1; private volatile java.lang.Object fromUsername_; /** * optional string fromUsername = 1; * @return Whether the fromUsername field is set. */ @java.lang.Override public boolean hasFromUsername() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string fromUsername = 1; * @return The fromUsername. */ @java.lang.Override public java.lang.String getFromUsername() { java.lang.Object ref = fromUsername_; 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()) { fromUsername_ = s; } return s; } } /** * optional string fromUsername = 1; * @return The bytes for fromUsername. */ @java.lang.Override public com.google.protobuf.ByteString getFromUsernameBytes() { java.lang.Object ref = fromUsername_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fromUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOUSERNAME_FIELD_NUMBER = 2; private volatile java.lang.Object toUsername_; /** * optional string toUsername = 2; * @return Whether the toUsername field is set. */ @java.lang.Override public boolean hasToUsername() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string toUsername = 2; * @return The toUsername. */ @java.lang.Override public java.lang.String getToUsername() { java.lang.Object ref = toUsername_; 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()) { toUsername_ = s; } return s; } } /** * optional string toUsername = 2; * @return The bytes for toUsername. */ @java.lang.Override public com.google.protobuf.ByteString getToUsernameBytes() { java.lang.Object ref = toUsername_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); toUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FROMNICKNAME_FIELD_NUMBER = 3; private volatile java.lang.Object fromNickname_; /** * optional string fromNickname = 3; * @return Whether the fromNickname field is set. */ @java.lang.Override public boolean hasFromNickname() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string fromNickname = 3; * @return The fromNickname. */ @java.lang.Override public java.lang.String getFromNickname() { java.lang.Object ref = fromNickname_; 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()) { fromNickname_ = s; } return s; } } /** * optional string fromNickname = 3; * @return The bytes for fromNickname. */ @java.lang.Override public com.google.protobuf.ByteString getFromNicknameBytes() { java.lang.Object ref = fromNickname_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fromNickname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TONICKNAME_FIELD_NUMBER = 4; private volatile java.lang.Object toNickname_; /** * optional string toNickname = 4; * @return Whether the toNickname field is set. */ @java.lang.Override public boolean hasToNickname() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string toNickname = 4; * @return The toNickname. */ @java.lang.Override public java.lang.String getToNickname() { java.lang.Object ref = toNickname_; 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()) { toNickname_ = s; } return s; } } /** * optional string toNickname = 4; * @return The bytes for toNickname. */ @java.lang.Override public com.google.protobuf.ByteString getToNicknameBytes() { java.lang.Object ref = toNickname_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); toNickname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 5; private int type_; /** * optional uint32 type = 5; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 type = 5; * @return The type. */ @java.lang.Override public int getType() { return type_; } public static final int SOURCE_FIELD_NUMBER = 6; private int source_; /** * optional uint32 source = 6; * @return Whether the source field is set. */ @java.lang.Override public boolean hasSource() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 source = 6; * @return The source. */ @java.lang.Override public int getSource() { return source_; } public static final int CREATETIME_FIELD_NUMBER = 7; private int createTime_; /** * optional uint32 createTime = 7; * @return Whether the createTime field is set. */ @java.lang.Override public boolean hasCreateTime() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 createTime = 7; * @return The createTime. */ @java.lang.Override public int getCreateTime() { return createTime_; } public static final int CONTENT_FIELD_NUMBER = 8; private volatile java.lang.Object content_; /** * optional string content = 8; * @return Whether the content field is set. */ @java.lang.Override public boolean hasContent() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string content = 8; * @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 = 8; * @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 REPLYCOMMENTID_FIELD_NUMBER = 9; private int replyCommentId_; /** * optional uint32 replyCommentId = 9; * @return Whether the replyCommentId field is set. */ @java.lang.Override public boolean hasReplyCommentId() { return ((bitField0_ & 0x00000100) != 0); } /** * optional uint32 replyCommentId = 9; * @return The replyCommentId. */ @java.lang.Override public int getReplyCommentId() { return replyCommentId_; } public static final int COMMENTID_FIELD_NUMBER = 10; private int commentId_; /** * optional uint32 commentId = 10; * @return Whether the commentId field is set. */ @java.lang.Override public boolean hasCommentId() { return ((bitField0_ & 0x00000200) != 0); } /** * optional uint32 commentId = 10; * @return The commentId. */ @java.lang.Override public int getCommentId() { return commentId_; } public static final int ISNOTRICHTEXT_FIELD_NUMBER = 11; private int isNotRichText_; /** * optional uint32 isNotRichText = 11; * @return Whether the isNotRichText field is set. */ @java.lang.Override public boolean hasIsNotRichText() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint32 isNotRichText = 11; * @return The isNotRichText. */ @java.lang.Override public int getIsNotRichText() { return isNotRichText_; } public static final int REPLYCOMMENTID2_FIELD_NUMBER = 12; private long replyCommentId2_; /** * optional int64 replyCommentId2 = 12; * @return Whether the replyCommentId2 field is set. */ @java.lang.Override public boolean hasReplyCommentId2() { return ((bitField0_ & 0x00000800) != 0); } /** * optional int64 replyCommentId2 = 12; * @return The replyCommentId2. */ @java.lang.Override public long getReplyCommentId2() { return replyCommentId2_; } public static final int COMMENTID2_FIELD_NUMBER = 13; private long commentId2_; /** * optional int64 commentId2 = 13; * @return Whether the commentId2 field is set. */ @java.lang.Override public boolean hasCommentId2() { return ((bitField0_ & 0x00001000) != 0); } /** * optional int64 commentId2 = 13; * @return The commentId2. */ @java.lang.Override public long getCommentId2() { return commentId2_; } public static final int HBBUFFER_FIELD_NUMBER = 14; private wechat.protobuf.Wechat.SKBuiltinString_ hbbuffer_; /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 14; * @return Whether the hbbuffer field is set. */ @java.lang.Override public boolean hasHbbuffer() { return ((bitField0_ & 0x00002000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 14; * @return The hbbuffer. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString_ getHbbuffer() { return hbbuffer_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : hbbuffer_; } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 14; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getHbbufferOrBuilder() { return hbbuffer_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : hbbuffer_; } public static final int COMMENTFLAG_FIELD_NUMBER = 15; private int commentFlag_; /** * optional uint32 commentFlag = 15; * @return Whether the commentFlag field is set. */ @java.lang.Override public boolean hasCommentFlag() { return ((bitField0_ & 0x00004000) != 0); } /** * optional uint32 commentFlag = 15; * @return The commentFlag. */ @java.lang.Override public int getCommentFlag() { return commentFlag_; } public static final int REMINDFRIENDSINFO_FIELD_NUMBER = 16; private wechat.protobuf.Syncitem.RemindFriendsInfo remindFriendsInfo_; /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 16; * @return Whether the remindFriendsInfo field is set. */ @java.lang.Override public boolean hasRemindFriendsInfo() { return ((bitField0_ & 0x00008000) != 0); } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 16; * @return The remindFriendsInfo. */ @java.lang.Override public wechat.protobuf.Syncitem.RemindFriendsInfo getRemindFriendsInfo() { return remindFriendsInfo_ == null ? wechat.protobuf.Syncitem.RemindFriendsInfo.getDefaultInstance() : remindFriendsInfo_; } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 16; */ @java.lang.Override public wechat.protobuf.Syncitem.RemindFriendsInfoOrBuilder getRemindFriendsInfoOrBuilder() { return remindFriendsInfo_ == null ? wechat.protobuf.Syncitem.RemindFriendsInfo.getDefaultInstance() : remindFriendsInfo_; } 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, fromUsername_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, toUsername_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fromNickname_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, toNickname_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, type_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(6, source_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt32(7, createTime_); } if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, content_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeUInt32(9, replyCommentId_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeUInt32(10, commentId_); } if (((bitField0_ & 0x00000400) != 0)) { output.writeUInt32(11, isNotRichText_); } if (((bitField0_ & 0x00000800) != 0)) { output.writeInt64(12, replyCommentId2_); } if (((bitField0_ & 0x00001000) != 0)) { output.writeInt64(13, commentId2_); } if (((bitField0_ & 0x00002000) != 0)) { output.writeMessage(14, getHbbuffer()); } if (((bitField0_ & 0x00004000) != 0)) { output.writeUInt32(15, commentFlag_); } if (((bitField0_ & 0x00008000) != 0)) { output.writeMessage(16, getRemindFriendsInfo()); } 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, fromUsername_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, toUsername_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fromNickname_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, toNickname_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, type_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, source_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, createTime_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, content_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(9, replyCommentId_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(10, commentId_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(11, isNotRichText_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(12, replyCommentId2_); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(13, commentId2_); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getHbbuffer()); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(15, commentFlag_); } if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getRemindFriendsInfo()); } 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.Syncitem.SnsAction)) { return super.equals(obj); } wechat.protobuf.Syncitem.SnsAction other = (wechat.protobuf.Syncitem.SnsAction) obj; if (hasFromUsername() != other.hasFromUsername()) return false; if (hasFromUsername()) { if (!getFromUsername() .equals(other.getFromUsername())) return false; } if (hasToUsername() != other.hasToUsername()) return false; if (hasToUsername()) { if (!getToUsername() .equals(other.getToUsername())) return false; } if (hasFromNickname() != other.hasFromNickname()) return false; if (hasFromNickname()) { if (!getFromNickname() .equals(other.getFromNickname())) return false; } if (hasToNickname() != other.hasToNickname()) return false; if (hasToNickname()) { if (!getToNickname() .equals(other.getToNickname())) return false; } if (hasType() != other.hasType()) return false; if (hasType()) { if (getType() != other.getType()) return false; } if (hasSource() != other.hasSource()) return false; if (hasSource()) { if (getSource() != other.getSource()) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { if (getCreateTime() != other.getCreateTime()) return false; } if (hasContent() != other.hasContent()) return false; if (hasContent()) { if (!getContent() .equals(other.getContent())) return false; } if (hasReplyCommentId() != other.hasReplyCommentId()) return false; if (hasReplyCommentId()) { if (getReplyCommentId() != other.getReplyCommentId()) return false; } if (hasCommentId() != other.hasCommentId()) return false; if (hasCommentId()) { if (getCommentId() != other.getCommentId()) 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 (hasHbbuffer() != other.hasHbbuffer()) return false; if (hasHbbuffer()) { if (!getHbbuffer() .equals(other.getHbbuffer())) return false; } if (hasCommentFlag() != other.hasCommentFlag()) return false; if (hasCommentFlag()) { if (getCommentFlag() != other.getCommentFlag()) return false; } if (hasRemindFriendsInfo() != other.hasRemindFriendsInfo()) return false; if (hasRemindFriendsInfo()) { if (!getRemindFriendsInfo() .equals(other.getRemindFriendsInfo())) 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 (hasFromUsername()) { hash = (37 * hash) + FROMUSERNAME_FIELD_NUMBER; hash = (53 * hash) + getFromUsername().hashCode(); } if (hasToUsername()) { hash = (37 * hash) + TOUSERNAME_FIELD_NUMBER; hash = (53 * hash) + getToUsername().hashCode(); } if (hasFromNickname()) { hash = (37 * hash) + FROMNICKNAME_FIELD_NUMBER; hash = (53 * hash) + getFromNickname().hashCode(); } if (hasToNickname()) { hash = (37 * hash) + TONICKNAME_FIELD_NUMBER; hash = (53 * hash) + getToNickname().hashCode(); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType(); } if (hasSource()) { hash = (37 * hash) + SOURCE_FIELD_NUMBER; hash = (53 * hash) + getSource(); } if (hasCreateTime()) { hash = (37 * hash) + CREATETIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime(); } if (hasContent()) { hash = (37 * hash) + CONTENT_FIELD_NUMBER; hash = (53 * hash) + getContent().hashCode(); } if (hasReplyCommentId()) { hash = (37 * hash) + REPLYCOMMENTID_FIELD_NUMBER; hash = (53 * hash) + getReplyCommentId(); } if (hasCommentId()) { hash = (37 * hash) + COMMENTID_FIELD_NUMBER; hash = (53 * hash) + getCommentId(); } 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 (hasHbbuffer()) { hash = (37 * hash) + HBBUFFER_FIELD_NUMBER; hash = (53 * hash) + getHbbuffer().hashCode(); } if (hasCommentFlag()) { hash = (37 * hash) + COMMENTFLAG_FIELD_NUMBER; hash = (53 * hash) + getCommentFlag(); } if (hasRemindFriendsInfo()) { hash = (37 * hash) + REMINDFRIENDSINFO_FIELD_NUMBER; hash = (53 * hash) + getRemindFriendsInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.SnsAction parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.SnsAction parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.SnsAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.SnsAction 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.Syncitem.SnsAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.SnsAction parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.SnsAction parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.SnsAction 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.Syncitem.SnsAction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.SnsAction 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.Syncitem.SnsAction parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.SnsAction 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.Syncitem.SnsAction 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.SnsAction} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SnsAction) wechat.protobuf.Syncitem.SnsActionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SnsAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SnsAction_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.SnsAction.class, wechat.protobuf.Syncitem.SnsAction.Builder.class); } // Construct using wechat.protobuf.Syncitem.SnsAction.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(); getRemindFriendsInfoFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); fromUsername_ = ""; bitField0_ = (bitField0_ & ~0x00000001); toUsername_ = ""; bitField0_ = (bitField0_ & ~0x00000002); fromNickname_ = ""; bitField0_ = (bitField0_ & ~0x00000004); toNickname_ = ""; bitField0_ = (bitField0_ & ~0x00000008); type_ = 0; bitField0_ = (bitField0_ & ~0x00000010); source_ = 0; bitField0_ = (bitField0_ & ~0x00000020); createTime_ = 0; bitField0_ = (bitField0_ & ~0x00000040); content_ = ""; bitField0_ = (bitField0_ & ~0x00000080); replyCommentId_ = 0; bitField0_ = (bitField0_ & ~0x00000100); commentId_ = 0; bitField0_ = (bitField0_ & ~0x00000200); isNotRichText_ = 0; bitField0_ = (bitField0_ & ~0x00000400); replyCommentId2_ = 0L; bitField0_ = (bitField0_ & ~0x00000800); commentId2_ = 0L; bitField0_ = (bitField0_ & ~0x00001000); if (hbbufferBuilder_ == null) { hbbuffer_ = null; } else { hbbufferBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00002000); commentFlag_ = 0; bitField0_ = (bitField0_ & ~0x00004000); if (remindFriendsInfoBuilder_ == null) { remindFriendsInfo_ = null; } else { remindFriendsInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00008000); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SnsAction_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.SnsAction getDefaultInstanceForType() { return wechat.protobuf.Syncitem.SnsAction.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.SnsAction build() { wechat.protobuf.Syncitem.SnsAction result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.SnsAction buildPartial() { wechat.protobuf.Syncitem.SnsAction result = new wechat.protobuf.Syncitem.SnsAction(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.fromUsername_ = fromUsername_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.toUsername_ = toUsername_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.fromNickname_ = fromNickname_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.toNickname_ = toNickname_; if (((from_bitField0_ & 0x00000010) != 0)) { result.type_ = type_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.source_ = source_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.createTime_ = createTime_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } result.content_ = content_; if (((from_bitField0_ & 0x00000100) != 0)) { result.replyCommentId_ = replyCommentId_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { result.commentId_ = commentId_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { result.isNotRichText_ = isNotRichText_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00000800) != 0)) { result.replyCommentId2_ = replyCommentId2_; to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00001000) != 0)) { result.commentId2_ = commentId2_; to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00002000) != 0)) { if (hbbufferBuilder_ == null) { result.hbbuffer_ = hbbuffer_; } else { result.hbbuffer_ = hbbufferBuilder_.build(); } to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00004000) != 0)) { result.commentFlag_ = commentFlag_; to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00008000) != 0)) { if (remindFriendsInfoBuilder_ == null) { result.remindFriendsInfo_ = remindFriendsInfo_; } else { result.remindFriendsInfo_ = remindFriendsInfoBuilder_.build(); } to_bitField0_ |= 0x00008000; } 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.Syncitem.SnsAction) { return mergeFrom((wechat.protobuf.Syncitem.SnsAction)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.SnsAction other) { if (other == wechat.protobuf.Syncitem.SnsAction.getDefaultInstance()) return this; if (other.hasFromUsername()) { bitField0_ |= 0x00000001; fromUsername_ = other.fromUsername_; onChanged(); } if (other.hasToUsername()) { bitField0_ |= 0x00000002; toUsername_ = other.toUsername_; onChanged(); } if (other.hasFromNickname()) { bitField0_ |= 0x00000004; fromNickname_ = other.fromNickname_; onChanged(); } if (other.hasToNickname()) { bitField0_ |= 0x00000008; toNickname_ = other.toNickname_; onChanged(); } if (other.hasType()) { setType(other.getType()); } if (other.hasSource()) { setSource(other.getSource()); } if (other.hasCreateTime()) { setCreateTime(other.getCreateTime()); } if (other.hasContent()) { bitField0_ |= 0x00000080; content_ = other.content_; onChanged(); } if (other.hasReplyCommentId()) { setReplyCommentId(other.getReplyCommentId()); } if (other.hasCommentId()) { setCommentId(other.getCommentId()); } if (other.hasIsNotRichText()) { setIsNotRichText(other.getIsNotRichText()); } if (other.hasReplyCommentId2()) { setReplyCommentId2(other.getReplyCommentId2()); } if (other.hasCommentId2()) { setCommentId2(other.getCommentId2()); } if (other.hasHbbuffer()) { mergeHbbuffer(other.getHbbuffer()); } if (other.hasCommentFlag()) { setCommentFlag(other.getCommentFlag()); } if (other.hasRemindFriendsInfo()) { mergeRemindFriendsInfo(other.getRemindFriendsInfo()); } 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.Syncitem.SnsAction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.SnsAction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object fromUsername_ = ""; /** * optional string fromUsername = 1; * @return Whether the fromUsername field is set. */ public boolean hasFromUsername() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string fromUsername = 1; * @return The fromUsername. */ public java.lang.String getFromUsername() { java.lang.Object ref = fromUsername_; 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()) { fromUsername_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string fromUsername = 1; * @return The bytes for fromUsername. */ public com.google.protobuf.ByteString getFromUsernameBytes() { java.lang.Object ref = fromUsername_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fromUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string fromUsername = 1; * @param value The fromUsername to set. * @return This builder for chaining. */ public Builder setFromUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; fromUsername_ = value; onChanged(); return this; } /** * optional string fromUsername = 1; * @return This builder for chaining. */ public Builder clearFromUsername() { bitField0_ = (bitField0_ & ~0x00000001); fromUsername_ = getDefaultInstance().getFromUsername(); onChanged(); return this; } /** * optional string fromUsername = 1; * @param value The bytes for fromUsername to set. * @return This builder for chaining. */ public Builder setFromUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; fromUsername_ = value; onChanged(); return this; } private java.lang.Object toUsername_ = ""; /** * optional string toUsername = 2; * @return Whether the toUsername field is set. */ public boolean hasToUsername() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string toUsername = 2; * @return The toUsername. */ public java.lang.String getToUsername() { java.lang.Object ref = toUsername_; 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()) { toUsername_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string toUsername = 2; * @return The bytes for toUsername. */ public com.google.protobuf.ByteString getToUsernameBytes() { java.lang.Object ref = toUsername_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); toUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string toUsername = 2; * @param value The toUsername to set. * @return This builder for chaining. */ public Builder setToUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; toUsername_ = value; onChanged(); return this; } /** * optional string toUsername = 2; * @return This builder for chaining. */ public Builder clearToUsername() { bitField0_ = (bitField0_ & ~0x00000002); toUsername_ = getDefaultInstance().getToUsername(); onChanged(); return this; } /** * optional string toUsername = 2; * @param value The bytes for toUsername to set. * @return This builder for chaining. */ public Builder setToUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; toUsername_ = value; onChanged(); return this; } private java.lang.Object fromNickname_ = ""; /** * optional string fromNickname = 3; * @return Whether the fromNickname field is set. */ public boolean hasFromNickname() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string fromNickname = 3; * @return The fromNickname. */ public java.lang.String getFromNickname() { java.lang.Object ref = fromNickname_; 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()) { fromNickname_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string fromNickname = 3; * @return The bytes for fromNickname. */ public com.google.protobuf.ByteString getFromNicknameBytes() { java.lang.Object ref = fromNickname_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fromNickname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string fromNickname = 3; * @param value The fromNickname to set. * @return This builder for chaining. */ public Builder setFromNickname( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; fromNickname_ = value; onChanged(); return this; } /** * optional string fromNickname = 3; * @return This builder for chaining. */ public Builder clearFromNickname() { bitField0_ = (bitField0_ & ~0x00000004); fromNickname_ = getDefaultInstance().getFromNickname(); onChanged(); return this; } /** * optional string fromNickname = 3; * @param value The bytes for fromNickname to set. * @return This builder for chaining. */ public Builder setFromNicknameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; fromNickname_ = value; onChanged(); return this; } private java.lang.Object toNickname_ = ""; /** * optional string toNickname = 4; * @return Whether the toNickname field is set. */ public boolean hasToNickname() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string toNickname = 4; * @return The toNickname. */ public java.lang.String getToNickname() { java.lang.Object ref = toNickname_; 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()) { toNickname_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string toNickname = 4; * @return The bytes for toNickname. */ public com.google.protobuf.ByteString getToNicknameBytes() { java.lang.Object ref = toNickname_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); toNickname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string toNickname = 4; * @param value The toNickname to set. * @return This builder for chaining. */ public Builder setToNickname( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; toNickname_ = value; onChanged(); return this; } /** * optional string toNickname = 4; * @return This builder for chaining. */ public Builder clearToNickname() { bitField0_ = (bitField0_ & ~0x00000008); toNickname_ = getDefaultInstance().getToNickname(); onChanged(); return this; } /** * optional string toNickname = 4; * @param value The bytes for toNickname to set. * @return This builder for chaining. */ public Builder setToNicknameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; toNickname_ = value; onChanged(); return this; } private int type_ ; /** * optional uint32 type = 5; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 type = 5; * @return The type. */ @java.lang.Override public int getType() { return type_; } /** * optional uint32 type = 5; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(int value) { bitField0_ |= 0x00000010; type_ = value; onChanged(); return this; } /** * optional uint32 type = 5; * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000010); type_ = 0; onChanged(); return this; } private int source_ ; /** * optional uint32 source = 6; * @return Whether the source field is set. */ @java.lang.Override public boolean hasSource() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 source = 6; * @return The source. */ @java.lang.Override public int getSource() { return source_; } /** * optional uint32 source = 6; * @param value The source to set. * @return This builder for chaining. */ public Builder setSource(int value) { bitField0_ |= 0x00000020; source_ = value; onChanged(); return this; } /** * optional uint32 source = 6; * @return This builder for chaining. */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000020); source_ = 0; onChanged(); return this; } private int createTime_ ; /** * optional uint32 createTime = 7; * @return Whether the createTime field is set. */ @java.lang.Override public boolean hasCreateTime() { return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 createTime = 7; * @return The createTime. */ @java.lang.Override public int getCreateTime() { return createTime_; } /** * optional uint32 createTime = 7; * @param value The createTime to set. * @return This builder for chaining. */ public Builder setCreateTime(int value) { bitField0_ |= 0x00000040; createTime_ = value; onChanged(); return this; } /** * optional uint32 createTime = 7; * @return This builder for chaining. */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000040); createTime_ = 0; onChanged(); return this; } private java.lang.Object content_ = ""; /** * optional string content = 8; * @return Whether the content field is set. */ public boolean hasContent() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string content = 8; * @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 = 8; * @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 = 8; * @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_ |= 0x00000080; content_ = value; onChanged(); return this; } /** * optional string content = 8; * @return This builder for chaining. */ public Builder clearContent() { bitField0_ = (bitField0_ & ~0x00000080); content_ = getDefaultInstance().getContent(); onChanged(); return this; } /** * optional string content = 8; * @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_ |= 0x00000080; content_ = value; onChanged(); return this; } private int replyCommentId_ ; /** * optional uint32 replyCommentId = 9; * @return Whether the replyCommentId field is set. */ @java.lang.Override public boolean hasReplyCommentId() { return ((bitField0_ & 0x00000100) != 0); } /** * optional uint32 replyCommentId = 9; * @return The replyCommentId. */ @java.lang.Override public int getReplyCommentId() { return replyCommentId_; } /** * optional uint32 replyCommentId = 9; * @param value The replyCommentId to set. * @return This builder for chaining. */ public Builder setReplyCommentId(int value) { bitField0_ |= 0x00000100; replyCommentId_ = value; onChanged(); return this; } /** * optional uint32 replyCommentId = 9; * @return This builder for chaining. */ public Builder clearReplyCommentId() { bitField0_ = (bitField0_ & ~0x00000100); replyCommentId_ = 0; onChanged(); return this; } private int commentId_ ; /** * optional uint32 commentId = 10; * @return Whether the commentId field is set. */ @java.lang.Override public boolean hasCommentId() { return ((bitField0_ & 0x00000200) != 0); } /** * optional uint32 commentId = 10; * @return The commentId. */ @java.lang.Override public int getCommentId() { return commentId_; } /** * optional uint32 commentId = 10; * @param value The commentId to set. * @return This builder for chaining. */ public Builder setCommentId(int value) { bitField0_ |= 0x00000200; commentId_ = value; onChanged(); return this; } /** * optional uint32 commentId = 10; * @return This builder for chaining. */ public Builder clearCommentId() { bitField0_ = (bitField0_ & ~0x00000200); commentId_ = 0; onChanged(); return this; } private int isNotRichText_ ; /** * optional uint32 isNotRichText = 11; * @return Whether the isNotRichText field is set. */ @java.lang.Override public boolean hasIsNotRichText() { return ((bitField0_ & 0x00000400) != 0); } /** * optional uint32 isNotRichText = 11; * @return The isNotRichText. */ @java.lang.Override public int getIsNotRichText() { return isNotRichText_; } /** * optional uint32 isNotRichText = 11; * @param value The isNotRichText to set. * @return This builder for chaining. */ public Builder setIsNotRichText(int value) { bitField0_ |= 0x00000400; isNotRichText_ = value; onChanged(); return this; } /** * optional uint32 isNotRichText = 11; * @return This builder for chaining. */ public Builder clearIsNotRichText() { bitField0_ = (bitField0_ & ~0x00000400); isNotRichText_ = 0; onChanged(); return this; } private long replyCommentId2_ ; /** * optional int64 replyCommentId2 = 12; * @return Whether the replyCommentId2 field is set. */ @java.lang.Override public boolean hasReplyCommentId2() { return ((bitField0_ & 0x00000800) != 0); } /** * optional int64 replyCommentId2 = 12; * @return The replyCommentId2. */ @java.lang.Override public long getReplyCommentId2() { return replyCommentId2_; } /** * optional int64 replyCommentId2 = 12; * @param value The replyCommentId2 to set. * @return This builder for chaining. */ public Builder setReplyCommentId2(long value) { bitField0_ |= 0x00000800; replyCommentId2_ = value; onChanged(); return this; } /** * optional int64 replyCommentId2 = 12; * @return This builder for chaining. */ public Builder clearReplyCommentId2() { bitField0_ = (bitField0_ & ~0x00000800); replyCommentId2_ = 0L; onChanged(); return this; } private long commentId2_ ; /** * optional int64 commentId2 = 13; * @return Whether the commentId2 field is set. */ @java.lang.Override public boolean hasCommentId2() { return ((bitField0_ & 0x00001000) != 0); } /** * optional int64 commentId2 = 13; * @return The commentId2. */ @java.lang.Override public long getCommentId2() { return commentId2_; } /** * optional int64 commentId2 = 13; * @param value The commentId2 to set. * @return This builder for chaining. */ public Builder setCommentId2(long value) { bitField0_ |= 0x00001000; commentId2_ = value; onChanged(); return this; } /** * optional int64 commentId2 = 13; * @return This builder for chaining. */ public Builder clearCommentId2() { bitField0_ = (bitField0_ & ~0x00001000); commentId2_ = 0L; onChanged(); return this; } private wechat.protobuf.Wechat.SKBuiltinString_ hbbuffer_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder> hbbufferBuilder_; /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 14; * @return Whether the hbbuffer field is set. */ public boolean hasHbbuffer() { return ((bitField0_ & 0x00002000) != 0); } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 14; * @return The hbbuffer. */ public wechat.protobuf.Wechat.SKBuiltinString_ getHbbuffer() { if (hbbufferBuilder_ == null) { return hbbuffer_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : hbbuffer_; } else { return hbbufferBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 14; */ public Builder setHbbuffer(wechat.protobuf.Wechat.SKBuiltinString_ value) { if (hbbufferBuilder_ == null) { if (value == null) { throw new NullPointerException(); } hbbuffer_ = value; onChanged(); } else { hbbufferBuilder_.setMessage(value); } bitField0_ |= 0x00002000; return this; } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 14; */ public Builder setHbbuffer( wechat.protobuf.Wechat.SKBuiltinString_.Builder builderForValue) { if (hbbufferBuilder_ == null) { hbbuffer_ = builderForValue.build(); onChanged(); } else { hbbufferBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00002000; return this; } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 14; */ public Builder mergeHbbuffer(wechat.protobuf.Wechat.SKBuiltinString_ value) { if (hbbufferBuilder_ == null) { if (((bitField0_ & 0x00002000) != 0) && hbbuffer_ != null && hbbuffer_ != wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance()) { hbbuffer_ = wechat.protobuf.Wechat.SKBuiltinString_.newBuilder(hbbuffer_).mergeFrom(value).buildPartial(); } else { hbbuffer_ = value; } onChanged(); } else { hbbufferBuilder_.mergeFrom(value); } bitField0_ |= 0x00002000; return this; } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 14; */ public Builder clearHbbuffer() { if (hbbufferBuilder_ == null) { hbbuffer_ = null; onChanged(); } else { hbbufferBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00002000); return this; } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 14; */ public wechat.protobuf.Wechat.SKBuiltinString_.Builder getHbbufferBuilder() { bitField0_ |= 0x00002000; onChanged(); return getHbbufferFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 14; */ public wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getHbbufferOrBuilder() { if (hbbufferBuilder_ != null) { return hbbufferBuilder_.getMessageOrBuilder(); } else { return hbbuffer_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : hbbuffer_; } } /** * optional .wechat_proto.SKBuiltinString_ hbbuffer = 14; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder> getHbbufferFieldBuilder() { if (hbbufferBuilder_ == null) { hbbufferBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder>( getHbbuffer(), getParentForChildren(), isClean()); hbbuffer_ = null; } return hbbufferBuilder_; } private int commentFlag_ ; /** * optional uint32 commentFlag = 15; * @return Whether the commentFlag field is set. */ @java.lang.Override public boolean hasCommentFlag() { return ((bitField0_ & 0x00004000) != 0); } /** * optional uint32 commentFlag = 15; * @return The commentFlag. */ @java.lang.Override public int getCommentFlag() { return commentFlag_; } /** * optional uint32 commentFlag = 15; * @param value The commentFlag to set. * @return This builder for chaining. */ public Builder setCommentFlag(int value) { bitField0_ |= 0x00004000; commentFlag_ = value; onChanged(); return this; } /** * optional uint32 commentFlag = 15; * @return This builder for chaining. */ public Builder clearCommentFlag() { bitField0_ = (bitField0_ & ~0x00004000); commentFlag_ = 0; onChanged(); return this; } private wechat.protobuf.Syncitem.RemindFriendsInfo remindFriendsInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.RemindFriendsInfo, wechat.protobuf.Syncitem.RemindFriendsInfo.Builder, wechat.protobuf.Syncitem.RemindFriendsInfoOrBuilder> remindFriendsInfoBuilder_; /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 16; * @return Whether the remindFriendsInfo field is set. */ public boolean hasRemindFriendsInfo() { return ((bitField0_ & 0x00008000) != 0); } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 16; * @return The remindFriendsInfo. */ public wechat.protobuf.Syncitem.RemindFriendsInfo getRemindFriendsInfo() { if (remindFriendsInfoBuilder_ == null) { return remindFriendsInfo_ == null ? wechat.protobuf.Syncitem.RemindFriendsInfo.getDefaultInstance() : remindFriendsInfo_; } else { return remindFriendsInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 16; */ public Builder setRemindFriendsInfo(wechat.protobuf.Syncitem.RemindFriendsInfo value) { if (remindFriendsInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } remindFriendsInfo_ = value; onChanged(); } else { remindFriendsInfoBuilder_.setMessage(value); } bitField0_ |= 0x00008000; return this; } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 16; */ public Builder setRemindFriendsInfo( wechat.protobuf.Syncitem.RemindFriendsInfo.Builder builderForValue) { if (remindFriendsInfoBuilder_ == null) { remindFriendsInfo_ = builderForValue.build(); onChanged(); } else { remindFriendsInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00008000; return this; } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 16; */ public Builder mergeRemindFriendsInfo(wechat.protobuf.Syncitem.RemindFriendsInfo value) { if (remindFriendsInfoBuilder_ == null) { if (((bitField0_ & 0x00008000) != 0) && remindFriendsInfo_ != null && remindFriendsInfo_ != wechat.protobuf.Syncitem.RemindFriendsInfo.getDefaultInstance()) { remindFriendsInfo_ = wechat.protobuf.Syncitem.RemindFriendsInfo.newBuilder(remindFriendsInfo_).mergeFrom(value).buildPartial(); } else { remindFriendsInfo_ = value; } onChanged(); } else { remindFriendsInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00008000; return this; } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 16; */ public Builder clearRemindFriendsInfo() { if (remindFriendsInfoBuilder_ == null) { remindFriendsInfo_ = null; onChanged(); } else { remindFriendsInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00008000); return this; } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 16; */ public wechat.protobuf.Syncitem.RemindFriendsInfo.Builder getRemindFriendsInfoBuilder() { bitField0_ |= 0x00008000; onChanged(); return getRemindFriendsInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 16; */ public wechat.protobuf.Syncitem.RemindFriendsInfoOrBuilder getRemindFriendsInfoOrBuilder() { if (remindFriendsInfoBuilder_ != null) { return remindFriendsInfoBuilder_.getMessageOrBuilder(); } else { return remindFriendsInfo_ == null ? wechat.protobuf.Syncitem.RemindFriendsInfo.getDefaultInstance() : remindFriendsInfo_; } } /** * optional .wechat_proto.RemindFriendsInfo remindFriendsInfo = 16; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.RemindFriendsInfo, wechat.protobuf.Syncitem.RemindFriendsInfo.Builder, wechat.protobuf.Syncitem.RemindFriendsInfoOrBuilder> getRemindFriendsInfoFieldBuilder() { if (remindFriendsInfoBuilder_ == null) { remindFriendsInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.RemindFriendsInfo, wechat.protobuf.Syncitem.RemindFriendsInfo.Builder, wechat.protobuf.Syncitem.RemindFriendsInfoOrBuilder>( getRemindFriendsInfo(), getParentForChildren(), isClean()); remindFriendsInfo_ = null; } return remindFriendsInfoBuilder_; } @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.SnsAction) } // @@protoc_insertion_point(class_scope:wechat_proto.SnsAction) private static final wechat.protobuf.Syncitem.SnsAction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.SnsAction(); } public static wechat.protobuf.Syncitem.SnsAction getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnsAction parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnsAction(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.Syncitem.SnsAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RemindFriendsInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.RemindFriendsInfo) com.google.protobuf.MessageOrBuilder { /** * optional uint32 adgroupId = 1; * @return Whether the adgroupId field is set. */ boolean hasAdgroupId(); /** * optional uint32 adgroupId = 1; * @return The adgroupId. */ int getAdgroupId(); /** * optional .wechat_proto.SKBuiltinString_ sourceInfo = 2; * @return Whether the sourceInfo field is set. */ boolean hasSourceInfo(); /** * optional .wechat_proto.SKBuiltinString_ sourceInfo = 2; * @return The sourceInfo. */ wechat.protobuf.Wechat.SKBuiltinString_ getSourceInfo(); /** * optional .wechat_proto.SKBuiltinString_ sourceInfo = 2; */ wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getSourceInfoOrBuilder(); /** * optional .wechat_proto.SKBuiltinString_ selfInfo = 3; * @return Whether the selfInfo field is set. */ boolean hasSelfInfo(); /** * optional .wechat_proto.SKBuiltinString_ selfInfo = 3; * @return The selfInfo. */ wechat.protobuf.Wechat.SKBuiltinString_ getSelfInfo(); /** * optional .wechat_proto.SKBuiltinString_ selfInfo = 3; */ wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getSelfInfoOrBuilder(); /** * optional .wechat_proto.SKBuiltinString_ paidInfo = 4; * @return Whether the paidInfo field is set. */ boolean hasPaidInfo(); /** * optional .wechat_proto.SKBuiltinString_ paidInfo = 4; * @return The paidInfo. */ wechat.protobuf.Wechat.SKBuiltinString_ getPaidInfo(); /** * optional .wechat_proto.SKBuiltinString_ paidInfo = 4; */ wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getPaidInfoOrBuilder(); /** * optional .wechat_proto.SKBuiltinString_ extraInfo = 5; * @return Whether the extraInfo field is set. */ boolean hasExtraInfo(); /** * optional .wechat_proto.SKBuiltinString_ extraInfo = 5; * @return The extraInfo. */ wechat.protobuf.Wechat.SKBuiltinString_ getExtraInfo(); /** * optional .wechat_proto.SKBuiltinString_ extraInfo = 5; */ wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getExtraInfoOrBuilder(); /** * optional uint64 adgroupId64 = 6; * @return Whether the adgroupId64 field is set. */ boolean hasAdgroupId64(); /** * optional uint64 adgroupId64 = 6; * @return The adgroupId64. */ long getAdgroupId64(); } /** * Protobuf type {@code wechat_proto.RemindFriendsInfo} */ public static final class RemindFriendsInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.RemindFriendsInfo) RemindFriendsInfoOrBuilder { private static final long serialVersionUID = 0L; // Use RemindFriendsInfo.newBuilder() to construct. private RemindFriendsInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RemindFriendsInfo() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RemindFriendsInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RemindFriendsInfo( 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; adgroupId_ = input.readUInt32(); break; } case 18: { wechat.protobuf.Wechat.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = sourceInfo_.toBuilder(); } sourceInfo_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(sourceInfo_); sourceInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { wechat.protobuf.Wechat.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = selfInfo_.toBuilder(); } selfInfo_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(selfInfo_); selfInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { wechat.protobuf.Wechat.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = paidInfo_.toBuilder(); } paidInfo_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(paidInfo_); paidInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { wechat.protobuf.Wechat.SKBuiltinString_.Builder subBuilder = null; if (((bitField0_ & 0x00000010) != 0)) { subBuilder = extraInfo_.toBuilder(); } extraInfo_ = input.readMessage(wechat.protobuf.Wechat.SKBuiltinString_.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(extraInfo_); extraInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 48: { bitField0_ |= 0x00000020; adgroupId64_ = 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.Syncitem.internal_static_wechat_proto_RemindFriendsInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_RemindFriendsInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.RemindFriendsInfo.class, wechat.protobuf.Syncitem.RemindFriendsInfo.Builder.class); } private int bitField0_; public static final int ADGROUPID_FIELD_NUMBER = 1; private int adgroupId_; /** * optional uint32 adgroupId = 1; * @return Whether the adgroupId field is set. */ @java.lang.Override public boolean hasAdgroupId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 adgroupId = 1; * @return The adgroupId. */ @java.lang.Override public int getAdgroupId() { return adgroupId_; } public static final int SOURCEINFO_FIELD_NUMBER = 2; private wechat.protobuf.Wechat.SKBuiltinString_ sourceInfo_; /** * optional .wechat_proto.SKBuiltinString_ sourceInfo = 2; * @return Whether the sourceInfo field is set. */ @java.lang.Override public boolean hasSourceInfo() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString_ sourceInfo = 2; * @return The sourceInfo. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString_ getSourceInfo() { return sourceInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : sourceInfo_; } /** * optional .wechat_proto.SKBuiltinString_ sourceInfo = 2; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getSourceInfoOrBuilder() { return sourceInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : sourceInfo_; } public static final int SELFINFO_FIELD_NUMBER = 3; private wechat.protobuf.Wechat.SKBuiltinString_ selfInfo_; /** * optional .wechat_proto.SKBuiltinString_ selfInfo = 3; * @return Whether the selfInfo field is set. */ @java.lang.Override public boolean hasSelfInfo() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .wechat_proto.SKBuiltinString_ selfInfo = 3; * @return The selfInfo. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString_ getSelfInfo() { return selfInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : selfInfo_; } /** * optional .wechat_proto.SKBuiltinString_ selfInfo = 3; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getSelfInfoOrBuilder() { return selfInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : selfInfo_; } public static final int PAIDINFO_FIELD_NUMBER = 4; private wechat.protobuf.Wechat.SKBuiltinString_ paidInfo_; /** * optional .wechat_proto.SKBuiltinString_ paidInfo = 4; * @return Whether the paidInfo field is set. */ @java.lang.Override public boolean hasPaidInfo() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .wechat_proto.SKBuiltinString_ paidInfo = 4; * @return The paidInfo. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString_ getPaidInfo() { return paidInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : paidInfo_; } /** * optional .wechat_proto.SKBuiltinString_ paidInfo = 4; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getPaidInfoOrBuilder() { return paidInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : paidInfo_; } public static final int EXTRAINFO_FIELD_NUMBER = 5; private wechat.protobuf.Wechat.SKBuiltinString_ extraInfo_; /** * optional .wechat_proto.SKBuiltinString_ extraInfo = 5; * @return Whether the extraInfo field is set. */ @java.lang.Override public boolean hasExtraInfo() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .wechat_proto.SKBuiltinString_ extraInfo = 5; * @return The extraInfo. */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString_ getExtraInfo() { return extraInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : extraInfo_; } /** * optional .wechat_proto.SKBuiltinString_ extraInfo = 5; */ @java.lang.Override public wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getExtraInfoOrBuilder() { return extraInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : extraInfo_; } public static final int ADGROUPID64_FIELD_NUMBER = 6; private long adgroupId64_; /** * optional uint64 adgroupId64 = 6; * @return Whether the adgroupId64 field is set. */ @java.lang.Override public boolean hasAdgroupId64() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint64 adgroupId64 = 6; * @return The adgroupId64. */ @java.lang.Override public long getAdgroupId64() { return adgroupId64_; } 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, adgroupId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getSourceInfo()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getSelfInfo()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getPaidInfo()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(5, getExtraInfo()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt64(6, adgroupId64_); } 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, adgroupId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSourceInfo()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getSelfInfo()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getPaidInfo()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getExtraInfo()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, adgroupId64_); } 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.Syncitem.RemindFriendsInfo)) { return super.equals(obj); } wechat.protobuf.Syncitem.RemindFriendsInfo other = (wechat.protobuf.Syncitem.RemindFriendsInfo) obj; if (hasAdgroupId() != other.hasAdgroupId()) return false; if (hasAdgroupId()) { if (getAdgroupId() != other.getAdgroupId()) return false; } if (hasSourceInfo() != other.hasSourceInfo()) return false; if (hasSourceInfo()) { if (!getSourceInfo() .equals(other.getSourceInfo())) return false; } if (hasSelfInfo() != other.hasSelfInfo()) return false; if (hasSelfInfo()) { if (!getSelfInfo() .equals(other.getSelfInfo())) return false; } if (hasPaidInfo() != other.hasPaidInfo()) return false; if (hasPaidInfo()) { if (!getPaidInfo() .equals(other.getPaidInfo())) return false; } if (hasExtraInfo() != other.hasExtraInfo()) return false; if (hasExtraInfo()) { if (!getExtraInfo() .equals(other.getExtraInfo())) return false; } if (hasAdgroupId64() != other.hasAdgroupId64()) return false; if (hasAdgroupId64()) { if (getAdgroupId64() != other.getAdgroupId64()) 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 (hasAdgroupId()) { hash = (37 * hash) + ADGROUPID_FIELD_NUMBER; hash = (53 * hash) + getAdgroupId(); } if (hasSourceInfo()) { hash = (37 * hash) + SOURCEINFO_FIELD_NUMBER; hash = (53 * hash) + getSourceInfo().hashCode(); } if (hasSelfInfo()) { hash = (37 * hash) + SELFINFO_FIELD_NUMBER; hash = (53 * hash) + getSelfInfo().hashCode(); } if (hasPaidInfo()) { hash = (37 * hash) + PAIDINFO_FIELD_NUMBER; hash = (53 * hash) + getPaidInfo().hashCode(); } if (hasExtraInfo()) { hash = (37 * hash) + EXTRAINFO_FIELD_NUMBER; hash = (53 * hash) + getExtraInfo().hashCode(); } if (hasAdgroupId64()) { hash = (37 * hash) + ADGROUPID64_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAdgroupId64()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.RemindFriendsInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.RemindFriendsInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.RemindFriendsInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.RemindFriendsInfo 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.Syncitem.RemindFriendsInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.RemindFriendsInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.RemindFriendsInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.RemindFriendsInfo 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.Syncitem.RemindFriendsInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.RemindFriendsInfo 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.Syncitem.RemindFriendsInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.RemindFriendsInfo 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.Syncitem.RemindFriendsInfo 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.RemindFriendsInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.RemindFriendsInfo) wechat.protobuf.Syncitem.RemindFriendsInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_RemindFriendsInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_RemindFriendsInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.RemindFriendsInfo.class, wechat.protobuf.Syncitem.RemindFriendsInfo.Builder.class); } // Construct using wechat.protobuf.Syncitem.RemindFriendsInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSourceInfoFieldBuilder(); getSelfInfoFieldBuilder(); getPaidInfoFieldBuilder(); getExtraInfoFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); adgroupId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (sourceInfoBuilder_ == null) { sourceInfo_ = null; } else { sourceInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (selfInfoBuilder_ == null) { selfInfo_ = null; } else { selfInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (paidInfoBuilder_ == null) { paidInfo_ = null; } else { paidInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (extraInfoBuilder_ == null) { extraInfo_ = null; } else { extraInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); adgroupId64_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_RemindFriendsInfo_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.RemindFriendsInfo getDefaultInstanceForType() { return wechat.protobuf.Syncitem.RemindFriendsInfo.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.RemindFriendsInfo build() { wechat.protobuf.Syncitem.RemindFriendsInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.RemindFriendsInfo buildPartial() { wechat.protobuf.Syncitem.RemindFriendsInfo result = new wechat.protobuf.Syncitem.RemindFriendsInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.adgroupId_ = adgroupId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (sourceInfoBuilder_ == null) { result.sourceInfo_ = sourceInfo_; } else { result.sourceInfo_ = sourceInfoBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (selfInfoBuilder_ == null) { result.selfInfo_ = selfInfo_; } else { result.selfInfo_ = selfInfoBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (paidInfoBuilder_ == null) { result.paidInfo_ = paidInfo_; } else { result.paidInfo_ = paidInfoBuilder_.build(); } to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { if (extraInfoBuilder_ == null) { result.extraInfo_ = extraInfo_; } else { result.extraInfo_ = extraInfoBuilder_.build(); } to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.adgroupId64_ = adgroupId64_; 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.Syncitem.RemindFriendsInfo) { return mergeFrom((wechat.protobuf.Syncitem.RemindFriendsInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.RemindFriendsInfo other) { if (other == wechat.protobuf.Syncitem.RemindFriendsInfo.getDefaultInstance()) return this; if (other.hasAdgroupId()) { setAdgroupId(other.getAdgroupId()); } if (other.hasSourceInfo()) { mergeSourceInfo(other.getSourceInfo()); } if (other.hasSelfInfo()) { mergeSelfInfo(other.getSelfInfo()); } if (other.hasPaidInfo()) { mergePaidInfo(other.getPaidInfo()); } if (other.hasExtraInfo()) { mergeExtraInfo(other.getExtraInfo()); } if (other.hasAdgroupId64()) { setAdgroupId64(other.getAdgroupId64()); } 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.Syncitem.RemindFriendsInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.RemindFriendsInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int adgroupId_ ; /** * optional uint32 adgroupId = 1; * @return Whether the adgroupId field is set. */ @java.lang.Override public boolean hasAdgroupId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 adgroupId = 1; * @return The adgroupId. */ @java.lang.Override public int getAdgroupId() { return adgroupId_; } /** * optional uint32 adgroupId = 1; * @param value The adgroupId to set. * @return This builder for chaining. */ public Builder setAdgroupId(int value) { bitField0_ |= 0x00000001; adgroupId_ = value; onChanged(); return this; } /** * optional uint32 adgroupId = 1; * @return This builder for chaining. */ public Builder clearAdgroupId() { bitField0_ = (bitField0_ & ~0x00000001); adgroupId_ = 0; onChanged(); return this; } private wechat.protobuf.Wechat.SKBuiltinString_ sourceInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder> sourceInfoBuilder_; /** * optional .wechat_proto.SKBuiltinString_ sourceInfo = 2; * @return Whether the sourceInfo field is set. */ public boolean hasSourceInfo() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.SKBuiltinString_ sourceInfo = 2; * @return The sourceInfo. */ public wechat.protobuf.Wechat.SKBuiltinString_ getSourceInfo() { if (sourceInfoBuilder_ == null) { return sourceInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : sourceInfo_; } else { return sourceInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ sourceInfo = 2; */ public Builder setSourceInfo(wechat.protobuf.Wechat.SKBuiltinString_ value) { if (sourceInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } sourceInfo_ = value; onChanged(); } else { sourceInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString_ sourceInfo = 2; */ public Builder setSourceInfo( wechat.protobuf.Wechat.SKBuiltinString_.Builder builderForValue) { if (sourceInfoBuilder_ == null) { sourceInfo_ = builderForValue.build(); onChanged(); } else { sourceInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString_ sourceInfo = 2; */ public Builder mergeSourceInfo(wechat.protobuf.Wechat.SKBuiltinString_ value) { if (sourceInfoBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && sourceInfo_ != null && sourceInfo_ != wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance()) { sourceInfo_ = wechat.protobuf.Wechat.SKBuiltinString_.newBuilder(sourceInfo_).mergeFrom(value).buildPartial(); } else { sourceInfo_ = value; } onChanged(); } else { sourceInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.SKBuiltinString_ sourceInfo = 2; */ public Builder clearSourceInfo() { if (sourceInfoBuilder_ == null) { sourceInfo_ = null; onChanged(); } else { sourceInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.SKBuiltinString_ sourceInfo = 2; */ public wechat.protobuf.Wechat.SKBuiltinString_.Builder getSourceInfoBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSourceInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ sourceInfo = 2; */ public wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getSourceInfoOrBuilder() { if (sourceInfoBuilder_ != null) { return sourceInfoBuilder_.getMessageOrBuilder(); } else { return sourceInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : sourceInfo_; } } /** * optional .wechat_proto.SKBuiltinString_ sourceInfo = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder> getSourceInfoFieldBuilder() { if (sourceInfoBuilder_ == null) { sourceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder>( getSourceInfo(), getParentForChildren(), isClean()); sourceInfo_ = null; } return sourceInfoBuilder_; } private wechat.protobuf.Wechat.SKBuiltinString_ selfInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder> selfInfoBuilder_; /** * optional .wechat_proto.SKBuiltinString_ selfInfo = 3; * @return Whether the selfInfo field is set. */ public boolean hasSelfInfo() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .wechat_proto.SKBuiltinString_ selfInfo = 3; * @return The selfInfo. */ public wechat.protobuf.Wechat.SKBuiltinString_ getSelfInfo() { if (selfInfoBuilder_ == null) { return selfInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : selfInfo_; } else { return selfInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ selfInfo = 3; */ public Builder setSelfInfo(wechat.protobuf.Wechat.SKBuiltinString_ value) { if (selfInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } selfInfo_ = value; onChanged(); } else { selfInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SKBuiltinString_ selfInfo = 3; */ public Builder setSelfInfo( wechat.protobuf.Wechat.SKBuiltinString_.Builder builderForValue) { if (selfInfoBuilder_ == null) { selfInfo_ = builderForValue.build(); onChanged(); } else { selfInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SKBuiltinString_ selfInfo = 3; */ public Builder mergeSelfInfo(wechat.protobuf.Wechat.SKBuiltinString_ value) { if (selfInfoBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && selfInfo_ != null && selfInfo_ != wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance()) { selfInfo_ = wechat.protobuf.Wechat.SKBuiltinString_.newBuilder(selfInfo_).mergeFrom(value).buildPartial(); } else { selfInfo_ = value; } onChanged(); } else { selfInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.SKBuiltinString_ selfInfo = 3; */ public Builder clearSelfInfo() { if (selfInfoBuilder_ == null) { selfInfo_ = null; onChanged(); } else { selfInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .wechat_proto.SKBuiltinString_ selfInfo = 3; */ public wechat.protobuf.Wechat.SKBuiltinString_.Builder getSelfInfoBuilder() { bitField0_ |= 0x00000004; onChanged(); return getSelfInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ selfInfo = 3; */ public wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getSelfInfoOrBuilder() { if (selfInfoBuilder_ != null) { return selfInfoBuilder_.getMessageOrBuilder(); } else { return selfInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : selfInfo_; } } /** * optional .wechat_proto.SKBuiltinString_ selfInfo = 3; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder> getSelfInfoFieldBuilder() { if (selfInfoBuilder_ == null) { selfInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder>( getSelfInfo(), getParentForChildren(), isClean()); selfInfo_ = null; } return selfInfoBuilder_; } private wechat.protobuf.Wechat.SKBuiltinString_ paidInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder> paidInfoBuilder_; /** * optional .wechat_proto.SKBuiltinString_ paidInfo = 4; * @return Whether the paidInfo field is set. */ public boolean hasPaidInfo() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .wechat_proto.SKBuiltinString_ paidInfo = 4; * @return The paidInfo. */ public wechat.protobuf.Wechat.SKBuiltinString_ getPaidInfo() { if (paidInfoBuilder_ == null) { return paidInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : paidInfo_; } else { return paidInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ paidInfo = 4; */ public Builder setPaidInfo(wechat.protobuf.Wechat.SKBuiltinString_ value) { if (paidInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } paidInfo_ = value; onChanged(); } else { paidInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.SKBuiltinString_ paidInfo = 4; */ public Builder setPaidInfo( wechat.protobuf.Wechat.SKBuiltinString_.Builder builderForValue) { if (paidInfoBuilder_ == null) { paidInfo_ = builderForValue.build(); onChanged(); } else { paidInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.SKBuiltinString_ paidInfo = 4; */ public Builder mergePaidInfo(wechat.protobuf.Wechat.SKBuiltinString_ value) { if (paidInfoBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && paidInfo_ != null && paidInfo_ != wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance()) { paidInfo_ = wechat.protobuf.Wechat.SKBuiltinString_.newBuilder(paidInfo_).mergeFrom(value).buildPartial(); } else { paidInfo_ = value; } onChanged(); } else { paidInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .wechat_proto.SKBuiltinString_ paidInfo = 4; */ public Builder clearPaidInfo() { if (paidInfoBuilder_ == null) { paidInfo_ = null; onChanged(); } else { paidInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .wechat_proto.SKBuiltinString_ paidInfo = 4; */ public wechat.protobuf.Wechat.SKBuiltinString_.Builder getPaidInfoBuilder() { bitField0_ |= 0x00000008; onChanged(); return getPaidInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ paidInfo = 4; */ public wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getPaidInfoOrBuilder() { if (paidInfoBuilder_ != null) { return paidInfoBuilder_.getMessageOrBuilder(); } else { return paidInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : paidInfo_; } } /** * optional .wechat_proto.SKBuiltinString_ paidInfo = 4; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder> getPaidInfoFieldBuilder() { if (paidInfoBuilder_ == null) { paidInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder>( getPaidInfo(), getParentForChildren(), isClean()); paidInfo_ = null; } return paidInfoBuilder_; } private wechat.protobuf.Wechat.SKBuiltinString_ extraInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder> extraInfoBuilder_; /** * optional .wechat_proto.SKBuiltinString_ extraInfo = 5; * @return Whether the extraInfo field is set. */ public boolean hasExtraInfo() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .wechat_proto.SKBuiltinString_ extraInfo = 5; * @return The extraInfo. */ public wechat.protobuf.Wechat.SKBuiltinString_ getExtraInfo() { if (extraInfoBuilder_ == null) { return extraInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : extraInfo_; } else { return extraInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ extraInfo = 5; */ public Builder setExtraInfo(wechat.protobuf.Wechat.SKBuiltinString_ value) { if (extraInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } extraInfo_ = value; onChanged(); } else { extraInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .wechat_proto.SKBuiltinString_ extraInfo = 5; */ public Builder setExtraInfo( wechat.protobuf.Wechat.SKBuiltinString_.Builder builderForValue) { if (extraInfoBuilder_ == null) { extraInfo_ = builderForValue.build(); onChanged(); } else { extraInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .wechat_proto.SKBuiltinString_ extraInfo = 5; */ public Builder mergeExtraInfo(wechat.protobuf.Wechat.SKBuiltinString_ value) { if (extraInfoBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && extraInfo_ != null && extraInfo_ != wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance()) { extraInfo_ = wechat.protobuf.Wechat.SKBuiltinString_.newBuilder(extraInfo_).mergeFrom(value).buildPartial(); } else { extraInfo_ = value; } onChanged(); } else { extraInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .wechat_proto.SKBuiltinString_ extraInfo = 5; */ public Builder clearExtraInfo() { if (extraInfoBuilder_ == null) { extraInfo_ = null; onChanged(); } else { extraInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .wechat_proto.SKBuiltinString_ extraInfo = 5; */ public wechat.protobuf.Wechat.SKBuiltinString_.Builder getExtraInfoBuilder() { bitField0_ |= 0x00000010; onChanged(); return getExtraInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ extraInfo = 5; */ public wechat.protobuf.Wechat.SKBuiltinString_OrBuilder getExtraInfoOrBuilder() { if (extraInfoBuilder_ != null) { return extraInfoBuilder_.getMessageOrBuilder(); } else { return extraInfo_ == null ? wechat.protobuf.Wechat.SKBuiltinString_.getDefaultInstance() : extraInfo_; } } /** * optional .wechat_proto.SKBuiltinString_ extraInfo = 5; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder> getExtraInfoFieldBuilder() { if (extraInfoBuilder_ == null) { extraInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.SKBuiltinString_, wechat.protobuf.Wechat.SKBuiltinString_.Builder, wechat.protobuf.Wechat.SKBuiltinString_OrBuilder>( getExtraInfo(), getParentForChildren(), isClean()); extraInfo_ = null; } return extraInfoBuilder_; } private long adgroupId64_ ; /** * optional uint64 adgroupId64 = 6; * @return Whether the adgroupId64 field is set. */ @java.lang.Override public boolean hasAdgroupId64() { return ((bitField0_ & 0x00000020) != 0); } /** * optional uint64 adgroupId64 = 6; * @return The adgroupId64. */ @java.lang.Override public long getAdgroupId64() { return adgroupId64_; } /** * optional uint64 adgroupId64 = 6; * @param value The adgroupId64 to set. * @return This builder for chaining. */ public Builder setAdgroupId64(long value) { bitField0_ |= 0x00000020; adgroupId64_ = value; onChanged(); return this; } /** * optional uint64 adgroupId64 = 6; * @return This builder for chaining. */ public Builder clearAdgroupId64() { bitField0_ = (bitField0_ & ~0x00000020); adgroupId64_ = 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.RemindFriendsInfo) } // @@protoc_insertion_point(class_scope:wechat_proto.RemindFriendsInfo) private static final wechat.protobuf.Syncitem.RemindFriendsInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.RemindFriendsInfo(); } public static wechat.protobuf.Syncitem.RemindFriendsInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RemindFriendsInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RemindFriendsInfo(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.Syncitem.RemindFriendsInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface NewDelMsgOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.NewDelMsg) com.google.protobuf.MessageOrBuilder { /** * optional string fromUserName = 1; * @return Whether the fromUserName field is set. */ boolean hasFromUserName(); /** * optional string fromUserName = 1; * @return The fromUserName. */ java.lang.String getFromUserName(); /** * optional string fromUserName = 1; * @return The bytes for fromUserName. */ com.google.protobuf.ByteString getFromUserNameBytes(); /** * optional string toUserName = 2; * @return Whether the toUserName field is set. */ boolean hasToUserName(); /** * optional string toUserName = 2; * @return The toUserName. */ java.lang.String getToUserName(); /** * optional string toUserName = 2; * @return The bytes for toUserName. */ com.google.protobuf.ByteString getToUserNameBytes(); /** * optional uint32 msgId = 3; * @return Whether the msgId field is set. */ boolean hasMsgId(); /** * optional uint32 msgId = 3; * @return The msgId. */ int getMsgId(); /** * optional uint32 msgType = 4; * @return Whether the msgType field is set. */ boolean hasMsgType(); /** * optional uint32 msgType = 4; * @return The msgType. */ int getMsgType(); /** * optional int64 newMsgId = 5; * @return Whether the newMsgId field is set. */ boolean hasNewMsgId(); /** * optional int64 newMsgId = 5; * @return The newMsgId. */ long getNewMsgId(); } /** * Protobuf type {@code wechat_proto.NewDelMsg} */ public static final class NewDelMsg extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.NewDelMsg) NewDelMsgOrBuilder { private static final long serialVersionUID = 0L; // Use NewDelMsg.newBuilder() to construct. private NewDelMsg(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NewDelMsg() { fromUserName_ = ""; toUserName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new NewDelMsg(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private NewDelMsg( 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; fromUserName_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; toUserName_ = bs; break; } case 24: { bitField0_ |= 0x00000004; msgId_ = input.readUInt32(); break; } case 32: { bitField0_ |= 0x00000008; msgType_ = input.readUInt32(); break; } case 40: { bitField0_ |= 0x00000010; newMsgId_ = input.readInt64(); 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.Syncitem.internal_static_wechat_proto_NewDelMsg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_NewDelMsg_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.NewDelMsg.class, wechat.protobuf.Syncitem.NewDelMsg.Builder.class); } private int bitField0_; public static final int FROMUSERNAME_FIELD_NUMBER = 1; private volatile java.lang.Object fromUserName_; /** * optional string fromUserName = 1; * @return Whether the fromUserName field is set. */ @java.lang.Override public boolean hasFromUserName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string fromUserName = 1; * @return The fromUserName. */ @java.lang.Override public java.lang.String getFromUserName() { java.lang.Object ref = fromUserName_; 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()) { fromUserName_ = s; } return s; } } /** * optional string fromUserName = 1; * @return The bytes for fromUserName. */ @java.lang.Override public com.google.protobuf.ByteString getFromUserNameBytes() { java.lang.Object ref = fromUserName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fromUserName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOUSERNAME_FIELD_NUMBER = 2; private volatile java.lang.Object toUserName_; /** * optional string toUserName = 2; * @return Whether the toUserName field is set. */ @java.lang.Override public boolean hasToUserName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string toUserName = 2; * @return The toUserName. */ @java.lang.Override public java.lang.String getToUserName() { java.lang.Object ref = toUserName_; 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()) { toUserName_ = s; } return s; } } /** * optional string toUserName = 2; * @return The bytes for toUserName. */ @java.lang.Override public com.google.protobuf.ByteString getToUserNameBytes() { java.lang.Object ref = toUserName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); toUserName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MSGID_FIELD_NUMBER = 3; private int msgId_; /** * optional uint32 msgId = 3; * @return Whether the msgId field is set. */ @java.lang.Override public boolean hasMsgId() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 msgId = 3; * @return The msgId. */ @java.lang.Override public int getMsgId() { return msgId_; } public static final int MSGTYPE_FIELD_NUMBER = 4; private int msgType_; /** * optional uint32 msgType = 4; * @return Whether the msgType field is set. */ @java.lang.Override public boolean hasMsgType() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 msgType = 4; * @return The msgType. */ @java.lang.Override public int getMsgType() { return msgType_; } public static final int NEWMSGID_FIELD_NUMBER = 5; private long newMsgId_; /** * optional int64 newMsgId = 5; * @return Whether the newMsgId field is set. */ @java.lang.Override public boolean hasNewMsgId() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int64 newMsgId = 5; * @return The newMsgId. */ @java.lang.Override public long getNewMsgId() { return newMsgId_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fromUserName_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, toUserName_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, msgId_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, msgType_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt64(5, newMsgId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fromUserName_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, toUserName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, msgId_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, msgType_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, newMsgId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof wechat.protobuf.Syncitem.NewDelMsg)) { return super.equals(obj); } wechat.protobuf.Syncitem.NewDelMsg other = (wechat.protobuf.Syncitem.NewDelMsg) obj; if (hasFromUserName() != other.hasFromUserName()) return false; if (hasFromUserName()) { if (!getFromUserName() .equals(other.getFromUserName())) return false; } if (hasToUserName() != other.hasToUserName()) return false; if (hasToUserName()) { if (!getToUserName() .equals(other.getToUserName())) return false; } if (hasMsgId() != other.hasMsgId()) return false; if (hasMsgId()) { if (getMsgId() != other.getMsgId()) return false; } if (hasMsgType() != other.hasMsgType()) return false; if (hasMsgType()) { if (getMsgType() != other.getMsgType()) return false; } if (hasNewMsgId() != other.hasNewMsgId()) return false; if (hasNewMsgId()) { if (getNewMsgId() != other.getNewMsgId()) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasFromUserName()) { hash = (37 * hash) + FROMUSERNAME_FIELD_NUMBER; hash = (53 * hash) + getFromUserName().hashCode(); } if (hasToUserName()) { hash = (37 * hash) + TOUSERNAME_FIELD_NUMBER; hash = (53 * hash) + getToUserName().hashCode(); } if (hasMsgId()) { hash = (37 * hash) + MSGID_FIELD_NUMBER; hash = (53 * hash) + getMsgId(); } if (hasMsgType()) { hash = (37 * hash) + MSGTYPE_FIELD_NUMBER; hash = (53 * hash) + getMsgType(); } if (hasNewMsgId()) { hash = (37 * hash) + NEWMSGID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNewMsgId()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.NewDelMsg parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.NewDelMsg parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.NewDelMsg parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.NewDelMsg 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.Syncitem.NewDelMsg parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.NewDelMsg parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.NewDelMsg parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.NewDelMsg 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.Syncitem.NewDelMsg parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.NewDelMsg 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.Syncitem.NewDelMsg parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.NewDelMsg 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.Syncitem.NewDelMsg 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.NewDelMsg} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.NewDelMsg) wechat.protobuf.Syncitem.NewDelMsgOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_NewDelMsg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_NewDelMsg_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.NewDelMsg.class, wechat.protobuf.Syncitem.NewDelMsg.Builder.class); } // Construct using wechat.protobuf.Syncitem.NewDelMsg.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(); fromUserName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); toUserName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); msgId_ = 0; bitField0_ = (bitField0_ & ~0x00000004); msgType_ = 0; bitField0_ = (bitField0_ & ~0x00000008); newMsgId_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_NewDelMsg_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.NewDelMsg getDefaultInstanceForType() { return wechat.protobuf.Syncitem.NewDelMsg.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.NewDelMsg build() { wechat.protobuf.Syncitem.NewDelMsg result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.NewDelMsg buildPartial() { wechat.protobuf.Syncitem.NewDelMsg result = new wechat.protobuf.Syncitem.NewDelMsg(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.fromUserName_ = fromUserName_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.toUserName_ = toUserName_; if (((from_bitField0_ & 0x00000004) != 0)) { result.msgId_ = msgId_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.msgType_ = msgType_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.newMsgId_ = newMsgId_; 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.Syncitem.NewDelMsg) { return mergeFrom((wechat.protobuf.Syncitem.NewDelMsg)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.NewDelMsg other) { if (other == wechat.protobuf.Syncitem.NewDelMsg.getDefaultInstance()) return this; if (other.hasFromUserName()) { bitField0_ |= 0x00000001; fromUserName_ = other.fromUserName_; onChanged(); } if (other.hasToUserName()) { bitField0_ |= 0x00000002; toUserName_ = other.toUserName_; onChanged(); } if (other.hasMsgId()) { setMsgId(other.getMsgId()); } if (other.hasMsgType()) { setMsgType(other.getMsgType()); } if (other.hasNewMsgId()) { setNewMsgId(other.getNewMsgId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { wechat.protobuf.Syncitem.NewDelMsg parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.NewDelMsg) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object fromUserName_ = ""; /** * optional string fromUserName = 1; * @return Whether the fromUserName field is set. */ public boolean hasFromUserName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string fromUserName = 1; * @return The fromUserName. */ public java.lang.String getFromUserName() { java.lang.Object ref = fromUserName_; 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()) { fromUserName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string fromUserName = 1; * @return The bytes for fromUserName. */ public com.google.protobuf.ByteString getFromUserNameBytes() { java.lang.Object ref = fromUserName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fromUserName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string fromUserName = 1; * @param value The fromUserName to set. * @return This builder for chaining. */ public Builder setFromUserName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; fromUserName_ = value; onChanged(); return this; } /** * optional string fromUserName = 1; * @return This builder for chaining. */ public Builder clearFromUserName() { bitField0_ = (bitField0_ & ~0x00000001); fromUserName_ = getDefaultInstance().getFromUserName(); onChanged(); return this; } /** * optional string fromUserName = 1; * @param value The bytes for fromUserName to set. * @return This builder for chaining. */ public Builder setFromUserNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; fromUserName_ = value; onChanged(); return this; } private java.lang.Object toUserName_ = ""; /** * optional string toUserName = 2; * @return Whether the toUserName field is set. */ public boolean hasToUserName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string toUserName = 2; * @return The toUserName. */ public java.lang.String getToUserName() { java.lang.Object ref = toUserName_; 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()) { toUserName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string toUserName = 2; * @return The bytes for toUserName. */ public com.google.protobuf.ByteString getToUserNameBytes() { java.lang.Object ref = toUserName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); toUserName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string toUserName = 2; * @param value The toUserName to set. * @return This builder for chaining. */ public Builder setToUserName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; toUserName_ = value; onChanged(); return this; } /** * optional string toUserName = 2; * @return This builder for chaining. */ public Builder clearToUserName() { bitField0_ = (bitField0_ & ~0x00000002); toUserName_ = getDefaultInstance().getToUserName(); onChanged(); return this; } /** * optional string toUserName = 2; * @param value The bytes for toUserName to set. * @return This builder for chaining. */ public Builder setToUserNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; toUserName_ = value; onChanged(); return this; } private int msgId_ ; /** * optional uint32 msgId = 3; * @return Whether the msgId field is set. */ @java.lang.Override public boolean hasMsgId() { return ((bitField0_ & 0x00000004) != 0); } /** * optional uint32 msgId = 3; * @return The msgId. */ @java.lang.Override public int getMsgId() { return msgId_; } /** * optional uint32 msgId = 3; * @param value The msgId to set. * @return This builder for chaining. */ public Builder setMsgId(int value) { bitField0_ |= 0x00000004; msgId_ = value; onChanged(); return this; } /** * optional uint32 msgId = 3; * @return This builder for chaining. */ public Builder clearMsgId() { bitField0_ = (bitField0_ & ~0x00000004); msgId_ = 0; onChanged(); return this; } private int msgType_ ; /** * optional uint32 msgType = 4; * @return Whether the msgType field is set. */ @java.lang.Override public boolean hasMsgType() { return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 msgType = 4; * @return The msgType. */ @java.lang.Override public int getMsgType() { return msgType_; } /** * optional uint32 msgType = 4; * @param value The msgType to set. * @return This builder for chaining. */ public Builder setMsgType(int value) { bitField0_ |= 0x00000008; msgType_ = value; onChanged(); return this; } /** * optional uint32 msgType = 4; * @return This builder for chaining. */ public Builder clearMsgType() { bitField0_ = (bitField0_ & ~0x00000008); msgType_ = 0; onChanged(); return this; } private long newMsgId_ ; /** * optional int64 newMsgId = 5; * @return Whether the newMsgId field is set. */ @java.lang.Override public boolean hasNewMsgId() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int64 newMsgId = 5; * @return The newMsgId. */ @java.lang.Override public long getNewMsgId() { return newMsgId_; } /** * optional int64 newMsgId = 5; * @param value The newMsgId to set. * @return This builder for chaining. */ public Builder setNewMsgId(long value) { bitField0_ |= 0x00000010; newMsgId_ = value; onChanged(); return this; } /** * optional int64 newMsgId = 5; * @return This builder for chaining. */ public Builder clearNewMsgId() { bitField0_ = (bitField0_ & ~0x00000010); newMsgId_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:wechat_proto.NewDelMsg) } // @@protoc_insertion_point(class_scope:wechat_proto.NewDelMsg) private static final wechat.protobuf.Syncitem.NewDelMsg DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.NewDelMsg(); } public static wechat.protobuf.Syncitem.NewDelMsg getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NewDelMsg parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new NewDelMsg(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.Syncitem.NewDelMsg getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SyncControlOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.SyncControl) com.google.protobuf.MessageOrBuilder { /** * optional uint32 useInitContact = 1; * @return Whether the useInitContact field is set. */ boolean hasUseInitContact(); /** * optional uint32 useInitContact = 1; * @return The useInitContact. */ int getUseInitContact(); } /** * Protobuf type {@code wechat_proto.SyncControl} */ public static final class SyncControl extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.SyncControl) SyncControlOrBuilder { private static final long serialVersionUID = 0L; // Use SyncControl.newBuilder() to construct. private SyncControl(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SyncControl() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SyncControl(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SyncControl( 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; useInitContact_ = 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.Syncitem.internal_static_wechat_proto_SyncControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SyncControl_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.SyncControl.class, wechat.protobuf.Syncitem.SyncControl.Builder.class); } private int bitField0_; public static final int USEINITCONTACT_FIELD_NUMBER = 1; private int useInitContact_; /** * optional uint32 useInitContact = 1; * @return Whether the useInitContact field is set. */ @java.lang.Override public boolean hasUseInitContact() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 useInitContact = 1; * @return The useInitContact. */ @java.lang.Override public int getUseInitContact() { return useInitContact_; } 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, useInitContact_); } 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, useInitContact_); } 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.Syncitem.SyncControl)) { return super.equals(obj); } wechat.protobuf.Syncitem.SyncControl other = (wechat.protobuf.Syncitem.SyncControl) obj; if (hasUseInitContact() != other.hasUseInitContact()) return false; if (hasUseInitContact()) { if (getUseInitContact() != other.getUseInitContact()) 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 (hasUseInitContact()) { hash = (37 * hash) + USEINITCONTACT_FIELD_NUMBER; hash = (53 * hash) + getUseInitContact(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.SyncControl parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.SyncControl parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.SyncControl parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.SyncControl 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.Syncitem.SyncControl parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.SyncControl parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.SyncControl parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.SyncControl 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.Syncitem.SyncControl parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.SyncControl 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.Syncitem.SyncControl parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.SyncControl 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.Syncitem.SyncControl 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.SyncControl} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.SyncControl) wechat.protobuf.Syncitem.SyncControlOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SyncControl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SyncControl_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.SyncControl.class, wechat.protobuf.Syncitem.SyncControl.Builder.class); } // Construct using wechat.protobuf.Syncitem.SyncControl.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(); useInitContact_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_SyncControl_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.SyncControl getDefaultInstanceForType() { return wechat.protobuf.Syncitem.SyncControl.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.SyncControl build() { wechat.protobuf.Syncitem.SyncControl result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.SyncControl buildPartial() { wechat.protobuf.Syncitem.SyncControl result = new wechat.protobuf.Syncitem.SyncControl(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.useInitContact_ = useInitContact_; 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.Syncitem.SyncControl) { return mergeFrom((wechat.protobuf.Syncitem.SyncControl)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.SyncControl other) { if (other == wechat.protobuf.Syncitem.SyncControl.getDefaultInstance()) return this; if (other.hasUseInitContact()) { setUseInitContact(other.getUseInitContact()); } 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.Syncitem.SyncControl parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.SyncControl) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int useInitContact_ ; /** * optional uint32 useInitContact = 1; * @return Whether the useInitContact field is set. */ @java.lang.Override public boolean hasUseInitContact() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 useInitContact = 1; * @return The useInitContact. */ @java.lang.Override public int getUseInitContact() { return useInitContact_; } /** * optional uint32 useInitContact = 1; * @param value The useInitContact to set. * @return This builder for chaining. */ public Builder setUseInitContact(int value) { bitField0_ |= 0x00000001; useInitContact_ = value; onChanged(); return this; } /** * optional uint32 useInitContact = 1; * @return This builder for chaining. */ public Builder clearUseInitContact() { bitField0_ = (bitField0_ & ~0x00000001); useInitContact_ = 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.SyncControl) } // @@protoc_insertion_point(class_scope:wechat_proto.SyncControl) private static final wechat.protobuf.Syncitem.SyncControl DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.SyncControl(); } public static wechat.protobuf.Syncitem.SyncControl getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SyncControl parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SyncControl(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.Syncitem.SyncControl getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.GetProfileRequest) 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.Wechat.BaseRequest getBaseRequest(); /** * optional .wechat_proto.BaseRequest baseRequest = 1; */ wechat.protobuf.Wechat.BaseRequestOrBuilder getBaseRequestOrBuilder(); /** * 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(); } /** * Protobuf type {@code wechat_proto.GetProfileRequest} */ public static final class GetProfileRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.GetProfileRequest) GetProfileRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetProfileRequest.newBuilder() to construct. private GetProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetProfileRequest() { userName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetProfileRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetProfileRequest( 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.Wechat.BaseRequest.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = baseRequest_.toBuilder(); } baseRequest_ = input.readMessage(wechat.protobuf.Wechat.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; userName_ = 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.Syncitem.internal_static_wechat_proto_GetProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_GetProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.GetProfileRequest.class, wechat.protobuf.Syncitem.GetProfileRequest.Builder.class); } private int bitField0_; public static final int BASEREQUEST_FIELD_NUMBER = 1; private wechat.protobuf.Wechat.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.Wechat.BaseRequest getBaseRequest() { return baseRequest_ == null ? wechat.protobuf.Wechat.BaseRequest.getDefaultInstance() : baseRequest_; } /** * optional .wechat_proto.BaseRequest baseRequest = 1; */ @java.lang.Override public wechat.protobuf.Wechat.BaseRequestOrBuilder getBaseRequestOrBuilder() { return baseRequest_ == null ? wechat.protobuf.Wechat.BaseRequest.getDefaultInstance() : baseRequest_; } 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; } } 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, userName_); } 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, userName_); } 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.Syncitem.GetProfileRequest)) { return super.equals(obj); } wechat.protobuf.Syncitem.GetProfileRequest other = (wechat.protobuf.Syncitem.GetProfileRequest) obj; if (hasBaseRequest() != other.hasBaseRequest()) return false; if (hasBaseRequest()) { if (!getBaseRequest() .equals(other.getBaseRequest())) return false; } if (hasUserName() != other.hasUserName()) return false; if (hasUserName()) { if (!getUserName() .equals(other.getUserName())) 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 (hasUserName()) { hash = (37 * hash) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUserName().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.GetProfileRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.GetProfileRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.GetProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.GetProfileRequest 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.Syncitem.GetProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.GetProfileRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.GetProfileRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.GetProfileRequest 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.Syncitem.GetProfileRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.GetProfileRequest 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.Syncitem.GetProfileRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.GetProfileRequest 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.Syncitem.GetProfileRequest 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.GetProfileRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.GetProfileRequest) wechat.protobuf.Syncitem.GetProfileRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_GetProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_GetProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.GetProfileRequest.class, wechat.protobuf.Syncitem.GetProfileRequest.Builder.class); } // Construct using wechat.protobuf.Syncitem.GetProfileRequest.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); userName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_GetProfileRequest_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.GetProfileRequest getDefaultInstanceForType() { return wechat.protobuf.Syncitem.GetProfileRequest.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.GetProfileRequest build() { wechat.protobuf.Syncitem.GetProfileRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.GetProfileRequest buildPartial() { wechat.protobuf.Syncitem.GetProfileRequest result = new wechat.protobuf.Syncitem.GetProfileRequest(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.userName_ = userName_; 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.Syncitem.GetProfileRequest) { return mergeFrom((wechat.protobuf.Syncitem.GetProfileRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.GetProfileRequest other) { if (other == wechat.protobuf.Syncitem.GetProfileRequest.getDefaultInstance()) return this; if (other.hasBaseRequest()) { mergeBaseRequest(other.getBaseRequest()); } if (other.hasUserName()) { bitField0_ |= 0x00000002; userName_ = other.userName_; 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.Syncitem.GetProfileRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.GetProfileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private wechat.protobuf.Wechat.BaseRequest baseRequest_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.BaseRequest, wechat.protobuf.Wechat.BaseRequest.Builder, wechat.protobuf.Wechat.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.Wechat.BaseRequest getBaseRequest() { if (baseRequestBuilder_ == null) { return baseRequest_ == null ? wechat.protobuf.Wechat.BaseRequest.getDefaultInstance() : baseRequest_; } else { return baseRequestBuilder_.getMessage(); } } /** * optional .wechat_proto.BaseRequest baseRequest = 1; */ public Builder setBaseRequest(wechat.protobuf.Wechat.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.Wechat.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.Wechat.BaseRequest value) { if (baseRequestBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && baseRequest_ != null && baseRequest_ != wechat.protobuf.Wechat.BaseRequest.getDefaultInstance()) { baseRequest_ = wechat.protobuf.Wechat.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.Wechat.BaseRequest.Builder getBaseRequestBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBaseRequestFieldBuilder().getBuilder(); } /** * optional .wechat_proto.BaseRequest baseRequest = 1; */ public wechat.protobuf.Wechat.BaseRequestOrBuilder getBaseRequestOrBuilder() { if (baseRequestBuilder_ != null) { return baseRequestBuilder_.getMessageOrBuilder(); } else { return baseRequest_ == null ? wechat.protobuf.Wechat.BaseRequest.getDefaultInstance() : baseRequest_; } } /** * optional .wechat_proto.BaseRequest baseRequest = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.BaseRequest, wechat.protobuf.Wechat.BaseRequest.Builder, wechat.protobuf.Wechat.BaseRequestOrBuilder> getBaseRequestFieldBuilder() { if (baseRequestBuilder_ == null) { baseRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.BaseRequest, wechat.protobuf.Wechat.BaseRequest.Builder, wechat.protobuf.Wechat.BaseRequestOrBuilder>( getBaseRequest(), getParentForChildren(), isClean()); baseRequest_ = null; } return baseRequestBuilder_; } 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; } @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.GetProfileRequest) } // @@protoc_insertion_point(class_scope:wechat_proto.GetProfileRequest) private static final wechat.protobuf.Syncitem.GetProfileRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.GetProfileRequest(); } public static wechat.protobuf.Syncitem.GetProfileRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetProfileRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetProfileRequest(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.Syncitem.GetProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetProfileResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:wechat_proto.GetProfileResponse) 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.Wechat.BaseResponse getBaseResponse(); /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ wechat.protobuf.Wechat.BaseResponseOrBuilder getBaseResponseOrBuilder(); /** * optional .wechat_proto.ModUserInfo userInfo = 2; * @return Whether the userInfo field is set. */ boolean hasUserInfo(); /** * optional .wechat_proto.ModUserInfo userInfo = 2; * @return The userInfo. */ wechat.protobuf.Syncitem.ModUserInfo getUserInfo(); /** * optional .wechat_proto.ModUserInfo userInfo = 2; */ wechat.protobuf.Syncitem.ModUserInfoOrBuilder getUserInfoOrBuilder(); /** * optional .wechat_proto.UserInfoExt userInfoExt = 3; * @return Whether the userInfoExt field is set. */ boolean hasUserInfoExt(); /** * optional .wechat_proto.UserInfoExt userInfoExt = 3; * @return The userInfoExt. */ wechat.protobuf.Syncitem.UserInfoExt getUserInfoExt(); /** * optional .wechat_proto.UserInfoExt userInfoExt = 3; */ wechat.protobuf.Syncitem.UserInfoExtOrBuilder getUserInfoExtOrBuilder(); } /** * Protobuf type {@code wechat_proto.GetProfileResponse} */ public static final class GetProfileResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:wechat_proto.GetProfileResponse) GetProfileResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetProfileResponse.newBuilder() to construct. private GetProfileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetProfileResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetProfileResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetProfileResponse( 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.Wechat.BaseResponse.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = baseResponse_.toBuilder(); } baseResponse_ = input.readMessage(wechat.protobuf.Wechat.BaseResponse.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(baseResponse_); baseResponse_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { wechat.protobuf.Syncitem.ModUserInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = userInfo_.toBuilder(); } userInfo_ = input.readMessage(wechat.protobuf.Syncitem.ModUserInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(userInfo_); userInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { wechat.protobuf.Syncitem.UserInfoExt.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = userInfoExt_.toBuilder(); } userInfoExt_ = input.readMessage(wechat.protobuf.Syncitem.UserInfoExt.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(userInfoExt_); userInfoExt_ = 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.Syncitem.internal_static_wechat_proto_GetProfileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_GetProfileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.GetProfileResponse.class, wechat.protobuf.Syncitem.GetProfileResponse.Builder.class); } private int bitField0_; public static final int BASERESPONSE_FIELD_NUMBER = 1; private wechat.protobuf.Wechat.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.Wechat.BaseResponse getBaseResponse() { return baseResponse_ == null ? wechat.protobuf.Wechat.BaseResponse.getDefaultInstance() : baseResponse_; } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ @java.lang.Override public wechat.protobuf.Wechat.BaseResponseOrBuilder getBaseResponseOrBuilder() { return baseResponse_ == null ? wechat.protobuf.Wechat.BaseResponse.getDefaultInstance() : baseResponse_; } public static final int USERINFO_FIELD_NUMBER = 2; private wechat.protobuf.Syncitem.ModUserInfo userInfo_; /** * optional .wechat_proto.ModUserInfo userInfo = 2; * @return Whether the userInfo field is set. */ @java.lang.Override public boolean hasUserInfo() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.ModUserInfo userInfo = 2; * @return The userInfo. */ @java.lang.Override public wechat.protobuf.Syncitem.ModUserInfo getUserInfo() { return userInfo_ == null ? wechat.protobuf.Syncitem.ModUserInfo.getDefaultInstance() : userInfo_; } /** * optional .wechat_proto.ModUserInfo userInfo = 2; */ @java.lang.Override public wechat.protobuf.Syncitem.ModUserInfoOrBuilder getUserInfoOrBuilder() { return userInfo_ == null ? wechat.protobuf.Syncitem.ModUserInfo.getDefaultInstance() : userInfo_; } public static final int USERINFOEXT_FIELD_NUMBER = 3; private wechat.protobuf.Syncitem.UserInfoExt userInfoExt_; /** * optional .wechat_proto.UserInfoExt userInfoExt = 3; * @return Whether the userInfoExt field is set. */ @java.lang.Override public boolean hasUserInfoExt() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .wechat_proto.UserInfoExt userInfoExt = 3; * @return The userInfoExt. */ @java.lang.Override public wechat.protobuf.Syncitem.UserInfoExt getUserInfoExt() { return userInfoExt_ == null ? wechat.protobuf.Syncitem.UserInfoExt.getDefaultInstance() : userInfoExt_; } /** * optional .wechat_proto.UserInfoExt userInfoExt = 3; */ @java.lang.Override public wechat.protobuf.Syncitem.UserInfoExtOrBuilder getUserInfoExtOrBuilder() { return userInfoExt_ == null ? wechat.protobuf.Syncitem.UserInfoExt.getDefaultInstance() : userInfoExt_; } 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, getUserInfo()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getUserInfoExt()); } 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, getUserInfo()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getUserInfoExt()); } 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.Syncitem.GetProfileResponse)) { return super.equals(obj); } wechat.protobuf.Syncitem.GetProfileResponse other = (wechat.protobuf.Syncitem.GetProfileResponse) obj; if (hasBaseResponse() != other.hasBaseResponse()) return false; if (hasBaseResponse()) { if (!getBaseResponse() .equals(other.getBaseResponse())) return false; } if (hasUserInfo() != other.hasUserInfo()) return false; if (hasUserInfo()) { if (!getUserInfo() .equals(other.getUserInfo())) return false; } if (hasUserInfoExt() != other.hasUserInfoExt()) return false; if (hasUserInfoExt()) { if (!getUserInfoExt() .equals(other.getUserInfoExt())) 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 (hasUserInfo()) { hash = (37 * hash) + USERINFO_FIELD_NUMBER; hash = (53 * hash) + getUserInfo().hashCode(); } if (hasUserInfoExt()) { hash = (37 * hash) + USERINFOEXT_FIELD_NUMBER; hash = (53 * hash) + getUserInfoExt().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.Syncitem.GetProfileResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.GetProfileResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.GetProfileResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.GetProfileResponse 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.Syncitem.GetProfileResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.Syncitem.GetProfileResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.Syncitem.GetProfileResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.GetProfileResponse 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.Syncitem.GetProfileResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.GetProfileResponse 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.Syncitem.GetProfileResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.Syncitem.GetProfileResponse 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.Syncitem.GetProfileResponse 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.GetProfileResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.GetProfileResponse) wechat.protobuf.Syncitem.GetProfileResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_GetProfileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_GetProfileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.Syncitem.GetProfileResponse.class, wechat.protobuf.Syncitem.GetProfileResponse.Builder.class); } // Construct using wechat.protobuf.Syncitem.GetProfileResponse.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(); getUserInfoFieldBuilder(); getUserInfoExtFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseResponseBuilder_ == null) { baseResponse_ = null; } else { baseResponseBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (userInfoBuilder_ == null) { userInfo_ = null; } else { userInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (userInfoExtBuilder_ == null) { userInfoExt_ = null; } else { userInfoExtBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Syncitem.internal_static_wechat_proto_GetProfileResponse_descriptor; } @java.lang.Override public wechat.protobuf.Syncitem.GetProfileResponse getDefaultInstanceForType() { return wechat.protobuf.Syncitem.GetProfileResponse.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.Syncitem.GetProfileResponse build() { wechat.protobuf.Syncitem.GetProfileResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.Syncitem.GetProfileResponse buildPartial() { wechat.protobuf.Syncitem.GetProfileResponse result = new wechat.protobuf.Syncitem.GetProfileResponse(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 (userInfoBuilder_ == null) { result.userInfo_ = userInfo_; } else { result.userInfo_ = userInfoBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (userInfoExtBuilder_ == null) { result.userInfoExt_ = userInfoExt_; } else { result.userInfoExt_ = userInfoExtBuilder_.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.Syncitem.GetProfileResponse) { return mergeFrom((wechat.protobuf.Syncitem.GetProfileResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.Syncitem.GetProfileResponse other) { if (other == wechat.protobuf.Syncitem.GetProfileResponse.getDefaultInstance()) return this; if (other.hasBaseResponse()) { mergeBaseResponse(other.getBaseResponse()); } if (other.hasUserInfo()) { mergeUserInfo(other.getUserInfo()); } if (other.hasUserInfoExt()) { mergeUserInfoExt(other.getUserInfoExt()); } 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.Syncitem.GetProfileResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.Syncitem.GetProfileResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private wechat.protobuf.Wechat.BaseResponse baseResponse_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.BaseResponse, wechat.protobuf.Wechat.BaseResponse.Builder, wechat.protobuf.Wechat.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.Wechat.BaseResponse getBaseResponse() { if (baseResponseBuilder_ == null) { return baseResponse_ == null ? wechat.protobuf.Wechat.BaseResponse.getDefaultInstance() : baseResponse_; } else { return baseResponseBuilder_.getMessage(); } } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ public Builder setBaseResponse(wechat.protobuf.Wechat.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.Wechat.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.Wechat.BaseResponse value) { if (baseResponseBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && baseResponse_ != null && baseResponse_ != wechat.protobuf.Wechat.BaseResponse.getDefaultInstance()) { baseResponse_ = wechat.protobuf.Wechat.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.Wechat.BaseResponse.Builder getBaseResponseBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBaseResponseFieldBuilder().getBuilder(); } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ public wechat.protobuf.Wechat.BaseResponseOrBuilder getBaseResponseOrBuilder() { if (baseResponseBuilder_ != null) { return baseResponseBuilder_.getMessageOrBuilder(); } else { return baseResponse_ == null ? wechat.protobuf.Wechat.BaseResponse.getDefaultInstance() : baseResponse_; } } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.BaseResponse, wechat.protobuf.Wechat.BaseResponse.Builder, wechat.protobuf.Wechat.BaseResponseOrBuilder> getBaseResponseFieldBuilder() { if (baseResponseBuilder_ == null) { baseResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Wechat.BaseResponse, wechat.protobuf.Wechat.BaseResponse.Builder, wechat.protobuf.Wechat.BaseResponseOrBuilder>( getBaseResponse(), getParentForChildren(), isClean()); baseResponse_ = null; } return baseResponseBuilder_; } private wechat.protobuf.Syncitem.ModUserInfo userInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.ModUserInfo, wechat.protobuf.Syncitem.ModUserInfo.Builder, wechat.protobuf.Syncitem.ModUserInfoOrBuilder> userInfoBuilder_; /** * optional .wechat_proto.ModUserInfo userInfo = 2; * @return Whether the userInfo field is set. */ public boolean hasUserInfo() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .wechat_proto.ModUserInfo userInfo = 2; * @return The userInfo. */ public wechat.protobuf.Syncitem.ModUserInfo getUserInfo() { if (userInfoBuilder_ == null) { return userInfo_ == null ? wechat.protobuf.Syncitem.ModUserInfo.getDefaultInstance() : userInfo_; } else { return userInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.ModUserInfo userInfo = 2; */ public Builder setUserInfo(wechat.protobuf.Syncitem.ModUserInfo value) { if (userInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userInfo_ = value; onChanged(); } else { userInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.ModUserInfo userInfo = 2; */ public Builder setUserInfo( wechat.protobuf.Syncitem.ModUserInfo.Builder builderForValue) { if (userInfoBuilder_ == null) { userInfo_ = builderForValue.build(); onChanged(); } else { userInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.ModUserInfo userInfo = 2; */ public Builder mergeUserInfo(wechat.protobuf.Syncitem.ModUserInfo value) { if (userInfoBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && userInfo_ != null && userInfo_ != wechat.protobuf.Syncitem.ModUserInfo.getDefaultInstance()) { userInfo_ = wechat.protobuf.Syncitem.ModUserInfo.newBuilder(userInfo_).mergeFrom(value).buildPartial(); } else { userInfo_ = value; } onChanged(); } else { userInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .wechat_proto.ModUserInfo userInfo = 2; */ public Builder clearUserInfo() { if (userInfoBuilder_ == null) { userInfo_ = null; onChanged(); } else { userInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .wechat_proto.ModUserInfo userInfo = 2; */ public wechat.protobuf.Syncitem.ModUserInfo.Builder getUserInfoBuilder() { bitField0_ |= 0x00000002; onChanged(); return getUserInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.ModUserInfo userInfo = 2; */ public wechat.protobuf.Syncitem.ModUserInfoOrBuilder getUserInfoOrBuilder() { if (userInfoBuilder_ != null) { return userInfoBuilder_.getMessageOrBuilder(); } else { return userInfo_ == null ? wechat.protobuf.Syncitem.ModUserInfo.getDefaultInstance() : userInfo_; } } /** * optional .wechat_proto.ModUserInfo userInfo = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.ModUserInfo, wechat.protobuf.Syncitem.ModUserInfo.Builder, wechat.protobuf.Syncitem.ModUserInfoOrBuilder> getUserInfoFieldBuilder() { if (userInfoBuilder_ == null) { userInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.ModUserInfo, wechat.protobuf.Syncitem.ModUserInfo.Builder, wechat.protobuf.Syncitem.ModUserInfoOrBuilder>( getUserInfo(), getParentForChildren(), isClean()); userInfo_ = null; } return userInfoBuilder_; } private wechat.protobuf.Syncitem.UserInfoExt userInfoExt_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.UserInfoExt, wechat.protobuf.Syncitem.UserInfoExt.Builder, wechat.protobuf.Syncitem.UserInfoExtOrBuilder> userInfoExtBuilder_; /** * optional .wechat_proto.UserInfoExt userInfoExt = 3; * @return Whether the userInfoExt field is set. */ public boolean hasUserInfoExt() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .wechat_proto.UserInfoExt userInfoExt = 3; * @return The userInfoExt. */ public wechat.protobuf.Syncitem.UserInfoExt getUserInfoExt() { if (userInfoExtBuilder_ == null) { return userInfoExt_ == null ? wechat.protobuf.Syncitem.UserInfoExt.getDefaultInstance() : userInfoExt_; } else { return userInfoExtBuilder_.getMessage(); } } /** * optional .wechat_proto.UserInfoExt userInfoExt = 3; */ public Builder setUserInfoExt(wechat.protobuf.Syncitem.UserInfoExt value) { if (userInfoExtBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userInfoExt_ = value; onChanged(); } else { userInfoExtBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.UserInfoExt userInfoExt = 3; */ public Builder setUserInfoExt( wechat.protobuf.Syncitem.UserInfoExt.Builder builderForValue) { if (userInfoExtBuilder_ == null) { userInfoExt_ = builderForValue.build(); onChanged(); } else { userInfoExtBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.UserInfoExt userInfoExt = 3; */ public Builder mergeUserInfoExt(wechat.protobuf.Syncitem.UserInfoExt value) { if (userInfoExtBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && userInfoExt_ != null && userInfoExt_ != wechat.protobuf.Syncitem.UserInfoExt.getDefaultInstance()) { userInfoExt_ = wechat.protobuf.Syncitem.UserInfoExt.newBuilder(userInfoExt_).mergeFrom(value).buildPartial(); } else { userInfoExt_ = value; } onChanged(); } else { userInfoExtBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .wechat_proto.UserInfoExt userInfoExt = 3; */ public Builder clearUserInfoExt() { if (userInfoExtBuilder_ == null) { userInfoExt_ = null; onChanged(); } else { userInfoExtBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .wechat_proto.UserInfoExt userInfoExt = 3; */ public wechat.protobuf.Syncitem.UserInfoExt.Builder getUserInfoExtBuilder() { bitField0_ |= 0x00000004; onChanged(); return getUserInfoExtFieldBuilder().getBuilder(); } /** * optional .wechat_proto.UserInfoExt userInfoExt = 3; */ public wechat.protobuf.Syncitem.UserInfoExtOrBuilder getUserInfoExtOrBuilder() { if (userInfoExtBuilder_ != null) { return userInfoExtBuilder_.getMessageOrBuilder(); } else { return userInfoExt_ == null ? wechat.protobuf.Syncitem.UserInfoExt.getDefaultInstance() : userInfoExt_; } } /** * optional .wechat_proto.UserInfoExt userInfoExt = 3; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.UserInfoExt, wechat.protobuf.Syncitem.UserInfoExt.Builder, wechat.protobuf.Syncitem.UserInfoExtOrBuilder> getUserInfoExtFieldBuilder() { if (userInfoExtBuilder_ == null) { userInfoExtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.Syncitem.UserInfoExt, wechat.protobuf.Syncitem.UserInfoExt.Builder, wechat.protobuf.Syncitem.UserInfoExtOrBuilder>( getUserInfoExt(), getParentForChildren(), isClean()); userInfoExt_ = null; } return userInfoExtBuilder_; } @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.GetProfileResponse) } // @@protoc_insertion_point(class_scope:wechat_proto.GetProfileResponse) private static final wechat.protobuf.Syncitem.GetProfileResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.Syncitem.GetProfileResponse(); } public static wechat.protobuf.Syncitem.GetProfileResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetProfileResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetProfileResponse(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.Syncitem.GetProfileResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_ModUserInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_ModUserInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_DisturbSetting_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_DisturbSetting_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_DisturbTimeSpan_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_DisturbTimeSpan_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_GmailList_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_GmailList_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_DelContact_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_DelContact_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_DelChatContact_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_DelChatContact_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_ModChatRoomMember_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_ModChatRoomMember_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_QuitChatRoom_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_QuitChatRoom_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_ModChatRoomNotify_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_ModChatRoomNotify_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_InviteFriendOpen_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_InviteFriendOpen_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_FunctionSwitch_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_FunctionSwitch_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_ModChatRoomTopic_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_ModChatRoomTopic_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_ModBottleContact_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_ModBottleContact_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_ModUserImg_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_ModUserImg_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_UserInfoExt_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_UserInfoExt_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SafeDeviceList_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SafeDeviceList_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_PatternLockInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_PatternLockInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsActionGroup_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsActionGroup_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SnsAction_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SnsAction_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_RemindFriendsInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_RemindFriendsInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_NewDelMsg_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_NewDelMsg_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_SyncControl_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_SyncControl_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_GetProfileRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_GetProfileRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_wechat_proto_GetProfileResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_wechat_proto_GetProfileResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\016syncitem.proto\022\014wechat_proto\032\014wechat.p" + "roto\"\210\007\n\013ModUserInfo\022\017\n\007bitFlag\030\001 \001(\r\022/\n" + "\010userName\030\002 \001(\0132\035.wechat_proto.SKBuiltin" + "String\022/\n\010nickName\030\003 \001(\0132\035.wechat_proto." + "SKBuiltinString\022\017\n\007bindUin\030\004 \001(\r\0220\n\tbind" + "Email\030\005 \001(\0132\035.wechat_proto.SKBuiltinStri" + "ng\0221\n\nbindMobile\030\006 \001(\0132\035.wechat_proto.SK" + "BuiltinString\022\016\n\006status\030\007 \001(\r\022\016\n\006imgLen\030" + "\010 \001(\r\022\016\n\006imgBuf\030\t \001(\014\022\013\n\003sex\030\n \001(\r\022\020\n\010pr" + "ovince\030\013 \001(\t\022\014\n\004city\030\014 \001(\t\022\021\n\tsignature\030" + "\r \001(\t\022\024\n\014personalCard\030\016 \001(\r\0224\n\016disturbSe" + "tting\030\017 \001(\0132\034.wechat_proto.DisturbSettin" + "g\022\022\n\npluginFlag\030\020 \001(\r\022\022\n\nverifyFlag\030\021 \001(" + "\r\022\022\n\nverifyInfo\030\022 \001(\t\022\r\n\005point\030\023 \001(\r\022\022\n\n" + "experience\030\024 \001(\r\022\r\n\005level\030\025 \001(\r\022\023\n\013level" + "LowExp\030\026 \001(\r\022\024\n\014levelHighExp\030\027 \001(\r\022\r\n\005we" + "ibo\030\030 \001(\t\022\024\n\014pluginSwitch\030\031 \001(\r\022*\n\tgmail" + "List\030\032 \001(\0132\027.wechat_proto.GmailList\022\r\n\005a" + "lias\030\033 \001(\t\022\025\n\rweiboNickname\030\034 \001(\t\022\021\n\twei" + "boFlag\030\035 \001(\r\022\024\n\014faceBookFlag\030\036 \001(\r\022\020\n\010fb" + "userId\030\037 \001(\003\022\022\n\nfbuserName\030 \001(\t\022\022\n\nalbu" + "mStyle\030! \001(\r\022\021\n\talbumFlag\030\" \001(\r\022\024\n\014album" + "BgimgId\030# \001(\t\022\026\n\016txnewsCategory\030$ \001(\r\022\017\n" + "\007fbtoken\030% \001(\t\022\017\n\007country\030& \001(\t\"\242\001\n\016Dist" + "urbSetting\022\024\n\014nightSetting\030\001 \001(\r\0220\n\tnigh" + "tTime\030\002 \001(\0132\035.wechat_proto.DisturbTimeSp" + "an\022\025\n\rallDaySetting\030\003 \001(\r\0221\n\nallDayTime\030" + "\004 \001(\0132\035.wechat_proto.DisturbTimeSpan\"5\n\017" + "DisturbTimeSpan\022\021\n\tbeginTime\030\001 \001(\r\022\017\n\007en" + "dTime\030\002 \001(\r\"\032\n\tGmailList\022\r\n\005count\030\001 \001(\r\"" + "Y\n\nDelContact\022/\n\010userName\030\001 \001(\0132\035.wechat" + "_proto.SKBuiltinString\022\032\n\022deleteContactS" + "cene\030\002 \001(\r\"A\n\016DelChatContact\022/\n\010userName" + "\030\001 \001(\0132\035.wechat_proto.SKBuiltinString\"\240\007" + "\n\021ModChatRoomMember\022/\n\010userName\030\001 \001(\0132\035." + "wechat_proto.SKBuiltinString\022/\n\010nickName" + "\030\002 \001(\0132\035.wechat_proto.SKBuiltinString\0220\n" + "\tpyinitial\030\003 \001(\0132\035.wechat_proto.SKBuilti" + "nString\022.\n\007quanPin\030\004 \001(\0132\035.wechat_proto." + "SKBuiltinString\022\013\n\003sex\030\005 \001(\r\022.\n\006imgBuf\030\006" + " \001(\0132\036.wechat_proto.SKBuiltinString_\022\017\n\007" + "imgFlag\030\007 \001(\r\022-\n\006remark\030\010 \001(\0132\035.wechat_p" + "roto.SKBuiltinString\0226\n\017remarkPyinitial\030" + "\t \001(\0132\035.wechat_proto.SKBuiltinString\0224\n\r" + "remarkQuanPin\030\n \001(\0132\035.wechat_proto.SKBui" + "ltinString\022\023\n\013contactType\030\013 \001(\r\022\020\n\010provi" + "nce\030\014 \001(\t\022\014\n\004city\030\r \001(\t\022\021\n\tsignature\030\016 \001" + "(\t\022\024\n\014personalCard\030\017 \001(\r\022\022\n\nverifyFlag\030\020" + " \001(\r\022\022\n\nverifyInfo\030\021 \001(\t\022\r\n\005weibo\030\022 \001(\t\022" + "\025\n\rverifyContent\030\023 \001(\t\022\025\n\rweiboNickname\030" + "\024 \001(\t\022\021\n\tweiboFlag\030\025 \001(\r\022\022\n\nalbumStyle\030\026" + " \001(\r\022\021\n\talbumFlag\030\027 \001(\r\022\024\n\014albumBgimgId\030" + "\030 \001(\t\022\r\n\005alias\030\031 \001(\t\022.\n\013snsUserInfo\030\032 \001(" + "\0132\031.wechat_proto.SnsUserInfo\022\017\n\007country\030" + "\033 \001(\t\022\025\n\rbigHeadImgUrl\030\034 \001(\t\022\027\n\017smallHea" + "dImgUrl\030\035 \001(\t\022\023\n\013myBrandList\030\036 \001(\t\0224\n\016cu" + "stomizedInfo\030\037 \001(\0132\034.wechat_proto.Custom" + "izedInfo\"t\n\014QuitChatRoom\0223\n\014chatRoomName" + "\030\001 \001(\0132\035.wechat_proto.SKBuiltinString\022/\n" + "\010userName\030\002 \001(\0132\035.wechat_proto.SKBuiltin" + "String\"X\n\021ModChatRoomNotify\0223\n\014chatRoomN" + "ame\030\001 \001(\0132\035.wechat_proto.SKBuiltinString" + "\022\016\n\006status\030\002 \001(\r\"8\n\020InviteFriendOpen\022\020\n\010" + "userName\030\001 \001(\t\022\022\n\nfriendType\030\002 \001(\r\"9\n\016Fu" + "nctionSwitch\022\022\n\nfunctionId\030\001 \001(\r\022\023\n\013swit" + "chValue\030\002 \001(\r\"}\n\020ModChatRoomTopic\0223\n\014cha" + "tRoomName\030\001 \001(\0132\035.wechat_proto.SKBuiltin" + "String\0224\n\rchatRoomTopic\030\002 \001(\0132\035.wechat_p" + "roto.SKBuiltinString\"\327\001\n\020ModBottleContac" + "t\022\020\n\010userName\030\001 \001(\t\022\014\n\004type\030\002 \001(\r\022\013\n\003sex" + "\030\003 \001(\r\022\014\n\004city\030\004 \001(\t\022\020\n\010province\030\005 \001(\t\022\021" + "\n\tsignature\030\006 \001(\t\022\017\n\007imgFlag\030\007 \001(\r\022\021\n\thd" + "imgFlag\030\010 \001(\r\022\017\n\007country\030\t \001(\t\022\025\n\rbigHea" + "dImgUrl\030\n \001(\t\022\027\n\017smallHeadImgUrl\030\013 \001(\t\"}" + "\n\nModUserImg\022\017\n\007imgType\030\001 \001(\r\022\016\n\006imgLen\030" + "\002 \001(\r\022\016\n\006imgBuf\030\003 \001(\014\022\016\n\006imgMd5\030\004 \001(\t\022\025\n" + "\rbigHeadImgUrl\030\005 \001(\t\022\027\n\017smallHeadImgUrl\030" + "\006 \001(\t\"\362\006\n\013UserInfoExt\022.\n\013snsUserInfo\030\001 \001" + "(\0132\031.wechat_proto.SnsUserInfo\022\023\n\013myBrand" + "List\030\002 \001(\t\022\024\n\014msgPushSound\030\003 \001(\t\022\025\n\rvoip" + "PushSound\030\004 \001(\t\022\027\n\017bigChatRoomSize\030\005 \001(\r" + "\022\030\n\020bigChatRoomQuota\030\006 \001(\r\022\031\n\021bigChatRoo" + "mInvite\030\007 \001(\r\022\022\n\nsafeMobile\030\010 \001(\t\022\025\n\rbig" + "HeadImgUrl\030\t \001(\t\022\027\n\017smallHeadImgUrl\030\n \001(" + "\t\022\024\n\014mainAcctType\030\013 \001(\r\022-\n\006extXml\030\014 \001(\0132" + "\035.wechat_proto.SKBuiltinString\0224\n\016safeDe" + "viceList\030\r \001(\0132\034.wechat_proto.SafeDevice" + "List\022\022\n\nsafeDevice\030\016 \001(\r\022\025\n\rgrayscaleFla" + "g\030\017 \001(\r\022\031\n\021googleContactName\030\020 \001(\t\022\021\n\tid" + "cardNum\030\021 \001(\t\022\020\n\010realName\030\022 \001(\t\022\020\n\010regNu" + "mry\030\023 \001(\t\022\016\n\006bbppid\030\024 \001(\t\022\r\n\005bbpin\030\025 \001(\t" + "\022\023\n\013bbmnickName\030\026 \001(\t\022>\n\023linkedinContact" + "Item\030\027 \001(\0132!.wechat_proto.LinkedinContac" + "tItem\022\016\n\006kfinfo\030\030 \001(\t\0226\n\017patternLockInfo" + "\030\031 \001(\0132\035.wechat_proto.PatternLockInfo\022\030\n" + "\020securityDeviceId\030\032 \001(\t\022\025\n\rpayWalletType" + "\030\033 \001(\r\022\023\n\013weiDianInfo\030\034 \001(\t\022\024\n\014walletReg" + "ion\030\035 \001(\r\022\021\n\textStatus\030\036 \001(\003\022\024\n\014f2FpushS" + "ound\030\037 \001(\t\022\022\n\nuserStatus\030 \001(\r\022\022\n\npaySet" + "ting\030! \001(\003\"\037\n\016SafeDeviceList\022\r\n\005count\030\001 " + "\001(\r\"k\n\017PatternLockInfo\022\026\n\016patternVersion" + "\030\001 \001(\r\022,\n\004sign\030\002 \001(\0132\036.wechat_proto.SKBu" + "iltinString_\022\022\n\nlockStatus\030\003 \001(\r\"\270\001\n\016Sns" + "ActionGroup\022\n\n\002id\030\001 \001(\004\022\020\n\010parentId\030\002 \001(" + "\003\022.\n\rcurrentAction\030\003 \001(\0132\027.wechat_proto." + "SnsAction\022,\n\013referAction\030\004 \001(\0132\027.wechat_" + "proto.SnsAction\022\020\n\010clientId\030\005 \001(\t\022\030\n\020obj" + "ectCreateTime\030\006 \001(\r\"\224\003\n\tSnsAction\022\024\n\014fro" + "mUsername\030\001 \001(\t\022\022\n\ntoUsername\030\002 \001(\t\022\024\n\014f" + "romNickname\030\003 \001(\t\022\022\n\ntoNickname\030\004 \001(\t\022\014\n" + "\004type\030\005 \001(\r\022\016\n\006source\030\006 \001(\r\022\022\n\ncreateTim" + "e\030\007 \001(\r\022\017\n\007content\030\010 \001(\t\022\026\n\016replyComment" + "Id\030\t \001(\r\022\021\n\tcommentId\030\n \001(\r\022\025\n\risNotRich" + "Text\030\013 \001(\r\022\027\n\017replyCommentId2\030\014 \001(\003\022\022\n\nc" + "ommentId2\030\r \001(\003\0220\n\010hbbuffer\030\016 \001(\0132\036.wech" + "at_proto.SKBuiltinString_\022\023\n\013commentFlag" + "\030\017 \001(\r\022:\n\021remindFriendsInfo\030\020 \001(\0132\037.wech" + "at_proto.RemindFriendsInfo\"\206\002\n\021RemindFri" + "endsInfo\022\021\n\tadgroupId\030\001 \001(\r\0222\n\nsourceInf" + "o\030\002 \001(\0132\036.wechat_proto.SKBuiltinString_\022" + "0\n\010selfInfo\030\003 \001(\0132\036.wechat_proto.SKBuilt" + "inString_\0220\n\010paidInfo\030\004 \001(\0132\036.wechat_pro" + "to.SKBuiltinString_\0221\n\textraInfo\030\005 \001(\0132\036" + ".wechat_proto.SKBuiltinString_\022\023\n\013adgrou" + "pId64\030\006 \001(\004\"g\n\tNewDelMsg\022\024\n\014fromUserName" + "\030\001 \001(\t\022\022\n\ntoUserName\030\002 \001(\t\022\r\n\005msgId\030\003 \001(" + "\r\022\017\n\007msgType\030\004 \001(\r\022\020\n\010newMsgId\030\005 \001(\003\"%\n\013" + "SyncControl\022\026\n\016useInitContact\030\001 \001(\r\"U\n\021G" + "etProfileRequest\022.\n\013baseRequest\030\001 \001(\0132\031." + "wechat_proto.BaseRequest\022\020\n\010userName\030\002 \001" + "(\t\"\243\001\n\022GetProfileResponse\0220\n\014baseRespons" + "e\030\001 \001(\0132\032.wechat_proto.BaseResponse\022+\n\010u" + "serInfo\030\002 \001(\0132\031.wechat_proto.ModUserInfo" + "\022.\n\013userInfoExt\030\003 \001(\0132\031.wechat_proto.Use" + "rInfoExtB\034\n\017wechat.protobufZ\t../wechat" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { wechat.protobuf.Wechat.getDescriptor(), }); internal_static_wechat_proto_ModUserInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_wechat_proto_ModUserInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_ModUserInfo_descriptor, new java.lang.String[] { "BitFlag", "UserName", "NickName", "BindUin", "BindEmail", "BindMobile", "Status", "ImgLen", "ImgBuf", "Sex", "Province", "City", "Signature", "PersonalCard", "DisturbSetting", "PluginFlag", "VerifyFlag", "VerifyInfo", "Point", "Experience", "Level", "LevelLowExp", "LevelHighExp", "Weibo", "PluginSwitch", "GmailList", "Alias", "WeiboNickname", "WeiboFlag", "FaceBookFlag", "FbuserId", "FbuserName", "AlbumStyle", "AlbumFlag", "AlbumBgimgId", "TxnewsCategory", "Fbtoken", "Country", }); internal_static_wechat_proto_DisturbSetting_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_wechat_proto_DisturbSetting_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_DisturbSetting_descriptor, new java.lang.String[] { "NightSetting", "NightTime", "AllDaySetting", "AllDayTime", }); internal_static_wechat_proto_DisturbTimeSpan_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_wechat_proto_DisturbTimeSpan_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_DisturbTimeSpan_descriptor, new java.lang.String[] { "BeginTime", "EndTime", }); internal_static_wechat_proto_GmailList_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_wechat_proto_GmailList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_GmailList_descriptor, new java.lang.String[] { "Count", }); internal_static_wechat_proto_DelContact_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_wechat_proto_DelContact_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_DelContact_descriptor, new java.lang.String[] { "UserName", "DeleteContactScene", }); internal_static_wechat_proto_DelChatContact_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_wechat_proto_DelChatContact_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_DelChatContact_descriptor, new java.lang.String[] { "UserName", }); internal_static_wechat_proto_ModChatRoomMember_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_wechat_proto_ModChatRoomMember_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_ModChatRoomMember_descriptor, new java.lang.String[] { "UserName", "NickName", "Pyinitial", "QuanPin", "Sex", "ImgBuf", "ImgFlag", "Remark", "RemarkPyinitial", "RemarkQuanPin", "ContactType", "Province", "City", "Signature", "PersonalCard", "VerifyFlag", "VerifyInfo", "Weibo", "VerifyContent", "WeiboNickname", "WeiboFlag", "AlbumStyle", "AlbumFlag", "AlbumBgimgId", "Alias", "SnsUserInfo", "Country", "BigHeadImgUrl", "SmallHeadImgUrl", "MyBrandList", "CustomizedInfo", }); internal_static_wechat_proto_QuitChatRoom_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_wechat_proto_QuitChatRoom_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_QuitChatRoom_descriptor, new java.lang.String[] { "ChatRoomName", "UserName", }); internal_static_wechat_proto_ModChatRoomNotify_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_wechat_proto_ModChatRoomNotify_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_ModChatRoomNotify_descriptor, new java.lang.String[] { "ChatRoomName", "Status", }); internal_static_wechat_proto_InviteFriendOpen_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_wechat_proto_InviteFriendOpen_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_InviteFriendOpen_descriptor, new java.lang.String[] { "UserName", "FriendType", }); internal_static_wechat_proto_FunctionSwitch_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_wechat_proto_FunctionSwitch_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_FunctionSwitch_descriptor, new java.lang.String[] { "FunctionId", "SwitchValue", }); internal_static_wechat_proto_ModChatRoomTopic_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_wechat_proto_ModChatRoomTopic_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_ModChatRoomTopic_descriptor, new java.lang.String[] { "ChatRoomName", "ChatRoomTopic", }); internal_static_wechat_proto_ModBottleContact_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_wechat_proto_ModBottleContact_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_ModBottleContact_descriptor, new java.lang.String[] { "UserName", "Type", "Sex", "City", "Province", "Signature", "ImgFlag", "HdimgFlag", "Country", "BigHeadImgUrl", "SmallHeadImgUrl", }); internal_static_wechat_proto_ModUserImg_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_wechat_proto_ModUserImg_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_ModUserImg_descriptor, new java.lang.String[] { "ImgType", "ImgLen", "ImgBuf", "ImgMd5", "BigHeadImgUrl", "SmallHeadImgUrl", }); internal_static_wechat_proto_UserInfoExt_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_wechat_proto_UserInfoExt_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_UserInfoExt_descriptor, new java.lang.String[] { "SnsUserInfo", "MyBrandList", "MsgPushSound", "VoipPushSound", "BigChatRoomSize", "BigChatRoomQuota", "BigChatRoomInvite", "SafeMobile", "BigHeadImgUrl", "SmallHeadImgUrl", "MainAcctType", "ExtXml", "SafeDeviceList", "SafeDevice", "GrayscaleFlag", "GoogleContactName", "IdcardNum", "RealName", "RegNumry", "Bbppid", "Bbpin", "BbmnickName", "LinkedinContactItem", "Kfinfo", "PatternLockInfo", "SecurityDeviceId", "PayWalletType", "WeiDianInfo", "WalletRegion", "ExtStatus", "F2FpushSound", "UserStatus", "PaySetting", }); internal_static_wechat_proto_SafeDeviceList_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_wechat_proto_SafeDeviceList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SafeDeviceList_descriptor, new java.lang.String[] { "Count", }); internal_static_wechat_proto_PatternLockInfo_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_wechat_proto_PatternLockInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_PatternLockInfo_descriptor, new java.lang.String[] { "PatternVersion", "Sign", "LockStatus", }); internal_static_wechat_proto_SnsActionGroup_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_wechat_proto_SnsActionGroup_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsActionGroup_descriptor, new java.lang.String[] { "Id", "ParentId", "CurrentAction", "ReferAction", "ClientId", "ObjectCreateTime", }); internal_static_wechat_proto_SnsAction_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_wechat_proto_SnsAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SnsAction_descriptor, new java.lang.String[] { "FromUsername", "ToUsername", "FromNickname", "ToNickname", "Type", "Source", "CreateTime", "Content", "ReplyCommentId", "CommentId", "IsNotRichText", "ReplyCommentId2", "CommentId2", "Hbbuffer", "CommentFlag", "RemindFriendsInfo", }); internal_static_wechat_proto_RemindFriendsInfo_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_wechat_proto_RemindFriendsInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_RemindFriendsInfo_descriptor, new java.lang.String[] { "AdgroupId", "SourceInfo", "SelfInfo", "PaidInfo", "ExtraInfo", "AdgroupId64", }); internal_static_wechat_proto_NewDelMsg_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_wechat_proto_NewDelMsg_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_NewDelMsg_descriptor, new java.lang.String[] { "FromUserName", "ToUserName", "MsgId", "MsgType", "NewMsgId", }); internal_static_wechat_proto_SyncControl_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_wechat_proto_SyncControl_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_SyncControl_descriptor, new java.lang.String[] { "UseInitContact", }); internal_static_wechat_proto_GetProfileRequest_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_wechat_proto_GetProfileRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_GetProfileRequest_descriptor, new java.lang.String[] { "BaseRequest", "UserName", }); internal_static_wechat_proto_GetProfileResponse_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_wechat_proto_GetProfileResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_wechat_proto_GetProfileResponse_descriptor, new java.lang.String[] { "BaseResponse", "UserInfo", "UserInfoExt", }); wechat.protobuf.Wechat.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy