Class InspectJobConfig.Builder (3.17.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
TypeDescription
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
NameDescription
valueAction
Returns
TypeDescription
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
NameDescription
builderForValueAction.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAction
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAction.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.Action>
Returns
TypeDescription
InspectJobConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InspectJobConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InspectJobConfig.Builder
Overrides

build()

public InspectJobConfig build()
Returns
TypeDescription
InspectJobConfig

buildPartial()

public InspectJobConfig buildPartial()
Returns
TypeDescription
InspectJobConfig

clear()

public InspectJobConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
InspectJobConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public InspectJobConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InspectJobConfig.Builder
Overrides

clearInspectConfig()

public InspectJobConfig.Builder clearInspectConfig()

How and what to scan for.

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

Returns
TypeDescription
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
TypeDescription
InspectJobConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InspectJobConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InspectJobConfig.Builder
Overrides

clearStorageConfig()

public InspectJobConfig.Builder clearStorageConfig()

The data to scan.

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

Returns
TypeDescription
InspectJobConfig.Builder

clone()

public InspectJobConfig.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getActionsCount()

public int getActionsCount()

Actions to execute at the completion of the job.

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

Returns
TypeDescription
int

getActionsList()

public List<Action> getActionsList()

Actions to execute at the completion of the job.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.privacy.dlp.v2.ActionOrBuilder>

getDefaultInstanceForType()

public InspectJobConfig getDefaultInstanceForType()
Returns
TypeDescription
InspectJobConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInspectConfig()

public InspectConfig getInspectConfig()

How and what to scan for.

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

Returns
TypeDescription
InspectConfig

The inspectConfig.

getInspectConfigBuilder()

public InspectConfig.Builder getInspectConfigBuilder()

How and what to scan for.

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

Returns
TypeDescription
InspectConfig.Builder

getInspectConfigOrBuilder()

public InspectConfigOrBuilder getInspectConfigOrBuilder()

How and what to scan for.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for inspectTemplateName.

getStorageConfig()

public StorageConfig getStorageConfig()

The data to scan.

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

Returns
TypeDescription
StorageConfig

The storageConfig.

getStorageConfigBuilder()

public StorageConfig.Builder getStorageConfigBuilder()

The data to scan.

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

Returns
TypeDescription
StorageConfig.Builder

getStorageConfigOrBuilder()

public StorageConfigOrBuilder getStorageConfigOrBuilder()

The data to scan.

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

Returns
TypeDescription
StorageConfigOrBuilder

hasInspectConfig()

public boolean hasInspectConfig()

How and what to scan for.

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

Returns
TypeDescription
boolean

Whether the inspectConfig field is set.

hasStorageConfig()

public boolean hasStorageConfig()

The data to scan.

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

Returns
TypeDescription
boolean

Whether the storageConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InspectJobConfig other)

public InspectJobConfig.Builder mergeFrom(InspectJobConfig other)
Parameter
NameDescription
otherInspectJobConfig
Returns
TypeDescription
InspectJobConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InspectJobConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InspectJobConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InspectJobConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueInspectConfig
Returns
TypeDescription
InspectJobConfig.Builder

mergeStorageConfig(StorageConfig value)

public InspectJobConfig.Builder mergeStorageConfig(StorageConfig value)

The data to scan.

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

Parameter
NameDescription
valueStorageConfig
Returns
TypeDescription
InspectJobConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InspectJobConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAction
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAction.Builder
Returns
TypeDescription
InspectJobConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InspectJobConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueInspectConfig
Returns
TypeDescription
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
NameDescription
builderForValueInspectConfig.Builder
Returns
TypeDescription
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
NameDescription
valueString

The inspectTemplateName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for inspectTemplateName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueStorageConfig
Returns
TypeDescription
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
NameDescription
builderForValueStorageConfig.Builder
Returns
TypeDescription
InspectJobConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final InspectJobConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InspectJobConfig.Builder
Overrides