public final class Action extends GeneratedMessageV3 implements ActionOrBuilder
Static Fields
DEIDENTIFY_FIELD_NUMBER
public static final int DEIDENTIFY_FIELD_NUMBER
Field Value
JOB_NOTIFICATION_EMAILS_FIELD_NUMBER
public static final int JOB_NOTIFICATION_EMAILS_FIELD_NUMBER
Field Value
PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG_FIELD_NUMBER
public static final int PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG_FIELD_NUMBER
Field Value
PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER
public static final int PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER
Field Value
PUBLISH_TO_STACKDRIVER_FIELD_NUMBER
public static final int PUBLISH_TO_STACKDRIVER_FIELD_NUMBER
Field Value
PUB_SUB_FIELD_NUMBER
public static final int PUB_SUB_FIELD_NUMBER
Field Value
SAVE_FINDINGS_FIELD_NUMBER
public static final int SAVE_FINDINGS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Action getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Action.Builder newBuilder()
Returns
newBuilder(Action prototype)
public static Action.Builder newBuilder(Action prototype)
Parameter
Name | Description |
prototype | Action
|
Returns
public static Action parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Action parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Action parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Action parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Action parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Action parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Action parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Action parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Action parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Action> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getActionCase()
public Action.ActionCase getActionCase()
Returns
getDefaultInstanceForType()
public Action getDefaultInstanceForType()
Returns
getDeidentify()
public Action.Deidentify getDeidentify()
Create a de-identified copy of the input data.
.google.privacy.dlp.v2.Action.Deidentify deidentify = 7;
Returns
getDeidentifyOrBuilder()
public Action.DeidentifyOrBuilder getDeidentifyOrBuilder()
Create a de-identified copy of the input data.
.google.privacy.dlp.v2.Action.Deidentify deidentify = 7;
Returns
getJobNotificationEmails()
public Action.JobNotificationEmails getJobNotificationEmails()
Enable email notification for project owners and editors on job's
completion/failure.
.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
Returns
getJobNotificationEmailsOrBuilder()
public Action.JobNotificationEmailsOrBuilder getJobNotificationEmailsOrBuilder()
Enable email notification for project owners and editors on job's
completion/failure.
.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
Returns
getParserForType()
public Parser<Action> getParserForType()
Returns
Overrides
getPubSub()
public Action.PublishToPubSub getPubSub()
Publish a notification to a Pub/Sub topic.
.google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
Returns
getPubSubOrBuilder()
public Action.PublishToPubSubOrBuilder getPubSubOrBuilder()
Publish a notification to a Pub/Sub topic.
.google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
Returns
getPublishFindingsToCloudDataCatalog()
public Action.PublishFindingsToCloudDataCatalog getPublishFindingsToCloudDataCatalog()
Publish findings to Cloud Datahub.
.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;
Returns
getPublishFindingsToCloudDataCatalogOrBuilder()
public Action.PublishFindingsToCloudDataCatalogOrBuilder getPublishFindingsToCloudDataCatalogOrBuilder()
Publish findings to Cloud Datahub.
.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;
Returns
getPublishSummaryToCscc()
public Action.PublishSummaryToCscc getPublishSummaryToCscc()
Publish summary to Cloud Security Command Center (Alpha).
.google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;
Returns
getPublishSummaryToCsccOrBuilder()
public Action.PublishSummaryToCsccOrBuilder getPublishSummaryToCsccOrBuilder()
Publish summary to Cloud Security Command Center (Alpha).
.google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;
Returns
getPublishToStackdriver()
public Action.PublishToStackdriver getPublishToStackdriver()
Enable Stackdriver metric dlp.googleapis.com/finding_count.
.google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;
Returns
getPublishToStackdriverOrBuilder()
public Action.PublishToStackdriverOrBuilder getPublishToStackdriverOrBuilder()
Enable Stackdriver metric dlp.googleapis.com/finding_count.
.google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;
Returns
getSaveFindings()
public Action.SaveFindings getSaveFindings()
Save resulting findings in a provided location.
.google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
Returns
getSaveFindingsOrBuilder()
public Action.SaveFindingsOrBuilder getSaveFindingsOrBuilder()
Save resulting findings in a provided location.
.google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasDeidentify()
public boolean hasDeidentify()
Create a de-identified copy of the input data.
.google.privacy.dlp.v2.Action.Deidentify deidentify = 7;
Returns
Type | Description |
boolean | Whether the deidentify field is set.
|
hasJobNotificationEmails()
public boolean hasJobNotificationEmails()
Enable email notification for project owners and editors on job's
completion/failure.
.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
Returns
Type | Description |
boolean | Whether the jobNotificationEmails field is set.
|
hasPubSub()
public boolean hasPubSub()
Publish a notification to a Pub/Sub topic.
.google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
Returns
Type | Description |
boolean | Whether the pubSub field is set.
|
hasPublishFindingsToCloudDataCatalog()
public boolean hasPublishFindingsToCloudDataCatalog()
Publish findings to Cloud Datahub.
.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;
Returns
Type | Description |
boolean | Whether the publishFindingsToCloudDataCatalog field is set.
|
hasPublishSummaryToCscc()
public boolean hasPublishSummaryToCscc()
Publish summary to Cloud Security Command Center (Alpha).
.google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;
Returns
Type | Description |
boolean | Whether the publishSummaryToCscc field is set.
|
hasPublishToStackdriver()
public boolean hasPublishToStackdriver()
Enable Stackdriver metric dlp.googleapis.com/finding_count.
.google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;
Returns
Type | Description |
boolean | Whether the publishToStackdriver field is set.
|
hasSaveFindings()
public boolean hasSaveFindings()
Save resulting findings in a provided location.
.google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
Returns
Type | Description |
boolean | Whether the saveFindings field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Action.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Action.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Action.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions