Enum SafetySettings.RaiSettings.SafetyFilterLevel (0.92.0)

public enum SafetySettings.RaiSettings.SafetyFilterLevel extends Enum<SafetySettings.RaiSettings.SafetyFilterLevel> implements ProtocolMessageEnum

Sensitivity level for RAI categories.

Protobuf enum google.cloud.dialogflow.cx.v3beta1.SafetySettings.RaiSettings.SafetyFilterLevel

Implements

ProtocolMessageEnum

Static Fields

Name Description
BLOCK_FEW

Block a few suspicious texts.

BLOCK_FEW = 2;

BLOCK_FEW_VALUE

Block a few suspicious texts.

BLOCK_FEW = 2;

BLOCK_MOST

Block most suspicious texts.

BLOCK_MOST = 4;

BLOCK_MOST_VALUE

Block most suspicious texts.

BLOCK_MOST = 4;

BLOCK_NONE

Block no text -- effectively disables the category.

BLOCK_NONE = 1;

BLOCK_NONE_VALUE

Block no text -- effectively disables the category.

BLOCK_NONE = 1;

BLOCK_SOME

Block some suspicious texts.

BLOCK_SOME = 3;

BLOCK_SOME_VALUE

Block some suspicious texts.

BLOCK_SOME = 3;

SAFETY_FILTER_LEVEL_UNSPECIFIED

Unspecified -- uses default sensitivity levels.

SAFETY_FILTER_LEVEL_UNSPECIFIED = 0;

SAFETY_FILTER_LEVEL_UNSPECIFIED_VALUE

Unspecified -- uses default sensitivity levels.

SAFETY_FILTER_LEVEL_UNSPECIFIED = 0;

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()