Class StatisticalTable.QuasiIdentifierField.Builder (3.87.0)

public static final class StatisticalTable.QuasiIdentifierField.Builder extends GeneratedMessage.Builder<StatisticalTable.QuasiIdentifierField.Builder> implements StatisticalTable.QuasiIdentifierFieldOrBuilder

A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.

Protobuf type google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField

Static Methods

getDescriptor()

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

Methods

build()

public StatisticalTable.QuasiIdentifierField build()
Returns
Type Description
StatisticalTable.QuasiIdentifierField

buildPartial()

public StatisticalTable.QuasiIdentifierField buildPartial()
Returns
Type Description
StatisticalTable.QuasiIdentifierField

clear()

public StatisticalTable.QuasiIdentifierField.Builder clear()
Returns
Type Description
StatisticalTable.QuasiIdentifierField.Builder
Overrides

clearCustomTag()

public StatisticalTable.QuasiIdentifierField.Builder clearCustomTag()

A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column.

string custom_tag = 2;

Returns
Type Description
StatisticalTable.QuasiIdentifierField.Builder

This builder for chaining.

clearField()

public StatisticalTable.QuasiIdentifierField.Builder clearField()

Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1;

Returns
Type Description
StatisticalTable.QuasiIdentifierField.Builder

getCustomTag()

public String getCustomTag()

A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column.

string custom_tag = 2;

Returns
Type Description
String

The customTag.

getCustomTagBytes()

public ByteString getCustomTagBytes()

A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column.

string custom_tag = 2;

Returns
Type Description
ByteString

The bytes for customTag.

getDefaultInstanceForType()

public StatisticalTable.QuasiIdentifierField getDefaultInstanceForType()
Returns
Type Description
StatisticalTable.QuasiIdentifierField

getDescriptorForType()

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

getField()

public FieldId getField()

Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1;

Returns
Type Description
FieldId

The field.

getFieldBuilder()

public FieldId.Builder getFieldBuilder()

Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1;

Returns
Type Description
FieldId.Builder

getFieldOrBuilder()

public FieldIdOrBuilder getFieldOrBuilder()

Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1;

Returns
Type Description
FieldIdOrBuilder

hasField()

public boolean hasField()

Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1;

Returns
Type Description
boolean

Whether the field field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeField(FieldId value)

public StatisticalTable.QuasiIdentifierField.Builder mergeField(FieldId value)

Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1;

Parameter
Name Description
value FieldId
Returns
Type Description
StatisticalTable.QuasiIdentifierField.Builder

mergeFrom(StatisticalTable.QuasiIdentifierField other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCustomTag(String value)

public StatisticalTable.QuasiIdentifierField.Builder setCustomTag(String value)

A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column.

string custom_tag = 2;

Parameter
Name Description
value String

The customTag to set.

Returns
Type Description
StatisticalTable.QuasiIdentifierField.Builder

This builder for chaining.

setCustomTagBytes(ByteString value)

public StatisticalTable.QuasiIdentifierField.Builder setCustomTagBytes(ByteString value)

A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column.

string custom_tag = 2;

Parameter
Name Description
value ByteString

The bytes for customTag to set.

Returns
Type Description
StatisticalTable.QuasiIdentifierField.Builder

This builder for chaining.

setField(FieldId value)

public StatisticalTable.QuasiIdentifierField.Builder setField(FieldId value)

Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1;

Parameter
Name Description
value FieldId
Returns
Type Description
StatisticalTable.QuasiIdentifierField.Builder

setField(FieldId.Builder builderForValue)

public StatisticalTable.QuasiIdentifierField.Builder setField(FieldId.Builder builderForValue)

Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1;

Parameter
Name Description
builderForValue FieldId.Builder
Returns
Type Description
StatisticalTable.QuasiIdentifierField.Builder