Uses of Enum Class
com.google.genkit.ai.FinishReason
Packages that use FinishReason
-
Uses of FinishReason in com.google.genkit.ai
Methods in com.google.genkit.ai that return FinishReasonModifier and TypeMethodDescriptionCandidate.getFinishReason()ModelResponse.getFinishReason()static FinishReasonReturns the enum constant of this class with the specified name.static FinishReason[]FinishReason.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.google.genkit.ai with parameters of type FinishReasonModifier and TypeMethodDescriptionModelResponse.Builder.finishReason(FinishReason finishReason) voidCandidate.setFinishReason(FinishReason finishReason) voidModelResponse.setFinishReason(FinishReason finishReason) Constructors in com.google.genkit.ai with parameters of type FinishReasonModifierConstructorDescriptionCandidate(Message message, FinishReason finishReason) Creates a Candidate with message and finish reason.