Class SdpBasicConfig.Builder (0.24.0)

public static final class SdpBasicConfig.Builder extends GeneratedMessage.Builder<SdpBasicConfig.Builder> implements SdpBasicConfigOrBuilder

Sensitive Data Protection basic configuration.

Protobuf type google.cloud.modelarmor.v1.SdpBasicConfig

Static Methods

getDescriptor()

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

Methods

build()

public SdpBasicConfig build()
Returns
Type Description
SdpBasicConfig

buildPartial()

public SdpBasicConfig buildPartial()
Returns
Type Description
SdpBasicConfig

clear()

public SdpBasicConfig.Builder clear()
Returns
Type Description
SdpBasicConfig.Builder
Overrides

clearFilterEnforcement()

public SdpBasicConfig.Builder clearFilterEnforcement()

Optional. Tells whether the Sensitive Data Protection basic config is enabled or disabled.

.google.cloud.modelarmor.v1.SdpBasicConfig.SdpBasicConfigEnforcement filter_enforcement = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SdpBasicConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public SdpBasicConfig getDefaultInstanceForType()
Returns
Type Description
SdpBasicConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilterEnforcement()

public SdpBasicConfig.SdpBasicConfigEnforcement getFilterEnforcement()

Optional. Tells whether the Sensitive Data Protection basic config is enabled or disabled.

.google.cloud.modelarmor.v1.SdpBasicConfig.SdpBasicConfigEnforcement filter_enforcement = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SdpBasicConfig.SdpBasicConfigEnforcement

The filterEnforcement.

getFilterEnforcementValue()

public int getFilterEnforcementValue()

Optional. Tells whether the Sensitive Data Protection basic config is enabled or disabled.

.google.cloud.modelarmor.v1.SdpBasicConfig.SdpBasicConfigEnforcement filter_enforcement = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for filterEnforcement.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SdpBasicConfig other)

public SdpBasicConfig.Builder mergeFrom(SdpBasicConfig other)
Parameter
Name Description
other SdpBasicConfig
Returns
Type Description
SdpBasicConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SdpBasicConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpBasicConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SdpBasicConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SdpBasicConfig.Builder
Overrides

setFilterEnforcement(SdpBasicConfig.SdpBasicConfigEnforcement value)

public SdpBasicConfig.Builder setFilterEnforcement(SdpBasicConfig.SdpBasicConfigEnforcement value)

Optional. Tells whether the Sensitive Data Protection basic config is enabled or disabled.

.google.cloud.modelarmor.v1.SdpBasicConfig.SdpBasicConfigEnforcement filter_enforcement = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SdpBasicConfig.SdpBasicConfigEnforcement

The filterEnforcement to set.

Returns
Type Description
SdpBasicConfig.Builder

This builder for chaining.

setFilterEnforcementValue(int value)

public SdpBasicConfig.Builder setFilterEnforcementValue(int value)

Optional. Tells whether the Sensitive Data Protection basic config is enabled or disabled.

.google.cloud.modelarmor.v1.SdpBasicConfig.SdpBasicConfigEnforcement filter_enforcement = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for filterEnforcement to set.

Returns
Type Description
SdpBasicConfig.Builder

This builder for chaining.