Class DataRiskLevel (3.7.6)

public final class DataRiskLevel extends GeneratedMessageV3 implements DataRiskLevelOrBuilder

Score is a summary of all elements in the data profile. A higher number means more risk.

Protobuf type google.privacy.dlp.v2.DataRiskLevel

Static Fields

SCORE_FIELD_NUMBER

public static final int SCORE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataRiskLevel getDefaultInstance()
Returns
TypeDescription
DataRiskLevel

getDescriptor()

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

newBuilder()

public static DataRiskLevel.Builder newBuilder()
Returns
TypeDescription
DataRiskLevel.Builder

newBuilder(DataRiskLevel prototype)

public static DataRiskLevel.Builder newBuilder(DataRiskLevel prototype)
Parameter
NameDescription
prototypeDataRiskLevel
Returns
TypeDescription
DataRiskLevel.Builder

parseDelimitedFrom(InputStream input)

public static DataRiskLevel parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataRiskLevel
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static DataRiskLevel parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DataRiskLevel
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static DataRiskLevel parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DataRiskLevel
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static DataRiskLevel parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataRiskLevel
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static DataRiskLevel parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DataRiskLevel
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<DataRiskLevel> parser()
Returns
TypeDescription
Parser<DataRiskLevel>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DataRiskLevel getDefaultInstanceForType()
Returns
TypeDescription
DataRiskLevel

getParserForType()

public Parser<DataRiskLevel> getParserForType()
Returns
TypeDescription
Parser<DataRiskLevel>
Overrides

getScore()

public DataRiskLevel.DataRiskLevelScore getScore()

The score applied to the resource.

.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1;

Returns
TypeDescription
DataRiskLevel.DataRiskLevelScore

The score.

getScoreValue()

public int getScoreValue()

The score applied to the resource.

.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for score.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 DataRiskLevel.Builder newBuilderForType()
Returns
TypeDescription
DataRiskLevel.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public DataRiskLevel.Builder toBuilder()
Returns
TypeDescription
DataRiskLevel.Builder

writeTo(CodedOutputStream output)

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