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

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

/**
 * Protobuf type {@code UgqBoardItemDetail}
 */
public final class UgqBoardItemDetail extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:UgqBoardItemDetail)
    UgqBoardItemDetailOrBuilder {
private static final long serialVersionUID = 0L;
  // Use UgqBoardItemDetail.newBuilder() to construct.
  private UgqBoardItemDetail(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private UgqBoardItemDetail() {
    title_ = "";
    titleImagePath_ = "";
    author_ = "";
    description_ = "";
    langs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    beacon_ = "";
    liked_ = 0;
    bookmarked_ = 0;
    gradeType_ = 0;
  }

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

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

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

  private int bitField0_;
  public static final int COMPOSEDQUESTID_FIELD_NUMBER = 1;
  private long composedQuestId_ = 0L;
  /**
   * <pre>
   *UgqQuestId ugqQuestId = 1;
   * </pre>
   *
   * <code>int64 composedQuestId = 1;</code>
   * @return The composedQuestId.
   */
  @java.lang.Override
  public long getComposedQuestId() {
    return composedQuestId_;
  }

  public static final int TITLE_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private volatile java.lang.Object title_ = "";
  /**
   * <code>optional string title = 2;</code>
   * @return Whether the title field is set.
   */
  @java.lang.Override
  public boolean hasTitle() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * <code>optional 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;
    }
  }
  /**
   * <code>optional 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 TITLEIMAGEPATH_FIELD_NUMBER = 3;
  @SuppressWarnings("serial")
  private volatile java.lang.Object titleImagePath_ = "";
  /**
   * <code>optional string titleImagePath = 3;</code>
   * @return Whether the titleImagePath field is set.
   */
  @java.lang.Override
  public boolean hasTitleImagePath() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * <code>optional string titleImagePath = 3;</code>
   * @return The titleImagePath.
   */
  @java.lang.Override
  public java.lang.String getTitleImagePath() {
    java.lang.Object ref = titleImagePath_;
    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();
      titleImagePath_ = s;
      return s;
    }
  }
  /**
   * <code>optional string titleImagePath = 3;</code>
   * @return The bytes for titleImagePath.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTitleImagePathBytes() {
    java.lang.Object ref = titleImagePath_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      titleImagePath_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LIKECOUNT_FIELD_NUMBER = 4;
  private int likeCount_ = 0;
  /**
   * <code>int32 likeCount = 4;</code>
   * @return The likeCount.
   */
  @java.lang.Override
  public int getLikeCount() {
    return likeCount_;
  }

  public static final int BOOKMARKCOUNT_FIELD_NUMBER = 5;
  private int bookmarkCount_ = 0;
  /**
   * <code>int32 bookmarkCount = 5;</code>
   * @return The bookmarkCount.
   */
  @java.lang.Override
  public int getBookmarkCount() {
    return bookmarkCount_;
  }

  public static final int AUTHOR_FIELD_NUMBER = 6;
  @SuppressWarnings("serial")
  private volatile java.lang.Object author_ = "";
  /**
   * <code>optional string author = 6;</code>
   * @return Whether the author field is set.
   */
  @java.lang.Override
  public boolean hasAuthor() {
    return ((bitField0_ & 0x00000004) != 0);
  }
  /**
   * <code>optional string author = 6;</code>
   * @return The author.
   */
  @java.lang.Override
  public java.lang.String getAuthor() {
    java.lang.Object ref = author_;
    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();
      author_ = s;
      return s;
    }
  }
  /**
   * <code>optional string author = 6;</code>
   * @return The bytes for author.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAuthorBytes() {
    java.lang.Object ref = author_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      author_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DESCRIPTION_FIELD_NUMBER = 7;
  @SuppressWarnings("serial")
  private volatile java.lang.Object description_ = "";
  /**
   * <code>optional string description = 7;</code>
   * @return Whether the description field is set.
   */
  @java.lang.Override
  public boolean hasDescription() {
    return ((bitField0_ & 0x00000008) != 0);
  }
  /**
   * <code>optional string description = 7;</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>optional string description = 7;</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 LANGS_FIELD_NUMBER = 8;
  @SuppressWarnings("serial")
  private com.google.protobuf.LazyStringList langs_;
  /**
   * <code>repeated string langs = 8;</code>
   * @return A list containing the langs.
   */
  public com.google.protobuf.ProtocolStringList
      getLangsList() {
    return langs_;
  }
  /**
   * <code>repeated string langs = 8;</code>
   * @return The count of langs.
   */
  public int getLangsCount() {
    return langs_.size();
  }
  /**
   * <code>repeated string langs = 8;</code>
   * @param index The index of the element to return.
   * @return The langs at the given index.
   */
  public java.lang.String getLangs(int index) {
    return langs_.get(index);
  }
  /**
   * <code>repeated string langs = 8;</code>
   * @param index The index of the value to return.
   * @return The bytes of the langs at the given index.
   */
  public com.google.protobuf.ByteString
      getLangsBytes(int index) {
    return langs_.getByteString(index);
  }

  public static final int BEACON_FIELD_NUMBER = 9;
  @SuppressWarnings("serial")
  private volatile java.lang.Object beacon_ = "";
  /**
   * <pre>
   *NPC 닉네밍
   * </pre>
   *
   * <code>optional string beacon = 9;</code>
   * @return Whether the beacon field is set.
   */
  @java.lang.Override
  public boolean hasBeacon() {
    return ((bitField0_ & 0x00000010) != 0);
  }
  /**
   * <pre>
   *NPC 닉네밍
   * </pre>
   *
   * <code>optional string beacon = 9;</code>
   * @return The beacon.
   */
  @java.lang.Override
  public java.lang.String getBeacon() {
    java.lang.Object ref = beacon_;
    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();
      beacon_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *NPC 닉네밍
   * </pre>
   *
   * <code>optional string beacon = 9;</code>
   * @return The bytes for beacon.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getBeaconBytes() {
    java.lang.Object ref = beacon_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      beacon_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LIKED_FIELD_NUMBER = 10;
  private int liked_ = 0;
  /**
   * <code>.BoolType liked = 10;</code>
   * @return The enum numeric value on the wire for liked.
   */
  @java.lang.Override public int getLikedValue() {
    return liked_;
  }
  /**
   * <code>.BoolType liked = 10;</code>
   * @return The liked.
   */
  @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getLiked() {
    com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(liked_);
    return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result;
  }

  public static final int BOOKMARKED_FIELD_NUMBER = 11;
  private int bookmarked_ = 0;
  /**
   * <code>.BoolType bookmarked = 11;</code>
   * @return The enum numeric value on the wire for bookmarked.
   */
  @java.lang.Override public int getBookmarkedValue() {
    return bookmarked_;
  }
  /**
   * <code>.BoolType bookmarked = 11;</code>
   * @return The bookmarked.
   */
  @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getBookmarked() {
    com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(bookmarked_);
    return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result;
  }

  public static final int GRADETYPE_FIELD_NUMBER = 12;
  private int gradeType_ = 0;
  /**
   * <code>.UgqGradeType gradeType = 12;</code>
   * @return The enum numeric value on the wire for gradeType.
   */
  @java.lang.Override public int getGradeTypeValue() {
    return gradeType_;
  }
  /**
   * <code>.UgqGradeType gradeType = 12;</code>
   * @return The gradeType.
   */
  @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getGradeType() {
    com.caliverse.admin.domain.RabbitMq.message.UgqGradeType result = com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.forNumber(gradeType_);
    return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UNRECOGNIZED : result;
  }

  public static final int COST_FIELD_NUMBER = 13;
  private int cost_ = 0;
  /**
   * <code>int32 cost = 13;</code>
   * @return The cost.
   */
  @java.lang.Override
  public int getCost() {
    return cost_;
  }

  public static final int ACCEPTCOUNT_FIELD_NUMBER = 14;
  private int acceptCount_ = 0;
  /**
   * <code>int32 acceptCount = 14;</code>
   * @return The acceptCount.
   */
  @java.lang.Override
  public int getAcceptCount() {
    return acceptCount_;
  }

  public static final int COMPLETECOUNT_FIELD_NUMBER = 15;
  private int completeCount_ = 0;
  /**
   * <code>int32 completeCount = 15;</code>
   * @return The completeCount.
   */
  @java.lang.Override
  public int getCompleteCount() {
    return completeCount_;
  }

  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 (composedQuestId_ != 0L) {
      output.writeInt64(1, composedQuestId_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, title_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, titleImagePath_);
    }
    if (likeCount_ != 0) {
      output.writeInt32(4, likeCount_);
    }
    if (bookmarkCount_ != 0) {
      output.writeInt32(5, bookmarkCount_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, author_);
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_);
    }
    for (int i = 0; i < langs_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, langs_.getRaw(i));
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, beacon_);
    }
    if (liked_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) {
      output.writeEnum(10, liked_);
    }
    if (bookmarked_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) {
      output.writeEnum(11, bookmarked_);
    }
    if (gradeType_ != com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UgqGradeType_None.getNumber()) {
      output.writeEnum(12, gradeType_);
    }
    if (cost_ != 0) {
      output.writeInt32(13, cost_);
    }
    if (acceptCount_ != 0) {
      output.writeInt32(14, acceptCount_);
    }
    if (completeCount_ != 0) {
      output.writeInt32(15, completeCount_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (composedQuestId_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(1, composedQuestId_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, title_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, titleImagePath_);
    }
    if (likeCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(4, likeCount_);
    }
    if (bookmarkCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(5, bookmarkCount_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, author_);
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < langs_.size(); i++) {
        dataSize += computeStringSizeNoTag(langs_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getLangsList().size();
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, beacon_);
    }
    if (liked_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(10, liked_);
    }
    if (bookmarked_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(11, bookmarked_);
    }
    if (gradeType_ != com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UgqGradeType_None.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(12, gradeType_);
    }
    if (cost_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(13, cost_);
    }
    if (acceptCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(14, acceptCount_);
    }
    if (completeCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(15, completeCount_);
    }
    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.UgqBoardItemDetail)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail other = (com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail) obj;

    if (getComposedQuestId()
        != other.getComposedQuestId()) return false;
    if (hasTitle() != other.hasTitle()) return false;
    if (hasTitle()) {
      if (!getTitle()
          .equals(other.getTitle())) return false;
    }
    if (hasTitleImagePath() != other.hasTitleImagePath()) return false;
    if (hasTitleImagePath()) {
      if (!getTitleImagePath()
          .equals(other.getTitleImagePath())) return false;
    }
    if (getLikeCount()
        != other.getLikeCount()) return false;
    if (getBookmarkCount()
        != other.getBookmarkCount()) return false;
    if (hasAuthor() != other.hasAuthor()) return false;
    if (hasAuthor()) {
      if (!getAuthor()
          .equals(other.getAuthor())) return false;
    }
    if (hasDescription() != other.hasDescription()) return false;
    if (hasDescription()) {
      if (!getDescription()
          .equals(other.getDescription())) return false;
    }
    if (!getLangsList()
        .equals(other.getLangsList())) return false;
    if (hasBeacon() != other.hasBeacon()) return false;
    if (hasBeacon()) {
      if (!getBeacon()
          .equals(other.getBeacon())) return false;
    }
    if (liked_ != other.liked_) return false;
    if (bookmarked_ != other.bookmarked_) return false;
    if (gradeType_ != other.gradeType_) return false;
    if (getCost()
        != other.getCost()) return false;
    if (getAcceptCount()
        != other.getAcceptCount()) return false;
    if (getCompleteCount()
        != other.getCompleteCount()) 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) + COMPOSEDQUESTID_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getComposedQuestId());
    if (hasTitle()) {
      hash = (37 * hash) + TITLE_FIELD_NUMBER;
      hash = (53 * hash) + getTitle().hashCode();
    }
    if (hasTitleImagePath()) {
      hash = (37 * hash) + TITLEIMAGEPATH_FIELD_NUMBER;
      hash = (53 * hash) + getTitleImagePath().hashCode();
    }
    hash = (37 * hash) + LIKECOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getLikeCount();
    hash = (37 * hash) + BOOKMARKCOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getBookmarkCount();
    if (hasAuthor()) {
      hash = (37 * hash) + AUTHOR_FIELD_NUMBER;
      hash = (53 * hash) + getAuthor().hashCode();
    }
    if (hasDescription()) {
      hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
      hash = (53 * hash) + getDescription().hashCode();
    }
    if (getLangsCount() > 0) {
      hash = (37 * hash) + LANGS_FIELD_NUMBER;
      hash = (53 * hash) + getLangsList().hashCode();
    }
    if (hasBeacon()) {
      hash = (37 * hash) + BEACON_FIELD_NUMBER;
      hash = (53 * hash) + getBeacon().hashCode();
    }
    hash = (37 * hash) + LIKED_FIELD_NUMBER;
    hash = (53 * hash) + liked_;
    hash = (37 * hash) + BOOKMARKED_FIELD_NUMBER;
    hash = (53 * hash) + bookmarked_;
    hash = (37 * hash) + GRADETYPE_FIELD_NUMBER;
    hash = (53 * hash) + gradeType_;
    hash = (37 * hash) + COST_FIELD_NUMBER;
    hash = (53 * hash) + getCost();
    hash = (37 * hash) + ACCEPTCOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getAcceptCount();
    hash = (37 * hash) + COMPLETECOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getCompleteCount();
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      composedQuestId_ = 0L;
      title_ = "";
      titleImagePath_ = "";
      likeCount_ = 0;
      bookmarkCount_ = 0;
      author_ = "";
      description_ = "";
      langs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000080);
      beacon_ = "";
      liked_ = 0;
      bookmarked_ = 0;
      gradeType_ = 0;
      cost_ = 0;
      acceptCount_ = 0;
      completeCount_ = 0;
      return this;
    }

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

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

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

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

    private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail result) {
      if (((bitField0_ & 0x00000080) != 0)) {
        langs_ = langs_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00000080);
      }
      result.langs_ = langs_;
    }

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.composedQuestId_ = composedQuestId_;
      }
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.title_ = title_;
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.titleImagePath_ = titleImagePath_;
        to_bitField0_ |= 0x00000002;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.likeCount_ = likeCount_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.bookmarkCount_ = bookmarkCount_;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.author_ = author_;
        to_bitField0_ |= 0x00000004;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.description_ = description_;
        to_bitField0_ |= 0x00000008;
      }
      if (((from_bitField0_ & 0x00000100) != 0)) {
        result.beacon_ = beacon_;
        to_bitField0_ |= 0x00000010;
      }
      if (((from_bitField0_ & 0x00000200) != 0)) {
        result.liked_ = liked_;
      }
      if (((from_bitField0_ & 0x00000400) != 0)) {
        result.bookmarked_ = bookmarked_;
      }
      if (((from_bitField0_ & 0x00000800) != 0)) {
        result.gradeType_ = gradeType_;
      }
      if (((from_bitField0_ & 0x00001000) != 0)) {
        result.cost_ = cost_;
      }
      if (((from_bitField0_ & 0x00002000) != 0)) {
        result.acceptCount_ = acceptCount_;
      }
      if (((from_bitField0_ & 0x00004000) != 0)) {
        result.completeCount_ = completeCount_;
      }
      result.bitField0_ |= to_bitField0_;
    }

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

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.UgqBoardItemDetail.getDefaultInstance()) return this;
      if (other.getComposedQuestId() != 0L) {
        setComposedQuestId(other.getComposedQuestId());
      }
      if (other.hasTitle()) {
        title_ = other.title_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (other.hasTitleImagePath()) {
        titleImagePath_ = other.titleImagePath_;
        bitField0_ |= 0x00000004;
        onChanged();
      }
      if (other.getLikeCount() != 0) {
        setLikeCount(other.getLikeCount());
      }
      if (other.getBookmarkCount() != 0) {
        setBookmarkCount(other.getBookmarkCount());
      }
      if (other.hasAuthor()) {
        author_ = other.author_;
        bitField0_ |= 0x00000020;
        onChanged();
      }
      if (other.hasDescription()) {
        description_ = other.description_;
        bitField0_ |= 0x00000040;
        onChanged();
      }
      if (!other.langs_.isEmpty()) {
        if (langs_.isEmpty()) {
          langs_ = other.langs_;
          bitField0_ = (bitField0_ & ~0x00000080);
        } else {
          ensureLangsIsMutable();
          langs_.addAll(other.langs_);
        }
        onChanged();
      }
      if (other.hasBeacon()) {
        beacon_ = other.beacon_;
        bitField0_ |= 0x00000100;
        onChanged();
      }
      if (other.liked_ != 0) {
        setLikedValue(other.getLikedValue());
      }
      if (other.bookmarked_ != 0) {
        setBookmarkedValue(other.getBookmarkedValue());
      }
      if (other.gradeType_ != 0) {
        setGradeTypeValue(other.getGradeTypeValue());
      }
      if (other.getCost() != 0) {
        setCost(other.getCost());
      }
      if (other.getAcceptCount() != 0) {
        setAcceptCount(other.getAcceptCount());
      }
      if (other.getCompleteCount() != 0) {
        setCompleteCount(other.getCompleteCount());
      }
      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: {
              composedQuestId_ = input.readInt64();
              bitField0_ |= 0x00000001;
              break;
            } // case 8
            case 18: {
              title_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 26: {
              titleImagePath_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000004;
              break;
            } // case 26
            case 32: {
              likeCount_ = input.readInt32();
              bitField0_ |= 0x00000008;
              break;
            } // case 32
            case 40: {
              bookmarkCount_ = input.readInt32();
              bitField0_ |= 0x00000010;
              break;
            } // case 40
            case 50: {
              author_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000020;
              break;
            } // case 50
            case 58: {
              description_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000040;
              break;
            } // case 58
            case 66: {
              java.lang.String s = input.readStringRequireUtf8();
              ensureLangsIsMutable();
              langs_.add(s);
              break;
            } // case 66
            case 74: {
              beacon_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000100;
              break;
            } // case 74
            case 80: {
              liked_ = input.readEnum();
              bitField0_ |= 0x00000200;
              break;
            } // case 80
            case 88: {
              bookmarked_ = input.readEnum();
              bitField0_ |= 0x00000400;
              break;
            } // case 88
            case 96: {
              gradeType_ = input.readEnum();
              bitField0_ |= 0x00000800;
              break;
            } // case 96
            case 104: {
              cost_ = input.readInt32();
              bitField0_ |= 0x00001000;
              break;
            } // case 104
            case 112: {
              acceptCount_ = input.readInt32();
              bitField0_ |= 0x00002000;
              break;
            } // case 112
            case 120: {
              completeCount_ = input.readInt32();
              bitField0_ |= 0x00004000;
              break;
            } // case 120
            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 long composedQuestId_ ;
    /**
     * <pre>
     *UgqQuestId ugqQuestId = 1;
     * </pre>
     *
     * <code>int64 composedQuestId = 1;</code>
     * @return The composedQuestId.
     */
    @java.lang.Override
    public long getComposedQuestId() {
      return composedQuestId_;
    }
    /**
     * <pre>
     *UgqQuestId ugqQuestId = 1;
     * </pre>
     *
     * <code>int64 composedQuestId = 1;</code>
     * @param value The composedQuestId to set.
     * @return This builder for chaining.
     */
    public Builder setComposedQuestId(long value) {
      
      composedQuestId_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *UgqQuestId ugqQuestId = 1;
     * </pre>
     *
     * <code>int64 composedQuestId = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearComposedQuestId() {
      bitField0_ = (bitField0_ & ~0x00000001);
      composedQuestId_ = 0L;
      onChanged();
      return this;
    }

    private java.lang.Object title_ = "";
    /**
     * <code>optional string title = 2;</code>
     * @return Whether the title field is set.
     */
    public boolean hasTitle() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>optional 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;
      }
    }
    /**
     * <code>optional 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;
      }
    }
    /**
     * <code>optional 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;
    }
    /**
     * <code>optional string title = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearTitle() {
      title_ = getDefaultInstance().getTitle();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     * <code>optional 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 titleImagePath_ = "";
    /**
     * <code>optional string titleImagePath = 3;</code>
     * @return Whether the titleImagePath field is set.
     */
    public boolean hasTitleImagePath() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>optional string titleImagePath = 3;</code>
     * @return The titleImagePath.
     */
    public java.lang.String getTitleImagePath() {
      java.lang.Object ref = titleImagePath_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        titleImagePath_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>optional string titleImagePath = 3;</code>
     * @return The bytes for titleImagePath.
     */
    public com.google.protobuf.ByteString
        getTitleImagePathBytes() {
      java.lang.Object ref = titleImagePath_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        titleImagePath_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>optional string titleImagePath = 3;</code>
     * @param value The titleImagePath to set.
     * @return This builder for chaining.
     */
    public Builder setTitleImagePath(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      titleImagePath_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <code>optional string titleImagePath = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearTitleImagePath() {
      titleImagePath_ = getDefaultInstance().getTitleImagePath();
      bitField0_ = (bitField0_ & ~0x00000004);
      onChanged();
      return this;
    }
    /**
     * <code>optional string titleImagePath = 3;</code>
     * @param value The bytes for titleImagePath to set.
     * @return This builder for chaining.
     */
    public Builder setTitleImagePathBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      titleImagePath_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }

    private int likeCount_ ;
    /**
     * <code>int32 likeCount = 4;</code>
     * @return The likeCount.
     */
    @java.lang.Override
    public int getLikeCount() {
      return likeCount_;
    }
    /**
     * <code>int32 likeCount = 4;</code>
     * @param value The likeCount to set.
     * @return This builder for chaining.
     */
    public Builder setLikeCount(int value) {
      
      likeCount_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <code>int32 likeCount = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearLikeCount() {
      bitField0_ = (bitField0_ & ~0x00000008);
      likeCount_ = 0;
      onChanged();
      return this;
    }

    private int bookmarkCount_ ;
    /**
     * <code>int32 bookmarkCount = 5;</code>
     * @return The bookmarkCount.
     */
    @java.lang.Override
    public int getBookmarkCount() {
      return bookmarkCount_;
    }
    /**
     * <code>int32 bookmarkCount = 5;</code>
     * @param value The bookmarkCount to set.
     * @return This builder for chaining.
     */
    public Builder setBookmarkCount(int value) {
      
      bookmarkCount_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <code>int32 bookmarkCount = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearBookmarkCount() {
      bitField0_ = (bitField0_ & ~0x00000010);
      bookmarkCount_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object author_ = "";
    /**
     * <code>optional string author = 6;</code>
     * @return Whether the author field is set.
     */
    public boolean hasAuthor() {
      return ((bitField0_ & 0x00000020) != 0);
    }
    /**
     * <code>optional string author = 6;</code>
     * @return The author.
     */
    public java.lang.String getAuthor() {
      java.lang.Object ref = author_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        author_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>optional string author = 6;</code>
     * @return The bytes for author.
     */
    public com.google.protobuf.ByteString
        getAuthorBytes() {
      java.lang.Object ref = author_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        author_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>optional string author = 6;</code>
     * @param value The author to set.
     * @return This builder for chaining.
     */
    public Builder setAuthor(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      author_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     * <code>optional string author = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearAuthor() {
      author_ = getDefaultInstance().getAuthor();
      bitField0_ = (bitField0_ & ~0x00000020);
      onChanged();
      return this;
    }
    /**
     * <code>optional string author = 6;</code>
     * @param value The bytes for author to set.
     * @return This builder for chaining.
     */
    public Builder setAuthorBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      author_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }

    private java.lang.Object description_ = "";
    /**
     * <code>optional string description = 7;</code>
     * @return Whether the description field is set.
     */
    public boolean hasDescription() {
      return ((bitField0_ & 0x00000040) != 0);
    }
    /**
     * <code>optional string description = 7;</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>optional string description = 7;</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>optional string description = 7;</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_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     * <code>optional string description = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearDescription() {
      description_ = getDefaultInstance().getDescription();
      bitField0_ = (bitField0_ & ~0x00000040);
      onChanged();
      return this;
    }
    /**
     * <code>optional string description = 7;</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_ |= 0x00000040;
      onChanged();
      return this;
    }

    private com.google.protobuf.LazyStringList langs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    private void ensureLangsIsMutable() {
      if (!((bitField0_ & 0x00000080) != 0)) {
        langs_ = new com.google.protobuf.LazyStringArrayList(langs_);
        bitField0_ |= 0x00000080;
       }
    }
    /**
     * <code>repeated string langs = 8;</code>
     * @return A list containing the langs.
     */
    public com.google.protobuf.ProtocolStringList
        getLangsList() {
      return langs_.getUnmodifiableView();
    }
    /**
     * <code>repeated string langs = 8;</code>
     * @return The count of langs.
     */
    public int getLangsCount() {
      return langs_.size();
    }
    /**
     * <code>repeated string langs = 8;</code>
     * @param index The index of the element to return.
     * @return The langs at the given index.
     */
    public java.lang.String getLangs(int index) {
      return langs_.get(index);
    }
    /**
     * <code>repeated string langs = 8;</code>
     * @param index The index of the value to return.
     * @return The bytes of the langs at the given index.
     */
    public com.google.protobuf.ByteString
        getLangsBytes(int index) {
      return langs_.getByteString(index);
    }
    /**
     * <code>repeated string langs = 8;</code>
     * @param index The index to set the value at.
     * @param value The langs to set.
     * @return This builder for chaining.
     */
    public Builder setLangs(
        int index, java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ensureLangsIsMutable();
      langs_.set(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string langs = 8;</code>
     * @param value The langs to add.
     * @return This builder for chaining.
     */
    public Builder addLangs(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ensureLangsIsMutable();
      langs_.add(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string langs = 8;</code>
     * @param values The langs to add.
     * @return This builder for chaining.
     */
    public Builder addAllLangs(
        java.lang.Iterable<java.lang.String> values) {
      ensureLangsIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, langs_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string langs = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearLangs() {
      langs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000080);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string langs = 8;</code>
     * @param value The bytes of the langs to add.
     * @return This builder for chaining.
     */
    public Builder addLangsBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      ensureLangsIsMutable();
      langs_.add(value);
      onChanged();
      return this;
    }

    private java.lang.Object beacon_ = "";
    /**
     * <pre>
     *NPC 닉네밍
     * </pre>
     *
     * <code>optional string beacon = 9;</code>
     * @return Whether the beacon field is set.
     */
    public boolean hasBeacon() {
      return ((bitField0_ & 0x00000100) != 0);
    }
    /**
     * <pre>
     *NPC 닉네밍
     * </pre>
     *
     * <code>optional string beacon = 9;</code>
     * @return The beacon.
     */
    public java.lang.String getBeacon() {
      java.lang.Object ref = beacon_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        beacon_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *NPC 닉네밍
     * </pre>
     *
     * <code>optional string beacon = 9;</code>
     * @return The bytes for beacon.
     */
    public com.google.protobuf.ByteString
        getBeaconBytes() {
      java.lang.Object ref = beacon_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        beacon_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *NPC 닉네밍
     * </pre>
     *
     * <code>optional string beacon = 9;</code>
     * @param value The beacon to set.
     * @return This builder for chaining.
     */
    public Builder setBeacon(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      beacon_ = value;
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *NPC 닉네밍
     * </pre>
     *
     * <code>optional string beacon = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearBeacon() {
      beacon_ = getDefaultInstance().getBeacon();
      bitField0_ = (bitField0_ & ~0x00000100);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *NPC 닉네밍
     * </pre>
     *
     * <code>optional string beacon = 9;</code>
     * @param value The bytes for beacon to set.
     * @return This builder for chaining.
     */
    public Builder setBeaconBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      beacon_ = value;
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }

    private int liked_ = 0;
    /**
     * <code>.BoolType liked = 10;</code>
     * @return The enum numeric value on the wire for liked.
     */
    @java.lang.Override public int getLikedValue() {
      return liked_;
    }
    /**
     * <code>.BoolType liked = 10;</code>
     * @param value The enum numeric value on the wire for liked to set.
     * @return This builder for chaining.
     */
    public Builder setLikedValue(int value) {
      liked_ = value;
      bitField0_ |= 0x00000200;
      onChanged();
      return this;
    }
    /**
     * <code>.BoolType liked = 10;</code>
     * @return The liked.
     */
    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.BoolType getLiked() {
      com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(liked_);
      return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result;
    }
    /**
     * <code>.BoolType liked = 10;</code>
     * @param value The liked to set.
     * @return This builder for chaining.
     */
    public Builder setLiked(com.caliverse.admin.domain.RabbitMq.message.BoolType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000200;
      liked_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <code>.BoolType liked = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearLiked() {
      bitField0_ = (bitField0_ & ~0x00000200);
      liked_ = 0;
      onChanged();
      return this;
    }

    private int bookmarked_ = 0;
    /**
     * <code>.BoolType bookmarked = 11;</code>
     * @return The enum numeric value on the wire for bookmarked.
     */
    @java.lang.Override public int getBookmarkedValue() {
      return bookmarked_;
    }
    /**
     * <code>.BoolType bookmarked = 11;</code>
     * @param value The enum numeric value on the wire for bookmarked to set.
     * @return This builder for chaining.
     */
    public Builder setBookmarkedValue(int value) {
      bookmarked_ = value;
      bitField0_ |= 0x00000400;
      onChanged();
      return this;
    }
    /**
     * <code>.BoolType bookmarked = 11;</code>
     * @return The bookmarked.
     */
    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.BoolType getBookmarked() {
      com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(bookmarked_);
      return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result;
    }
    /**
     * <code>.BoolType bookmarked = 11;</code>
     * @param value The bookmarked to set.
     * @return This builder for chaining.
     */
    public Builder setBookmarked(com.caliverse.admin.domain.RabbitMq.message.BoolType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000400;
      bookmarked_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <code>.BoolType bookmarked = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearBookmarked() {
      bitField0_ = (bitField0_ & ~0x00000400);
      bookmarked_ = 0;
      onChanged();
      return this;
    }

    private int gradeType_ = 0;
    /**
     * <code>.UgqGradeType gradeType = 12;</code>
     * @return The enum numeric value on the wire for gradeType.
     */
    @java.lang.Override public int getGradeTypeValue() {
      return gradeType_;
    }
    /**
     * <code>.UgqGradeType gradeType = 12;</code>
     * @param value The enum numeric value on the wire for gradeType to set.
     * @return This builder for chaining.
     */
    public Builder setGradeTypeValue(int value) {
      gradeType_ = value;
      bitField0_ |= 0x00000800;
      onChanged();
      return this;
    }
    /**
     * <code>.UgqGradeType gradeType = 12;</code>
     * @return The gradeType.
     */
    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getGradeType() {
      com.caliverse.admin.domain.RabbitMq.message.UgqGradeType result = com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.forNumber(gradeType_);
      return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UNRECOGNIZED : result;
    }
    /**
     * <code>.UgqGradeType gradeType = 12;</code>
     * @param value The gradeType to set.
     * @return This builder for chaining.
     */
    public Builder setGradeType(com.caliverse.admin.domain.RabbitMq.message.UgqGradeType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000800;
      gradeType_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <code>.UgqGradeType gradeType = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearGradeType() {
      bitField0_ = (bitField0_ & ~0x00000800);
      gradeType_ = 0;
      onChanged();
      return this;
    }

    private int cost_ ;
    /**
     * <code>int32 cost = 13;</code>
     * @return The cost.
     */
    @java.lang.Override
    public int getCost() {
      return cost_;
    }
    /**
     * <code>int32 cost = 13;</code>
     * @param value The cost to set.
     * @return This builder for chaining.
     */
    public Builder setCost(int value) {
      
      cost_ = value;
      bitField0_ |= 0x00001000;
      onChanged();
      return this;
    }
    /**
     * <code>int32 cost = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearCost() {
      bitField0_ = (bitField0_ & ~0x00001000);
      cost_ = 0;
      onChanged();
      return this;
    }

    private int acceptCount_ ;
    /**
     * <code>int32 acceptCount = 14;</code>
     * @return The acceptCount.
     */
    @java.lang.Override
    public int getAcceptCount() {
      return acceptCount_;
    }
    /**
     * <code>int32 acceptCount = 14;</code>
     * @param value The acceptCount to set.
     * @return This builder for chaining.
     */
    public Builder setAcceptCount(int value) {
      
      acceptCount_ = value;
      bitField0_ |= 0x00002000;
      onChanged();
      return this;
    }
    /**
     * <code>int32 acceptCount = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearAcceptCount() {
      bitField0_ = (bitField0_ & ~0x00002000);
      acceptCount_ = 0;
      onChanged();
      return this;
    }

    private int completeCount_ ;
    /**
     * <code>int32 completeCount = 15;</code>
     * @return The completeCount.
     */
    @java.lang.Override
    public int getCompleteCount() {
      return completeCount_;
    }
    /**
     * <code>int32 completeCount = 15;</code>
     * @param value The completeCount to set.
     * @return This builder for chaining.
     */
    public Builder setCompleteCount(int value) {
      
      completeCount_ = value;
      bitField0_ |= 0x00004000;
      onChanged();
      return this;
    }
    /**
     * <code>int32 completeCount = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearCompleteCount() {
      bitField0_ = (bitField0_ & ~0x00004000);
      completeCount_ = 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:UgqBoardItemDetail)
  }

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

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

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

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

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

}

