- 3.56.0 (latest)
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataProfileAction.PubSubNotification.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DataProfileAction.PubSubNotification.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public DataProfileAction.PubSubNotification.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
DataProfileAction.PubSubNotification.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataProfileAction.PubSubNotification.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
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. |
clone()
public DataProfileAction.PubSubNotification.Builder clone()
Returns | |
---|---|
Type | Description |
DataProfileAction.PubSubNotification.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataProfileAction.PubSubNotification.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
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.DetailLevel The 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 | int The 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.EventType The 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 | int The enum numeric value on the wire for event to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
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 |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataProfileAction.PubSubNotification.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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 | String The 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 | ByteString The bytes for topic to set. |
Returns | |
---|---|
Type | Description |
DataProfileAction.PubSubNotification.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataProfileAction.PubSubNotification.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataProfileAction.PubSubNotification.Builder |