Interface DataProfilePubSubMessageOrBuilder (3.49.0)

public interface DataProfilePubSubMessageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEvent()

public abstract DataProfileAction.EventType getEvent()

The event that caused the Pub/Sub message to be sent.

.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;

Returns
Type Description
DataProfileAction.EventType

The event.

getEventValue()

public abstract int getEventValue()

The event that caused the Pub/Sub message to be sent.

.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;

Returns
Type Description
int

The enum numeric value on the wire for event.

getProfile()

public abstract TableDataProfile getProfile()

If DetailLevel is TABLE_PROFILE this will be fully populated. Otherwise, if DetailLevel is RESOURCE_NAME, then only name and full_resource will be populated.

.google.privacy.dlp.v2.TableDataProfile profile = 1;

Returns
Type Description
TableDataProfile

The profile.

getProfileOrBuilder()

public abstract TableDataProfileOrBuilder getProfileOrBuilder()

If DetailLevel is TABLE_PROFILE this will be fully populated. Otherwise, if DetailLevel is RESOURCE_NAME, then only name and full_resource will be populated.

.google.privacy.dlp.v2.TableDataProfile profile = 1;

Returns
Type Description
TableDataProfileOrBuilder

hasProfile()

public abstract boolean hasProfile()

If DetailLevel is TABLE_PROFILE this will be fully populated. Otherwise, if DetailLevel is RESOURCE_NAME, then only name and full_resource will be populated.

.google.privacy.dlp.v2.TableDataProfile profile = 1;

Returns
Type Description
boolean

Whether the profile field is set.