Class PrivacyMetric.KMapEstimationConfig.TaggedField.Builder (3.28.0)

public static final class PrivacyMetric.KMapEstimationConfig.TaggedField.Builder extends GeneratedMessageV3.Builder<PrivacyMetric.KMapEstimationConfig.TaggedField.Builder> implements PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder

A column with a semantic tag attached.

Protobuf type google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PrivacyMetric.KMapEstimationConfig.TaggedField build()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField

buildPartial()

public PrivacyMetric.KMapEstimationConfig.TaggedField buildPartial()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField

clear()

public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder clear()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder
Overrides

clearCustomTag()

public PrivacyMetric.KMapEstimationConfig.TaggedField.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
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

This builder for chaining.

clearField()

public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder clearField()

Required. Identifies the column.

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

Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

clearField(Descriptors.FieldDescriptor field)

public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder
Overrides

clearInferred()

public PrivacyMetric.KMapEstimationConfig.TaggedField.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
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

clearInfoType()

public PrivacyMetric.KMapEstimationConfig.TaggedField.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
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder
Overrides

clearTag()

public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder clearTag()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

clone()

public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder clone()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.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
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 = 3;

Returns
TypeDescription
ByteString

The bytes for customTag.

getDefaultInstanceForType()

public PrivacyMetric.KMapEstimationConfig.TaggedField getDefaultInstanceForType()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getField()

public FieldId getField()

Required. Identifies the column.

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

Returns
TypeDescription
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
TypeDescription
FieldId.Builder

getFieldOrBuilder()

public FieldIdOrBuilder getFieldOrBuilder()

Required. Identifies the column.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InfoTypeOrBuilder

getTagCase()

public PrivacyMetric.KMapEstimationConfig.TaggedField.TagCase getTagCase()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

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

Required. Identifies the column.

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

Parameter
NameDescription
valueFieldId
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

mergeFrom(PrivacyMetric.KMapEstimationConfig.TaggedField other)

public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder mergeFrom(PrivacyMetric.KMapEstimationConfig.TaggedField other)
Parameter
NameDescription
otherPrivacyMetric.KMapEstimationConfig.TaggedField
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder
Overrides

mergeInferred(Empty value)

public PrivacyMetric.KMapEstimationConfig.TaggedField.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
NameDescription
valueEmpty
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

mergeInfoType(InfoType value)

public PrivacyMetric.KMapEstimationConfig.TaggedField.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
NameDescription
valueInfoType
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrivacyMetric.KMapEstimationConfig.TaggedField.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder
Overrides

setCustomTag(String value)

public PrivacyMetric.KMapEstimationConfig.TaggedField.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
NameDescription
valueString

The customTag to set.

Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

This builder for chaining.

setCustomTagBytes(ByteString value)

public PrivacyMetric.KMapEstimationConfig.TaggedField.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
NameDescription
valueByteString

The bytes for customTag to set.

Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

This builder for chaining.

setField(FieldId value)

public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder setField(FieldId value)

Required. Identifies the column.

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

Parameter
NameDescription
valueFieldId
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

setField(FieldId.Builder builderForValue)

public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder setField(FieldId.Builder builderForValue)

Required. Identifies the column.

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

Parameter
NameDescription
builderForValueFieldId.Builder
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInferred(Empty value)

public PrivacyMetric.KMapEstimationConfig.TaggedField.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
NameDescription
valueEmpty
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

setInferred(Empty.Builder builderForValue)

public PrivacyMetric.KMapEstimationConfig.TaggedField.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
NameDescription
builderForValueBuilder
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

setInfoType(InfoType value)

public PrivacyMetric.KMapEstimationConfig.TaggedField.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
NameDescription
valueInfoType
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

setInfoType(InfoType.Builder builderForValue)

public PrivacyMetric.KMapEstimationConfig.TaggedField.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
NameDescription
builderForValueInfoType.Builder
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivacyMetric.KMapEstimationConfig.TaggedField.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder
Overrides