Class ProjectDataProfile.Builder (3.58.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

clearFileStoreDataProfileCount()

public ProjectDataProfile.Builder clearFileStoreDataProfileCount()

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

int64 file_store_data_profile_count = 10;

Returns
Type Description
ProjectDataProfile.Builder

This builder for chaining.

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 or account 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

clearTableDataProfileCount()

public ProjectDataProfile.Builder clearTableDataProfileCount()

The number of table data profiles generated for this project.

int64 table_data_profile_count = 9;

Returns
Type Description
ProjectDataProfile.Builder

This builder for chaining.

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

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.

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

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.

getProfileStatusBuilder()

public ProfileStatus.Builder getProfileStatusBuilder()

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

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

Returns
Type Description
ProfileStatus.Builder

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.

getSensitivityScoreBuilder()

public SensitivityScore.Builder getSensitivityScoreBuilder()

The sensitivity score of this project.

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

Returns
Type Description
SensitivityScore.Builder

getSensitivityScoreOrBuilder()

public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()

The sensitivity score of this project.

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

Returns
Type Description
SensitivityScoreOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataRiskLevel(DataRiskLevel value)

public ProjectDataProfile.Builder mergeDataRiskLevel(DataRiskLevel value)

The data risk level of this project.

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

Parameter
Name Description
value DataRiskLevel
Returns
Type Description
ProjectDataProfile.Builder

mergeFrom(ProjectDataProfile other)

public ProjectDataProfile.Builder mergeFrom(ProjectDataProfile other)
Parameter
Name Description
other ProjectDataProfile
Returns
Type Description
ProjectDataProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProjectDataProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProjectDataProfile.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProjectDataProfile.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProjectDataProfile.Builder
Overrides

mergeProfileLastGenerated(Timestamp value)

public ProjectDataProfile.Builder mergeProfileLastGenerated(Timestamp value)

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
ProjectDataProfile.Builder

mergeProfileStatus(ProfileStatus value)

public ProjectDataProfile.Builder mergeProfileStatus(ProfileStatus value)

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

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

Parameter
Name Description
value ProfileStatus
Returns
Type Description
ProjectDataProfile.Builder

mergeSensitivityScore(SensitivityScore value)

public ProjectDataProfile.Builder mergeSensitivityScore(SensitivityScore value)

The sensitivity score of this project.

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

Parameter
Name Description
value SensitivityScore
Returns
Type Description
ProjectDataProfile.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProjectDataProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProjectDataProfile.Builder
Overrides

setDataRiskLevel(DataRiskLevel value)

public ProjectDataProfile.Builder setDataRiskLevel(DataRiskLevel value)

The data risk level of this project.

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

Parameter
Name Description
value DataRiskLevel
Returns
Type Description
ProjectDataProfile.Builder

setDataRiskLevel(DataRiskLevel.Builder builderForValue)

public ProjectDataProfile.Builder setDataRiskLevel(DataRiskLevel.Builder builderForValue)

The data risk level of this project.

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

Parameter
Name Description
builderForValue DataRiskLevel.Builder
Returns
Type Description
ProjectDataProfile.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFileStoreDataProfileCount(long value)

public ProjectDataProfile.Builder setFileStoreDataProfileCount(long value)

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

int64 file_store_data_profile_count = 10;

Parameter
Name Description
value long

The fileStoreDataProfileCount to set.

Returns
Type Description
ProjectDataProfile.Builder

This builder for chaining.

setName(String value)

public ProjectDataProfile.Builder setName(String value)

The resource name of the profile.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ProjectDataProfile.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ProjectDataProfile.Builder setNameBytes(ByteString value)

The resource name of the profile.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ProjectDataProfile.Builder

This builder for chaining.

setProfileLastGenerated(Timestamp value)

public ProjectDataProfile.Builder setProfileLastGenerated(Timestamp value)

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
ProjectDataProfile.Builder

setProfileLastGenerated(Timestamp.Builder builderForValue)

public ProjectDataProfile.Builder setProfileLastGenerated(Timestamp.Builder builderForValue)

The last time the profile was generated.

.google.protobuf.Timestamp profile_last_generated = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ProjectDataProfile.Builder

setProfileStatus(ProfileStatus value)

public ProjectDataProfile.Builder setProfileStatus(ProfileStatus value)

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

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

Parameter
Name Description
value ProfileStatus
Returns
Type Description
ProjectDataProfile.Builder

setProfileStatus(ProfileStatus.Builder builderForValue)

public ProjectDataProfile.Builder setProfileStatus(ProfileStatus.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ProfileStatus.Builder
Returns
Type Description
ProjectDataProfile.Builder

setProjectId(String value)

public ProjectDataProfile.Builder setProjectId(String value)

Project ID or account that was profiled.

string project_id = 2;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
ProjectDataProfile.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public ProjectDataProfile.Builder setProjectIdBytes(ByteString value)

Project ID or account that was profiled.

string project_id = 2;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
ProjectDataProfile.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

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

setSensitivityScore(SensitivityScore value)

public ProjectDataProfile.Builder setSensitivityScore(SensitivityScore value)

The sensitivity score of this project.

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

Parameter
Name Description
value SensitivityScore
Returns
Type Description
ProjectDataProfile.Builder

setSensitivityScore(SensitivityScore.Builder builderForValue)

public ProjectDataProfile.Builder setSensitivityScore(SensitivityScore.Builder builderForValue)

The sensitivity score of this project.

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

Parameter
Name Description
builderForValue SensitivityScore.Builder
Returns
Type Description
ProjectDataProfile.Builder

setTableDataProfileCount(long value)

public ProjectDataProfile.Builder setTableDataProfileCount(long value)

The number of table data profiles generated for this project.

int64 table_data_profile_count = 9;

Parameter
Name Description
value long

The tableDataProfileCount to set.

Returns
Type Description
ProjectDataProfile.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ProjectDataProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProjectDataProfile.Builder
Overrides