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

package io.grasscutter.net.proto.activity;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private TreasureMapRegionInfo(
      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 8: {

            startTime_ = input.readUInt32();
            break;
          }
          case 16: {

            bPCADAMBFEC_ = input.readBool();
            break;
          }
          case 42: {
            io.grasscutter.net.proto.define.Vector.Builder subBuilder = null;
            if (regionCenterPos_ != null) {
              subBuilder = regionCenterPos_.toBuilder();
            }
            regionCenterPos_ = input.readMessage(io.grasscutter.net.proto.define.Vector.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(regionCenterPos_);
              regionCenterPos_ = subBuilder.buildPartial();
            }

            break;
          }
          case 56: {

            hEAIMCNHHBI_ = input.readUInt32();
            break;
          }
          case 80: {

            oNAEEFJEPDH_ = input.readBool();
            break;
          }
          case 88: {

            oBCLCJEJIML_ = input.readUInt32();
            break;
          }
          case 96: {

            aNEBADHKILO_ = input.readUInt32();
            break;
          }
          case 104: {

            regionId_ = input.readUInt32();
            break;
          }
          case 112: {

            sceneId_ = 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.activity.Activity.internal_static_TreasureMapRegionInfo_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grasscutter.net.proto.activity.Activity.internal_static_TreasureMapRegionInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.activity.TreasureMapRegionInfo.class, io.grasscutter.net.proto.activity.TreasureMapRegionInfo.Builder.class);
  }

  public static final int REGION_CENTER_POS_FIELD_NUMBER = 5;
  private io.grasscutter.net.proto.define.Vector regionCenterPos_;
  /**
   * <code>.Vector region_center_pos = 5;</code>
   * @return Whether the regionCenterPos field is set.
   */
  @java.lang.Override
  public boolean hasRegionCenterPos() {
    return regionCenterPos_ != null;
  }
  /**
   * <code>.Vector region_center_pos = 5;</code>
   * @return The regionCenterPos.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.define.Vector getRegionCenterPos() {
    return regionCenterPos_ == null ? io.grasscutter.net.proto.define.Vector.getDefaultInstance() : regionCenterPos_;
  }
  /**
   * <code>.Vector region_center_pos = 5;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.define.VectorOrBuilder getRegionCenterPosOrBuilder() {
    return getRegionCenterPos();
  }

  public static final int ANEBADHKILO_FIELD_NUMBER = 12;
  private int aNEBADHKILO_;
  /**
   * <code>uint32 ANEBADHKILO = 12;</code>
   * @return The aNEBADHKILO.
   */
  @java.lang.Override
  public int getANEBADHKILO() {
    return aNEBADHKILO_;
  }

  public static final int REGION_ID_FIELD_NUMBER = 13;
  private int regionId_;
  /**
   * <code>uint32 region_id = 13;</code>
   * @return The regionId.
   */
  @java.lang.Override
  public int getRegionId() {
    return regionId_;
  }

  public static final int START_TIME_FIELD_NUMBER = 1;
  private int startTime_;
  /**
   * <code>uint32 start_time = 1;</code>
   * @return The startTime.
   */
  @java.lang.Override
  public int getStartTime() {
    return startTime_;
  }

  public static final int OBCLCJEJIML_FIELD_NUMBER = 11;
  private int oBCLCJEJIML_;
  /**
   * <code>uint32 OBCLCJEJIML = 11;</code>
   * @return The oBCLCJEJIML.
   */
  @java.lang.Override
  public int getOBCLCJEJIML() {
    return oBCLCJEJIML_;
  }

  public static final int BPCADAMBFEC_FIELD_NUMBER = 2;
  private boolean bPCADAMBFEC_;
  /**
   * <code>bool BPCADAMBFEC = 2;</code>
   * @return The bPCADAMBFEC.
   */
  @java.lang.Override
  public boolean getBPCADAMBFEC() {
    return bPCADAMBFEC_;
  }

  public static final int ONAEEFJEPDH_FIELD_NUMBER = 10;
  private boolean oNAEEFJEPDH_;
  /**
   * <code>bool ONAEEFJEPDH = 10;</code>
   * @return The oNAEEFJEPDH.
   */
  @java.lang.Override
  public boolean getONAEEFJEPDH() {
    return oNAEEFJEPDH_;
  }

  public static final int SCENE_ID_FIELD_NUMBER = 14;
  private int sceneId_;
  /**
   * <code>uint32 scene_id = 14;</code>
   * @return The sceneId.
   */
  @java.lang.Override
  public int getSceneId() {
    return sceneId_;
  }

  public static final int HEAIMCNHHBI_FIELD_NUMBER = 7;
  private int hEAIMCNHHBI_;
  /**
   * <code>uint32 HEAIMCNHHBI = 7;</code>
   * @return The hEAIMCNHHBI.
   */
  @java.lang.Override
  public int getHEAIMCNHHBI() {
    return hEAIMCNHHBI_;
  }

  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 (startTime_ != 0) {
      output.writeUInt32(1, startTime_);
    }
    if (bPCADAMBFEC_ != false) {
      output.writeBool(2, bPCADAMBFEC_);
    }
    if (regionCenterPos_ != null) {
      output.writeMessage(5, getRegionCenterPos());
    }
    if (hEAIMCNHHBI_ != 0) {
      output.writeUInt32(7, hEAIMCNHHBI_);
    }
    if (oNAEEFJEPDH_ != false) {
      output.writeBool(10, oNAEEFJEPDH_);
    }
    if (oBCLCJEJIML_ != 0) {
      output.writeUInt32(11, oBCLCJEJIML_);
    }
    if (aNEBADHKILO_ != 0) {
      output.writeUInt32(12, aNEBADHKILO_);
    }
    if (regionId_ != 0) {
      output.writeUInt32(13, regionId_);
    }
    if (sceneId_ != 0) {
      output.writeUInt32(14, sceneId_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (startTime_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(1, startTime_);
    }
    if (bPCADAMBFEC_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(2, bPCADAMBFEC_);
    }
    if (regionCenterPos_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, getRegionCenterPos());
    }
    if (hEAIMCNHHBI_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(7, hEAIMCNHHBI_);
    }
    if (oNAEEFJEPDH_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(10, oNAEEFJEPDH_);
    }
    if (oBCLCJEJIML_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(11, oBCLCJEJIML_);
    }
    if (aNEBADHKILO_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(12, aNEBADHKILO_);
    }
    if (regionId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(13, regionId_);
    }
    if (sceneId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(14, sceneId_);
    }
    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.activity.TreasureMapRegionInfo)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.activity.TreasureMapRegionInfo other = (io.grasscutter.net.proto.activity.TreasureMapRegionInfo) obj;

    if (hasRegionCenterPos() != other.hasRegionCenterPos()) return false;
    if (hasRegionCenterPos()) {
      if (!getRegionCenterPos()
          .equals(other.getRegionCenterPos())) return false;
    }
    if (getANEBADHKILO()
        != other.getANEBADHKILO()) return false;
    if (getRegionId()
        != other.getRegionId()) return false;
    if (getStartTime()
        != other.getStartTime()) return false;
    if (getOBCLCJEJIML()
        != other.getOBCLCJEJIML()) return false;
    if (getBPCADAMBFEC()
        != other.getBPCADAMBFEC()) return false;
    if (getONAEEFJEPDH()
        != other.getONAEEFJEPDH()) return false;
    if (getSceneId()
        != other.getSceneId()) return false;
    if (getHEAIMCNHHBI()
        != other.getHEAIMCNHHBI()) 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();
    if (hasRegionCenterPos()) {
      hash = (37 * hash) + REGION_CENTER_POS_FIELD_NUMBER;
      hash = (53 * hash) + getRegionCenterPos().hashCode();
    }
    hash = (37 * hash) + ANEBADHKILO_FIELD_NUMBER;
    hash = (53 * hash) + getANEBADHKILO();
    hash = (37 * hash) + REGION_ID_FIELD_NUMBER;
    hash = (53 * hash) + getRegionId();
    hash = (37 * hash) + START_TIME_FIELD_NUMBER;
    hash = (53 * hash) + getStartTime();
    hash = (37 * hash) + OBCLCJEJIML_FIELD_NUMBER;
    hash = (53 * hash) + getOBCLCJEJIML();
    hash = (37 * hash) + BPCADAMBFEC_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getBPCADAMBFEC());
    hash = (37 * hash) + ONAEEFJEPDH_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getONAEEFJEPDH());
    hash = (37 * hash) + SCENE_ID_FIELD_NUMBER;
    hash = (53 * hash) + getSceneId();
    hash = (37 * hash) + HEAIMCNHHBI_FIELD_NUMBER;
    hash = (53 * hash) + getHEAIMCNHHBI();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grasscutter.net.proto.activity.Activity.internal_static_TreasureMapRegionInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.activity.TreasureMapRegionInfo.class, io.grasscutter.net.proto.activity.TreasureMapRegionInfo.Builder.class);
    }

    // Construct using io.grasscutter.net.proto.activity.TreasureMapRegionInfo.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();
      if (regionCenterPosBuilder_ == null) {
        regionCenterPos_ = null;
      } else {
        regionCenterPos_ = null;
        regionCenterPosBuilder_ = null;
      }
      aNEBADHKILO_ = 0;

      regionId_ = 0;

      startTime_ = 0;

      oBCLCJEJIML_ = 0;

      bPCADAMBFEC_ = false;

      oNAEEFJEPDH_ = false;

      sceneId_ = 0;

      hEAIMCNHHBI_ = 0;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return io.grasscutter.net.proto.activity.Activity.internal_static_TreasureMapRegionInfo_descriptor;
    }

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.activity.TreasureMapRegionInfo buildPartial() {
      io.grasscutter.net.proto.activity.TreasureMapRegionInfo result = new io.grasscutter.net.proto.activity.TreasureMapRegionInfo(this);
      if (regionCenterPosBuilder_ == null) {
        result.regionCenterPos_ = regionCenterPos_;
      } else {
        result.regionCenterPos_ = regionCenterPosBuilder_.build();
      }
      result.aNEBADHKILO_ = aNEBADHKILO_;
      result.regionId_ = regionId_;
      result.startTime_ = startTime_;
      result.oBCLCJEJIML_ = oBCLCJEJIML_;
      result.bPCADAMBFEC_ = bPCADAMBFEC_;
      result.oNAEEFJEPDH_ = oNAEEFJEPDH_;
      result.sceneId_ = sceneId_;
      result.hEAIMCNHHBI_ = hEAIMCNHHBI_;
      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.activity.TreasureMapRegionInfo) {
        return mergeFrom((io.grasscutter.net.proto.activity.TreasureMapRegionInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.activity.TreasureMapRegionInfo other) {
      if (other == io.grasscutter.net.proto.activity.TreasureMapRegionInfo.getDefaultInstance()) return this;
      if (other.hasRegionCenterPos()) {
        mergeRegionCenterPos(other.getRegionCenterPos());
      }
      if (other.getANEBADHKILO() != 0) {
        setANEBADHKILO(other.getANEBADHKILO());
      }
      if (other.getRegionId() != 0) {
        setRegionId(other.getRegionId());
      }
      if (other.getStartTime() != 0) {
        setStartTime(other.getStartTime());
      }
      if (other.getOBCLCJEJIML() != 0) {
        setOBCLCJEJIML(other.getOBCLCJEJIML());
      }
      if (other.getBPCADAMBFEC() != false) {
        setBPCADAMBFEC(other.getBPCADAMBFEC());
      }
      if (other.getONAEEFJEPDH() != false) {
        setONAEEFJEPDH(other.getONAEEFJEPDH());
      }
      if (other.getSceneId() != 0) {
        setSceneId(other.getSceneId());
      }
      if (other.getHEAIMCNHHBI() != 0) {
        setHEAIMCNHHBI(other.getHEAIMCNHHBI());
      }
      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.activity.TreasureMapRegionInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.TreasureMapRegionInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private io.grasscutter.net.proto.define.Vector regionCenterPos_;
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.define.Vector, io.grasscutter.net.proto.define.Vector.Builder, io.grasscutter.net.proto.define.VectorOrBuilder> regionCenterPosBuilder_;
    /**
     * <code>.Vector region_center_pos = 5;</code>
     * @return Whether the regionCenterPos field is set.
     */
    public boolean hasRegionCenterPos() {
      return regionCenterPosBuilder_ != null || regionCenterPos_ != null;
    }
    /**
     * <code>.Vector region_center_pos = 5;</code>
     * @return The regionCenterPos.
     */
    public io.grasscutter.net.proto.define.Vector getRegionCenterPos() {
      if (regionCenterPosBuilder_ == null) {
        return regionCenterPos_ == null ? io.grasscutter.net.proto.define.Vector.getDefaultInstance() : regionCenterPos_;
      } else {
        return regionCenterPosBuilder_.getMessage();
      }
    }
    /**
     * <code>.Vector region_center_pos = 5;</code>
     */
    public Builder setRegionCenterPos(io.grasscutter.net.proto.define.Vector value) {
      if (regionCenterPosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        regionCenterPos_ = value;
        onChanged();
      } else {
        regionCenterPosBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.Vector region_center_pos = 5;</code>
     */
    public Builder setRegionCenterPos(
        io.grasscutter.net.proto.define.Vector.Builder builderForValue) {
      if (regionCenterPosBuilder_ == null) {
        regionCenterPos_ = builderForValue.build();
        onChanged();
      } else {
        regionCenterPosBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.Vector region_center_pos = 5;</code>
     */
    public Builder mergeRegionCenterPos(io.grasscutter.net.proto.define.Vector value) {
      if (regionCenterPosBuilder_ == null) {
        if (regionCenterPos_ != null) {
          regionCenterPos_ =
            io.grasscutter.net.proto.define.Vector.newBuilder(regionCenterPos_).mergeFrom(value).buildPartial();
        } else {
          regionCenterPos_ = value;
        }
        onChanged();
      } else {
        regionCenterPosBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.Vector region_center_pos = 5;</code>
     */
    public Builder clearRegionCenterPos() {
      if (regionCenterPosBuilder_ == null) {
        regionCenterPos_ = null;
        onChanged();
      } else {
        regionCenterPos_ = null;
        regionCenterPosBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.Vector region_center_pos = 5;</code>
     */
    public io.grasscutter.net.proto.define.Vector.Builder getRegionCenterPosBuilder() {
      
      onChanged();
      return getRegionCenterPosFieldBuilder().getBuilder();
    }
    /**
     * <code>.Vector region_center_pos = 5;</code>
     */
    public io.grasscutter.net.proto.define.VectorOrBuilder getRegionCenterPosOrBuilder() {
      if (regionCenterPosBuilder_ != null) {
        return regionCenterPosBuilder_.getMessageOrBuilder();
      } else {
        return regionCenterPos_ == null ?
            io.grasscutter.net.proto.define.Vector.getDefaultInstance() : regionCenterPos_;
      }
    }
    /**
     * <code>.Vector region_center_pos = 5;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.define.Vector, io.grasscutter.net.proto.define.Vector.Builder, io.grasscutter.net.proto.define.VectorOrBuilder> 
        getRegionCenterPosFieldBuilder() {
      if (regionCenterPosBuilder_ == null) {
        regionCenterPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.define.Vector, io.grasscutter.net.proto.define.Vector.Builder, io.grasscutter.net.proto.define.VectorOrBuilder>(
                getRegionCenterPos(),
                getParentForChildren(),
                isClean());
        regionCenterPos_ = null;
      }
      return regionCenterPosBuilder_;
    }

    private int aNEBADHKILO_ ;
    /**
     * <code>uint32 ANEBADHKILO = 12;</code>
     * @return The aNEBADHKILO.
     */
    @java.lang.Override
    public int getANEBADHKILO() {
      return aNEBADHKILO_;
    }
    /**
     * <code>uint32 ANEBADHKILO = 12;</code>
     * @param value The aNEBADHKILO to set.
     * @return This builder for chaining.
     */
    public Builder setANEBADHKILO(int value) {
      
      aNEBADHKILO_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 ANEBADHKILO = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearANEBADHKILO() {
      
      aNEBADHKILO_ = 0;
      onChanged();
      return this;
    }

    private int regionId_ ;
    /**
     * <code>uint32 region_id = 13;</code>
     * @return The regionId.
     */
    @java.lang.Override
    public int getRegionId() {
      return regionId_;
    }
    /**
     * <code>uint32 region_id = 13;</code>
     * @param value The regionId to set.
     * @return This builder for chaining.
     */
    public Builder setRegionId(int value) {
      
      regionId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 region_id = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearRegionId() {
      
      regionId_ = 0;
      onChanged();
      return this;
    }

    private int startTime_ ;
    /**
     * <code>uint32 start_time = 1;</code>
     * @return The startTime.
     */
    @java.lang.Override
    public int getStartTime() {
      return startTime_;
    }
    /**
     * <code>uint32 start_time = 1;</code>
     * @param value The startTime to set.
     * @return This builder for chaining.
     */
    public Builder setStartTime(int value) {
      
      startTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 start_time = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearStartTime() {
      
      startTime_ = 0;
      onChanged();
      return this;
    }

    private int oBCLCJEJIML_ ;
    /**
     * <code>uint32 OBCLCJEJIML = 11;</code>
     * @return The oBCLCJEJIML.
     */
    @java.lang.Override
    public int getOBCLCJEJIML() {
      return oBCLCJEJIML_;
    }
    /**
     * <code>uint32 OBCLCJEJIML = 11;</code>
     * @param value The oBCLCJEJIML to set.
     * @return This builder for chaining.
     */
    public Builder setOBCLCJEJIML(int value) {
      
      oBCLCJEJIML_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 OBCLCJEJIML = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearOBCLCJEJIML() {
      
      oBCLCJEJIML_ = 0;
      onChanged();
      return this;
    }

    private boolean bPCADAMBFEC_ ;
    /**
     * <code>bool BPCADAMBFEC = 2;</code>
     * @return The bPCADAMBFEC.
     */
    @java.lang.Override
    public boolean getBPCADAMBFEC() {
      return bPCADAMBFEC_;
    }
    /**
     * <code>bool BPCADAMBFEC = 2;</code>
     * @param value The bPCADAMBFEC to set.
     * @return This builder for chaining.
     */
    public Builder setBPCADAMBFEC(boolean value) {
      
      bPCADAMBFEC_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool BPCADAMBFEC = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearBPCADAMBFEC() {
      
      bPCADAMBFEC_ = false;
      onChanged();
      return this;
    }

    private boolean oNAEEFJEPDH_ ;
    /**
     * <code>bool ONAEEFJEPDH = 10;</code>
     * @return The oNAEEFJEPDH.
     */
    @java.lang.Override
    public boolean getONAEEFJEPDH() {
      return oNAEEFJEPDH_;
    }
    /**
     * <code>bool ONAEEFJEPDH = 10;</code>
     * @param value The oNAEEFJEPDH to set.
     * @return This builder for chaining.
     */
    public Builder setONAEEFJEPDH(boolean value) {
      
      oNAEEFJEPDH_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool ONAEEFJEPDH = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearONAEEFJEPDH() {
      
      oNAEEFJEPDH_ = false;
      onChanged();
      return this;
    }

    private int sceneId_ ;
    /**
     * <code>uint32 scene_id = 14;</code>
     * @return The sceneId.
     */
    @java.lang.Override
    public int getSceneId() {
      return sceneId_;
    }
    /**
     * <code>uint32 scene_id = 14;</code>
     * @param value The sceneId to set.
     * @return This builder for chaining.
     */
    public Builder setSceneId(int value) {
      
      sceneId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 scene_id = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearSceneId() {
      
      sceneId_ = 0;
      onChanged();
      return this;
    }

    private int hEAIMCNHHBI_ ;
    /**
     * <code>uint32 HEAIMCNHHBI = 7;</code>
     * @return The hEAIMCNHHBI.
     */
    @java.lang.Override
    public int getHEAIMCNHHBI() {
      return hEAIMCNHHBI_;
    }
    /**
     * <code>uint32 HEAIMCNHHBI = 7;</code>
     * @param value The hEAIMCNHHBI to set.
     * @return This builder for chaining.
     */
    public Builder setHEAIMCNHHBI(int value) {
      
      hEAIMCNHHBI_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 HEAIMCNHHBI = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearHEAIMCNHHBI() {
      
      hEAIMCNHHBI_ = 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:TreasureMapRegionInfo)
  }

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

  public static io.grasscutter.net.proto.activity.TreasureMapRegionInfo getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

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

}

