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

cicada.userdriver.config.UserInfoStat Maven / Gradle / Ivy

There is a newer version: 1.0.6.6
Show newest version
/**
 * Autogenerated by Thrift Compiler (0.10.0)
 *
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 *  @generated
 */
package cicada.userdriver.config;

@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.10.0)", date = "2017-08-15")
public class UserInfoStat implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable {
  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UserInfoStat");

  private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.STRING, (short)1);
  private static final org.apache.thrift.protocol.TField LOGIN_ACCOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("loginAccount", org.apache.thrift.protocol.TType.STRING, (short)2);
  private static final org.apache.thrift.protocol.TField NICK_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("nickName", org.apache.thrift.protocol.TType.STRING, (short)3);
  private static final org.apache.thrift.protocol.TField REGISTER_DATE_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("registerDateTime", org.apache.thrift.protocol.TType.STRING, (short)4);
  private static final org.apache.thrift.protocol.TField AUTHED_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("authedType", org.apache.thrift.protocol.TType.I32, (short)5);
  private static final org.apache.thrift.protocol.TField AUTHED_PERCENT_FIELD_DESC = new org.apache.thrift.protocol.TField("authedPercent", org.apache.thrift.protocol.TType.STRING, (short)6);
  private static final org.apache.thrift.protocol.TField AGENT_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("agentType", org.apache.thrift.protocol.TType.I32, (short)7);
  private static final org.apache.thrift.protocol.TField MARKET_ONE_FIELD_DESC = new org.apache.thrift.protocol.TField("marketOne", org.apache.thrift.protocol.TType.STRING, (short)8);
  private static final org.apache.thrift.protocol.TField USER_IMAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("userImage", org.apache.thrift.protocol.TType.STRING, (short)9);
  private static final org.apache.thrift.protocol.TField SEX_FIELD_DESC = new org.apache.thrift.protocol.TField("sex", org.apache.thrift.protocol.TType.I32, (short)10);
  private static final org.apache.thrift.protocol.TField SEX_STRING_FIELD_DESC = new org.apache.thrift.protocol.TField("sexString", org.apache.thrift.protocol.TType.STRING, (short)11);
  private static final org.apache.thrift.protocol.TField TRUE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("trueName", org.apache.thrift.protocol.TType.STRING, (short)12);

  private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new UserInfoStatStandardSchemeFactory();
  private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new UserInfoStatTupleSchemeFactory();

  public String id; // required
  public String loginAccount; // required
  public String nickName; // required
  public String registerDateTime; // required
  /**
   * 
   * @see AuthedType
   */
  public AuthedType authedType; // required
  public String authedPercent; // required
  /**
   * 
   * @see AgentType
   */
  public AgentType agentType; // required
  public String marketOne; // required
  public String userImage; // required
  public SexTypeEnum sex; // required
  public String sexString; // required
  public String trueName; // required

  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
    ID((short)1, "id"),
    LOGIN_ACCOUNT((short)2, "loginAccount"),
    NICK_NAME((short)3, "nickName"),
    REGISTER_DATE_TIME((short)4, "registerDateTime"),
    /**
     * 
     * @see AuthedType
     */
    AUTHED_TYPE((short)5, "authedType"),
    AUTHED_PERCENT((short)6, "authedPercent"),
    /**
     * 
     * @see AgentType
     */
    AGENT_TYPE((short)7, "agentType"),
    MARKET_ONE((short)8, "marketOne"),
    USER_IMAGE((short)9, "userImage"),
    SEX((short)10, "sex"),
    SEX_STRING((short)11, "sexString"),
    TRUE_NAME((short)12, "trueName");

    private static final java.util.Map byName = new java.util.HashMap();

    static {
      for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) {
        byName.put(field.getFieldName(), field);
      }
    }

    /**
     * Find the _Fields constant that matches fieldId, or null if its not found.
     */
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // ID
          return ID;
        case 2: // LOGIN_ACCOUNT
          return LOGIN_ACCOUNT;
        case 3: // NICK_NAME
          return NICK_NAME;
        case 4: // REGISTER_DATE_TIME
          return REGISTER_DATE_TIME;
        case 5: // AUTHED_TYPE
          return AUTHED_TYPE;
        case 6: // AUTHED_PERCENT
          return AUTHED_PERCENT;
        case 7: // AGENT_TYPE
          return AGENT_TYPE;
        case 8: // MARKET_ONE
          return MARKET_ONE;
        case 9: // USER_IMAGE
          return USER_IMAGE;
        case 10: // SEX
          return SEX;
        case 11: // SEX_STRING
          return SEX_STRING;
        case 12: // TRUE_NAME
          return TRUE_NAME;
        default:
          return null;
      }
    }

    /**
     * Find the _Fields constant that matches fieldId, throwing an exception
     * if it is not found.
     */
    public static _Fields findByThriftIdOrThrow(int fieldId) {
      _Fields fields = findByThriftId(fieldId);
      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
      return fields;
    }

    /**
     * Find the _Fields constant that matches name, or null if its not found.
     */
    public static _Fields findByName(String name) {
      return byName.get(name);
    }

    private final short _thriftId;
    private final String _fieldName;

    _Fields(short thriftId, String fieldName) {
      _thriftId = thriftId;
      _fieldName = fieldName;
    }

    public short getThriftFieldId() {
      return _thriftId;
    }

    public String getFieldName() {
      return _fieldName;
    }
  }

  // isset id assignments
  public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
  static {
    java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.LOGIN_ACCOUNT, new org.apache.thrift.meta_data.FieldMetaData("loginAccount", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.NICK_NAME, new org.apache.thrift.meta_data.FieldMetaData("nickName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.REGISTER_DATE_TIME, new org.apache.thrift.meta_data.FieldMetaData("registerDateTime", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.AUTHED_TYPE, new org.apache.thrift.meta_data.FieldMetaData("authedType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, AuthedType.class)));
    tmpMap.put(_Fields.AUTHED_PERCENT, new org.apache.thrift.meta_data.FieldMetaData("authedPercent", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.AGENT_TYPE, new org.apache.thrift.meta_data.FieldMetaData("agentType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, AgentType.class)));
    tmpMap.put(_Fields.MARKET_ONE, new org.apache.thrift.meta_data.FieldMetaData("marketOne", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.USER_IMAGE, new org.apache.thrift.meta_data.FieldMetaData("userImage", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.SEX, new org.apache.thrift.meta_data.FieldMetaData("sex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.ENUM        , "SexTypeEnum")));
    tmpMap.put(_Fields.SEX_STRING, new org.apache.thrift.meta_data.FieldMetaData("sexString", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    tmpMap.put(_Fields.TRUE_NAME, new org.apache.thrift.meta_data.FieldMetaData("trueName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
    metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(UserInfoStat.class, metaDataMap);
  }

  public UserInfoStat() {
  }

  public UserInfoStat(
    String id,
    String loginAccount,
    String nickName,
    String registerDateTime,
    AuthedType authedType,
    String authedPercent,
    AgentType agentType,
    String marketOne,
    String userImage,
    SexTypeEnum sex,
    String sexString,
    String trueName)
  {
    this();
    this.id = id;
    this.loginAccount = loginAccount;
    this.nickName = nickName;
    this.registerDateTime = registerDateTime;
    this.authedType = authedType;
    this.authedPercent = authedPercent;
    this.agentType = agentType;
    this.marketOne = marketOne;
    this.userImage = userImage;
    this.sex = sex;
    this.sexString = sexString;
    this.trueName = trueName;
  }

  /**
   * Performs a deep copy on other.
   */
  public UserInfoStat(UserInfoStat other) {
    if (other.isSetId()) {
      this.id = other.id;
    }
    if (other.isSetLoginAccount()) {
      this.loginAccount = other.loginAccount;
    }
    if (other.isSetNickName()) {
      this.nickName = other.nickName;
    }
    if (other.isSetRegisterDateTime()) {
      this.registerDateTime = other.registerDateTime;
    }
    if (other.isSetAuthedType()) {
      this.authedType = other.authedType;
    }
    if (other.isSetAuthedPercent()) {
      this.authedPercent = other.authedPercent;
    }
    if (other.isSetAgentType()) {
      this.agentType = other.agentType;
    }
    if (other.isSetMarketOne()) {
      this.marketOne = other.marketOne;
    }
    if (other.isSetUserImage()) {
      this.userImage = other.userImage;
    }
    if (other.isSetSex()) {
      this.sex = other.sex;
    }
    if (other.isSetSexString()) {
      this.sexString = other.sexString;
    }
    if (other.isSetTrueName()) {
      this.trueName = other.trueName;
    }
  }

  public UserInfoStat deepCopy() {
    return new UserInfoStat(this);
  }

  @Override
  public void clear() {
    this.id = null;
    this.loginAccount = null;
    this.nickName = null;
    this.registerDateTime = null;
    this.authedType = null;
    this.authedPercent = null;
    this.agentType = null;
    this.marketOne = null;
    this.userImage = null;
    this.sex = null;
    this.sexString = null;
    this.trueName = null;
  }

  public String getId() {
    return this.id;
  }

  public UserInfoStat setId(String id) {
    this.id = id;
    return this;
  }

  public void unsetId() {
    this.id = null;
  }

  /** Returns true if field id is set (has been assigned a value) and false otherwise */
  public boolean isSetId() {
    return this.id != null;
  }

  public void setIdIsSet(boolean value) {
    if (!value) {
      this.id = null;
    }
  }

  public String getLoginAccount() {
    return this.loginAccount;
  }

  public UserInfoStat setLoginAccount(String loginAccount) {
    this.loginAccount = loginAccount;
    return this;
  }

  public void unsetLoginAccount() {
    this.loginAccount = null;
  }

  /** Returns true if field loginAccount is set (has been assigned a value) and false otherwise */
  public boolean isSetLoginAccount() {
    return this.loginAccount != null;
  }

  public void setLoginAccountIsSet(boolean value) {
    if (!value) {
      this.loginAccount = null;
    }
  }

  public String getNickName() {
    return this.nickName;
  }

  public UserInfoStat setNickName(String nickName) {
    this.nickName = nickName;
    return this;
  }

  public void unsetNickName() {
    this.nickName = null;
  }

  /** Returns true if field nickName is set (has been assigned a value) and false otherwise */
  public boolean isSetNickName() {
    return this.nickName != null;
  }

  public void setNickNameIsSet(boolean value) {
    if (!value) {
      this.nickName = null;
    }
  }

  public String getRegisterDateTime() {
    return this.registerDateTime;
  }

  public UserInfoStat setRegisterDateTime(String registerDateTime) {
    this.registerDateTime = registerDateTime;
    return this;
  }

  public void unsetRegisterDateTime() {
    this.registerDateTime = null;
  }

  /** Returns true if field registerDateTime is set (has been assigned a value) and false otherwise */
  public boolean isSetRegisterDateTime() {
    return this.registerDateTime != null;
  }

  public void setRegisterDateTimeIsSet(boolean value) {
    if (!value) {
      this.registerDateTime = null;
    }
  }

  /**
   * 
   * @see AuthedType
   */
  public AuthedType getAuthedType() {
    return this.authedType;
  }

  /**
   * 
   * @see AuthedType
   */
  public UserInfoStat setAuthedType(AuthedType authedType) {
    this.authedType = authedType;
    return this;
  }

  public void unsetAuthedType() {
    this.authedType = null;
  }

  /** Returns true if field authedType is set (has been assigned a value) and false otherwise */
  public boolean isSetAuthedType() {
    return this.authedType != null;
  }

  public void setAuthedTypeIsSet(boolean value) {
    if (!value) {
      this.authedType = null;
    }
  }

  public String getAuthedPercent() {
    return this.authedPercent;
  }

  public UserInfoStat setAuthedPercent(String authedPercent) {
    this.authedPercent = authedPercent;
    return this;
  }

  public void unsetAuthedPercent() {
    this.authedPercent = null;
  }

  /** Returns true if field authedPercent is set (has been assigned a value) and false otherwise */
  public boolean isSetAuthedPercent() {
    return this.authedPercent != null;
  }

  public void setAuthedPercentIsSet(boolean value) {
    if (!value) {
      this.authedPercent = null;
    }
  }

  /**
   * 
   * @see AgentType
   */
  public AgentType getAgentType() {
    return this.agentType;
  }

  /**
   * 
   * @see AgentType
   */
  public UserInfoStat setAgentType(AgentType agentType) {
    this.agentType = agentType;
    return this;
  }

  public void unsetAgentType() {
    this.agentType = null;
  }

  /** Returns true if field agentType is set (has been assigned a value) and false otherwise */
  public boolean isSetAgentType() {
    return this.agentType != null;
  }

  public void setAgentTypeIsSet(boolean value) {
    if (!value) {
      this.agentType = null;
    }
  }

  public String getMarketOne() {
    return this.marketOne;
  }

  public UserInfoStat setMarketOne(String marketOne) {
    this.marketOne = marketOne;
    return this;
  }

  public void unsetMarketOne() {
    this.marketOne = null;
  }

  /** Returns true if field marketOne is set (has been assigned a value) and false otherwise */
  public boolean isSetMarketOne() {
    return this.marketOne != null;
  }

  public void setMarketOneIsSet(boolean value) {
    if (!value) {
      this.marketOne = null;
    }
  }

  public String getUserImage() {
    return this.userImage;
  }

  public UserInfoStat setUserImage(String userImage) {
    this.userImage = userImage;
    return this;
  }

  public void unsetUserImage() {
    this.userImage = null;
  }

  /** Returns true if field userImage is set (has been assigned a value) and false otherwise */
  public boolean isSetUserImage() {
    return this.userImage != null;
  }

  public void setUserImageIsSet(boolean value) {
    if (!value) {
      this.userImage = null;
    }
  }

  public SexTypeEnum getSex() {
    return this.sex;
  }

  public UserInfoStat setSex(SexTypeEnum sex) {
    this.sex = sex;
    return this;
  }

  public void unsetSex() {
    this.sex = null;
  }

  /** Returns true if field sex is set (has been assigned a value) and false otherwise */
  public boolean isSetSex() {
    return this.sex != null;
  }

  public void setSexIsSet(boolean value) {
    if (!value) {
      this.sex = null;
    }
  }

  public String getSexString() {
    return this.sexString;
  }

  public UserInfoStat setSexString(String sexString) {
    this.sexString = sexString;
    return this;
  }

  public void unsetSexString() {
    this.sexString = null;
  }

  /** Returns true if field sexString is set (has been assigned a value) and false otherwise */
  public boolean isSetSexString() {
    return this.sexString != null;
  }

  public void setSexStringIsSet(boolean value) {
    if (!value) {
      this.sexString = null;
    }
  }

  public String getTrueName() {
    return this.trueName;
  }

  public UserInfoStat setTrueName(String trueName) {
    this.trueName = trueName;
    return this;
  }

  public void unsetTrueName() {
    this.trueName = null;
  }

  /** Returns true if field trueName is set (has been assigned a value) and false otherwise */
  public boolean isSetTrueName() {
    return this.trueName != null;
  }

  public void setTrueNameIsSet(boolean value) {
    if (!value) {
      this.trueName = null;
    }
  }

  public void setFieldValue(_Fields field, Object value) {
    switch (field) {
    case ID:
      if (value == null) {
        unsetId();
      } else {
        setId((String)value);
      }
      break;

    case LOGIN_ACCOUNT:
      if (value == null) {
        unsetLoginAccount();
      } else {
        setLoginAccount((String)value);
      }
      break;

    case NICK_NAME:
      if (value == null) {
        unsetNickName();
      } else {
        setNickName((String)value);
      }
      break;

    case REGISTER_DATE_TIME:
      if (value == null) {
        unsetRegisterDateTime();
      } else {
        setRegisterDateTime((String)value);
      }
      break;

    case AUTHED_TYPE:
      if (value == null) {
        unsetAuthedType();
      } else {
        setAuthedType((AuthedType)value);
      }
      break;

    case AUTHED_PERCENT:
      if (value == null) {
        unsetAuthedPercent();
      } else {
        setAuthedPercent((String)value);
      }
      break;

    case AGENT_TYPE:
      if (value == null) {
        unsetAgentType();
      } else {
        setAgentType((AgentType)value);
      }
      break;

    case MARKET_ONE:
      if (value == null) {
        unsetMarketOne();
      } else {
        setMarketOne((String)value);
      }
      break;

    case USER_IMAGE:
      if (value == null) {
        unsetUserImage();
      } else {
        setUserImage((String)value);
      }
      break;

    case SEX:
      if (value == null) {
        unsetSex();
      } else {
        setSex((SexTypeEnum)value);
      }
      break;

    case SEX_STRING:
      if (value == null) {
        unsetSexString();
      } else {
        setSexString((String)value);
      }
      break;

    case TRUE_NAME:
      if (value == null) {
        unsetTrueName();
      } else {
        setTrueName((String)value);
      }
      break;

    }
  }

  public Object getFieldValue(_Fields field) {
    switch (field) {
    case ID:
      return getId();

    case LOGIN_ACCOUNT:
      return getLoginAccount();

    case NICK_NAME:
      return getNickName();

    case REGISTER_DATE_TIME:
      return getRegisterDateTime();

    case AUTHED_TYPE:
      return getAuthedType();

    case AUTHED_PERCENT:
      return getAuthedPercent();

    case AGENT_TYPE:
      return getAgentType();

    case MARKET_ONE:
      return getMarketOne();

    case USER_IMAGE:
      return getUserImage();

    case SEX:
      return getSex();

    case SEX_STRING:
      return getSexString();

    case TRUE_NAME:
      return getTrueName();

    }
    throw new IllegalStateException();
  }

  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
  public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case ID:
      return isSetId();
    case LOGIN_ACCOUNT:
      return isSetLoginAccount();
    case NICK_NAME:
      return isSetNickName();
    case REGISTER_DATE_TIME:
      return isSetRegisterDateTime();
    case AUTHED_TYPE:
      return isSetAuthedType();
    case AUTHED_PERCENT:
      return isSetAuthedPercent();
    case AGENT_TYPE:
      return isSetAgentType();
    case MARKET_ONE:
      return isSetMarketOne();
    case USER_IMAGE:
      return isSetUserImage();
    case SEX:
      return isSetSex();
    case SEX_STRING:
      return isSetSexString();
    case TRUE_NAME:
      return isSetTrueName();
    }
    throw new IllegalStateException();
  }

  @Override
  public boolean equals(Object that) {
    if (that == null)
      return false;
    if (that instanceof UserInfoStat)
      return this.equals((UserInfoStat)that);
    return false;
  }

  public boolean equals(UserInfoStat that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_id = true && this.isSetId();
    boolean that_present_id = true && that.isSetId();
    if (this_present_id || that_present_id) {
      if (!(this_present_id && that_present_id))
        return false;
      if (!this.id.equals(that.id))
        return false;
    }

    boolean this_present_loginAccount = true && this.isSetLoginAccount();
    boolean that_present_loginAccount = true && that.isSetLoginAccount();
    if (this_present_loginAccount || that_present_loginAccount) {
      if (!(this_present_loginAccount && that_present_loginAccount))
        return false;
      if (!this.loginAccount.equals(that.loginAccount))
        return false;
    }

    boolean this_present_nickName = true && this.isSetNickName();
    boolean that_present_nickName = true && that.isSetNickName();
    if (this_present_nickName || that_present_nickName) {
      if (!(this_present_nickName && that_present_nickName))
        return false;
      if (!this.nickName.equals(that.nickName))
        return false;
    }

    boolean this_present_registerDateTime = true && this.isSetRegisterDateTime();
    boolean that_present_registerDateTime = true && that.isSetRegisterDateTime();
    if (this_present_registerDateTime || that_present_registerDateTime) {
      if (!(this_present_registerDateTime && that_present_registerDateTime))
        return false;
      if (!this.registerDateTime.equals(that.registerDateTime))
        return false;
    }

    boolean this_present_authedType = true && this.isSetAuthedType();
    boolean that_present_authedType = true && that.isSetAuthedType();
    if (this_present_authedType || that_present_authedType) {
      if (!(this_present_authedType && that_present_authedType))
        return false;
      if (!this.authedType.equals(that.authedType))
        return false;
    }

    boolean this_present_authedPercent = true && this.isSetAuthedPercent();
    boolean that_present_authedPercent = true && that.isSetAuthedPercent();
    if (this_present_authedPercent || that_present_authedPercent) {
      if (!(this_present_authedPercent && that_present_authedPercent))
        return false;
      if (!this.authedPercent.equals(that.authedPercent))
        return false;
    }

    boolean this_present_agentType = true && this.isSetAgentType();
    boolean that_present_agentType = true && that.isSetAgentType();
    if (this_present_agentType || that_present_agentType) {
      if (!(this_present_agentType && that_present_agentType))
        return false;
      if (!this.agentType.equals(that.agentType))
        return false;
    }

    boolean this_present_marketOne = true && this.isSetMarketOne();
    boolean that_present_marketOne = true && that.isSetMarketOne();
    if (this_present_marketOne || that_present_marketOne) {
      if (!(this_present_marketOne && that_present_marketOne))
        return false;
      if (!this.marketOne.equals(that.marketOne))
        return false;
    }

    boolean this_present_userImage = true && this.isSetUserImage();
    boolean that_present_userImage = true && that.isSetUserImage();
    if (this_present_userImage || that_present_userImage) {
      if (!(this_present_userImage && that_present_userImage))
        return false;
      if (!this.userImage.equals(that.userImage))
        return false;
    }

    boolean this_present_sex = true && this.isSetSex();
    boolean that_present_sex = true && that.isSetSex();
    if (this_present_sex || that_present_sex) {
      if (!(this_present_sex && that_present_sex))
        return false;
      if (!this.sex.equals(that.sex))
        return false;
    }

    boolean this_present_sexString = true && this.isSetSexString();
    boolean that_present_sexString = true && that.isSetSexString();
    if (this_present_sexString || that_present_sexString) {
      if (!(this_present_sexString && that_present_sexString))
        return false;
      if (!this.sexString.equals(that.sexString))
        return false;
    }

    boolean this_present_trueName = true && this.isSetTrueName();
    boolean that_present_trueName = true && that.isSetTrueName();
    if (this_present_trueName || that_present_trueName) {
      if (!(this_present_trueName && that_present_trueName))
        return false;
      if (!this.trueName.equals(that.trueName))
        return false;
    }

    return true;
  }

  @Override
  public int hashCode() {
    int hashCode = 1;

    hashCode = hashCode * 8191 + ((isSetId()) ? 131071 : 524287);
    if (isSetId())
      hashCode = hashCode * 8191 + id.hashCode();

    hashCode = hashCode * 8191 + ((isSetLoginAccount()) ? 131071 : 524287);
    if (isSetLoginAccount())
      hashCode = hashCode * 8191 + loginAccount.hashCode();

    hashCode = hashCode * 8191 + ((isSetNickName()) ? 131071 : 524287);
    if (isSetNickName())
      hashCode = hashCode * 8191 + nickName.hashCode();

    hashCode = hashCode * 8191 + ((isSetRegisterDateTime()) ? 131071 : 524287);
    if (isSetRegisterDateTime())
      hashCode = hashCode * 8191 + registerDateTime.hashCode();

    hashCode = hashCode * 8191 + ((isSetAuthedType()) ? 131071 : 524287);
    if (isSetAuthedType())
      hashCode = hashCode * 8191 + authedType.getValue();

    hashCode = hashCode * 8191 + ((isSetAuthedPercent()) ? 131071 : 524287);
    if (isSetAuthedPercent())
      hashCode = hashCode * 8191 + authedPercent.hashCode();

    hashCode = hashCode * 8191 + ((isSetAgentType()) ? 131071 : 524287);
    if (isSetAgentType())
      hashCode = hashCode * 8191 + agentType.getValue();

    hashCode = hashCode * 8191 + ((isSetMarketOne()) ? 131071 : 524287);
    if (isSetMarketOne())
      hashCode = hashCode * 8191 + marketOne.hashCode();

    hashCode = hashCode * 8191 + ((isSetUserImage()) ? 131071 : 524287);
    if (isSetUserImage())
      hashCode = hashCode * 8191 + userImage.hashCode();

    hashCode = hashCode * 8191 + ((isSetSex()) ? 131071 : 524287);
    if (isSetSex())
      hashCode = hashCode * 8191 + sex.getValue();

    hashCode = hashCode * 8191 + ((isSetSexString()) ? 131071 : 524287);
    if (isSetSexString())
      hashCode = hashCode * 8191 + sexString.hashCode();

    hashCode = hashCode * 8191 + ((isSetTrueName()) ? 131071 : 524287);
    if (isSetTrueName())
      hashCode = hashCode * 8191 + trueName.hashCode();

    return hashCode;
  }

  @Override
  public int compareTo(UserInfoStat other) {
    if (!getClass().equals(other.getClass())) {
      return getClass().getName().compareTo(other.getClass().getName());
    }

    int lastComparison = 0;

    lastComparison = Boolean.valueOf(isSetId()).compareTo(other.isSetId());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetId()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, other.id);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetLoginAccount()).compareTo(other.isSetLoginAccount());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetLoginAccount()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.loginAccount, other.loginAccount);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetNickName()).compareTo(other.isSetNickName());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetNickName()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nickName, other.nickName);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetRegisterDateTime()).compareTo(other.isSetRegisterDateTime());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetRegisterDateTime()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.registerDateTime, other.registerDateTime);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetAuthedType()).compareTo(other.isSetAuthedType());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetAuthedType()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.authedType, other.authedType);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetAuthedPercent()).compareTo(other.isSetAuthedPercent());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetAuthedPercent()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.authedPercent, other.authedPercent);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetAgentType()).compareTo(other.isSetAgentType());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetAgentType()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.agentType, other.agentType);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetMarketOne()).compareTo(other.isSetMarketOne());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetMarketOne()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.marketOne, other.marketOne);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetUserImage()).compareTo(other.isSetUserImage());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetUserImage()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userImage, other.userImage);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetSex()).compareTo(other.isSetSex());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetSex()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sex, other.sex);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetSexString()).compareTo(other.isSetSexString());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetSexString()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sexString, other.sexString);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = Boolean.valueOf(isSetTrueName()).compareTo(other.isSetTrueName());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetTrueName()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.trueName, other.trueName);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    return 0;
  }

  public _Fields fieldForId(int fieldId) {
    return _Fields.findByThriftId(fieldId);
  }

  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
    scheme(iprot).read(iprot, this);
  }

  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
    scheme(oprot).write(oprot, this);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder("UserInfoStat(");
    boolean first = true;

    sb.append("id:");
    if (this.id == null) {
      sb.append("null");
    } else {
      sb.append(this.id);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("loginAccount:");
    if (this.loginAccount == null) {
      sb.append("null");
    } else {
      sb.append(this.loginAccount);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("nickName:");
    if (this.nickName == null) {
      sb.append("null");
    } else {
      sb.append(this.nickName);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("registerDateTime:");
    if (this.registerDateTime == null) {
      sb.append("null");
    } else {
      sb.append(this.registerDateTime);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("authedType:");
    if (this.authedType == null) {
      sb.append("null");
    } else {
      sb.append(this.authedType);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("authedPercent:");
    if (this.authedPercent == null) {
      sb.append("null");
    } else {
      sb.append(this.authedPercent);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("agentType:");
    if (this.agentType == null) {
      sb.append("null");
    } else {
      sb.append(this.agentType);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("marketOne:");
    if (this.marketOne == null) {
      sb.append("null");
    } else {
      sb.append(this.marketOne);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("userImage:");
    if (this.userImage == null) {
      sb.append("null");
    } else {
      sb.append(this.userImage);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("sex:");
    if (this.sex == null) {
      sb.append("null");
    } else {
      sb.append(this.sex);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("sexString:");
    if (this.sexString == null) {
      sb.append("null");
    } else {
      sb.append(this.sexString);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("trueName:");
    if (this.trueName == null) {
      sb.append("null");
    } else {
      sb.append(this.trueName);
    }
    first = false;
    sb.append(")");
    return sb.toString();
  }

  public void validate() throws org.apache.thrift.TException {
    // check for required fields
    // check for sub-struct validity
  }

  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
    try {
      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
    } catch (org.apache.thrift.TException te) {
      throw new java.io.IOException(te);
    }
  }

  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
    try {
      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
    } catch (org.apache.thrift.TException te) {
      throw new java.io.IOException(te);
    }
  }

  private static class UserInfoStatStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
    public UserInfoStatStandardScheme getScheme() {
      return new UserInfoStatStandardScheme();
    }
  }

  private static class UserInfoStatStandardScheme extends org.apache.thrift.scheme.StandardScheme {

    public void read(org.apache.thrift.protocol.TProtocol iprot, UserInfoStat struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TField schemeField;
      iprot.readStructBegin();
      while (true)
      {
        schemeField = iprot.readFieldBegin();
        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
          break;
        }
        switch (schemeField.id) {
          case 1: // ID
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.id = iprot.readString();
              struct.setIdIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 2: // LOGIN_ACCOUNT
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.loginAccount = iprot.readString();
              struct.setLoginAccountIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 3: // NICK_NAME
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.nickName = iprot.readString();
              struct.setNickNameIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 4: // REGISTER_DATE_TIME
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.registerDateTime = iprot.readString();
              struct.setRegisterDateTimeIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 5: // AUTHED_TYPE
            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
              struct.authedType = AuthedType.findByValue(iprot.readI32());
              struct.setAuthedTypeIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 6: // AUTHED_PERCENT
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.authedPercent = iprot.readString();
              struct.setAuthedPercentIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 7: // AGENT_TYPE
            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
              struct.agentType = AgentType.findByValue(iprot.readI32());
              struct.setAgentTypeIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 8: // MARKET_ONE
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.marketOne = iprot.readString();
              struct.setMarketOneIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 9: // USER_IMAGE
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.userImage = iprot.readString();
              struct.setUserImageIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 10: // SEX
            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
              struct.sex = SexTypeEnum.findByValue(iprot.readI32());
              struct.setSexIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 11: // SEX_STRING
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.sexString = iprot.readString();
              struct.setSexStringIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 12: // TRUE_NAME
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.trueName = iprot.readString();
              struct.setTrueNameIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          default:
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
        }
        iprot.readFieldEnd();
      }
      iprot.readStructEnd();

      // check for required fields of primitive type, which can't be checked in the validate method
      struct.validate();
    }

    public void write(org.apache.thrift.protocol.TProtocol oprot, UserInfoStat struct) throws org.apache.thrift.TException {
      struct.validate();

      oprot.writeStructBegin(STRUCT_DESC);
      if (struct.id != null) {
        oprot.writeFieldBegin(ID_FIELD_DESC);
        oprot.writeString(struct.id);
        oprot.writeFieldEnd();
      }
      if (struct.loginAccount != null) {
        oprot.writeFieldBegin(LOGIN_ACCOUNT_FIELD_DESC);
        oprot.writeString(struct.loginAccount);
        oprot.writeFieldEnd();
      }
      if (struct.nickName != null) {
        oprot.writeFieldBegin(NICK_NAME_FIELD_DESC);
        oprot.writeString(struct.nickName);
        oprot.writeFieldEnd();
      }
      if (struct.registerDateTime != null) {
        oprot.writeFieldBegin(REGISTER_DATE_TIME_FIELD_DESC);
        oprot.writeString(struct.registerDateTime);
        oprot.writeFieldEnd();
      }
      if (struct.authedType != null) {
        oprot.writeFieldBegin(AUTHED_TYPE_FIELD_DESC);
        oprot.writeI32(struct.authedType.getValue());
        oprot.writeFieldEnd();
      }
      if (struct.authedPercent != null) {
        oprot.writeFieldBegin(AUTHED_PERCENT_FIELD_DESC);
        oprot.writeString(struct.authedPercent);
        oprot.writeFieldEnd();
      }
      if (struct.agentType != null) {
        oprot.writeFieldBegin(AGENT_TYPE_FIELD_DESC);
        oprot.writeI32(struct.agentType.getValue());
        oprot.writeFieldEnd();
      }
      if (struct.marketOne != null) {
        oprot.writeFieldBegin(MARKET_ONE_FIELD_DESC);
        oprot.writeString(struct.marketOne);
        oprot.writeFieldEnd();
      }
      if (struct.userImage != null) {
        oprot.writeFieldBegin(USER_IMAGE_FIELD_DESC);
        oprot.writeString(struct.userImage);
        oprot.writeFieldEnd();
      }
      if (struct.sex != null) {
        oprot.writeFieldBegin(SEX_FIELD_DESC);
        oprot.writeI32(struct.sex.getValue());
        oprot.writeFieldEnd();
      }
      if (struct.sexString != null) {
        oprot.writeFieldBegin(SEX_STRING_FIELD_DESC);
        oprot.writeString(struct.sexString);
        oprot.writeFieldEnd();
      }
      if (struct.trueName != null) {
        oprot.writeFieldBegin(TRUE_NAME_FIELD_DESC);
        oprot.writeString(struct.trueName);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldStop();
      oprot.writeStructEnd();
    }

  }

  private static class UserInfoStatTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
    public UserInfoStatTupleScheme getScheme() {
      return new UserInfoStatTupleScheme();
    }
  }

  private static class UserInfoStatTupleScheme extends org.apache.thrift.scheme.TupleScheme {

    @Override
    public void write(org.apache.thrift.protocol.TProtocol prot, UserInfoStat struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet optionals = new java.util.BitSet();
      if (struct.isSetId()) {
        optionals.set(0);
      }
      if (struct.isSetLoginAccount()) {
        optionals.set(1);
      }
      if (struct.isSetNickName()) {
        optionals.set(2);
      }
      if (struct.isSetRegisterDateTime()) {
        optionals.set(3);
      }
      if (struct.isSetAuthedType()) {
        optionals.set(4);
      }
      if (struct.isSetAuthedPercent()) {
        optionals.set(5);
      }
      if (struct.isSetAgentType()) {
        optionals.set(6);
      }
      if (struct.isSetMarketOne()) {
        optionals.set(7);
      }
      if (struct.isSetUserImage()) {
        optionals.set(8);
      }
      if (struct.isSetSex()) {
        optionals.set(9);
      }
      if (struct.isSetSexString()) {
        optionals.set(10);
      }
      if (struct.isSetTrueName()) {
        optionals.set(11);
      }
      oprot.writeBitSet(optionals, 12);
      if (struct.isSetId()) {
        oprot.writeString(struct.id);
      }
      if (struct.isSetLoginAccount()) {
        oprot.writeString(struct.loginAccount);
      }
      if (struct.isSetNickName()) {
        oprot.writeString(struct.nickName);
      }
      if (struct.isSetRegisterDateTime()) {
        oprot.writeString(struct.registerDateTime);
      }
      if (struct.isSetAuthedType()) {
        oprot.writeI32(struct.authedType.getValue());
      }
      if (struct.isSetAuthedPercent()) {
        oprot.writeString(struct.authedPercent);
      }
      if (struct.isSetAgentType()) {
        oprot.writeI32(struct.agentType.getValue());
      }
      if (struct.isSetMarketOne()) {
        oprot.writeString(struct.marketOne);
      }
      if (struct.isSetUserImage()) {
        oprot.writeString(struct.userImage);
      }
      if (struct.isSetSex()) {
        oprot.writeI32(struct.sex.getValue());
      }
      if (struct.isSetSexString()) {
        oprot.writeString(struct.sexString);
      }
      if (struct.isSetTrueName()) {
        oprot.writeString(struct.trueName);
      }
    }

    @Override
    public void read(org.apache.thrift.protocol.TProtocol prot, UserInfoStat struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet incoming = iprot.readBitSet(12);
      if (incoming.get(0)) {
        struct.id = iprot.readString();
        struct.setIdIsSet(true);
      }
      if (incoming.get(1)) {
        struct.loginAccount = iprot.readString();
        struct.setLoginAccountIsSet(true);
      }
      if (incoming.get(2)) {
        struct.nickName = iprot.readString();
        struct.setNickNameIsSet(true);
      }
      if (incoming.get(3)) {
        struct.registerDateTime = iprot.readString();
        struct.setRegisterDateTimeIsSet(true);
      }
      if (incoming.get(4)) {
        struct.authedType = AuthedType.findByValue(iprot.readI32());
        struct.setAuthedTypeIsSet(true);
      }
      if (incoming.get(5)) {
        struct.authedPercent = iprot.readString();
        struct.setAuthedPercentIsSet(true);
      }
      if (incoming.get(6)) {
        struct.agentType = AgentType.findByValue(iprot.readI32());
        struct.setAgentTypeIsSet(true);
      }
      if (incoming.get(7)) {
        struct.marketOne = iprot.readString();
        struct.setMarketOneIsSet(true);
      }
      if (incoming.get(8)) {
        struct.userImage = iprot.readString();
        struct.setUserImageIsSet(true);
      }
      if (incoming.get(9)) {
        struct.sex = SexTypeEnum.findByValue(iprot.readI32());
        struct.setSexIsSet(true);
      }
      if (incoming.get(10)) {
        struct.sexString = iprot.readString();
        struct.setSexStringIsSet(true);
      }
      if (incoming.get(11)) {
        struct.trueName = iprot.readString();
        struct.setTrueNameIsSet(true);
      }
    }
  }

  private static  S scheme(org.apache.thrift.protocol.TProtocol proto) {
    return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme();
  }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy