Class Action.PublishFindingsToCloudDataCatalog.Builder (3.46.0)

public static final class Action.PublishFindingsToCloudDataCatalog.Builder extends GeneratedMessageV3.Builder<Action.PublishFindingsToCloudDataCatalog.Builder> implements Action.PublishFindingsToCloudDataCatalogOrBuilder

Publish findings of a DlpJob to Data Catalog. In Data Catalog, tag templates are applied to the resource that Cloud DLP scanned. Data Catalog tag templates are stored in the same project and region where the BigQuery table exists. For Cloud DLP to create and apply the tag template, the Cloud DLP service agent must have the roles/datacatalog.tagTemplateOwner permission on the project. The tag template contains fields summarizing the results of the DlpJob. Any field values previously written by another DlpJob are deleted. InfoType naming patterns are strictly enforced when using this feature.

Findings are persisted in Data Catalog storage and are governed by service-specific policies for Data Catalog. For more information, see Service Specific Terms.

Only a single instance of this action can be specified. This action is allowed only if all resources being scanned are BigQuery tables. Compatible with: Inspect

Protobuf type google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Action.PublishFindingsToCloudDataCatalog build()
Returns
Type Description
Action.PublishFindingsToCloudDataCatalog

buildPartial()

public Action.PublishFindingsToCloudDataCatalog buildPartial()
Returns
Type Description
Action.PublishFindingsToCloudDataCatalog

clear()

public Action.PublishFindingsToCloudDataCatalog.Builder clear()
Returns
Type Description
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Action.PublishFindingsToCloudDataCatalog.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides

clone()

public Action.PublishFindingsToCloudDataCatalog.Builder clone()
Returns
Type Description
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides

getDefaultInstanceForType()

public Action.PublishFindingsToCloudDataCatalog getDefaultInstanceForType()
Returns
Type Description
Action.PublishFindingsToCloudDataCatalog

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Action.PublishFindingsToCloudDataCatalog other)

public Action.PublishFindingsToCloudDataCatalog.Builder mergeFrom(Action.PublishFindingsToCloudDataCatalog other)
Parameter
Name Description
other Action.PublishFindingsToCloudDataCatalog
Returns
Type Description
Action.PublishFindingsToCloudDataCatalog.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Action.PublishFindingsToCloudDataCatalog.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Action.PublishFindingsToCloudDataCatalog.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Action.PublishFindingsToCloudDataCatalog.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Action.PublishFindingsToCloudDataCatalog.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Action.PublishFindingsToCloudDataCatalog.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Action.PublishFindingsToCloudDataCatalog.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides