Class DiscoveryTarget.Builder (3.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiscoveryTarget build()
Returns
TypeDescription
DiscoveryTarget

buildPartial()

public DiscoveryTarget buildPartial()
Returns
TypeDescription
DiscoveryTarget

clear()

public DiscoveryTarget.Builder clear()
Returns
TypeDescription
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
TypeDescription
DiscoveryTarget.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTarget()

public DiscoveryTarget.Builder clearTarget()
Returns
TypeDescription
DiscoveryTarget.Builder

clone()

public DiscoveryTarget.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
BigQueryDiscoveryTargetOrBuilder

getDefaultInstanceForType()

public DiscoveryTarget getDefaultInstanceForType()
Returns
TypeDescription
DiscoveryTarget

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTargetCase()

public DiscoveryTarget.TargetCase getTargetCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the bigQueryTarget field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueBigQueryDiscoveryTarget
Returns
TypeDescription
DiscoveryTarget.Builder

mergeFrom(DiscoveryTarget other)

public DiscoveryTarget.Builder mergeFrom(DiscoveryTarget other)
Parameter
NameDescription
otherDiscoveryTarget
Returns
TypeDescription
DiscoveryTarget.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryTarget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueBigQueryDiscoveryTarget
Returns
TypeDescription
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
NameDescription
builderForValueBigQueryDiscoveryTarget.Builder
Returns
TypeDescription
DiscoveryTarget.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryTarget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DiscoveryTarget.Builder
Overrides

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

public DiscoveryTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DiscoveryTarget.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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