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
PUB_SUB_NOTIFICATION_FIELD_NUMBER
public static final int PUB_SUB_NOTIFICATION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DataProfileAction getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DataProfileAction.Builder newBuilder()
Returns
newBuilder(DataProfileAction prototype)
public static DataProfileAction.Builder newBuilder(DataProfileAction prototype)
Parameter
Returns
public static DataProfileAction parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataProfileAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DataProfileAction parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataProfileAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DataProfileAction parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataProfileAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataProfileAction parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DataProfileAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataProfileAction parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataProfileAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DataProfileAction parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataProfileAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DataProfileAction> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getActionCase()
public DataProfileAction.ActionCase getActionCase()
Returns
getDefaultInstanceForType()
public DataProfileAction getDefaultInstanceForType()
Returns
getExportData()
public DataProfileAction.Export getExportData()
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
getParserForType()
public Parser<DataProfileAction> getParserForType()
Returns
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
getPubSubNotificationOrBuilder()
public DataProfileAction.PubSubNotificationOrBuilder getPubSubNotificationOrBuilder()
Publish a message into the Pub/Sub topic.
.google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DataProfileAction.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataProfileAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DataProfileAction.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions