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

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

/**
 * Protobuf type {@code QuestTaskMetaInfo}
 */
public final class QuestTaskMetaInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:QuestTaskMetaInfo)
    QuestTaskMetaInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use QuestTaskMetaInfo.newBuilder() to construct.
  private QuestTaskMetaInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private QuestTaskMetaInfo() {
    taskName_ = "";
    taskCondition_ = "";
    taskConditionDesc_ = "";
  }

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

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

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

  public static final int IDX_FIELD_NUMBER = 1;
  private int idx_ = 0;
  /**
   * <code>int32 idx = 1;</code>
   * @return The idx.
   */
  @java.lang.Override
  public int getIdx() {
    return idx_;
  }

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

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

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

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

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

  public static final int SETCOUNTER_FIELD_NUMBER = 7;
  private int setCounter_ = 0;
  /**
   * <code>int32 setCounter = 7;</code>
   * @return The setCounter.
   */
  @java.lang.Override
  public int getSetCounter() {
    return setCounter_;
  }

  public static final int WORLDID_FIELD_NUMBER = 8;
  private int worldId_ = 0;
  /**
   * <code>int32 worldId = 8;</code>
   * @return The worldId.
   */
  @java.lang.Override
  public int getWorldId() {
    return worldId_;
  }

  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 (idx_ != 0) {
      output.writeInt32(1, idx_);
    }
    if (composedQuestId_ != 0L) {
      output.writeInt64(2, composedQuestId_);
    }
    if (taskNum_ != 0) {
      output.writeInt32(3, taskNum_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, taskName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskCondition_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, taskCondition_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskConditionDesc_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, taskConditionDesc_);
    }
    if (setCounter_ != 0) {
      output.writeInt32(7, setCounter_);
    }
    if (worldId_ != 0) {
      output.writeInt32(8, worldId_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (idx_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, idx_);
    }
    if (composedQuestId_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(2, composedQuestId_);
    }
    if (taskNum_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(3, taskNum_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, taskName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskCondition_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, taskCondition_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskConditionDesc_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, taskConditionDesc_);
    }
    if (setCounter_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, setCounter_);
    }
    if (worldId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(8, worldId_);
    }
    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.QuestTaskMetaInfo)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo other = (com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo) obj;

    if (getIdx()
        != other.getIdx()) return false;
    if (getComposedQuestId()
        != other.getComposedQuestId()) return false;
    if (getTaskNum()
        != other.getTaskNum()) return false;
    if (!getTaskName()
        .equals(other.getTaskName())) return false;
    if (!getTaskCondition()
        .equals(other.getTaskCondition())) return false;
    if (!getTaskConditionDesc()
        .equals(other.getTaskConditionDesc())) return false;
    if (getSetCounter()
        != other.getSetCounter()) return false;
    if (getWorldId()
        != other.getWorldId()) 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) + IDX_FIELD_NUMBER;
    hash = (53 * hash) + getIdx();
    hash = (37 * hash) + COMPOSEDQUESTID_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getComposedQuestId());
    hash = (37 * hash) + TASKNUM_FIELD_NUMBER;
    hash = (53 * hash) + getTaskNum();
    hash = (37 * hash) + TASKNAME_FIELD_NUMBER;
    hash = (53 * hash) + getTaskName().hashCode();
    hash = (37 * hash) + TASKCONDITION_FIELD_NUMBER;
    hash = (53 * hash) + getTaskCondition().hashCode();
    hash = (37 * hash) + TASKCONDITIONDESC_FIELD_NUMBER;
    hash = (53 * hash) + getTaskConditionDesc().hashCode();
    hash = (37 * hash) + SETCOUNTER_FIELD_NUMBER;
    hash = (53 * hash) + getSetCounter();
    hash = (37 * hash) + WORLDID_FIELD_NUMBER;
    hash = (53 * hash) + getWorldId();
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      idx_ = 0;
      composedQuestId_ = 0L;
      taskNum_ = 0;
      taskName_ = "";
      taskCondition_ = "";
      taskConditionDesc_ = "";
      setCounter_ = 0;
      worldId_ = 0;
      return this;
    }

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

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

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

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

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.idx_ = idx_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.composedQuestId_ = composedQuestId_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.taskNum_ = taskNum_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.taskName_ = taskName_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.taskCondition_ = taskCondition_;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.taskConditionDesc_ = taskConditionDesc_;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.setCounter_ = setCounter_;
      }
      if (((from_bitField0_ & 0x00000080) != 0)) {
        result.worldId_ = worldId_;
      }
    }

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

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.QuestTaskMetaInfo.getDefaultInstance()) return this;
      if (other.getIdx() != 0) {
        setIdx(other.getIdx());
      }
      if (other.getComposedQuestId() != 0L) {
        setComposedQuestId(other.getComposedQuestId());
      }
      if (other.getTaskNum() != 0) {
        setTaskNum(other.getTaskNum());
      }
      if (!other.getTaskName().isEmpty()) {
        taskName_ = other.taskName_;
        bitField0_ |= 0x00000008;
        onChanged();
      }
      if (!other.getTaskCondition().isEmpty()) {
        taskCondition_ = other.taskCondition_;
        bitField0_ |= 0x00000010;
        onChanged();
      }
      if (!other.getTaskConditionDesc().isEmpty()) {
        taskConditionDesc_ = other.taskConditionDesc_;
        bitField0_ |= 0x00000020;
        onChanged();
      }
      if (other.getSetCounter() != 0) {
        setSetCounter(other.getSetCounter());
      }
      if (other.getWorldId() != 0) {
        setWorldId(other.getWorldId());
      }
      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: {
              idx_ = input.readInt32();
              bitField0_ |= 0x00000001;
              break;
            } // case 8
            case 16: {
              composedQuestId_ = input.readInt64();
              bitField0_ |= 0x00000002;
              break;
            } // case 16
            case 24: {
              taskNum_ = input.readInt32();
              bitField0_ |= 0x00000004;
              break;
            } // case 24
            case 34: {
              taskName_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000008;
              break;
            } // case 34
            case 42: {
              taskCondition_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000010;
              break;
            } // case 42
            case 50: {
              taskConditionDesc_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000020;
              break;
            } // case 50
            case 56: {
              setCounter_ = input.readInt32();
              bitField0_ |= 0x00000040;
              break;
            } // case 56
            case 64: {
              worldId_ = input.readInt32();
              bitField0_ |= 0x00000080;
              break;
            } // case 64
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int bitField0_;

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

    private long composedQuestId_ ;
    /**
     * <code>int64 composedQuestId = 2;</code>
     * @return The composedQuestId.
     */
    @java.lang.Override
    public long getComposedQuestId() {
      return composedQuestId_;
    }
    /**
     * <code>int64 composedQuestId = 2;</code>
     * @param value The composedQuestId to set.
     * @return This builder for chaining.
     */
    public Builder setComposedQuestId(long value) {
      
      composedQuestId_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <code>int64 composedQuestId = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearComposedQuestId() {
      bitField0_ = (bitField0_ & ~0x00000002);
      composedQuestId_ = 0L;
      onChanged();
      return this;
    }

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

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

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

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

    private int setCounter_ ;
    /**
     * <code>int32 setCounter = 7;</code>
     * @return The setCounter.
     */
    @java.lang.Override
    public int getSetCounter() {
      return setCounter_;
    }
    /**
     * <code>int32 setCounter = 7;</code>
     * @param value The setCounter to set.
     * @return This builder for chaining.
     */
    public Builder setSetCounter(int value) {
      
      setCounter_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     * <code>int32 setCounter = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearSetCounter() {
      bitField0_ = (bitField0_ & ~0x00000040);
      setCounter_ = 0;
      onChanged();
      return this;
    }

    private int worldId_ ;
    /**
     * <code>int32 worldId = 8;</code>
     * @return The worldId.
     */
    @java.lang.Override
    public int getWorldId() {
      return worldId_;
    }
    /**
     * <code>int32 worldId = 8;</code>
     * @param value The worldId to set.
     * @return This builder for chaining.
     */
    public Builder setWorldId(int value) {
      
      worldId_ = value;
      bitField0_ |= 0x00000080;
      onChanged();
      return this;
    }
    /**
     * <code>int32 worldId = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearWorldId() {
      bitField0_ = (bitField0_ & ~0x00000080);
      worldId_ = 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:QuestTaskMetaInfo)
  }

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

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

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

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

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

}

