Package com.google.privacy.dlp.v2
Class QuasiId.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<QuasiId.Builder>
-
- com.google.privacy.dlp.v2.QuasiId.Builder
-
- All Implemented Interfaces:
QuasiIdOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- QuasiId
public static final class QuasiId.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QuasiId.Builder> implements QuasiIdOrBuilder
A column with a semantic tag attached.
Protobuf typegoogle.privacy.dlp.v2.QuasiId
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description QuasiId.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)QuasiIdbuild()QuasiIdbuildPartial()QuasiId.Builderclear()QuasiId.BuilderclearCustomTag()A column can be tagged with a custom tag.QuasiId.BuilderclearField()Required.QuasiId.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)QuasiId.BuilderclearInferred()If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input dataQuasiId.BuilderclearInfoType()A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.QuasiId.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)QuasiId.BuilderclearTag()QuasiId.Builderclone()StringgetCustomTag()A column can be tagged with a custom tag.com.google.protobuf.ByteStringgetCustomTagBytes()A column can be tagged with a custom tag.QuasiIdgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FieldIdgetField()Required.FieldId.BuildergetFieldBuilder()Required.FieldIdOrBuildergetFieldOrBuilder()Required.com.google.protobuf.EmptygetInferred()If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input datacom.google.protobuf.Empty.BuildergetInferredBuilder()If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input datacom.google.protobuf.EmptyOrBuildergetInferredOrBuilder()If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input dataInfoTypegetInfoType()A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.InfoType.BuildergetInfoTypeBuilder()A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.InfoTypeOrBuildergetInfoTypeOrBuilder()A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.QuasiId.TagCasegetTagCase()booleanhasCustomTag()A column can be tagged with a custom tag.booleanhasField()Required.booleanhasInferred()If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input databooleanhasInfoType()A 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.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()QuasiId.BuildermergeField(FieldId value)Required.QuasiId.BuildermergeFrom(QuasiId other)QuasiId.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)QuasiId.BuildermergeFrom(com.google.protobuf.Message other)QuasiId.BuildermergeInferred(com.google.protobuf.Empty value)If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input dataQuasiId.BuildermergeInfoType(InfoType value)A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.QuasiId.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)QuasiId.BuildersetCustomTag(String value)A column can be tagged with a custom tag.QuasiId.BuildersetCustomTagBytes(com.google.protobuf.ByteString value)A column can be tagged with a custom tag.QuasiId.BuildersetField(FieldId value)Required.QuasiId.BuildersetField(FieldId.Builder builderForValue)Required.QuasiId.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)QuasiId.BuildersetInferred(com.google.protobuf.Empty value)If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input dataQuasiId.BuildersetInferred(com.google.protobuf.Empty.Builder builderForValue)If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input dataQuasiId.BuildersetInfoType(InfoType value)A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.QuasiId.BuildersetInfoType(InfoType.Builder builderForValue)A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.QuasiId.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)QuasiId.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<QuasiId.Builder>
-
clear
public QuasiId.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<QuasiId.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<QuasiId.Builder>
-
getDefaultInstanceForType
public QuasiId getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public QuasiId build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public QuasiId buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public QuasiId.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<QuasiId.Builder>
-
setField
public QuasiId.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QuasiId.Builder>
-
clearField
public QuasiId.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QuasiId.Builder>
-
clearOneof
public QuasiId.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<QuasiId.Builder>
-
setRepeatedField
public QuasiId.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QuasiId.Builder>
-
addRepeatedField
public QuasiId.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QuasiId.Builder>
-
mergeFrom
public QuasiId.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QuasiId.Builder>
-
mergeFrom
public QuasiId.Builder mergeFrom(QuasiId other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<QuasiId.Builder>
-
mergeFrom
public QuasiId.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QuasiId.Builder>- Throws:
IOException
-
getTagCase
public QuasiId.TagCase getTagCase()
- Specified by:
getTagCasein interfaceQuasiIdOrBuilder
-
clearTag
public QuasiId.Builder clearTag()
-
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
public FieldId getField()
Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFieldin interfaceQuasiIdOrBuilder- Returns:
- The field.
-
setField
public QuasiId.Builder setField(FieldId value)
Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
-
setField
public QuasiId.Builder setField(FieldId.Builder builderForValue)
Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
-
mergeField
public QuasiId.Builder mergeField(FieldId value)
Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
-
clearField
public QuasiId.Builder clearField()
Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
-
getFieldBuilder
public FieldId.Builder getFieldBuilder()
Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
-
getFieldOrBuilder
public FieldIdOrBuilder 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
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;- Specified by:
getInfoTypein interfaceQuasiIdOrBuilder- Returns:
- The infoType.
-
setInfoType
public QuasiId.Builder setInfoType(InfoType value)
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;
-
setInfoType
public QuasiId.Builder setInfoType(InfoType.Builder builderForValue)
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;
-
mergeInfoType
public QuasiId.Builder mergeInfoType(InfoType value)
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;
-
clearInfoType
public QuasiId.Builder clearInfoType()
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;
-
getInfoTypeBuilder
public InfoType.Builder getInfoTypeBuilder()
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;
-
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;- 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 (below).
string custom_tag = 3;- Specified by:
hasCustomTagin interfaceQuasiIdOrBuilder- Returns:
- Whether the customTag field is set.
-
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;- 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 (below).
string custom_tag = 3;- Specified by:
getCustomTagBytesin interfaceQuasiIdOrBuilder- Returns:
- The bytes for customTag.
-
setCustomTag
public QuasiId.Builder setCustomTag(String value)
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;- Parameters:
value- The customTag to set.- Returns:
- This builder for chaining.
-
clearCustomTag
public QuasiId.Builder clearCustomTag()
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:
- This builder for chaining.
-
setCustomTagBytes
public QuasiId.Builder setCustomTagBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for customTag to set.- Returns:
- This builder for chaining.
-
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.
-
setInferred
public QuasiId.Builder setInferred(com.google.protobuf.Empty value)
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;
-
setInferred
public QuasiId.Builder setInferred(com.google.protobuf.Empty.Builder builderForValue)
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;
-
mergeInferred
public QuasiId.Builder mergeInferred(com.google.protobuf.Empty value)
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;
-
clearInferred
public QuasiId.Builder clearInferred()
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;
-
getInferredBuilder
public com.google.protobuf.Empty.Builder getInferredBuilder()
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;
-
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
-
setUnknownFields
public final QuasiId.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<QuasiId.Builder>
-
mergeUnknownFields
public final QuasiId.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<QuasiId.Builder>
-
-