Class ResourceValueConfig.SensitiveDataProtectionMapping (2.51.0)

public static final class ResourceValueConfig.SensitiveDataProtectionMapping extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ResourceValueConfig.SensitiveDataProtectionMapping

Static Fields

HIGH_SENSITIVITY_MAPPING_FIELD_NUMBER

public static final int HIGH_SENSITIVITY_MAPPING_FIELD_NUMBER
Field Value
Type Description
int

MEDIUM_SENSITIVITY_MAPPING_FIELD_NUMBER

public static final int MEDIUM_SENSITIVITY_MAPPING_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ResourceValueConfig.SensitiveDataProtectionMapping getDefaultInstance()
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping

getDescriptor()

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

newBuilder()

public static ResourceValueConfig.SensitiveDataProtectionMapping.Builder newBuilder()
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder

newBuilder(ResourceValueConfig.SensitiveDataProtectionMapping prototype)

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

parseDelimitedFrom(InputStream input)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ResourceValueConfig.SensitiveDataProtectionMapping> parser()
Returns
Type Description
Parser<SensitiveDataProtectionMapping>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<ResourceValueConfig.SensitiveDataProtectionMapping> getParserForType()
Returns
Type Description
Parser<SensitiveDataProtectionMapping>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 ResourceValueConfig.SensitiveDataProtectionMapping.Builder newBuilderForType()
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder toBuilder()
Returns
Type Description
ResourceValueConfig.SensitiveDataProtectionMapping.Builder

writeTo(CodedOutputStream output)

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