Class FinishReason

  • All Implemented Interfaces:

    
    public class FinishReason
    
                        

    Output only. The reason why the model stopped generating tokens.

    If empty, the model has not stopped generating the tokens.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public enum FinishReason.Known

      Enum representing the known values for FinishReason.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description