Class SensitivityScore (3.58.0)

public final class SensitivityScore extends GeneratedMessageV3 implements SensitivityScoreOrBuilder

Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.

Protobuf type google.privacy.dlp.v2.SensitivityScore

Static Fields

SCORE_FIELD_NUMBER

public static final int SCORE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SensitivityScore getDefaultInstance()
Returns
Type Description
SensitivityScore

getDescriptor()

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

newBuilder()

public static SensitivityScore.Builder newBuilder()
Returns
Type Description
SensitivityScore.Builder

newBuilder(SensitivityScore prototype)

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

parseDelimitedFrom(InputStream input)

public static SensitivityScore parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SensitivityScore
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static SensitivityScore parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SensitivityScore
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static SensitivityScore parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SensitivityScore
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static SensitivityScore parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SensitivityScore
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static SensitivityScore parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SensitivityScore
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<SensitivityScore> parser()
Returns
Type Description
Parser<SensitivityScore>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SensitivityScore getDefaultInstanceForType()
Returns
Type Description
SensitivityScore

getParserForType()

public Parser<SensitivityScore> getParserForType()
Returns
Type Description
Parser<SensitivityScore>
Overrides

getScore()

public SensitivityScore.SensitivityScoreLevel getScore()

The sensitivity score applied to the resource.

.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1;

Returns
Type Description
SensitivityScore.SensitivityScoreLevel

The score.

getScoreValue()

public int getScoreValue()

The sensitivity score applied to the resource.

.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1;

Returns
Type Description
int

The enum numeric value on the wire for score.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public SensitivityScore.Builder toBuilder()
Returns
Type Description
SensitivityScore.Builder

writeTo(CodedOutputStream output)

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