GenerationConfig_Modality class final

Supported modalities of the response.

Inheritance
  • Object
  • ProtoEnum
  • GenerationConfig_Modality

Properties

hashCode int
The hash code for this object.
no setterinherited
isNotDefault bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

$default → const GenerationConfig_Modality
The default value for GenerationConfig_Modality.
audio → const GenerationConfig_Modality
Indicates the model should return audio.
image → const GenerationConfig_Modality
Indicates the model should return images.
modalityUnspecified → const GenerationConfig_Modality
Default value.
text → const GenerationConfig_Modality
Indicates the model should return text.