Interface McpServerFloorSettingOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
McpServerFloorSetting, McpServerFloorSetting.Builder

@Generated public interface McpServerFloorSettingOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 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.
    • getApisList

      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:
      A list containing the apis.
    • getApisCount

      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:
      The count of apis.
    • getApis

      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];
      Parameters:
      index - The index of the element to return.
      Returns:
      The apis at the given index.
    • getApisBytes

      com.google.protobuf.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];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the apis at the given index.
    • getEnforcementTypeCase