Interface RaiFilterSettings.RaiFilterOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RaiFilterSettings.RaiFilter, RaiFilterSettings.RaiFilter.Builder
Enclosing class:
RaiFilterSettings

public static interface RaiFilterSettings.RaiFilterOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    int
    Optional.
    Required.
    int
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getFilterTypeValue

      int getFilterTypeValue()
       Required. Type of responsible AI filter.
       
      .google.cloud.modelarmor.v1beta.RaiFilterType filter_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for filterType.
    • getFilterType

      RaiFilterType getFilterType()
       Required. Type of responsible AI filter.
       
      .google.cloud.modelarmor.v1beta.RaiFilterType filter_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The filterType.
    • getConfidenceLevelValue

      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.v1beta.DetectionConfidenceLevel confidence_level = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for confidenceLevel.
    • getConfidenceLevel

      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.v1beta.DetectionConfidenceLevel confidence_level = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The confidenceLevel.