Class ProjectDataProfile (3.58.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
Type Description
int

FILE_STORE_DATA_PROFILE_COUNT_FIELD_NUMBER

public static final int FILE_STORE_DATA_PROFILE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PROFILE_LAST_GENERATED_FIELD_NUMBER

public static final int PROFILE_LAST_GENERATED_FIELD_NUMBER
Field Value
Type Description
int

PROFILE_STATUS_FIELD_NUMBER

public static final int PROFILE_STATUS_FIELD_NUMBER
Field Value
Type Description
int

PROJECT_ID_FIELD_NUMBER

public static final int PROJECT_ID_FIELD_NUMBER
Field Value
Type Description
int

SENSITIVITY_SCORE_FIELD_NUMBER

public static final int SENSITIVITY_SCORE_FIELD_NUMBER
Field Value
Type Description
int

TABLE_DATA_PROFILE_COUNT_FIELD_NUMBER

public static final int TABLE_DATA_PROFILE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProjectDataProfile getDefaultInstance()
Returns
Type Description
ProjectDataProfile

getDescriptor()

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

newBuilder()

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

newBuilder(ProjectDataProfile prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDataRiskLevel()

public DataRiskLevel getDataRiskLevel()

The data risk level of this project.

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

Returns
Type Description
DataRiskLevel

The dataRiskLevel.

getDataRiskLevelOrBuilder()

public DataRiskLevelOrBuilder getDataRiskLevelOrBuilder()

The data risk level of this project.

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

Returns
Type Description
DataRiskLevelOrBuilder

getDefaultInstanceForType()

public ProjectDataProfile getDefaultInstanceForType()
Returns
Type Description
ProjectDataProfile

getFileStoreDataProfileCount()

public long getFileStoreDataProfileCount()

The number of file store data profiles generated for this project.

int64 file_store_data_profile_count = 10;

Returns
Type Description
long

The fileStoreDataProfileCount.

getName()

public String getName()

The resource name of the profile.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the profile.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getProfileLastGenerated()

public Timestamp getProfileLastGenerated()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Returns
Type Description
Timestamp

The profileLastGenerated.

getProfileLastGeneratedOrBuilder()

public TimestampOrBuilder getProfileLastGeneratedOrBuilder()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Returns
Type Description
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
Type Description
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
Type Description
ProfileStatusOrBuilder

getProjectId()

public String getProjectId()

Project ID or account that was profiled.

string project_id = 2;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Project ID or account that was profiled.

string project_id = 2;

Returns
Type Description
ByteString

The bytes for projectId.

getSensitivityScore()

public SensitivityScore getSensitivityScore()

The sensitivity score of this project.

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

Returns
Type Description
SensitivityScore

The sensitivityScore.

getSensitivityScoreOrBuilder()

public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()

The sensitivity score of this project.

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

Returns
Type Description
SensitivityScoreOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTableDataProfileCount()

public long getTableDataProfileCount()

The number of table data profiles generated for this project.

int64 table_data_profile_count = 9;

Returns
Type Description
long

The tableDataProfileCount.

hasDataRiskLevel()

public boolean hasDataRiskLevel()

The data risk level of this project.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the sensitivityScore field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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