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

    if (!getCpu().equals(other.getCpu())) return false;
    if (!getCpuLimits().equals(other.getCpuLimits())) return false;
    if (!getMemory().equals(other.getMemory())) return false;
    if (!getMemoryLimits().equals(other.getMemoryLimits())) return false;
    if (getGpus() != other.getGpus()) return false;
    if (getLatencyBudgetMs() != other.getLatencyBudgetMs()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The maximum latency that this operator may use to process an element.

If non positive, then a system default will be used.
Operator developers should arrange for the system compute resources to be
aligned with this latency budget; e.g. if you want a ML model to produce
results within 500ms, then you should make sure you request enough
cpu/gpu/memory to achieve that.
</pre>

<code>int32 latency_budget_ms = 4;</code>

@return The latencyBudgetMs.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ResourceSpecification.java