Class InspectDataSourceDetails.RequestedOptions.Builder (3.45.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InspectDataSourceDetails.RequestedOptions build()
Returns
TypeDescription
InspectDataSourceDetails.RequestedOptions

buildPartial()

public InspectDataSourceDetails.RequestedOptions buildPartial()
Returns
TypeDescription
InspectDataSourceDetails.RequestedOptions

clear()

public InspectDataSourceDetails.RequestedOptions.Builder clear()
Returns
TypeDescription
InspectDataSourceDetails.RequestedOptions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearJobConfig()

public InspectDataSourceDetails.RequestedOptions.Builder clearJobConfig()

Inspect config.

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

Returns
TypeDescription
InspectDataSourceDetails.RequestedOptions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InspectDataSourceDetails.RequestedOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
InspectDataSourceDetails.RequestedOptions.Builder

clone()

public InspectDataSourceDetails.RequestedOptions.Builder clone()
Returns
TypeDescription
InspectDataSourceDetails.RequestedOptions.Builder
Overrides

getDefaultInstanceForType()

public InspectDataSourceDetails.RequestedOptions getDefaultInstanceForType()
Returns
TypeDescription
InspectDataSourceDetails.RequestedOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJobConfig()

public InspectJobConfig getJobConfig()

Inspect config.

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

Returns
TypeDescription
InspectJobConfig

The jobConfig.

getJobConfigBuilder()

public InspectJobConfig.Builder getJobConfigBuilder()

Inspect config.

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

Returns
TypeDescription
InspectJobConfig.Builder

getJobConfigOrBuilder()

public InspectJobConfigOrBuilder getJobConfigOrBuilder()

Inspect config.

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

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

hasJobConfig()

public boolean hasJobConfig()

Inspect config.

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

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

Whether the snapshotInspectTemplate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InspectDataSourceDetails.RequestedOptions other)

public InspectDataSourceDetails.RequestedOptions.Builder mergeFrom(InspectDataSourceDetails.RequestedOptions other)
Parameter
NameDescription
otherInspectDataSourceDetails.RequestedOptions
Returns
TypeDescription
InspectDataSourceDetails.RequestedOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InspectDataSourceDetails.RequestedOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueInspectJobConfig
Returns
TypeDescription
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
NameDescription
valueInspectTemplate
Returns
TypeDescription
InspectDataSourceDetails.RequestedOptions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InspectDataSourceDetails.RequestedOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InspectDataSourceDetails.RequestedOptions.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InspectDataSourceDetails.RequestedOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueInspectJobConfig
Returns
TypeDescription
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
NameDescription
builderForValueInspectJobConfig.Builder
Returns
TypeDescription
InspectDataSourceDetails.RequestedOptions.Builder

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

public InspectDataSourceDetails.RequestedOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueInspectTemplate
Returns
TypeDescription
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
NameDescription
builderForValueInspectTemplate.Builder
Returns
TypeDescription
InspectDataSourceDetails.RequestedOptions.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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