# Interface McpServerFloorSettingOrBuilder (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 McpServerFloorSettingOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getApis(int index)

    public abstract String getApis(int index)

Optional. List of MCP servers for which the MCP floor setting is
applicable. Examples: "bigquery.googleapis.com/mcp",
"run.googleapis.com/mcp" Empty list denotes that the floor setting is
applicable to all MCP servers.

`repeated string apis = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The apis at the given index. |

### getApisBytes(int index)

    public abstract ByteString getApisBytes(int index)

Optional. List of MCP servers for which the MCP floor setting is
applicable. Examples: "bigquery.googleapis.com/mcp",
"run.googleapis.com/mcp" Empty list denotes that the floor setting is
applicable to all MCP servers.

`repeated string apis = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the apis at the given index. |

### getApisCount()

    public abstract int getApisCount()

Optional. List of MCP servers for which the MCP floor setting is
applicable. Examples: "bigquery.googleapis.com/mcp",
"run.googleapis.com/mcp" Empty list denotes that the floor setting is
applicable to all MCP servers.

`repeated string apis = 4 [(.google.api.field_behavior) = OPTIONAL];`

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

### getApisList()

    public abstract List<String> getApisList()

Optional. List of MCP servers for which the MCP floor setting is
applicable. Examples: "bigquery.googleapis.com/mcp",
"run.googleapis.com/mcp" Empty list denotes that the floor setting is
applicable to all MCP servers.

`repeated string apis = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the apis. |

### 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 McpServerFloorSetting.EnforcementTypeCase getEnforcementTypeCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/com.google.cloud.modelarmor.v1beta.McpServerFloorSetting.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. |