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

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

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

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

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

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

  private int bitField0_;
  public static final int TASKNUM_FIELD_NUMBER = 1;
  private int taskNum_ = 0;
  /**
   * <code>int32 taskNum = 1;</code>
   * @return The taskNum.
   */
  @java.lang.Override
  public int getTaskNum() {
    return taskNum_;
  }

  public static final int GOALTEXT_FIELD_NUMBER = 2;
  private com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient goalText_;
  /**
   * <code>.UgqGameTextDataForClient goalText = 2;</code>
   * @return Whether the goalText field is set.
   */
  @java.lang.Override
  public boolean hasGoalText() {
    return goalText_ != null;
  }
  /**
   * <code>.UgqGameTextDataForClient goalText = 2;</code>
   * @return The goalText.
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getGoalText() {
    return goalText_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : goalText_;
  }
  /**
   * <code>.UgqGameTextDataForClient goalText = 2;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder getGoalTextOrBuilder() {
    return goalText_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : goalText_;
  }

  public static final int DIALOGUEID_FIELD_NUMBER = 3;
  @SuppressWarnings("serial")
  private volatile java.lang.Object dialogueId_ = "";
  /**
   * <code>optional string dialogueId = 3;</code>
   * @return Whether the dialogueId field is set.
   */
  @java.lang.Override
  public boolean hasDialogueId() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * <code>optional string dialogueId = 3;</code>
   * @return The dialogueId.
   */
  @java.lang.Override
  public java.lang.String getDialogueId() {
    java.lang.Object ref = dialogueId_;
    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();
      dialogueId_ = s;
      return s;
    }
  }
  /**
   * <code>optional string dialogueId = 3;</code>
   * @return The bytes for dialogueId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDialogueIdBytes() {
    java.lang.Object ref = dialogueId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      dialogueId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int UGCBEACONGUID_FIELD_NUMBER = 4;
  @SuppressWarnings("serial")
  private volatile java.lang.Object ugcBeaconGuid_ = "";
  /**
   * <code>string ugcBeaconGuid = 4;</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 = 4;</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 = 5;
  @SuppressWarnings("serial")
  private volatile java.lang.Object ugcBeaconNickname_ = "";
  /**
   * <code>string ugcBeaconNickname = 5;</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 = 5;</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 ACTIONID_FIELD_NUMBER = 6;
  private int actionId_ = 0;
  /**
   * <code>int32 ActionId = 6;</code>
   * @return The actionId.
   */
  @java.lang.Override
  public int getActionId() {
    return actionId_;
  }

  public static final int ACTIONVALUE_FIELD_NUMBER = 7;
  private int actionValue_ = 0;
  /**
   * <code>int32 ActionValue = 7;</code>
   * @return The actionValue.
   */
  @java.lang.Override
  public int getActionValue() {
    return actionValue_;
  }

  public static final int ISSHOWNPCLOCATION_FIELD_NUMBER = 8;
  private int isShowNpcLocation_ = 0;
  /**
   * <code>.BoolType IsShowNpcLocation = 8;</code>
   * @return The enum numeric value on the wire for isShowNpcLocation.
   */
  @java.lang.Override public int getIsShowNpcLocationValue() {
    return isShowNpcLocation_;
  }
  /**
   * <code>.BoolType IsShowNpcLocation = 8;</code>
   * @return The isShowNpcLocation.
   */
  @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsShowNpcLocation() {
    com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isShowNpcLocation_);
    return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result;
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (taskNum_ != 0) {
      output.writeInt32(1, taskNum_);
    }
    if (goalText_ != null) {
      output.writeMessage(2, getGoalText());
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dialogueId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ugcBeaconGuid_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconNickname_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ugcBeaconNickname_);
    }
    if (actionId_ != 0) {
      output.writeInt32(6, actionId_);
    }
    if (actionValue_ != 0) {
      output.writeInt32(7, actionValue_);
    }
    if (isShowNpcLocation_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) {
      output.writeEnum(8, isShowNpcLocation_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (taskNum_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, taskNum_);
    }
    if (goalText_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, getGoalText());
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dialogueId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ugcBeaconGuid_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ugcBeaconNickname_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, ugcBeaconNickname_);
    }
    if (actionId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(6, actionId_);
    }
    if (actionValue_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, actionValue_);
    }
    if (isShowNpcLocation_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(8, isShowNpcLocation_);
    }
    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.UgqGameTaskDataForClient)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient other = (com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient) obj;

    if (getTaskNum()
        != other.getTaskNum()) return false;
    if (hasGoalText() != other.hasGoalText()) return false;
    if (hasGoalText()) {
      if (!getGoalText()
          .equals(other.getGoalText())) return false;
    }
    if (hasDialogueId() != other.hasDialogueId()) return false;
    if (hasDialogueId()) {
      if (!getDialogueId()
          .equals(other.getDialogueId())) return false;
    }
    if (!getUgcBeaconGuid()
        .equals(other.getUgcBeaconGuid())) return false;
    if (!getUgcBeaconNickname()
        .equals(other.getUgcBeaconNickname())) return false;
    if (getActionId()
        != other.getActionId()) return false;
    if (getActionValue()
        != other.getActionValue()) return false;
    if (isShowNpcLocation_ != other.isShowNpcLocation_) 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) + TASKNUM_FIELD_NUMBER;
    hash = (53 * hash) + getTaskNum();
    if (hasGoalText()) {
      hash = (37 * hash) + GOALTEXT_FIELD_NUMBER;
      hash = (53 * hash) + getGoalText().hashCode();
    }
    if (hasDialogueId()) {
      hash = (37 * hash) + DIALOGUEID_FIELD_NUMBER;
      hash = (53 * hash) + getDialogueId().hashCode();
    }
    hash = (37 * hash) + UGCBEACONGUID_FIELD_NUMBER;
    hash = (53 * hash) + getUgcBeaconGuid().hashCode();
    hash = (37 * hash) + UGCBEACONNICKNAME_FIELD_NUMBER;
    hash = (53 * hash) + getUgcBeaconNickname().hashCode();
    hash = (37 * hash) + ACTIONID_FIELD_NUMBER;
    hash = (53 * hash) + getActionId();
    hash = (37 * hash) + ACTIONVALUE_FIELD_NUMBER;
    hash = (53 * hash) + getActionValue();
    hash = (37 * hash) + ISSHOWNPCLOCATION_FIELD_NUMBER;
    hash = (53 * hash) + isShowNpcLocation_;
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      taskNum_ = 0;
      goalText_ = null;
      if (goalTextBuilder_ != null) {
        goalTextBuilder_.dispose();
        goalTextBuilder_ = null;
      }
      dialogueId_ = "";
      ugcBeaconGuid_ = "";
      ugcBeaconNickname_ = "";
      actionId_ = 0;
      actionValue_ = 0;
      isShowNpcLocation_ = 0;
      return this;
    }

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

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

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

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

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.taskNum_ = taskNum_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.goalText_ = goalTextBuilder_ == null
            ? goalText_
            : goalTextBuilder_.build();
      }
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.dialogueId_ = dialogueId_;
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.ugcBeaconGuid_ = ugcBeaconGuid_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.ugcBeaconNickname_ = ugcBeaconNickname_;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.actionId_ = actionId_;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.actionValue_ = actionValue_;
      }
      if (((from_bitField0_ & 0x00000080) != 0)) {
        result.isShowNpcLocation_ = isShowNpcLocation_;
      }
      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.UgqGameTaskDataForClient) {
        return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.UgqGameTaskDataForClient.getDefaultInstance()) return this;
      if (other.getTaskNum() != 0) {
        setTaskNum(other.getTaskNum());
      }
      if (other.hasGoalText()) {
        mergeGoalText(other.getGoalText());
      }
      if (other.hasDialogueId()) {
        dialogueId_ = other.dialogueId_;
        bitField0_ |= 0x00000004;
        onChanged();
      }
      if (!other.getUgcBeaconGuid().isEmpty()) {
        ugcBeaconGuid_ = other.ugcBeaconGuid_;
        bitField0_ |= 0x00000008;
        onChanged();
      }
      if (!other.getUgcBeaconNickname().isEmpty()) {
        ugcBeaconNickname_ = other.ugcBeaconNickname_;
        bitField0_ |= 0x00000010;
        onChanged();
      }
      if (other.getActionId() != 0) {
        setActionId(other.getActionId());
      }
      if (other.getActionValue() != 0) {
        setActionValue(other.getActionValue());
      }
      if (other.isShowNpcLocation_ != 0) {
        setIsShowNpcLocationValue(other.getIsShowNpcLocationValue());
      }
      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: {
              taskNum_ = input.readInt32();
              bitField0_ |= 0x00000001;
              break;
            } // case 8
            case 18: {
              input.readMessage(
                  getGoalTextFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 26: {
              dialogueId_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000004;
              break;
            } // case 26
            case 34: {
              ugcBeaconGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000008;
              break;
            } // case 34
            case 42: {
              ugcBeaconNickname_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000010;
              break;
            } // case 42
            case 48: {
              actionId_ = input.readInt32();
              bitField0_ |= 0x00000020;
              break;
            } // case 48
            case 56: {
              actionValue_ = input.readInt32();
              bitField0_ |= 0x00000040;
              break;
            } // case 56
            case 64: {
              isShowNpcLocation_ = input.readEnum();
              bitField0_ |= 0x00000080;
              break;
            } // case 64
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int bitField0_;

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

    private com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient goalText_;
    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> goalTextBuilder_;
    /**
     * <code>.UgqGameTextDataForClient goalText = 2;</code>
     * @return Whether the goalText field is set.
     */
    public boolean hasGoalText() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>.UgqGameTextDataForClient goalText = 2;</code>
     * @return The goalText.
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient getGoalText() {
      if (goalTextBuilder_ == null) {
        return goalText_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : goalText_;
      } else {
        return goalTextBuilder_.getMessage();
      }
    }
    /**
     * <code>.UgqGameTextDataForClient goalText = 2;</code>
     */
    public Builder setGoalText(com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient value) {
      if (goalTextBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        goalText_ = value;
      } else {
        goalTextBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <code>.UgqGameTextDataForClient goalText = 2;</code>
     */
    public Builder setGoalText(
        com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder builderForValue) {
      if (goalTextBuilder_ == null) {
        goalText_ = builderForValue.build();
      } else {
        goalTextBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <code>.UgqGameTextDataForClient goalText = 2;</code>
     */
    public Builder mergeGoalText(com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient value) {
      if (goalTextBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0) &&
          goalText_ != null &&
          goalText_ != com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance()) {
          getGoalTextBuilder().mergeFrom(value);
        } else {
          goalText_ = value;
        }
      } else {
        goalTextBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <code>.UgqGameTextDataForClient goalText = 2;</code>
     */
    public Builder clearGoalText() {
      bitField0_ = (bitField0_ & ~0x00000002);
      goalText_ = null;
      if (goalTextBuilder_ != null) {
        goalTextBuilder_.dispose();
        goalTextBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * <code>.UgqGameTextDataForClient goalText = 2;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.Builder getGoalTextBuilder() {
      bitField0_ |= 0x00000002;
      onChanged();
      return getGoalTextFieldBuilder().getBuilder();
    }
    /**
     * <code>.UgqGameTextDataForClient goalText = 2;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClientOrBuilder getGoalTextOrBuilder() {
      if (goalTextBuilder_ != null) {
        return goalTextBuilder_.getMessageOrBuilder();
      } else {
        return goalText_ == null ?
            com.caliverse.admin.domain.RabbitMq.message.UgqGameTextDataForClient.getDefaultInstance() : goalText_;
      }
    }
    /**
     * <code>.UgqGameTextDataForClient goalText = 2;</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> 
        getGoalTextFieldBuilder() {
      if (goalTextBuilder_ == null) {
        goalTextBuilder_ = 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>(
                getGoalText(),
                getParentForChildren(),
                isClean());
        goalText_ = null;
      }
      return goalTextBuilder_;
    }

    private java.lang.Object dialogueId_ = "";
    /**
     * <code>optional string dialogueId = 3;</code>
     * @return Whether the dialogueId field is set.
     */
    public boolean hasDialogueId() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>optional string dialogueId = 3;</code>
     * @return The dialogueId.
     */
    public java.lang.String getDialogueId() {
      java.lang.Object ref = dialogueId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        dialogueId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>optional string dialogueId = 3;</code>
     * @return The bytes for dialogueId.
     */
    public com.google.protobuf.ByteString
        getDialogueIdBytes() {
      java.lang.Object ref = dialogueId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        dialogueId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>optional string dialogueId = 3;</code>
     * @param value The dialogueId to set.
     * @return This builder for chaining.
     */
    public Builder setDialogueId(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      dialogueId_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <code>optional string dialogueId = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearDialogueId() {
      dialogueId_ = getDefaultInstance().getDialogueId();
      bitField0_ = (bitField0_ & ~0x00000004);
      onChanged();
      return this;
    }
    /**
     * <code>optional string dialogueId = 3;</code>
     * @param value The bytes for dialogueId to set.
     * @return This builder for chaining.
     */
    public Builder setDialogueIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      dialogueId_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }

    private java.lang.Object ugcBeaconGuid_ = "";
    /**
     * <code>string ugcBeaconGuid = 4;</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 = 4;</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 = 4;</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_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <code>string ugcBeaconGuid = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearUgcBeaconGuid() {
      ugcBeaconGuid_ = getDefaultInstance().getUgcBeaconGuid();
      bitField0_ = (bitField0_ & ~0x00000008);
      onChanged();
      return this;
    }
    /**
     * <code>string ugcBeaconGuid = 4;</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_ |= 0x00000008;
      onChanged();
      return this;
    }

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

    private int actionId_ ;
    /**
     * <code>int32 ActionId = 6;</code>
     * @return The actionId.
     */
    @java.lang.Override
    public int getActionId() {
      return actionId_;
    }
    /**
     * <code>int32 ActionId = 6;</code>
     * @param value The actionId to set.
     * @return This builder for chaining.
     */
    public Builder setActionId(int value) {
      
      actionId_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     * <code>int32 ActionId = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearActionId() {
      bitField0_ = (bitField0_ & ~0x00000020);
      actionId_ = 0;
      onChanged();
      return this;
    }

    private int actionValue_ ;
    /**
     * <code>int32 ActionValue = 7;</code>
     * @return The actionValue.
     */
    @java.lang.Override
    public int getActionValue() {
      return actionValue_;
    }
    /**
     * <code>int32 ActionValue = 7;</code>
     * @param value The actionValue to set.
     * @return This builder for chaining.
     */
    public Builder setActionValue(int value) {
      
      actionValue_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     * <code>int32 ActionValue = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearActionValue() {
      bitField0_ = (bitField0_ & ~0x00000040);
      actionValue_ = 0;
      onChanged();
      return this;
    }

    private int isShowNpcLocation_ = 0;
    /**
     * <code>.BoolType IsShowNpcLocation = 8;</code>
     * @return The enum numeric value on the wire for isShowNpcLocation.
     */
    @java.lang.Override public int getIsShowNpcLocationValue() {
      return isShowNpcLocation_;
    }
    /**
     * <code>.BoolType IsShowNpcLocation = 8;</code>
     * @param value The enum numeric value on the wire for isShowNpcLocation to set.
     * @return This builder for chaining.
     */
    public Builder setIsShowNpcLocationValue(int value) {
      isShowNpcLocation_ = value;
      bitField0_ |= 0x00000080;
      onChanged();
      return this;
    }
    /**
     * <code>.BoolType IsShowNpcLocation = 8;</code>
     * @return The isShowNpcLocation.
     */
    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsShowNpcLocation() {
      com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isShowNpcLocation_);
      return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result;
    }
    /**
     * <code>.BoolType IsShowNpcLocation = 8;</code>
     * @param value The isShowNpcLocation to set.
     * @return This builder for chaining.
     */
    public Builder setIsShowNpcLocation(com.caliverse.admin.domain.RabbitMq.message.BoolType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000080;
      isShowNpcLocation_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <code>.BoolType IsShowNpcLocation = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsShowNpcLocation() {
      bitField0_ = (bitField0_ & ~0x00000080);
      isShowNpcLocation_ = 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:UgqGameTaskDataForClient)
  }

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

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

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

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

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

}

