public static final class ResourceValueConfig.SensitiveDataProtectionMapping.Builder extends GeneratedMessage.Builder<ResourceValueConfig.SensitiveDataProtectionMapping.Builder> implements ResourceValueConfig.SensitiveDataProtectionMappingOrBuilderResource 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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ResourceValueConfig.SensitiveDataProtectionMapping.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 | |
|---|---|
| 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.v2.ResourceValue medium_sensitivity_mapping = 2;
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.SensitiveDataProtectionMapping.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ResourceValueConfig.SensitiveDataProtectionMapping getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.SensitiveDataProtectionMapping |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHighSensitivityMapping()
public ResourceValue getHighSensitivityMapping()Resource value mapping for high-sensitivity Sensitive Data Protection findings
.google.cloud.securitycenter.v2.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.v2.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.v2.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.v2.ResourceValue medium_sensitivity_mapping = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for mediumSensitivityMapping. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 | |
|---|---|
| Name | Description |
value |
ResourceValueThe 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.v2.ResourceValue high_sensitivity_mapping = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe 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.v2.ResourceValue medium_sensitivity_mapping = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ResourceValueThe 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.v2.ResourceValue medium_sensitivity_mapping = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for mediumSensitivityMapping to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.SensitiveDataProtectionMapping.Builder |
This builder for chaining. |