Package com.google.privacy.dlp.v2
Class Action
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.Action
- All Implemented Interfaces:
ActionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Action
extends com.google.protobuf.GeneratedMessage
implements ActionOrBuilder
A task to execute on the completion of a job. See https://cloud.google.com/sensitive-data-protection/docs/concepts-actions to learn more.Protobuf type
google.privacy.dlp.v2.Action- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classA task to execute on the completion of a job.static final classCreate a de-identified copy of a storage bucket.static interfacestatic final classSends an email when the job completes.static interfacestatic final classPublish findings of a DlpJob to Data Catalog.static interfacestatic final classPublish findings of a DlpJob to Dataplex Universal Catalog as a `sensitive-data-protection-job-result` aspect.static interfacestatic final classPublish the result summary of a DlpJob to [Security Command Center](https://cloud.google.com/security-command-center).static interfacestatic final classPublish a message into a given Pub/Sub topic when DlpJob has completed.static interfacestatic final classEnable Stackdriver metric dlp.googleapis.com/finding_count.static interfacestatic final classIf set, the detailed findings will be persisted to the specified OutputStorageConfig.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ActionCreate a de-identified copy of the input data.Create a de-identified copy of the input data.static final com.google.protobuf.Descriptors.DescriptorSends an email when the job completes.Sends an email when the job completes.com.google.protobuf.Parser<Action>Deprecated.google.privacy.dlp.v2.Action.publish_findings_to_cloud_data_catalog is deprecated.Deprecated.Publish findings as an aspect to Dataplex Universal Catalog.Publish findings as an aspect to Dataplex Universal Catalog.Publish summary to Cloud Security Command Center (Alpha).Publish summary to Cloud Security Command Center (Alpha).Enable Stackdriver metric dlp.googleapis.com/finding_count.Enable Stackdriver metric dlp.googleapis.com/finding_count.Publish a notification to a Pub/Sub topic.Publish a notification to a Pub/Sub topic.Save resulting findings in a provided location.Save resulting findings in a provided location.intbooleanCreate a de-identified copy of the input data.inthashCode()booleanSends an email when the job completes.booleanDeprecated.google.privacy.dlp.v2.Action.publish_findings_to_cloud_data_catalog is deprecated.booleanPublish findings as an aspect to Dataplex Universal Catalog.booleanPublish summary to Cloud Security Command Center (Alpha).booleanEnable Stackdriver metric dlp.googleapis.com/finding_count.booleanPublish a notification to a Pub/Sub topic.booleanSave resulting findings in a provided location.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Action.Builderstatic Action.BuildernewBuilder(Action prototype) protected Action.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ActionparseDelimitedFrom(InputStream input) static ActionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActionparseFrom(byte[] data) static ActionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActionparseFrom(com.google.protobuf.ByteString data) static ActionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActionparseFrom(com.google.protobuf.CodedInputStream input) static ActionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActionparseFrom(InputStream input) static ActionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActionparseFrom(ByteBuffer data) static ActionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Action>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SAVE_FINDINGS_FIELD_NUMBER
public static final int SAVE_FINDINGS_FIELD_NUMBER- See Also:
-
PUB_SUB_FIELD_NUMBER
public static final int PUB_SUB_FIELD_NUMBER- See Also:
-
PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER
public static final int PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER- See Also:
-
PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG_FIELD_NUMBER
public static final int PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG_FIELD_NUMBER- See Also:
-
PUBLISH_FINDINGS_TO_DATAPLEX_CATALOG_FIELD_NUMBER
public static final int PUBLISH_FINDINGS_TO_DATAPLEX_CATALOG_FIELD_NUMBER- See Also:
-
DEIDENTIFY_FIELD_NUMBER
public static final int DEIDENTIFY_FIELD_NUMBER- See Also:
-
JOB_NOTIFICATION_EMAILS_FIELD_NUMBER
public static final int JOB_NOTIFICATION_EMAILS_FIELD_NUMBER- See Also:
-
PUBLISH_TO_STACKDRIVER_FIELD_NUMBER
public static final int PUBLISH_TO_STACKDRIVER_FIELD_NUMBER- See Also:
-
-
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
-
getActionCase
- Specified by:
getActionCasein interfaceActionOrBuilder
-
hasSaveFindings
public boolean hasSaveFindings()Save resulting findings in a provided location.
.google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;- Specified by:
hasSaveFindingsin interfaceActionOrBuilder- Returns:
- Whether the saveFindings field is set.
-
getSaveFindings
Save resulting findings in a provided location.
.google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;- Specified by:
getSaveFindingsin interfaceActionOrBuilder- Returns:
- The saveFindings.
-
getSaveFindingsOrBuilder
Save resulting findings in a provided location.
.google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;- Specified by:
getSaveFindingsOrBuilderin interfaceActionOrBuilder
-
hasPubSub
public boolean hasPubSub()Publish a notification to a Pub/Sub topic.
.google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;- Specified by:
hasPubSubin interfaceActionOrBuilder- Returns:
- Whether the pubSub field is set.
-
getPubSub
Publish a notification to a Pub/Sub topic.
.google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;- Specified by:
getPubSubin interfaceActionOrBuilder- Returns:
- The pubSub.
-
getPubSubOrBuilder
Publish a notification to a Pub/Sub topic.
.google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;- Specified by:
getPubSubOrBuilderin interfaceActionOrBuilder
-
hasPublishSummaryToCscc
public boolean hasPublishSummaryToCscc()Publish summary to Cloud Security Command Center (Alpha).
.google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;- Specified by:
hasPublishSummaryToCsccin interfaceActionOrBuilder- Returns:
- Whether the publishSummaryToCscc field is set.
-
getPublishSummaryToCscc
Publish summary to Cloud Security Command Center (Alpha).
.google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;- Specified by:
getPublishSummaryToCsccin interfaceActionOrBuilder- Returns:
- The publishSummaryToCscc.
-
getPublishSummaryToCsccOrBuilder
Publish summary to Cloud Security Command Center (Alpha).
.google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;- Specified by:
getPublishSummaryToCsccOrBuilderin interfaceActionOrBuilder
-
hasPublishFindingsToCloudDataCatalog
Deprecated.google.privacy.dlp.v2.Action.publish_findings_to_cloud_data_catalog is deprecated. See google/privacy/dlp/v2/dlp.proto;l=4561Deprecated because Data Catalog is being turned down. Use publish_findings_to_dataplex_catalog to publish findings to Dataplex Universal Catalog.
.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5 [deprecated = true];- Specified by:
hasPublishFindingsToCloudDataCatalogin interfaceActionOrBuilder- Returns:
- Whether the publishFindingsToCloudDataCatalog field is set.
-
getPublishFindingsToCloudDataCatalog
Deprecated.google.privacy.dlp.v2.Action.publish_findings_to_cloud_data_catalog is deprecated. See google/privacy/dlp/v2/dlp.proto;l=4561Deprecated because Data Catalog is being turned down. Use publish_findings_to_dataplex_catalog to publish findings to Dataplex Universal Catalog.
.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5 [deprecated = true];- Specified by:
getPublishFindingsToCloudDataCatalogin interfaceActionOrBuilder- Returns:
- The publishFindingsToCloudDataCatalog.
-
getPublishFindingsToCloudDataCatalogOrBuilder
@Deprecated public Action.PublishFindingsToCloudDataCatalogOrBuilder getPublishFindingsToCloudDataCatalogOrBuilder()Deprecated.Deprecated because Data Catalog is being turned down. Use publish_findings_to_dataplex_catalog to publish findings to Dataplex Universal Catalog.
.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5 [deprecated = true];- Specified by:
getPublishFindingsToCloudDataCatalogOrBuilderin interfaceActionOrBuilder
-
hasPublishFindingsToDataplexCatalog
public boolean hasPublishFindingsToDataplexCatalog()Publish findings as an aspect to Dataplex Universal Catalog.
.google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog publish_findings_to_dataplex_catalog = 10;- Specified by:
hasPublishFindingsToDataplexCatalogin interfaceActionOrBuilder- Returns:
- Whether the publishFindingsToDataplexCatalog field is set.
-
getPublishFindingsToDataplexCatalog
Publish findings as an aspect to Dataplex Universal Catalog.
.google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog publish_findings_to_dataplex_catalog = 10;- Specified by:
getPublishFindingsToDataplexCatalogin interfaceActionOrBuilder- Returns:
- The publishFindingsToDataplexCatalog.
-
getPublishFindingsToDataplexCatalogOrBuilder
public Action.PublishFindingsToDataplexCatalogOrBuilder getPublishFindingsToDataplexCatalogOrBuilder()Publish findings as an aspect to Dataplex Universal Catalog.
.google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog publish_findings_to_dataplex_catalog = 10;- Specified by:
getPublishFindingsToDataplexCatalogOrBuilderin interfaceActionOrBuilder
-
hasDeidentify
public boolean hasDeidentify()Create a de-identified copy of the input data.
.google.privacy.dlp.v2.Action.Deidentify deidentify = 7;- Specified by:
hasDeidentifyin interfaceActionOrBuilder- Returns:
- Whether the deidentify field is set.
-
getDeidentify
Create a de-identified copy of the input data.
.google.privacy.dlp.v2.Action.Deidentify deidentify = 7;- Specified by:
getDeidentifyin interfaceActionOrBuilder- Returns:
- The deidentify.
-
getDeidentifyOrBuilder
Create a de-identified copy of the input data.
.google.privacy.dlp.v2.Action.Deidentify deidentify = 7;- Specified by:
getDeidentifyOrBuilderin interfaceActionOrBuilder
-
hasJobNotificationEmails
public boolean hasJobNotificationEmails()Sends an email when the job completes. The email goes to IAM project owners and technical [Essential Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;- Specified by:
hasJobNotificationEmailsin interfaceActionOrBuilder- Returns:
- Whether the jobNotificationEmails field is set.
-
getJobNotificationEmails
Sends an email when the job completes. The email goes to IAM project owners and technical [Essential Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;- Specified by:
getJobNotificationEmailsin interfaceActionOrBuilder- Returns:
- The jobNotificationEmails.
-
getJobNotificationEmailsOrBuilder
Sends an email when the job completes. The email goes to IAM project owners and technical [Essential Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;- Specified by:
getJobNotificationEmailsOrBuilderin interfaceActionOrBuilder
-
hasPublishToStackdriver
public boolean hasPublishToStackdriver()Enable Stackdriver metric dlp.googleapis.com/finding_count.
.google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;- Specified by:
hasPublishToStackdriverin interfaceActionOrBuilder- Returns:
- Whether the publishToStackdriver field is set.
-
getPublishToStackdriver
Enable Stackdriver metric dlp.googleapis.com/finding_count.
.google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;- Specified by:
getPublishToStackdriverin interfaceActionOrBuilder- Returns:
- The publishToStackdriver.
-
getPublishToStackdriverOrBuilder
Enable Stackdriver metric dlp.googleapis.com/finding_count.
.google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;- Specified by:
getPublishToStackdriverOrBuilderin interfaceActionOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Action parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Action parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Action parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Action parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Action.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-