Class ResourceValueConfig.SensitiveDataProtectionMapping.Builder (2.48.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.v2.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

build()

public ResourceValueConfig.SensitiveDataProtectionMapping build()
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping

buildPartial()

public ResourceValueConfig.SensitiveDataProtectionMapping buildPartial()
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping

clear()

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder clear()
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

clearHighSensitivityMapping()

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder clearHighSensitivityMapping()

Resource value mapping for high-sensitivity Sensitive Data Protection findings

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

Returns
TypeDescription
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.v2.ResourceValue medium_sensitivity_mapping = 2;

Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

clone()

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder clone()
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

getDefaultInstanceForType()

public ResourceValueConfig.SensitiveDataProtectionMapping getDefaultInstanceForType()
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHighSensitivityMapping()

public ResourceValue getHighSensitivityMapping()

Resource value mapping for high-sensitivity Sensitive Data Protection findings

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

Returns
TypeDescription
ResourceValue

The highSensitivityMapping.

getHighSensitivityMappingValue()

public int getHighSensitivityMappingValue()

Resource value mapping for high-sensitivity Sensitive Data Protection findings

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

Returns
TypeDescription
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.v2.ResourceValue medium_sensitivity_mapping = 2;

Returns
TypeDescription
ResourceValue

The mediumSensitivityMapping.

getMediumSensitivityMappingValue()

public int getMediumSensitivityMappingValue()

Resource value mapping for medium-sensitivity Sensitive Data Protection findings

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

Returns
TypeDescription
int

The enum numeric value on the wire for mediumSensitivityMapping.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResourceValueConfig.SensitiveDataProtectionMapping other)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder mergeFrom(ResourceValueConfig.SensitiveDataProtectionMapping other)
Parameter
NameDescription
otherResourceValueConfig.SensitiveDataProtectionMapping
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResourceValueConfig.SensitiveDataProtectionMapping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v2.ResourceValue high_sensitivity_mapping = 1;

Parameter
NameDescription
valueResourceValue

The highSensitivityMapping to set.

Returns
TypeDescription
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.v2.ResourceValue high_sensitivity_mapping = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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.v2.ResourceValue medium_sensitivity_mapping = 2;

Parameter
NameDescription
valueResourceValue

The mediumSensitivityMapping to set.

Returns
TypeDescription
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.v2.ResourceValue medium_sensitivity_mapping = 2;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ResourceValueConfig.SensitiveDataProtectionMapping.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides