probability

public abstract SafetyRating.Builder probability(HarmProbability probability)

Setter for probability.

probability: Output only. The probability of harm for this category.


@CanIgnoreReturnValue()
public SafetyRating.Builder probability(HarmProbability.Known knownType)

Setter for probability given a known enum.

probability: Output only. The probability of harm for this category.


@CanIgnoreReturnValue()
public SafetyRating.Builder probability(String probability)

Setter for probability given a string.

probability: Output only. The probability of harm for this category.