Package com.google.privacy.dlp.v2
Interface DataProfilePubSubMessageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataProfilePubSubMessage,DataProfilePubSubMessage.Builder
@Generated
public interface DataProfilePubSubMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEvent()The event that caused the Pub/Sub message to be sent.intThe event that caused the Pub/Sub message to be sent.If `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated.If `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated.If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.booleanIf `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated.booleanIf `DetailLevel` is `TABLE_PROFILE` this will be fully populated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasProfile
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:
- Whether the profile field is set.
-
getProfile
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:
- The profile.
-
getProfileOrBuilder
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; -
hasFileStoreProfile
boolean hasFileStoreProfile()If `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated. Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and `file_store_path` will be populated.
.google.privacy.dlp.v2.FileStoreDataProfile file_store_profile = 3;- Returns:
- Whether the fileStoreProfile field is set.
-
getFileStoreProfile
FileStoreDataProfile getFileStoreProfile()If `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated. Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and `file_store_path` will be populated.
.google.privacy.dlp.v2.FileStoreDataProfile file_store_profile = 3;- Returns:
- The fileStoreProfile.
-
getFileStoreProfileOrBuilder
FileStoreDataProfileOrBuilder getFileStoreProfileOrBuilder()If `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated. Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and `file_store_path` will be populated.
.google.privacy.dlp.v2.FileStoreDataProfile file_store_profile = 3; -
getEventValue
int getEventValue()The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;- Returns:
- The enum numeric value on the wire for event.
-
getEvent
DataProfileAction.EventType getEvent()The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;- Returns:
- The event.
-