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

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

/**
 * Protobuf type {@code UgqGameQuestDataForClient}
 */
public final class UgqGameQuestDataForClient extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:UgqGameQuestDataForClient)
    UgqGameQuestDataForClientOrBuilder {
private static final long serialVersionUID = 0L;
  // Use UgqGameQuestDataForClient.newBuilder() to construct.
  private UgqGameQuestDataForClient(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private UgqGameQuestDataForClient() {
    author_ = "";
    authorGuid_ = "";
    ugcBeaconGuid_ = "";
    ugcBeaconNickname_ = "";
    task_ = java.util.Collections.emptyList();
    dialogues_ = java.util.Collections.emptyList();
    ugqStateType_ = 0;
    ugqGradeType_ = 0;
  }

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

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

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

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

  public static final int AUTHOR_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private volatile java.lang.Object author_ = "";
  /**
   * <code>string author = 2;</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>string author = 2;</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 AUTHORGUID_FIELD_NUMBER = 3;
  @SuppressWarnings("serial")
  private volatile java.lang.Object authorGuid_ = "";
  /**
   * <code>string authorGuid = 3;</code>
   * @return The authorGuid.
   */
  @java.lang.Override
  public java.lang.String getAuthorGuid() {
    java.lang.Object ref = authorGuid_;
    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();
      authorGuid_ = s;
      return s;
    }
  }
  /**
   * <code>string authorGuid = 3;</code>
   * @return The bytes for authorGuid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAuthorGuidBytes() {
    java.lang.Object ref = authorGuid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      authorGuid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int BEACONID_FIELD_NUMBER = 4;
  private int beaconId_ = 0;
  /**
   * <code>int32 beaconId = 4;</code>
   * @return The beaconId.
   */
  @java.lang.Override
  public int getBeaconId() {
    return beaconId_;
  }

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

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

  public static final int TITLE_FIELD_NUMBER = 7;
  private com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient title_;
  /**
   * <code>.UgqGameTextDataForClient title = 7;</code>
   * @return Whether the title field is set.
   */
  @java.lang.Override
  public boolean hasTitle() {
    return title_ != null;
  }
  /**
   * <code>.UgqGameTextDataForClient title = 7;</code>
   * @return The title.
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getTitle() {
    return title_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : title_;
  }
  /**
   * <code>.UgqGameTextDataForClient title = 7;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder getTitleOrBuilder() {
    return title_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : title_;
  }

  public static final int TASK_FIELD_NUMBER = 8;
  @SuppressWarnings("serial")
  private java.util.List<com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient> task_;
  /**
   * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
   */
  @java.lang.Override
  public java.util.List<com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient> getTaskList() {
    return task_;
  }
  /**
   * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
   */
  @java.lang.Override
  public java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClientOrBuilder> 
      getTaskOrBuilderList() {
    return task_;
  }
  /**
   * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
   */
  @java.lang.Override
  public int getTaskCount() {
    return task_.size();
  }
  /**
   * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient getTask(int index) {
    return task_.get(index);
  }
  /**
   * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClientOrBuilder getTaskOrBuilder(
      int index) {
    return task_.get(index);
  }

  public static final int DIALOGUES_FIELD_NUMBER = 9;
  @SuppressWarnings("serial")
  private java.util.List<com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue> dialogues_;
  /**
   * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
   */
  @java.lang.Override
  public java.util.List<com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue> getDialoguesList() {
    return dialogues_;
  }
  /**
   * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
   */
  @java.lang.Override
  public java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogueOrBuilder> 
      getDialoguesOrBuilderList() {
    return dialogues_;
  }
  /**
   * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
   */
  @java.lang.Override
  public int getDialoguesCount() {
    return dialogues_.size();
  }
  /**
   * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue getDialogues(int index) {
    return dialogues_.get(index);
  }
  /**
   * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogueOrBuilder getDialoguesOrBuilder(
      int index) {
    return dialogues_.get(index);
  }

  public static final int UGQSTATETYPE_FIELD_NUMBER = 10;
  private int ugqStateType_ = 0;
  /**
   * <code>.UgqStateType ugqStateType = 10;</code>
   * @return The enum numeric value on the wire for ugqStateType.
   */
  @java.lang.Override public int getUgqStateTypeValue() {
    return ugqStateType_;
  }
  /**
   * <code>.UgqStateType ugqStateType = 10;</code>
   * @return The ugqStateType.
   */
  @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.UgqStateType getUgqStateType() {
    com.caliverse.admin.domain.RabbitMq.message.UgqStateType result = com.caliverse.admin.domain.RabbitMq.message.UgqStateType.forNumber(ugqStateType_);
    return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqStateType.UNRECOGNIZED : result;
  }

  public static final int UGQGRADETYPE_FIELD_NUMBER = 11;
  private int ugqGradeType_ = 0;
  /**
   * <code>.UgqGradeType ugqGradeType = 11;</code>
   * @return The enum numeric value on the wire for ugqGradeType.
   */
  @java.lang.Override public int getUgqGradeTypeValue() {
    return ugqGradeType_;
  }
  /**
   * <code>.UgqGradeType ugqGradeType = 11;</code>
   * @return The ugqGradeType.
   */
  @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getUgqGradeType() {
    com.caliverse.admin.domain.RabbitMq.message.UgqGradeType result = com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.forNumber(ugqGradeType_);
    return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.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 {
    if (composedQuestId_ != 0L) {
      output.writeInt64(1, composedQuestId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(author_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, author_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, authorGuid_);
    }
    if (beaconId_ != 0) {
      output.writeInt32(4, beaconId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ugcBeaconGuid_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconNickname_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, ugcBeaconNickname_);
    }
    if (title_ != null) {
      output.writeMessage(7, getTitle());
    }
    for (int i = 0; i < task_.size(); i++) {
      output.writeMessage(8, task_.get(i));
    }
    for (int i = 0; i < dialogues_.size(); i++) {
      output.writeMessage(9, dialogues_.get(i));
    }
    if (ugqStateType_ != com.caliverse.admin.domain.RabbitMq.message.UgqStateType.UgqStateType_None.getNumber()) {
      output.writeEnum(10, ugqStateType_);
    }
    if (ugqGradeType_ != com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UgqGradeType_None.getNumber()) {
      output.writeEnum(11, ugqGradeType_);
    }
    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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(author_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, author_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authorGuid_);
    }
    if (beaconId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(4, beaconId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, ugcBeaconGuid_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconNickname_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, ugcBeaconNickname_);
    }
    if (title_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(7, getTitle());
    }
    for (int i = 0; i < task_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(8, task_.get(i));
    }
    for (int i = 0; i < dialogues_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(9, dialogues_.get(i));
    }
    if (ugqStateType_ != com.caliverse.admin.domain.RabbitMq.message.UgqStateType.UgqStateType_None.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(10, ugqStateType_);
    }
    if (ugqGradeType_ != com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UgqGradeType_None.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(11, ugqGradeType_);
    }
    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.UgqGameQuestDataForClient)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient other = (com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient) obj;

    if (getComposedQuestId()
        != other.getComposedQuestId()) return false;
    if (!getAuthor()
        .equals(other.getAuthor())) return false;
    if (!getAuthorGuid()
        .equals(other.getAuthorGuid())) return false;
    if (getBeaconId()
        != other.getBeaconId()) return false;
    if (!getUgcBeaconGuid()
        .equals(other.getUgcBeaconGuid())) return false;
    if (!getUgcBeaconNickname()
        .equals(other.getUgcBeaconNickname())) return false;
    if (hasTitle() != other.hasTitle()) return false;
    if (hasTitle()) {
      if (!getTitle()
          .equals(other.getTitle())) return false;
    }
    if (!getTaskList()
        .equals(other.getTaskList())) return false;
    if (!getDialoguesList()
        .equals(other.getDialoguesList())) return false;
    if (ugqStateType_ != other.ugqStateType_) return false;
    if (ugqGradeType_ != other.ugqGradeType_) 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());
    hash = (37 * hash) + AUTHOR_FIELD_NUMBER;
    hash = (53 * hash) + getAuthor().hashCode();
    hash = (37 * hash) + AUTHORGUID_FIELD_NUMBER;
    hash = (53 * hash) + getAuthorGuid().hashCode();
    hash = (37 * hash) + BEACONID_FIELD_NUMBER;
    hash = (53 * hash) + getBeaconId();
    hash = (37 * hash) + UGCBEACONGUID_FIELD_NUMBER;
    hash = (53 * hash) + getUgcBeaconGuid().hashCode();
    hash = (37 * hash) + UGCBEACONNICKNAME_FIELD_NUMBER;
    hash = (53 * hash) + getUgcBeaconNickname().hashCode();
    if (hasTitle()) {
      hash = (37 * hash) + TITLE_FIELD_NUMBER;
      hash = (53 * hash) + getTitle().hashCode();
    }
    if (getTaskCount() > 0) {
      hash = (37 * hash) + TASK_FIELD_NUMBER;
      hash = (53 * hash) + getTaskList().hashCode();
    }
    if (getDialoguesCount() > 0) {
      hash = (37 * hash) + DIALOGUES_FIELD_NUMBER;
      hash = (53 * hash) + getDialoguesList().hashCode();
    }
    hash = (37 * hash) + UGQSTATETYPE_FIELD_NUMBER;
    hash = (53 * hash) + ugqStateType_;
    hash = (37 * hash) + UGQGRADETYPE_FIELD_NUMBER;
    hash = (53 * hash) + ugqGradeType_;
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

    // Construct using com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.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;
      author_ = "";
      authorGuid_ = "";
      beaconId_ = 0;
      ugcBeaconGuid_ = "";
      ugcBeaconNickname_ = "";
      title_ = null;
      if (titleBuilder_ != null) {
        titleBuilder_.dispose();
        titleBuilder_ = null;
      }
      if (taskBuilder_ == null) {
        task_ = java.util.Collections.emptyList();
      } else {
        task_ = null;
        taskBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000080);
      if (dialoguesBuilder_ == null) {
        dialogues_ = java.util.Collections.emptyList();
      } else {
        dialogues_ = null;
        dialoguesBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000100);
      ugqStateType_ = 0;
      ugqGradeType_ = 0;
      return this;
    }

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

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

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

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

    private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient result) {
      if (taskBuilder_ == null) {
        if (((bitField0_ & 0x00000080) != 0)) {
          task_ = java.util.Collections.unmodifiableList(task_);
          bitField0_ = (bitField0_ & ~0x00000080);
        }
        result.task_ = task_;
      } else {
        result.task_ = taskBuilder_.build();
      }
      if (dialoguesBuilder_ == null) {
        if (((bitField0_ & 0x00000100) != 0)) {
          dialogues_ = java.util.Collections.unmodifiableList(dialogues_);
          bitField0_ = (bitField0_ & ~0x00000100);
        }
        result.dialogues_ = dialogues_;
      } else {
        result.dialogues_ = dialoguesBuilder_.build();
      }
    }

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.composedQuestId_ = composedQuestId_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.author_ = author_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.authorGuid_ = authorGuid_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.beaconId_ = beaconId_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.ugcBeaconGuid_ = ugcBeaconGuid_;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.ugcBeaconNickname_ = ugcBeaconNickname_;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.title_ = titleBuilder_ == null
            ? title_
            : titleBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000200) != 0)) {
        result.ugqStateType_ = ugqStateType_;
      }
      if (((from_bitField0_ & 0x00000400) != 0)) {
        result.ugqGradeType_ = ugqGradeType_;
      }
    }

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

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDataForClient.getDefaultInstance()) return this;
      if (other.getComposedQuestId() != 0L) {
        setComposedQuestId(other.getComposedQuestId());
      }
      if (!other.getAuthor().isEmpty()) {
        author_ = other.author_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (!other.getAuthorGuid().isEmpty()) {
        authorGuid_ = other.authorGuid_;
        bitField0_ |= 0x00000004;
        onChanged();
      }
      if (other.getBeaconId() != 0) {
        setBeaconId(other.getBeaconId());
      }
      if (!other.getUgcBeaconGuid().isEmpty()) {
        ugcBeaconGuid_ = other.ugcBeaconGuid_;
        bitField0_ |= 0x00000010;
        onChanged();
      }
      if (!other.getUgcBeaconNickname().isEmpty()) {
        ugcBeaconNickname_ = other.ugcBeaconNickname_;
        bitField0_ |= 0x00000020;
        onChanged();
      }
      if (other.hasTitle()) {
        mergeTitle(other.getTitle());
      }
      if (taskBuilder_ == null) {
        if (!other.task_.isEmpty()) {
          if (task_.isEmpty()) {
            task_ = other.task_;
            bitField0_ = (bitField0_ & ~0x00000080);
          } else {
            ensureTaskIsMutable();
            task_.addAll(other.task_);
          }
          onChanged();
        }
      } else {
        if (!other.task_.isEmpty()) {
          if (taskBuilder_.isEmpty()) {
            taskBuilder_.dispose();
            taskBuilder_ = null;
            task_ = other.task_;
            bitField0_ = (bitField0_ & ~0x00000080);
            taskBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getTaskFieldBuilder() : null;
          } else {
            taskBuilder_.addAllMessages(other.task_);
          }
        }
      }
      if (dialoguesBuilder_ == null) {
        if (!other.dialogues_.isEmpty()) {
          if (dialogues_.isEmpty()) {
            dialogues_ = other.dialogues_;
            bitField0_ = (bitField0_ & ~0x00000100);
          } else {
            ensureDialoguesIsMutable();
            dialogues_.addAll(other.dialogues_);
          }
          onChanged();
        }
      } else {
        if (!other.dialogues_.isEmpty()) {
          if (dialoguesBuilder_.isEmpty()) {
            dialoguesBuilder_.dispose();
            dialoguesBuilder_ = null;
            dialogues_ = other.dialogues_;
            bitField0_ = (bitField0_ & ~0x00000100);
            dialoguesBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getDialoguesFieldBuilder() : null;
          } else {
            dialoguesBuilder_.addAllMessages(other.dialogues_);
          }
        }
      }
      if (other.ugqStateType_ != 0) {
        setUgqStateTypeValue(other.getUgqStateTypeValue());
      }
      if (other.ugqGradeType_ != 0) {
        setUgqGradeTypeValue(other.getUgqGradeTypeValue());
      }
      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: {
              author_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 26: {
              authorGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000004;
              break;
            } // case 26
            case 32: {
              beaconId_ = input.readInt32();
              bitField0_ |= 0x00000008;
              break;
            } // case 32
            case 42: {
              ugcBeaconGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000010;
              break;
            } // case 42
            case 50: {
              ugcBeaconNickname_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000020;
              break;
            } // case 50
            case 58: {
              input.readMessage(
                  getTitleFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000040;
              break;
            } // case 58
            case 66: {
              com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient m =
                  input.readMessage(
                      com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.parser(),
                      extensionRegistry);
              if (taskBuilder_ == null) {
                ensureTaskIsMutable();
                task_.add(m);
              } else {
                taskBuilder_.addMessage(m);
              }
              break;
            } // case 66
            case 74: {
              com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue m =
                  input.readMessage(
                      com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.parser(),
                      extensionRegistry);
              if (dialoguesBuilder_ == null) {
                ensureDialoguesIsMutable();
                dialogues_.add(m);
              } else {
                dialoguesBuilder_.addMessage(m);
              }
              break;
            } // case 74
            case 80: {
              ugqStateType_ = input.readEnum();
              bitField0_ |= 0x00000200;
              break;
            } // case 80
            case 88: {
              ugqGradeType_ = input.readEnum();
              bitField0_ |= 0x00000400;
              break;
            } // case 88
            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_ ;
    /**
     * <code>int64 composedQuestId = 1;</code>
     * @return The composedQuestId.
     */
    @java.lang.Override
    public long getComposedQuestId() {
      return composedQuestId_;
    }
    /**
     * <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;
    }
    /**
     * <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 author_ = "";
    /**
     * <code>string author = 2;</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>string author = 2;</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>string author = 2;</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_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <code>string author = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearAuthor() {
      author_ = getDefaultInstance().getAuthor();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     * <code>string author = 2;</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_ |= 0x00000002;
      onChanged();
      return this;
    }

    private java.lang.Object authorGuid_ = "";
    /**
     * <code>string authorGuid = 3;</code>
     * @return The authorGuid.
     */
    public java.lang.String getAuthorGuid() {
      java.lang.Object ref = authorGuid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        authorGuid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string authorGuid = 3;</code>
     * @return The bytes for authorGuid.
     */
    public com.google.protobuf.ByteString
        getAuthorGuidBytes() {
      java.lang.Object ref = authorGuid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        authorGuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string authorGuid = 3;</code>
     * @param value The authorGuid to set.
     * @return This builder for chaining.
     */
    public Builder setAuthorGuid(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      authorGuid_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <code>string authorGuid = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearAuthorGuid() {
      authorGuid_ = getDefaultInstance().getAuthorGuid();
      bitField0_ = (bitField0_ & ~0x00000004);
      onChanged();
      return this;
    }
    /**
     * <code>string authorGuid = 3;</code>
     * @param value The bytes for authorGuid to set.
     * @return This builder for chaining.
     */
    public Builder setAuthorGuidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      authorGuid_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }

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

    private java.lang.Object ugcBeaconGuid_ = "";
    /**
     * <code>string ugcBeaconGuid = 5;</code>
     * @return The ugcBeaconGuid.
     */
    public java.lang.String getUgcBeaconGuid() {
      java.lang.Object ref = ugcBeaconGuid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ugcBeaconGuid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string ugcBeaconGuid = 5;</code>
     * @return The bytes for ugcBeaconGuid.
     */
    public com.google.protobuf.ByteString
        getUgcBeaconGuidBytes() {
      java.lang.Object ref = ugcBeaconGuid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ugcBeaconGuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string ugcBeaconGuid = 5;</code>
     * @param value The ugcBeaconGuid to set.
     * @return This builder for chaining.
     */
    public Builder setUgcBeaconGuid(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ugcBeaconGuid_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <code>string ugcBeaconGuid = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearUgcBeaconGuid() {
      ugcBeaconGuid_ = getDefaultInstance().getUgcBeaconGuid();
      bitField0_ = (bitField0_ & ~0x00000010);
      onChanged();
      return this;
    }
    /**
     * <code>string ugcBeaconGuid = 5;</code>
     * @param value The bytes for ugcBeaconGuid to set.
     * @return This builder for chaining.
     */
    public Builder setUgcBeaconGuidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      ugcBeaconGuid_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }

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

    private com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient title_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder> titleBuilder_;
    /**
     * <code>.UgqGameTextDataForClient title = 7;</code>
     * @return Whether the title field is set.
     */
    public boolean hasTitle() {
      return ((bitField0_ & 0x00000040) != 0);
    }
    /**
     * <code>.UgqGameTextDataForClient title = 7;</code>
     * @return The title.
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getTitle() {
      if (titleBuilder_ == null) {
        return title_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : title_;
      } else {
        return titleBuilder_.getMessage();
      }
    }
    /**
     * <code>.UgqGameTextDataForClient title = 7;</code>
     */
    public Builder setTitle(com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient value) {
      if (titleBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        title_ = value;
      } else {
        titleBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     * <code>.UgqGameTextDataForClient title = 7;</code>
     */
    public Builder setTitle(
        com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder builderForValue) {
      if (titleBuilder_ == null) {
        title_ = builderForValue.build();
      } else {
        titleBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     * <code>.UgqGameTextDataForClient title = 7;</code>
     */
    public Builder mergeTitle(com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient value) {
      if (titleBuilder_ == null) {
        if (((bitField0_ & 0x00000040) != 0) &&
          title_ != null &&
          title_ != com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance()) {
          getTitleBuilder().mergeFrom(value);
        } else {
          title_ = value;
        }
      } else {
        titleBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     * <code>.UgqGameTextDataForClient title = 7;</code>
     */
    public Builder clearTitle() {
      bitField0_ = (bitField0_ & ~0x00000040);
      title_ = null;
      if (titleBuilder_ != null) {
        titleBuilder_.dispose();
        titleBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * <code>.UgqGameTextDataForClient title = 7;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder getTitleBuilder() {
      bitField0_ |= 0x00000040;
      onChanged();
      return getTitleFieldBuilder().getBuilder();
    }
    /**
     * <code>.UgqGameTextDataForClient title = 7;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder getTitleOrBuilder() {
      if (titleBuilder_ != null) {
        return titleBuilder_.getMessageOrBuilder();
      } else {
        return title_ == null ?
            com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : title_;
      }
    }
    /**
     * <code>.UgqGameTextDataForClient title = 7;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder> 
        getTitleFieldBuilder() {
      if (titleBuilder_ == null) {
        titleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder>(
                getTitle(),
                getParentForChildren(),
                isClean());
        title_ = null;
      }
      return titleBuilder_;
    }

    private java.util.List<com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient> task_ =
      java.util.Collections.emptyList();
    private void ensureTaskIsMutable() {
      if (!((bitField0_ & 0x00000080) != 0)) {
        task_ = new java.util.ArrayList<com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient>(task_);
        bitField0_ |= 0x00000080;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClientOrBuilder> taskBuilder_;

    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public java.util.List<com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient> getTaskList() {
      if (taskBuilder_ == null) {
        return java.util.Collections.unmodifiableList(task_);
      } else {
        return taskBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public int getTaskCount() {
      if (taskBuilder_ == null) {
        return task_.size();
      } else {
        return taskBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient getTask(int index) {
      if (taskBuilder_ == null) {
        return task_.get(index);
      } else {
        return taskBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public Builder setTask(
        int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient value) {
      if (taskBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTaskIsMutable();
        task_.set(index, value);
        onChanged();
      } else {
        taskBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public Builder setTask(
        int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder builderForValue) {
      if (taskBuilder_ == null) {
        ensureTaskIsMutable();
        task_.set(index, builderForValue.build());
        onChanged();
      } else {
        taskBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public Builder addTask(com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient value) {
      if (taskBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTaskIsMutable();
        task_.add(value);
        onChanged();
      } else {
        taskBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public Builder addTask(
        int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient value) {
      if (taskBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTaskIsMutable();
        task_.add(index, value);
        onChanged();
      } else {
        taskBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public Builder addTask(
        com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder builderForValue) {
      if (taskBuilder_ == null) {
        ensureTaskIsMutable();
        task_.add(builderForValue.build());
        onChanged();
      } else {
        taskBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public Builder addTask(
        int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder builderForValue) {
      if (taskBuilder_ == null) {
        ensureTaskIsMutable();
        task_.add(index, builderForValue.build());
        onChanged();
      } else {
        taskBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public Builder addAllTask(
        java.lang.Iterable<? extends com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient> values) {
      if (taskBuilder_ == null) {
        ensureTaskIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, task_);
        onChanged();
      } else {
        taskBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public Builder clearTask() {
      if (taskBuilder_ == null) {
        task_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000080);
        onChanged();
      } else {
        taskBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public Builder removeTask(int index) {
      if (taskBuilder_ == null) {
        ensureTaskIsMutable();
        task_.remove(index);
        onChanged();
      } else {
        taskBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder getTaskBuilder(
        int index) {
      return getTaskFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClientOrBuilder getTaskOrBuilder(
        int index) {
      if (taskBuilder_ == null) {
        return task_.get(index);  } else {
        return taskBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClientOrBuilder> 
         getTaskOrBuilderList() {
      if (taskBuilder_ != null) {
        return taskBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(task_);
      }
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder addTaskBuilder() {
      return getTaskFieldBuilder().addBuilder(
          com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.getDefaultInstance());
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder addTaskBuilder(
        int index) {
      return getTaskFieldBuilder().addBuilder(
          index, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.getDefaultInstance());
    }
    /**
     * <code>repeated .UgqGameTaskDataForClient task = 8;</code>
     */
    public java.util.List<com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder> 
         getTaskBuilderList() {
      return getTaskFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClientOrBuilder> 
        getTaskFieldBuilder() {
      if (taskBuilder_ == null) {
        taskBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClientOrBuilder>(
                task_,
                ((bitField0_ & 0x00000080) != 0),
                getParentForChildren(),
                isClean());
        task_ = null;
      }
      return taskBuilder_;
    }

    private java.util.List<com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue> dialogues_ =
      java.util.Collections.emptyList();
    private void ensureDialoguesIsMutable() {
      if (!((bitField0_ & 0x00000100) != 0)) {
        dialogues_ = new java.util.ArrayList<com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue>(dialogues_);
        bitField0_ |= 0x00000100;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogueOrBuilder> dialoguesBuilder_;

    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public java.util.List<com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue> getDialoguesList() {
      if (dialoguesBuilder_ == null) {
        return java.util.Collections.unmodifiableList(dialogues_);
      } else {
        return dialoguesBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public int getDialoguesCount() {
      if (dialoguesBuilder_ == null) {
        return dialogues_.size();
      } else {
        return dialoguesBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue getDialogues(int index) {
      if (dialoguesBuilder_ == null) {
        return dialogues_.get(index);
      } else {
        return dialoguesBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public Builder setDialogues(
        int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue value) {
      if (dialoguesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDialoguesIsMutable();
        dialogues_.set(index, value);
        onChanged();
      } else {
        dialoguesBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public Builder setDialogues(
        int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder builderForValue) {
      if (dialoguesBuilder_ == null) {
        ensureDialoguesIsMutable();
        dialogues_.set(index, builderForValue.build());
        onChanged();
      } else {
        dialoguesBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public Builder addDialogues(com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue value) {
      if (dialoguesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDialoguesIsMutable();
        dialogues_.add(value);
        onChanged();
      } else {
        dialoguesBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public Builder addDialogues(
        int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue value) {
      if (dialoguesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDialoguesIsMutable();
        dialogues_.add(index, value);
        onChanged();
      } else {
        dialoguesBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public Builder addDialogues(
        com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder builderForValue) {
      if (dialoguesBuilder_ == null) {
        ensureDialoguesIsMutable();
        dialogues_.add(builderForValue.build());
        onChanged();
      } else {
        dialoguesBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public Builder addDialogues(
        int index, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder builderForValue) {
      if (dialoguesBuilder_ == null) {
        ensureDialoguesIsMutable();
        dialogues_.add(index, builderForValue.build());
        onChanged();
      } else {
        dialoguesBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public Builder addAllDialogues(
        java.lang.Iterable<? extends com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue> values) {
      if (dialoguesBuilder_ == null) {
        ensureDialoguesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, dialogues_);
        onChanged();
      } else {
        dialoguesBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public Builder clearDialogues() {
      if (dialoguesBuilder_ == null) {
        dialogues_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000100);
        onChanged();
      } else {
        dialoguesBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public Builder removeDialogues(int index) {
      if (dialoguesBuilder_ == null) {
        ensureDialoguesIsMutable();
        dialogues_.remove(index);
        onChanged();
      } else {
        dialoguesBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder getDialoguesBuilder(
        int index) {
      return getDialoguesFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogueOrBuilder getDialoguesOrBuilder(
        int index) {
      if (dialoguesBuilder_ == null) {
        return dialogues_.get(index);  } else {
        return dialoguesBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogueOrBuilder> 
         getDialoguesOrBuilderList() {
      if (dialoguesBuilder_ != null) {
        return dialoguesBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(dialogues_);
      }
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder addDialoguesBuilder() {
      return getDialoguesFieldBuilder().addBuilder(
          com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.getDefaultInstance());
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder addDialoguesBuilder(
        int index) {
      return getDialoguesFieldBuilder().addBuilder(
          index, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.getDefaultInstance());
    }
    /**
     * <code>repeated .UgqGameQuestDialogue dialogues = 9;</code>
     */
    public java.util.List<com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder> 
         getDialoguesBuilderList() {
      return getDialoguesFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogueOrBuilder> 
        getDialoguesFieldBuilder() {
      if (dialoguesBuilder_ == null) {
        dialoguesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogue.Builder, com.caliverse.admin.domain.RabbitMq.message.UgqGameQuestDialogueOrBuilder>(
                dialogues_,
                ((bitField0_ & 0x00000100) != 0),
                getParentForChildren(),
                isClean());
        dialogues_ = null;
      }
      return dialoguesBuilder_;
    }

    private int ugqStateType_ = 0;
    /**
     * <code>.UgqStateType ugqStateType = 10;</code>
     * @return The enum numeric value on the wire for ugqStateType.
     */
    @java.lang.Override public int getUgqStateTypeValue() {
      return ugqStateType_;
    }
    /**
     * <code>.UgqStateType ugqStateType = 10;</code>
     * @param value The enum numeric value on the wire for ugqStateType to set.
     * @return This builder for chaining.
     */
    public Builder setUgqStateTypeValue(int value) {
      ugqStateType_ = value;
      bitField0_ |= 0x00000200;
      onChanged();
      return this;
    }
    /**
     * <code>.UgqStateType ugqStateType = 10;</code>
     * @return The ugqStateType.
     */
    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.UgqStateType getUgqStateType() {
      com.caliverse.admin.domain.RabbitMq.message.UgqStateType result = com.caliverse.admin.domain.RabbitMq.message.UgqStateType.forNumber(ugqStateType_);
      return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqStateType.UNRECOGNIZED : result;
    }
    /**
     * <code>.UgqStateType ugqStateType = 10;</code>
     * @param value The ugqStateType to set.
     * @return This builder for chaining.
     */
    public Builder setUgqStateType(com.caliverse.admin.domain.RabbitMq.message.UgqStateType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000200;
      ugqStateType_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <code>.UgqStateType ugqStateType = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearUgqStateType() {
      bitField0_ = (bitField0_ & ~0x00000200);
      ugqStateType_ = 0;
      onChanged();
      return this;
    }

    private int ugqGradeType_ = 0;
    /**
     * <code>.UgqGradeType ugqGradeType = 11;</code>
     * @return The enum numeric value on the wire for ugqGradeType.
     */
    @java.lang.Override public int getUgqGradeTypeValue() {
      return ugqGradeType_;
    }
    /**
     * <code>.UgqGradeType ugqGradeType = 11;</code>
     * @param value The enum numeric value on the wire for ugqGradeType to set.
     * @return This builder for chaining.
     */
    public Builder setUgqGradeTypeValue(int value) {
      ugqGradeType_ = value;
      bitField0_ |= 0x00000400;
      onChanged();
      return this;
    }
    /**
     * <code>.UgqGradeType ugqGradeType = 11;</code>
     * @return The ugqGradeType.
     */
    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.UgqGradeType getUgqGradeType() {
      com.caliverse.admin.domain.RabbitMq.message.UgqGradeType result = com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.forNumber(ugqGradeType_);
      return result == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGradeType.UNRECOGNIZED : result;
    }
    /**
     * <code>.UgqGradeType ugqGradeType = 11;</code>
     * @param value The ugqGradeType to set.
     * @return This builder for chaining.
     */
    public Builder setUgqGradeType(com.caliverse.admin.domain.RabbitMq.message.UgqGradeType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000400;
      ugqGradeType_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <code>.UgqGradeType ugqGradeType = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearUgqGradeType() {
      bitField0_ = (bitField0_ & ~0x00000400);
      ugqGradeType_ = 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:UgqGameQuestDataForClient)
  }

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

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

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

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

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

}

