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

    if (hasMachineSpec() != other.hasMachineSpec()) return false;
    if (hasMachineSpec()) {
      if (!getMachineSpec().equals(other.getMachineSpec())) return false;
    }
    if (getStartingReplicaCount() != other.getStartingReplicaCount()) return false;
    if (getMaxReplicaCount() != other.getMaxReplicaCount()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Immutable. The maximum number of machine replicas the batch operation may
be scaled to. The default value is 10.
</pre>

<code>int32 max_replica_count = 3 [(.google.api.field_behavior) = IMMUTABLE];</code>

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