Enum RaiSettings.RaiCategoryConfig.SensitivityLevel (4.87.0)

public enum RaiSettings.RaiCategoryConfig.SensitivityLevel extends Enum<RaiSettings.RaiCategoryConfig.SensitivityLevel> implements ProtocolMessageEnum

Enum for user-configurable sensitivity levels.

Protobuf enum google.cloud.dialogflow.v2.RaiSettings.RaiCategoryConfig.SensitivityLevel

Implements

ProtocolMessageEnum

Static Fields

Name Description
BLOCK_FEW

Block a few potentially sensitive responses.

BLOCK_FEW = 3;

BLOCK_FEW_VALUE

Block a few potentially sensitive responses.

BLOCK_FEW = 3;

BLOCK_MOST

Block most potentially sensitive responses.

BLOCK_MOST = 1;

BLOCK_MOST_VALUE

Block most potentially sensitive responses.

BLOCK_MOST = 1;

BLOCK_NONE

No filtering for this category.

BLOCK_NONE = 4;

BLOCK_NONE_VALUE

No filtering for this category.

BLOCK_NONE = 4;

BLOCK_SOME

Block some potentially sensitive responses.

BLOCK_SOME = 2;

BLOCK_SOME_VALUE

Block some potentially sensitive responses.

BLOCK_SOME = 2;

SENSITIVITY_LEVEL_UNSPECIFIED

Default value. If unspecified, the default behavior is:

  • DANGEROUS_CONTENT: BLOCK_FEW
  • SEXUALLY_EXPLICIT: BLOCK_SOME
  • HARASSMENT: BLOCK_SOME
  • HATE_SPEECH: BLOCK_SOME

SENSITIVITY_LEVEL_UNSPECIFIED = 0;

SENSITIVITY_LEVEL_UNSPECIFIED_VALUE

Default value. If unspecified, the default behavior is:

  • DANGEROUS_CONTENT: BLOCK_FEW
  • SEXUALLY_EXPLICIT: BLOCK_SOME
  • HARASSMENT: BLOCK_SOME
  • HATE_SPEECH: BLOCK_SOME

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