Class DataProfileAction (3.56.0)

public final class DataProfileAction extends GeneratedMessageV3 implements DataProfileActionOrBuilder

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

Protobuf type google.privacy.dlp.v2.DataProfileAction

Static Fields

EXPORT_DATA_FIELD_NUMBER

public static final int EXPORT_DATA_FIELD_NUMBER
Field Value
Type Description
int

PUBLISH_TO_CHRONICLE_FIELD_NUMBER

public static final int PUBLISH_TO_CHRONICLE_FIELD_NUMBER
Field Value
Type Description
int

PUBLISH_TO_SCC_FIELD_NUMBER

public static final int PUBLISH_TO_SCC_FIELD_NUMBER
Field Value
Type Description
int

PUB_SUB_NOTIFICATION_FIELD_NUMBER

public static final int PUB_SUB_NOTIFICATION_FIELD_NUMBER
Field Value
Type Description
int

TAG_RESOURCES_FIELD_NUMBER

public static final int TAG_RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataProfileAction getDefaultInstance()
Returns
Type Description
DataProfileAction

getDescriptor()

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

newBuilder()

public static DataProfileAction.Builder newBuilder()
Returns
Type Description
DataProfileAction.Builder

newBuilder(DataProfileAction prototype)

public static DataProfileAction.Builder newBuilder(DataProfileAction prototype)
Parameter
Name Description
prototype DataProfileAction
Returns
Type Description
DataProfileAction.Builder

parseDelimitedFrom(InputStream input)

public static DataProfileAction parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataProfileAction
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataProfileAction parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataProfileAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataProfileAction parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataProfileAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataProfileAction parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataProfileAction
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataProfileAction parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataProfileAction
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataProfileAction parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataProfileAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataProfileAction> parser()
Returns
Type Description
Parser<DataProfileAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActionCase()

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

getDefaultInstanceForType()

public DataProfileAction getDefaultInstanceForType()
Returns
Type Description
DataProfileAction

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.

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

getParserForType()

public Parser<DataProfileAction> getParserForType()
Returns
Type Description
Parser<DataProfileAction>
Overrides

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.

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.

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataProfileAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataProfileAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException