Class ProjectDataProfile.Builder (3.47.0)

public static final class ProjectDataProfile.Builder extends GeneratedMessageV3.Builder<ProjectDataProfile.Builder> implements ProjectDataProfileOrBuilder

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

Protobuf type google.privacy.dlp.v2.ProjectDataProfile

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProjectDataProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProjectDataProfile.Builder
Overrides

build()

public ProjectDataProfile build()
Returns
Type Description
ProjectDataProfile

buildPartial()

public ProjectDataProfile buildPartial()
Returns
Type Description
ProjectDataProfile

clear()

public ProjectDataProfile.Builder clear()
Returns
Type Description
ProjectDataProfile.Builder
Overrides

clearDataRiskLevel()

public ProjectDataProfile.Builder clearDataRiskLevel()

The data risk level of this project.

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

Returns
Type Description
ProjectDataProfile.Builder

clearField(Descriptors.FieldDescriptor field)

public ProjectDataProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ProjectDataProfile.Builder
Overrides

clearName()

public ProjectDataProfile.Builder clearName()

The resource name of the profile.

string name = 1;

Returns
Type Description
ProjectDataProfile.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ProjectDataProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ProjectDataProfile.Builder
Overrides

clearProfileLastGenerated()

public ProjectDataProfile.Builder clearProfileLastGenerated()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Returns
Type Description
ProjectDataProfile.Builder

clearProfileStatus()

public ProjectDataProfile.Builder clearProfileStatus()

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

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

Returns
Type Description
ProjectDataProfile.Builder

clearProjectId()

public ProjectDataProfile.Builder clearProjectId()

Project ID that was profiled.

string project_id = 2;

Returns
Type Description
ProjectDataProfile.Builder

This builder for chaining.

clearSensitivityScore()

public ProjectDataProfile.Builder clearSensitivityScore()

The sensitivity score of this project.

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

Returns
Type Description
ProjectDataProfile.Builder

clone()

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

getDataRiskLevelBuilder()

public DataRiskLevel.Builder getDataRiskLevelBuilder()

The data risk level of this project.

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

Returns
Type Description
DataRiskLevel.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getProfileLastGenerated()

public Timestamp getProfileLastGenerated()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Returns
Type Description
Timestamp

The profileLastGenerated.

getProfileLastGeneratedBuilder()

public Timestamp.Builder getProfileLastGeneratedBuilder()

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Returns
Type Description
Builder

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()</