Class DiscoveryTarget.Builder (3.46.0)

public static final class DiscoveryTarget.Builder extends GeneratedMessageV3.Builder<DiscoveryTarget.Builder> implements DiscoveryTargetOrBuilder

Target used to match against for Discovery.

Protobuf type google.privacy.dlp.v2.DiscoveryTarget

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiscoveryTarget build()
Returns
Type Description
DiscoveryTarget

buildPartial()

public DiscoveryTarget buildPartial()
Returns
Type Description
DiscoveryTarget

clear()

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

clearBigQueryTarget()

public DiscoveryTarget.Builder clearBigQueryTarget()

BigQuery target for Discovery. The first target to match a table will be the one applied.

.google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;

Returns
Type Description
DiscoveryTarget.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTarget()

public DiscoveryTarget.Builder clearTarget()
Returns
Type Description
DiscoveryTarget.Builder

clone()

public DiscoveryTarget.Builder clone()
Returns
Type Description
DiscoveryTarget.Builder
Overrides

getBigQueryTarget()

public BigQueryDiscoveryTarget getBigQueryTarget()

BigQuery target for Discovery. The first target to match a table will be the one applied.

.google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;

Returns
Type Description
BigQueryDiscoveryTarget

The bigQueryTarget.

getBigQueryTargetBuilder()

public BigQueryDiscoveryTarget.Builder getBigQueryTargetBuilder()

BigQuery target for Discovery. The first target to match a table will be the one applied.

.google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;

Returns
Type Description
BigQueryDiscoveryTarget.Builder

getBigQueryTargetOrBuilder()

public BigQueryDiscoveryTargetOrBuilder getBigQueryTargetOrBuilder()

BigQuery target for Discovery. The first target to match a table will be the one applied.

.google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;

Returns
Type Description
BigQueryDiscoveryTargetOrBuilder

getDefaultInstanceForType()

public DiscoveryTarget getDefaultInstanceForType()
Returns
Type Description
DiscoveryTarget

getDescriptorForType()

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

getTargetCase()

public DiscoveryTarget.TargetCase getTargetCase()
Returns
Type Description
DiscoveryTarget.TargetCase

hasBigQueryTarget()

public boolean hasBigQueryTarget()

BigQuery target for Discovery. The first target to match a table will be the one applied.

.google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;

Returns
Type Description
boolean

Whether the bigQueryTarget field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigQueryTarget(BigQueryDiscoveryTarget value)

public DiscoveryTarget.Builder mergeBigQueryTarget(BigQueryDiscoveryTarget value)

BigQuery target for Discovery. The first target to match a table will be the one applied.

.google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;

Parameter
Name Description
value BigQueryDiscoveryTarget
Returns
Type Description
DiscoveryTarget.Builder

mergeFrom(DiscoveryTarget other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBigQueryTarget(BigQueryDiscoveryTarget value)

public DiscoveryTarget.Builder setBigQueryTarget(BigQueryDiscoveryTarget value)

BigQuery target for Discovery. The first target to match a table will be the one applied.

.google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;

Parameter
Name Description
value BigQueryDiscoveryTarget
Returns
Type Description
DiscoveryTarget.Builder

setBigQueryTarget(BigQueryDiscoveryTarget.Builder builderForValue)

public DiscoveryTarget.Builder setBigQueryTarget(BigQueryDiscoveryTarget.Builder builderForValue)

BigQuery target for Discovery. The first target to match a table will be the one applied.

.google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;

Parameter
Name Description
builderForValue BigQueryDiscoveryTarget.Builder
Returns
Type Description
DiscoveryTarget.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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