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

package com.caliverse.admin.domain.RabbitMq.message;

/**
 * Protobuf type {@code CharInfo}
 */
public final class CharInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:CharInfo)
    CharInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use CharInfo.newBuilder() to construct.
  private CharInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private CharInfo() {
    usergroup_ = "";
    displayName_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new CharInfo();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharInfo_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.caliverse.admin.domain.RabbitMq.message.CharInfo.class, com.caliverse.admin.domain.RabbitMq.message.CharInfo.Builder.class);
  }

  public static final int LEVEL_FIELD_NUMBER = 1;
  private int level_ = 0;
  /**
   * <code>int32 level = 1;</code>
   * @return The level.
   */
  @java.lang.Override
  public int getLevel() {
    return level_;
  }

  public static final int EXP_FIELD_NUMBER = 2;
  private long exp_ = 0L;
  /**
   * <code>int64 exp = 2;</code>
   * @return The exp.
   */
  @java.lang.Override
  public long getExp() {
    return exp_;
  }

  public static final int GOLD_FIELD_NUMBER = 3;
  private double gold_ = 0D;
  /**
   * <code>double gold = 3;</code>
   * @return The gold.
   */
  @java.lang.Override
  public double getGold() {
    return gold_;
  }

  public static final int SAPPHIRE_FIELD_NUMBER = 4;
  private double sapphire_ = 0D;
  /**
   * <code>double sapphire = 4;</code>
   * @return The sapphire.
   */
  @java.lang.Override
  public double getSapphire() {
    return sapphire_;
  }

  public static final int CALIUM_FIELD_NUMBER = 5;
  private double calium_ = 0D;
  /**
   * <code>double calium = 5;</code>
   * @return The calium.
   */
  @java.lang.Override
  public double getCalium() {
    return calium_;
  }

  public static final int BEAM_FIELD_NUMBER = 6;
  private double beam_ = 0D;
  /**
   * <code>double beam = 6;</code>
   * @return The beam.
   */
  @java.lang.Override
  public double getBeam() {
    return beam_;
  }

  public static final int RUBY_FIELD_NUMBER = 7;
  private double ruby_ = 0D;
  /**
   * <code>double ruby = 7;</code>
   * @return The ruby.
   */
  @java.lang.Override
  public double getRuby() {
    return ruby_;
  }

  public static final int USERGROUP_FIELD_NUMBER = 8;
  @SuppressWarnings("serial")
  private volatile java.lang.Object usergroup_ = "";
  /**
   * <code>string usergroup = 8;</code>
   * @return The usergroup.
   */
  @java.lang.Override
  public java.lang.String getUsergroup() {
    java.lang.Object ref = usergroup_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      usergroup_ = s;
      return s;
    }
  }
  /**
   * <code>string usergroup = 8;</code>
   * @return The bytes for usergroup.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getUsergroupBytes() {
    java.lang.Object ref = usergroup_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      usergroup_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int OPERATOR_FIELD_NUMBER = 9;
  private int operator_ = 0;
  /**
   * <code>int32 operator = 9;</code>
   * @return The operator.
   */
  @java.lang.Override
  public int getOperator() {
    return operator_;
  }

  public static final int DISPLAYNAME_FIELD_NUMBER = 10;
  @SuppressWarnings("serial")
  private volatile java.lang.Object displayName_ = "";
  /**
   * <code>string displayName = 10;</code>
   * @return The displayName.
   */
  @java.lang.Override
  public java.lang.String getDisplayName() {
    java.lang.Object ref = displayName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      displayName_ = s;
      return s;
    }
  }
  /**
   * <code>string displayName = 10;</code>
   * @return The bytes for displayName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDisplayNameBytes() {
    java.lang.Object ref = displayName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      displayName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LANGUAGEINFO_FIELD_NUMBER = 11;
  private int languageInfo_ = 0;
  /**
   * <code>int32 languageInfo = 11;</code>
   * @return The languageInfo.
   */
  @java.lang.Override
  public int getLanguageInfo() {
    return languageInfo_;
  }

  public static final int ISINTROCOMPLETE_FIELD_NUMBER = 12;
  private int isIntroComplete_ = 0;
  /**
   * <code>int32 isIntroComplete = 12;</code>
   * @return The isIntroComplete.
   */
  @java.lang.Override
  public int getIsIntroComplete() {
    return isIntroComplete_;
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (level_ != 0) {
      output.writeInt32(1, level_);
    }
    if (exp_ != 0L) {
      output.writeInt64(2, exp_);
    }
    if (java.lang.Double.doubleToRawLongBits(gold_) != 0) {
      output.writeDouble(3, gold_);
    }
    if (java.lang.Double.doubleToRawLongBits(sapphire_) != 0) {
      output.writeDouble(4, sapphire_);
    }
    if (java.lang.Double.doubleToRawLongBits(calium_) != 0) {
      output.writeDouble(5, calium_);
    }
    if (java.lang.Double.doubleToRawLongBits(beam_) != 0) {
      output.writeDouble(6, beam_);
    }
    if (java.lang.Double.doubleToRawLongBits(ruby_) != 0) {
      output.writeDouble(7, ruby_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(usergroup_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, usergroup_);
    }
    if (operator_ != 0) {
      output.writeInt32(9, operator_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, displayName_);
    }
    if (languageInfo_ != 0) {
      output.writeInt32(11, languageInfo_);
    }
    if (isIntroComplete_ != 0) {
      output.writeInt32(12, isIntroComplete_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (level_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, level_);
    }
    if (exp_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(2, exp_);
    }
    if (java.lang.Double.doubleToRawLongBits(gold_) != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeDoubleSize(3, gold_);
    }
    if (java.lang.Double.doubleToRawLongBits(sapphire_) != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeDoubleSize(4, sapphire_);
    }
    if (java.lang.Double.doubleToRawLongBits(calium_) != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeDoubleSize(5, calium_);
    }
    if (java.lang.Double.doubleToRawLongBits(beam_) != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeDoubleSize(6, beam_);
    }
    if (java.lang.Double.doubleToRawLongBits(ruby_) != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeDoubleSize(7, ruby_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(usergroup_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, usergroup_);
    }
    if (operator_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(9, operator_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, displayName_);
    }
    if (languageInfo_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(11, languageInfo_);
    }
    if (isIntroComplete_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(12, isIntroComplete_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.CharInfo)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.CharInfo other = (com.caliverse.admin.domain.RabbitMq.message.CharInfo) obj;

    if (getLevel()
        != other.getLevel()) return false;
    if (getExp()
        != other.getExp()) return false;
    if (java.lang.Double.doubleToLongBits(getGold())
        != java.lang.Double.doubleToLongBits(
            other.getGold())) return false;
    if (java.lang.Double.doubleToLongBits(getSapphire())
        != java.lang.Double.doubleToLongBits(
            other.getSapphire())) return false;
    if (java.lang.Double.doubleToLongBits(getCalium())
        != java.lang.Double.doubleToLongBits(
            other.getCalium())) return false;
    if (java.lang.Double.doubleToLongBits(getBeam())
        != java.lang.Double.doubleToLongBits(
            other.getBeam())) return false;
    if (java.lang.Double.doubleToLongBits(getRuby())
        != java.lang.Double.doubleToLongBits(
            other.getRuby())) return false;
    if (!getUsergroup()
        .equals(other.getUsergroup())) return false;
    if (getOperator()
        != other.getOperator()) return false;
    if (!getDisplayName()
        .equals(other.getDisplayName())) return false;
    if (getLanguageInfo()
        != other.getLanguageInfo()) return false;
    if (getIsIntroComplete()
        != other.getIsIntroComplete()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + LEVEL_FIELD_NUMBER;
    hash = (53 * hash) + getLevel();
    hash = (37 * hash) + EXP_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getExp());
    hash = (37 * hash) + GOLD_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        java.lang.Double.doubleToLongBits(getGold()));
    hash = (37 * hash) + SAPPHIRE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        java.lang.Double.doubleToLongBits(getSapphire()));
    hash = (37 * hash) + CALIUM_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        java.lang.Double.doubleToLongBits(getCalium()));
    hash = (37 * hash) + BEAM_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        java.lang.Double.doubleToLongBits(getBeam()));
    hash = (37 * hash) + RUBY_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        java.lang.Double.doubleToLongBits(getRuby()));
    hash = (37 * hash) + USERGROUP_FIELD_NUMBER;
    hash = (53 * hash) + getUsergroup().hashCode();
    hash = (37 * hash) + OPERATOR_FIELD_NUMBER;
    hash = (53 * hash) + getOperator();
    hash = (37 * hash) + DISPLAYNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDisplayName().hashCode();
    hash = (37 * hash) + LANGUAGEINFO_FIELD_NUMBER;
    hash = (53 * hash) + getLanguageInfo();
    hash = (37 * hash) + ISINTROCOMPLETE_FIELD_NUMBER;
    hash = (53 * hash) + getIsIntroComplete();
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.caliverse.admin.domain.RabbitMq.message.CharInfo prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code CharInfo}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:CharInfo)
      com.caliverse.admin.domain.RabbitMq.message.CharInfoOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.caliverse.admin.domain.RabbitMq.message.CharInfo.class, com.caliverse.admin.domain.RabbitMq.message.CharInfo.Builder.class);
    }

    // Construct using com.caliverse.admin.domain.RabbitMq.message.CharInfo.newBuilder()
    private Builder() {

    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      level_ = 0;
      exp_ = 0L;
      gold_ = 0D;
      sapphire_ = 0D;
      calium_ = 0D;
      beam_ = 0D;
      ruby_ = 0D;
      usergroup_ = "";
      operator_ = 0;
      displayName_ = "";
      languageInfo_ = 0;
      isIntroComplete_ = 0;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CharInfo_descriptor;
    }

    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.CharInfo getDefaultInstanceForType() {
      return com.caliverse.admin.domain.RabbitMq.message.CharInfo.getDefaultInstance();
    }

    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.CharInfo build() {
      com.caliverse.admin.domain.RabbitMq.message.CharInfo result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.CharInfo buildPartial() {
      com.caliverse.admin.domain.RabbitMq.message.CharInfo result = new com.caliverse.admin.domain.RabbitMq.message.CharInfo(this);
      if (bitField0_ != 0) { buildPartial0(result); }
      onBuilt();
      return result;
    }

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.CharInfo result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.level_ = level_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.exp_ = exp_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.gold_ = gold_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.sapphire_ = sapphire_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.calium_ = calium_;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.beam_ = beam_;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.ruby_ = ruby_;
      }
      if (((from_bitField0_ & 0x00000080) != 0)) {
        result.usergroup_ = usergroup_;
      }
      if (((from_bitField0_ & 0x00000100) != 0)) {
        result.operator_ = operator_;
      }
      if (((from_bitField0_ & 0x00000200) != 0)) {
        result.displayName_ = displayName_;
      }
      if (((from_bitField0_ & 0x00000400) != 0)) {
        result.languageInfo_ = languageInfo_;
      }
      if (((from_bitField0_ & 0x00000800) != 0)) {
        result.isIntroComplete_ = isIntroComplete_;
      }
    }

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

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.CharInfo other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.CharInfo.getDefaultInstance()) return this;
      if (other.getLevel() != 0) {
        setLevel(other.getLevel());
      }
      if (other.getExp() != 0L) {
        setExp(other.getExp());
      }
      if (other.getGold() != 0D) {
        setGold(other.getGold());
      }
      if (other.getSapphire() != 0D) {
        setSapphire(other.getSapphire());
      }
      if (other.getCalium() != 0D) {
        setCalium(other.getCalium());
      }
      if (other.getBeam() != 0D) {
        setBeam(other.getBeam());
      }
      if (other.getRuby() != 0D) {
        setRuby(other.getRuby());
      }
      if (!other.getUsergroup().isEmpty()) {
        usergroup_ = other.usergroup_;
        bitField0_ |= 0x00000080;
        onChanged();
      }
      if (other.getOperator() != 0) {
        setOperator(other.getOperator());
      }
      if (!other.getDisplayName().isEmpty()) {
        displayName_ = other.displayName_;
        bitField0_ |= 0x00000200;
        onChanged();
      }
      if (other.getLanguageInfo() != 0) {
        setLanguageInfo(other.getLanguageInfo());
      }
      if (other.getIsIntroComplete() != 0) {
        setIsIntroComplete(other.getIsIntroComplete());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }

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

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {
              level_ = input.readInt32();
              bitField0_ |= 0x00000001;
              break;
            } // case 8
            case 16: {
              exp_ = input.readInt64();
              bitField0_ |= 0x00000002;
              break;
            } // case 16
            case 25: {
              gold_ = input.readDouble();
              bitField0_ |= 0x00000004;
              break;
            } // case 25
            case 33: {
              sapphire_ = input.readDouble();
              bitField0_ |= 0x00000008;
              break;
            } // case 33
            case 41: {
              calium_ = input.readDouble();
              bitField0_ |= 0x00000010;
              break;
            } // case 41
            case 49: {
              beam_ = input.readDouble();
              bitField0_ |= 0x00000020;
              break;
            } // case 49
            case 57: {
              ruby_ = input.readDouble();
              bitField0_ |= 0x00000040;
              break;
            } // case 57
            case 66: {
              usergroup_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000080;
              break;
            } // case 66
            case 72: {
              operator_ = input.readInt32();
              bitField0_ |= 0x00000100;
              break;
            } // case 72
            case 82: {
              displayName_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000200;
              break;
            } // case 82
            case 88: {
              languageInfo_ = input.readInt32();
              bitField0_ |= 0x00000400;
              break;
            } // case 88
            case 96: {
              isIntroComplete_ = input.readInt32();
              bitField0_ |= 0x00000800;
              break;
            } // case 96
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int bitField0_;

    private int level_ ;
    /**
     * <code>int32 level = 1;</code>
     * @return The level.
     */
    @java.lang.Override
    public int getLevel() {
      return level_;
    }
    /**
     * <code>int32 level = 1;</code>
     * @param value The level to set.
     * @return This builder for chaining.
     */
    public Builder setLevel(int value) {
      
      level_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * <code>int32 level = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearLevel() {
      bitField0_ = (bitField0_ & ~0x00000001);
      level_ = 0;
      onChanged();
      return this;
    }

    private long exp_ ;
    /**
     * <code>int64 exp = 2;</code>
     * @return The exp.
     */
    @java.lang.Override
    public long getExp() {
      return exp_;
    }
    /**
     * <code>int64 exp = 2;</code>
     * @param value The exp to set.
     * @return This builder for chaining.
     */
    public Builder setExp(long value) {
      
      exp_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <code>int64 exp = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearExp() {
      bitField0_ = (bitField0_ & ~0x00000002);
      exp_ = 0L;
      onChanged();
      return this;
    }

    private double gold_ ;
    /**
     * <code>double gold = 3;</code>
     * @return The gold.
     */
    @java.lang.Override
    public double getGold() {
      return gold_;
    }
    /**
     * <code>double gold = 3;</code>
     * @param value The gold to set.
     * @return This builder for chaining.
     */
    public Builder setGold(double value) {
      
      gold_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <code>double gold = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearGold() {
      bitField0_ = (bitField0_ & ~0x00000004);
      gold_ = 0D;
      onChanged();
      return this;
    }

    private double sapphire_ ;
    /**
     * <code>double sapphire = 4;</code>
     * @return The sapphire.
     */
    @java.lang.Override
    public double getSapphire() {
      return sapphire_;
    }
    /**
     * <code>double sapphire = 4;</code>
     * @param value The sapphire to set.
     * @return This builder for chaining.
     */
    public Builder setSapphire(double value) {
      
      sapphire_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <code>double sapphire = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearSapphire() {
      bitField0_ = (bitField0_ & ~0x00000008);
      sapphire_ = 0D;
      onChanged();
      return this;
    }

    private double calium_ ;
    /**
     * <code>double calium = 5;</code>
     * @return The calium.
     */
    @java.lang.Override
    public double getCalium() {
      return calium_;
    }
    /**
     * <code>double calium = 5;</code>
     * @param value The calium to set.
     * @return This builder for chaining.
     */
    public Builder setCalium(double value) {
      
      calium_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <code>double calium = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearCalium() {
      bitField0_ = (bitField0_ & ~0x00000010);
      calium_ = 0D;
      onChanged();
      return this;
    }

    private double beam_ ;
    /**
     * <code>double beam = 6;</code>
     * @return The beam.
     */
    @java.lang.Override
    public double getBeam() {
      return beam_;
    }
    /**
     * <code>double beam = 6;</code>
     * @param value The beam to set.
     * @return This builder for chaining.
     */
    public Builder setBeam(double value) {
      
      beam_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     * <code>double beam = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearBeam() {
      bitField0_ = (bitField0_ & ~0x00000020);
      beam_ = 0D;
      onChanged();
      return this;
    }

    private double ruby_ ;
    /**
     * <code>double ruby = 7;</code>
     * @return The ruby.
     */
    @java.lang.Override
    public double getRuby() {
      return ruby_;
    }
    /**
     * <code>double ruby = 7;</code>
     * @param value The ruby to set.
     * @return This builder for chaining.
     */
    public Builder setRuby(double value) {
      
      ruby_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     * <code>double ruby = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearRuby() {
      bitField0_ = (bitField0_ & ~0x00000040);
      ruby_ = 0D;
      onChanged();
      return this;
    }

    private java.lang.Object usergroup_ = "";
    /**
     * <code>string usergroup = 8;</code>
     * @return The usergroup.
     */
    public java.lang.String getUsergroup() {
      java.lang.Object ref = usergroup_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        usergroup_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string usergroup = 8;</code>
     * @return The bytes for usergroup.
     */
    public com.google.protobuf.ByteString
        getUsergroupBytes() {
      java.lang.Object ref = usergroup_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        usergroup_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string usergroup = 8;</code>
     * @param value The usergroup to set.
     * @return This builder for chaining.
     */
    public Builder setUsergroup(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      usergroup_ = value;
      bitField0_ |= 0x00000080;
      onChanged();
      return this;
    }
    /**
     * <code>string usergroup = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearUsergroup() {
      usergroup_ = getDefaultInstance().getUsergroup();
      bitField0_ = (bitField0_ & ~0x00000080);
      onChanged();
      return this;
    }
    /**
     * <code>string usergroup = 8;</code>
     * @param value The bytes for usergroup to set.
     * @return This builder for chaining.
     */
    public Builder setUsergroupBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      usergroup_ = value;
      bitField0_ |= 0x00000080;
      onChanged();
      return this;
    }

    private int operator_ ;
    /**
     * <code>int32 operator = 9;</code>
     * @return The operator.
     */
    @java.lang.Override
    public int getOperator() {
      return operator_;
    }
    /**
     * <code>int32 operator = 9;</code>
     * @param value The operator to set.
     * @return This builder for chaining.
     */
    public Builder setOperator(int value) {
      
      operator_ = value;
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }
    /**
     * <code>int32 operator = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearOperator() {
      bitField0_ = (bitField0_ & ~0x00000100);
      operator_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object displayName_ = "";
    /**
     * <code>string displayName = 10;</code>
     * @return The displayName.
     */
    public java.lang.String getDisplayName() {
      java.lang.Object ref = displayName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        displayName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string displayName = 10;</code>
     * @return The bytes for displayName.
     */
    public com.google.protobuf.ByteString
        getDisplayNameBytes() {
      java.lang.Object ref = displayName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        displayName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string displayName = 10;</code>
     * @param value The displayName to set.
     * @return This builder for chaining.
     */
    public Builder setDisplayName(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      displayName_ = value;
      bitField0_ |= 0x00000200;
      onChanged();
      return this;
    }
    /**
     * <code>string displayName = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearDisplayName() {
      displayName_ = getDefaultInstance().getDisplayName();
      bitField0_ = (bitField0_ & ~0x00000200);
      onChanged();
      return this;
    }
    /**
     * <code>string displayName = 10;</code>
     * @param value The bytes for displayName to set.
     * @return This builder for chaining.
     */
    public Builder setDisplayNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      displayName_ = value;
      bitField0_ |= 0x00000200;
      onChanged();
      return this;
    }

    private int languageInfo_ ;
    /**
     * <code>int32 languageInfo = 11;</code>
     * @return The languageInfo.
     */
    @java.lang.Override
    public int getLanguageInfo() {
      return languageInfo_;
    }
    /**
     * <code>int32 languageInfo = 11;</code>
     * @param value The languageInfo to set.
     * @return This builder for chaining.
     */
    public Builder setLanguageInfo(int value) {
      
      languageInfo_ = value;
      bitField0_ |= 0x00000400;
      onChanged();
      return this;
    }
    /**
     * <code>int32 languageInfo = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearLanguageInfo() {
      bitField0_ = (bitField0_ & ~0x00000400);
      languageInfo_ = 0;
      onChanged();
      return this;
    }

    private int isIntroComplete_ ;
    /**
     * <code>int32 isIntroComplete = 12;</code>
     * @return The isIntroComplete.
     */
    @java.lang.Override
    public int getIsIntroComplete() {
      return isIntroComplete_;
    }
    /**
     * <code>int32 isIntroComplete = 12;</code>
     * @param value The isIntroComplete to set.
     * @return This builder for chaining.
     */
    public Builder setIsIntroComplete(int value) {
      
      isIntroComplete_ = value;
      bitField0_ |= 0x00000800;
      onChanged();
      return this;
    }
    /**
     * <code>int32 isIntroComplete = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsIntroComplete() {
      bitField0_ = (bitField0_ & ~0x00000800);
      isIntroComplete_ = 0;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:CharInfo)
  }

  // @@protoc_insertion_point(class_scope:CharInfo)
  private static final com.caliverse.admin.domain.RabbitMq.message.CharInfo DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.CharInfo();
  }

  public static com.caliverse.admin.domain.RabbitMq.message.CharInfo getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<CharInfo>
      PARSER = new com.google.protobuf.AbstractParser<CharInfo>() {
    @java.lang.Override
    public CharInfo parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      Builder builder = newBuilder();
      try {
        builder.mergeFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(builder.buildPartial());
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(e)
            .setUnfinishedMessage(builder.buildPartial());
      }
      return builder.buildPartial();
    }
  };

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

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

  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.CharInfo getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

