Class PrivacyMetric.KMapEstimationConfig.TaggedField (3.52.0)

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

A column with a semantic tag attached.

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

Inheritance

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

Static Fields

CUSTOM_TAG_FIELD_NUMBER

public static final int CUSTOM_TAG_FIELD_NUMBER
Field Value
Type Description
int

FIELD_FIELD_NUMBER

public static final int FIELD_FIELD_NUMBER
Field Value
Type Description
int

INFERRED_FIELD_NUMBER

public static final int INFERRED_FIELD_NUMBER
Field Value
Type Description
int

INFO_TYPE_FIELD_NUMBER

public static final int INFO_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PrivacyMetric.KMapEstimationConfig.TaggedField getDefaultInstance()
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField

getDescriptor()

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

newBuilder()

public static PrivacyMetric.KMapEstimationConfig.TaggedField.Builder newBuilder()
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

newBuilder(PrivacyMetric.KMapEstimationConfig.TaggedField prototype)

public static PrivacyMetric.KMapEstimationConfig.TaggedField.Builder newBuilder(PrivacyMetric.KMapEstimationConfig.TaggedField prototype)
Parameter
Name Description
prototype PrivacyMetric.KMapEstimationConfig.TaggedField
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

parseDelimitedFrom(InputStream input)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PrivacyMetric.KMapEstimationConfig.TaggedField> parser()
Returns
Type Description
Parser<TaggedField>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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 PrivacyMetric.KMapEstimationConfig.TaggedField getDefaultInstanceForType()
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField

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.

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.

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.

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

getParserForType()

public Parser<PrivacyMetric.KMapEstimationConfig.TaggedField> getParserForType()
Returns
Type Description
Parser<TaggedField>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTagCase()

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder newBuilderForType()
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivacyMetric.KMapEstimationConfig.TaggedField.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder toBuilder()
Returns
Type Description
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException