Class ProjectDataProfile (3.45.0)

public final class ProjectDataProfile extends GeneratedMessageV3 implements ProjectDataProfileOrBuilder

An aggregated profile for this project, based on the resources profiled within it.

Protobuf type google.privacy.dlp.v2.ProjectDataProfile

Static Fields

DATA_RISK_LEVEL_FIELD_NUMBER

public static final int DATA_RISK_LEVEL_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PROFILE_LAST_GENERATED_FIELD_NUMBER

public static final int PROFILE_LAST_GENERATED_FIELD_NUMBER
Field Value
TypeDescription
int

PROFILE_STATUS_FIELD_NUMBER

public static final int PROFILE_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_ID_FIELD_NUMBER

public static final int PROJECT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

SENSITIVITY_SCORE_FIELD_NUMBER

public static final int SENSITIVITY_SCORE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProjectDataProfile getDefaultInstance()
Returns
TypeDescription
ProjectDataProfile

getDescriptor()

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

newBuilder()

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

newBuilder(ProjectDataProfile prototype)

public static ProjectDataProfile.Builder newBuilder(ProjectDataProfile prototype)
Parameter
NameDescription
prototypeProjectDataProfile
Returns
TypeDescription
ProjectDataProfile.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDataRiskLevel()

public DataRiskLevel getDataRiskLevel()

The data risk level of this project.

.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5;

Returns
TypeDescription
DataRiskLevel

The dataRiskLevel.

getDataRiskLevelOrBuilder()

public DataRiskLevelOrBuilder getDataRiskLevelOrBuilder()

The data risk level of this project.

.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5;

Returns
TypeDescription
DataRiskLevelOrBuilder

getDefaultInstanceForType()

public ProjectDataProfile getDefaultInstanceForType()
Returns
TypeDescription
ProjectDataProfile

getName()

public String getName()

The resource name of the profile.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the profile.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getProfileLastGenerated()

public Timestamp getProfileLastGenerated()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Returns
TypeDescription
Timestamp

The profileLastGenerated.

getProfileLastGeneratedOrBuilder()

public TimestampOrBuilder getProfileLastGeneratedOrBuilder()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Returns
TypeDescription
TimestampOrBuilder

getProfileStatus()

public ProfileStatus getProfileStatus()

Success or error status of the last attempt to profile the project.

.google.privacy.dlp.v2.ProfileStatus profile_status = 7;

Returns
TypeDescription
ProfileStatus

The profileStatus.

getProfileStatusOrBuilder()

public ProfileStatusOrBuilder getProfileStatusOrBuilder()

Success or error status of the last attempt to profile the project.

.google.privacy.dlp.v2.ProfileStatus profile_status = 7;

Returns
TypeDescription
ProfileStatusOrBuilder

getProjectId()

public String getProjectId()

Project ID that was profiled.

string project_id = 2;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Project ID that was profiled.

string project_id = 2;

Returns
TypeDescription
ByteString

The bytes for projectId.

getSensitivityScore()

public SensitivityScore getSensitivityScore()

The sensitivity score of this project.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4;

Returns
TypeDescription
SensitivityScore

The sensitivityScore.

getSensitivityScoreOrBuilder()

public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()

The sensitivity score of this project.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4;

Returns
TypeDescription
SensitivityScoreOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasDataRiskLevel()

public boolean hasDataRiskLevel()

The data risk level of this project.

.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5;

Returns
TypeDescription
boolean

Whether the dataRiskLevel field is set.

hasProfileLastGenerated()

public boolean hasProfileLastGenerated()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Returns
TypeDescription
boolean

Whether the profileLastGenerated field is set.

hasProfileStatus()

public boolean hasProfileStatus()

Success or error status of the last attempt to profile the project.

.google.privacy.dlp.v2.ProfileStatus profile_status = 7;

Returns
TypeDescription
boolean

Whether the profileStatus field is set.

hasSensitivityScore()

public boolean hasSensitivityScore()

The sensitivity score of this project.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4;

Returns
TypeDescription
boolean

Whether the sensitivityScore field is set.

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 ProjectDataProfile.Builder newBuilderForType()
Returns
TypeDescription
ProjectDataProfile.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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