Package com.google.privacy.dlp.v2
Class ProjectDataProfile.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ProjectDataProfile.Builder>
com.google.privacy.dlp.v2.ProjectDataProfile.Builder
- All Implemented Interfaces:
ProjectDataProfileOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ProjectDataProfile
public static final class ProjectDataProfile.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The data risk level of this project.The number of file store data profiles generated for this project.The resource name of the profile.The last time the profile was generated.Success or error status of the last attempt to profile the project.Project ID or account that was profiled.The sensitivity score of this project.The number of table data profiles generated for this project.The data risk level of this project.The data risk level of this project.The data risk level of this project.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongThe number of file store data profiles generated for this project.getName()The resource name of the profile.com.google.protobuf.ByteStringThe resource name of the profile.com.google.protobuf.TimestampThe last time the profile was generated.com.google.protobuf.Timestamp.BuilderThe last time the profile was generated.com.google.protobuf.TimestampOrBuilderThe last time the profile was generated.Success or error status of the last attempt to profile the project.Success or error status of the last attempt to profile the project.Success or error status of the last attempt to profile the project.Project ID or account that was profiled.com.google.protobuf.ByteStringProject ID or account that was profiled.The sensitivity score of this project.The sensitivity score of this project.The sensitivity score of this project.longThe number of table data profiles generated for this project.booleanThe data risk level of this project.booleanThe last time the profile was generated.booleanSuccess or error status of the last attempt to profile the project.booleanThe sensitivity score of this project.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDataRiskLevel(DataRiskLevel value) The data risk level of this project.mergeFrom(ProjectDataProfile other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeProfileLastGenerated(com.google.protobuf.Timestamp value) The last time the profile was generated.mergeProfileStatus(ProfileStatus value) Success or error status of the last attempt to profile the project.The sensitivity score of this project.setDataRiskLevel(DataRiskLevel value) The data risk level of this project.setDataRiskLevel(DataRiskLevel.Builder builderForValue) The data risk level of this project.setFileStoreDataProfileCount(long value) The number of file store data profiles generated for this project.The resource name of the profile.setNameBytes(com.google.protobuf.ByteString value) The resource name of the profile.setProfileLastGenerated(com.google.protobuf.Timestamp value) The last time the profile was generated.setProfileLastGenerated(com.google.protobuf.Timestamp.Builder builderForValue) The last time the profile was generated.setProfileStatus(ProfileStatus value) Success or error status of the last attempt to profile the project.setProfileStatus(ProfileStatus.Builder builderForValue) Success or error status of the last attempt to profile the project.setProjectId(String value) Project ID or account that was profiled.setProjectIdBytes(com.google.protobuf.ByteString value) Project ID or account that was profiled.The sensitivity score of this project.setSensitivityScore(SensitivityScore.Builder builderForValue) The sensitivity score of this project.setTableDataProfileCount(long value) The number of table data profiles generated for this project.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ProjectDataProfile.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ProjectDataProfile.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ProjectDataProfile.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProjectDataProfile.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ProjectDataProfile.Builder>
-
mergeFrom
public ProjectDataProfile.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProjectDataProfile.Builder>- Throws:
IOException
-
getName
The resource name of the profile.
string name = 1;- Specified by:
getNamein interfaceProjectDataProfileOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The resource name of the profile.
string name = 1;- Specified by:
getNameBytesin interfaceProjectDataProfileOrBuilder- Returns:
- The bytes for name.
-
setName
The resource name of the profile.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The resource name of the profile.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The resource name of the profile.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getProjectId
Project ID or account that was profiled.
string project_id = 2;- Specified by:
getProjectIdin interfaceProjectDataProfileOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()Project ID or account that was profiled.
string project_id = 2;- Specified by:
getProjectIdBytesin interfaceProjectDataProfileOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
Project ID or account that was profiled.
string project_id = 2;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
Project ID or account that was profiled.
string project_id = 2;- Returns:
- This builder for chaining.
-
setProjectIdBytes
Project ID or account that was profiled.
string project_id = 2;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
hasProfileLastGenerated
public boolean hasProfileLastGenerated()The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3;- Specified by:
hasProfileLastGeneratedin interfaceProjectDataProfileOrBuilder- Returns:
- Whether the profileLastGenerated field is set.
-
getProfileLastGenerated
public com.google.protobuf.Timestamp getProfileLastGenerated()The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3;- Specified by:
getProfileLastGeneratedin interfaceProjectDataProfileOrBuilder- Returns:
- The profileLastGenerated.
-
setProfileLastGenerated
The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3; -
setProfileLastGenerated
public ProjectDataProfile.Builder setProfileLastGenerated(com.google.protobuf.Timestamp.Builder builderForValue) The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3; -
mergeProfileLastGenerated
The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3; -
clearProfileLastGenerated
The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3; -
getProfileLastGeneratedBuilder
public com.google.protobuf.Timestamp.Builder getProfileLastGeneratedBuilder()The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3; -
getProfileLastGeneratedOrBuilder
public com.google.protobuf.TimestampOrBuilder getProfileLastGeneratedOrBuilder()The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 3;- Specified by:
getProfileLastGeneratedOrBuilderin interfaceProjectDataProfileOrBuilder
-
hasSensitivityScore
public boolean hasSensitivityScore()The sensitivity score of this project.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4;- Specified by:
hasSensitivityScorein interfaceProjectDataProfileOrBuilder- Returns:
- Whether the sensitivityScore field is set.
-
getSensitivityScore
The sensitivity score of this project.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4;- Specified by:
getSensitivityScorein interfaceProjectDataProfileOrBuilder- Returns:
- The sensitivityScore.
-
setSensitivityScore
The sensitivity score of this project.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4; -
setSensitivityScore
The sensitivity score of this project.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4; -
mergeSensitivityScore
The sensitivity score of this project.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4; -
clearSensitivityScore
The sensitivity score of this project.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4; -
getSensitivityScoreBuilder
The sensitivity score of this project.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4; -
getSensitivityScoreOrBuilder
The sensitivity score of this project.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 4;- Specified by:
getSensitivityScoreOrBuilderin interfaceProjectDataProfileOrBuilder
-
hasDataRiskLevel
public boolean hasDataRiskLevel()The data risk level of this project.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5;- Specified by:
hasDataRiskLevelin interfaceProjectDataProfileOrBuilder- Returns:
- Whether the dataRiskLevel field is set.
-
getDataRiskLevel
The data risk level of this project.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5;- Specified by:
getDataRiskLevelin interfaceProjectDataProfileOrBuilder- Returns:
- The dataRiskLevel.
-
setDataRiskLevel
The data risk level of this project.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5; -
setDataRiskLevel
The data risk level of this project.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5; -
mergeDataRiskLevel
The data risk level of this project.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5; -
clearDataRiskLevel
The data risk level of this project.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5; -
getDataRiskLevelBuilder
The data risk level of this project.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5; -
getDataRiskLevelOrBuilder
The data risk level of this project.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 5;- Specified by:
getDataRiskLevelOrBuilderin interfaceProjectDataProfileOrBuilder
-
hasProfileStatus
public boolean hasProfileStatus()Success or error status of the last attempt to profile the project.
.google.privacy.dlp.v2.ProfileStatus profile_status = 7;- Specified by:
hasProfileStatusin interfaceProjectDataProfileOrBuilder- Returns:
- Whether the profileStatus field is set.
-
getProfileStatus
Success or error status of the last attempt to profile the project.
.google.privacy.dlp.v2.ProfileStatus profile_status = 7;- Specified by:
getProfileStatusin interfaceProjectDataProfileOrBuilder- Returns:
- The profileStatus.
-
setProfileStatus
Success or error status of the last attempt to profile the project.
.google.privacy.dlp.v2.ProfileStatus profile_status = 7; -
setProfileStatus
Success or error status of the last attempt to profile the project.
.google.privacy.dlp.v2.ProfileStatus profile_status = 7; -
mergeProfileStatus
Success or error status of the last attempt to profile the project.
.google.privacy.dlp.v2.ProfileStatus profile_status = 7; -
clearProfileStatus
Success or error status of the last attempt to profile the project.
.google.privacy.dlp.v2.ProfileStatus profile_status = 7; -
getProfileStatusBuilder
Success or error status of the last attempt to profile the project.
.google.privacy.dlp.v2.ProfileStatus profile_status = 7; -
getProfileStatusOrBuilder
Success or error status of the last attempt to profile the project.
.google.privacy.dlp.v2.ProfileStatus profile_status = 7;- Specified by:
getProfileStatusOrBuilderin interfaceProjectDataProfileOrBuilder
-
getTableDataProfileCount
public long getTableDataProfileCount()The number of table data profiles generated for this project.
int64 table_data_profile_count = 9;- Specified by:
getTableDataProfileCountin interfaceProjectDataProfileOrBuilder- Returns:
- The tableDataProfileCount.
-
setTableDataProfileCount
The number of table data profiles generated for this project.
int64 table_data_profile_count = 9;- Parameters:
value- The tableDataProfileCount to set.- Returns:
- This builder for chaining.
-
clearTableDataProfileCount
The number of table data profiles generated for this project.
int64 table_data_profile_count = 9;- Returns:
- This builder for chaining.
-
getFileStoreDataProfileCount
public long getFileStoreDataProfileCount()The number of file store data profiles generated for this project.
int64 file_store_data_profile_count = 10;- Specified by:
getFileStoreDataProfileCountin interfaceProjectDataProfileOrBuilder- Returns:
- The fileStoreDataProfileCount.
-
setFileStoreDataProfileCount
The number of file store data profiles generated for this project.
int64 file_store_data_profile_count = 10;- Parameters:
value- The fileStoreDataProfileCount to set.- Returns:
- This builder for chaining.
-
clearFileStoreDataProfileCount
The number of file store data profiles generated for this project.
int64 file_store_data_profile_count = 10;- Returns:
- This builder for chaining.
-