Class ResourceValueConfig.SensitiveDataProtectionMapping.Builder (2.63.0)

public static final class ResourceValueConfig.SensitiveDataProtectionMapping.Builder extends GeneratedMessageV3.Builder<ResourceValueConfig.SensitiveDataProtectionMapping.Builder> implements ResourceValueConfig.SensitiveDataProtectionMappingOrBuilder

Resource value mapping for Sensitive Data Protection findings. If any of these mappings have a resource value that is not unspecified, the resource_value field will be ignored when reading this configuration.

Protobuf type google.cloud.securitycenter.v1.ResourceValueConfig.SensitiveDataProtectionMapping

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourceValueConfig.SensitiveDataProtectionMapping.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

build()

public ResourceValueConfig.SensitiveDataProtectionMapping build()
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping

buildPartial()

public ResourceValueConfig.SensitiveDataProtectionMapping buildPartial()
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping

clear()

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder clear()
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

clearHighSensitivityMapping()

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder clearHighSensitivityMapping()

Resource value mapping for high-sensitivity Sensitive Data Protection findings

.google.cloud.securitycenter.v1.ResourceValue high_sensitivity_mapping = 1;

Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder

This builder for chaining.

clearMediumSensitivityMapping()

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder clearMediumSensitivityMapping()

Resource value mapping for medium-sensitivity Sensitive Data Protection findings

.google.cloud.securitycenter.v1.ResourceValue medium_sensitivity_mapping = 2;

Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

clone()

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder clone()
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

getDefaultInstanceForType()

public ResourceValueConfig.SensitiveDataProtectionMapping getDefaultInstanceForType()
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping

getDescriptorForType()

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

getHighSensitivityMapping()

public ResourceValue getHighSensitivityMapping()

Resource value mapping for high-sensitivity Sensitive Data Protection findings

.google.cloud.securitycenter.v1.ResourceValue high_sensitivity_mapping = 1;

Returns
Type Description
ResourceValue

The highSensitivityMapping.

getHighSensitivityMappingValue()

public int getHighSensitivityMappingValue()

Resource value mapping for high-sensitivity Sensitive Data Protection findings

.google.cloud.securitycenter.v1.ResourceValue high_sensitivity_mapping = 1;

Returns
Type Description
int

The enum numeric value on the wire for highSensitivityMapping.

getMediumSensitivityMapping()

public ResourceValue getMediumSensitivityMapping()

Resource value mapping for medium-sensitivity Sensitive Data Protection findings

.google.cloud.securitycenter.v1.ResourceValue medium_sensitivity_mapping = 2;

Returns
Type Description
ResourceValue

The mediumSensitivityMapping.

getMediumSensitivityMappingValue()

public int getMediumSensitivityMappingValue()

Resource value mapping for medium-sensitivity Sensitive Data Protection findings

.google.cloud.securitycenter.v1.ResourceValue medium_sensitivity_mapping = 2;

Returns
Type Description
int

The enum numeric value on the wire for mediumSensitivityMapping.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResourceValueConfig.SensitiveDataProtectionMapping other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResourceValueConfig.SensitiveDataProtectionMapping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

setHighSensitivityMapping(ResourceValue value)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder setHighSensitivityMapping(ResourceValue value)

Resource value mapping for high-sensitivity Sensitive Data Protection findings

.google.cloud.securitycenter.v1.ResourceValue high_sensitivity_mapping = 1;

Parameter
Name Description
value ResourceValue

The highSensitivityMapping to set.

Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder

This builder for chaining.

setHighSensitivityMappingValue(int value)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder setHighSensitivityMappingValue(int value)

Resource value mapping for high-sensitivity Sensitive Data Protection findings

.google.cloud.securitycenter.v1.ResourceValue high_sensitivity_mapping = 1;

Parameter
Name Description
value int

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

Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder

This builder for chaining.

setMediumSensitivityMapping(ResourceValue value)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder setMediumSensitivityMapping(ResourceValue value)

Resource value mapping for medium-sensitivity Sensitive Data Protection findings

.google.cloud.securitycenter.v1.ResourceValue medium_sensitivity_mapping = 2;

Parameter
Name Description
value ResourceValue

The mediumSensitivityMapping to set.

Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder

This builder for chaining.

setMediumSensitivityMappingValue(int value)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder setMediumSensitivityMappingValue(int value)

Resource value mapping for medium-sensitivity Sensitive Data Protection findings

.google.cloud.securitycenter.v1.ResourceValue medium_sensitivity_mapping = 2;

Parameter
Name Description
value int

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

Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ResourceValueConfig.SensitiveDataProtectionMapping.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides