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

package io.grasscutter.net.proto.quest;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private CBMCENPMIHI(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 16: {

            isSuccess_ = input.readBool();
            break;
          }
          case 32: {

            mPMMPDOGIGA_ = input.readUInt32();
            break;
          }
          case 40: {

            fEEHHBKLAGE_ = input.readUInt32();
            break;
          }
          case 48: {

            eJLNCIFPJGL_ = input.readUInt32();
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.quest.Quest.internal_static_CBMCENPMIHI_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grasscutter.net.proto.quest.Quest.internal_static_CBMCENPMIHI_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.quest.CBMCENPMIHI.class, io.grasscutter.net.proto.quest.CBMCENPMIHI.Builder.class);
  }

  public static final int EJLNCIFPJGL_FIELD_NUMBER = 6;
  private int eJLNCIFPJGL_;
  /**
   * <code>uint32 EJLNCIFPJGL = 6;</code>
   * @return The eJLNCIFPJGL.
   */
  @java.lang.Override
  public int getEJLNCIFPJGL() {
    return eJLNCIFPJGL_;
  }

  public static final int FEEHHBKLAGE_FIELD_NUMBER = 5;
  private int fEEHHBKLAGE_;
  /**
   * <code>uint32 FEEHHBKLAGE = 5;</code>
   * @return The fEEHHBKLAGE.
   */
  @java.lang.Override
  public int getFEEHHBKLAGE() {
    return fEEHHBKLAGE_;
  }

  public static final int MPMMPDOGIGA_FIELD_NUMBER = 4;
  private int mPMMPDOGIGA_;
  /**
   * <code>uint32 MPMMPDOGIGA = 4;</code>
   * @return The mPMMPDOGIGA.
   */
  @java.lang.Override
  public int getMPMMPDOGIGA() {
    return mPMMPDOGIGA_;
  }

  public static final int IS_SUCCESS_FIELD_NUMBER = 2;
  private boolean isSuccess_;
  /**
   * <code>bool is_success = 2;</code>
   * @return The isSuccess.
   */
  @java.lang.Override
  public boolean getIsSuccess() {
    return isSuccess_;
  }

  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 (isSuccess_ != false) {
      output.writeBool(2, isSuccess_);
    }
    if (mPMMPDOGIGA_ != 0) {
      output.writeUInt32(4, mPMMPDOGIGA_);
    }
    if (fEEHHBKLAGE_ != 0) {
      output.writeUInt32(5, fEEHHBKLAGE_);
    }
    if (eJLNCIFPJGL_ != 0) {
      output.writeUInt32(6, eJLNCIFPJGL_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (isSuccess_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(2, isSuccess_);
    }
    if (mPMMPDOGIGA_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(4, mPMMPDOGIGA_);
    }
    if (fEEHHBKLAGE_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(5, fEEHHBKLAGE_);
    }
    if (eJLNCIFPJGL_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(6, eJLNCIFPJGL_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof io.grasscutter.net.proto.quest.CBMCENPMIHI)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.quest.CBMCENPMIHI other = (io.grasscutter.net.proto.quest.CBMCENPMIHI) obj;

    if (getEJLNCIFPJGL()
        != other.getEJLNCIFPJGL()) return false;
    if (getFEEHHBKLAGE()
        != other.getFEEHHBKLAGE()) return false;
    if (getMPMMPDOGIGA()
        != other.getMPMMPDOGIGA()) return false;
    if (getIsSuccess()
        != other.getIsSuccess()) return false;
    if (!unknownFields.equals(other.unknownFields)) 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) + EJLNCIFPJGL_FIELD_NUMBER;
    hash = (53 * hash) + getEJLNCIFPJGL();
    hash = (37 * hash) + FEEHHBKLAGE_FIELD_NUMBER;
    hash = (53 * hash) + getFEEHHBKLAGE();
    hash = (37 * hash) + MPMMPDOGIGA_FIELD_NUMBER;
    hash = (53 * hash) + getMPMMPDOGIGA();
    hash = (37 * hash) + IS_SUCCESS_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsSuccess());
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static io.grasscutter.net.proto.quest.CBMCENPMIHI parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.quest.CBMCENPMIHI parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.quest.CBMCENPMIHI parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.quest.CBMCENPMIHI parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.quest.CBMCENPMIHI parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.quest.CBMCENPMIHI parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.quest.CBMCENPMIHI parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.quest.CBMCENPMIHI 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 io.grasscutter.net.proto.quest.CBMCENPMIHI parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.quest.CBMCENPMIHI 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 io.grasscutter.net.proto.quest.CBMCENPMIHI parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.quest.CBMCENPMIHI 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(io.grasscutter.net.proto.quest.CBMCENPMIHI 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 CBMCENPMIHI}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:CBMCENPMIHI)
      io.grasscutter.net.proto.quest.CBMCENPMIHIOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.grasscutter.net.proto.quest.Quest.internal_static_CBMCENPMIHI_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grasscutter.net.proto.quest.Quest.internal_static_CBMCENPMIHI_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.quest.CBMCENPMIHI.class, io.grasscutter.net.proto.quest.CBMCENPMIHI.Builder.class);
    }

    // Construct using io.grasscutter.net.proto.quest.CBMCENPMIHI.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      eJLNCIFPJGL_ = 0;

      fEEHHBKLAGE_ = 0;

      mPMMPDOGIGA_ = 0;

      isSuccess_ = false;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return io.grasscutter.net.proto.quest.Quest.internal_static_CBMCENPMIHI_descriptor;
    }

    @java.lang.Override
    public io.grasscutter.net.proto.quest.CBMCENPMIHI getDefaultInstanceForType() {
      return io.grasscutter.net.proto.quest.CBMCENPMIHI.getDefaultInstance();
    }

    @java.lang.Override
    public io.grasscutter.net.proto.quest.CBMCENPMIHI build() {
      io.grasscutter.net.proto.quest.CBMCENPMIHI result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public io.grasscutter.net.proto.quest.CBMCENPMIHI buildPartial() {
      io.grasscutter.net.proto.quest.CBMCENPMIHI result = new io.grasscutter.net.proto.quest.CBMCENPMIHI(this);
      result.eJLNCIFPJGL_ = eJLNCIFPJGL_;
      result.fEEHHBKLAGE_ = fEEHHBKLAGE_;
      result.mPMMPDOGIGA_ = mPMMPDOGIGA_;
      result.isSuccess_ = isSuccess_;
      onBuilt();
      return result;
    }

    @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 io.grasscutter.net.proto.quest.CBMCENPMIHI) {
        return mergeFrom((io.grasscutter.net.proto.quest.CBMCENPMIHI)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.quest.CBMCENPMIHI other) {
      if (other == io.grasscutter.net.proto.quest.CBMCENPMIHI.getDefaultInstance()) return this;
      if (other.getEJLNCIFPJGL() != 0) {
        setEJLNCIFPJGL(other.getEJLNCIFPJGL());
      }
      if (other.getFEEHHBKLAGE() != 0) {
        setFEEHHBKLAGE(other.getFEEHHBKLAGE());
      }
      if (other.getMPMMPDOGIGA() != 0) {
        setMPMMPDOGIGA(other.getMPMMPDOGIGA());
      }
      if (other.getIsSuccess() != false) {
        setIsSuccess(other.getIsSuccess());
      }
      this.mergeUnknownFields(other.unknownFields);
      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 {
      io.grasscutter.net.proto.quest.CBMCENPMIHI parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.quest.CBMCENPMIHI) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private int eJLNCIFPJGL_ ;
    /**
     * <code>uint32 EJLNCIFPJGL = 6;</code>
     * @return The eJLNCIFPJGL.
     */
    @java.lang.Override
    public int getEJLNCIFPJGL() {
      return eJLNCIFPJGL_;
    }
    /**
     * <code>uint32 EJLNCIFPJGL = 6;</code>
     * @param value The eJLNCIFPJGL to set.
     * @return This builder for chaining.
     */
    public Builder setEJLNCIFPJGL(int value) {
      
      eJLNCIFPJGL_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 EJLNCIFPJGL = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearEJLNCIFPJGL() {
      
      eJLNCIFPJGL_ = 0;
      onChanged();
      return this;
    }

    private int fEEHHBKLAGE_ ;
    /**
     * <code>uint32 FEEHHBKLAGE = 5;</code>
     * @return The fEEHHBKLAGE.
     */
    @java.lang.Override
    public int getFEEHHBKLAGE() {
      return fEEHHBKLAGE_;
    }
    /**
     * <code>uint32 FEEHHBKLAGE = 5;</code>
     * @param value The fEEHHBKLAGE to set.
     * @return This builder for chaining.
     */
    public Builder setFEEHHBKLAGE(int value) {
      
      fEEHHBKLAGE_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 FEEHHBKLAGE = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearFEEHHBKLAGE() {
      
      fEEHHBKLAGE_ = 0;
      onChanged();
      return this;
    }

    private int mPMMPDOGIGA_ ;
    /**
     * <code>uint32 MPMMPDOGIGA = 4;</code>
     * @return The mPMMPDOGIGA.
     */
    @java.lang.Override
    public int getMPMMPDOGIGA() {
      return mPMMPDOGIGA_;
    }
    /**
     * <code>uint32 MPMMPDOGIGA = 4;</code>
     * @param value The mPMMPDOGIGA to set.
     * @return This builder for chaining.
     */
    public Builder setMPMMPDOGIGA(int value) {
      
      mPMMPDOGIGA_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 MPMMPDOGIGA = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearMPMMPDOGIGA() {
      
      mPMMPDOGIGA_ = 0;
      onChanged();
      return this;
    }

    private boolean isSuccess_ ;
    /**
     * <code>bool is_success = 2;</code>
     * @return The isSuccess.
     */
    @java.lang.Override
    public boolean getIsSuccess() {
      return isSuccess_;
    }
    /**
     * <code>bool is_success = 2;</code>
     * @param value The isSuccess to set.
     * @return This builder for chaining.
     */
    public Builder setIsSuccess(boolean value) {
      
      isSuccess_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool is_success = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsSuccess() {
      
      isSuccess_ = false;
      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:CBMCENPMIHI)
  }

  // @@protoc_insertion_point(class_scope:CBMCENPMIHI)
  private static final io.grasscutter.net.proto.quest.CBMCENPMIHI DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new io.grasscutter.net.proto.quest.CBMCENPMIHI();
  }

  public static io.grasscutter.net.proto.quest.CBMCENPMIHI getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<CBMCENPMIHI>
      PARSER = new com.google.protobuf.AbstractParser<CBMCENPMIHI>() {
    @java.lang.Override
    public CBMCENPMIHI parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new CBMCENPMIHI(input, extensionRegistry);
    }
  };

  public static com.google.protobuf.Parser<CBMCENPMIHI> parser() {
    return PARSER;
  }

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

  @java.lang.Override
  public io.grasscutter.net.proto.quest.CBMCENPMIHI getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

