Class Moderation.CategoryAppliedInputTypes.Builder
-
- All Implemented Interfaces:
public final class Moderation.CategoryAppliedInputTypes.BuilderA builder for CategoryAppliedInputTypes.
-
-
Method Summary
-
-
Method Detail
-
harassment
final Moderation.CategoryAppliedInputTypes.Builder harassment(List<Moderation.CategoryAppliedInputTypes.Harassment> harassment)
The applied input type(s) for the category 'harassment'.
-
harassment
final Moderation.CategoryAppliedInputTypes.Builder harassment(JsonField<List<Moderation.CategoryAppliedInputTypes.Harassment>> harassment)
Sets Builder.harassment to an arbitrary JSON value.
You should usually call Builder.harassment with a well-typed
List<Harassment>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addHarassment
final Moderation.CategoryAppliedInputTypes.Builder addHarassment(Moderation.CategoryAppliedInputTypes.Harassment harassment)
Adds a single Harassment to Builder.harassment.
-
harassmentThreatening
final Moderation.CategoryAppliedInputTypes.Builder harassmentThreatening(List<Moderation.CategoryAppliedInputTypes.HarassmentThreatening> harassmentThreatening)
The applied input type(s) for the category 'harassment/threatening'.
-
harassmentThreatening
final Moderation.CategoryAppliedInputTypes.Builder harassmentThreatening(JsonField<List<Moderation.CategoryAppliedInputTypes.HarassmentThreatening>> harassmentThreatening)
Sets Builder.harassmentThreatening to an arbitrary JSON value.
You should usually call Builder.harassmentThreatening with a well-typed
List<HarassmentThreatening>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addHarassmentThreatening
final Moderation.CategoryAppliedInputTypes.Builder addHarassmentThreatening(Moderation.CategoryAppliedInputTypes.HarassmentThreatening harassmentThreatening)
Adds a single HarassmentThreatening to Builder.harassmentThreatening.
-
hate
final Moderation.CategoryAppliedInputTypes.Builder hate(List<Moderation.CategoryAppliedInputTypes.Hate> hate)
The applied input type(s) for the category 'hate'.
-
hate
final Moderation.CategoryAppliedInputTypes.Builder hate(JsonField<List<Moderation.CategoryAppliedInputTypes.Hate>> hate)
Sets Builder.hate to an arbitrary JSON value.
You should usually call Builder.hate with a well-typed
List<Hate>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addHate
final Moderation.CategoryAppliedInputTypes.Builder addHate(Moderation.CategoryAppliedInputTypes.Hate hate)
Adds a single Hate to Builder.hate.
-
hateThreatening
final Moderation.CategoryAppliedInputTypes.Builder hateThreatening(List<Moderation.CategoryAppliedInputTypes.HateThreatening> hateThreatening)
The applied input type(s) for the category 'hate/threatening'.
-
hateThreatening
final Moderation.CategoryAppliedInputTypes.Builder hateThreatening(JsonField<List<Moderation.CategoryAppliedInputTypes.HateThreatening>> hateThreatening)
Sets Builder.hateThreatening to an arbitrary JSON value.
You should usually call Builder.hateThreatening with a well-typed
List<HateThreatening>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addHateThreatening
final Moderation.CategoryAppliedInputTypes.Builder addHateThreatening(Moderation.CategoryAppliedInputTypes.HateThreatening hateThreatening)
Adds a single HateThreatening to Builder.hateThreatening.
-
illicit
final Moderation.CategoryAppliedInputTypes.Builder illicit(List<Moderation.CategoryAppliedInputTypes.Illicit> illicit)
The applied input type(s) for the category 'illicit'.
-
illicit
final Moderation.CategoryAppliedInputTypes.Builder illicit(JsonField<List<Moderation.CategoryAppliedInputTypes.Illicit>> illicit)
Sets Builder.illicit to an arbitrary JSON value.
You should usually call Builder.illicit with a well-typed
List<Illicit>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addIllicit
final Moderation.CategoryAppliedInputTypes.Builder addIllicit(Moderation.CategoryAppliedInputTypes.Illicit illicit)
Adds a single Illicit to Builder.illicit.
-
illicitViolent
final Moderation.CategoryAppliedInputTypes.Builder illicitViolent(List<Moderation.CategoryAppliedInputTypes.IllicitViolent> illicitViolent)
The applied input type(s) for the category 'illicit/violent'.
-
illicitViolent
final Moderation.CategoryAppliedInputTypes.Builder illicitViolent(JsonField<List<Moderation.CategoryAppliedInputTypes.IllicitViolent>> illicitViolent)
Sets Builder.illicitViolent to an arbitrary JSON value.
You should usually call Builder.illicitViolent with a well-typed
List<IllicitViolent>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addIllicitViolent
final Moderation.CategoryAppliedInputTypes.Builder addIllicitViolent(Moderation.CategoryAppliedInputTypes.IllicitViolent illicitViolent)
Adds a single IllicitViolent to Builder.illicitViolent.
-
selfHarm
final Moderation.CategoryAppliedInputTypes.Builder selfHarm(List<Moderation.CategoryAppliedInputTypes.SelfHarm> selfHarm)
The applied input type(s) for the category 'self-harm'.
-
selfHarm
final Moderation.CategoryAppliedInputTypes.Builder selfHarm(JsonField<List<Moderation.CategoryAppliedInputTypes.SelfHarm>> selfHarm)
Sets Builder.selfHarm to an arbitrary JSON value.
You should usually call Builder.selfHarm with a well-typed
List<SelfHarm>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addSelfHarm
final Moderation.CategoryAppliedInputTypes.Builder addSelfHarm(Moderation.CategoryAppliedInputTypes.SelfHarm selfHarm)
Adds a single SelfHarm to Builder.selfHarm.
-
selfHarmInstructions
final Moderation.CategoryAppliedInputTypes.Builder selfHarmInstructions(List<Moderation.CategoryAppliedInputTypes.SelfHarmInstruction> selfHarmInstructions)
The applied input type(s) for the category 'self-harm/instructions'.
-
selfHarmInstructions
final Moderation.CategoryAppliedInputTypes.Builder selfHarmInstructions(JsonField<List<Moderation.CategoryAppliedInputTypes.SelfHarmInstruction>> selfHarmInstructions)
Sets Builder.selfHarmInstructions to an arbitrary JSON value.
You should usually call Builder.selfHarmInstructions with a well-typed
List<SelfHarmInstruction>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addSelfHarmInstruction
final Moderation.CategoryAppliedInputTypes.Builder addSelfHarmInstruction(Moderation.CategoryAppliedInputTypes.SelfHarmInstruction selfHarmInstruction)
Adds a single SelfHarmInstruction to selfHarmInstructions.
-
selfHarmIntent
final Moderation.CategoryAppliedInputTypes.Builder selfHarmIntent(List<Moderation.CategoryAppliedInputTypes.SelfHarmIntent> selfHarmIntent)
The applied input type(s) for the category 'self-harm/intent'.
-
selfHarmIntent
final Moderation.CategoryAppliedInputTypes.Builder selfHarmIntent(JsonField<List<Moderation.CategoryAppliedInputTypes.SelfHarmIntent>> selfHarmIntent)
Sets Builder.selfHarmIntent to an arbitrary JSON value.
You should usually call Builder.selfHarmIntent with a well-typed
List<SelfHarmIntent>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addSelfHarmIntent
final Moderation.CategoryAppliedInputTypes.Builder addSelfHarmIntent(Moderation.CategoryAppliedInputTypes.SelfHarmIntent selfHarmIntent)
Adds a single SelfHarmIntent to Builder.selfHarmIntent.
-
sexual
final Moderation.CategoryAppliedInputTypes.Builder sexual(List<Moderation.CategoryAppliedInputTypes.Sexual> sexual)
The applied input type(s) for the category 'sexual'.
-
sexual
final Moderation.CategoryAppliedInputTypes.Builder sexual(JsonField<List<Moderation.CategoryAppliedInputTypes.Sexual>> sexual)
Sets Builder.sexual to an arbitrary JSON value.
You should usually call Builder.sexual with a well-typed
List<Sexual>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addSexual
final Moderation.CategoryAppliedInputTypes.Builder addSexual(Moderation.CategoryAppliedInputTypes.Sexual sexual)
Adds a single Sexual to Builder.sexual.
-
sexualMinors
final Moderation.CategoryAppliedInputTypes.Builder sexualMinors(List<Moderation.CategoryAppliedInputTypes.SexualMinor> sexualMinors)
The applied input type(s) for the category 'sexual/minors'.
-
sexualMinors
final Moderation.CategoryAppliedInputTypes.Builder sexualMinors(JsonField<List<Moderation.CategoryAppliedInputTypes.SexualMinor>> sexualMinors)
Sets Builder.sexualMinors to an arbitrary JSON value.
You should usually call Builder.sexualMinors with a well-typed
List<SexualMinor>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addSexualMinor
final Moderation.CategoryAppliedInputTypes.Builder addSexualMinor(Moderation.CategoryAppliedInputTypes.SexualMinor sexualMinor)
Adds a single SexualMinor to sexualMinors.
-
violence
final Moderation.CategoryAppliedInputTypes.Builder violence(List<Moderation.CategoryAppliedInputTypes.Violence> violence)
The applied input type(s) for the category 'violence'.
-
violence
final Moderation.CategoryAppliedInputTypes.Builder violence(JsonField<List<Moderation.CategoryAppliedInputTypes.Violence>> violence)
Sets Builder.violence to an arbitrary JSON value.
You should usually call Builder.violence with a well-typed
List<Violence>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addViolence
final Moderation.CategoryAppliedInputTypes.Builder addViolence(Moderation.CategoryAppliedInputTypes.Violence violence)
Adds a single Violence to Builder.violence.
-
violenceGraphic
final Moderation.CategoryAppliedInputTypes.Builder violenceGraphic(List<Moderation.CategoryAppliedInputTypes.ViolenceGraphic> violenceGraphic)
The applied input type(s) for the category 'violence/graphic'.
-
violenceGraphic
final Moderation.CategoryAppliedInputTypes.Builder violenceGraphic(JsonField<List<Moderation.CategoryAppliedInputTypes.ViolenceGraphic>> violenceGraphic)
Sets Builder.violenceGraphic to an arbitrary JSON value.
You should usually call Builder.violenceGraphic with a well-typed
List<ViolenceGraphic>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addViolenceGraphic
final Moderation.CategoryAppliedInputTypes.Builder addViolenceGraphic(Moderation.CategoryAppliedInputTypes.ViolenceGraphic violenceGraphic)
Adds a single ViolenceGraphic to Builder.violenceGraphic.
-
additionalProperties
final Moderation.CategoryAppliedInputTypes.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Moderation.CategoryAppliedInputTypes.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Moderation.CategoryAppliedInputTypes.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Moderation.CategoryAppliedInputTypes.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Moderation.CategoryAppliedInputTypes.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Moderation.CategoryAppliedInputTypes build()
Returns an immutable instance of CategoryAppliedInputTypes.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.harassment() .harassmentThreatening() .hate() .hateThreatening() .illicit() .illicitViolent() .selfHarm() .selfHarmInstructions() .selfHarmIntent() .sexual() .sexualMinors() .violence() .violenceGraphic()
-
-
-
-