public static final class DataProfilePubSubMessage.Builder extends com.google.protobuf.GeneratedMessageV3.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| Modifier and Type | Method and Description |
|---|---|
DataProfilePubSubMessage.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DataProfilePubSubMessage |
build() |
DataProfilePubSubMessage |
buildPartial() |
DataProfilePubSubMessage.Builder |
clear() |
DataProfilePubSubMessage.Builder |
clearEvent()
The event that caused the Pub/Sub message to be sent.
|
DataProfilePubSubMessage.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DataProfilePubSubMessage.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DataProfilePubSubMessage.Builder |
clearProfile()
If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
|
DataProfilePubSubMessage.Builder |
clone() |
DataProfilePubSubMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DataProfileAction.EventType |
getEvent()
The event that caused the Pub/Sub message to be sent.
|
int |
getEventValue()
The event that caused the Pub/Sub message to be sent.
|
TableDataProfile |
getProfile()
If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
|
TableDataProfile.Builder |
getProfileBuilder()
If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
|
TableDataProfileOrBuilder |
getProfileOrBuilder()
If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
|
boolean |
hasProfile()
If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DataProfilePubSubMessage.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DataProfilePubSubMessage.Builder |
mergeFrom(DataProfilePubSubMessage other) |
DataProfilePubSubMessage.Builder |
mergeFrom(com.google.protobuf.Message other) |
DataProfilePubSubMessage.Builder |
mergeProfile(TableDataProfile value)
If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
|
DataProfilePubSubMessage.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DataProfilePubSubMessage.Builder |
setEvent(DataProfileAction.EventType value)
The event that caused the Pub/Sub message to be sent.
|
DataProfilePubSubMessage.Builder |
setEventValue(int value)
The event that caused the Pub/Sub message to be sent.
|
DataProfilePubSubMessage.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DataProfilePubSubMessage.Builder |
setProfile(TableDataProfile.Builder builderForValue)
If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
|
DataProfilePubSubMessage.Builder |
setProfile(TableDataProfile value)
If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
|
DataProfilePubSubMessage.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DataProfilePubSubMessage.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfilePubSubMessage.Builder>public DataProfilePubSubMessage.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfilePubSubMessage.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfilePubSubMessage.Builder>public DataProfilePubSubMessage getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DataProfilePubSubMessage build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DataProfilePubSubMessage buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DataProfilePubSubMessage.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfilePubSubMessage.Builder>public DataProfilePubSubMessage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfilePubSubMessage.Builder>public DataProfilePubSubMessage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfilePubSubMessage.Builder>public DataProfilePubSubMessage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfilePubSubMessage.Builder>public DataProfilePubSubMessage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfilePubSubMessage.Builder>public DataProfilePubSubMessage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfilePubSubMessage.Builder>public DataProfilePubSubMessage.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataProfilePubSubMessage.Builder>public DataProfilePubSubMessage.Builder mergeFrom(DataProfilePubSubMessage other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfilePubSubMessage.Builder>public DataProfilePubSubMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataProfilePubSubMessage.Builder>IOExceptionpublic 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;hasProfile in interface DataProfilePubSubMessageOrBuilderpublic 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;getProfile in interface DataProfilePubSubMessageOrBuilderpublic DataProfilePubSubMessage.Builder setProfile(TableDataProfile value)
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;public DataProfilePubSubMessage.Builder setProfile(TableDataProfile.Builder builderForValue)
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;public DataProfilePubSubMessage.Builder mergeProfile(TableDataProfile value)
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;public DataProfilePubSubMessage.Builder 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;public TableDataProfile.Builder 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;public 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;getProfileOrBuilder in interface DataProfilePubSubMessageOrBuilderpublic int getEventValue()
The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;getEventValue in interface DataProfilePubSubMessageOrBuilderpublic DataProfilePubSubMessage.Builder setEventValue(int value)
The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;value - The enum numeric value on the wire for event to set.public DataProfileAction.EventType getEvent()
The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;getEvent in interface DataProfilePubSubMessageOrBuilderpublic DataProfilePubSubMessage.Builder setEvent(DataProfileAction.EventType value)
The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;value - The event to set.public DataProfilePubSubMessage.Builder clearEvent()
The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;public final DataProfilePubSubMessage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfilePubSubMessage.Builder>public final DataProfilePubSubMessage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfilePubSubMessage.Builder>Copyright © 2022 Google LLC. All rights reserved.