GenerateContentResponse_PromptFeedback class final

A set of the feedback metadata the prompt specified in GenerateContentRequest.content.

Constructors

GenerateContentResponse_PromptFeedback({GenerateContentResponse_PromptFeedback_BlockReason blockReason = GenerateContentResponse_PromptFeedback_BlockReason.$default, List<SafetyRating> safetyRatings = const []})
GenerateContentResponse_PromptFeedback.fromJson(Object? j)
factory

Properties

blockReason → GenerateContentResponse_PromptFeedback_BlockReason
Optional. If set, the prompt was blocked and no candidates are returned. Rephrase the prompt.
final
hashCode → int
The hash code for this object.
no setterinherited
qualifiedName → String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
safetyRatings → List<SafetyRating>
Ratings for safety of the prompt. There is at most one rating per category.
final

Methods

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

Operators

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

Constants

fullyQualifiedName → const String