Class PrivacyMetric.KMapEstimationConfig.TaggedField (3.4.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
TypeDescription
int

FIELD_FIELD_NUMBER

public static final int FIELD_FIELD_NUMBER
Field Value
TypeDescription
int

INFERRED_FIELD_NUMBER

public static final int INFERRED_FIELD_NUMBER
Field Value
TypeDescription
int

INFO_TYPE_FIELD_NUMBER

public static final int INFO_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PrivacyMetric.KMapEstimationConfig.TaggedField getDefaultInstance()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField

getDescriptor()

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

newBuilder()

public static PrivacyMetric.KMapEstimationConfig.TaggedField.Builder newBuilder()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

newBuilder(PrivacyMetric.KMapEstimationConfig.TaggedField prototype)

public static PrivacyMetric.KMapEstimationConfig.TaggedField.Builder newBuilder(PrivacyMetric.KMapEstimationConfig.TaggedField prototype)
Parameter
NameDescription
prototypePrivacyMetric.KMapEstimationConfig.TaggedField
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

parseDelimitedFrom(InputStream input)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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

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.

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.

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.

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTagCase()

public PrivacyMetric.KMapEstimationConfig.TaggedField.TagCase getTagCase()
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.TagCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivacyMetric.KMapEstimationConfig.TaggedField.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PrivacyMetric.KMapEstimationConfig.TaggedField.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException