Class McpServerFloorSetting
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.modelarmor.v1beta.McpServerFloorSetting
- All Implemented Interfaces:
McpServerFloorSettingOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class McpServerFloorSetting
extends com.google.protobuf.GeneratedMessage
implements McpServerFloorSettingOrBuilder
Message describing MCP Server Floor Setting.Protobuf type
google.cloud.modelarmor.v1beta.McpServerFloorSetting- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMessage describing MCP Server Floor Setting.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetApis(int index) Optional.com.google.protobuf.ByteStringgetApisBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.static McpServerFloorSettingstatic final com.google.protobuf.Descriptors.DescriptorbooleanOptional.booleanOptional.booleanOptional.com.google.protobuf.Parser<McpServerFloorSetting>intinthashCode()booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(McpServerFloorSetting prototype) protected McpServerFloorSetting.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static McpServerFloorSettingparseDelimitedFrom(InputStream input) static McpServerFloorSettingparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static McpServerFloorSettingparseFrom(byte[] data) static McpServerFloorSettingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static McpServerFloorSettingparseFrom(com.google.protobuf.ByteString data) static McpServerFloorSettingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static McpServerFloorSettingparseFrom(com.google.protobuf.CodedInputStream input) static McpServerFloorSettingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static McpServerFloorSettingparseFrom(InputStream input) static McpServerFloorSettingparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static McpServerFloorSettingparseFrom(ByteBuffer data) static McpServerFloorSettingparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<McpServerFloorSetting>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
INSPECT_ONLY_FIELD_NUMBER
public static final int INSPECT_ONLY_FIELD_NUMBER- See Also:
-
INSPECT_AND_BLOCK_FIELD_NUMBER
public static final int INSPECT_AND_BLOCK_FIELD_NUMBER- See Also:
-
ENABLE_CLOUD_LOGGING_FIELD_NUMBER
public static final int ENABLE_CLOUD_LOGGING_FIELD_NUMBER- See Also:
-
APIS_FIELD_NUMBER
public static final int APIS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getEnforcementTypeCase
- Specified by:
getEnforcementTypeCasein interfaceMcpServerFloorSettingOrBuilder
-
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];- Specified by:
hasInspectOnlyin interfaceMcpServerFloorSettingOrBuilder- Returns:
- Whether the inspectOnly field is set.
-
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];- Specified by:
getInspectOnlyin interfaceMcpServerFloorSettingOrBuilder- Returns:
- The inspectOnly.
-
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];- Specified by:
hasInspectAndBlockin interfaceMcpServerFloorSettingOrBuilder- Returns:
- Whether the inspectAndBlock field is set.
-
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];- Specified by:
getInspectAndBlockin interfaceMcpServerFloorSettingOrBuilder- Returns:
- The inspectAndBlock.
-
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];- Specified by:
getEnableCloudLoggingin interfaceMcpServerFloorSettingOrBuilder- Returns:
- The enableCloudLogging.
-
getApisList
public com.google.protobuf.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];- Specified by:
getApisListin interfaceMcpServerFloorSettingOrBuilder- Returns:
- A list containing the apis.
-
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];- Specified by:
getApisCountin interfaceMcpServerFloorSettingOrBuilder- Returns:
- The count of apis.
-
getApis
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];- Specified by:
getApisin interfaceMcpServerFloorSettingOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The apis at the given index.
-
getApisBytes
public 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];- Specified by:
getApisBytesin interfaceMcpServerFloorSettingOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the apis at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static McpServerFloorSetting parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static McpServerFloorSetting parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static McpServerFloorSetting parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static McpServerFloorSetting parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static McpServerFloorSetting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static McpServerFloorSetting parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static McpServerFloorSetting parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static McpServerFloorSetting parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static McpServerFloorSetting parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static McpServerFloorSetting parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected McpServerFloorSetting.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-