Package com.google.privacy.dlp.v2
Class PrivacyMetric.KMapEstimationConfig.TaggedField.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.KMapEstimationConfig.TaggedField.Builder>
com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder
- All Implemented Interfaces:
PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PrivacyMetric.KMapEstimationConfig.TaggedField
public static final class PrivacyMetric.KMapEstimationConfig.TaggedField.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.KMapEstimationConfig.TaggedField.Builder>
implements PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
A column with a semantic tag attached.Protobuf type
google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A column can be tagged with a custom tag.Required.If 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.clearTag()A column can be tagged with a custom tag.com.google.protobuf.ByteStringA column can be tagged with a custom tag.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetField()Required.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.Empty.BuilderIf 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.A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.booleanA column can be tagged with a custom tag.booleanhasField()Required.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 booleanmergeField(FieldId value) Required.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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 datamergeInfoType(InfoType value) A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.setCustomTag(String value) A column can be tagged with a custom tag.setCustomTagBytes(com.google.protobuf.ByteString value) A column can be tagged with a custom tag.Required.setField(FieldId.Builder builderForValue) Required.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 datasetInferred(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 datasetInfoType(InfoType value) A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<PrivacyMetric.KMapEstimationConfig.TaggedField.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.KMapEstimationConfig.TaggedField.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.GeneratedMessage.Builder<PrivacyMetric.KMapEstimationConfig.TaggedField.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrivacyMetric.KMapEstimationConfig.TaggedField.Builder>
-
mergeFrom
public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder mergeFrom(PrivacyMetric.KMapEstimationConfig.TaggedField other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.KMapEstimationConfig.TaggedField.Builder>
-
mergeFrom
public PrivacyMetric.KMapEstimationConfig.TaggedField.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<PrivacyMetric.KMapEstimationConfig.TaggedField.Builder>- Throws:
IOException
-
getTagCase
- Specified by:
getTagCasein interfacePrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
-
clearTag
-
hasField
public boolean hasField()Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasFieldin interfacePrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder- 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 interfacePrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder- Returns:
- The field.
-
setField
Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; -
setField
public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder setField(FieldId.Builder builderForValue) Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; -
mergeField
Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; -
clearField
Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; -
getFieldBuilder
Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; -
getFieldOrBuilder
Required. Identifies the column.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFieldOrBuilderin interfacePrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
-
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 interfacePrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder- 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 interfacePrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder- Returns:
- The infoType.
-
setInfoType
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 PrivacyMetric.KMapEstimationConfig.TaggedField.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
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
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
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
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 interfacePrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
-
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 interfacePrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder- 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 interfacePrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder- 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 interfacePrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder- Returns:
- The bytes for customTag.
-
setCustomTag
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;- Parameters:
value- The customTag to set.- Returns:
- This builder for chaining.
-
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.
string custom_tag = 3;- Returns:
- This builder for chaining.
-
setCustomTagBytes
public PrivacyMetric.KMapEstimationConfig.TaggedField.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.
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 interfacePrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder- 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 interfacePrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder- Returns:
- The inferred.
-
setInferred
public PrivacyMetric.KMapEstimationConfig.TaggedField.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 PrivacyMetric.KMapEstimationConfig.TaggedField.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 PrivacyMetric.KMapEstimationConfig.TaggedField.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
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 interfacePrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
-