Interface RaiFilterSettings.RaiFilterOrBuilder (0.1.0)

public static interface RaiFilterSettings.RaiFilterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfidenceLevel()

public abstract DetectionConfidenceLevel getConfidenceLevel()

Optional. Confidence level for this RAI filter. During data sanitization, if data is classified under this filter with a confidence level equal to or greater than the specified level, a positive match is reported. If the confidence level is unspecified (i.e., 0), the system will use a reasonable default level based on the filter_type.

.google.cloud.modelarmor.v1.DetectionConfidenceLevel confidence_level = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DetectionConfidenceLevel

The confidenceLevel.

getConfidenceLevelValue()

public abstract int getConfidenceLevelValue()

Optional. Confidence level for this RAI filter. During data sanitization, if data is classified under this filter with a confidence level equal to or greater than the specified level, a positive match is reported. If the confidence level is unspecified (i.e., 0), the system will use a reasonable default level based on the filter_type.

.google.cloud.modelarmor.v1.DetectionConfidenceLevel confidence_level = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for confidenceLevel.

getFilterType()

public abstract RaiFilterType getFilterType()

Required. Type of responsible AI filter.

.google.cloud.modelarmor.v1.RaiFilterType filter_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RaiFilterType

The filterType.

getFilterTypeValue()

public abstract int getFilterTypeValue()

Required. Type of responsible AI filter.

.google.cloud.modelarmor.v1.RaiFilterType filter_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for filterType.