Class DataProfileAction (3.20.0)

public final class DataProfileAction extends GeneratedMessageV3 implements DataProfileActionOrBuilder

A task to execute when a data profile has been generated.

Protobuf type google.privacy.dlp.v2.DataProfileAction

Static Fields

EXPORT_DATA_FIELD_NUMBER

public static final int EXPORT_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

PUB_SUB_NOTIFICATION_FIELD_NUMBER

public static final int PUB_SUB_NOTIFICATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataProfileAction getDefaultInstance()
Returns
TypeDescription
DataProfileAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DataProfileAction.Builder newBuilder()
Returns
TypeDescription
DataProfileAction.Builder

newBuilder(DataProfileAction prototype)

public static DataProfileAction.Builder newBuilder(DataProfileAction prototype)
Parameter
NameDescription
prototypeDataProfileAction
Returns
TypeDescription
DataProfileAction.Builder

parseDelimitedFrom(InputStream input)

public static DataProfileAction parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataProfileAction
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileAction
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DataProfileAction parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DataProfileAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataProfileAction parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DataProfileAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataProfileAction parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DataProfileAction
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DataProfileAction parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataProfileAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileAction
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DataProfileAction parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DataProfileAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DataProfileAction> parser()
Returns
TypeDescription
Parser<DataProfileAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getActionCase()

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

getDefaultInstanceForType()

public DataProfileAction getDefaultInstanceForType()
Returns
TypeDescription
DataProfileAction

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.

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

getParserForType()

public Parser<DataProfileAction> getParserForType()
Returns
TypeDescription
Parser<DataProfileAction>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataProfileAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DataProfileAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException