@java.lang.Override
  public int getLatencyBudgetMs() {
    return latencyBudgetMs_;
  }
<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