Package com.google.privacy.dlp.v2
Class QuasiId
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.QuasiId
- All Implemented Interfaces:
QuasiIdOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class QuasiId
extends com.google.protobuf.GeneratedMessage
implements QuasiIdOrBuilder
A column with a semantic tag attached.Protobuf type
google.privacy.dlp.v2.QuasiId- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA column with a semantic tag attached.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanA column can be tagged with a custom tag.com.google.protobuf.ByteStringA column can be tagged with a custom tag.static QuasiIdstatic final com.google.protobuf.Descriptors.DescriptorgetField()Required.Required.com.google.protobuf.EmptyIf no semantic tag is indicated, we infer the statistical model from the distribution of values in the input datacom.google.protobuf.EmptyOrBuilderIf no semantic tag is indicated, we infer the statistical model from the distribution of values in the input dataA column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.com.google.protobuf.Parser<QuasiId>intbooleanA column can be tagged with a custom tag.booleanhasField()Required.inthashCode()booleanIf no semantic tag is indicated, we infer the statistical model from the distribution of values in the input databooleanA column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic QuasiId.Builderstatic QuasiId.BuildernewBuilder(QuasiId prototype) protected QuasiId.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static QuasiIdparseDelimitedFrom(InputStream input) static QuasiIdparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuasiIdparseFrom(byte[] data) static QuasiIdparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuasiIdparseFrom(com.google.protobuf.ByteString data) static QuasiIdparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuasiIdparseFrom(com.google.protobuf.CodedInputStream input) static QuasiIdparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuasiIdparseFrom(InputStream input) static QuasiIdparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuasiIdparseFrom(ByteBuffer data) static QuasiIdparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<QuasiId>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FIELD_FIELD_NUMBER
public static final int FIELD_FIELD_NUMBER- See Also:
-
INFO_TYPE_FIELD_NUMBER
public static final int INFO_TYPE_FIELD_NUMBER- See Also:
-
CUSTOM_TAG_FIELD_NUMBER
public static final int CUSTOM_TAG_FIELD_NUMBER- See Also:
-
INFERRED_FIELD_NUMBER
public static final int INFERRED_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTagCase
- Specified by:
getTagCasein interfaceQuasiIdOrBuilder
-
hasField
public boolean hasField()Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasFieldin interfaceQuasiIdOrBuilder- Returns:
- Whether the field field is set.
-
getField
Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFieldin interfaceQuasiIdOrBuilder- Returns:
- The field.
-
getFieldOrBuilder
Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFieldOrBuilderin interfaceQuasiIdOrBuilder
-
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;- Specified by:
hasInfoTypein interfaceQuasiIdOrBuilder- Returns:
- Whether the infoType field is set.
-
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;- Specified by:
getInfoTypein interfaceQuasiIdOrBuilder- Returns:
- The infoType.
-
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;- Specified by:
getInfoTypeOrBuilderin interfaceQuasiIdOrBuilder
-
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.
string custom_tag = 3;- Specified by:
hasCustomTagin interfaceQuasiIdOrBuilder- Returns:
- Whether the customTag field is set.
-
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.
string custom_tag = 3;- Specified by:
getCustomTagin interfaceQuasiIdOrBuilder- Returns:
- The customTag.
-
getCustomTagBytes
public com.google.protobuf.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.
string custom_tag = 3;- Specified by:
getCustomTagBytesin interfaceQuasiIdOrBuilder- Returns:
- The bytes for customTag.
-
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;- Specified by:
hasInferredin interfaceQuasiIdOrBuilder- Returns:
- Whether the inferred field is set.
-
getInferred
public com.google.protobuf.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;- Specified by:
getInferredin interfaceQuasiIdOrBuilder- Returns:
- The inferred.
-
getInferredOrBuilder
public com.google.protobuf.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;- Specified by:
getInferredOrBuilderin interfaceQuasiIdOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static QuasiId parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuasiId parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuasiId parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuasiId parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuasiId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuasiId parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QuasiId parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static QuasiId parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QuasiId parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected QuasiId.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-