Class ResourceValueConfig.SensitiveDataProtectionMapping (2.47.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
TypeDescription
int

MEDIUM_SENSITIVITY_MAPPING_FIELD_NUMBER

public static final int MEDIUM_SENSITIVITY_MAPPING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ResourceValueConfig.SensitiveDataProtectionMapping getDefaultInstance()
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ResourceValueConfig.SensitiveDataProtectionMapping.Builder newBuilder()
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder

newBuilder(ResourceValueConfig.SensitiveDataProtectionMapping prototype)

public static ResourceValueConfig.SensitiveDataProtectionMapping.Builder newBuilder(ResourceValueConfig.SensitiveDataProtectionMapping prototype)
Parameter
NameDescription
prototypeResourceValueConfig.SensitiveDataProtectionMapping
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder

parseDelimitedFrom(InputStream input)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResourceValueConfig.SensitiveDataProtectionMapping parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ResourceValueConfig.SensitiveDataProtectionMapping getDefaultInstanceForType()
Returns
TypeDescription
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
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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder newBuilderForType()
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResourceValueConfig.SensitiveDataProtectionMapping.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ResourceValueConfig.SensitiveDataProtectionMapping.Builder toBuilder()
Returns
TypeDescription
ResourceValueConfig.SensitiveDataProtectionMapping.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException