public enum SafetySetting.HarmBlockMethod extends Enum<SafetySetting.HarmBlockMethod> implements ProtocolMessageEnum
Probability vs severity.
Protobuf enum google.cloud.vertexai.v1.SafetySetting.HarmBlockMethod
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
HARM_BLOCK_METHOD_UNSPECIFIED |
The harm block method is unspecified. |
HARM_BLOCK_METHOD_UNSPECIFIED_VALUE |
The harm block method is unspecified. |
PROBABILITY |
The harm block method uses the probability score. |
PROBABILITY_VALUE |
The harm block method uses the probability score. |
SEVERITY |
The harm block method uses both probability and severity scores. |
SEVERITY_VALUE |
The harm block method uses both probability and severity scores. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |