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

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

/**
 * Protobuf type {@code UgqNpcInfo}
 */
public final class UgqNpcInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:UgqNpcInfo)
    UgqNpcInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use UgqNpcInfo.newBuilder() to construct.
  private UgqNpcInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private UgqNpcInfo() {
    npcMetaGuid_ = "";
    ownerGuid_ = "";
    nickname_ = "";
    title_ = "";
    greeting_ = "";
    introduction_ = "";
    description_ = "";
    worldScenario_ = "";
    habitSocialActionMetaIds_ = emptyIntList();
    dialogueSocialActionMetaIds_ = emptyIntList();
    hashTagMetaIds_ = emptyIntList();
    state_ = 0;
    isRegisteredAiChatServer_ = 0;
  }

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

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

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

  public static final int NPCMETAGUID_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private volatile java.lang.Object npcMetaGuid_ = "";
  /**
   * <code>string npcMetaGuid = 1;</code>
   * @return The npcMetaGuid.
   */
  @java.lang.Override
  public java.lang.String getNpcMetaGuid() {
    java.lang.Object ref = npcMetaGuid_;
    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();
      npcMetaGuid_ = s;
      return s;
    }
  }
  /**
   * <code>string npcMetaGuid = 1;</code>
   * @return The bytes for npcMetaGuid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getNpcMetaGuidBytes() {
    java.lang.Object ref = npcMetaGuid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      npcMetaGuid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int OWNERGUID_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private volatile java.lang.Object ownerGuid_ = "";
  /**
   * <code>string ownerGuid = 2;</code>
   * @return The ownerGuid.
   */
  @java.lang.Override
  public java.lang.String getOwnerGuid() {
    java.lang.Object ref = ownerGuid_;
    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();
      ownerGuid_ = s;
      return s;
    }
  }
  /**
   * <code>string ownerGuid = 2;</code>
   * @return The bytes for ownerGuid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOwnerGuidBytes() {
    java.lang.Object ref = ownerGuid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      ownerGuid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int OWNERENTITYTYPE_FIELD_NUMBER = 3;
  private int ownerEntityType_ = 0;
  /**
   * <pre>
   *None = 0, User = 1, Character = 2, UgcNpc = 3
   * </pre>
   *
   * <code>int32 ownerEntityType = 3;</code>
   * @return The ownerEntityType.
   */
  @java.lang.Override
  public int getOwnerEntityType() {
    return ownerEntityType_;
  }

  public static final int NICKNAME_FIELD_NUMBER = 4;
  @SuppressWarnings("serial")
  private volatile java.lang.Object nickname_ = "";
  /**
   * <code>string nickname = 4;</code>
   * @return The nickname.
   */
  @java.lang.Override
  public java.lang.String getNickname() {
    java.lang.Object ref = nickname_;
    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();
      nickname_ = s;
      return s;
    }
  }
  /**
   * <code>string nickname = 4;</code>
   * @return The bytes for nickname.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getNicknameBytes() {
    java.lang.Object ref = nickname_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      nickname_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TITLE_FIELD_NUMBER = 5;
  @SuppressWarnings("serial")
  private volatile java.lang.Object title_ = "";
  /**
   * <code>string title = 5;</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;
    }
  }
  /**
   * <code>string title = 5;</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 GREETING_FIELD_NUMBER = 6;
  @SuppressWarnings("serial")
  private volatile java.lang.Object greeting_ = "";
  /**
   * <code>string greeting = 6;</code>
   * @return The greeting.
   */
  @java.lang.Override
  public java.lang.String getGreeting() {
    java.lang.Object ref = greeting_;
    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();
      greeting_ = s;
      return s;
    }
  }
  /**
   * <code>string greeting = 6;</code>
   * @return The bytes for greeting.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getGreetingBytes() {
    java.lang.Object ref = greeting_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      greeting_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INTRODUCTION_FIELD_NUMBER = 7;
  @SuppressWarnings("serial")
  private volatile java.lang.Object introduction_ = "";
  /**
   * <code>string introduction = 7;</code>
   * @return The introduction.
   */
  @java.lang.Override
  public java.lang.String getIntroduction() {
    java.lang.Object ref = introduction_;
    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();
      introduction_ = s;
      return s;
    }
  }
  /**
   * <code>string introduction = 7;</code>
   * @return The bytes for introduction.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getIntroductionBytes() {
    java.lang.Object ref = introduction_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      introduction_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DESCRIPTION_FIELD_NUMBER = 8;
  @SuppressWarnings("serial")
  private volatile java.lang.Object description_ = "";
  /**
   * <code>string description = 8;</code>
   * @return The description.
   */
  @java.lang.Override
  public java.lang.String getDescription() {
    java.lang.Object ref = description_;
    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();
      description_ = s;
      return s;
    }
  }
  /**
   * <code>string description = 8;</code>
   * @return The bytes for description.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDescriptionBytes() {
    java.lang.Object ref = description_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      description_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int WORLDSCENARIO_FIELD_NUMBER = 9;
  @SuppressWarnings("serial")
  private volatile java.lang.Object worldScenario_ = "";
  /**
   * <code>string worldScenario = 9;</code>
   * @return The worldScenario.
   */
  @java.lang.Override
  public java.lang.String getWorldScenario() {
    java.lang.Object ref = worldScenario_;
    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();
      worldScenario_ = s;
      return s;
    }
  }
  /**
   * <code>string worldScenario = 9;</code>
   * @return The bytes for worldScenario.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getWorldScenarioBytes() {
    java.lang.Object ref = worldScenario_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      worldScenario_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DEFAULTSOCIALACTIONMETAID_FIELD_NUMBER = 10;
  private int defaultSocialActionMetaId_ = 0;
  /**
   * <code>uint32 defaultSocialActionMetaId = 10;</code>
   * @return The defaultSocialActionMetaId.
   */
  @java.lang.Override
  public int getDefaultSocialActionMetaId() {
    return defaultSocialActionMetaId_;
  }

  public static final int HABITSOCIALACTIONMETAIDS_FIELD_NUMBER = 11;
  @SuppressWarnings("serial")
  private com.google.protobuf.Internal.IntList habitSocialActionMetaIds_;
  /**
   * <code>repeated uint32 habitSocialActionMetaIds = 11;</code>
   * @return A list containing the habitSocialActionMetaIds.
   */
  @java.lang.Override
  public java.util.List<java.lang.Integer>
      getHabitSocialActionMetaIdsList() {
    return habitSocialActionMetaIds_;
  }
  /**
   * <code>repeated uint32 habitSocialActionMetaIds = 11;</code>
   * @return The count of habitSocialActionMetaIds.
   */
  public int getHabitSocialActionMetaIdsCount() {
    return habitSocialActionMetaIds_.size();
  }
  /**
   * <code>repeated uint32 habitSocialActionMetaIds = 11;</code>
   * @param index The index of the element to return.
   * @return The habitSocialActionMetaIds at the given index.
   */
  public int getHabitSocialActionMetaIds(int index) {
    return habitSocialActionMetaIds_.getInt(index);
  }
  private int habitSocialActionMetaIdsMemoizedSerializedSize = -1;

  public static final int DIALOGUESOCIALACTIONMETAIDS_FIELD_NUMBER = 12;
  @SuppressWarnings("serial")
  private com.google.protobuf.Internal.IntList dialogueSocialActionMetaIds_;
  /**
   * <code>repeated uint32 DialogueSocialActionMetaIds = 12;</code>
   * @return A list containing the dialogueSocialActionMetaIds.
   */
  @java.lang.Override
  public java.util.List<java.lang.Integer>
      getDialogueSocialActionMetaIdsList() {
    return dialogueSocialActionMetaIds_;
  }
  /**
   * <code>repeated uint32 DialogueSocialActionMetaIds = 12;</code>
   * @return The count of dialogueSocialActionMetaIds.
   */
  public int getDialogueSocialActionMetaIdsCount() {
    return dialogueSocialActionMetaIds_.size();
  }
  /**
   * <code>repeated uint32 DialogueSocialActionMetaIds = 12;</code>
   * @param index The index of the element to return.
   * @return The dialogueSocialActionMetaIds at the given index.
   */
  public int getDialogueSocialActionMetaIds(int index) {
    return dialogueSocialActionMetaIds_.getInt(index);
  }
  private int dialogueSocialActionMetaIdsMemoizedSerializedSize = -1;

  public static final int BODYITEMMETAID_FIELD_NUMBER = 13;
  private int bodyItemMetaId_ = 0;
  /**
   * <code>uint32 bodyItemMetaId = 13;</code>
   * @return The bodyItemMetaId.
   */
  @java.lang.Override
  public int getBodyItemMetaId() {
    return bodyItemMetaId_;
  }

  public static final int HASHTAGMETAIDS_FIELD_NUMBER = 14;
  @SuppressWarnings("serial")
  private com.google.protobuf.Internal.IntList hashTagMetaIds_;
  /**
   * <code>repeated uint32 hashTagMetaIds = 14;</code>
   * @return A list containing the hashTagMetaIds.
   */
  @java.lang.Override
  public java.util.List<java.lang.Integer>
      getHashTagMetaIdsList() {
    return hashTagMetaIds_;
  }
  /**
   * <code>repeated uint32 hashTagMetaIds = 14;</code>
   * @return The count of hashTagMetaIds.
   */
  public int getHashTagMetaIdsCount() {
    return hashTagMetaIds_.size();
  }
  /**
   * <code>repeated uint32 hashTagMetaIds = 14;</code>
   * @param index The index of the element to return.
   * @return The hashTagMetaIds at the given index.
   */
  public int getHashTagMetaIds(int index) {
    return hashTagMetaIds_.getInt(index);
  }
  private int hashTagMetaIdsMemoizedSerializedSize = -1;

  public static final int STATE_FIELD_NUMBER = 15;
  private int state_ = 0;
  /**
   * <code>.EntityStateType state = 15;</code>
   * @return The enum numeric value on the wire for state.
   */
  @java.lang.Override public int getStateValue() {
    return state_;
  }
  /**
   * <code>.EntityStateType state = 15;</code>
   * @return The state.
   */
  @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.EntityStateType getState() {
    com.caliverse.admin.domain.RabbitMq.message.EntityStateType result = com.caliverse.admin.domain.RabbitMq.message.EntityStateType.forNumber(state_);
    return result == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateType.UNRECOGNIZED : result;
  }

  public static final int ISREGISTEREDAICHATSERVER_FIELD_NUMBER = 16;
  private int isRegisteredAiChatServer_ = 0;
  /**
   * <code>.BoolType isRegisteredAiChatServer = 16;</code>
   * @return The enum numeric value on the wire for isRegisteredAiChatServer.
   */
  @java.lang.Override public int getIsRegisteredAiChatServerValue() {
    return isRegisteredAiChatServer_;
  }
  /**
   * <code>.BoolType isRegisteredAiChatServer = 16;</code>
   * @return The isRegisteredAiChatServer.
   */
  @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsRegisteredAiChatServer() {
    com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isRegisteredAiChatServer_);
    return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result;
  }

  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 {
    getSerializedSize();
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(npcMetaGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, npcMetaGuid_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ownerGuid_);
    }
    if (ownerEntityType_ != 0) {
      output.writeInt32(3, ownerEntityType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, nickname_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, title_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(greeting_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, greeting_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(introduction_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, introduction_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, description_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(worldScenario_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, worldScenario_);
    }
    if (defaultSocialActionMetaId_ != 0) {
      output.writeUInt32(10, defaultSocialActionMetaId_);
    }
    if (getHabitSocialActionMetaIdsList().size() > 0) {
      output.writeUInt32NoTag(90);
      output.writeUInt32NoTag(habitSocialActionMetaIdsMemoizedSerializedSize);
    }
    for (int i = 0; i < habitSocialActionMetaIds_.size(); i++) {
      output.writeUInt32NoTag(habitSocialActionMetaIds_.getInt(i));
    }
    if (getDialogueSocialActionMetaIdsList().size() > 0) {
      output.writeUInt32NoTag(98);
      output.writeUInt32NoTag(dialogueSocialActionMetaIdsMemoizedSerializedSize);
    }
    for (int i = 0; i < dialogueSocialActionMetaIds_.size(); i++) {
      output.writeUInt32NoTag(dialogueSocialActionMetaIds_.getInt(i));
    }
    if (bodyItemMetaId_ != 0) {
      output.writeUInt32(13, bodyItemMetaId_);
    }
    if (getHashTagMetaIdsList().size() > 0) {
      output.writeUInt32NoTag(114);
      output.writeUInt32NoTag(hashTagMetaIdsMemoizedSerializedSize);
    }
    for (int i = 0; i < hashTagMetaIds_.size(); i++) {
      output.writeUInt32NoTag(hashTagMetaIds_.getInt(i));
    }
    if (state_ != com.caliverse.admin.domain.RabbitMq.message.EntityStateType.EntityStateType_None.getNumber()) {
      output.writeEnum(15, state_);
    }
    if (isRegisteredAiChatServer_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) {
      output.writeEnum(16, isRegisteredAiChatServer_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(npcMetaGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, npcMetaGuid_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ownerGuid_);
    }
    if (ownerEntityType_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(3, ownerEntityType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nickname_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, title_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(greeting_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, greeting_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(introduction_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, introduction_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, description_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(worldScenario_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, worldScenario_);
    }
    if (defaultSocialActionMetaId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(10, defaultSocialActionMetaId_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < habitSocialActionMetaIds_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeUInt32SizeNoTag(habitSocialActionMetaIds_.getInt(i));
      }
      size += dataSize;
      if (!getHabitSocialActionMetaIdsList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      habitSocialActionMetaIdsMemoizedSerializedSize = dataSize;
    }
    {
      int dataSize = 0;
      for (int i = 0; i < dialogueSocialActionMetaIds_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeUInt32SizeNoTag(dialogueSocialActionMetaIds_.getInt(i));
      }
      size += dataSize;
      if (!getDialogueSocialActionMetaIdsList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      dialogueSocialActionMetaIdsMemoizedSerializedSize = dataSize;
    }
    if (bodyItemMetaId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(13, bodyItemMetaId_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < hashTagMetaIds_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeUInt32SizeNoTag(hashTagMetaIds_.getInt(i));
      }
      size += dataSize;
      if (!getHashTagMetaIdsList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      hashTagMetaIdsMemoizedSerializedSize = dataSize;
    }
    if (state_ != com.caliverse.admin.domain.RabbitMq.message.EntityStateType.EntityStateType_None.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(15, state_);
    }
    if (isRegisteredAiChatServer_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(16, isRegisteredAiChatServer_);
    }
    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.UgqNpcInfo)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo other = (com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo) obj;

    if (!getNpcMetaGuid()
        .equals(other.getNpcMetaGuid())) return false;
    if (!getOwnerGuid()
        .equals(other.getOwnerGuid())) return false;
    if (getOwnerEntityType()
        != other.getOwnerEntityType()) return false;
    if (!getNickname()
        .equals(other.getNickname())) return false;
    if (!getTitle()
        .equals(other.getTitle())) return false;
    if (!getGreeting()
        .equals(other.getGreeting())) return false;
    if (!getIntroduction()
        .equals(other.getIntroduction())) return false;
    if (!getDescription()
        .equals(other.getDescription())) return false;
    if (!getWorldScenario()
        .equals(other.getWorldScenario())) return false;
    if (getDefaultSocialActionMetaId()
        != other.getDefaultSocialActionMetaId()) return false;
    if (!getHabitSocialActionMetaIdsList()
        .equals(other.getHabitSocialActionMetaIdsList())) return false;
    if (!getDialogueSocialActionMetaIdsList()
        .equals(other.getDialogueSocialActionMetaIdsList())) return false;
    if (getBodyItemMetaId()
        != other.getBodyItemMetaId()) return false;
    if (!getHashTagMetaIdsList()
        .equals(other.getHashTagMetaIdsList())) return false;
    if (state_ != other.state_) return false;
    if (isRegisteredAiChatServer_ != other.isRegisteredAiChatServer_) 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) + NPCMETAGUID_FIELD_NUMBER;
    hash = (53 * hash) + getNpcMetaGuid().hashCode();
    hash = (37 * hash) + OWNERGUID_FIELD_NUMBER;
    hash = (53 * hash) + getOwnerGuid().hashCode();
    hash = (37 * hash) + OWNERENTITYTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getOwnerEntityType();
    hash = (37 * hash) + NICKNAME_FIELD_NUMBER;
    hash = (53 * hash) + getNickname().hashCode();
    hash = (37 * hash) + TITLE_FIELD_NUMBER;
    hash = (53 * hash) + getTitle().hashCode();
    hash = (37 * hash) + GREETING_FIELD_NUMBER;
    hash = (53 * hash) + getGreeting().hashCode();
    hash = (37 * hash) + INTRODUCTION_FIELD_NUMBER;
    hash = (53 * hash) + getIntroduction().hashCode();
    hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
    hash = (53 * hash) + getDescription().hashCode();
    hash = (37 * hash) + WORLDSCENARIO_FIELD_NUMBER;
    hash = (53 * hash) + getWorldScenario().hashCode();
    hash = (37 * hash) + DEFAULTSOCIALACTIONMETAID_FIELD_NUMBER;
    hash = (53 * hash) + getDefaultSocialActionMetaId();
    if (getHabitSocialActionMetaIdsCount() > 0) {
      hash = (37 * hash) + HABITSOCIALACTIONMETAIDS_FIELD_NUMBER;
      hash = (53 * hash) + getHabitSocialActionMetaIdsList().hashCode();
    }
    if (getDialogueSocialActionMetaIdsCount() > 0) {
      hash = (37 * hash) + DIALOGUESOCIALACTIONMETAIDS_FIELD_NUMBER;
      hash = (53 * hash) + getDialogueSocialActionMetaIdsList().hashCode();
    }
    hash = (37 * hash) + BODYITEMMETAID_FIELD_NUMBER;
    hash = (53 * hash) + getBodyItemMetaId();
    if (getHashTagMetaIdsCount() > 0) {
      hash = (37 * hash) + HASHTAGMETAIDS_FIELD_NUMBER;
      hash = (53 * hash) + getHashTagMetaIdsList().hashCode();
    }
    hash = (37 * hash) + STATE_FIELD_NUMBER;
    hash = (53 * hash) + state_;
    hash = (37 * hash) + ISREGISTEREDAICHATSERVER_FIELD_NUMBER;
    hash = (53 * hash) + isRegisteredAiChatServer_;
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      npcMetaGuid_ = "";
      ownerGuid_ = "";
      ownerEntityType_ = 0;
      nickname_ = "";
      title_ = "";
      greeting_ = "";
      introduction_ = "";
      description_ = "";
      worldScenario_ = "";
      defaultSocialActionMetaId_ = 0;
      habitSocialActionMetaIds_ = emptyIntList();
      dialogueSocialActionMetaIds_ = emptyIntList();
      bodyItemMetaId_ = 0;
      hashTagMetaIds_ = emptyIntList();
      state_ = 0;
      isRegisteredAiChatServer_ = 0;
      return this;
    }

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

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

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

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

    private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo result) {
      if (((bitField0_ & 0x00000400) != 0)) {
        habitSocialActionMetaIds_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00000400);
      }
      result.habitSocialActionMetaIds_ = habitSocialActionMetaIds_;
      if (((bitField0_ & 0x00000800) != 0)) {
        dialogueSocialActionMetaIds_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00000800);
      }
      result.dialogueSocialActionMetaIds_ = dialogueSocialActionMetaIds_;
      if (((bitField0_ & 0x00002000) != 0)) {
        hashTagMetaIds_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00002000);
      }
      result.hashTagMetaIds_ = hashTagMetaIds_;
    }

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.npcMetaGuid_ = npcMetaGuid_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.ownerGuid_ = ownerGuid_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.ownerEntityType_ = ownerEntityType_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.nickname_ = nickname_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.title_ = title_;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.greeting_ = greeting_;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.introduction_ = introduction_;
      }
      if (((from_bitField0_ & 0x00000080) != 0)) {
        result.description_ = description_;
      }
      if (((from_bitField0_ & 0x00000100) != 0)) {
        result.worldScenario_ = worldScenario_;
      }
      if (((from_bitField0_ & 0x00000200) != 0)) {
        result.defaultSocialActionMetaId_ = defaultSocialActionMetaId_;
      }
      if (((from_bitField0_ & 0x00001000) != 0)) {
        result.bodyItemMetaId_ = bodyItemMetaId_;
      }
      if (((from_bitField0_ & 0x00004000) != 0)) {
        result.state_ = state_;
      }
      if (((from_bitField0_ & 0x00008000) != 0)) {
        result.isRegisteredAiChatServer_ = isRegisteredAiChatServer_;
      }
    }

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

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.UgqNpcInfo.getDefaultInstance()) return this;
      if (!other.getNpcMetaGuid().isEmpty()) {
        npcMetaGuid_ = other.npcMetaGuid_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (!other.getOwnerGuid().isEmpty()) {
        ownerGuid_ = other.ownerGuid_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (other.getOwnerEntityType() != 0) {
        setOwnerEntityType(other.getOwnerEntityType());
      }
      if (!other.getNickname().isEmpty()) {
        nickname_ = other.nickname_;
        bitField0_ |= 0x00000008;
        onChanged();
      }
      if (!other.getTitle().isEmpty()) {
        title_ = other.title_;
        bitField0_ |= 0x00000010;
        onChanged();
      }
      if (!other.getGreeting().isEmpty()) {
        greeting_ = other.greeting_;
        bitField0_ |= 0x00000020;
        onChanged();
      }
      if (!other.getIntroduction().isEmpty()) {
        introduction_ = other.introduction_;
        bitField0_ |= 0x00000040;
        onChanged();
      }
      if (!other.getDescription().isEmpty()) {
        description_ = other.description_;
        bitField0_ |= 0x00000080;
        onChanged();
      }
      if (!other.getWorldScenario().isEmpty()) {
        worldScenario_ = other.worldScenario_;
        bitField0_ |= 0x00000100;
        onChanged();
      }
      if (other.getDefaultSocialActionMetaId() != 0) {
        setDefaultSocialActionMetaId(other.getDefaultSocialActionMetaId());
      }
      if (!other.habitSocialActionMetaIds_.isEmpty()) {
        if (habitSocialActionMetaIds_.isEmpty()) {
          habitSocialActionMetaIds_ = other.habitSocialActionMetaIds_;
          bitField0_ = (bitField0_ & ~0x00000400);
        } else {
          ensureHabitSocialActionMetaIdsIsMutable();
          habitSocialActionMetaIds_.addAll(other.habitSocialActionMetaIds_);
        }
        onChanged();
      }
      if (!other.dialogueSocialActionMetaIds_.isEmpty()) {
        if (dialogueSocialActionMetaIds_.isEmpty()) {
          dialogueSocialActionMetaIds_ = other.dialogueSocialActionMetaIds_;
          bitField0_ = (bitField0_ & ~0x00000800);
        } else {
          ensureDialogueSocialActionMetaIdsIsMutable();
          dialogueSocialActionMetaIds_.addAll(other.dialogueSocialActionMetaIds_);
        }
        onChanged();
      }
      if (other.getBodyItemMetaId() != 0) {
        setBodyItemMetaId(other.getBodyItemMetaId());
      }
      if (!other.hashTagMetaIds_.isEmpty()) {
        if (hashTagMetaIds_.isEmpty()) {
          hashTagMetaIds_ = other.hashTagMetaIds_;
          bitField0_ = (bitField0_ & ~0x00002000);
        } else {
          ensureHashTagMetaIdsIsMutable();
          hashTagMetaIds_.addAll(other.hashTagMetaIds_);
        }
        onChanged();
      }
      if (other.state_ != 0) {
        setStateValue(other.getStateValue());
      }
      if (other.isRegisteredAiChatServer_ != 0) {
        setIsRegisteredAiChatServerValue(other.getIsRegisteredAiChatServerValue());
      }
      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 10: {
              npcMetaGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              ownerGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 24: {
              ownerEntityType_ = input.readInt32();
              bitField0_ |= 0x00000004;
              break;
            } // case 24
            case 34: {
              nickname_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000008;
              break;
            } // case 34
            case 42: {
              title_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000010;
              break;
            } // case 42
            case 50: {
              greeting_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000020;
              break;
            } // case 50
            case 58: {
              introduction_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000040;
              break;
            } // case 58
            case 66: {
              description_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000080;
              break;
            } // case 66
            case 74: {
              worldScenario_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000100;
              break;
            } // case 74
            case 80: {
              defaultSocialActionMetaId_ = input.readUInt32();
              bitField0_ |= 0x00000200;
              break;
            } // case 80
            case 88: {
              int v = input.readUInt32();
              ensureHabitSocialActionMetaIdsIsMutable();
              habitSocialActionMetaIds_.addInt(v);
              break;
            } // case 88
            case 90: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              ensureHabitSocialActionMetaIdsIsMutable();
              while (input.getBytesUntilLimit() > 0) {
                habitSocialActionMetaIds_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            } // case 90
            case 96: {
              int v = input.readUInt32();
              ensureDialogueSocialActionMetaIdsIsMutable();
              dialogueSocialActionMetaIds_.addInt(v);
              break;
            } // case 96
            case 98: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              ensureDialogueSocialActionMetaIdsIsMutable();
              while (input.getBytesUntilLimit() > 0) {
                dialogueSocialActionMetaIds_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            } // case 98
            case 104: {
              bodyItemMetaId_ = input.readUInt32();
              bitField0_ |= 0x00001000;
              break;
            } // case 104
            case 112: {
              int v = input.readUInt32();
              ensureHashTagMetaIdsIsMutable();
              hashTagMetaIds_.addInt(v);
              break;
            } // case 112
            case 114: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              ensureHashTagMetaIdsIsMutable();
              while (input.getBytesUntilLimit() > 0) {
                hashTagMetaIds_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            } // case 114
            case 120: {
              state_ = input.readEnum();
              bitField0_ |= 0x00004000;
              break;
            } // case 120
            case 128: {
              isRegisteredAiChatServer_ = input.readEnum();
              bitField0_ |= 0x00008000;
              break;
            } // case 128
            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 java.lang.Object npcMetaGuid_ = "";
    /**
     * <code>string npcMetaGuid = 1;</code>
     * @return The npcMetaGuid.
     */
    public java.lang.String getNpcMetaGuid() {
      java.lang.Object ref = npcMetaGuid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        npcMetaGuid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string npcMetaGuid = 1;</code>
     * @return The bytes for npcMetaGuid.
     */
    public com.google.protobuf.ByteString
        getNpcMetaGuidBytes() {
      java.lang.Object ref = npcMetaGuid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        npcMetaGuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string npcMetaGuid = 1;</code>
     * @param value The npcMetaGuid to set.
     * @return This builder for chaining.
     */
    public Builder setNpcMetaGuid(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      npcMetaGuid_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * <code>string npcMetaGuid = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearNpcMetaGuid() {
      npcMetaGuid_ = getDefaultInstance().getNpcMetaGuid();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * <code>string npcMetaGuid = 1;</code>
     * @param value The bytes for npcMetaGuid to set.
     * @return This builder for chaining.
     */
    public Builder setNpcMetaGuidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      npcMetaGuid_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    private java.lang.Object ownerGuid_ = "";
    /**
     * <code>string ownerGuid = 2;</code>
     * @return The ownerGuid.
     */
    public java.lang.String getOwnerGuid() {
      java.lang.Object ref = ownerGuid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ownerGuid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string ownerGuid = 2;</code>
     * @return The bytes for ownerGuid.
     */
    public com.google.protobuf.ByteString
        getOwnerGuidBytes() {
      java.lang.Object ref = ownerGuid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ownerGuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string ownerGuid = 2;</code>
     * @param value The ownerGuid to set.
     * @return This builder for chaining.
     */
    public Builder setOwnerGuid(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ownerGuid_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <code>string ownerGuid = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearOwnerGuid() {
      ownerGuid_ = getDefaultInstance().getOwnerGuid();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     * <code>string ownerGuid = 2;</code>
     * @param value The bytes for ownerGuid to set.
     * @return This builder for chaining.
     */
    public Builder setOwnerGuidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      ownerGuid_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    private int ownerEntityType_ ;
    /**
     * <pre>
     *None = 0, User = 1, Character = 2, UgcNpc = 3
     * </pre>
     *
     * <code>int32 ownerEntityType = 3;</code>
     * @return The ownerEntityType.
     */
    @java.lang.Override
    public int getOwnerEntityType() {
      return ownerEntityType_;
    }
    /**
     * <pre>
     *None = 0, User = 1, Character = 2, UgcNpc = 3
     * </pre>
     *
     * <code>int32 ownerEntityType = 3;</code>
     * @param value The ownerEntityType to set.
     * @return This builder for chaining.
     */
    public Builder setOwnerEntityType(int value) {
      
      ownerEntityType_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *None = 0, User = 1, Character = 2, UgcNpc = 3
     * </pre>
     *
     * <code>int32 ownerEntityType = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearOwnerEntityType() {
      bitField0_ = (bitField0_ & ~0x00000004);
      ownerEntityType_ = 0;
      onChanged();
      return this;
    }

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

    private java.lang.Object title_ = "";
    /**
     * <code>string title = 5;</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;
      }
    }
    /**
     * <code>string title = 5;</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;
      }
    }
    /**
     * <code>string title = 5;</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_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <code>string title = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearTitle() {
      title_ = getDefaultInstance().getTitle();
      bitField0_ = (bitField0_ & ~0x00000010);
      onChanged();
      return this;
    }
    /**
     * <code>string title = 5;</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_ |= 0x00000010;
      onChanged();
      return this;
    }

    private java.lang.Object greeting_ = "";
    /**
     * <code>string greeting = 6;</code>
     * @return The greeting.
     */
    public java.lang.String getGreeting() {
      java.lang.Object ref = greeting_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        greeting_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string greeting = 6;</code>
     * @return The bytes for greeting.
     */
    public com.google.protobuf.ByteString
        getGreetingBytes() {
      java.lang.Object ref = greeting_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        greeting_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string greeting = 6;</code>
     * @param value The greeting to set.
     * @return This builder for chaining.
     */
    public Builder setGreeting(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      greeting_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     * <code>string greeting = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearGreeting() {
      greeting_ = getDefaultInstance().getGreeting();
      bitField0_ = (bitField0_ & ~0x00000020);
      onChanged();
      return this;
    }
    /**
     * <code>string greeting = 6;</code>
     * @param value The bytes for greeting to set.
     * @return This builder for chaining.
     */
    public Builder setGreetingBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      greeting_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }

    private java.lang.Object introduction_ = "";
    /**
     * <code>string introduction = 7;</code>
     * @return The introduction.
     */
    public java.lang.String getIntroduction() {
      java.lang.Object ref = introduction_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        introduction_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string introduction = 7;</code>
     * @return The bytes for introduction.
     */
    public com.google.protobuf.ByteString
        getIntroductionBytes() {
      java.lang.Object ref = introduction_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        introduction_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string introduction = 7;</code>
     * @param value The introduction to set.
     * @return This builder for chaining.
     */
    public Builder setIntroduction(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      introduction_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     * <code>string introduction = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearIntroduction() {
      introduction_ = getDefaultInstance().getIntroduction();
      bitField0_ = (bitField0_ & ~0x00000040);
      onChanged();
      return this;
    }
    /**
     * <code>string introduction = 7;</code>
     * @param value The bytes for introduction to set.
     * @return This builder for chaining.
     */
    public Builder setIntroductionBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      introduction_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }

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

    private java.lang.Object worldScenario_ = "";
    /**
     * <code>string worldScenario = 9;</code>
     * @return The worldScenario.
     */
    public java.lang.String getWorldScenario() {
      java.lang.Object ref = worldScenario_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        worldScenario_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string worldScenario = 9;</code>
     * @return The bytes for worldScenario.
     */
    public com.google.protobuf.ByteString
        getWorldScenarioBytes() {
      java.lang.Object ref = worldScenario_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        worldScenario_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string worldScenario = 9;</code>
     * @param value The worldScenario to set.
     * @return This builder for chaining.
     */
    public Builder setWorldScenario(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      worldScenario_ = value;
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }
    /**
     * <code>string worldScenario = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearWorldScenario() {
      worldScenario_ = getDefaultInstance().getWorldScenario();
      bitField0_ = (bitField0_ & ~0x00000100);
      onChanged();
      return this;
    }
    /**
     * <code>string worldScenario = 9;</code>
     * @param value The bytes for worldScenario to set.
     * @return This builder for chaining.
     */
    public Builder setWorldScenarioBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      worldScenario_ = value;
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }

    private int defaultSocialActionMetaId_ ;
    /**
     * <code>uint32 defaultSocialActionMetaId = 10;</code>
     * @return The defaultSocialActionMetaId.
     */
    @java.lang.Override
    public int getDefaultSocialActionMetaId() {
      return defaultSocialActionMetaId_;
    }
    /**
     * <code>uint32 defaultSocialActionMetaId = 10;</code>
     * @param value The defaultSocialActionMetaId to set.
     * @return This builder for chaining.
     */
    public Builder setDefaultSocialActionMetaId(int value) {
      
      defaultSocialActionMetaId_ = value;
      bitField0_ |= 0x00000200;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 defaultSocialActionMetaId = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearDefaultSocialActionMetaId() {
      bitField0_ = (bitField0_ & ~0x00000200);
      defaultSocialActionMetaId_ = 0;
      onChanged();
      return this;
    }

    private com.google.protobuf.Internal.IntList habitSocialActionMetaIds_ = emptyIntList();
    private void ensureHabitSocialActionMetaIdsIsMutable() {
      if (!((bitField0_ & 0x00000400) != 0)) {
        habitSocialActionMetaIds_ = mutableCopy(habitSocialActionMetaIds_);
        bitField0_ |= 0x00000400;
      }
    }
    /**
     * <code>repeated uint32 habitSocialActionMetaIds = 11;</code>
     * @return A list containing the habitSocialActionMetaIds.
     */
    public java.util.List<java.lang.Integer>
        getHabitSocialActionMetaIdsList() {
      return ((bitField0_ & 0x00000400) != 0) ?
               java.util.Collections.unmodifiableList(habitSocialActionMetaIds_) : habitSocialActionMetaIds_;
    }
    /**
     * <code>repeated uint32 habitSocialActionMetaIds = 11;</code>
     * @return The count of habitSocialActionMetaIds.
     */
    public int getHabitSocialActionMetaIdsCount() {
      return habitSocialActionMetaIds_.size();
    }
    /**
     * <code>repeated uint32 habitSocialActionMetaIds = 11;</code>
     * @param index The index of the element to return.
     * @return The habitSocialActionMetaIds at the given index.
     */
    public int getHabitSocialActionMetaIds(int index) {
      return habitSocialActionMetaIds_.getInt(index);
    }
    /**
     * <code>repeated uint32 habitSocialActionMetaIds = 11;</code>
     * @param index The index to set the value at.
     * @param value The habitSocialActionMetaIds to set.
     * @return This builder for chaining.
     */
    public Builder setHabitSocialActionMetaIds(
        int index, int value) {
      
      ensureHabitSocialActionMetaIdsIsMutable();
      habitSocialActionMetaIds_.setInt(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 habitSocialActionMetaIds = 11;</code>
     * @param value The habitSocialActionMetaIds to add.
     * @return This builder for chaining.
     */
    public Builder addHabitSocialActionMetaIds(int value) {
      
      ensureHabitSocialActionMetaIdsIsMutable();
      habitSocialActionMetaIds_.addInt(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 habitSocialActionMetaIds = 11;</code>
     * @param values The habitSocialActionMetaIds to add.
     * @return This builder for chaining.
     */
    public Builder addAllHabitSocialActionMetaIds(
        java.lang.Iterable<? extends java.lang.Integer> values) {
      ensureHabitSocialActionMetaIdsIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, habitSocialActionMetaIds_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 habitSocialActionMetaIds = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearHabitSocialActionMetaIds() {
      habitSocialActionMetaIds_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000400);
      onChanged();
      return this;
    }

    private com.google.protobuf.Internal.IntList dialogueSocialActionMetaIds_ = emptyIntList();
    private void ensureDialogueSocialActionMetaIdsIsMutable() {
      if (!((bitField0_ & 0x00000800) != 0)) {
        dialogueSocialActionMetaIds_ = mutableCopy(dialogueSocialActionMetaIds_);
        bitField0_ |= 0x00000800;
      }
    }
    /**
     * <code>repeated uint32 DialogueSocialActionMetaIds = 12;</code>
     * @return A list containing the dialogueSocialActionMetaIds.
     */
    public java.util.List<java.lang.Integer>
        getDialogueSocialActionMetaIdsList() {
      return ((bitField0_ & 0x00000800) != 0) ?
               java.util.Collections.unmodifiableList(dialogueSocialActionMetaIds_) : dialogueSocialActionMetaIds_;
    }
    /**
     * <code>repeated uint32 DialogueSocialActionMetaIds = 12;</code>
     * @return The count of dialogueSocialActionMetaIds.
     */
    public int getDialogueSocialActionMetaIdsCount() {
      return dialogueSocialActionMetaIds_.size();
    }
    /**
     * <code>repeated uint32 DialogueSocialActionMetaIds = 12;</code>
     * @param index The index of the element to return.
     * @return The dialogueSocialActionMetaIds at the given index.
     */
    public int getDialogueSocialActionMetaIds(int index) {
      return dialogueSocialActionMetaIds_.getInt(index);
    }
    /**
     * <code>repeated uint32 DialogueSocialActionMetaIds = 12;</code>
     * @param index The index to set the value at.
     * @param value The dialogueSocialActionMetaIds to set.
     * @return This builder for chaining.
     */
    public Builder setDialogueSocialActionMetaIds(
        int index, int value) {
      
      ensureDialogueSocialActionMetaIdsIsMutable();
      dialogueSocialActionMetaIds_.setInt(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 DialogueSocialActionMetaIds = 12;</code>
     * @param value The dialogueSocialActionMetaIds to add.
     * @return This builder for chaining.
     */
    public Builder addDialogueSocialActionMetaIds(int value) {
      
      ensureDialogueSocialActionMetaIdsIsMutable();
      dialogueSocialActionMetaIds_.addInt(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 DialogueSocialActionMetaIds = 12;</code>
     * @param values The dialogueSocialActionMetaIds to add.
     * @return This builder for chaining.
     */
    public Builder addAllDialogueSocialActionMetaIds(
        java.lang.Iterable<? extends java.lang.Integer> values) {
      ensureDialogueSocialActionMetaIdsIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, dialogueSocialActionMetaIds_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 DialogueSocialActionMetaIds = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearDialogueSocialActionMetaIds() {
      dialogueSocialActionMetaIds_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000800);
      onChanged();
      return this;
    }

    private int bodyItemMetaId_ ;
    /**
     * <code>uint32 bodyItemMetaId = 13;</code>
     * @return The bodyItemMetaId.
     */
    @java.lang.Override
    public int getBodyItemMetaId() {
      return bodyItemMetaId_;
    }
    /**
     * <code>uint32 bodyItemMetaId = 13;</code>
     * @param value The bodyItemMetaId to set.
     * @return This builder for chaining.
     */
    public Builder setBodyItemMetaId(int value) {
      
      bodyItemMetaId_ = value;
      bitField0_ |= 0x00001000;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 bodyItemMetaId = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearBodyItemMetaId() {
      bitField0_ = (bitField0_ & ~0x00001000);
      bodyItemMetaId_ = 0;
      onChanged();
      return this;
    }

    private com.google.protobuf.Internal.IntList hashTagMetaIds_ = emptyIntList();
    private void ensureHashTagMetaIdsIsMutable() {
      if (!((bitField0_ & 0x00002000) != 0)) {
        hashTagMetaIds_ = mutableCopy(hashTagMetaIds_);
        bitField0_ |= 0x00002000;
      }
    }
    /**
     * <code>repeated uint32 hashTagMetaIds = 14;</code>
     * @return A list containing the hashTagMetaIds.
     */
    public java.util.List<java.lang.Integer>
        getHashTagMetaIdsList() {
      return ((bitField0_ & 0x00002000) != 0) ?
               java.util.Collections.unmodifiableList(hashTagMetaIds_) : hashTagMetaIds_;
    }
    /**
     * <code>repeated uint32 hashTagMetaIds = 14;</code>
     * @return The count of hashTagMetaIds.
     */
    public int getHashTagMetaIdsCount() {
      return hashTagMetaIds_.size();
    }
    /**
     * <code>repeated uint32 hashTagMetaIds = 14;</code>
     * @param index The index of the element to return.
     * @return The hashTagMetaIds at the given index.
     */
    public int getHashTagMetaIds(int index) {
      return hashTagMetaIds_.getInt(index);
    }
    /**
     * <code>repeated uint32 hashTagMetaIds = 14;</code>
     * @param index The index to set the value at.
     * @param value The hashTagMetaIds to set.
     * @return This builder for chaining.
     */
    public Builder setHashTagMetaIds(
        int index, int value) {
      
      ensureHashTagMetaIdsIsMutable();
      hashTagMetaIds_.setInt(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 hashTagMetaIds = 14;</code>
     * @param value The hashTagMetaIds to add.
     * @return This builder for chaining.
     */
    public Builder addHashTagMetaIds(int value) {
      
      ensureHashTagMetaIdsIsMutable();
      hashTagMetaIds_.addInt(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 hashTagMetaIds = 14;</code>
     * @param values The hashTagMetaIds to add.
     * @return This builder for chaining.
     */
    public Builder addAllHashTagMetaIds(
        java.lang.Iterable<? extends java.lang.Integer> values) {
      ensureHashTagMetaIdsIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, hashTagMetaIds_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 hashTagMetaIds = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearHashTagMetaIds() {
      hashTagMetaIds_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00002000);
      onChanged();
      return this;
    }

    private int state_ = 0;
    /**
     * <code>.EntityStateType state = 15;</code>
     * @return The enum numeric value on the wire for state.
     */
    @java.lang.Override public int getStateValue() {
      return state_;
    }
    /**
     * <code>.EntityStateType state = 15;</code>
     * @param value The enum numeric value on the wire for state to set.
     * @return This builder for chaining.
     */
    public Builder setStateValue(int value) {
      state_ = value;
      bitField0_ |= 0x00004000;
      onChanged();
      return this;
    }
    /**
     * <code>.EntityStateType state = 15;</code>
     * @return The state.
     */
    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.EntityStateType getState() {
      com.caliverse.admin.domain.RabbitMq.message.EntityStateType result = com.caliverse.admin.domain.RabbitMq.message.EntityStateType.forNumber(state_);
      return result == null ? com.caliverse.admin.domain.RabbitMq.message.EntityStateType.UNRECOGNIZED : result;
    }
    /**
     * <code>.EntityStateType state = 15;</code>
     * @param value The state to set.
     * @return This builder for chaining.
     */
    public Builder setState(com.caliverse.admin.domain.RabbitMq.message.EntityStateType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00004000;
      state_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <code>.EntityStateType state = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearState() {
      bitField0_ = (bitField0_ & ~0x00004000);
      state_ = 0;
      onChanged();
      return this;
    }

    private int isRegisteredAiChatServer_ = 0;
    /**
     * <code>.BoolType isRegisteredAiChatServer = 16;</code>
     * @return The enum numeric value on the wire for isRegisteredAiChatServer.
     */
    @java.lang.Override public int getIsRegisteredAiChatServerValue() {
      return isRegisteredAiChatServer_;
    }
    /**
     * <code>.BoolType isRegisteredAiChatServer = 16;</code>
     * @param value The enum numeric value on the wire for isRegisteredAiChatServer to set.
     * @return This builder for chaining.
     */
    public Builder setIsRegisteredAiChatServerValue(int value) {
      isRegisteredAiChatServer_ = value;
      bitField0_ |= 0x00008000;
      onChanged();
      return this;
    }
    /**
     * <code>.BoolType isRegisteredAiChatServer = 16;</code>
     * @return The isRegisteredAiChatServer.
     */
    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsRegisteredAiChatServer() {
      com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isRegisteredAiChatServer_);
      return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result;
    }
    /**
     * <code>.BoolType isRegisteredAiChatServer = 16;</code>
     * @param value The isRegisteredAiChatServer to set.
     * @return This builder for chaining.
     */
    public Builder setIsRegisteredAiChatServer(com.caliverse.admin.domain.RabbitMq.message.BoolType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00008000;
      isRegisteredAiChatServer_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <code>.BoolType isRegisteredAiChatServer = 16;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsRegisteredAiChatServer() {
      bitField0_ = (bitField0_ & ~0x00008000);
      isRegisteredAiChatServer_ = 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:UgqNpcInfo)
  }

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

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

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

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

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

}

