public interface CsamFilterSettingsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getConfidenceLevel()
public abstract DetectionConfidenceLevel getConfidenceLevel()Optional. Confidence level for this CSAM filter. This field is used to determine the threshold for the filter. If detection confidence is greater than or equal to the specified level, a positive match is reported. Confidence level will only be used if the filter is enabled.
.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 CSAM filter. This field is used to determine the threshold for the filter. If detection confidence is greater than or equal to the specified level, a positive match is reported. Confidence level will only be used if the filter is enabled.
.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. |
getFilterEnforcement()
public abstract CsamFilterSettings.CsamFilterEnforcement getFilterEnforcement()Optional. Specifies whether the CSAM filter is enabled or disabled.
.google.cloud.modelarmor.v1.CsamFilterSettings.CsamFilterEnforcement filter_enforcement = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CsamFilterSettings.CsamFilterEnforcement |
The filterEnforcement. |
getFilterEnforcementValue()
public abstract int getFilterEnforcementValue()Optional. Specifies whether the CSAM filter is enabled or disabled.
.google.cloud.modelarmor.v1.CsamFilterSettings.CsamFilterEnforcement filter_enforcement = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for filterEnforcement. |