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

package com.ywt.gapi.user;

/**
 * <pre>
 * 第三方账户信息
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.user.SnsUserInfo}
 */
public final class SnsUserInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.user.SnsUserInfo)
    SnsUserInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use SnsUserInfo.newBuilder() to construct.
  private SnsUserInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private SnsUserInfo() {
    openId_ = "";
    unionId_ = "";
    nickname_ = "";
    province_ = "";
    city_ = "";
    country_ = "";
    avatar_ = "";
    language_ = "";
  }

  @Override
  @SuppressWarnings({"unused"})
  protected Object newInstance(
      UnusedPrivateParameter unused) {
    return new SnsUserInfo();
  }

  @Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private SnsUserInfo(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new NullPointerException();
    }
    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: {

            id_ = input.readInt32();
            break;
          }
          case 18: {
            String s = input.readStringRequireUtf8();

            openId_ = s;
            break;
          }
          case 26: {
            String s = input.readStringRequireUtf8();

            unionId_ = s;
            break;
          }
          case 32: {

            userId_ = input.readInt32();
            break;
          }
          case 42: {
            String s = input.readStringRequireUtf8();

            nickname_ = s;
            break;
          }
          case 48: {

            sex_ = input.readInt32();
            break;
          }
          case 58: {
            String s = input.readStringRequireUtf8();

            province_ = s;
            break;
          }
          case 66: {
            String s = input.readStringRequireUtf8();

            city_ = s;
            break;
          }
          case 74: {
            String s = input.readStringRequireUtf8();

            country_ = s;
            break;
          }
          case 82: {
            String s = input.readStringRequireUtf8();

            avatar_ = s;
            break;
          }
          case 90: {
            String s = input.readStringRequireUtf8();

            language_ = s;
            break;
          }
          case 96: {

            snsType_ = input.readInt32();
            break;
          }
          case 104: {

            status_ = input.readInt32();
            break;
          }
          case 112: {

            createTime_ = input.readInt64();
            break;
          }
          case 120: {

            terminal_ = input.readInt32();
            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 UserProto.internal_static_com_ywt_gapi_user_SnsUserInfo_descriptor;
  }

  @Override
  protected FieldAccessorTable
      internalGetFieldAccessorTable() {
    return UserProto.internal_static_com_ywt_gapi_user_SnsUserInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            SnsUserInfo.class, Builder.class);
  }

  public static final int ID_FIELD_NUMBER = 1;
  private int id_;
  /**
   * <code>int32 id = 1;</code>
   * @return The id.
   */
  @Override
  public int getId() {
    return id_;
  }

  public static final int OPENID_FIELD_NUMBER = 2;
  private volatile Object openId_;
  /**
   * <code>string openId = 2;</code>
   * @return The openId.
   */
  @Override
  public String getOpenId() {
    Object ref = openId_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      openId_ = s;
      return s;
    }
  }
  /**
   * <code>string openId = 2;</code>
   * @return The bytes for openId.
   */
  @Override
  public com.google.protobuf.ByteString
      getOpenIdBytes() {
    Object ref = openId_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      openId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int UNIONID_FIELD_NUMBER = 3;
  private volatile Object unionId_;
  /**
   * <code>string unionId = 3;</code>
   * @return The unionId.
   */
  @Override
  public String getUnionId() {
    Object ref = unionId_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      unionId_ = s;
      return s;
    }
  }
  /**
   * <code>string unionId = 3;</code>
   * @return The bytes for unionId.
   */
  @Override
  public com.google.protobuf.ByteString
      getUnionIdBytes() {
    Object ref = unionId_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      unionId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int USERID_FIELD_NUMBER = 4;
  private int userId_;
  /**
   * <code>int32 userId = 4;</code>
   * @return The userId.
   */
  @Override
  public int getUserId() {
    return userId_;
  }

  public static final int NICKNAME_FIELD_NUMBER = 5;
  private volatile Object nickname_;
  /**
   * <code>string nickname = 5;</code>
   * @return The nickname.
   */
  @Override
  public String getNickname() {
    Object ref = nickname_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      nickname_ = s;
      return s;
    }
  }
  /**
   * <code>string nickname = 5;</code>
   * @return The bytes for nickname.
   */
  @Override
  public com.google.protobuf.ByteString
      getNicknameBytes() {
    Object ref = nickname_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      nickname_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SEX_FIELD_NUMBER = 6;
  private int sex_;
  /**
   * <code>int32 sex = 6;</code>
   * @return The sex.
   */
  @Override
  public int getSex() {
    return sex_;
  }

  public static final int PROVINCE_FIELD_NUMBER = 7;
  private volatile Object province_;
  /**
   * <code>string province = 7;</code>
   * @return The province.
   */
  @Override
  public String getProvince() {
    Object ref = province_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      province_ = s;
      return s;
    }
  }
  /**
   * <code>string province = 7;</code>
   * @return The bytes for province.
   */
  @Override
  public com.google.protobuf.ByteString
      getProvinceBytes() {
    Object ref = province_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      province_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CITY_FIELD_NUMBER = 8;
  private volatile Object city_;
  /**
   * <code>string city = 8;</code>
   * @return The city.
   */
  @Override
  public String getCity() {
    Object ref = city_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      city_ = s;
      return s;
    }
  }
  /**
   * <code>string city = 8;</code>
   * @return The bytes for city.
   */
  @Override
  public com.google.protobuf.ByteString
      getCityBytes() {
    Object ref = city_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      city_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int COUNTRY_FIELD_NUMBER = 9;
  private volatile Object country_;
  /**
   * <code>string country = 9;</code>
   * @return The country.
   */
  @Override
  public String getCountry() {
    Object ref = country_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      country_ = s;
      return s;
    }
  }
  /**
   * <code>string country = 9;</code>
   * @return The bytes for country.
   */
  @Override
  public com.google.protobuf.ByteString
      getCountryBytes() {
    Object ref = country_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      country_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AVATAR_FIELD_NUMBER = 10;
  private volatile Object avatar_;
  /**
   * <code>string avatar = 10;</code>
   * @return The avatar.
   */
  @Override
  public String getAvatar() {
    Object ref = avatar_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      avatar_ = s;
      return s;
    }
  }
  /**
   * <code>string avatar = 10;</code>
   * @return The bytes for avatar.
   */
  @Override
  public com.google.protobuf.ByteString
      getAvatarBytes() {
    Object ref = avatar_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      avatar_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LANGUAGE_FIELD_NUMBER = 11;
  private volatile Object language_;
  /**
   * <code>string language = 11;</code>
   * @return The language.
   */
  @Override
  public String getLanguage() {
    Object ref = language_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      language_ = s;
      return s;
    }
  }
  /**
   * <code>string language = 11;</code>
   * @return The bytes for language.
   */
  @Override
  public com.google.protobuf.ByteString
      getLanguageBytes() {
    Object ref = language_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      language_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SNSTYPE_FIELD_NUMBER = 12;
  private int snsType_;
  /**
   * <code>int32 snsType = 12;</code>
   * @return The snsType.
   */
  @Override
  public int getSnsType() {
    return snsType_;
  }

  public static final int STATUS_FIELD_NUMBER = 13;
  private int status_;
  /**
   * <code>int32 status = 13;</code>
   * @return The status.
   */
  @Override
  public int getStatus() {
    return status_;
  }

  public static final int CREATETIME_FIELD_NUMBER = 14;
  private long createTime_;
  /**
   * <code>int64 createTime = 14;</code>
   * @return The createTime.
   */
  @Override
  public long getCreateTime() {
    return createTime_;
  }

  public static final int TERMINAL_FIELD_NUMBER = 15;
  private int terminal_;
  /**
   * <code>int32 terminal = 15;</code>
   * @return The terminal.
   */
  @Override
  public int getTerminal() {
    return terminal_;
  }

  private byte memoizedIsInitialized = -1;
  @Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (id_ != 0) {
      output.writeInt32(1, id_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, openId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unionId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unionId_);
    }
    if (userId_ != 0) {
      output.writeInt32(4, userId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, nickname_);
    }
    if (sex_ != 0) {
      output.writeInt32(6, sex_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(province_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, province_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(city_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, city_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(country_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, country_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(avatar_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, avatar_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(language_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, language_);
    }
    if (snsType_ != 0) {
      output.writeInt32(12, snsType_);
    }
    if (status_ != 0) {
      output.writeInt32(13, status_);
    }
    if (createTime_ != 0L) {
      output.writeInt64(14, createTime_);
    }
    if (terminal_ != 0) {
      output.writeInt32(15, terminal_);
    }
    unknownFields.writeTo(output);
  }

  @Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (id_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, id_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, openId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unionId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, unionId_);
    }
    if (userId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(4, userId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, nickname_);
    }
    if (sex_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(6, sex_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(province_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, province_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(city_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, city_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(country_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, country_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(avatar_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, avatar_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(language_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, language_);
    }
    if (snsType_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(12, snsType_);
    }
    if (status_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(13, status_);
    }
    if (createTime_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(14, createTime_);
    }
    if (terminal_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(15, terminal_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @Override
  public boolean equals(final Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof SnsUserInfo)) {
      return super.equals(obj);
    }
    SnsUserInfo other = (SnsUserInfo) obj;

    if (getId()
        != other.getId()) return false;
    if (!getOpenId()
        .equals(other.getOpenId())) return false;
    if (!getUnionId()
        .equals(other.getUnionId())) return false;
    if (getUserId()
        != other.getUserId()) return false;
    if (!getNickname()
        .equals(other.getNickname())) return false;
    if (getSex()
        != other.getSex()) return false;
    if (!getProvince()
        .equals(other.getProvince())) return false;
    if (!getCity()
        .equals(other.getCity())) return false;
    if (!getCountry()
        .equals(other.getCountry())) return false;
    if (!getAvatar()
        .equals(other.getAvatar())) return false;
    if (!getLanguage()
        .equals(other.getLanguage())) return false;
    if (getSnsType()
        != other.getSnsType()) return false;
    if (getStatus()
        != other.getStatus()) return false;
    if (getCreateTime()
        != other.getCreateTime()) return false;
    if (getTerminal()
        != other.getTerminal()) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + ID_FIELD_NUMBER;
    hash = (53 * hash) + getId();
    hash = (37 * hash) + OPENID_FIELD_NUMBER;
    hash = (53 * hash) + getOpenId().hashCode();
    hash = (37 * hash) + UNIONID_FIELD_NUMBER;
    hash = (53 * hash) + getUnionId().hashCode();
    hash = (37 * hash) + USERID_FIELD_NUMBER;
    hash = (53 * hash) + getUserId();
    hash = (37 * hash) + NICKNAME_FIELD_NUMBER;
    hash = (53 * hash) + getNickname().hashCode();
    hash = (37 * hash) + SEX_FIELD_NUMBER;
    hash = (53 * hash) + getSex();
    hash = (37 * hash) + PROVINCE_FIELD_NUMBER;
    hash = (53 * hash) + getProvince().hashCode();
    hash = (37 * hash) + CITY_FIELD_NUMBER;
    hash = (53 * hash) + getCity().hashCode();
    hash = (37 * hash) + COUNTRY_FIELD_NUMBER;
    hash = (53 * hash) + getCountry().hashCode();
    hash = (37 * hash) + AVATAR_FIELD_NUMBER;
    hash = (53 * hash) + getAvatar().hashCode();
    hash = (37 * hash) + LANGUAGE_FIELD_NUMBER;
    hash = (53 * hash) + getLanguage().hashCode();
    hash = (37 * hash) + SNSTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getSnsType();
    hash = (37 * hash) + STATUS_FIELD_NUMBER;
    hash = (53 * hash) + getStatus();
    hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getCreateTime());
    hash = (37 * hash) + TERMINAL_FIELD_NUMBER;
    hash = (53 * hash) + getTerminal();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static SnsUserInfo parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static SnsUserInfo parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static SnsUserInfo parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static SnsUserInfo parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static SnsUserInfo parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static SnsUserInfo parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static SnsUserInfo parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static SnsUserInfo 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 SnsUserInfo parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static SnsUserInfo 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 SnsUserInfo parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static SnsUserInfo parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(SnsUserInfo prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @Override
  protected Builder newBuilderForType(
      BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   * 第三方账户信息
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.user.SnsUserInfo}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.user.SnsUserInfo)
      com.ywt.gapi.user.SnsUserInfoOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return UserProto.internal_static_com_ywt_gapi_user_SnsUserInfo_descriptor;
    }

    @Override
    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return UserProto.internal_static_com_ywt_gapi_user_SnsUserInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              SnsUserInfo.class, Builder.class);
    }

    // Construct using com.ywt.gapi.user.SnsUserInfo.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @Override
    public Builder clear() {
      super.clear();
      id_ = 0;

      openId_ = "";

      unionId_ = "";

      userId_ = 0;

      nickname_ = "";

      sex_ = 0;

      province_ = "";

      city_ = "";

      country_ = "";

      avatar_ = "";

      language_ = "";

      snsType_ = 0;

      status_ = 0;

      createTime_ = 0L;

      terminal_ = 0;

      return this;
    }

    @Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return UserProto.internal_static_com_ywt_gapi_user_SnsUserInfo_descriptor;
    }

    @Override
    public SnsUserInfo getDefaultInstanceForType() {
      return SnsUserInfo.getDefaultInstance();
    }

    @Override
    public SnsUserInfo build() {
      SnsUserInfo result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @Override
    public SnsUserInfo buildPartial() {
      SnsUserInfo result = new SnsUserInfo(this);
      result.id_ = id_;
      result.openId_ = openId_;
      result.unionId_ = unionId_;
      result.userId_ = userId_;
      result.nickname_ = nickname_;
      result.sex_ = sex_;
      result.province_ = province_;
      result.city_ = city_;
      result.country_ = country_;
      result.avatar_ = avatar_;
      result.language_ = language_;
      result.snsType_ = snsType_;
      result.status_ = status_;
      result.createTime_ = createTime_;
      result.terminal_ = terminal_;
      onBuilt();
      return result;
    }

    @Override
    public Builder clone() {
      return super.clone();
    }
    @Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        Object value) {
      return super.setField(field, value);
    }
    @Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        Object value) {
      return super.addRepeatedField(field, value);
    }
    @Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof SnsUserInfo) {
        return mergeFrom((SnsUserInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(SnsUserInfo other) {
      if (other == SnsUserInfo.getDefaultInstance()) return this;
      if (other.getId() != 0) {
        setId(other.getId());
      }
      if (!other.getOpenId().isEmpty()) {
        openId_ = other.openId_;
        onChanged();
      }
      if (!other.getUnionId().isEmpty()) {
        unionId_ = other.unionId_;
        onChanged();
      }
      if (other.getUserId() != 0) {
        setUserId(other.getUserId());
      }
      if (!other.getNickname().isEmpty()) {
        nickname_ = other.nickname_;
        onChanged();
      }
      if (other.getSex() != 0) {
        setSex(other.getSex());
      }
      if (!other.getProvince().isEmpty()) {
        province_ = other.province_;
        onChanged();
      }
      if (!other.getCity().isEmpty()) {
        city_ = other.city_;
        onChanged();
      }
      if (!other.getCountry().isEmpty()) {
        country_ = other.country_;
        onChanged();
      }
      if (!other.getAvatar().isEmpty()) {
        avatar_ = other.avatar_;
        onChanged();
      }
      if (!other.getLanguage().isEmpty()) {
        language_ = other.language_;
        onChanged();
      }
      if (other.getSnsType() != 0) {
        setSnsType(other.getSnsType());
      }
      if (other.getStatus() != 0) {
        setStatus(other.getStatus());
      }
      if (other.getCreateTime() != 0L) {
        setCreateTime(other.getCreateTime());
      }
      if (other.getTerminal() != 0) {
        setTerminal(other.getTerminal());
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    @Override
    public final boolean isInitialized() {
      return true;
    }

    @Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      SnsUserInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (SnsUserInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private int id_ ;
    /**
     * <code>int32 id = 1;</code>
     * @return The id.
     */
    @Override
    public int getId() {
      return id_;
    }
    /**
     * <code>int32 id = 1;</code>
     * @param value The id to set.
     * @return This builder for chaining.
     */
    public Builder setId(int value) {
      
      id_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 id = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearId() {
      
      id_ = 0;
      onChanged();
      return this;
    }

    private Object openId_ = "";
    /**
     * <code>string openId = 2;</code>
     * @return The openId.
     */
    public String getOpenId() {
      Object ref = openId_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        openId_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <code>string openId = 2;</code>
     * @return The bytes for openId.
     */
    public com.google.protobuf.ByteString
        getOpenIdBytes() {
      Object ref = openId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        openId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string openId = 2;</code>
     * @param value The openId to set.
     * @return This builder for chaining.
     */
    public Builder setOpenId(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      openId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string openId = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearOpenId() {
      
      openId_ = getDefaultInstance().getOpenId();
      onChanged();
      return this;
    }
    /**
     * <code>string openId = 2;</code>
     * @param value The bytes for openId to set.
     * @return This builder for chaining.
     */
    public Builder setOpenIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      openId_ = value;
      onChanged();
      return this;
    }

    private Object unionId_ = "";
    /**
     * <code>string unionId = 3;</code>
     * @return The unionId.
     */
    public String getUnionId() {
      Object ref = unionId_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        unionId_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <code>string unionId = 3;</code>
     * @return The bytes for unionId.
     */
    public com.google.protobuf.ByteString
        getUnionIdBytes() {
      Object ref = unionId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        unionId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string unionId = 3;</code>
     * @param value The unionId to set.
     * @return This builder for chaining.
     */
    public Builder setUnionId(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      unionId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string unionId = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearUnionId() {
      
      unionId_ = getDefaultInstance().getUnionId();
      onChanged();
      return this;
    }
    /**
     * <code>string unionId = 3;</code>
     * @param value The bytes for unionId to set.
     * @return This builder for chaining.
     */
    public Builder setUnionIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      unionId_ = value;
      onChanged();
      return this;
    }

    private int userId_ ;
    /**
     * <code>int32 userId = 4;</code>
     * @return The userId.
     */
    @Override
    public int getUserId() {
      return userId_;
    }
    /**
     * <code>int32 userId = 4;</code>
     * @param value The userId to set.
     * @return This builder for chaining.
     */
    public Builder setUserId(int value) {
      
      userId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 userId = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearUserId() {
      
      userId_ = 0;
      onChanged();
      return this;
    }

    private Object nickname_ = "";
    /**
     * <code>string nickname = 5;</code>
     * @return The nickname.
     */
    public String getNickname() {
      Object ref = nickname_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        nickname_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <code>string nickname = 5;</code>
     * @return The bytes for nickname.
     */
    public com.google.protobuf.ByteString
        getNicknameBytes() {
      Object ref = nickname_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        nickname_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string nickname = 5;</code>
     * @param value The nickname to set.
     * @return This builder for chaining.
     */
    public Builder setNickname(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      nickname_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string nickname = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearNickname() {
      
      nickname_ = getDefaultInstance().getNickname();
      onChanged();
      return this;
    }
    /**
     * <code>string nickname = 5;</code>
     * @param value The bytes for nickname to set.
     * @return This builder for chaining.
     */
    public Builder setNicknameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      nickname_ = value;
      onChanged();
      return this;
    }

    private int sex_ ;
    /**
     * <code>int32 sex = 6;</code>
     * @return The sex.
     */
    @Override
    public int getSex() {
      return sex_;
    }
    /**
     * <code>int32 sex = 6;</code>
     * @param value The sex to set.
     * @return This builder for chaining.
     */
    public Builder setSex(int value) {
      
      sex_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 sex = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearSex() {
      
      sex_ = 0;
      onChanged();
      return this;
    }

    private Object province_ = "";
    /**
     * <code>string province = 7;</code>
     * @return The province.
     */
    public String getProvince() {
      Object ref = province_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        province_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <code>string province = 7;</code>
     * @return The bytes for province.
     */
    public com.google.protobuf.ByteString
        getProvinceBytes() {
      Object ref = province_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        province_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string province = 7;</code>
     * @param value The province to set.
     * @return This builder for chaining.
     */
    public Builder setProvince(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      province_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string province = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearProvince() {
      
      province_ = getDefaultInstance().getProvince();
      onChanged();
      return this;
    }
    /**
     * <code>string province = 7;</code>
     * @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();
  }
  checkByteStringIsUtf8(value);
      
      province_ = value;
      onChanged();
      return this;
    }

    private Object city_ = "";
    /**
     * <code>string city = 8;</code>
     * @return The city.
     */
    public String getCity() {
      Object ref = city_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        city_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <code>string city = 8;</code>
     * @return The bytes for city.
     */
    public com.google.protobuf.ByteString
        getCityBytes() {
      Object ref = city_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        city_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string city = 8;</code>
     * @param value The city to set.
     * @return This builder for chaining.
     */
    public Builder setCity(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      city_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string city = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearCity() {
      
      city_ = getDefaultInstance().getCity();
      onChanged();
      return this;
    }
    /**
     * <code>string city = 8;</code>
     * @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();
  }
  checkByteStringIsUtf8(value);
      
      city_ = value;
      onChanged();
      return this;
    }

    private Object country_ = "";
    /**
     * <code>string country = 9;</code>
     * @return The country.
     */
    public String getCountry() {
      Object ref = country_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        country_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <code>string country = 9;</code>
     * @return The bytes for country.
     */
    public com.google.protobuf.ByteString
        getCountryBytes() {
      Object ref = country_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        country_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string country = 9;</code>
     * @param value The country to set.
     * @return This builder for chaining.
     */
    public Builder setCountry(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      country_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string country = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearCountry() {
      
      country_ = getDefaultInstance().getCountry();
      onChanged();
      return this;
    }
    /**
     * <code>string country = 9;</code>
     * @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();
  }
  checkByteStringIsUtf8(value);
      
      country_ = value;
      onChanged();
      return this;
    }

    private Object avatar_ = "";
    /**
     * <code>string avatar = 10;</code>
     * @return The avatar.
     */
    public String getAvatar() {
      Object ref = avatar_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        avatar_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <code>string avatar = 10;</code>
     * @return The bytes for avatar.
     */
    public com.google.protobuf.ByteString
        getAvatarBytes() {
      Object ref = avatar_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        avatar_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string avatar = 10;</code>
     * @param value The avatar to set.
     * @return This builder for chaining.
     */
    public Builder setAvatar(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      avatar_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string avatar = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearAvatar() {
      
      avatar_ = getDefaultInstance().getAvatar();
      onChanged();
      return this;
    }
    /**
     * <code>string avatar = 10;</code>
     * @param value The bytes for avatar to set.
     * @return This builder for chaining.
     */
    public Builder setAvatarBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      avatar_ = value;
      onChanged();
      return this;
    }

    private Object language_ = "";
    /**
     * <code>string language = 11;</code>
     * @return The language.
     */
    public String getLanguage() {
      Object ref = language_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        language_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <code>string language = 11;</code>
     * @return The bytes for language.
     */
    public com.google.protobuf.ByteString
        getLanguageBytes() {
      Object ref = language_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        language_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string language = 11;</code>
     * @param value The language to set.
     * @return This builder for chaining.
     */
    public Builder setLanguage(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      language_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string language = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearLanguage() {
      
      language_ = getDefaultInstance().getLanguage();
      onChanged();
      return this;
    }
    /**
     * <code>string language = 11;</code>
     * @param value The bytes for language to set.
     * @return This builder for chaining.
     */
    public Builder setLanguageBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      language_ = value;
      onChanged();
      return this;
    }

    private int snsType_ ;
    /**
     * <code>int32 snsType = 12;</code>
     * @return The snsType.
     */
    @Override
    public int getSnsType() {
      return snsType_;
    }
    /**
     * <code>int32 snsType = 12;</code>
     * @param value The snsType to set.
     * @return This builder for chaining.
     */
    public Builder setSnsType(int value) {
      
      snsType_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 snsType = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearSnsType() {
      
      snsType_ = 0;
      onChanged();
      return this;
    }

    private int status_ ;
    /**
     * <code>int32 status = 13;</code>
     * @return The status.
     */
    @Override
    public int getStatus() {
      return status_;
    }
    /**
     * <code>int32 status = 13;</code>
     * @param value The status to set.
     * @return This builder for chaining.
     */
    public Builder setStatus(int value) {
      
      status_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 status = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearStatus() {
      
      status_ = 0;
      onChanged();
      return this;
    }

    private long createTime_ ;
    /**
     * <code>int64 createTime = 14;</code>
     * @return The createTime.
     */
    @Override
    public long getCreateTime() {
      return createTime_;
    }
    /**
     * <code>int64 createTime = 14;</code>
     * @param value The createTime to set.
     * @return This builder for chaining.
     */
    public Builder setCreateTime(long value) {
      
      createTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int64 createTime = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearCreateTime() {
      
      createTime_ = 0L;
      onChanged();
      return this;
    }

    private int terminal_ ;
    /**
     * <code>int32 terminal = 15;</code>
     * @return The terminal.
     */
    @Override
    public int getTerminal() {
      return terminal_;
    }
    /**
     * <code>int32 terminal = 15;</code>
     * @param value The terminal to set.
     * @return This builder for chaining.
     */
    public Builder setTerminal(int value) {
      
      terminal_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 terminal = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearTerminal() {
      
      terminal_ = 0;
      onChanged();
      return this;
    }
    @Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.user.SnsUserInfo)
  }

  // @@protoc_insertion_point(class_scope:com.ywt.gapi.user.SnsUserInfo)
  private static final SnsUserInfo DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new SnsUserInfo();
  }

  public static SnsUserInfo getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<SnsUserInfo>
      PARSER = new com.google.protobuf.AbstractParser<SnsUserInfo>() {
    @Override
    public SnsUserInfo parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new SnsUserInfo(input, extensionRegistry);
    }
  };

  public static com.google.protobuf.Parser<SnsUserInfo> parser() {
    return PARSER;
  }

  @Override
  public com.google.protobuf.Parser<SnsUserInfo> getParserForType() {
    return PARSER;
  }

  @Override
  public SnsUserInfo getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

