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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
LargeCustomDictionaryConfig
build()
LargeCustomDictionaryConfig
buildPartial()
LargeCustomDictionaryConfig.Builder
clear()
LargeCustomDictionaryConfig.Builder
clearBigQueryField()
Field in a BigQuery table where each cell represents a dictionary phrase.LargeCustomDictionaryConfig.Builder
clearCloudStorageFileSet()
Set of files containing newline-delimited lists of dictionary phrases.LargeCustomDictionaryConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
LargeCustomDictionaryConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
LargeCustomDictionaryConfig.Builder
clearOutputPath()
Location to store dictionary artifacts in Cloud Storage.LargeCustomDictionaryConfig.Builder
clearSource()
LargeCustomDictionaryConfig.Builder
clone()
BigQueryField
getBigQueryField()
Field in a BigQuery table where each cell represents a dictionary phrase.BigQueryField.Builder
getBigQueryFieldBuilder()
Field in a BigQuery table where each cell represents a dictionary phrase.BigQueryFieldOrBuilder
getBigQueryFieldOrBuilder()
Field in a BigQuery table where each cell represents a dictionary phrase.CloudStorageFileSet
getCloudStorageFileSet()
Set of files containing newline-delimited lists of dictionary phrases.CloudStorageFileSet.Builder
getCloudStorageFileSetBuilder()
Set of files containing newline-delimited lists of dictionary phrases.CloudStorageFileSetOrBuilder
getCloudStorageFileSetOrBuilder()
Set of files containing newline-delimited lists of dictionary phrases.LargeCustomDictionaryConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
CloudStoragePath
getOutputPath()
Location to store dictionary artifacts in Cloud Storage.CloudStoragePath.Builder
getOutputPathBuilder()
Location to store dictionary artifacts in Cloud Storage.CloudStoragePathOrBuilder
getOutputPathOrBuilder()
Location to store dictionary artifacts in Cloud Storage.LargeCustomDictionaryConfig.SourceCase
getSourceCase()
boolean
hasBigQueryField()
Field in a BigQuery table where each cell represents a dictionary phrase.boolean
hasCloudStorageFileSet()
Set of files containing newline-delimited lists of dictionary phrases.boolean
hasOutputPath()
Location to store dictionary artifacts in Cloud Storage.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
LargeCustomDictionaryConfig.Builder
mergeBigQueryField(BigQueryField value)
Field in a BigQuery table where each cell represents a dictionary phrase.LargeCustomDictionaryConfig.Builder
mergeCloudStorageFileSet(CloudStorageFileSet value)
Set of files containing newline-delimited lists of dictionary phrases.LargeCustomDictionaryConfig.Builder
mergeFrom(LargeCustomDictionaryConfig other)
LargeCustomDictionaryConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
LargeCustomDictionaryConfig.Builder
mergeFrom(com.google.protobuf.Message other)
LargeCustomDictionaryConfig.Builder
mergeOutputPath(CloudStoragePath value)
Location to store dictionary artifacts in Cloud Storage.LargeCustomDictionaryConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
LargeCustomDictionaryConfig.Builder
setBigQueryField(BigQueryField value)
Field in a BigQuery table where each cell represents a dictionary phrase.LargeCustomDictionaryConfig.Builder
setBigQueryField(BigQueryField.Builder builderForValue)
Field in a BigQuery table where each cell represents a dictionary phrase.LargeCustomDictionaryConfig.Builder
setCloudStorageFileSet(CloudStorageFileSet value)
Set of files containing newline-delimited lists of dictionary phrases.LargeCustomDictionaryConfig.Builder
setCloudStorageFileSet(CloudStorageFileSet.Builder builderForValue)
Set of files containing newline-delimited lists of dictionary phrases.LargeCustomDictionaryConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
LargeCustomDictionaryConfig.Builder
setOutputPath(CloudStoragePath value)
Location to store dictionary artifacts in Cloud Storage.LargeCustomDictionaryConfig.Builder
setOutputPath(CloudStoragePath.Builder builderForValue)
Location to store dictionary artifacts in Cloud Storage.LargeCustomDictionaryConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
LargeCustomDictionaryConfig.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
clear
public LargeCustomDictionaryConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
getDefaultInstanceForType
public LargeCustomDictionaryConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public LargeCustomDictionaryConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LargeCustomDictionaryConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LargeCustomDictionaryConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
setField
public LargeCustomDictionaryConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
clearField
public LargeCustomDictionaryConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
clearOneof
public LargeCustomDictionaryConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
setRepeatedField
public LargeCustomDictionaryConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
addRepeatedField
public LargeCustomDictionaryConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
mergeFrom
public LargeCustomDictionaryConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LargeCustomDictionaryConfig.Builder>
-
mergeFrom
public LargeCustomDictionaryConfig.Builder mergeFrom(LargeCustomDictionaryConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LargeCustomDictionaryConfig.Builder>
- Throws:
IOException
-
getSourceCase
public LargeCustomDictionaryConfig.SourceCase getSourceCase()
- Specified by:
getSourceCase
in 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:
hasOutputPath
in 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:
getOutputPath
in 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:
getOutputPathOrBuilder
in 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:
hasCloudStorageFileSet
in 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:
getCloudStorageFileSet
in 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:
getCloudStorageFileSetOrBuilder
in 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:
hasBigQueryField
in 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:
getBigQueryField
in 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:
getBigQueryFieldOrBuilder
in interfaceLargeCustomDictionaryConfigOrBuilder
-
setUnknownFields
public final LargeCustomDictionaryConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
mergeUnknownFields
public final LargeCustomDictionaryConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LargeCustomDictionaryConfig.Builder>
-
-