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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataScan.ExecutionSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DataScan.ExecutionSpec build()
Returns
buildPartial()
public DataScan.ExecutionSpec buildPartial()
Returns
clear()
public DataScan.ExecutionSpec.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public DataScan.ExecutionSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIncremental()
public DataScan.ExecutionSpec.Builder clearIncremental()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DataScan.ExecutionSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public DataScan.ExecutionSpec.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DataScan.ExecutionSpec getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getIncrementalCase()
public DataScan.ExecutionSpec.IncrementalCase getIncrementalCase()
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DataScan.ExecutionSpec other)
public DataScan.ExecutionSpec.Builder mergeFrom(DataScan.ExecutionSpec other)
Parameter
Returns
public DataScan.ExecutionSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DataScan.ExecutionSpec.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataScan.ExecutionSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DataScan.ExecutionSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataScan.ExecutionSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final DataScan.ExecutionSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides