Class DataProfileAction

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.DataProfileAction
All Implemented Interfaces:
DataProfileActionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DataProfileAction extends com.google.protobuf.GeneratedMessage implements DataProfileActionOrBuilder
 A task to execute when a data profile has been generated.
 
Protobuf type google.privacy.dlp.v2.DataProfileAction
See Also:
  • Field Details

    • EXPORT_DATA_FIELD_NUMBER

      public static final int EXPORT_DATA_FIELD_NUMBER
      See Also:
    • PUB_SUB_NOTIFICATION_FIELD_NUMBER

      public static final int PUB_SUB_NOTIFICATION_FIELD_NUMBER
      See Also:
    • PUBLISH_TO_CHRONICLE_FIELD_NUMBER

      public static final int PUBLISH_TO_CHRONICLE_FIELD_NUMBER
      See Also:
    • PUBLISH_TO_SCC_FIELD_NUMBER

      public static final int PUBLISH_TO_SCC_FIELD_NUMBER
      See Also:
    • TAG_RESOURCES_FIELD_NUMBER

      public static final int TAG_RESOURCES_FIELD_NUMBER
      See Also:
    • PUBLISH_TO_DATAPLEX_CATALOG_FIELD_NUMBER

      public static final int PUBLISH_TO_DATAPLEX_CATALOG_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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getActionCase

      public DataProfileAction.ActionCase getActionCase()
      Specified by:
      getActionCase in interface DataProfileActionOrBuilder
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DataProfileAction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataProfileAction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataProfileAction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataProfileAction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataProfileAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataProfileAction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataProfileAction parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataProfileAction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataProfileAction parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataProfileAction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataProfileAction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataProfileAction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static DataProfileAction.Builder newBuilder()
    • newBuilder

      public static DataProfileAction.Builder newBuilder(DataProfileAction prototype)
    • toBuilder

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

      protected DataProfileAction.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DataProfileAction getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DataProfileAction> parser()
    • getParserForType

      public com.google.protobuf.Parser<DataProfileAction> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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