Package com.google.privacy.dlp.v2
Class DataProfilePubSubMessage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataProfilePubSubMessage.Builder>
com.google.privacy.dlp.v2.DataProfilePubSubMessage.Builder
- All Implemented Interfaces:
DataProfilePubSubMessageOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataProfilePubSubMessage
public static final class DataProfilePubSubMessage.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataProfilePubSubMessage.Builder>
implements DataProfilePubSubMessageOrBuilder
Pub/Sub topic message for a DataProfileAction.PubSubNotification event. To receive a message of protocol buffer schema type, convert the message data to an object of this proto class.Protobuf type
google.privacy.dlp.v2.DataProfilePubSubMessage-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The event that caused the Pub/Sub message to be sent.If `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated.If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEvent()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 `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.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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanIf `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeProfile(TableDataProfile value) If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.The event that caused the Pub/Sub message to be sent.setEventValue(int value) The event that caused the Pub/Sub message to be sent.If `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated.setFileStoreProfile(FileStoreDataProfile.Builder builderForValue) If `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated.setProfile(TableDataProfile value) If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.setProfile(TableDataProfile.Builder builderForValue) If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataProfilePubSubMessage.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataProfilePubSubMessage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataProfilePubSubMessage.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataProfilePubSubMessage.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataProfilePubSubMessage.Builder>
-
mergeFrom
public DataProfilePubSubMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataProfilePubSubMessage.Builder>- Throws:
IOException
-
hasProfile
public 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;- Specified by:
hasProfilein interfaceDataProfilePubSubMessageOrBuilder- Returns:
- Whether the profile field is set.
-
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;- Specified by:
getProfilein interfaceDataProfilePubSubMessageOrBuilder- Returns:
- The profile.
-
setProfile
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; -
setProfile
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; -
mergeProfile
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; -
clearProfile
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; -
getProfileBuilder
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; -
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;- Specified by:
getProfileOrBuilderin interfaceDataProfilePubSubMessageOrBuilder
-
hasFileStoreProfile
public 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;- Specified by:
hasFileStoreProfilein interfaceDataProfilePubSubMessageOrBuilder- Returns:
- Whether the fileStoreProfile field is set.
-
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;- Specified by:
getFileStoreProfilein interfaceDataProfilePubSubMessageOrBuilder- Returns:
- The fileStoreProfile.
-
setFileStoreProfile
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; -
setFileStoreProfile
public DataProfilePubSubMessage.Builder setFileStoreProfile(FileStoreDataProfile.Builder builderForValue) 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; -
mergeFileStoreProfile
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; -
clearFileStoreProfile
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; -
getFileStoreProfileBuilder
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; -
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;- Specified by:
getFileStoreProfileOrBuilderin interfaceDataProfilePubSubMessageOrBuilder
-
getEventValue
public int getEventValue()The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;- Specified by:
getEventValuein interfaceDataProfilePubSubMessageOrBuilder- Returns:
- The enum numeric value on the wire for event.
-
setEventValue
The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;- Parameters:
value- The enum numeric value on the wire for event to set.- Returns:
- This builder for chaining.
-
getEvent
The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;- Specified by:
getEventin interfaceDataProfilePubSubMessageOrBuilder- Returns:
- The event.
-
setEvent
The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;- Parameters:
value- The event to set.- Returns:
- This builder for chaining.
-
clearEvent
The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;- Returns:
- This builder for chaining.
-