Class DataScan.ExecutionSpec (0.15.0)

public static final class DataScan.ExecutionSpec extends GeneratedMessageV3 implements DataScan.ExecutionSpecOrBuilder

DataScan execution settings.

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

Static Fields

FIELD_FIELD_NUMBER

public static final int FIELD_FIELD_NUMBER
Field Value
Type Description
int

TRIGGER_FIELD_NUMBER

public static final int TRIGGER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataScan.ExecutionSpec getDefaultInstance()
Returns
Type Description
DataScan.ExecutionSpec

getDescriptor()

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

newBuilder()

public static DataScan.ExecutionSpec.Builder newBuilder()
Returns
Type Description
DataScan.ExecutionSpec.Builder

newBuilder(DataScan.ExecutionSpec prototype)

public static DataScan.ExecutionSpec.Builder newBuilder(DataScan.ExecutionSpec prototype)
Parameter
Name Description
prototype DataScan.ExecutionSpec
Returns
Type Description
DataScan.ExecutionSpec.Builder

parseDelimitedFrom(InputStream input)

public static DataScan.ExecutionSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataScan.ExecutionSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataScan.ExecutionSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataScan.ExecutionSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataScan.ExecutionSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataScan.ExecutionSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataScan.ExecutionSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataScan.ExecutionSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataScan.ExecutionSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataScan.ExecutionSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataScan.ExecutionSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataScan.ExecutionSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataScan.ExecutionSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataScan.ExecutionSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataScan.ExecutionSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataScan.ExecutionSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataScan.ExecutionSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataScan.ExecutionSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataScan.ExecutionSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataScan.ExecutionSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataScan.ExecutionSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataScan.ExecutionSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataScan.ExecutionSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataScan.ExecutionSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataScan.ExecutionSpec> parser()
Returns
Type Description
Parser<ExecutionSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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;

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;

Returns
Type Description
ByteString

The bytes for field.

getIncrementalCase()

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

getParserForType()

public Parser<DataScan.ExecutionSpec> getParserForType()
Returns
Type Description
Parser<ExecutionSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.events.cloud.dataplex.v1.Trigger trigger = 1;

Returns
Type Description
Trigger

The trigger.

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.events.cloud.dataplex.v1.Trigger trigger = 1;

Returns
Type Description
TriggerOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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;

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.events.cloud.dataplex.v1.Trigger trigger = 1;

Returns
Type Description
boolean

Whether the trigger field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataScan.ExecutionSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataScan.ExecutionSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException