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

package io.grasscutter.net.proto.define;

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

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

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

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

            pos_ = input.readUInt32();
            break;
          }
          case 24: {

            gadgetId_ = input.readUInt32();
            break;
          }
          case 34: {
            io.grasscutter.net.proto.define.Vector.Builder subBuilder = null;
            if (vehiclePos_ != null) {
              subBuilder = vehiclePos_.toBuilder();
            }
            vehiclePos_ = input.readMessage(io.grasscutter.net.proto.define.Vector.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(vehiclePos_);
              vehiclePos_ = subBuilder.buildPartial();
            }

            break;
          }
          case 40: {

            vehicleType_ = input.readUInt32();
            break;
          }
          case 50: {
            io.grasscutter.net.proto.define.Vector.Builder subBuilder = null;
            if (vehicleRot_ != null) {
              subBuilder = vehicleRot_.toBuilder();
            }
            vehicleRot_ = input.readMessage(io.grasscutter.net.proto.define.Vector.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(vehicleRot_);
              vehicleRot_ = subBuilder.buildPartial();
            }

            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.define.Define.internal_static_OGAAEKDALAL_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grasscutter.net.proto.define.Define.internal_static_OGAAEKDALAL_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.define.OGAAEKDALAL.class, io.grasscutter.net.proto.define.OGAAEKDALAL.Builder.class);
  }

  public static final int VEHICLE_ROT_FIELD_NUMBER = 6;
  private io.grasscutter.net.proto.define.Vector vehicleRot_;
  /**
   * <code>.Vector vehicle_rot = 6;</code>
   * @return Whether the vehicleRot field is set.
   */
  @java.lang.Override
  public boolean hasVehicleRot() {
    return vehicleRot_ != null;
  }
  /**
   * <code>.Vector vehicle_rot = 6;</code>
   * @return The vehicleRot.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.define.Vector getVehicleRot() {
    return vehicleRot_ == null ? io.grasscutter.net.proto.define.Vector.getDefaultInstance() : vehicleRot_;
  }
  /**
   * <code>.Vector vehicle_rot = 6;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.define.VectorOrBuilder getVehicleRotOrBuilder() {
    return getVehicleRot();
  }

  public static final int VEHICLE_POS_FIELD_NUMBER = 4;
  private io.grasscutter.net.proto.define.Vector vehiclePos_;
  /**
   * <code>.Vector vehicle_pos = 4;</code>
   * @return Whether the vehiclePos field is set.
   */
  @java.lang.Override
  public boolean hasVehiclePos() {
    return vehiclePos_ != null;
  }
  /**
   * <code>.Vector vehicle_pos = 4;</code>
   * @return The vehiclePos.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.define.Vector getVehiclePos() {
    return vehiclePos_ == null ? io.grasscutter.net.proto.define.Vector.getDefaultInstance() : vehiclePos_;
  }
  /**
   * <code>.Vector vehicle_pos = 4;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.define.VectorOrBuilder getVehiclePosOrBuilder() {
    return getVehiclePos();
  }

  public static final int POS_FIELD_NUMBER = 2;
  private int pos_;
  /**
   * <code>uint32 pos = 2;</code>
   * @return The pos.
   */
  @java.lang.Override
  public int getPos() {
    return pos_;
  }

  public static final int VEHICLE_TYPE_FIELD_NUMBER = 5;
  private int vehicleType_;
  /**
   * <code>uint32 vehicle_type = 5;</code>
   * @return The vehicleType.
   */
  @java.lang.Override
  public int getVehicleType() {
    return vehicleType_;
  }

  public static final int ENTITY_ID_FIELD_NUMBER = 1;
  private int entityId_;
  /**
   * <code>uint32 entity_id = 1;</code>
   * @return The entityId.
   */
  @java.lang.Override
  public int getEntityId() {
    return entityId_;
  }

  public static final int GADGET_ID_FIELD_NUMBER = 3;
  private int gadgetId_;
  /**
   * <code>uint32 gadget_id = 3;</code>
   * @return The gadgetId.
   */
  @java.lang.Override
  public int getGadgetId() {
    return gadgetId_;
  }

  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 (entityId_ != 0) {
      output.writeUInt32(1, entityId_);
    }
    if (pos_ != 0) {
      output.writeUInt32(2, pos_);
    }
    if (gadgetId_ != 0) {
      output.writeUInt32(3, gadgetId_);
    }
    if (vehiclePos_ != null) {
      output.writeMessage(4, getVehiclePos());
    }
    if (vehicleType_ != 0) {
      output.writeUInt32(5, vehicleType_);
    }
    if (vehicleRot_ != null) {
      output.writeMessage(6, getVehicleRot());
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (entityId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(1, entityId_);
    }
    if (pos_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(2, pos_);
    }
    if (gadgetId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(3, gadgetId_);
    }
    if (vehiclePos_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, getVehiclePos());
    }
    if (vehicleType_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(5, vehicleType_);
    }
    if (vehicleRot_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, getVehicleRot());
    }
    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.define.OGAAEKDALAL)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.define.OGAAEKDALAL other = (io.grasscutter.net.proto.define.OGAAEKDALAL) obj;

    if (hasVehicleRot() != other.hasVehicleRot()) return false;
    if (hasVehicleRot()) {
      if (!getVehicleRot()
          .equals(other.getVehicleRot())) return false;
    }
    if (hasVehiclePos() != other.hasVehiclePos()) return false;
    if (hasVehiclePos()) {
      if (!getVehiclePos()
          .equals(other.getVehiclePos())) return false;
    }
    if (getPos()
        != other.getPos()) return false;
    if (getVehicleType()
        != other.getVehicleType()) return false;
    if (getEntityId()
        != other.getEntityId()) return false;
    if (getGadgetId()
        != other.getGadgetId()) 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 (hasVehicleRot()) {
      hash = (37 * hash) + VEHICLE_ROT_FIELD_NUMBER;
      hash = (53 * hash) + getVehicleRot().hashCode();
    }
    if (hasVehiclePos()) {
      hash = (37 * hash) + VEHICLE_POS_FIELD_NUMBER;
      hash = (53 * hash) + getVehiclePos().hashCode();
    }
    hash = (37 * hash) + POS_FIELD_NUMBER;
    hash = (53 * hash) + getPos();
    hash = (37 * hash) + VEHICLE_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + getVehicleType();
    hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER;
    hash = (53 * hash) + getEntityId();
    hash = (37 * hash) + GADGET_ID_FIELD_NUMBER;
    hash = (53 * hash) + getGadgetId();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grasscutter.net.proto.define.Define.internal_static_OGAAEKDALAL_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.define.OGAAEKDALAL.class, io.grasscutter.net.proto.define.OGAAEKDALAL.Builder.class);
    }

    // Construct using io.grasscutter.net.proto.define.OGAAEKDALAL.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 (vehicleRotBuilder_ == null) {
        vehicleRot_ = null;
      } else {
        vehicleRot_ = null;
        vehicleRotBuilder_ = null;
      }
      if (vehiclePosBuilder_ == null) {
        vehiclePos_ = null;
      } else {
        vehiclePos_ = null;
        vehiclePosBuilder_ = null;
      }
      pos_ = 0;

      vehicleType_ = 0;

      entityId_ = 0;

      gadgetId_ = 0;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return io.grasscutter.net.proto.define.Define.internal_static_OGAAEKDALAL_descriptor;
    }

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.define.OGAAEKDALAL buildPartial() {
      io.grasscutter.net.proto.define.OGAAEKDALAL result = new io.grasscutter.net.proto.define.OGAAEKDALAL(this);
      if (vehicleRotBuilder_ == null) {
        result.vehicleRot_ = vehicleRot_;
      } else {
        result.vehicleRot_ = vehicleRotBuilder_.build();
      }
      if (vehiclePosBuilder_ == null) {
        result.vehiclePos_ = vehiclePos_;
      } else {
        result.vehiclePos_ = vehiclePosBuilder_.build();
      }
      result.pos_ = pos_;
      result.vehicleType_ = vehicleType_;
      result.entityId_ = entityId_;
      result.gadgetId_ = gadgetId_;
      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.define.OGAAEKDALAL) {
        return mergeFrom((io.grasscutter.net.proto.define.OGAAEKDALAL)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.define.OGAAEKDALAL other) {
      if (other == io.grasscutter.net.proto.define.OGAAEKDALAL.getDefaultInstance()) return this;
      if (other.hasVehicleRot()) {
        mergeVehicleRot(other.getVehicleRot());
      }
      if (other.hasVehiclePos()) {
        mergeVehiclePos(other.getVehiclePos());
      }
      if (other.getPos() != 0) {
        setPos(other.getPos());
      }
      if (other.getVehicleType() != 0) {
        setVehicleType(other.getVehicleType());
      }
      if (other.getEntityId() != 0) {
        setEntityId(other.getEntityId());
      }
      if (other.getGadgetId() != 0) {
        setGadgetId(other.getGadgetId());
      }
      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.define.OGAAEKDALAL parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.define.OGAAEKDALAL) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private io.grasscutter.net.proto.define.Vector vehicleRot_;
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.define.Vector, io.grasscutter.net.proto.define.Vector.Builder, io.grasscutter.net.proto.define.VectorOrBuilder> vehicleRotBuilder_;
    /**
     * <code>.Vector vehicle_rot = 6;</code>
     * @return Whether the vehicleRot field is set.
     */
    public boolean hasVehicleRot() {
      return vehicleRotBuilder_ != null || vehicleRot_ != null;
    }
    /**
     * <code>.Vector vehicle_rot = 6;</code>
     * @return The vehicleRot.
     */
    public io.grasscutter.net.proto.define.Vector getVehicleRot() {
      if (vehicleRotBuilder_ == null) {
        return vehicleRot_ == null ? io.grasscutter.net.proto.define.Vector.getDefaultInstance() : vehicleRot_;
      } else {
        return vehicleRotBuilder_.getMessage();
      }
    }
    /**
     * <code>.Vector vehicle_rot = 6;</code>
     */
    public Builder setVehicleRot(io.grasscutter.net.proto.define.Vector value) {
      if (vehicleRotBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        vehicleRot_ = value;
        onChanged();
      } else {
        vehicleRotBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.Vector vehicle_rot = 6;</code>
     */
    public Builder setVehicleRot(
        io.grasscutter.net.proto.define.Vector.Builder builderForValue) {
      if (vehicleRotBuilder_ == null) {
        vehicleRot_ = builderForValue.build();
        onChanged();
      } else {
        vehicleRotBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.Vector vehicle_rot = 6;</code>
     */
    public Builder mergeVehicleRot(io.grasscutter.net.proto.define.Vector value) {
      if (vehicleRotBuilder_ == null) {
        if (vehicleRot_ != null) {
          vehicleRot_ =
            io.grasscutter.net.proto.define.Vector.newBuilder(vehicleRot_).mergeFrom(value).buildPartial();
        } else {
          vehicleRot_ = value;
        }
        onChanged();
      } else {
        vehicleRotBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.Vector vehicle_rot = 6;</code>
     */
    public Builder clearVehicleRot() {
      if (vehicleRotBuilder_ == null) {
        vehicleRot_ = null;
        onChanged();
      } else {
        vehicleRot_ = null;
        vehicleRotBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.Vector vehicle_rot = 6;</code>
     */
    public io.grasscutter.net.proto.define.Vector.Builder getVehicleRotBuilder() {
      
      onChanged();
      return getVehicleRotFieldBuilder().getBuilder();
    }
    /**
     * <code>.Vector vehicle_rot = 6;</code>
     */
    public io.grasscutter.net.proto.define.VectorOrBuilder getVehicleRotOrBuilder() {
      if (vehicleRotBuilder_ != null) {
        return vehicleRotBuilder_.getMessageOrBuilder();
      } else {
        return vehicleRot_ == null ?
            io.grasscutter.net.proto.define.Vector.getDefaultInstance() : vehicleRot_;
      }
    }
    /**
     * <code>.Vector vehicle_rot = 6;</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> 
        getVehicleRotFieldBuilder() {
      if (vehicleRotBuilder_ == null) {
        vehicleRotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.define.Vector, io.grasscutter.net.proto.define.Vector.Builder, io.grasscutter.net.proto.define.VectorOrBuilder>(
                getVehicleRot(),
                getParentForChildren(),
                isClean());
        vehicleRot_ = null;
      }
      return vehicleRotBuilder_;
    }

    private io.grasscutter.net.proto.define.Vector vehiclePos_;
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.define.Vector, io.grasscutter.net.proto.define.Vector.Builder, io.grasscutter.net.proto.define.VectorOrBuilder> vehiclePosBuilder_;
    /**
     * <code>.Vector vehicle_pos = 4;</code>
     * @return Whether the vehiclePos field is set.
     */
    public boolean hasVehiclePos() {
      return vehiclePosBuilder_ != null || vehiclePos_ != null;
    }
    /**
     * <code>.Vector vehicle_pos = 4;</code>
     * @return The vehiclePos.
     */
    public io.grasscutter.net.proto.define.Vector getVehiclePos() {
      if (vehiclePosBuilder_ == null) {
        return vehiclePos_ == null ? io.grasscutter.net.proto.define.Vector.getDefaultInstance() : vehiclePos_;
      } else {
        return vehiclePosBuilder_.getMessage();
      }
    }
    /**
     * <code>.Vector vehicle_pos = 4;</code>
     */
    public Builder setVehiclePos(io.grasscutter.net.proto.define.Vector value) {
      if (vehiclePosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        vehiclePos_ = value;
        onChanged();
      } else {
        vehiclePosBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.Vector vehicle_pos = 4;</code>
     */
    public Builder setVehiclePos(
        io.grasscutter.net.proto.define.Vector.Builder builderForValue) {
      if (vehiclePosBuilder_ == null) {
        vehiclePos_ = builderForValue.build();
        onChanged();
      } else {
        vehiclePosBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.Vector vehicle_pos = 4;</code>
     */
    public Builder mergeVehiclePos(io.grasscutter.net.proto.define.Vector value) {
      if (vehiclePosBuilder_ == null) {
        if (vehiclePos_ != null) {
          vehiclePos_ =
            io.grasscutter.net.proto.define.Vector.newBuilder(vehiclePos_).mergeFrom(value).buildPartial();
        } else {
          vehiclePos_ = value;
        }
        onChanged();
      } else {
        vehiclePosBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.Vector vehicle_pos = 4;</code>
     */
    public Builder clearVehiclePos() {
      if (vehiclePosBuilder_ == null) {
        vehiclePos_ = null;
        onChanged();
      } else {
        vehiclePos_ = null;
        vehiclePosBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.Vector vehicle_pos = 4;</code>
     */
    public io.grasscutter.net.proto.define.Vector.Builder getVehiclePosBuilder() {
      
      onChanged();
      return getVehiclePosFieldBuilder().getBuilder();
    }
    /**
     * <code>.Vector vehicle_pos = 4;</code>
     */
    public io.grasscutter.net.proto.define.VectorOrBuilder getVehiclePosOrBuilder() {
      if (vehiclePosBuilder_ != null) {
        return vehiclePosBuilder_.getMessageOrBuilder();
      } else {
        return vehiclePos_ == null ?
            io.grasscutter.net.proto.define.Vector.getDefaultInstance() : vehiclePos_;
      }
    }
    /**
     * <code>.Vector vehicle_pos = 4;</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> 
        getVehiclePosFieldBuilder() {
      if (vehiclePosBuilder_ == null) {
        vehiclePosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.define.Vector, io.grasscutter.net.proto.define.Vector.Builder, io.grasscutter.net.proto.define.VectorOrBuilder>(
                getVehiclePos(),
                getParentForChildren(),
                isClean());
        vehiclePos_ = null;
      }
      return vehiclePosBuilder_;
    }

    private int pos_ ;
    /**
     * <code>uint32 pos = 2;</code>
     * @return The pos.
     */
    @java.lang.Override
    public int getPos() {
      return pos_;
    }
    /**
     * <code>uint32 pos = 2;</code>
     * @param value The pos to set.
     * @return This builder for chaining.
     */
    public Builder setPos(int value) {
      
      pos_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 pos = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearPos() {
      
      pos_ = 0;
      onChanged();
      return this;
    }

    private int vehicleType_ ;
    /**
     * <code>uint32 vehicle_type = 5;</code>
     * @return The vehicleType.
     */
    @java.lang.Override
    public int getVehicleType() {
      return vehicleType_;
    }
    /**
     * <code>uint32 vehicle_type = 5;</code>
     * @param value The vehicleType to set.
     * @return This builder for chaining.
     */
    public Builder setVehicleType(int value) {
      
      vehicleType_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 vehicle_type = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearVehicleType() {
      
      vehicleType_ = 0;
      onChanged();
      return this;
    }

    private int entityId_ ;
    /**
     * <code>uint32 entity_id = 1;</code>
     * @return The entityId.
     */
    @java.lang.Override
    public int getEntityId() {
      return entityId_;
    }
    /**
     * <code>uint32 entity_id = 1;</code>
     * @param value The entityId to set.
     * @return This builder for chaining.
     */
    public Builder setEntityId(int value) {
      
      entityId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 entity_id = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearEntityId() {
      
      entityId_ = 0;
      onChanged();
      return this;
    }

    private int gadgetId_ ;
    /**
     * <code>uint32 gadget_id = 3;</code>
     * @return The gadgetId.
     */
    @java.lang.Override
    public int getGadgetId() {
      return gadgetId_;
    }
    /**
     * <code>uint32 gadget_id = 3;</code>
     * @param value The gadgetId to set.
     * @return This builder for chaining.
     */
    public Builder setGadgetId(int value) {
      
      gadgetId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 gadget_id = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearGadgetId() {
      
      gadgetId_ = 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:OGAAEKDALAL)
  }

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

  public static io.grasscutter.net.proto.define.OGAAEKDALAL getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

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

}

