Class InspectDataSourceDetails.RequestedOptions.Builder (3.59.0)

public static final class InspectDataSourceDetails.RequestedOptions.Builder extends GeneratedMessageV3.Builder<InspectDataSourceDetails.RequestedOptions.Builder> implements InspectDataSourceDetails.RequestedOptionsOrBuilder

Snapshot of the inspection configuration.

Protobuf type google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InspectDataSourceDetails.RequestedOptions build()
Returns
Type Description
InspectDataSourceDetails.RequestedOptions

buildPartial()

public InspectDataSourceDetails.RequestedOptions buildPartial()
Returns
Type Description
InspectDataSourceDetails.RequestedOptions

clear()

public InspectDataSourceDetails.RequestedOptions.Builder clear()
Returns
Type Description
InspectDataSourceDetails.RequestedOptions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearJobConfig()

public InspectDataSourceDetails.RequestedOptions.Builder clearJobConfig()

Inspect config.

.google.privacy.dlp.v2.InspectJobConfig job_config = 3;

Returns
Type Description
InspectDataSourceDetails.RequestedOptions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSnapshotInspectTemplate()

public InspectDataSourceDetails.RequestedOptions.Builder clearSnapshotInspectTemplate()

If run with an InspectTemplate, a snapshot of its state at the time of this run.

.google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;

Returns
Type Description
InspectDataSourceDetails.RequestedOptions.Builder

clone()

public InspectDataSourceDetails.RequestedOptions.Builder clone()
Returns
Type Description
InspectDataSourceDetails.RequestedOptions.Builder
Overrides

getDefaultInstanceForType()

public InspectDataSourceDetails.RequestedOptions getDefaultInstanceForType()
Returns
Type Description
InspectDataSourceDetails.RequestedOptions

getDescriptorForType()

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

getJobConfig()

public InspectJobConfig getJobConfig()

Inspect config.

.google.privacy.dlp.v2.InspectJobConfig job_config = 3;

Returns
Type Description
InspectJobConfig

The jobConfig.

getJobConfigBuilder()

public InspectJobConfig.Builder getJobConfigBuilder()

Inspect config.

.google.privacy.dlp.v2.InspectJobConfig job_config = 3;

Returns
Type Description
InspectJobConfig.Builder

getJobConfigOrBuilder()

public InspectJobConfigOrBuilder getJobConfigOrBuilder()

Inspect config.

.google.privacy.dlp.v2.InspectJobConfig job_config = 3;

Returns
Type Description
InspectJobConfigOrBuilder

getSnapshotInspectTemplate()

public InspectTemplate getSnapshotInspectTemplate()

If run with an InspectTemplate, a snapshot of its state at the time of this run.

.google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;

Returns
Type Description
InspectTemplate

The snapshotInspectTemplate.

getSnapshotInspectTemplateBuilder()

public InspectTemplate.Builder getSnapshotInspectTemplateBuilder()

If run with an InspectTemplate, a snapshot of its state at the time of this run.

.google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;

Returns
Type Description
InspectTemplate.Builder

getSnapshotInspectTemplateOrBuilder()

public InspectTemplateOrBuilder getSnapshotInspectTemplateOrBuilder()

If run with an InspectTemplate, a snapshot of its state at the time of this run.

.google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;

Returns
Type Description
InspectTemplateOrBuilder

hasJobConfig()

public boolean hasJobConfig()

Inspect config.

.google.privacy.dlp.v2.InspectJobConfig job_config = 3;

Returns
Type Description
boolean

Whether the jobConfig field is set.

hasSnapshotInspectTemplate()

public boolean hasSnapshotInspectTemplate()

If run with an InspectTemplate, a snapshot of its state at the time of this run.

.google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;

Returns
Type Description
boolean

Whether the snapshotInspectTemplate field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InspectDataSourceDetails.RequestedOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeJobConfig(InspectJobConfig value)

public InspectDataSourceDetails.RequestedOptions.Builder mergeJobConfig(InspectJobConfig value)

Inspect config.

.google.privacy.dlp.v2.InspectJobConfig job_config = 3;

Parameter
Name Description
value InspectJobConfig
Returns
Type Description
InspectDataSourceDetails.RequestedOptions.Builder

mergeSnapshotInspectTemplate(InspectTemplate value)

public InspectDataSourceDetails.RequestedOptions.Builder mergeSnapshotInspectTemplate(InspectTemplate value)

If run with an InspectTemplate, a snapshot of its state at the time of this run.

.google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;

Parameter
Name Description
value InspectTemplate
Returns
Type Description
InspectDataSourceDetails.RequestedOptions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobConfig(InspectJobConfig value)

public InspectDataSourceDetails.RequestedOptions.Builder setJobConfig(InspectJobConfig value)

Inspect config.

.google.privacy.dlp.v2.InspectJobConfig job_config = 3;

Parameter
Name Description
value InspectJobConfig
Returns
Type Description
InspectDataSourceDetails.RequestedOptions.Builder

setJobConfig(InspectJobConfig.Builder builderForValue)

public InspectDataSourceDetails.RequestedOptions.Builder setJobConfig(InspectJobConfig.Builder builderForValue)

Inspect config.

.google.privacy.dlp.v2.InspectJobConfig job_config = 3;

Parameter
Name Description
builderForValue InspectJobConfig.Builder
Returns
Type Description
InspectDataSourceDetails.RequestedOptions.Builder

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

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

setSnapshotInspectTemplate(InspectTemplate value)

public InspectDataSourceDetails.RequestedOptions.Builder setSnapshotInspectTemplate(InspectTemplate value)

If run with an InspectTemplate, a snapshot of its state at the time of this run.

.google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;

Parameter
Name Description
value InspectTemplate
Returns
Type Description
InspectDataSourceDetails.RequestedOptions.Builder

setSnapshotInspectTemplate(InspectTemplate.Builder builderForValue)

public InspectDataSourceDetails.RequestedOptions.Builder setSnapshotInspectTemplate(InspectTemplate.Builder builderForValue)

If run with an InspectTemplate, a snapshot of its state at the time of this run.

.google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;

Parameter
Name Description
builderForValue InspectTemplate.Builder
Returns
Type Description
InspectDataSourceDetails.RequestedOptions.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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