@java.lang.Override
  public int getFinishReasonValue() {
    return finishReason_;
  }
<pre>
Output only. The reason why the model stopped generating tokens.
If empty, the model has not stopped generating the tokens.
</pre>

<code>
.google.cloud.vertexai.v1.Candidate.FinishReason finish_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@return The enum numeric value on the wire for finishReason.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Candidate.java