public static final class DataProfileAction.PubSubNotification.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataProfileAction.PubSubNotification.Builder> implements DataProfileAction.PubSubNotificationOrBuilder
Send a Pub/Sub message into the given Pub/Sub topic to connect other systems to data profile generation. The message payload data will be the byte serialization of `DataProfilePubSubMessage`.Protobuf type
google.privacy.dlp.v2.DataProfileAction.PubSubNotification| Modifier and Type | Method and Description |
|---|---|
DataProfileAction.PubSubNotification.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DataProfileAction.PubSubNotification |
build() |
DataProfileAction.PubSubNotification |
buildPartial() |
DataProfileAction.PubSubNotification.Builder |
clear() |
DataProfileAction.PubSubNotification.Builder |
clearDetailOfMessage()
How much data to include in the Pub/Sub message.
|
DataProfileAction.PubSubNotification.Builder |
clearEvent()
The type of event that triggers a Pub/Sub.
|
DataProfileAction.PubSubNotification.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DataProfileAction.PubSubNotification.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DataProfileAction.PubSubNotification.Builder |
clearPubsubCondition()
Conditions (e.g., data risk or sensitivity level) for triggering a
Pub/Sub.
|
DataProfileAction.PubSubNotification.Builder |
clearTopic()
Cloud Pub/Sub topic to send notifications to.
|
DataProfileAction.PubSubNotification.Builder |
clone() |
DataProfileAction.PubSubNotification |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DataProfileAction.PubSubNotification.DetailLevel |
getDetailOfMessage()
How much data to include in the Pub/Sub message.
|
int |
getDetailOfMessageValue()
How much data to include in the Pub/Sub message.
|
DataProfileAction.EventType |
getEvent()
The type of event that triggers a Pub/Sub.
|
int |
getEventValue()
The type of event that triggers a Pub/Sub.
|
DataProfilePubSubCondition |
getPubsubCondition()
Conditions (e.g., data risk or sensitivity level) for triggering a
Pub/Sub.
|
DataProfilePubSubCondition.Builder |
getPubsubConditionBuilder()
Conditions (e.g., data risk or sensitivity level) for triggering a
Pub/Sub.
|
DataProfilePubSubConditionOrBuilder |
getPubsubConditionOrBuilder()
Conditions (e.g., data risk or sensitivity level) for triggering a
Pub/Sub.
|
String |
getTopic()
Cloud Pub/Sub topic to send notifications to.
|
com.google.protobuf.ByteString |
getTopicBytes()
Cloud Pub/Sub topic to send notifications to.
|
boolean |
hasPubsubCondition()
Conditions (e.g., data risk or sensitivity level) for triggering a
Pub/Sub.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DataProfileAction.PubSubNotification.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DataProfileAction.PubSubNotification.Builder |
mergeFrom(DataProfileAction.PubSubNotification other) |
DataProfileAction.PubSubNotification.Builder |
mergeFrom(com.google.protobuf.Message other) |
DataProfileAction.PubSubNotification.Builder |
mergePubsubCondition(DataProfilePubSubCondition value)
Conditions (e.g., data risk or sensitivity level) for triggering a
Pub/Sub.
|
DataProfileAction.PubSubNotification.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DataProfileAction.PubSubNotification.Builder |
setDetailOfMessage(DataProfileAction.PubSubNotification.DetailLevel value)
How much data to include in the Pub/Sub message.
|
DataProfileAction.PubSubNotification.Builder |
setDetailOfMessageValue(int value)
How much data to include in the Pub/Sub message.
|
DataProfileAction.PubSubNotification.Builder |
setEvent(DataProfileAction.EventType value)
The type of event that triggers a Pub/Sub.
|
DataProfileAction.PubSubNotification.Builder |
setEventValue(int value)
The type of event that triggers a Pub/Sub.
|
DataProfileAction.PubSubNotification.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DataProfileAction.PubSubNotification.Builder |
setPubsubCondition(DataProfilePubSubCondition.Builder builderForValue)
Conditions (e.g., data risk or sensitivity level) for triggering a
Pub/Sub.
|
DataProfileAction.PubSubNotification.Builder |
setPubsubCondition(DataProfilePubSubCondition value)
Conditions (e.g., data risk or sensitivity level) for triggering a
Pub/Sub.
|
DataProfileAction.PubSubNotification.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DataProfileAction.PubSubNotification.Builder |
setTopic(String value)
Cloud Pub/Sub topic to send notifications to.
|
DataProfileAction.PubSubNotification.Builder |
setTopicBytes(com.google.protobuf.ByteString value)
Cloud Pub/Sub topic to send notifications to.
|
DataProfileAction.PubSubNotification.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<DataProfileAction.PubSubNotification.Builder>public DataProfileAction.PubSubNotification.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileAction.PubSubNotification.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<DataProfileAction.PubSubNotification.Builder>public DataProfileAction.PubSubNotification getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DataProfileAction.PubSubNotification build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DataProfileAction.PubSubNotification buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DataProfileAction.PubSubNotification.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileAction.PubSubNotification.Builder>public DataProfileAction.PubSubNotification.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<DataProfileAction.PubSubNotification.Builder>public DataProfileAction.PubSubNotification.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileAction.PubSubNotification.Builder>public DataProfileAction.PubSubNotification.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileAction.PubSubNotification.Builder>public DataProfileAction.PubSubNotification.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<DataProfileAction.PubSubNotification.Builder>public DataProfileAction.PubSubNotification.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<DataProfileAction.PubSubNotification.Builder>public DataProfileAction.PubSubNotification.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataProfileAction.PubSubNotification.Builder>public DataProfileAction.PubSubNotification.Builder mergeFrom(DataProfileAction.PubSubNotification other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileAction.PubSubNotification.Builder>public DataProfileAction.PubSubNotification.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<DataProfileAction.PubSubNotification.Builder>IOExceptionpublic String getTopic()
Cloud Pub/Sub topic to send notifications to.
Format is projects/{project}/topics/{topic}.
string topic = 1;getTopic in interface DataProfileAction.PubSubNotificationOrBuilderpublic com.google.protobuf.ByteString getTopicBytes()
Cloud Pub/Sub topic to send notifications to.
Format is projects/{project}/topics/{topic}.
string topic = 1;getTopicBytes in interface DataProfileAction.PubSubNotificationOrBuilderpublic DataProfileAction.PubSubNotification.Builder setTopic(String value)
Cloud Pub/Sub topic to send notifications to.
Format is projects/{project}/topics/{topic}.
string topic = 1;value - The topic to set.public DataProfileAction.PubSubNotification.Builder clearTopic()
Cloud Pub/Sub topic to send notifications to.
Format is projects/{project}/topics/{topic}.
string topic = 1;public DataProfileAction.PubSubNotification.Builder setTopicBytes(com.google.protobuf.ByteString value)
Cloud Pub/Sub topic to send notifications to.
Format is projects/{project}/topics/{topic}.
string topic = 1;value - The bytes for topic to set.public int getEventValue()
The type of event that triggers a Pub/Sub. At most one `PubSubNotification` per EventType is permitted.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;getEventValue in interface DataProfileAction.PubSubNotificationOrBuilderpublic DataProfileAction.PubSubNotification.Builder setEventValue(int value)
The type of event that triggers a Pub/Sub. At most one `PubSubNotification` per EventType is permitted.
.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 type of event that triggers a Pub/Sub. At most one `PubSubNotification` per EventType is permitted.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;getEvent in interface DataProfileAction.PubSubNotificationOrBuilderpublic DataProfileAction.PubSubNotification.Builder setEvent(DataProfileAction.EventType value)
The type of event that triggers a Pub/Sub. At most one `PubSubNotification` per EventType is permitted.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;value - The event to set.public DataProfileAction.PubSubNotification.Builder clearEvent()
The type of event that triggers a Pub/Sub. At most one `PubSubNotification` per EventType is permitted.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;public boolean hasPubsubCondition()
Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;hasPubsubCondition in interface DataProfileAction.PubSubNotificationOrBuilderpublic DataProfilePubSubCondition getPubsubCondition()
Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;getPubsubCondition in interface DataProfileAction.PubSubNotificationOrBuilderpublic DataProfileAction.PubSubNotification.Builder setPubsubCondition(DataProfilePubSubCondition value)
Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;public DataProfileAction.PubSubNotification.Builder setPubsubCondition(DataProfilePubSubCondition.Builder builderForValue)
Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;public DataProfileAction.PubSubNotification.Builder mergePubsubCondition(DataProfilePubSubCondition value)
Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;public DataProfileAction.PubSubNotification.Builder clearPubsubCondition()
Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;public DataProfilePubSubCondition.Builder getPubsubConditionBuilder()
Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;public DataProfilePubSubConditionOrBuilder getPubsubConditionOrBuilder()
Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;getPubsubConditionOrBuilder in interface DataProfileAction.PubSubNotificationOrBuilderpublic int getDetailOfMessageValue()
How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).
.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4;
getDetailOfMessageValue in interface DataProfileAction.PubSubNotificationOrBuilderpublic DataProfileAction.PubSubNotification.Builder setDetailOfMessageValue(int value)
How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).
.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4;
value - The enum numeric value on the wire for detailOfMessage to set.public DataProfileAction.PubSubNotification.DetailLevel getDetailOfMessage()
How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).
.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4;
getDetailOfMessage in interface DataProfileAction.PubSubNotificationOrBuilderpublic DataProfileAction.PubSubNotification.Builder setDetailOfMessage(DataProfileAction.PubSubNotification.DetailLevel value)
How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).
.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4;
value - The detailOfMessage to set.public DataProfileAction.PubSubNotification.Builder clearDetailOfMessage()
How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).
.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4;
public final DataProfileAction.PubSubNotification.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileAction.PubSubNotification.Builder>public final DataProfileAction.PubSubNotification.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataProfileAction.PubSubNotification.Builder>Copyright © 2022 Google LLC. All rights reserved.