public final class McpServerFloorSetting extends GeneratedMessage implements McpServerFloorSettingOrBuilder
Message describing MCP Server Floor Setting.
Protobuf type google.cloud.modelarmor.v1beta.McpServerFloorSetting
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
APIS_FIELD_NUMBER
public static final int APIS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENABLE_CLOUD_LOGGING_FIELD_NUMBER
public static final int ENABLE_CLOUD_LOGGING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
INSPECT_AND_BLOCK_FIELD_NUMBER
public static final int INSPECT_AND_BLOCK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
INSPECT_ONLY_FIELD_NUMBER
public static final int INSPECT_ONLY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static McpServerFloorSetting getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static McpServerFloorSetting.Builder newBuilder()
newBuilder(McpServerFloorSetting prototype)
public static McpServerFloorSetting.Builder newBuilder(McpServerFloorSetting prototype)
public static McpServerFloorSetting parseDelimitedFrom(InputStream input)
public static McpServerFloorSetting parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static McpServerFloorSetting parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static McpServerFloorSetting parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static McpServerFloorSetting parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static McpServerFloorSetting parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static McpServerFloorSetting parseFrom(CodedInputStream input)
public static McpServerFloorSetting parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static McpServerFloorSetting parseFrom(InputStream input)
public static McpServerFloorSetting parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static McpServerFloorSetting parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static McpServerFloorSetting parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<McpServerFloorSetting> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getApis(int index)
public 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 |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The apis at the given index.
|
getApisBytes(int index)
public 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 |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the apis at the given index.
|
getApisCount()
public 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 |
int |
The count of apis.
|
getApisList()
public ProtocolStringList 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];
getDefaultInstanceForType()
public McpServerFloorSetting getDefaultInstanceForType()
getEnableCloudLogging()
public 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 |
boolean |
The enableCloudLogging.
|
getEnforcementTypeCase()
public McpServerFloorSetting.EnforcementTypeCase getEnforcementTypeCase()
getInspectAndBlock()
public 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 |
boolean |
The inspectAndBlock.
|
getInspectOnly()
public 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 |
boolean |
The inspectOnly.
|
getParserForType()
public Parser<McpServerFloorSetting> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasInspectAndBlock()
public 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 |
boolean |
Whether the inspectAndBlock field is set.
|
hasInspectOnly()
public 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 |
boolean |
Whether the inspectOnly field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public McpServerFloorSetting.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected McpServerFloorSetting.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public McpServerFloorSetting.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides