Class QuasiId (3.23.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
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 QuasiId getDefaultInstance()
Returns
TypeDescription
QuasiId

getDescriptor()

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

newBuilder()

public static QuasiId.Builder newBuilder()
Returns
TypeDescription
QuasiId.Builder

newBuilder(QuasiId prototype)

public static QuasiId.Builder newBuilder(QuasiId prototype)
Parameter
NameDescription
prototypeQuasiId
Returns
TypeDescription
QuasiId.Builder

parseDelimitedFrom(InputStream input)

public static QuasiId parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QuasiId
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QuasiId parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QuasiId
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static QuasiId parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
QuasiId
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static QuasiId parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
QuasiId
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QuasiId parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QuasiId
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QuasiId parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
QuasiId
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QuasiId parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QuasiId
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static QuasiId parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QuasiId
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QuasiId parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QuasiId
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static QuasiId parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
QuasiId
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QuasiId parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QuasiId
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<QuasiId> parser()
Returns
TypeDescription
Parser<QuasiId>

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

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTagCase()

public QuasiId.TagCase getTagCase()
Returns
TypeDescription
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
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 QuasiId.Builder newBuilderForType()
Returns
TypeDescription
QuasiId.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QuasiId.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
QuasiId.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public QuasiId.Builder toBuilder()
Returns
TypeDescription
QuasiId.Builder

writeTo(CodedOutputStream output)

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