Class DataScan.ExecutionSpec.Builder (1.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataScan.ExecutionSpec build()
Returns
TypeDescription
DataScan.ExecutionSpec

buildPartial()

public DataScan.ExecutionSpec buildPartial()
Returns
TypeDescription
DataScan.ExecutionSpec

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIncremental()

public DataScan.ExecutionSpec.Builder clearIncremental()
Returns
TypeDescription
DataScan.ExecutionSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DataScan.ExecutionSpec.Builder clone()
Returns
TypeDescription
DataScan.ExecutionSpec.Builder
Overrides

getDefaultInstanceForType()

public DataScan.ExecutionSpec getDefaultInstanceForType()
Returns
TypeDescription
DataScan.ExecutionSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for field.

getIncrementalCase()

public DataScan.ExecutionSpec.IncrementalCase getIncrementalCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the trigger field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataScan.ExecutionSpec other)

public DataScan.ExecutionSpec.Builder mergeFrom(DataScan.ExecutionSpec other)
Parameter
NameDescription
otherDataScan.ExecutionSpec
Returns
TypeDescription
DataScan.ExecutionSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataScan.ExecutionSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataScan.ExecutionSpec.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The field to set.

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

The bytes for field to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTrigger
Returns
TypeDescription
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
NameDescription
builderForValueTrigger.Builder
Returns
TypeDescription
DataScan.ExecutionSpec.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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