SafetySetting_HarmBlockThreshold class final

Probability based thresholds levels for blocking.

Inheritance
  • Object
  • ProtoEnum
  • SafetySetting_HarmBlockThreshold

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 SafetySetting_HarmBlockThreshold
The default value for SafetySetting_HarmBlockThreshold.
blockLowAndAbove → const SafetySetting_HarmBlockThreshold
Block low threshold and above (i.e. block more).
blockMediumAndAbove → const SafetySetting_HarmBlockThreshold
Block medium threshold and above.
blockNone → const SafetySetting_HarmBlockThreshold
Block none.
blockOnlyHigh → const SafetySetting_HarmBlockThreshold
Block only high threshold (i.e. block less).
harmBlockThresholdUnspecified → const SafetySetting_HarmBlockThreshold
Unspecified harm block threshold.
off → const SafetySetting_HarmBlockThreshold
Turn off the safety filter.