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

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

/**
 * Protobuf type {@code UgcNpcRank}
 */
public final class UgcNpcRank extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:UgcNpcRank)
    UgcNpcRankOrBuilder {
private static final long serialVersionUID = 0L;
  // Use UgcNpcRank.newBuilder() to construct.
  private UgcNpcRank(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private UgcNpcRank() {
    title_ = "";
    npcNickname_ = "";
    ugcNpcMetaGuid_ = "";
    ownerUserNickname_ = "";
    ownerUserGuid_ = "";
  }

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

  @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_UgcNpcRank_descriptor;
  }

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

  public static final int RANK_FIELD_NUMBER = 1;
  private int rank_ = 0;
  /**
   * <pre>
   * 현재 순위
   * </pre>
   *
   * <code>int32 rank = 1;</code>
   * @return The rank.
   */
  @java.lang.Override
  public int getRank() {
    return rank_;
  }

  public static final int TITLE_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private volatile java.lang.Object title_ = "";
  /**
   * <pre>
   * ugc npc 타이틀
   * </pre>
   *
   * <code>string title = 2;</code>
   * @return The title.
   */
  @java.lang.Override
  public java.lang.String getTitle() {
    java.lang.Object ref = title_;
    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();
      title_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * ugc npc 타이틀
   * </pre>
   *
   * <code>string title = 2;</code>
   * @return The bytes for title.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTitleBytes() {
    java.lang.Object ref = title_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      title_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int NPCNICKNAME_FIELD_NUMBER = 3;
  @SuppressWarnings("serial")
  private volatile java.lang.Object npcNickname_ = "";
  /**
   * <pre>
   * ugc npc 닉네임
   * </pre>
   *
   * <code>string npcNickname = 3;</code>
   * @return The npcNickname.
   */
  @java.lang.Override
  public java.lang.String getNpcNickname() {
    java.lang.Object ref = npcNickname_;
    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();
      npcNickname_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * ugc npc 닉네임
   * </pre>
   *
   * <code>string npcNickname = 3;</code>
   * @return The bytes for npcNickname.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getNpcNicknameBytes() {
    java.lang.Object ref = npcNickname_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      npcNickname_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int UGCNPCMETAGUID_FIELD_NUMBER = 4;
  @SuppressWarnings("serial")
  private volatile java.lang.Object ugcNpcMetaGuid_ = "";
  /**
   * <pre>
   * ugc npc meta guid
   * </pre>
   *
   * <code>string ugcNpcMetaGuid = 4;</code>
   * @return The ugcNpcMetaGuid.
   */
  @java.lang.Override
  public java.lang.String getUgcNpcMetaGuid() {
    java.lang.Object ref = ugcNpcMetaGuid_;
    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();
      ugcNpcMetaGuid_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * ugc npc meta guid
   * </pre>
   *
   * <code>string ugcNpcMetaGuid = 4;</code>
   * @return The bytes for ugcNpcMetaGuid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getUgcNpcMetaGuidBytes() {
    java.lang.Object ref = ugcNpcMetaGuid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      ugcNpcMetaGuid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int BODYITEMMETAID_FIELD_NUMBER = 5;
  private int bodyItemMetaId_ = 0;
  /**
   * <pre>
   * ugc npc body meta Id
   * </pre>
   *
   * <code>int32 bodyItemMetaId = 5;</code>
   * @return The bodyItemMetaId.
   */
  @java.lang.Override
  public int getBodyItemMetaId() {
    return bodyItemMetaId_;
  }

  public static final int OWNERUSERNICKNAME_FIELD_NUMBER = 6;
  @SuppressWarnings("serial")
  private volatile java.lang.Object ownerUserNickname_ = "";
  /**
   * <pre>
   * 소유주 닉네임
   * </pre>
   *
   * <code>string ownerUserNickname = 6;</code>
   * @return The ownerUserNickname.
   */
  @java.lang.Override
  public java.lang.String getOwnerUserNickname() {
    java.lang.Object ref = ownerUserNickname_;
    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();
      ownerUserNickname_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 소유주 닉네임
   * </pre>
   *
   * <code>string ownerUserNickname = 6;</code>
   * @return The bytes for ownerUserNickname.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOwnerUserNicknameBytes() {
    java.lang.Object ref = ownerUserNickname_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      ownerUserNickname_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int OWNERUSERGUID_FIELD_NUMBER = 7;
  @SuppressWarnings("serial")
  private volatile java.lang.Object ownerUserGuid_ = "";
  /**
   * <pre>
   * 소유주 UserGuid
   * </pre>
   *
   * <code>string ownerUserGuid = 7;</code>
   * @return The ownerUserGuid.
   */
  @java.lang.Override
  public java.lang.String getOwnerUserGuid() {
    java.lang.Object ref = ownerUserGuid_;
    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();
      ownerUserGuid_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 소유주 UserGuid
   * </pre>
   *
   * <code>string ownerUserGuid = 7;</code>
   * @return The bytes for ownerUserGuid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOwnerUserGuidBytes() {
    java.lang.Object ref = ownerUserGuid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      ownerUserGuid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SCORE_FIELD_NUMBER = 8;
  private int score_ = 0;
  /**
   * <pre>
   * ranking 지표
   * </pre>
   *
   * <code>int32 score = 8;</code>
   * @return The score.
   */
  @java.lang.Override
  public int getScore() {
    return score_;
  }

  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 (rank_ != 0) {
      output.writeInt32(1, rank_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, title_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(npcNickname_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, npcNickname_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcNpcMetaGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ugcNpcMetaGuid_);
    }
    if (bodyItemMetaId_ != 0) {
      output.writeInt32(5, bodyItemMetaId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserNickname_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, ownerUserNickname_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, ownerUserGuid_);
    }
    if (score_ != 0) {
      output.writeInt32(8, score_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (rank_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, rank_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, title_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(npcNickname_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, npcNickname_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcNpcMetaGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ugcNpcMetaGuid_);
    }
    if (bodyItemMetaId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(5, bodyItemMetaId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserNickname_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, ownerUserNickname_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerUserGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, ownerUserGuid_);
    }
    if (score_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(8, score_);
    }
    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.UgcNpcRank)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank other = (com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank) obj;

    if (getRank()
        != other.getRank()) return false;
    if (!getTitle()
        .equals(other.getTitle())) return false;
    if (!getNpcNickname()
        .equals(other.getNpcNickname())) return false;
    if (!getUgcNpcMetaGuid()
        .equals(other.getUgcNpcMetaGuid())) return false;
    if (getBodyItemMetaId()
        != other.getBodyItemMetaId()) return false;
    if (!getOwnerUserNickname()
        .equals(other.getOwnerUserNickname())) return false;
    if (!getOwnerUserGuid()
        .equals(other.getOwnerUserGuid())) return false;
    if (getScore()
        != other.getScore()) 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) + RANK_FIELD_NUMBER;
    hash = (53 * hash) + getRank();
    hash = (37 * hash) + TITLE_FIELD_NUMBER;
    hash = (53 * hash) + getTitle().hashCode();
    hash = (37 * hash) + NPCNICKNAME_FIELD_NUMBER;
    hash = (53 * hash) + getNpcNickname().hashCode();
    hash = (37 * hash) + UGCNPCMETAGUID_FIELD_NUMBER;
    hash = (53 * hash) + getUgcNpcMetaGuid().hashCode();
    hash = (37 * hash) + BODYITEMMETAID_FIELD_NUMBER;
    hash = (53 * hash) + getBodyItemMetaId();
    hash = (37 * hash) + OWNERUSERNICKNAME_FIELD_NUMBER;
    hash = (53 * hash) + getOwnerUserNickname().hashCode();
    hash = (37 * hash) + OWNERUSERGUID_FIELD_NUMBER;
    hash = (53 * hash) + getOwnerUserGuid().hashCode();
    hash = (37 * hash) + SCORE_FIELD_NUMBER;
    hash = (53 * hash) + getScore();
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank 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.UgcNpcRank parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank 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.UgcNpcRank parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank 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.UgcNpcRank 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.UgcNpcRank 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.UgcNpcRank 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.UgcNpcRank 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.UgcNpcRank 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.UgcNpcRank 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.UgcNpcRank 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 UgcNpcRank}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:UgcNpcRank)
      com.caliverse.admin.domain.RabbitMq.message.UgcNpcRankOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcRank_descriptor;
    }

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

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      rank_ = 0;
      title_ = "";
      npcNickname_ = "";
      ugcNpcMetaGuid_ = "";
      bodyItemMetaId_ = 0;
      ownerUserNickname_ = "";
      ownerUserGuid_ = "";
      score_ = 0;
      return this;
    }

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

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

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

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

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.rank_ = rank_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.title_ = title_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.npcNickname_ = npcNickname_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.ugcNpcMetaGuid_ = ugcNpcMetaGuid_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.bodyItemMetaId_ = bodyItemMetaId_;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.ownerUserNickname_ = ownerUserNickname_;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.ownerUserGuid_ = ownerUserGuid_;
      }
      if (((from_bitField0_ & 0x00000080) != 0)) {
        result.score_ = score_;
      }
    }

    @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.UgcNpcRank) {
        return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.UgcNpcRank.getDefaultInstance()) return this;
      if (other.getRank() != 0) {
        setRank(other.getRank());
      }
      if (!other.getTitle().isEmpty()) {
        title_ = other.title_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (!other.getNpcNickname().isEmpty()) {
        npcNickname_ = other.npcNickname_;
        bitField0_ |= 0x00000004;
        onChanged();
      }
      if (!other.getUgcNpcMetaGuid().isEmpty()) {
        ugcNpcMetaGuid_ = other.ugcNpcMetaGuid_;
        bitField0_ |= 0x00000008;
        onChanged();
      }
      if (other.getBodyItemMetaId() != 0) {
        setBodyItemMetaId(other.getBodyItemMetaId());
      }
      if (!other.getOwnerUserNickname().isEmpty()) {
        ownerUserNickname_ = other.ownerUserNickname_;
        bitField0_ |= 0x00000020;
        onChanged();
      }
      if (!other.getOwnerUserGuid().isEmpty()) {
        ownerUserGuid_ = other.ownerUserGuid_;
        bitField0_ |= 0x00000040;
        onChanged();
      }
      if (other.getScore() != 0) {
        setScore(other.getScore());
      }
      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: {
              rank_ = input.readInt32();
              bitField0_ |= 0x00000001;
              break;
            } // case 8
            case 18: {
              title_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 26: {
              npcNickname_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000004;
              break;
            } // case 26
            case 34: {
              ugcNpcMetaGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000008;
              break;
            } // case 34
            case 40: {
              bodyItemMetaId_ = input.readInt32();
              bitField0_ |= 0x00000010;
              break;
            } // case 40
            case 50: {
              ownerUserNickname_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000020;
              break;
            } // case 50
            case 58: {
              ownerUserGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000040;
              break;
            } // case 58
            case 64: {
              score_ = input.readInt32();
              bitField0_ |= 0x00000080;
              break;
            } // case 64
            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 rank_ ;
    /**
     * <pre>
     * 현재 순위
     * </pre>
     *
     * <code>int32 rank = 1;</code>
     * @return The rank.
     */
    @java.lang.Override
    public int getRank() {
      return rank_;
    }
    /**
     * <pre>
     * 현재 순위
     * </pre>
     *
     * <code>int32 rank = 1;</code>
     * @param value The rank to set.
     * @return This builder for chaining.
     */
    public Builder setRank(int value) {
      
      rank_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 현재 순위
     * </pre>
     *
     * <code>int32 rank = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearRank() {
      bitField0_ = (bitField0_ & ~0x00000001);
      rank_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object title_ = "";
    /**
     * <pre>
     * ugc npc 타이틀
     * </pre>
     *
     * <code>string title = 2;</code>
     * @return The title.
     */
    public java.lang.String getTitle() {
      java.lang.Object ref = title_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        title_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * ugc npc 타이틀
     * </pre>
     *
     * <code>string title = 2;</code>
     * @return The bytes for title.
     */
    public com.google.protobuf.ByteString
        getTitleBytes() {
      java.lang.Object ref = title_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        title_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * ugc npc 타이틀
     * </pre>
     *
     * <code>string title = 2;</code>
     * @param value The title to set.
     * @return This builder for chaining.
     */
    public Builder setTitle(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      title_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * ugc npc 타이틀
     * </pre>
     *
     * <code>string title = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearTitle() {
      title_ = getDefaultInstance().getTitle();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * ugc npc 타이틀
     * </pre>
     *
     * <code>string title = 2;</code>
     * @param value The bytes for title to set.
     * @return This builder for chaining.
     */
    public Builder setTitleBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      title_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    private java.lang.Object npcNickname_ = "";
    /**
     * <pre>
     * ugc npc 닉네임
     * </pre>
     *
     * <code>string npcNickname = 3;</code>
     * @return The npcNickname.
     */
    public java.lang.String getNpcNickname() {
      java.lang.Object ref = npcNickname_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        npcNickname_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * ugc npc 닉네임
     * </pre>
     *
     * <code>string npcNickname = 3;</code>
     * @return The bytes for npcNickname.
     */
    public com.google.protobuf.ByteString
        getNpcNicknameBytes() {
      java.lang.Object ref = npcNickname_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        npcNickname_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * ugc npc 닉네임
     * </pre>
     *
     * <code>string npcNickname = 3;</code>
     * @param value The npcNickname to set.
     * @return This builder for chaining.
     */
    public Builder setNpcNickname(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      npcNickname_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * ugc npc 닉네임
     * </pre>
     *
     * <code>string npcNickname = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearNpcNickname() {
      npcNickname_ = getDefaultInstance().getNpcNickname();
      bitField0_ = (bitField0_ & ~0x00000004);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * ugc npc 닉네임
     * </pre>
     *
     * <code>string npcNickname = 3;</code>
     * @param value The bytes for npcNickname to set.
     * @return This builder for chaining.
     */
    public Builder setNpcNicknameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      npcNickname_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }

    private java.lang.Object ugcNpcMetaGuid_ = "";
    /**
     * <pre>
     * ugc npc meta guid
     * </pre>
     *
     * <code>string ugcNpcMetaGuid = 4;</code>
     * @return The ugcNpcMetaGuid.
     */
    public java.lang.String getUgcNpcMetaGuid() {
      java.lang.Object ref = ugcNpcMetaGuid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ugcNpcMetaGuid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * ugc npc meta guid
     * </pre>
     *
     * <code>string ugcNpcMetaGuid = 4;</code>
     * @return The bytes for ugcNpcMetaGuid.
     */
    public com.google.protobuf.ByteString
        getUgcNpcMetaGuidBytes() {
      java.lang.Object ref = ugcNpcMetaGuid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ugcNpcMetaGuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * ugc npc meta guid
     * </pre>
     *
     * <code>string ugcNpcMetaGuid = 4;</code>
     * @param value The ugcNpcMetaGuid to set.
     * @return This builder for chaining.
     */
    public Builder setUgcNpcMetaGuid(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ugcNpcMetaGuid_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * ugc npc meta guid
     * </pre>
     *
     * <code>string ugcNpcMetaGuid = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearUgcNpcMetaGuid() {
      ugcNpcMetaGuid_ = getDefaultInstance().getUgcNpcMetaGuid();
      bitField0_ = (bitField0_ & ~0x00000008);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * ugc npc meta guid
     * </pre>
     *
     * <code>string ugcNpcMetaGuid = 4;</code>
     * @param value The bytes for ugcNpcMetaGuid to set.
     * @return This builder for chaining.
     */
    public Builder setUgcNpcMetaGuidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      ugcNpcMetaGuid_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }

    private int bodyItemMetaId_ ;
    /**
     * <pre>
     * ugc npc body meta Id
     * </pre>
     *
     * <code>int32 bodyItemMetaId = 5;</code>
     * @return The bodyItemMetaId.
     */
    @java.lang.Override
    public int getBodyItemMetaId() {
      return bodyItemMetaId_;
    }
    /**
     * <pre>
     * ugc npc body meta Id
     * </pre>
     *
     * <code>int32 bodyItemMetaId = 5;</code>
     * @param value The bodyItemMetaId to set.
     * @return This builder for chaining.
     */
    public Builder setBodyItemMetaId(int value) {
      
      bodyItemMetaId_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * ugc npc body meta Id
     * </pre>
     *
     * <code>int32 bodyItemMetaId = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearBodyItemMetaId() {
      bitField0_ = (bitField0_ & ~0x00000010);
      bodyItemMetaId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object ownerUserNickname_ = "";
    /**
     * <pre>
     * 소유주 닉네임
     * </pre>
     *
     * <code>string ownerUserNickname = 6;</code>
     * @return The ownerUserNickname.
     */
    public java.lang.String getOwnerUserNickname() {
      java.lang.Object ref = ownerUserNickname_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ownerUserNickname_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 소유주 닉네임
     * </pre>
     *
     * <code>string ownerUserNickname = 6;</code>
     * @return The bytes for ownerUserNickname.
     */
    public com.google.protobuf.ByteString
        getOwnerUserNicknameBytes() {
      java.lang.Object ref = ownerUserNickname_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ownerUserNickname_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 소유주 닉네임
     * </pre>
     *
     * <code>string ownerUserNickname = 6;</code>
     * @param value The ownerUserNickname to set.
     * @return This builder for chaining.
     */
    public Builder setOwnerUserNickname(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ownerUserNickname_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 소유주 닉네임
     * </pre>
     *
     * <code>string ownerUserNickname = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearOwnerUserNickname() {
      ownerUserNickname_ = getDefaultInstance().getOwnerUserNickname();
      bitField0_ = (bitField0_ & ~0x00000020);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 소유주 닉네임
     * </pre>
     *
     * <code>string ownerUserNickname = 6;</code>
     * @param value The bytes for ownerUserNickname to set.
     * @return This builder for chaining.
     */
    public Builder setOwnerUserNicknameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      ownerUserNickname_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }

    private java.lang.Object ownerUserGuid_ = "";
    /**
     * <pre>
     * 소유주 UserGuid
     * </pre>
     *
     * <code>string ownerUserGuid = 7;</code>
     * @return The ownerUserGuid.
     */
    public java.lang.String getOwnerUserGuid() {
      java.lang.Object ref = ownerUserGuid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ownerUserGuid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 소유주 UserGuid
     * </pre>
     *
     * <code>string ownerUserGuid = 7;</code>
     * @return The bytes for ownerUserGuid.
     */
    public com.google.protobuf.ByteString
        getOwnerUserGuidBytes() {
      java.lang.Object ref = ownerUserGuid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ownerUserGuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 소유주 UserGuid
     * </pre>
     *
     * <code>string ownerUserGuid = 7;</code>
     * @param value The ownerUserGuid to set.
     * @return This builder for chaining.
     */
    public Builder setOwnerUserGuid(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ownerUserGuid_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 소유주 UserGuid
     * </pre>
     *
     * <code>string ownerUserGuid = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearOwnerUserGuid() {
      ownerUserGuid_ = getDefaultInstance().getOwnerUserGuid();
      bitField0_ = (bitField0_ & ~0x00000040);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 소유주 UserGuid
     * </pre>
     *
     * <code>string ownerUserGuid = 7;</code>
     * @param value The bytes for ownerUserGuid to set.
     * @return This builder for chaining.
     */
    public Builder setOwnerUserGuidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      ownerUserGuid_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }

    private int score_ ;
    /**
     * <pre>
     * ranking 지표
     * </pre>
     *
     * <code>int32 score = 8;</code>
     * @return The score.
     */
    @java.lang.Override
    public int getScore() {
      return score_;
    }
    /**
     * <pre>
     * ranking 지표
     * </pre>
     *
     * <code>int32 score = 8;</code>
     * @param value The score to set.
     * @return This builder for chaining.
     */
    public Builder setScore(int value) {
      
      score_ = value;
      bitField0_ |= 0x00000080;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * ranking 지표
     * </pre>
     *
     * <code>int32 score = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearScore() {
      bitField0_ = (bitField0_ & ~0x00000080);
      score_ = 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:UgcNpcRank)
  }

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

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

  private static final com.google.protobuf.Parser<UgcNpcRank>
      PARSER = new com.google.protobuf.AbstractParser<UgcNpcRank>() {
    @java.lang.Override
    public UgcNpcRank 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<UgcNpcRank> parser() {
    return PARSER;
  }

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

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

}

