# Interface AiPlatformFloorSettingOrBuilder (0.34.0)

0.34.0 (latest) 0.32.0 0.29.0 0.28.0 0.26.0 0.24.0 0.23.0 0.21.0 0.19.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.11.0 0.9.0 0.8.0 0.5.0 0.4.0 0.3.0 0.1.0

    public interface AiPlatformFloorSettingOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getEnableCloudLogging()

    public abstract boolean getEnableCloudLogging()

Optional. If true, log Model Armor filter results to Cloud Logging.

`bool enable_cloud_logging = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enableCloudLogging. |

### getEnforcementTypeCase()

    public abstract AiPlatformFloorSetting.EnforcementTypeCase getEnforcementTypeCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/com.google.cloud.modelarmor.v1beta.AiPlatformFloorSetting.EnforcementTypeCase` |   |

### getInspectAndBlock()

    public abstract 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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The inspectAndBlock. |

### getInspectOnly()

    public abstract 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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The inspectOnly. |

### hasInspectAndBlock()

    public abstract 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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the inspectAndBlock field is set. |

### hasInspectOnly()

    public abstract 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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the inspectOnly field is set. |