Class QuasiId (3.46.0)

public final class QuasiId extends GeneratedMessageV3 implements QuasiIdOrBuilder

A column with a semantic tag attached.

Protobuf type google.privacy.dlp.v2.QuasiId

Implements

QuasiIdOrBuilder

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 QuasiId getDefaultInstance()
Returns
Type Description
QuasiId

getDescriptor()

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

newBuilder()

public static QuasiId.Builder newBuilder()
Returns
Type Description
QuasiId.Builder

newBuilder(QuasiId prototype)

public static QuasiId.Builder newBuilder(QuasiId prototype)
Parameter
Name Description
prototype QuasiId
Returns
Type Description
QuasiId.Builder

parseDelimitedFrom(InputStream input)

public static QuasiId parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QuasiId
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QuasiId parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuasiId
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static QuasiId parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
QuasiId
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QuasiId parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuasiId
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QuasiId parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
QuasiId
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QuasiId parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuasiId
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QuasiId parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
QuasiId
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QuasiId parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuasiId
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static QuasiId parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QuasiId
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QuasiId parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuasiId
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static QuasiId parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
QuasiId
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QuasiId parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuasiId
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<QuasiId> parser()
Returns
Type Description
Parser<QuasiId>

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 QuasiId getDefaultInstanceForType()
Returns
Type Description
QuasiId

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<QuasiId> getParserForType()
Returns
Type Description
Parser<QuasiId>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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 QuasiId.Builder newBuilderForType()
Returns
Type Description
QuasiId.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QuasiId.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
QuasiId.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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