Class InspectJobConfig.Builder (3.50.0)

public static final class InspectJobConfig.Builder extends GeneratedMessageV3.Builder<InspectJobConfig.Builder> implements InspectJobConfigOrBuilder

Controls what and how to inspect for findings.

Protobuf type google.privacy.dlp.v2.InspectJobConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addActions(Action value)

public InspectJobConfig.Builder addActions(Action value)

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Parameter
Name Description
value Action
Returns
Type Description
InspectJobConfig.Builder

addActions(Action.Builder builderForValue)

public InspectJobConfig.Builder addActions(Action.Builder builderForValue)

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Parameter
Name Description
builderForValue Action.Builder
Returns
Type Description
InspectJobConfig.Builder

addActions(int index, Action value)

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;

Parameters
Name Description
index int
value Action
Returns
Type Description
InspectJobConfig.Builder

addActions(int index, Action.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Action.Builder
Returns
Type Description
InspectJobConfig.Builder

addActionsBuilder()

public Action.Builder addActionsBuilder()

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Returns
Type Description
Action.Builder

addActionsBuilder(int index)

public Action.Builder addActionsBuilder(int index)

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Parameter
Name Description
index int
Returns
Type Description
Action.Builder

addAllActions(Iterable<? extends Action> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.Action>
Returns
Type Description
InspectJobConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InspectJobConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InspectJobConfig.Builder
Overrides

build()

public InspectJobConfig build()
Returns
Type Description
InspectJobConfig

buildPartial()

public InspectJobConfig buildPartial()
Returns
Type Description
InspectJobConfig

clear()

public InspectJobConfig.Builder clear()
Returns
Type Description
InspectJobConfig.Builder
Overrides

clearActions()

public InspectJobConfig.Builder clearActions()

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Returns
Type Description
InspectJobConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public InspectJobConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InspectJobConfig.Builder
Overrides

clearInspectConfig()

public InspectJobConfig.Builder clearInspectConfig()

How and what to scan for.

.google.privacy.dlp.v2.InspectConfig inspect_config = 2;

Returns
Type Description
InspectJobConfig.Builder

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
Type Description
InspectJobConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InspectJobConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InspectJobConfig.Builder
Overrides

clearStorageConfig()

public InspectJobConfig.Builder clearStorageConfig()

The data to scan.

.google.privacy.dlp.v2.StorageConfig storage_config = 1;

Returns
Type Description
InspectJobConfig.Builder

clone()

public InspectJobConfig.Builder clone()
Returns
Type Description
InspectJobConfig.Builder
Overrides

getActions(int index)

public Action getActions(int index)

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Parameter
Name Description
index int
Returns
Type Description
Action

getActionsBuilder(int index)

public Action.Builder getActionsBuilder(int index)

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Parameter
Name Description
index int
Returns
Type Description
Action.Builder

getActionsBuilderList()

public List<Action.Builder> getActionsBuilderList()

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Returns
Type Description
List<Builder>

getActionsCount()

public int getActionsCount()

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Returns
Type Description
int

getActionsList()

public List<Action> getActionsList()

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Returns
Type Description
List<Action>

getActionsOrBuilder(int index)

public ActionOrBuilder getActionsOrBuilder(int index)

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Parameter
Name Description
index int
Returns
Type Description
ActionOrBuilder

getActionsOrBuilderList()

public List<? extends ActionOrBuilder> getActionsOrBuilderList()

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.ActionOrBuilder>

getDefaultInstanceForType()

public InspectJobConfig getDefaultInstanceForType()
Returns
Type Description
InspectJobConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInspectConfig()

public InspectConfig getInspectConfig()

How and what to scan for.

.google.privacy.dlp.v2.InspectConfig inspect_config = 2;

Returns
Type Description
InspectConfig

The inspectConfig.

getInspectConfigBuilder()

public InspectConfig.Builder getInspectConfigBuilder()

How and what to scan for.

.google.privacy.dlp.v2.InspectConfig inspect_config = 2;

Returns
Type Description
InspectConfig.Builder

getInspectConfigOrBuilder()

public InspectConfigOrBuilder getInspectConfigOrBuilder()

How and what to scan for.

.google.privacy.dlp.v2.InspectConfig inspect_config = 2;

Returns
Type Description
InspectConfigOrBuilder

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;

Returns
Type Description
String

The inspectTemplateName.

getInspectTemplateNameBytes()

public 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;

Returns
Type Description
ByteString

The bytes for inspectTemplateName.

getStorageConfig()

public StorageConfig getStorageConfig()

The data to scan.

.google.privacy.dlp.v2.StorageConfig storage_config = 1;

Returns
Type Description
StorageConfig

The storageConfig.

getStorageConfigBuilder()

public StorageConfig.Builder getStorageConfigBuilder()

The data to scan.

.google.privacy.dlp.v2.StorageConfig storage_config = 1;

Returns
Type Description
StorageConfig.Builder

getStorageConfigOrBuilder()

public StorageConfigOrBuilder getStorageConfigOrBuilder()

The data to scan.

.google.privacy.dlp.v2.StorageConfig storage_config = 1;

Returns
Type Description
StorageConfigOrBuilder

hasInspectConfig()

public boolean hasInspectConfig()

How and what to scan for.

.google.privacy.dlp.v2.InspectConfig inspect_config = 2;

Returns
Type Description
boolean

Whether the inspectConfig field is set.

hasStorageConfig()

public boolean hasStorageConfig()

The data to scan.

.google.privacy.dlp.v2.StorageConfig storage_config = 1;

Returns
Type Description
boolean

Whether the storageConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InspectJobConfig other)

public InspectJobConfig.Builder mergeFrom(InspectJobConfig other)
Parameter
Name Description
other InspectJobConfig
Returns
Type Description
InspectJobConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InspectJobConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InspectJobConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InspectJobConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InspectJobConfig.Builder
Overrides

mergeInspectConfig(InspectConfig value)

public InspectJobConfig.Builder mergeInspectConfig(InspectConfig value)

How and what to scan for.

.google.privacy.dlp.v2.InspectConfig inspect_config = 2;

Parameter
Name Description
value InspectConfig
Returns
Type Description
InspectJobConfig.Builder

mergeStorageConfig(StorageConfig value)

public InspectJobConfig.Builder mergeStorageConfig(StorageConfig value)

The data to scan.

.google.privacy.dlp.v2.StorageConfig storage_config = 1;

Parameter
Name Description
value StorageConfig
Returns
Type Description
InspectJobConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InspectJobConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InspectJobConfig.Builder
Overrides

removeActions(int index)

public InspectJobConfig.Builder removeActions(int index)

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Parameter
Name Description
index int
Returns
Type Description
InspectJobConfig.Builder

setActions(int index, Action value)

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;

Parameters
Name Description
index int
value Action
Returns
Type Description
InspectJobConfig.Builder

setActions(int index, Action.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Action.Builder
Returns
Type Description
InspectJobConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InspectJobConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InspectJobConfig.Builder
Overrides

setInspectConfig(InspectConfig value)

public InspectJobConfig.Builder setInspectConfig(InspectConfig value)

How and what to scan for.

.google.privacy.dlp.v2.InspectConfig inspect_config = 2;

Parameter
Name Description
value InspectConfig
Returns
Type Description
InspectJobConfig.Builder

setInspectConfig(InspectConfig.Builder builderForValue)

public InspectJobConfig.Builder setInspectConfig(InspectConfig.Builder builderForValue)

How and what to scan for.

.google.privacy.dlp.v2.InspectConfig inspect_config = 2;

Parameter
Name Description
builderForValue InspectConfig.Builder
Returns
Type Description
InspectJobConfig.Builder

setInspectTemplateName(String value)

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;

Parameter
Name Description
value String

The inspectTemplateName to set.

Returns
Type Description
InspectJobConfig.Builder

This builder for chaining.

setInspectTemplateNameBytes(ByteString value)

public InspectJobConfig.Builder setInspectTemplateNameBytes(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;

Parameter
Name Description
value ByteString

The bytes for inspectTemplateName to set.

Returns
Type Description
InspectJobConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InspectJobConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InspectJobConfig.Builder
Overrides

setStorageConfig(StorageConfig value)

public InspectJobConfig.Builder setStorageConfig(StorageConfig value)

The data to scan.

.google.privacy.dlp.v2.StorageConfig storage_config = 1;

Parameter
Name Description
value StorageConfig
Returns
Type Description
InspectJobConfig.Builder

setStorageConfig(StorageConfig.Builder builderForValue)

public InspectJobConfig.Builder setStorageConfig(StorageConfig.Builder builderForValue)

The data to scan.

.google.privacy.dlp.v2.StorageConfig storage_config = 1;

Parameter
Name Description
builderForValue StorageConfig.Builder
Returns
Type Description
InspectJobConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final InspectJobConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InspectJobConfig.Builder
Overrides