Package com.google.privacy.dlp.v2
Class Action
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class Action extends com.google.protobuf.GeneratedMessageV3 implements ActionOrBuilder
A task to execute on the completion of a job. See https://cloud.google.com/dlp/docs/concepts-actions to learn more.
Protobuf typegoogle.privacy.dlp.v2.Action- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAction.ActionCasestatic classAction.BuilderA task to execute on the completion of a job.static classAction.DeidentifyCreate a de-identified copy of the requested table or files.static interfaceAction.DeidentifyOrBuilderstatic classAction.JobNotificationEmailsSends an email when the job completes.static interfaceAction.JobNotificationEmailsOrBuilderstatic classAction.PublishFindingsToCloudDataCatalogPublish findings of a DlpJob to Data Catalog.static interfaceAction.PublishFindingsToCloudDataCatalogOrBuilderstatic classAction.PublishSummaryToCsccPublish the result summary of a DlpJob to the Cloud Security Command Center (CSCC Alpha).static interfaceAction.PublishSummaryToCsccOrBuilderstatic classAction.PublishToPubSubPublish a message into a given Pub/Sub topic when DlpJob has completed.static interfaceAction.PublishToPubSubOrBuilderstatic classAction.PublishToStackdriverEnable Stackdriver metric dlp.googleapis.com/finding_count.static interfaceAction.PublishToStackdriverOrBuilderstatic classAction.SaveFindingsIf set, the detailed findings will be persisted to the specified OutputStorageConfig.static interfaceAction.SaveFindingsOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDEIDENTIFY_FIELD_NUMBERstatic intJOB_NOTIFICATION_EMAILS_FIELD_NUMBERstatic intPUB_SUB_FIELD_NUMBERstatic intPUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG_FIELD_NUMBERstatic intPUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBERstatic intPUBLISH_TO_STACKDRIVER_FIELD_NUMBERstatic intSAVE_FINDINGS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Action.ActionCasegetActionCase()static ActiongetDefaultInstance()ActiongetDefaultInstanceForType()Action.DeidentifygetDeidentify()Create a de-identified copy of the input data.Action.DeidentifyOrBuildergetDeidentifyOrBuilder()Create a de-identified copy of the input data.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Action.JobNotificationEmailsgetJobNotificationEmails()Sends an email when the job completes.Action.JobNotificationEmailsOrBuildergetJobNotificationEmailsOrBuilder()Sends an email when the job completes.com.google.protobuf.Parser<Action>getParserForType()Action.PublishFindingsToCloudDataCataloggetPublishFindingsToCloudDataCatalog()Publish findings to Cloud Datahub.Action.PublishFindingsToCloudDataCatalogOrBuildergetPublishFindingsToCloudDataCatalogOrBuilder()Publish findings to Cloud Datahub.Action.PublishSummaryToCsccgetPublishSummaryToCscc()Publish summary to Cloud Security Command Center (Alpha).Action.PublishSummaryToCsccOrBuildergetPublishSummaryToCsccOrBuilder()Publish summary to Cloud Security Command Center (Alpha).Action.PublishToStackdrivergetPublishToStackdriver()Enable Stackdriver metric dlp.googleapis.com/finding_count.Action.PublishToStackdriverOrBuildergetPublishToStackdriverOrBuilder()Enable Stackdriver metric dlp.googleapis.com/finding_count.Action.PublishToPubSubgetPubSub()Publish a notification to a Pub/Sub topic.Action.PublishToPubSubOrBuildergetPubSubOrBuilder()Publish a notification to a Pub/Sub topic.Action.SaveFindingsgetSaveFindings()Save resulting findings in a provided location.Action.SaveFindingsOrBuildergetSaveFindingsOrBuilder()Save resulting findings in a provided location.intgetSerializedSize()booleanhasDeidentify()Create a de-identified copy of the input data.inthashCode()booleanhasJobNotificationEmails()Sends an email when the job completes.booleanhasPublishFindingsToCloudDataCatalog()Publish findings to Cloud Datahub.booleanhasPublishSummaryToCscc()Publish summary to Cloud Security Command Center (Alpha).booleanhasPublishToStackdriver()Enable Stackdriver metric dlp.googleapis.com/finding_count.booleanhasPubSub()Publish a notification to a Pub/Sub topic.booleanhasSaveFindings()Save resulting findings in a provided location.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Action.BuildernewBuilder()static Action.BuildernewBuilder(Action prototype)Action.BuildernewBuilderForType()protected Action.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()Action.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SAVE_FINDINGS_FIELD_NUMBER
public static final int SAVE_FINDINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUB_SUB_FIELD_NUMBER
public static final int PUB_SUB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER
public static final int PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG_FIELD_NUMBER
public static final int PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEIDENTIFY_FIELD_NUMBER
public static final int DEIDENTIFY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JOB_NOTIFICATION_EMAILS_FIELD_NUMBER
public static final int JOB_NOTIFICATION_EMAILS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUBLISH_TO_STACKDRIVER_FIELD_NUMBER
public static final int PUBLISH_TO_STACKDRIVER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getActionCase
public Action.ActionCase 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
public Action.SaveFindings 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
public Action.SaveFindingsOrBuilder 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
public Action.PublishToPubSub 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
public Action.PublishToPubSubOrBuilder 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
public Action.PublishSummaryToCscc 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
public Action.PublishSummaryToCsccOrBuilder 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
public boolean hasPublishFindingsToCloudDataCatalog()
Publish findings to Cloud Datahub.
.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;- Specified by:
hasPublishFindingsToCloudDataCatalogin interfaceActionOrBuilder- Returns:
- Whether the publishFindingsToCloudDataCatalog field is set.
-
getPublishFindingsToCloudDataCatalog
public Action.PublishFindingsToCloudDataCatalog getPublishFindingsToCloudDataCatalog()
Publish findings to Cloud Datahub.
.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;- Specified by:
getPublishFindingsToCloudDataCatalogin interfaceActionOrBuilder- Returns:
- The publishFindingsToCloudDataCatalog.
-
getPublishFindingsToCloudDataCatalogOrBuilder
public Action.PublishFindingsToCloudDataCatalogOrBuilder getPublishFindingsToCloudDataCatalogOrBuilder()
Publish findings to Cloud Datahub.
.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;- Specified by:
getPublishFindingsToCloudDataCatalogOrBuilderin 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
public Action.Deidentify 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
public Action.DeidentifyOrBuilder 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
public Action.JobNotificationEmails 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
public Action.JobNotificationEmailsOrBuilder 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
public Action.PublishToStackdriver 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
public Action.PublishToStackdriverOrBuilder 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.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static Action parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Action parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Action parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Action parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Action parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Action parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Action.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Action.Builder newBuilder()
-
newBuilder
public static Action.Builder newBuilder(Action prototype)
-
toBuilder
public Action.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Action.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Action getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Action> parser()
-
getParserForType
public com.google.protobuf.Parser<Action> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Action getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-