Package com.google.privacy.dlp.v2
Class InspectJobConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InspectJobConfig.Builder>
com.google.privacy.dlp.v2.InspectJobConfig.Builder
- All Implemented Interfaces:
InspectJobConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InspectJobConfig
public static final class InspectJobConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InspectJobConfig.Builder>
implements InspectJobConfigOrBuilder
Controls what and how to inspect for findings.Protobuf type
google.privacy.dlp.v2.InspectJobConfig-
Method Summary
Modifier and TypeMethodDescriptionaddActions(int index, Action value) Actions to execute at the completion of the job.addActions(int index, Action.Builder builderForValue) Actions to execute at the completion of the job.addActions(Action value) Actions to execute at the completion of the job.addActions(Action.Builder builderForValue) Actions to execute at the completion of the job.Actions to execute at the completion of the job.addActionsBuilder(int index) Actions to execute at the completion of the job.addAllActions(Iterable<? extends Action> values) Actions to execute at the completion of the job.build()clear()Actions to execute at the completion of the job.How and what to scan for.If provided, will be used as the default for all values in InspectConfig.The data to scan.getActions(int index) Actions to execute at the completion of the job.getActionsBuilder(int index) Actions to execute at the completion of the job.Actions to execute at the completion of the job.intActions to execute at the completion of the job.Actions to execute at the completion of the job.getActionsOrBuilder(int index) Actions to execute at the completion of the job.List<? extends ActionOrBuilder>Actions to execute at the completion of the job.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorHow and what to scan for.How and what to scan for.How and what to scan for.If provided, will be used as the default for all values in InspectConfig.com.google.protobuf.ByteStringIf provided, will be used as the default for all values in InspectConfig.The data to scan.The data to scan.The data to scan.booleanHow and what to scan for.booleanThe data to scan.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(InspectJobConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInspectConfig(InspectConfig value) How and what to scan for.mergeStorageConfig(StorageConfig value) The data to scan.removeActions(int index) Actions to execute at the completion of the job.setActions(int index, Action value) Actions to execute at the completion of the job.setActions(int index, Action.Builder builderForValue) Actions to execute at the completion of the job.setInspectConfig(InspectConfig value) How and what to scan for.setInspectConfig(InspectConfig.Builder builderForValue) How and what to scan for.setInspectTemplateName(String value) If provided, will be used as the default for all values in InspectConfig.setInspectTemplateNameBytes(com.google.protobuf.ByteString value) If provided, will be used as the default for all values in InspectConfig.setStorageConfig(StorageConfig value) The data to scan.setStorageConfig(StorageConfig.Builder builderForValue) The data to scan.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<InspectJobConfig.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<InspectJobConfig.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<InspectJobConfig.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InspectJobConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InspectJobConfig.Builder>
-
mergeFrom
public InspectJobConfig.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<InspectJobConfig.Builder>- Throws:
IOException
-
hasStorageConfig
public boolean hasStorageConfig()The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1;- Specified by:
hasStorageConfigin interfaceInspectJobConfigOrBuilder- Returns:
- Whether the storageConfig field is set.
-
getStorageConfig
The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1;- Specified by:
getStorageConfigin interfaceInspectJobConfigOrBuilder- Returns:
- The storageConfig.
-
setStorageConfig
The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1; -
setStorageConfig
The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1; -
mergeStorageConfig
The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1; -
clearStorageConfig
The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1; -
getStorageConfigBuilder
The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1; -
getStorageConfigOrBuilder
The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1;- Specified by:
getStorageConfigOrBuilderin interfaceInspectJobConfigOrBuilder
-
hasInspectConfig
public boolean hasInspectConfig()How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;- Specified by:
hasInspectConfigin interfaceInspectJobConfigOrBuilder- Returns:
- Whether the inspectConfig field is set.
-
getInspectConfig
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;- Specified by:
getInspectConfigin interfaceInspectJobConfigOrBuilder- Returns:
- The inspectConfig.
-
setInspectConfig
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2; -
setInspectConfig
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2; -
mergeInspectConfig
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2; -
clearInspectConfig
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2; -
getInspectConfigBuilder
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2; -
getInspectConfigOrBuilder
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;- Specified by:
getInspectConfigOrBuilderin interfaceInspectJobConfigOrBuilder
-
getInspectTemplateName
If provided, will be used as the default for all values in InspectConfig. `inspect_config` will be merged into the values persisted as part of the template.
string inspect_template_name = 3;- Specified by:
getInspectTemplateNamein interfaceInspectJobConfigOrBuilder- Returns:
- The inspectTemplateName.
-
getInspectTemplateNameBytes
public com.google.protobuf.ByteString getInspectTemplateNameBytes()If provided, will be used as the default for all values in InspectConfig. `inspect_config` will be merged into the values persisted as part of the template.
string inspect_template_name = 3;- Specified by:
getInspectTemplateNameBytesin interfaceInspectJobConfigOrBuilder- Returns:
- The bytes for inspectTemplateName.
-
setInspectTemplateName
If provided, will be used as the default for all values in InspectConfig. `inspect_config` will be merged into the values persisted as part of the template.
string inspect_template_name = 3;- Parameters:
value- The inspectTemplateName to set.- Returns:
- This builder for chaining.
-
clearInspectTemplateName
If provided, will be used as the default for all values in InspectConfig. `inspect_config` will be merged into the values persisted as part of the template.
string inspect_template_name = 3;- Returns:
- This builder for chaining.
-
setInspectTemplateNameBytes
If provided, will be used as the default for all values in InspectConfig. `inspect_config` will be merged into the values persisted as part of the template.
string inspect_template_name = 3;- Parameters:
value- The bytes for inspectTemplateName to set.- Returns:
- This builder for chaining.
-
getActionsList
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;- Specified by:
getActionsListin interfaceInspectJobConfigOrBuilder
-
getActionsCount
public int getActionsCount()Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;- Specified by:
getActionsCountin interfaceInspectJobConfigOrBuilder
-
getActions
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;- Specified by:
getActionsin interfaceInspectJobConfigOrBuilder
-
setActions
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4; -
setActions
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4; -
addActions
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4; -
addActions
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4; -
addActions
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4; -
addActions
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4; -
addAllActions
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4; -
clearActions
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4; -
removeActions
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4; -
getActionsBuilder
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4; -
getActionsOrBuilder
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;- Specified by:
getActionsOrBuilderin interfaceInspectJobConfigOrBuilder
-
getActionsOrBuilderList
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;- Specified by:
getActionsOrBuilderListin interfaceInspectJobConfigOrBuilder
-
addActionsBuilder
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4; -
addActionsBuilder
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4; -
getActionsBuilderList
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
-