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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<InspectJobConfig.Builder> implements InspectJobConfigOrBuilder
Controls what and how to inspect for findings.
Protobuf typegoogle.privacy.dlp.v2.InspectJobConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InspectJobConfig.BuilderaddActions(int index, Action value)Actions to execute at the completion of the job.InspectJobConfig.BuilderaddActions(int index, Action.Builder builderForValue)Actions to execute at the completion of the job.InspectJobConfig.BuilderaddActions(Action value)Actions to execute at the completion of the job.InspectJobConfig.BuilderaddActions(Action.Builder builderForValue)Actions to execute at the completion of the job.Action.BuilderaddActionsBuilder()Actions to execute at the completion of the job.Action.BuilderaddActionsBuilder(int index)Actions to execute at the completion of the job.InspectJobConfig.BuilderaddAllActions(Iterable<? extends Action> values)Actions to execute at the completion of the job.InspectJobConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InspectJobConfigbuild()InspectJobConfigbuildPartial()InspectJobConfig.Builderclear()InspectJobConfig.BuilderclearActions()Actions to execute at the completion of the job.InspectJobConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)InspectJobConfig.BuilderclearInspectConfig()How and what to scan for.InspectJobConfig.BuilderclearInspectTemplateName()If provided, will be used as the default for all values in InspectConfig.InspectJobConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)InspectJobConfig.BuilderclearStorageConfig()The data to scan.InspectJobConfig.Builderclone()ActiongetActions(int index)Actions to execute at the completion of the job.Action.BuildergetActionsBuilder(int index)Actions to execute at the completion of the job.List<Action.Builder>getActionsBuilderList()Actions to execute at the completion of the job.intgetActionsCount()Actions to execute at the completion of the job.List<Action>getActionsList()Actions to execute at the completion of the job.ActionOrBuildergetActionsOrBuilder(int index)Actions to execute at the completion of the job.List<? extends ActionOrBuilder>getActionsOrBuilderList()Actions to execute at the completion of the job.InspectJobConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()InspectConfiggetInspectConfig()How and what to scan for.InspectConfig.BuildergetInspectConfigBuilder()How and what to scan for.InspectConfigOrBuildergetInspectConfigOrBuilder()How and what to scan for.StringgetInspectTemplateName()If provided, will be used as the default for all values in InspectConfig.com.google.protobuf.ByteStringgetInspectTemplateNameBytes()If provided, will be used as the default for all values in InspectConfig.StorageConfiggetStorageConfig()The data to scan.StorageConfig.BuildergetStorageConfigBuilder()The data to scan.StorageConfigOrBuildergetStorageConfigOrBuilder()The data to scan.booleanhasInspectConfig()How and what to scan for.booleanhasStorageConfig()The data to scan.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()InspectJobConfig.BuildermergeFrom(InspectJobConfig other)InspectJobConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)InspectJobConfig.BuildermergeFrom(com.google.protobuf.Message other)InspectJobConfig.BuildermergeInspectConfig(InspectConfig value)How and what to scan for.InspectJobConfig.BuildermergeStorageConfig(StorageConfig value)The data to scan.InspectJobConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)InspectJobConfig.BuilderremoveActions(int index)Actions to execute at the completion of the job.InspectJobConfig.BuildersetActions(int index, Action value)Actions to execute at the completion of the job.InspectJobConfig.BuildersetActions(int index, Action.Builder builderForValue)Actions to execute at the completion of the job.InspectJobConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InspectJobConfig.BuildersetInspectConfig(InspectConfig value)How and what to scan for.InspectJobConfig.BuildersetInspectConfig(InspectConfig.Builder builderForValue)How and what to scan for.InspectJobConfig.BuildersetInspectTemplateName(String value)If provided, will be used as the default for all values in InspectConfig.InspectJobConfig.BuildersetInspectTemplateNameBytes(com.google.protobuf.ByteString value)If provided, will be used as the default for all values in InspectConfig.InspectJobConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)InspectJobConfig.BuildersetStorageConfig(StorageConfig value)The data to scan.InspectJobConfig.BuildersetStorageConfig(StorageConfig.Builder builderForValue)The data to scan.InspectJobConfig.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<InspectJobConfig.Builder>
-
clear
public InspectJobConfig.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<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.GeneratedMessageV3.Builder<InspectJobConfig.Builder>
-
getDefaultInstanceForType
public InspectJobConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public InspectJobConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InspectJobConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InspectJobConfig.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<InspectJobConfig.Builder>
-
setField
public InspectJobConfig.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<InspectJobConfig.Builder>
-
clearField
public InspectJobConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InspectJobConfig.Builder>
-
clearOneof
public InspectJobConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InspectJobConfig.Builder>
-
setRepeatedField
public InspectJobConfig.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<InspectJobConfig.Builder>
-
addRepeatedField
public InspectJobConfig.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<InspectJobConfig.Builder>
-
mergeFrom
public InspectJobConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InspectJobConfig.Builder>
-
mergeFrom
public InspectJobConfig.Builder mergeFrom(InspectJobConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public StorageConfig getStorageConfig()
The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1;- Specified by:
getStorageConfigin interfaceInspectJobConfigOrBuilder- Returns:
- The storageConfig.
-
setStorageConfig
public InspectJobConfig.Builder setStorageConfig(StorageConfig value)
The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1;
-
setStorageConfig
public InspectJobConfig.Builder setStorageConfig(StorageConfig.Builder builderForValue)
The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1;
-
mergeStorageConfig
public InspectJobConfig.Builder mergeStorageConfig(StorageConfig value)
The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1;
-
clearStorageConfig
public InspectJobConfig.Builder clearStorageConfig()
The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1;
-
getStorageConfigBuilder
public StorageConfig.Builder getStorageConfigBuilder()
The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1;
-
getStorageConfigOrBuilder
public StorageConfigOrBuilder 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
public InspectConfig getInspectConfig()
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;- Specified by:
getInspectConfigin interfaceInspectJobConfigOrBuilder- Returns:
- The inspectConfig.
-
setInspectConfig
public InspectJobConfig.Builder setInspectConfig(InspectConfig value)
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
-
setInspectConfig
public InspectJobConfig.Builder setInspectConfig(InspectConfig.Builder builderForValue)
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
-
mergeInspectConfig
public InspectJobConfig.Builder mergeInspectConfig(InspectConfig value)
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
-
clearInspectConfig
public InspectJobConfig.Builder clearInspectConfig()
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
-
getInspectConfigBuilder
public InspectConfig.Builder getInspectConfigBuilder()
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
-
getInspectConfigOrBuilder
public InspectConfigOrBuilder getInspectConfigOrBuilder()
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;- Specified by:
getInspectConfigOrBuilderin interfaceInspectJobConfigOrBuilder
-
getInspectTemplateName
public String 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
public InspectJobConfig.Builder setInspectTemplateName(String value)
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
public InspectJobConfig.Builder 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
public InspectJobConfig.Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value)
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
public List<Action> 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
public Action getActions(int index)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;- Specified by:
getActionsin interfaceInspectJobConfigOrBuilder
-
setActions
public InspectJobConfig.Builder setActions(int index, Action value)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
-
setActions
public InspectJobConfig.Builder setActions(int index, Action.Builder builderForValue)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
-
addActions
public InspectJobConfig.Builder addActions(Action value)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
-
addActions
public InspectJobConfig.Builder addActions(int index, Action value)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
-
addActions
public InspectJobConfig.Builder addActions(Action.Builder builderForValue)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
-
addActions
public InspectJobConfig.Builder addActions(int index, Action.Builder builderForValue)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
-
addAllActions
public InspectJobConfig.Builder addAllActions(Iterable<? extends Action> values)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
-
clearActions
public InspectJobConfig.Builder clearActions()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
-
removeActions
public InspectJobConfig.Builder removeActions(int index)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
-
getActionsBuilder
public Action.Builder getActionsBuilder(int index)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
-
getActionsOrBuilder
public ActionOrBuilder getActionsOrBuilder(int index)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;- Specified by:
getActionsOrBuilderin interfaceInspectJobConfigOrBuilder
-
getActionsOrBuilderList
public List<? extends ActionOrBuilder> getActionsOrBuilderList()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;- Specified by:
getActionsOrBuilderListin interfaceInspectJobConfigOrBuilder
-
addActionsBuilder
public Action.Builder addActionsBuilder()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
-
addActionsBuilder
public Action.Builder addActionsBuilder(int index)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
-
getActionsBuilderList
public List<Action.Builder> getActionsBuilderList()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
-
setUnknownFields
public final InspectJobConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InspectJobConfig.Builder>
-
mergeUnknownFields
public final InspectJobConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InspectJobConfig.Builder>
-
-