Uses of Enum Class
com.google.genkit.ai.Role
Packages that use Role
-
Uses of Role in com.google.genkit.ai
Methods in com.google.genkit.ai that return RoleModifier and TypeMethodDescriptionstatic RoleMessage.getRole()ModelResponseChunk.getRole()Returns the role of the message this chunk contributes to.static RoleReturns the enum constant of this class with the specified name.static Role[]Role.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 RoleModifier and TypeMethodDescriptionvoidvoidSets the role of the message this chunk contributes to.Constructors in com.google.genkit.ai with parameters of type Role