Class DataProfileAction.Builder (3.17.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataProfileAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataProfileAction.Builder
Overrides

build()

public DataProfileAction build()
Returns
TypeDescription
DataProfileAction

buildPartial()

public DataProfileAction buildPartial()
Returns
TypeDescription
DataProfileAction

clear()

public DataProfileAction.Builder clear()
Returns
TypeDescription
DataProfileAction.Builder
Overrides

clearAction()

public DataProfileAction.Builder clearAction()
Returns
TypeDescription
DataProfileAction.Builder

clearExportData()

public DataProfileAction.Builder clearExportData()

Export data profiles into a provided location.

.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;

Returns
TypeDescription
DataProfileAction.Builder

clearField(Descriptors.FieldDescriptor field)

public DataProfileAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataProfileAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProfileAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataProfileAction.Builder
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
TypeDescription
DataProfileAction.Builder

clone()

public DataProfileAction.Builder clone()
Returns
TypeDescription
DataProfileAction.Builder
Overrides

getActionCase()

public DataProfileAction.ActionCase getActionCase()
Returns
TypeDescription
DataProfileAction.ActionCase

getDefaultInstanceForType()

public DataProfileAction getDefaultInstanceForType()
Returns
TypeDescription
DataProfileAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExportData()

public DataProfileAction.Export getExportData()

Export data profiles into a provided location.

.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;

Returns
TypeDescription
DataProfileAction.Export

The exportData.

getExportDataBuilder()

public DataProfileAction.Export.Builder getExportDataBuilder()

Export data profiles into a provided location.

.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;

Returns
TypeDescription
DataProfileAction.Export.Builder

getExportDataOrBuilder()

public DataProfileAction.ExportOrBuilder getExportDataOrBuilder()

Export data profiles into a provided location.

.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;

Returns
TypeDescription
DataProfileAction.ExportOrBuilder

getPubSubNotification()

public DataProfileAction.PubSubNotification getPubSubNotification()

Publish a message into the Pub/Sub topic.

.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;

Returns
TypeDescription
DataProfileAction.PubSubNotification

The pubSubNotification.

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
TypeDescription
DataProfileAction.PubSubNotification.Builder

getPubSubNotificationOrBuilder()

public DataProfileAction.PubSubNotificationOrBuilder getPubSubNotificationOrBuilder()

Publish a message into the Pub/Sub topic.

.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;

Returns
TypeDescription
DataProfileAction.PubSubNotificationOrBuilder

hasExportData()

public boolean hasExportData()

Export data profiles into a provided location.

.google.privacy.dlp.v2.DataProfileAction.Export export_data = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the pubSubNotification field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
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
NameDescription
valueDataProfileAction.Export
Returns
TypeDescription
DataProfileAction.Builder

mergeFrom(DataProfileAction other)

public DataProfileAction.Builder mergeFrom(DataProfileAction other)
Parameter
NameDescription
otherDataProfileAction
Returns
TypeDescription
DataProfileAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataProfileAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DataProfileAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DataProfileAction.Builder
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
NameDescription
valueDataProfileAction.PubSubNotification
Returns
TypeDescription
DataProfileAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataProfileAction.Builder
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
NameDescription
valueDataProfileAction.Export
Returns
TypeDescription
DataProfileAction.Builder

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
NameDescription
builderForValueDataProfileAction.Export.Builder
Returns
TypeDescription
DataProfileAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DataProfileAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataProfileAction.Builder
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
NameDescription
valueDataProfileAction.PubSubNotification
Returns
TypeDescription
DataProfileAction.Builder

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
NameDescription
builderForValueDataProfileAction.PubSubNotification.Builder
Returns
TypeDescription
DataProfileAction.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataProfileAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataProfileAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataProfileAction.Builder
Overrides