Class StatisticalTable.QuasiIdentifierField.Builder (3.50.0)

public static final class StatisticalTable.QuasiIdentifierField.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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 (below).

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 (below).

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 (below).

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StatisticalTable.QuasiIdentifierField.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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 (below).

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 (below).

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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