ModerateTextRequest_ModelVersion class final

The model version to use for ModerateText.

Inheritance
  • Object
  • ProtoEnum
  • ModerateTextRequest_ModelVersion

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 ModerateTextRequest_ModelVersion
The default value for ModerateTextRequest_ModelVersion.
modelVersion1 → const ModerateTextRequest_ModelVersion
Use the v1 model, this model is used by default when not provided. The v1 model only returns probability (confidence) score for each category.
modelVersion2 → const ModerateTextRequest_ModelVersion
Use the v2 model. The v2 model only returns probability (confidence) score for each category, and returns severity score for a subset of the categories.
modelVersionUnspecified → const ModerateTextRequest_ModelVersion
The default model version.