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

    if (java.lang.Double.doubleToLongBits(getReplicaHours())
        != java.lang.Double.doubleToLongBits(other.getReplicaHours())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. The number of replica hours used. Note that many replicas may
run in parallel, and additionally any given work may be queued for some
time. Therefore this value is not strictly related to wall time.
</pre>

<code>double replica_hours = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>

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