Class DataProfileAction.Builder (3.59.0)

public static final class DataProfileAction.Builder extends GeneratedMessageV3.Builder<DataProfileAction.Builder> implements DataProfileActionOrBuilder

A task to execute when a data profile has been generated.

Protobuf type google.privacy.dlp.v2.DataProfileAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataProfileAction build()
Returns
Type Description
DataProfileAction

buildPartial()

public DataProfileAction buildPartial()
Returns
Type Description
DataProfileAction

clear()

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

clearAction()

public DataProfileAction.Builder clearAction()
Returns
Type Description
DataProfileAction.Builder

clearExportData()

public DataProfileAction.Builder clearExportData()

Export data profiles into a provided location.

.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;

Returns
Type Description
DataProfileAction.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPubSubNotification()

public DataProfileAction.Builder clearPubSubNotification()

Publish a message into the Pub/Sub topic.

.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;

Returns
Type Description
DataProfileAction.Builder

clearPublishToChronicle()

public DataProfileAction.Builder clearPublishToChronicle()

Publishes generated data profiles to Google Security Operations. For more information, see Use Sensitive Data Protection data in context-aware analytics.

.google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;

Returns
Type Description
DataProfileAction.Builder

clearPublishToScc()

public DataProfileAction.Builder clearPublishToScc()

Publishes findings to SCC for each data profile.

.google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;

Returns
Type Description
DataProfileAction.Builder

clearTagResources()

public DataProfileAction.Builder clearTagResources()

Tags the profiled resources with the specified tag values.

.google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;

Returns
Type Description
DataProfileAction.Builder

clone()

public DataProfileAction.Builder clone()
Returns
Type Description
DataProfileAction.Builder
Overrides

getActionCase()

public DataProfileAction.ActionCase getActionCase()
Returns
Type Description
DataProfileAction.ActionCase

getDefaultInstanceForType()

public DataProfileAction getDefaultInstanceForType()
Returns
Type Description
DataProfileAction

getDescriptorForType()

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

getExportData()

public DataProfileAction.Export getExportData()

Export data profiles into a provided location.

.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;

Returns
Type Description
DataProfileAction.Export

The exportData.

getExportDataBuilder()

public DataProfileAction.Export.Builder getExportDataBuilder()

Export data profiles into a provided location.

.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;

Returns
Type Description
DataProfileAction.Export.Builder

getExportDataOrBuilder()

public DataProfileAction.ExportOrBuilder getExportDataOrBuilder()

Export data profiles into a provided location.

.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;

Returns
Type Description
DataProfileAction.ExportOrBuilder

getPubSubNotification()

public DataProfileAction.PubSubNotification getPubSubNotification()

Publish a message into the Pub/Sub topic.

.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;

Returns
Type Description
DataProfileAction.PubSubNotification

The pubSubNotification.

getPubSubNotificationBuilder()

public DataProfileAction.PubSubNotification.Builder getPubSubNotificationBuilder()

Publish a message into the Pub/Sub topic.

.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;

Returns
Type Description
DataProfileAction.PubSubNotification.Builder

getPubSubNotificationOrBuilder()

public DataProfileAction.PubSubNotificationOrBuilder getPubSubNotificationOrBuilder()

Publish a message into the Pub/Sub topic.

.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;

Returns
Type Description
DataProfileAction.PubSubNotificationOrBuilder

getPublishToChronicle()

public DataProfileAction.PublishToChronicle getPublishToChronicle()

Publishes generated data profiles to Google Security Operations. For more information, see Use Sensitive Data Protection data in context-aware analytics.

.google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;

Returns
Type Description
DataProfileAction.PublishToChronicle

The publishToChronicle.

getPublishToChronicleBuilder()

public DataProfileAction.PublishToChronicle.Builder getPublishToChronicleBuilder()

Publishes generated data profiles to Google Security Operations. For more information, see Use Sensitive Data Protection data in context-aware analytics.

.google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;

Returns
Type Description
DataProfileAction.PublishToChronicle.Builder

getPublishToChronicleOrBuilder()

public DataProfileAction.PublishToChronicleOrBuilder getPublishToChronicleOrBuilder()

Publishes generated data profiles to Google Security Operations. For more information, see Use Sensitive Data Protection data in context-aware analytics.

.google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;

Returns
Type Description
DataProfileAction.PublishToChronicleOrBuilder

getPublishToScc()

public DataProfileAction.PublishToSecurityCommandCenter getPublishToScc()

Publishes findings to SCC for each data profile.

.google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;

Returns
Type Description
DataProfileAction.PublishToSecurityCommandCenter

The publishToScc.

getPublishToSccBuilder()

public DataProfileAction.PublishToSecurityCommandCenter.Builder getPublishToSccBuilder()

Publishes findings to SCC for each data profile.

.google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;

Returns
Type Description
DataProfileAction.PublishToSecurityCommandCenter.Builder

getPublishToSccOrBuilder()

public DataProfileAction.PublishToSecurityCommandCenterOrBuilder getPublishToSccOrBuilder()

Publishes findings to SCC for each data profile.

.google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;

Returns
Type Description
DataProfileAction.PublishToSecurityCommandCenterOrBuilder

getTagResources()

public DataProfileAction.TagResources getTagResources()

Tags the profiled resources with the specified tag values.

.google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;

Returns
Type Description
DataProfileAction.TagResources

The tagResources.

getTagResourcesBuilder()

public DataProfileAction.TagResources.Builder getTagResourcesBuilder()

Tags the profiled resources with the specified tag values.

.google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;

Returns
Type Description
DataProfileAction.TagResources.Builder

getTagResourcesOrBuilder()

public DataProfileAction.TagResourcesOrBuilder getTagResourcesOrBuilder()

Tags the profiled resources with the specified tag values.

.google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;

Returns
Type Description
DataProfileAction.TagResourcesOrBuilder

hasExportData()

public boolean hasExportData()

Export data profiles into a provided location.

.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;

Returns
Type Description
boolean

Whether the exportData field is set.

hasPubSubNotification()

public boolean hasPubSubNotification()

Publish a message into the Pub/Sub topic.

.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;

Returns
Type Description
boolean

Whether the pubSubNotification field is set.

hasPublishToChronicle()

public boolean hasPublishToChronicle()

Publishes generated data profiles to Google Security Operations. For more information, see Use Sensitive Data Protection data in context-aware analytics.

.google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;

Returns
Type Description
boolean

Whether the publishToChronicle field is set.

hasPublishToScc()

public boolean hasPublishToScc()

Publishes findings to SCC for each data profile.

.google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;

Returns
Type Description
boolean

Whether the publishToScc field is set.

hasTagResources()

public boolean hasTagResources()

Tags the profiled resources with the specified tag values.

.google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;

Returns
Type Description
boolean

Whether the tagResources field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExportData(DataProfileAction.Export value)

public DataProfileAction.Builder mergeExportData(DataProfileAction.Export value)

Export data profiles into a provided location.

.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;

Parameter
Name Description
value DataProfileAction.Export
Returns
Type Description
DataProfileAction.Builder

mergeFrom(DataProfileAction other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePubSubNotification(DataProfileAction.PubSubNotification value)

public DataProfileAction.Builder mergePubSubNotification(DataProfileAction.PubSubNotification value)

Publish a message into the Pub/Sub topic.

.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;

Parameter
Name Description
value DataProfileAction.PubSubNotification
Returns
Type Description
DataProfileAction.Builder

mergePublishToChronicle(DataProfileAction.PublishToChronicle value)

public DataProfileAction.Builder mergePublishToChronicle(DataProfileAction.PublishToChronicle value)

Publishes generated data profiles to Google Security Operations. For more information, see Use Sensitive Data Protection data in context-aware analytics.

.google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;

Parameter
Name Description
value DataProfileAction.PublishToChronicle
Returns
Type Description
DataProfileAction.Builder

mergePublishToScc(DataProfileAction.PublishToSecurityCommandCenter value)

public DataProfileAction.Builder mergePublishToScc(DataProfileAction.PublishToSecurityCommandCenter value)

Publishes findings to SCC for each data profile.

.google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;

Parameter
Name Description
value DataProfileAction.PublishToSecurityCommandCenter
Returns
Type Description
DataProfileAction.Builder

mergeTagResources(DataProfileAction.TagResources value)

public DataProfileAction.Builder mergeTagResources(DataProfileAction.TagResources value)

Tags the profiled resources with the specified tag values.

.google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;

Parameter
Name Description
value DataProfileAction.TagResources
Returns
Type Description
DataProfileAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setExportData(DataProfileAction.Export value)

public DataProfileAction.Builder setExportData(DataProfileAction.Export value)

Export data profiles into a provided location.

.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;

Parameter
Name Description
value DataProfileAction.Export
Returns
Type Description
DataProfileAction.Builder

setExportData(DataProfileAction.Export.Builder builderForValue)

public DataProfileAction.Builder setExportData(DataProfileAction.Export.Builder builderForValue)

Export data profiles into a provided location.

.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;

Parameter
Name Description
builderForValue DataProfileAction.Export.Builder
Returns
Type Description
DataProfileAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPubSubNotification(DataProfileAction.PubSubNotification value)

public DataProfileAction.Builder setPubSubNotification(DataProfileAction.PubSubNotification value)

Publish a message into the Pub/Sub topic.

.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;

Parameter
Name Description
value DataProfileAction.PubSubNotification
Returns
Type Description
DataProfileAction.Builder

setPubSubNotification(DataProfileAction.PubSubNotification.Builder builderForValue)

public DataProfileAction.Builder setPubSubNotification(DataProfileAction.PubSubNotification.Builder builderForValue)

Publish a message into the Pub/Sub topic.

.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;

Parameter
Name Description
builderForValue DataProfileAction.PubSubNotification.Builder
Returns
Type Description
DataProfileAction.Builder

setPublishToChronicle(DataProfileAction.PublishToChronicle value)

public DataProfileAction.Builder setPublishToChronicle(DataProfileAction.PublishToChronicle value)

Publishes generated data profiles to Google Security Operations. For more information, see Use Sensitive Data Protection data in context-aware analytics.

.google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;

Parameter
Name Description
value DataProfileAction.PublishToChronicle
Returns
Type Description
DataProfileAction.Builder

setPublishToChronicle(DataProfileAction.PublishToChronicle.Builder builderForValue)

public DataProfileAction.Builder setPublishToChronicle(DataProfileAction.PublishToChronicle.Builder builderForValue)

Publishes generated data profiles to Google Security Operations. For more information, see Use Sensitive Data Protection data in context-aware analytics.

.google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;

Parameter
Name Description
builderForValue DataProfileAction.PublishToChronicle.Builder
Returns
Type Description
DataProfileAction.Builder

setPublishToScc(DataProfileAction.PublishToSecurityCommandCenter value)

public DataProfileAction.Builder setPublishToScc(DataProfileAction.PublishToSecurityCommandCenter value)

Publishes findings to SCC for each data profile.

.google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;

Parameter
Name Description
value DataProfileAction.PublishToSecurityCommandCenter
Returns
Type Description
DataProfileAction.Builder

setPublishToScc(DataProfileAction.PublishToSecurityCommandCenter.Builder builderForValue)

public DataProfileAction.Builder setPublishToScc(DataProfileAction.PublishToSecurityCommandCenter.Builder builderForValue)

Publishes findings to SCC for each data profile.

.google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;

Parameter
Name Description
builderForValue DataProfileAction.PublishToSecurityCommandCenter.Builder
Returns
Type Description
DataProfileAction.Builder

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

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

setTagResources(DataProfileAction.TagResources value)

public DataProfileAction.Builder setTagResources(DataProfileAction.TagResources value)

Tags the profiled resources with the specified tag values.

.google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;

Parameter
Name Description
value DataProfileAction.TagResources
Returns
Type Description
DataProfileAction.Builder

setTagResources(DataProfileAction.TagResources.Builder builderForValue)

public DataProfileAction.Builder setTagResources(DataProfileAction.TagResources.Builder builderForValue)

Tags the profiled resources with the specified tag values.

.google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;

Parameter
Name Description
builderForValue DataProfileAction.TagResources.Builder
Returns
Type Description
DataProfileAction.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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