Class DataProfilePubSubMessage.Builder (3.49.0)

public static final class DataProfilePubSubMessage.Builder extends 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataProfilePubSubMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataProfilePubSubMessage.Builder
Overrides

build()

public DataProfilePubSubMessage build()
Returns
Type Description
DataProfilePubSubMessage

buildPartial()

public DataProfilePubSubMessage buildPartial()
Returns
Type Description
DataProfilePubSubMessage

clear()

public DataProfilePubSubMessage.Builder clear()
Returns
Type Description
DataProfilePubSubMessage.Builder
Overrides

clearEvent()

public DataProfilePubSubMessage.Builder clearEvent()

The event that caused the Pub/Sub message to be sent.

.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;

Returns
Type Description
DataProfilePubSubMessage.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DataProfilePubSubMessage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataProfilePubSubMessage.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProfilePubSubMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
<