public final class QuasiId extends GeneratedMessageV3 implements QuasiIdOrBuilder
A column with a semantic tag attached.
Protobuf type google.privacy.dlp.v2.QuasiId
Static Fields
CUSTOM_TAG_FIELD_NUMBER
public static final int CUSTOM_TAG_FIELD_NUMBER
Field Value
FIELD_FIELD_NUMBER
public static final int FIELD_FIELD_NUMBER
Field Value
INFERRED_FIELD_NUMBER
public static final int INFERRED_FIELD_NUMBER
Field Value
INFO_TYPE_FIELD_NUMBER
public static final int INFO_TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static QuasiId getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static QuasiId.Builder newBuilder()
Returns
newBuilder(QuasiId prototype)
public static QuasiId.Builder newBuilder(QuasiId prototype)
Parameter
Returns
public static QuasiId parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static QuasiId parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static QuasiId parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QuasiId parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static QuasiId parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QuasiId parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static QuasiId parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static QuasiId parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static QuasiId parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static QuasiId parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static QuasiId parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static QuasiId parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<QuasiId> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
getDefaultInstanceForType()
public QuasiId getDefaultInstanceForType()
Returns
getField()
public FieldId getField()
Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getFieldOrBuilder()
public FieldIdOrBuilder getFieldOrBuilder()
Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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
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
getParserForType()
public Parser<QuasiId> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTagCase()
public QuasiId.TagCase getTagCase()
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public QuasiId.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected QuasiId.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public QuasiId.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions