Interface AiPlatformFloorSettingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AiPlatformFloorSetting,AiPlatformFloorSetting.Builder
@Generated
public interface AiPlatformFloorSettingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInspectOnly
boolean hasInspectOnly()Optional. If true, Model Armor filters will be run in inspect only mode. No action will be taken on the request.
bool inspect_only = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the inspectOnly field is set.
-
getInspectOnly
boolean getInspectOnly()Optional. If true, Model Armor filters will be run in inspect only mode. No action will be taken on the request.
bool inspect_only = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The inspectOnly.
-
hasInspectAndBlock
boolean hasInspectAndBlock()Optional. If true, Model Armor filters will be run in inspect and block mode. Requests that trip Model Armor filters will be blocked.
bool inspect_and_block = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the inspectAndBlock field is set.
-
getInspectAndBlock
boolean getInspectAndBlock()Optional. If true, Model Armor filters will be run in inspect and block mode. Requests that trip Model Armor filters will be blocked.
bool inspect_and_block = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The inspectAndBlock.
-
getEnableCloudLogging
boolean getEnableCloudLogging()Optional. If true, log Model Armor filter results to Cloud Logging.
bool enable_cloud_logging = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enableCloudLogging.
-
getEnforcementTypeCase
AiPlatformFloorSetting.EnforcementTypeCase getEnforcementTypeCase()
-