Class Method
java.lang.Object
com.google.genai.gaos.models.interactions.Method
Method
Optional. The method for blocking content. If not specified, the default behavior is to use the probability score.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
-
Field Details
-
SEVERITY
-
PROBABILITY
-
-
Method Details
-
of
Returns a Method with the given value. For a specific value the returned object will always be a singleton so reference equality is satisfied when the values are the same.- Parameters:
value- value to be wrapped as Method
-
value
-
asEnum
-
isKnown
public boolean isKnown() -
hashCode
public int hashCode() -
equals
-
toString
-
values
-