Class QuasiId.Builder (3.59.0)

public static final class QuasiId.Builder extends GeneratedMessageV3.Builder<QuasiId.Builder> implements QuasiIdOrBuilder

A column with a semantic tag attached.

Protobuf type google.privacy.dlp.v2.QuasiId

Implements

QuasiIdOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QuasiId build()
Returns
Type Description
QuasiId

buildPartial()

public QuasiId buildPartial()
Returns
Type Description
QuasiId

clear()

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

clearCustomTag()

public QuasiId.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 = 3;

Returns
Type Description
QuasiId.Builder

This builder for chaining.

clearField()

public QuasiId.Builder clearField()

Required. Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QuasiId.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInferred()

public QuasiId.Builder clearInferred()

If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data

.google.protobuf.Empty inferred = 4;

Returns
Type Description
QuasiId.Builder

clearInfoType()

public QuasiId.Builder clearInfoType()

A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available. We currently support US ZIP codes, region codes, ages and genders. To programmatically obtain the list of supported InfoTypes, use ListInfoTypes with the supported_by=RISK_ANALYSIS filter.

.google.privacy.dlp.v2.InfoType info_type = 2;

Returns
Type Description
QuasiId.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTag()

public QuasiId.Builder clearTag()
Returns
Type Description
QuasiId.Builder

clone()

public QuasiId.Builder clone()
Returns
Type Description
QuasiId.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 = 3;

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 = 3;

Returns
Type Description
ByteString

The bytes for customTag.

getDefaultInstanceForType()

public QuasiId getDefaultInstanceForType()
Returns
Type Description
QuasiId

getDescriptorForType()

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

getField()

public FieldId getField()

Required. Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldId

The field.

getFieldBuilder()

public FieldId.Builder getFieldBuilder()

Required. Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldId.Builder

getFieldOrBuilder()

public FieldIdOrBuilder getFieldOrBuilder()

Required. Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldIdOrBuilder

getInferred()

public Empty getInferred()

If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data

.google.protobuf.Empty inferred = 4;

Returns
Type Description
Empty

The inferred.

getInferredBuilder()

public Empty.Builder getInferredBuilder()

If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data

.google.protobuf.Empty inferred = 4;

Returns
Type Description
Builder

getInferredOrBuilder()

public EmptyOrBuilder getInferredOrBuilder()

If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data

.google.protobuf.Empty inferred = 4;

Returns
Type Description
EmptyOrBuilder

getInfoType()

public InfoType getInfoType()

A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available. We currently support US ZIP codes, region codes, ages and genders. To programmatically obtain the list of supported InfoTypes, use ListInfoTypes with the supported_by=RISK_ANALYSIS filter.

.google.privacy.dlp.v2.InfoType info_type = 2;

Returns
Type Description
InfoType

The infoType.

getInfoTypeBuilder()

public InfoType.Builder getInfoTypeBuilder()

A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available. We currently support US ZIP codes, region codes, ages and genders. To programmatically obtain the list of supported InfoTypes, use ListInfoTypes with the supported_by=RISK_ANALYSIS filter.

.google.privacy.dlp.v2.InfoType info_type = 2;

Returns
Type Description
InfoType.Builder

getInfoTypeOrBuilder()

public InfoTypeOrBuilder getInfoTypeOrBuilder()

A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available. We currently support US ZIP codes, region codes, ages and genders. To programmatically obtain the list of supported InfoTypes, use ListInfoTypes with the supported_by=RISK_ANALYSIS filter.

.google.privacy.dlp.v2.InfoType info_type = 2;

Returns
Type Description
InfoTypeOrBuilder

getTagCase()

public QuasiId.TagCase getTagCase()
Returns
Type Description
QuasiId.TagCase

hasCustomTag()

public boolean hasCustomTag()

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 = 3;

Returns
Type Description
boolean

Whether the customTag field is set.

hasField()

public boolean hasField()

Required. Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the field field is set.

hasInferred()

public boolean hasInferred()

If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data

.google.protobuf.Empty inferred = 4;

Returns
Type Description
boolean

Whether the inferred field is set.

hasInfoType()

public boolean hasInfoType()

A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available. We currently support US ZIP codes, region codes, ages and genders. To programmatically obtain the list of supported InfoTypes, use ListInfoTypes with the supported_by=RISK_ANALYSIS filter.

.google.privacy.dlp.v2.InfoType info_type = 2;

Returns
Type Description
boolean

Whether the infoType 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 QuasiId.Builder mergeField(FieldId value)

Required. Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldId
Returns
Type Description
QuasiId.Builder

mergeFrom(QuasiId other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInferred(Empty value)

public QuasiId.Builder mergeInferred(Empty value)

If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data

.google.protobuf.Empty inferred = 4;

Parameter
Name Description
value Empty
Returns
Type Description
QuasiId.Builder

mergeInfoType(InfoType value)

public QuasiId.Builder mergeInfoType(InfoType value)

A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available. We currently support US ZIP codes, region codes, ages and genders. To programmatically obtain the list of supported InfoTypes, use ListInfoTypes with the supported_by=RISK_ANALYSIS filter.

.google.privacy.dlp.v2.InfoType info_type = 2;

Parameter
Name Description
value InfoType
Returns
Type Description
QuasiId.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCustomTag(String value)

public QuasiId.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 = 3;

Parameter
Name Description
value String

The customTag to set.

Returns
Type Description
QuasiId.Builder

This builder for chaining.

setCustomTagBytes(ByteString value)

public QuasiId.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 = 3;

Parameter
Name Description
value ByteString

The bytes for customTag to set.

Returns
Type Description
QuasiId.Builder

This builder for chaining.

setField(FieldId value)

public QuasiId.Builder setField(FieldId value)

Required. Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldId
Returns
Type Description
QuasiId.Builder

setField(FieldId.Builder builderForValue)

public QuasiId.Builder setField(FieldId.Builder builderForValue)

Required. Identifies the column.

.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue FieldId.Builder
Returns
Type Description
QuasiId.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInferred(Empty value)

public QuasiId.Builder setInferred(Empty value)

If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data

.google.protobuf.Empty inferred = 4;

Parameter
Name Description
value Empty
Returns
Type Description
QuasiId.Builder

setInferred(Empty.Builder builderForValue)

public QuasiId.Builder setInferred(Empty.Builder builderForValue)

If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data

.google.protobuf.Empty inferred = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
QuasiId.Builder

setInfoType(InfoType value)

public QuasiId.Builder setInfoType(InfoType value)

A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available. We currently support US ZIP codes, region codes, ages and genders. To programmatically obtain the list of supported InfoTypes, use ListInfoTypes with the supported_by=RISK_ANALYSIS filter.

.google.privacy.dlp.v2.InfoType info_type = 2;

Parameter
Name Description
value InfoType
Returns
Type Description
QuasiId.Builder

setInfoType(InfoType.Builder builderForValue)

public QuasiId.Builder setInfoType(InfoType.Builder builderForValue)

A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available. We currently support US ZIP codes, region codes, ages and genders. To programmatically obtain the list of supported InfoTypes, use ListInfoTypes with the supported_by=RISK_ANALYSIS filter.

.google.privacy.dlp.v2.InfoType info_type = 2;

Parameter
Name Description
builderForValue InfoType.Builder
Returns
Type Description
QuasiId.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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