public static final class DataProfileAction.PubSubNotification.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataProfileAction.PubSubNotification.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataProfileAction.PubSubNotification.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| DataProfileAction.PubSubNotification.Builder |
build()
public DataProfileAction.PubSubNotification build()| Type | Description |
| DataProfileAction.PubSubNotification |
buildPartial()
public DataProfileAction.PubSubNotification buildPartial()| Type | Description |
| DataProfileAction.PubSubNotification |
clear()
public DataProfileAction.PubSubNotification.Builder clear()| 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;
| 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;
| Type | Description |
| DataProfileAction.PubSubNotification.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DataProfileAction.PubSubNotification.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| DataProfileAction.PubSubNotification.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataProfileAction.PubSubNotification.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| DataProfileAction.PubSubNotification.Builder |
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;
| 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;
| Type | Description |
| DataProfileAction.PubSubNotification.Builder | This builder for chaining. |
clone()
public DataProfileAction.PubSubNotification.Builder clone()| Type | Description |
| DataProfileAction.PubSubNotification.Builder |
getDefaultInstanceForType()
public DataProfileAction.PubSubNotification getDefaultInstanceForType()| Type | Description |
| DataProfileAction.PubSubNotification |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| 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;
| 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;
| 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;
| 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;
| 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;
| 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;
| 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;
| Type | Description |
| DataProfilePubSubConditionOrBuilder |
getTopic()
public String getTopic()Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
string topic = 1;
| 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;
| 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;
| Type | Description |
| boolean | Whether the pubsubCondition field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(DataProfileAction.PubSubNotification other)
public DataProfileAction.PubSubNotification.Builder mergeFrom(DataProfileAction.PubSubNotification other)| Name | Description |
| other | DataProfileAction.PubSubNotification |
| Type | Description |
| DataProfileAction.PubSubNotification.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataProfileAction.PubSubNotification.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| DataProfileAction.PubSubNotification.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public DataProfileAction.PubSubNotification.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| 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;
| Name | Description |
| value | DataProfilePubSubCondition |
| Type | Description |
| DataProfileAction.PubSubNotification.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataProfileAction.PubSubNotification.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| 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;
| Name | Description |
| value | DataProfileAction.PubSubNotification.DetailLevelThe detailOfMessage to set. |
| 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;
| Name | Description |
| value | intThe enum numeric value on the wire for detailOfMessage to set. |
| 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;
| Name | Description |
| value | DataProfileAction.EventTypeThe event to set. |
| 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;
| Name | Description |
| value | intThe enum numeric value on the wire for event to set. |
| Type | Description |
| DataProfileAction.PubSubNotification.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DataProfileAction.PubSubNotification.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| DataProfileAction.PubSubNotification.Builder |
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;
| Name | Description |
| value | DataProfilePubSubCondition |
| 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;
| Name | Description |
| builderForValue | DataProfilePubSubCondition.Builder |
| Type | Description |
| DataProfileAction.PubSubNotification.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataProfileAction.PubSubNotification.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| 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;
| Name | Description |
| value | StringThe topic to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for topic to set. |
| Type | Description |
| DataProfileAction.PubSubNotification.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataProfileAction.PubSubNotification.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| DataProfileAction.PubSubNotification.Builder |