Class Action.PublishFindingsToCloudDataCatalog.Builder (3.27.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Action.PublishFindingsToCloudDataCatalog.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides

build()

public Action.PublishFindingsToCloudDataCatalog build()
Returns
TypeDescription
Action.PublishFindingsToCloudDataCatalog

buildPartial()

public Action.PublishFindingsToCloudDataCatalog buildPartial()
Returns
TypeDescription
Action.PublishFindingsToCloudDataCatalog

clear()

public Action.PublishFindingsToCloudDataCatalog.Builder clear()
Returns
TypeDescription
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Action.PublishFindingsToCloudDataCatalog.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Action.PublishFindingsToCloudDataCatalog.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides

clone()

public Action.PublishFindingsToCloudDataCatalog.Builder clone()
Returns
TypeDescription
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides

getDefaultInstanceForType()

public Action.PublishFindingsToCloudDataCatalog getDefaultInstanceForType()
Returns
TypeDescription
Action.PublishFindingsToCloudDataCatalog

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Action.PublishFindingsToCloudDataCatalog other)

public Action.PublishFindingsToCloudDataCatalog.Builder mergeFrom(Action.PublishFindingsToCloudDataCatalog other)
Parameter
NameDescription
otherAction.PublishFindingsToCloudDataCatalog
Returns
TypeDescription
Action.PublishFindingsToCloudDataCatalog.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Action.PublishFindingsToCloudDataCatalog.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Action.PublishFindingsToCloudDataCatalog.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Action.PublishFindingsToCloudDataCatalog.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Action.PublishFindingsToCloudDataCatalog.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Action.PublishFindingsToCloudDataCatalog.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Action.PublishFindingsToCloudDataCatalog.Builder
Overrides