Class StatisticalTable.QuasiIdentifierField.Builder (3.19.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StatisticalTable.QuasiIdentifierField build()
Returns
TypeDescription
StatisticalTable.QuasiIdentifierField

buildPartial()

public StatisticalTable.QuasiIdentifierField buildPartial()
Returns
TypeDescription
StatisticalTable.QuasiIdentifierField

clear()

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

This builder for chaining.

clearField()

public StatisticalTable.QuasiIdentifierField.Builder clearField()

Identifies the column.

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

Returns
TypeDescription
StatisticalTable.QuasiIdentifierField.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public StatisticalTable.QuasiIdentifierField.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for customTag.

getDefaultInstanceForType()

public StatisticalTable.QuasiIdentifierField getDefaultInstanceForType()
Returns
TypeDescription
StatisticalTable.QuasiIdentifierField

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getField()

public FieldId getField()

Identifies the column.

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

Returns
TypeDescription
FieldId

The field.

getFieldBuilder()

public FieldId.Builder getFieldBuilder()

Identifies the column.

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

Returns
TypeDescription
FieldId.Builder

getFieldOrBuilder()

public FieldIdOrBuilder getFieldOrBuilder()

Identifies the column.

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

Returns
TypeDescription
FieldIdOrBuilder

hasField()

public boolean hasField()

Identifies the column.

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

Returns
TypeDescription
boolean

Whether the field field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeField(FieldId value)

public StatisticalTable.QuasiIdentifierField.Builder mergeField(FieldId value)

Identifies the column.

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

Parameter
NameDescription
valueFieldId
Returns
TypeDescription
StatisticalTable.QuasiIdentifierField.Builder

mergeFrom(StatisticalTable.QuasiIdentifierField other)

public StatisticalTable.QuasiIdentifierField.Builder mergeFrom(StatisticalTable.QuasiIdentifierField other)
Parameter
NameDescription
otherStatisticalTable.QuasiIdentifierField
Returns
TypeDescription
StatisticalTable.QuasiIdentifierField.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StatisticalTable.QuasiIdentifierField.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The customTag to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for customTag to set.

Returns
TypeDescription
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
NameDescription
valueFieldId
Returns
TypeDescription
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
NameDescription
builderForValueFieldId.Builder
Returns
TypeDescription
StatisticalTable.QuasiIdentifierField.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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