Class Moderation.CategoryScores
-
- All Implemented Interfaces:
public final class Moderation.CategoryScoresA list of the categories along with their scores as predicted by model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classModeration.CategoryScores.BuilderA builder for CategoryScores.
-
Method Summary
Modifier and Type Method Description final Doubleharassment()The score for the category 'harassment'. final DoubleharassmentThreatening()The score for the category 'harassment/threatening'. final Doublehate()The score for the category 'hate'. final DoublehateThreatening()The score for the category 'hate/threatening'. final Doubleillicit()The score for the category 'illicit'. final DoubleillicitViolent()The score for the category 'illicit/violent'. final DoubleselfHarm()The score for the category 'self-harm'. final DoubleselfHarmInstructions()The score for the category 'self-harm/instructions'. final DoubleselfHarmIntent()The score for the category 'self-harm/intent'. final Doublesexual()The score for the category 'sexual'. final DoublesexualMinors()The score for the category 'sexual/minors'. final Doubleviolence()The score for the category 'violence'. final DoubleviolenceGraphic()The score for the category 'violence/graphic'. final JsonField<Double>_harassment()The score for the category 'harassment'. final JsonField<Double>_harassmentThreatening()The score for the category 'harassment/threatening'. final JsonField<Double>_hate()The score for the category 'hate'. final JsonField<Double>_hateThreatening()The score for the category 'hate/threatening'. final JsonField<Double>_illicit()The score for the category 'illicit'. final JsonField<Double>_illicitViolent()The score for the category 'illicit/violent'. final JsonField<Double>_selfHarm()The score for the category 'self-harm'. final JsonField<Double>_selfHarmInstructions()The score for the category 'self-harm/instructions'. final JsonField<Double>_selfHarmIntent()The score for the category 'self-harm/intent'. final JsonField<Double>_sexual()The score for the category 'sexual'. final JsonField<Double>_sexualMinors()The score for the category 'sexual/minors'. final JsonField<Double>_violence()The score for the category 'violence'. final JsonField<Double>_violenceGraphic()The score for the category 'violence/graphic'. final Map<String, JsonValue>_additionalProperties()final Moderation.CategoryScoresvalidate()final Moderation.CategoryScores.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Moderation.CategoryScores.Builderbuilder()Returns a mutable builder for constructing an instance of CategoryScores. -
-
Method Detail
-
harassment
final Double harassment()
The score for the category 'harassment'.
-
harassmentThreatening
final Double harassmentThreatening()
The score for the category 'harassment/threatening'.
-
hateThreatening
final Double hateThreatening()
The score for the category 'hate/threatening'.
-
illicitViolent
final Double illicitViolent()
The score for the category 'illicit/violent'.
-
selfHarmInstructions
final Double selfHarmInstructions()
The score for the category 'self-harm/instructions'.
-
selfHarmIntent
final Double selfHarmIntent()
The score for the category 'self-harm/intent'.
-
sexualMinors
final Double sexualMinors()
The score for the category 'sexual/minors'.
-
violenceGraphic
final Double violenceGraphic()
The score for the category 'violence/graphic'.
-
_harassment
final JsonField<Double> _harassment()
The score for the category 'harassment'.
-
_harassmentThreatening
final JsonField<Double> _harassmentThreatening()
The score for the category 'harassment/threatening'.
-
_hateThreatening
final JsonField<Double> _hateThreatening()
The score for the category 'hate/threatening'.
-
_illicitViolent
final JsonField<Double> _illicitViolent()
The score for the category 'illicit/violent'.
-
_selfHarmInstructions
final JsonField<Double> _selfHarmInstructions()
The score for the category 'self-harm/instructions'.
-
_selfHarmIntent
final JsonField<Double> _selfHarmIntent()
The score for the category 'self-harm/intent'.
-
_sexualMinors
final JsonField<Double> _sexualMinors()
The score for the category 'sexual/minors'.
-
_violenceGraphic
final JsonField<Double> _violenceGraphic()
The score for the category 'violence/graphic'.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final Moderation.CategoryScores validate()
-
toBuilder
final Moderation.CategoryScores.Builder toBuilder()
-
builder
final static Moderation.CategoryScores.Builder builder()
Returns a mutable builder for constructing an instance of CategoryScores.
The following fields are required:
.harassment() .harassmentThreatening() .hate() .hateThreatening() .illicit() .illicitViolent() .selfHarm() .selfHarmInstructions() .selfHarmIntent() .sexual() .sexualMinors() .violence() .violenceGraphic()
-
-
-
-