Class CloudDlpDataProfile.Builder (2.96.0)

public static final class CloudDlpDataProfile.Builder extends GeneratedMessage.Builder<CloudDlpDataProfile.Builder> implements CloudDlpDataProfileOrBuilder

The data profile associated with the finding.

Protobuf type google.cloud.securitycenter.v1.CloudDlpDataProfile

Static Methods

getDescriptor()

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

Methods

addAllInfoTypes(Iterable<? extends InfoType> values)

public CloudDlpDataProfile.Builder addAllInfoTypes(Iterable<? extends InfoType> values)

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.InfoType>
Returns
Type Description
CloudDlpDataProfile.Builder

addInfoTypes(InfoType value)

public CloudDlpDataProfile.Builder addInfoTypes(InfoType value)

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Parameter
Name Description
value InfoType
Returns
Type Description
CloudDlpDataProfile.Builder

addInfoTypes(InfoType.Builder builderForValue)

public CloudDlpDataProfile.Builder addInfoTypes(InfoType.Builder builderForValue)

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Parameter
Name Description
builderForValue InfoType.Builder
Returns
Type Description
CloudDlpDataProfile.Builder

addInfoTypes(int index, InfoType value)

public CloudDlpDataProfile.Builder addInfoTypes(int index, InfoType value)

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Parameters
Name Description
index int
value InfoType
Returns
Type Description
CloudDlpDataProfile.Builder

addInfoTypes(int index, InfoType.Builder builderForValue)

public CloudDlpDataProfile.Builder addInfoTypes(int index, InfoType.Builder builderForValue)

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Parameters
Name Description
index int
builderForValue InfoType.Builder
Returns
Type Description
CloudDlpDataProfile.Builder

addInfoTypesBuilder()

public InfoType.Builder addInfoTypesBuilder()

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Returns
Type Description
InfoType.Builder

addInfoTypesBuilder(int index)

public InfoType.Builder addInfoTypesBuilder(int index)

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Parameter
Name Description
index int
Returns
Type Description
InfoType.Builder

build()

public CloudDlpDataProfile build()
Returns
Type Description
CloudDlpDataProfile

buildPartial()

public CloudDlpDataProfile buildPartial()
Returns
Type Description
CloudDlpDataProfile

clear()

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

clearDataProfile()

public CloudDlpDataProfile.Builder clearDataProfile()

Name of the data profile, for example, projects/123/locations/europe/tableProfiles/8383929.

string data_profile = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
CloudDlpDataProfile.Builder

This builder for chaining.

clearInfoTypes()

public CloudDlpDataProfile.Builder clearInfoTypes()

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Returns
Type Description
CloudDlpDataProfile.Builder

clearParentType()

public CloudDlpDataProfile.Builder clearParentType()

The resource hierarchy level at which the data profile was generated.

.google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;

Returns
Type Description
CloudDlpDataProfile.Builder

This builder for chaining.

getDataProfile()

public String getDataProfile()

Name of the data profile, for example, projects/123/locations/europe/tableProfiles/8383929.

string data_profile = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The dataProfile.

getDataProfileBytes()

public ByteString getDataProfileBytes()

Name of the data profile, for example, projects/123/locations/europe/tableProfiles/8383929.

string data_profile = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for dataProfile.

getDefaultInstanceForType()

public CloudDlpDataProfile getDefaultInstanceForType()
Returns
Type Description
CloudDlpDataProfile

getDescriptorForType()

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

getInfoTypes(int index)

public InfoType getInfoTypes(int index)

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Parameter
Name Description
index int
Returns
Type Description
InfoType

getInfoTypesBuilder(int index)

public InfoType.Builder getInfoTypesBuilder(int index)

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Parameter
Name Description
index int
Returns
Type Description
InfoType.Builder

getInfoTypesBuilderList()

public List<InfoType.Builder> getInfoTypesBuilderList()

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Returns
Type Description
List<Builder>

getInfoTypesCount()

public int getInfoTypesCount()

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Returns
Type Description
int

getInfoTypesList()

public List<InfoType> getInfoTypesList()

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Returns
Type Description
List<InfoType>

getInfoTypesOrBuilder(int index)

public InfoTypeOrBuilder getInfoTypesOrBuilder(int index)

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeOrBuilder

getInfoTypesOrBuilderList()

public List<? extends InfoTypeOrBuilder> getInfoTypesOrBuilderList()

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1.InfoTypeOrBuilder>

getParentType()

public CloudDlpDataProfile.ParentType getParentType()

The resource hierarchy level at which the data profile was generated.

.google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;

Returns
Type Description
CloudDlpDataProfile.ParentType

The parentType.

getParentTypeValue()

public int getParentTypeValue()

The resource hierarchy level at which the data profile was generated.

.google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for parentType.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudDlpDataProfile other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeInfoTypes(int index)

public CloudDlpDataProfile.Builder removeInfoTypes(int index)

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Parameter
Name Description
index int
Returns
Type Description
CloudDlpDataProfile.Builder

setDataProfile(String value)

public CloudDlpDataProfile.Builder setDataProfile(String value)

Name of the data profile, for example, projects/123/locations/europe/tableProfiles/8383929.

string data_profile = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The dataProfile to set.

Returns
Type Description
CloudDlpDataProfile.Builder

This builder for chaining.

setDataProfileBytes(ByteString value)

public CloudDlpDataProfile.Builder setDataProfileBytes(ByteString value)

Name of the data profile, for example, projects/123/locations/europe/tableProfiles/8383929.

string data_profile = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for dataProfile to set.

Returns
Type Description
CloudDlpDataProfile.Builder

This builder for chaining.

setInfoTypes(int index, InfoType value)

public CloudDlpDataProfile.Builder setInfoTypes(int index, InfoType value)

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Parameters
Name Description
index int
value InfoType
Returns
Type Description
CloudDlpDataProfile.Builder

setInfoTypes(int index, InfoType.Builder builderForValue)

public CloudDlpDataProfile.Builder setInfoTypes(int index, InfoType.Builder builderForValue)

Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.

repeated .google.cloud.securitycenter.v1.InfoType info_types = 3;

Parameters
Name Description
index int
builderForValue InfoType.Builder
Returns
Type Description
CloudDlpDataProfile.Builder

setParentType(CloudDlpDataProfile.ParentType value)

public CloudDlpDataProfile.Builder setParentType(CloudDlpDataProfile.ParentType value)

The resource hierarchy level at which the data profile was generated.

.google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;

Parameter
Name Description
value CloudDlpDataProfile.ParentType

The parentType to set.

Returns
Type Description
CloudDlpDataProfile.Builder

This builder for chaining.

setParentTypeValue(int value)

public CloudDlpDataProfile.Builder setParentTypeValue(int value)

The resource hierarchy level at which the data profile was generated.

.google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for parentType to set.

Returns
Type Description
CloudDlpDataProfile.Builder

This builder for chaining.