Class DataScan.ExecutionSpec.Builder (1.44.0)

public static final class DataScan.ExecutionSpec.Builder extends GeneratedMessageV3.Builder<DataScan.ExecutionSpec.Builder> implements DataScan.ExecutionSpecOrBuilder

DataScan execution settings.

Protobuf type google.cloud.dataplex.v1.DataScan.ExecutionSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataScan.ExecutionSpec build()
Returns
Type Description
DataScan.ExecutionSpec

buildPartial()

public DataScan.ExecutionSpec buildPartial()
Returns
Type Description
DataScan.ExecutionSpec

clear()

public DataScan.ExecutionSpec.Builder clear()
Returns
Type Description
DataScan.ExecutionSpec.Builder
Overrides

clearField()

public DataScan.ExecutionSpec.Builder clearField()

Immutable. The unnested field (of type Date or Timestamp) that contains values which monotonically increase over time.

If not specified, a data scan will run for all data in the table.

string field = 100 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
DataScan.ExecutionSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIncremental()

public DataScan.ExecutionSpec.Builder clearIncremental()
Returns
Type Description
DataScan.ExecutionSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTrigger()

public DataScan.ExecutionSpec.Builder clearTrigger()

Optional. Spec related to how often and when a scan should be triggered.

If not specified, the default is OnDemand, which means the scan will not run until the user calls RunDataScan API.

.google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataScan.ExecutionSpec.Builder

clone()

public DataScan.ExecutionSpec.Builder clone()
Returns
Type Description
DataScan.ExecutionSpec.Builder
Overrides

getDefaultInstanceForType()

public DataScan.ExecutionSpec getDefaultInstanceForType()
Returns
Type Description
DataScan.ExecutionSpec

getDescriptorForType()

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

getField()

public String getField()

Immutable. The unnested field (of type Date or Timestamp) that contains values which monotonically increase over time.

If not specified, a data scan will run for all data in the table.

string field = 100 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The field.

getFieldBytes()

public ByteString getFieldBytes()

Immutable. The unnested field (of type Date or Timestamp) that contains values which monotonically increase over time.

If not specified, a data scan will run for all data in the table.

string field = 100 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for field.

getIncrementalCase()

public DataScan.ExecutionSpec.IncrementalCase getIncrementalCase()
Returns
Type Description
DataScan.ExecutionSpec.IncrementalCase

getTrigger()

public Trigger getTrigger()

Optional. Spec related to how often and when a scan should be triggered.

If not specified, the default is OnDemand, which means the scan will not run until the user calls RunDataScan API.

.google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Trigger

The trigger.

getTriggerBuilder()

public Trigger.Builder getTriggerBuilder()

Optional. Spec related to how often and when a scan should be triggered.

If not specified, the default is OnDemand, which means the scan will not run until the user calls RunDataScan API.

.google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Trigger.Builder

getTriggerOrBuilder()

public TriggerOrBuilder getTriggerOrBuilder()

Optional. Spec related to how often and when a scan should be triggered.

If not specified, the default is OnDemand, which means the scan will not run until the user calls RunDataScan API.

.google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TriggerOrBuilder

hasField()

public boolean hasField()

Immutable. The unnested field (of type Date or Timestamp) that contains values which monotonically increase over time.

If not specified, a data scan will run for all data in the table.

string field = 100 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the field field is set.

hasTrigger()

public boolean hasTrigger()

Optional. Spec related to how often and when a scan should be triggered.

If not specified, the default is OnDemand, which means the scan will not run until the user calls RunDataScan API.

.google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the trigger field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataScan.ExecutionSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTrigger(Trigger value)

public DataScan.ExecutionSpec.Builder mergeTrigger(Trigger value)

Optional. Spec related to how often and when a scan should be triggered.

If not specified, the default is OnDemand, which means the scan will not run until the user calls RunDataScan API.

.google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Trigger
Returns
Type Description
DataScan.ExecutionSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setField(String value)

public DataScan.ExecutionSpec.Builder setField(String value)

Immutable. The unnested field (of type Date or Timestamp) that contains values which monotonically increase over time.

If not specified, a data scan will run for all data in the table.

string field = 100 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The field to set.

Returns
Type Description
DataScan.ExecutionSpec.Builder

This builder for chaining.

setFieldBytes(ByteString value)

public DataScan.ExecutionSpec.Builder setFieldBytes(ByteString value)

Immutable. The unnested field (of type Date or Timestamp) that contains values which monotonically increase over time.

If not specified, a data scan will run for all data in the table.

string field = 100 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for field to set.

Returns
Type Description
DataScan.ExecutionSpec.Builder

This builder for chaining.

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

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

setTrigger(Trigger value)

public DataScan.ExecutionSpec.Builder setTrigger(Trigger value)

Optional. Spec related to how often and when a scan should be triggered.

If not specified, the default is OnDemand, which means the scan will not run until the user calls RunDataScan API.

.google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Trigger
Returns
Type Description
DataScan.ExecutionSpec.Builder

setTrigger(Trigger.Builder builderForValue)

public DataScan.ExecutionSpec.Builder setTrigger(Trigger.Builder builderForValue)

Optional. Spec related to how often and when a scan should be triggered.

If not specified, the default is OnDemand, which means the scan will not run until the user calls RunDataScan API.

.google.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Trigger.Builder
Returns
Type Description
DataScan.ExecutionSpec.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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