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 class
Action.ActionCase
static class
Action.Builder
A task to execute on the completion of a job.static class
Action.Deidentify
Create a de-identified copy of the requested table or files.static interface
Action.DeidentifyOrBuilder
static class
Action.JobNotificationEmails
Sends an email when the job completes.static interface
Action.JobNotificationEmailsOrBuilder
static class
Action.PublishFindingsToCloudDataCatalog
Publish findings of a DlpJob to Data Catalog.static interface
Action.PublishFindingsToCloudDataCatalogOrBuilder
static class
Action.PublishSummaryToCscc
Publish the result summary of a DlpJob to the Cloud Security Command Center (CSCC Alpha).static interface
Action.PublishSummaryToCsccOrBuilder
static class
Action.PublishToPubSub
Publish a message into a given Pub/Sub topic when DlpJob has completed.static interface
Action.PublishToPubSubOrBuilder
static class
Action.PublishToStackdriver
Enable Stackdriver metric dlp.googleapis.com/finding_count.static interface
Action.PublishToStackdriverOrBuilder
static class
Action.SaveFindings
If set, the detailed findings will be persisted to the specified OutputStorageConfig.static interface
Action.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 int
DEIDENTIFY_FIELD_NUMBER
static int
JOB_NOTIFICATION_EMAILS_FIELD_NUMBER
static int
PUB_SUB_FIELD_NUMBER
static int
PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG_FIELD_NUMBER
static int
PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER
static int
PUBLISH_TO_STACKDRIVER_FIELD_NUMBER
static int
SAVE_FINDINGS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Action.ActionCase
getActionCase()
static Action
getDefaultInstance()
Action
getDefaultInstanceForType()
Action.Deidentify
getDeidentify()
Create a de-identified copy of the input data.Action.DeidentifyOrBuilder
getDeidentifyOrBuilder()
Create a de-identified copy of the input data.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Action.JobNotificationEmails
getJobNotificationEmails()
Sends an email when the job completes.Action.JobNotificationEmailsOrBuilder
getJobNotificationEmailsOrBuilder()
Sends an email when the job completes.com.google.protobuf.Parser<Action>
getParserForType()
Action.PublishFindingsToCloudDataCatalog
getPublishFindingsToCloudDataCatalog()
Publish findings to Cloud Datahub.Action.PublishFindingsToCloudDataCatalogOrBuilder
getPublishFindingsToCloudDataCatalogOrBuilder()
Publish findings to Cloud Datahub.Action.PublishSummaryToCscc
getPublishSummaryToCscc()
Publish summary to Cloud Security Command Center (Alpha).Action.PublishSummaryToCsccOrBuilder
getPublishSummaryToCsccOrBuilder()
Publish summary to Cloud Security Command Center (Alpha).Action.PublishToStackdriver
getPublishToStackdriver()
Enable Stackdriver metric dlp.googleapis.com/finding_count.Action.PublishToStackdriverOrBuilder
getPublishToStackdriverOrBuilder()
Enable Stackdriver metric dlp.googleapis.com/finding_count.Action.PublishToPubSub
getPubSub()
Publish a notification to a Pub/Sub topic.Action.PublishToPubSubOrBuilder
getPubSubOrBuilder()
Publish a notification to a Pub/Sub topic.Action.SaveFindings
getSaveFindings()
Save resulting findings in a provided location.Action.SaveFindingsOrBuilder
getSaveFindingsOrBuilder()
Save resulting findings in a provided location.int
getSerializedSize()
boolean
hasDeidentify()
Create a de-identified copy of the input data.int
hashCode()
boolean
hasJobNotificationEmails()
Sends an email when the job completes.boolean
hasPublishFindingsToCloudDataCatalog()
Publish findings to Cloud Datahub.boolean
hasPublishSummaryToCscc()
Publish summary to Cloud Security Command Center (Alpha).boolean
hasPublishToStackdriver()
Enable Stackdriver metric dlp.googleapis.com/finding_count.boolean
hasPubSub()
Publish a notification to a Pub/Sub topic.boolean
hasSaveFindings()
Save resulting findings in a provided location.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Action.Builder
newBuilder()
static Action.Builder
newBuilder(Action prototype)
Action.Builder
newBuilderForType()
protected Action.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Action
parseDelimitedFrom(InputStream input)
static Action
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Action
parseFrom(byte[] data)
static Action
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Action
parseFrom(com.google.protobuf.ByteString data)
static Action
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Action
parseFrom(com.google.protobuf.CodedInputStream input)
static Action
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Action
parseFrom(InputStream input)
static Action
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Action
parseFrom(ByteBuffer data)
static Action
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Action>
parser()
Action.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getActionCase
public Action.ActionCase getActionCase()
- Specified by:
getActionCase
in interfaceActionOrBuilder
-
hasSaveFindings
public boolean hasSaveFindings()
Save resulting findings in a provided location.
.google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
- Specified by:
hasSaveFindings
in 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:
getSaveFindings
in 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:
getSaveFindingsOrBuilder
in interfaceActionOrBuilder
-
hasPubSub
public boolean hasPubSub()
Publish a notification to a Pub/Sub topic.
.google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
- Specified by:
hasPubSub
in 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:
getPubSub
in 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:
getPubSubOrBuilder
in 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:
hasPublishSummaryToCscc
in 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:
getPublishSummaryToCscc
in 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:
getPublishSummaryToCsccOrBuilder
in 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:
hasPublishFindingsToCloudDataCatalog
in 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:
getPublishFindingsToCloudDataCatalog
in 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:
getPublishFindingsToCloudDataCatalogOrBuilder
in interfaceActionOrBuilder
-
hasDeidentify
public boolean hasDeidentify()
Create a de-identified copy of the input data.
.google.privacy.dlp.v2.Action.Deidentify deidentify = 7;
- Specified by:
hasDeidentify
in 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:
getDeidentify
in 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:
getDeidentifyOrBuilder
in 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:
hasJobNotificationEmails
in 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:
getJobNotificationEmails
in 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:
getJobNotificationEmailsOrBuilder
in 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:
hasPublishToStackdriver
in 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:
getPublishToStackdriver
in 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:
getPublishToStackdriverOrBuilder
in interfaceActionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Action.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Action getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-