Class Moderation.CategoryScores
-
- All Implemented Interfaces:
public final class Moderation.CategoryScores
A list of the categories along with their scores as predicted by model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
Moderation.CategoryScores.Builder
A builder for CategoryScores.
-
Method Summary
Modifier and Type Method Description final Double
harassment()
The score for the category 'harassment'. final Double
harassmentThreatening()
The score for the category 'harassment/threatening'. final Double
hate()
The score for the category 'hate'. final Double
hateThreatening()
The score for the category 'hate/threatening'. final Double
illicit()
The score for the category 'illicit'. final Double
illicitViolent()
The score for the category 'illicit/violent'. final Double
selfHarm()
The score for the category 'self-harm'. final Double
selfHarmInstructions()
The score for the category 'self-harm/instructions'. final Double
selfHarmIntent()
The score for the category 'self-harm/intent'. final Double
sexual()
The score for the category 'sexual'. final Double
sexualMinors()
The score for the category 'sexual/minors'. final Double
violence()
The score for the category 'violence'. final Double
violenceGraphic()
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.CategoryScores
validate()
final Moderation.CategoryScores.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static Moderation.CategoryScores.Builder
builder()
-
-
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()
-
-
-
-