Class DataProfileAction.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataProfileAction.Builder>
com.google.privacy.dlp.v2.DataProfileAction.Builder
All Implemented Interfaces:
DataProfileActionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DataProfileAction

public static final class DataProfileAction.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataProfileAction.Builder> implements DataProfileActionOrBuilder
 A task to execute when a data profile has been generated.
 
Protobuf type google.privacy.dlp.v2.DataProfileAction
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DataProfileAction.Builder>
    • clear

      public DataProfileAction.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DataProfileAction.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DataProfileAction.Builder>
    • getDefaultInstanceForType

      public DataProfileAction getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DataProfileAction build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DataProfileAction buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DataProfileAction.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataProfileAction.Builder>
    • mergeFrom

      public DataProfileAction.Builder mergeFrom(DataProfileAction other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DataProfileAction.Builder>
    • mergeFrom

      public DataProfileAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataProfileAction.Builder>
      Throws:
      IOException
    • getActionCase

      public DataProfileAction.ActionCase getActionCase()
      Specified by:
      getActionCase in interface DataProfileActionOrBuilder
    • clearAction

      public DataProfileAction.Builder clearAction()
    • hasExportData

      public boolean hasExportData()
       Export data profiles into a provided location.
       
      .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
      Specified by:
      hasExportData in interface DataProfileActionOrBuilder
      Returns:
      Whether the exportData field is set.
    • getExportData

      public DataProfileAction.Export getExportData()
       Export data profiles into a provided location.
       
      .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
      Specified by:
      getExportData in interface DataProfileActionOrBuilder
      Returns:
      The exportData.
    • setExportData

       Export data profiles into a provided location.
       
      .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
    • setExportData

      public DataProfileAction.Builder setExportData(DataProfileAction.Export.Builder builderForValue)
       Export data profiles into a provided location.
       
      .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
    • mergeExportData

      public DataProfileAction.Builder mergeExportData(DataProfileAction.Export value)
       Export data profiles into a provided location.
       
      .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
    • clearExportData

      public DataProfileAction.Builder clearExportData()
       Export data profiles into a provided location.
       
      .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
    • getExportDataBuilder

      public DataProfileAction.Export.Builder getExportDataBuilder()
       Export data profiles into a provided location.
       
      .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
    • getExportDataOrBuilder

      public DataProfileAction.ExportOrBuilder getExportDataOrBuilder()
       Export data profiles into a provided location.
       
      .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
      Specified by:
      getExportDataOrBuilder in interface DataProfileActionOrBuilder
    • hasPubSubNotification

      public boolean hasPubSubNotification()
       Publish a message into the Pub/Sub topic.
       
      .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;
      Specified by:
      hasPubSubNotification in interface DataProfileActionOrBuilder
      Returns:
      Whether the pubSubNotification field is set.
    • getPubSubNotification

      public DataProfileAction.PubSubNotification getPubSubNotification()
       Publish a message into the Pub/Sub topic.
       
      .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;
      Specified by:
      getPubSubNotification in interface DataProfileActionOrBuilder
      Returns:
      The pubSubNotification.
    • setPubSubNotification

       Publish a message into the Pub/Sub topic.
       
      .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;
    • setPubSubNotification

      public DataProfileAction.Builder setPubSubNotification(DataProfileAction.PubSubNotification.Builder builderForValue)
       Publish a message into the Pub/Sub topic.
       
      .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;
    • mergePubSubNotification

      public DataProfileAction.Builder mergePubSubNotification(DataProfileAction.PubSubNotification value)
       Publish a message into the Pub/Sub topic.
       
      .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;
    • clearPubSubNotification

      public DataProfileAction.Builder clearPubSubNotification()
       Publish a message into the Pub/Sub topic.
       
      .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;
    • getPubSubNotificationBuilder

      public DataProfileAction.PubSubNotification.Builder getPubSubNotificationBuilder()
       Publish a message into the Pub/Sub topic.
       
      .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;
    • getPubSubNotificationOrBuilder

      public DataProfileAction.PubSubNotificationOrBuilder getPubSubNotificationOrBuilder()
       Publish a message into the Pub/Sub topic.
       
      .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;
      Specified by:
      getPubSubNotificationOrBuilder in interface DataProfileActionOrBuilder
    • 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](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download).
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;
      Specified by:
      hasPublishToChronicle in interface DataProfileActionOrBuilder
      Returns:
      Whether the publishToChronicle field is set.
    • 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](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download).
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;
      Specified by:
      getPublishToChronicle in interface DataProfileActionOrBuilder
      Returns:
      The publishToChronicle.
    • setPublishToChronicle

       Publishes generated data profiles to Google Security Operations.
       For more information, see [Use Sensitive Data Protection data in
       context-aware
       analytics](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download).
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;
    • setPublishToChronicle

      public DataProfileAction.Builder setPublishToChronicle(DataProfileAction.PublishToChronicle.Builder builderForValue)
       Publishes generated data profiles to Google Security Operations.
       For more information, see [Use Sensitive Data Protection data in
       context-aware
       analytics](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download).
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;
    • mergePublishToChronicle

      public DataProfileAction.Builder mergePublishToChronicle(DataProfileAction.PublishToChronicle value)
       Publishes generated data profiles to Google Security Operations.
       For more information, see [Use Sensitive Data Protection data in
       context-aware
       analytics](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download).
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;
    • clearPublishToChronicle

      public DataProfileAction.Builder clearPublishToChronicle()
       Publishes generated data profiles to Google Security Operations.
       For more information, see [Use Sensitive Data Protection data in
       context-aware
       analytics](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download).
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;
    • getPublishToChronicleBuilder

      public DataProfileAction.PublishToChronicle.Builder getPublishToChronicleBuilder()
       Publishes generated data profiles to Google Security Operations.
       For more information, see [Use Sensitive Data Protection data in
       context-aware
       analytics](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download).
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;
    • 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](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download).
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3;
      Specified by:
      getPublishToChronicleOrBuilder in interface DataProfileActionOrBuilder
    • hasPublishToScc

      public boolean hasPublishToScc()
       Publishes findings to Security Command Center for each data profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;
      Specified by:
      hasPublishToScc in interface DataProfileActionOrBuilder
      Returns:
      Whether the publishToScc field is set.
    • getPublishToScc

       Publishes findings to Security Command Center for each data profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;
      Specified by:
      getPublishToScc in interface DataProfileActionOrBuilder
      Returns:
      The publishToScc.
    • setPublishToScc

       Publishes findings to Security Command Center for each data profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;
    • setPublishToScc

       Publishes findings to Security Command Center for each data profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;
    • mergePublishToScc

       Publishes findings to Security Command Center for each data profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;
    • clearPublishToScc

      public DataProfileAction.Builder clearPublishToScc()
       Publishes findings to Security Command Center for each data profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;
    • getPublishToSccBuilder

       Publishes findings to Security Command Center for each data profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;
    • getPublishToSccOrBuilder

       Publishes findings to Security Command Center for each data profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter publish_to_scc = 4;
      Specified by:
      getPublishToSccOrBuilder in interface DataProfileActionOrBuilder
    • hasTagResources

      public boolean hasTagResources()
       Tags the profiled resources with the specified tag values.
       
      .google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;
      Specified by:
      hasTagResources in interface DataProfileActionOrBuilder
      Returns:
      Whether the tagResources field is set.
    • getTagResources

      public DataProfileAction.TagResources getTagResources()
       Tags the profiled resources with the specified tag values.
       
      .google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;
      Specified by:
      getTagResources in interface DataProfileActionOrBuilder
      Returns:
      The tagResources.
    • setTagResources

       Tags the profiled resources with the specified tag values.
       
      .google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;
    • setTagResources

      public DataProfileAction.Builder setTagResources(DataProfileAction.TagResources.Builder builderForValue)
       Tags the profiled resources with the specified tag values.
       
      .google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;
    • mergeTagResources

       Tags the profiled resources with the specified tag values.
       
      .google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;
    • clearTagResources

      public DataProfileAction.Builder clearTagResources()
       Tags the profiled resources with the specified tag values.
       
      .google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;
    • getTagResourcesBuilder

      public DataProfileAction.TagResources.Builder getTagResourcesBuilder()
       Tags the profiled resources with the specified tag values.
       
      .google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;
    • getTagResourcesOrBuilder

      public DataProfileAction.TagResourcesOrBuilder getTagResourcesOrBuilder()
       Tags the profiled resources with the specified tag values.
       
      .google.privacy.dlp.v2.DataProfileAction.TagResources tag_resources = 8;
      Specified by:
      getTagResourcesOrBuilder in interface DataProfileActionOrBuilder
    • hasPublishToDataplexCatalog

      public boolean hasPublishToDataplexCatalog()
       Publishes a portion of each profile to Dataplex Universal Catalog with
       the aspect type Sensitive Data Protection Profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog publish_to_dataplex_catalog = 9;
      Specified by:
      hasPublishToDataplexCatalog in interface DataProfileActionOrBuilder
      Returns:
      Whether the publishToDataplexCatalog field is set.
    • getPublishToDataplexCatalog

      public DataProfileAction.PublishToDataplexCatalog getPublishToDataplexCatalog()
       Publishes a portion of each profile to Dataplex Universal Catalog with
       the aspect type Sensitive Data Protection Profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog publish_to_dataplex_catalog = 9;
      Specified by:
      getPublishToDataplexCatalog in interface DataProfileActionOrBuilder
      Returns:
      The publishToDataplexCatalog.
    • setPublishToDataplexCatalog

      public DataProfileAction.Builder setPublishToDataplexCatalog(DataProfileAction.PublishToDataplexCatalog value)
       Publishes a portion of each profile to Dataplex Universal Catalog with
       the aspect type Sensitive Data Protection Profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog publish_to_dataplex_catalog = 9;
    • setPublishToDataplexCatalog

      public DataProfileAction.Builder setPublishToDataplexCatalog(DataProfileAction.PublishToDataplexCatalog.Builder builderForValue)
       Publishes a portion of each profile to Dataplex Universal Catalog with
       the aspect type Sensitive Data Protection Profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog publish_to_dataplex_catalog = 9;
    • mergePublishToDataplexCatalog

      public DataProfileAction.Builder mergePublishToDataplexCatalog(DataProfileAction.PublishToDataplexCatalog value)
       Publishes a portion of each profile to Dataplex Universal Catalog with
       the aspect type Sensitive Data Protection Profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog publish_to_dataplex_catalog = 9;
    • clearPublishToDataplexCatalog

      public DataProfileAction.Builder clearPublishToDataplexCatalog()
       Publishes a portion of each profile to Dataplex Universal Catalog with
       the aspect type Sensitive Data Protection Profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog publish_to_dataplex_catalog = 9;
    • getPublishToDataplexCatalogBuilder

      public DataProfileAction.PublishToDataplexCatalog.Builder getPublishToDataplexCatalogBuilder()
       Publishes a portion of each profile to Dataplex Universal Catalog with
       the aspect type Sensitive Data Protection Profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog publish_to_dataplex_catalog = 9;
    • getPublishToDataplexCatalogOrBuilder

      public DataProfileAction.PublishToDataplexCatalogOrBuilder getPublishToDataplexCatalogOrBuilder()
       Publishes a portion of each profile to Dataplex Universal Catalog with
       the aspect type Sensitive Data Protection Profile.
       
      .google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog publish_to_dataplex_catalog = 9;
      Specified by:
      getPublishToDataplexCatalogOrBuilder in interface DataProfileActionOrBuilder