Class FinishReason

java.lang.Object
com.google.genai.types.FinishReason

public class FinishReason extends Object
Output only. The reason why the model stopped generating tokens. If empty, the model has not stopped generating.