Package com.google.privacy.dlp.v2
Class LargeCustomDictionaryConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
- com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder
-
- All Implemented Interfaces:
LargeCustomDictionaryConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LargeCustomDictionaryConfig
public static final class LargeCustomDictionaryConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder> implements LargeCustomDictionaryConfigOrBuilder
Configuration for a custom dictionary created from a data source of any size up to the maximum size defined in the [limits](https://cloud.google.com/dlp/limits) page. The artifacts of dictionary creation are stored in the specified Cloud Storage location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries that satisfy the size requirements.
Protobuf typegoogle.privacy.dlp.v2.LargeCustomDictionaryConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LargeCustomDictionaryConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)LargeCustomDictionaryConfigbuild()LargeCustomDictionaryConfigbuildPartial()LargeCustomDictionaryConfig.Builderclear()LargeCustomDictionaryConfig.BuilderclearBigQueryField()Field in a BigQuery table where each cell represents a dictionary phrase.LargeCustomDictionaryConfig.BuilderclearCloudStorageFileSet()Set of files containing newline-delimited lists of dictionary phrases.LargeCustomDictionaryConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)LargeCustomDictionaryConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)LargeCustomDictionaryConfig.BuilderclearOutputPath()Location to store dictionary artifacts in Cloud Storage.LargeCustomDictionaryConfig.BuilderclearSource()LargeCustomDictionaryConfig.Builderclone()BigQueryFieldgetBigQueryField()Field in a BigQuery table where each cell represents a dictionary phrase.BigQueryField.BuildergetBigQueryFieldBuilder()Field in a BigQuery table where each cell represents a dictionary phrase.BigQueryFieldOrBuildergetBigQueryFieldOrBuilder()Field in a BigQuery table where each cell represents a dictionary phrase.CloudStorageFileSetgetCloudStorageFileSet()Set of files containing newline-delimited lists of dictionary phrases.CloudStorageFileSet.BuildergetCloudStorageFileSetBuilder()Set of files containing newline-delimited lists of dictionary phrases.CloudStorageFileSetOrBuildergetCloudStorageFileSetOrBuilder()Set of files containing newline-delimited lists of dictionary phrases.LargeCustomDictionaryConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()CloudStoragePathgetOutputPath()Location to store dictionary artifacts in Cloud Storage.CloudStoragePath.BuildergetOutputPathBuilder()Location to store dictionary artifacts in Cloud Storage.CloudStoragePathOrBuildergetOutputPathOrBuilder()Location to store dictionary artifacts in Cloud Storage.LargeCustomDictionaryConfig.SourceCasegetSourceCase()booleanhasBigQueryField()Field in a BigQuery table where each cell represents a dictionary phrase.booleanhasCloudStorageFileSet()Set of files containing newline-delimited lists of dictionary phrases.booleanhasOutputPath()Location to store dictionary artifacts in Cloud Storage.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()LargeCustomDictionaryConfig.BuildermergeBigQueryField(BigQueryField value)Field in a BigQuery table where each cell represents a dictionary phrase.LargeCustomDictionaryConfig.BuildermergeCloudStorageFileSet(CloudStorageFileSet value)Set of files containing newline-delimited lists of dictionary phrases.LargeCustomDictionaryConfig.BuildermergeFrom(LargeCustomDictionaryConfig other)LargeCustomDictionaryConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)LargeCustomDictionaryConfig.BuildermergeFrom(com.google.protobuf.Message other)LargeCustomDictionaryConfig.BuildermergeOutputPath(CloudStoragePath value)Location to store dictionary artifacts in Cloud Storage.LargeCustomDictionaryConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)LargeCustomDictionaryConfig.BuildersetBigQueryField(BigQueryField value)Field in a BigQuery table where each cell represents a dictionary phrase.LargeCustomDictionaryConfig.BuildersetBigQueryField(BigQueryField.Builder builderForValue)Field in a BigQuery table where each cell represents a dictionary phrase.LargeCustomDictionaryConfig.BuildersetCloudStorageFileSet(CloudStorageFileSet value)Set of files containing newline-delimited lists of dictionary phrases.LargeCustomDictionaryConfig.BuildersetCloudStorageFileSet(CloudStorageFileSet.Builder builderForValue)Set of files containing newline-delimited lists of dictionary phrases.LargeCustomDictionaryConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)LargeCustomDictionaryConfig.BuildersetOutputPath(CloudStoragePath value)Location to store dictionary artifacts in Cloud Storage.LargeCustomDictionaryConfig.BuildersetOutputPath(CloudStoragePath.Builder builderForValue)Location to store dictionary artifacts in Cloud Storage.LargeCustomDictionaryConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)LargeCustomDictionaryConfig.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<LargeCustomDictionaryConfig.Builder>
-
clear
public LargeCustomDictionaryConfig.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<LargeCustomDictionaryConfig.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<LargeCustomDictionaryConfig.Builder>
-
getDefaultInstanceForType
public LargeCustomDictionaryConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public LargeCustomDictionaryConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LargeCustomDictionaryConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LargeCustomDictionaryConfig.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<LargeCustomDictionaryConfig.Builder>
-
setField
public LargeCustomDictionaryConfig.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<LargeCustomDictionaryConfig.Builder>
-
clearField
public LargeCustomDictionaryConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
clearOneof
public LargeCustomDictionaryConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
setRepeatedField
public LargeCustomDictionaryConfig.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<LargeCustomDictionaryConfig.Builder>
-
addRepeatedField
public LargeCustomDictionaryConfig.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<LargeCustomDictionaryConfig.Builder>
-
mergeFrom
public LargeCustomDictionaryConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LargeCustomDictionaryConfig.Builder>
-
mergeFrom
public LargeCustomDictionaryConfig.Builder mergeFrom(LargeCustomDictionaryConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
mergeFrom
public LargeCustomDictionaryConfig.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<LargeCustomDictionaryConfig.Builder>- Throws:
IOException
-
getSourceCase
public LargeCustomDictionaryConfig.SourceCase getSourceCase()
- Specified by:
getSourceCasein interfaceLargeCustomDictionaryConfigOrBuilder
-
clearSource
public LargeCustomDictionaryConfig.Builder clearSource()
-
hasOutputPath
public boolean hasOutputPath()
Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.
.google.privacy.dlp.v2.CloudStoragePath output_path = 1;- Specified by:
hasOutputPathin interfaceLargeCustomDictionaryConfigOrBuilder- Returns:
- Whether the outputPath field is set.
-
getOutputPath
public CloudStoragePath getOutputPath()
Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.
.google.privacy.dlp.v2.CloudStoragePath output_path = 1;- Specified by:
getOutputPathin interfaceLargeCustomDictionaryConfigOrBuilder- Returns:
- The outputPath.
-
setOutputPath
public LargeCustomDictionaryConfig.Builder setOutputPath(CloudStoragePath value)
Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.
.google.privacy.dlp.v2.CloudStoragePath output_path = 1;
-
setOutputPath
public LargeCustomDictionaryConfig.Builder setOutputPath(CloudStoragePath.Builder builderForValue)
Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.
.google.privacy.dlp.v2.CloudStoragePath output_path = 1;
-
mergeOutputPath
public LargeCustomDictionaryConfig.Builder mergeOutputPath(CloudStoragePath value)
Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.
.google.privacy.dlp.v2.CloudStoragePath output_path = 1;
-
clearOutputPath
public LargeCustomDictionaryConfig.Builder clearOutputPath()
Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.
.google.privacy.dlp.v2.CloudStoragePath output_path = 1;
-
getOutputPathBuilder
public CloudStoragePath.Builder getOutputPathBuilder()
Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.
.google.privacy.dlp.v2.CloudStoragePath output_path = 1;
-
getOutputPathOrBuilder
public CloudStoragePathOrBuilder getOutputPathOrBuilder()
Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.
.google.privacy.dlp.v2.CloudStoragePath output_path = 1;- Specified by:
getOutputPathOrBuilderin interfaceLargeCustomDictionaryConfigOrBuilder
-
hasCloudStorageFileSet
public boolean hasCloudStorageFileSet()
Set of files containing newline-delimited lists of dictionary phrases.
.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;- Specified by:
hasCloudStorageFileSetin interfaceLargeCustomDictionaryConfigOrBuilder- Returns:
- Whether the cloudStorageFileSet field is set.
-
getCloudStorageFileSet
public CloudStorageFileSet getCloudStorageFileSet()
Set of files containing newline-delimited lists of dictionary phrases.
.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;- Specified by:
getCloudStorageFileSetin interfaceLargeCustomDictionaryConfigOrBuilder- Returns:
- The cloudStorageFileSet.
-
setCloudStorageFileSet
public LargeCustomDictionaryConfig.Builder setCloudStorageFileSet(CloudStorageFileSet value)
Set of files containing newline-delimited lists of dictionary phrases.
.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
-
setCloudStorageFileSet
public LargeCustomDictionaryConfig.Builder setCloudStorageFileSet(CloudStorageFileSet.Builder builderForValue)
Set of files containing newline-delimited lists of dictionary phrases.
.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
-
mergeCloudStorageFileSet
public LargeCustomDictionaryConfig.Builder mergeCloudStorageFileSet(CloudStorageFileSet value)
Set of files containing newline-delimited lists of dictionary phrases.
.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
-
clearCloudStorageFileSet
public LargeCustomDictionaryConfig.Builder clearCloudStorageFileSet()
Set of files containing newline-delimited lists of dictionary phrases.
.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
-
getCloudStorageFileSetBuilder
public CloudStorageFileSet.Builder getCloudStorageFileSetBuilder()
Set of files containing newline-delimited lists of dictionary phrases.
.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
-
getCloudStorageFileSetOrBuilder
public CloudStorageFileSetOrBuilder getCloudStorageFileSetOrBuilder()
Set of files containing newline-delimited lists of dictionary phrases.
.google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;- Specified by:
getCloudStorageFileSetOrBuilderin interfaceLargeCustomDictionaryConfigOrBuilder
-
hasBigQueryField
public boolean hasBigQueryField()
Field in a BigQuery table where each cell represents a dictionary phrase.
.google.privacy.dlp.v2.BigQueryField big_query_field = 3;- Specified by:
hasBigQueryFieldin interfaceLargeCustomDictionaryConfigOrBuilder- Returns:
- Whether the bigQueryField field is set.
-
getBigQueryField
public BigQueryField getBigQueryField()
Field in a BigQuery table where each cell represents a dictionary phrase.
.google.privacy.dlp.v2.BigQueryField big_query_field = 3;- Specified by:
getBigQueryFieldin interfaceLargeCustomDictionaryConfigOrBuilder- Returns:
- The bigQueryField.
-
setBigQueryField
public LargeCustomDictionaryConfig.Builder setBigQueryField(BigQueryField value)
Field in a BigQuery table where each cell represents a dictionary phrase.
.google.privacy.dlp.v2.BigQueryField big_query_field = 3;
-
setBigQueryField
public LargeCustomDictionaryConfig.Builder setBigQueryField(BigQueryField.Builder builderForValue)
Field in a BigQuery table where each cell represents a dictionary phrase.
.google.privacy.dlp.v2.BigQueryField big_query_field = 3;
-
mergeBigQueryField
public LargeCustomDictionaryConfig.Builder mergeBigQueryField(BigQueryField value)
Field in a BigQuery table where each cell represents a dictionary phrase.
.google.privacy.dlp.v2.BigQueryField big_query_field = 3;
-
clearBigQueryField
public LargeCustomDictionaryConfig.Builder clearBigQueryField()
Field in a BigQuery table where each cell represents a dictionary phrase.
.google.privacy.dlp.v2.BigQueryField big_query_field = 3;
-
getBigQueryFieldBuilder
public BigQueryField.Builder getBigQueryFieldBuilder()
Field in a BigQuery table where each cell represents a dictionary phrase.
.google.privacy.dlp.v2.BigQueryField big_query_field = 3;
-
getBigQueryFieldOrBuilder
public BigQueryFieldOrBuilder getBigQueryFieldOrBuilder()
Field in a BigQuery table where each cell represents a dictionary phrase.
.google.privacy.dlp.v2.BigQueryField big_query_field = 3;- Specified by:
getBigQueryFieldOrBuilderin interfaceLargeCustomDictionaryConfigOrBuilder
-
setUnknownFields
public final LargeCustomDictionaryConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
mergeUnknownFields
public final LargeCustomDictionaryConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
-