Class AiPlatformFloorSetting (0.11.0)

public final class AiPlatformFloorSetting extends GeneratedMessageV3 implements AiPlatformFloorSettingOrBuilder

message describing AiPlatformFloorSetting

Protobuf type google.cloud.modelarmor.v1beta.AiPlatformFloorSetting

Static Fields

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 AiPlatformFloorSetting getDefaultInstance()
Returns
Type Description
AiPlatformFloorSetting

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AiPlatformFloorSetting.Builder newBuilder()
Returns
Type Description
AiPlatformFloorSetting.Builder

newBuilder(AiPlatformFloorSetting prototype)

public static AiPlatformFloorSetting.Builder newBuilder(AiPlatformFloorSetting prototype)
Parameter
Name Description
prototype AiPlatformFloorSetting
Returns
Type Description
AiPlatformFloorSetting.Builder

parseDelimitedFrom(InputStream input)

public static AiPlatformFloorSetting parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AiPlatformFloorSetting
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AiPlatformFloorSetting parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AiPlatformFloorSetting
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AiPlatformFloorSetting parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AiPlatformFloorSetting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AiPlatformFloorSetting parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AiPlatformFloorSetting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AiPlatformFloorSetting parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AiPlatformFloorSetting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AiPlatformFloorSetting parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AiPlatformFloorSetting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AiPlatformFloorSetting parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AiPlatformFloorSetting
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AiPlatformFloorSetting parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AiPlatformFloorSetting
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AiPlatformFloorSetting parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AiPlatformFloorSetting
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AiPlatformFloorSetting parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AiPlatformFloorSetting
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AiPlatformFloorSetting parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AiPlatformFloorSetting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AiPlatformFloorSetting parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AiPlatformFloorSetting
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AiPlatformFloorSetting> parser()
Returns
Type Description
Parser<AiPlatformFloorSetting>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AiPlatformFloorSetting getDefaultInstanceForType()
Returns
Type Description
AiPlatformFloorSetting

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 AiPlatformFloorSetting.EnforcementTypeCase getEnforcementTypeCase()
Returns
Type Description
AiPlatformFloorSetting.EnforcementTypeCase

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<AiPlatformFloorSetting> getParserForType()
Returns
Type Description
Parser<AiPlatformFloorSetting>
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AiPlatformFloorSetting.Builder newBuilderForType()
Returns
Type Description
AiPlatformFloorSetting.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AiPlatformFloorSetting.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AiPlatformFloorSetting.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AiPlatformFloorSetting.Builder toBuilder()
Returns
Type Description
AiPlatformFloorSetting.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException