@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.vertexai.api.AutoscalingMetricSpec)) {
      return super.equals(obj);
    }
    com.google.cloud.vertexai.api.AutoscalingMetricSpec other =
        (com.google.cloud.vertexai.api.AutoscalingMetricSpec) obj;

    if (!getMetricName().equals(other.getMetricName())) return false;
    if (getTarget() != other.getTarget()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The target resource utilization in percentage (1% - 100%) for the given
metric; once the real usage deviates from the target by a certain
percentage, the machine replicas change. The default value is 60
(representing 60%) if not provided.
</pre>

<code>int32 target = 2;</code>

@return The target.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/AutoscalingMetricSpec.java