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.Builder
addActions(int index, Action value)
Actions to execute at the completion of the job.InspectJobConfig.Builder
addActions(int index, Action.Builder builderForValue)
Actions to execute at the completion of the job.InspectJobConfig.Builder
addActions(Action value)
Actions to execute at the completion of the job.InspectJobConfig.Builder
addActions(Action.Builder builderForValue)
Actions to execute at the completion of the job.Action.Builder
addActionsBuilder()
Actions to execute at the completion of the job.Action.Builder
addActionsBuilder(int index)
Actions to execute at the completion of the job.InspectJobConfig.Builder
addAllActions(Iterable<? extends Action> values)
Actions to execute at the completion of the job.InspectJobConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InspectJobConfig
build()
InspectJobConfig
buildPartial()
InspectJobConfig.Builder
clear()
InspectJobConfig.Builder
clearActions()
Actions to execute at the completion of the job.InspectJobConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
InspectJobConfig.Builder
clearInspectConfig()
How and what to scan for.InspectJobConfig.Builder
clearInspectTemplateName()
If provided, will be used as the default for all values in InspectConfig.InspectJobConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
InspectJobConfig.Builder
clearStorageConfig()
The data to scan.InspectJobConfig.Builder
clone()
Action
getActions(int index)
Actions to execute at the completion of the job.Action.Builder
getActionsBuilder(int index)
Actions to execute at the completion of the job.List<Action.Builder>
getActionsBuilderList()
Actions to execute at the completion of the job.int
getActionsCount()
Actions to execute at the completion of the job.List<Action>
getActionsList()
Actions to execute at the completion of the job.ActionOrBuilder
getActionsOrBuilder(int index)
Actions to execute at the completion of the job.List<? extends ActionOrBuilder>
getActionsOrBuilderList()
Actions to execute at the completion of the job.InspectJobConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
InspectConfig
getInspectConfig()
How and what to scan for.InspectConfig.Builder
getInspectConfigBuilder()
How and what to scan for.InspectConfigOrBuilder
getInspectConfigOrBuilder()
How and what to scan for.String
getInspectTemplateName()
If provided, will be used as the default for all values in InspectConfig.com.google.protobuf.ByteString
getInspectTemplateNameBytes()
If provided, will be used as the default for all values in InspectConfig.StorageConfig
getStorageConfig()
The data to scan.StorageConfig.Builder
getStorageConfigBuilder()
The data to scan.StorageConfigOrBuilder
getStorageConfigOrBuilder()
The data to scan.boolean
hasInspectConfig()
How and what to scan for.boolean
hasStorageConfig()
The data to scan.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
InspectJobConfig.Builder
mergeFrom(InspectJobConfig other)
InspectJobConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
InspectJobConfig.Builder
mergeFrom(com.google.protobuf.Message other)
InspectJobConfig.Builder
mergeInspectConfig(InspectConfig value)
How and what to scan for.InspectJobConfig.Builder
mergeStorageConfig(StorageConfig value)
The data to scan.InspectJobConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InspectJobConfig.Builder
removeActions(int index)
Actions to execute at the completion of the job.InspectJobConfig.Builder
setActions(int index, Action value)
Actions to execute at the completion of the job.InspectJobConfig.Builder
setActions(int index, Action.Builder builderForValue)
Actions to execute at the completion of the job.InspectJobConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InspectJobConfig.Builder
setInspectConfig(InspectConfig value)
How and what to scan for.InspectJobConfig.Builder
setInspectConfig(InspectConfig.Builder builderForValue)
How and what to scan for.InspectJobConfig.Builder
setInspectTemplateName(String value)
If provided, will be used as the default for all values in InspectConfig.InspectJobConfig.Builder
setInspectTemplateNameBytes(com.google.protobuf.ByteString value)
If provided, will be used as the default for all values in InspectConfig.InspectJobConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
InspectJobConfig.Builder
setStorageConfig(StorageConfig value)
The data to scan.InspectJobConfig.Builder
setStorageConfig(StorageConfig.Builder builderForValue)
The data to scan.InspectJobConfig.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<InspectJobConfig.Builder>
-
clear
public InspectJobConfig.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<InspectJobConfig.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<InspectJobConfig.Builder>
-
getDefaultInstanceForType
public InspectJobConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public InspectJobConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InspectJobConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InspectJobConfig.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<InspectJobConfig.Builder>
-
setField
public InspectJobConfig.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<InspectJobConfig.Builder>
-
clearField
public InspectJobConfig.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<InspectJobConfig.Builder>
-
clearOneof
public InspectJobConfig.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<InspectJobConfig.Builder>
-
setRepeatedField
public InspectJobConfig.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<InspectJobConfig.Builder>
-
addRepeatedField
public InspectJobConfig.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<InspectJobConfig.Builder>
-
mergeFrom
public InspectJobConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InspectJobConfig.Builder>
-
mergeFrom
public InspectJobConfig.Builder mergeFrom(InspectJobConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasStorageConfig
in 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:
getStorageConfig
in 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:
getStorageConfigOrBuilder
in interfaceInspectJobConfigOrBuilder
-
hasInspectConfig
public boolean hasInspectConfig()
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
- Specified by:
hasInspectConfig
in 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:
getInspectConfig
in 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:
getInspectConfigOrBuilder
in 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:
getInspectTemplateName
in 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:
getInspectTemplateNameBytes
in 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:
getActionsList
in interfaceInspectJobConfigOrBuilder
-
getActionsCount
public int getActionsCount()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
- Specified by:
getActionsCount
in 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:
getActions
in 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:
getActionsOrBuilder
in 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:
getActionsOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InspectJobConfig.Builder>
-
mergeUnknownFields
public final InspectJobConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InspectJobConfig.Builder>
-
-