Send feedback
Class DataProfileAction.Builder (3.6.6)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.6.6 keyboard_arrow_down
public static final class DataProfileAction . Builder extends GeneratedMessageV3 . Builder<DataProfileAction . Builder > implements DataProfileActionOrBuilder
A task to execute when a data profile has been generated.
Protobuf type google.privacy.dlp.v2.DataProfileAction
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataProfileAction . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public DataProfileAction build ()
Returns
buildPartial()
public DataProfileAction buildPartial ()
Returns
clear()
public DataProfileAction . Builder clear ()
Returns
Overrides
clearAction()
public DataProfileAction . Builder clearAction ()
Returns
clearExportData()
public DataProfileAction . Builder clearExportData ()
Export data profiles into a provided location.
.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public DataProfileAction . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DataProfileAction . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearPubSubNotification()
public DataProfileAction . Builder clearPubSubNotification ()
Publish a message into the Pub/Sub topic.
.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;
Returns
clone()
public DataProfileAction . Builder clone ()
Returns
Overrides
getActionCase()
public DataProfileAction . ActionCase getActionCase ()
Returns
getDefaultInstanceForType()
public DataProfileAction getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getExportData()
public DataProfileAction . Export getExportData ()
Export data profiles into a provided location.
.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
Returns
getExportDataBuilder()
public DataProfileAction . Export . Builder getExportDataBuilder ()
Export data profiles into a provided location.
.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
Returns
getExportDataOrBuilder()
public DataProfileAction . ExportOrBuilder getExportDataOrBuilder ()
Export data profiles into a provided location.
.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
Returns
getPubSubNotification()
public DataProfileAction . PubSubNotification getPubSubNotification ()
Publish a message into the Pub/Sub topic.
.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;
Returns
getPubSubNotificationBuilder()
public DataProfileAction . PubSubNotification . Builder getPubSubNotificationBuilder ()
Publish a message into the Pub/Sub topic.
.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;
Returns
getPubSubNotificationOrBuilder()
public DataProfileAction . PubSubNotificationOrBuilder getPubSubNotificationOrBuilder ()
Publish a message into the Pub/Sub topic.
.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;
Returns
hasExportData()
public boolean hasExportData ()
Export data profiles into a provided location.
.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
Returns
Type Description boolean Whether the exportData field is set.
hasPubSubNotification()
public boolean hasPubSubNotification ()
Publish a message into the Pub/Sub topic.
.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;
Returns
Type Description boolean Whether the pubSubNotification field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeExportData(DataProfileAction.Export value)
public DataProfileAction . Builder mergeExportData ( DataProfileAction . Export value )
Export data profiles into a provided location.
.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
Parameter
Returns
mergeFrom(DataProfileAction other)
public DataProfileAction . Builder mergeFrom ( DataProfileAction other )
Parameter
Returns
public DataProfileAction . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DataProfileAction . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergePubSubNotification(DataProfileAction.PubSubNotification value)
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataProfileAction . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setExportData(DataProfileAction.Export value)
public DataProfileAction . Builder setExportData ( DataProfileAction . Export value )
Export data profiles into a provided location.
.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
Parameter
Returns
setExportData(DataProfileAction.Export.Builder builderForValue)
public DataProfileAction . Builder setExportData ( DataProfileAction . Export . Builder builderForValue )
Export data profiles into a provided location.
.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DataProfileAction . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setPubSubNotification(DataProfileAction.PubSubNotification value)
public DataProfileAction . Builder setPubSubNotification ( DataProfileAction . PubSubNotification value )
Publish a message into the Pub/Sub topic.
.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;
Parameter
Returns
setPubSubNotification(DataProfileAction.PubSubNotification.Builder builderForValue)
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;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataProfileAction . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataProfileAction . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]