public final class QuasiId extends GeneratedMessageV3 implements QuasiIdOrBuilder
A column with a semantic tag attached.
Protobuf type google.privacy.dlp.v2.QuasiId
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static QuasiId.Builder newBuilder()
newBuilder(QuasiId prototype)
public static QuasiId.Builder newBuilder(QuasiId prototype)
Parameter |
---|
Name | Description |
prototype | QuasiId
|
public static QuasiId parseDelimitedFrom(InputStream input)
public static QuasiId parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static QuasiId parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QuasiId parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static QuasiId parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QuasiId parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QuasiId parseFrom(CodedInputStream input)
public static QuasiId parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static QuasiId parseFrom(InputStream input)
public static QuasiId parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static QuasiId parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static QuasiId parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<QuasiId> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
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];
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;
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;
getParserForType()
public Parser<QuasiId> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getTagCase()
public QuasiId.TagCase getTagCase()
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public QuasiId.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected QuasiId.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public QuasiId.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides