public static final class DataProfileAction.PubSubNotification.Builder extends GeneratedMessage.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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataProfileAction.PubSubNotification.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataProfileAction.PubSubNotification build()| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification |
|
buildPartial()
public DataProfileAction.PubSubNotification buildPartial()| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification |
|
clear()
public DataProfileAction.PubSubNotification.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
|
clearDetailOfMessage()
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;
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
This builder for chaining. |
clearEvent()
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;
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
This builder for chaining. |
clearPubsubCondition()
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;
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
|
clearTopic()
public DataProfileAction.PubSubNotification.Builder clearTopic()Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
string topic = 1;
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DataProfileAction.PubSubNotification getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDetailOfMessage()
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;
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.DetailLevel |
The detailOfMessage. |
getDetailOfMessageValue()
public 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;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for detailOfMessage. |
getEvent()
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;
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.EventType |
The event. |
getEventValue()
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;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for event. |
getPubsubCondition()
public DataProfilePubSubCondition getPubsubCondition()Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;
| Returns | |
|---|---|
| Type | Description |
DataProfilePubSubCondition |
The pubsubCondition. |
getPubsubConditionBuilder()
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;
| Returns | |
|---|---|
| Type | Description |
DataProfilePubSubCondition.Builder |
|
getPubsubConditionOrBuilder()
public DataProfilePubSubConditionOrBuilder getPubsubConditionOrBuilder()Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;
| Returns | |
|---|---|
| Type | Description |
DataProfilePubSubConditionOrBuilder |
|
getTopic()
public String getTopic()Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
string topic = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The topic. |
getTopicBytes()
public ByteString getTopicBytes()Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
string topic = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for topic. |
hasPubsubCondition()
public boolean hasPubsubCondition()Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
.google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pubsubCondition field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DataProfileAction.PubSubNotification other)
public DataProfileAction.PubSubNotification.Builder mergeFrom(DataProfileAction.PubSubNotification other)| Parameter | |
|---|---|
| Name | Description |
other |
DataProfileAction.PubSubNotification |
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataProfileAction.PubSubNotification.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataProfileAction.PubSubNotification.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
|
mergePubsubCondition(DataProfilePubSubCondition value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
DataProfilePubSubCondition |
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
|
setDetailOfMessage(DataProfileAction.PubSubNotification.DetailLevel value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
DataProfileAction.PubSubNotification.DetailLevelThe detailOfMessage to set. |
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
This builder for chaining. |
setDetailOfMessageValue(int value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for detailOfMessage to set. |
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
This builder for chaining. |
setEvent(DataProfileAction.EventType value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
DataProfileAction.EventTypeThe event to set. |
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
This builder for chaining. |
setEventValue(int value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for event to set. |
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
This builder for chaining. |
setPubsubCondition(DataProfilePubSubCondition value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
DataProfilePubSubCondition |
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
|
setPubsubCondition(DataProfilePubSubCondition.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataProfilePubSubCondition.Builder |
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
|
setTopic(String value)
public DataProfileAction.PubSubNotification.Builder setTopic(String value)Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
string topic = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe topic to set. |
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
This builder for chaining. |
setTopicBytes(ByteString value)
public DataProfileAction.PubSubNotification.Builder setTopicBytes(ByteString value)Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
string topic = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for topic to set. |
| Returns | |
|---|---|
| Type | Description |
DataProfileAction.PubSubNotification.Builder |
This builder for chaining. |